@clickview/lite 0.32.4 → 0.32.5-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundles.json +3 -3
- package/dist/css/{1064-lite-e6ec84fd3f.chunk.css → 1064-lite-b3840e522e.chunk.css} +2 -2
- package/dist/css/{1366-lite-0239ab3e7e.chunk.css → 1366-lite-7a13bffe4a.chunk.css} +3 -3
- package/dist/css/{1475-lite-1b41a0628c.chunk.css → 1475-lite-8717f8b322.chunk.css} +3 -3
- package/dist/css/162-lite-2da1ee274f.chunk.css +37 -0
- package/dist/css/{4484-lite-204fa1d3ba.chunk.css → 1725-lite-6efa9a8c08.chunk.css} +1 -1
- package/dist/css/1750-lite-1464ddc6ff.chunk.css +3 -0
- package/dist/css/{1781-lite-d3216fb72f.chunk.css → 1781-lite-028e7f49eb.chunk.css} +2 -2
- package/dist/css/1891-lite-ff35c99cb7.chunk.css +2 -0
- package/dist/css/{2066-lite-4e16a83a36.chunk.css → 2066-lite-c31f88668c.chunk.css} +4 -4
- package/dist/css/2118-lite-5d3ec54337.chunk.css +1 -0
- package/dist/css/{2318-lite-ca6d519c2e.chunk.css → 2318-lite-1d266f666c.chunk.css} +1 -1
- package/dist/css/{4874-lite-15aa778737.chunk.css → 2729-lite-ebe3cdda84.chunk.css} +2 -2
- package/dist/css/{275-lite-71b01cc990.chunk.css → 275-lite-f1860ca39a.chunk.css} +2 -2
- package/dist/css/{3091-lite-e0fb499d6e.chunk.css → 3091-lite-ea247cd3c7.chunk.css} +2 -2
- package/dist/css/{3154-lite-11158838c0.chunk.css → 3154-lite-e39ddb97b4.chunk.css} +1 -1
- package/dist/css/{4229-lite-6aa69cd401.chunk.css → 3446-lite-ded5e413ce.chunk.css} +2 -2
- package/dist/css/3468-lite-5d3ec54337.chunk.css +1 -0
- package/dist/css/3533-lite-5d3ec54337.chunk.css +1 -0
- package/dist/css/{355-lite-271a4bb3d4.chunk.css → 355-lite-eb1d4d3152.chunk.css} +2 -2
- package/dist/css/{3645-lite-304423256b.chunk.css → 3645-lite-f1f1b748f7.chunk.css} +1 -1
- package/dist/css/3667-lite-c160f399ef.chunk.css +3 -0
- package/dist/css/{3755-lite-21f15b7906.chunk.css → 3755-lite-19658f72e9.chunk.css} +2 -2
- package/dist/css/{9194-lite-d395807101.chunk.css → 3789-lite-25d999ba37.chunk.css} +2 -1
- package/dist/css/{3849-lite-2eb46f0334.chunk.css → 3849-lite-fa93aa92bf.chunk.css} +1 -1
- package/dist/css/4032-lite-d9c7560726.chunk.css +4 -0
- package/dist/css/{4052-lite-6bf4f7a77b.chunk.css → 4052-lite-e96ead7ea1.chunk.css} +2 -2
- package/dist/css/{4145-lite-a27eec9ae8.chunk.css → 4145-lite-419c7a3152.chunk.css} +2 -2
- package/dist/css/{3322-lite-2cb4fd8dc1.chunk.css → 420-lite-898652e17b.chunk.css} +0 -1
- package/dist/css/{2477-lite-416e958638.chunk.css → 4373-lite-975f9b4d75.chunk.css} +2 -2
- package/dist/css/{8556-lite-cdf9814e9a.chunk.css → 4380-lite-1e4722df6b.chunk.css} +2 -2
- package/dist/css/{4537-lite-beac80e560.chunk.css → 4537-lite-3469c21deb.chunk.css} +1 -1
- package/dist/css/4541-lite-5d3ec54337.chunk.css +1 -0
- package/dist/css/{1291-lite-1c4780743f.chunk.css → 4612-lite-3886475291.chunk.css} +2 -2
- package/dist/css/{4617-lite-5e8387006a.chunk.css → 4617-lite-ed371d2824.chunk.css} +2 -2
- package/dist/css/4705-lite-54b30399d3.chunk.css +3 -0
- package/dist/css/4753-lite-d25306256f.chunk.css +2 -0
- package/dist/css/482-lite-5d3ec54337.chunk.css +1 -0
- package/dist/css/{2729-lite-15aa778737.chunk.css → 4874-lite-ebe3cdda84.chunk.css} +2 -2
- package/dist/css/{4942-lite-bd40e9c904.chunk.css → 4942-lite-5189588330.chunk.css} +1 -1
- package/dist/css/510-lite-b97d0f723f.chunk.css +3 -0
- package/dist/css/{5171-lite-231fb4351a.chunk.css → 5171-lite-bb5871d776.chunk.css} +2 -2
- package/dist/css/519-lite-e5eb6a5c45.chunk.css +3 -0
- package/dist/css/{6330-lite-bd40e9c904.chunk.css → 5268-lite-5189588330.chunk.css} +1 -1
- package/dist/css/{8035-lite-e6ec84fd3f.chunk.css → 5590-lite-b3840e522e.chunk.css} +2 -2
- package/dist/css/{5590-lite-e6ec84fd3f.chunk.css → 5659-lite-b3840e522e.chunk.css} +2 -2
- package/dist/css/{6117-lite-fe222571f3.chunk.css → 6117-lite-9f291e9fd0.chunk.css} +1 -1
- package/dist/css/{6154-lite-b8ba830cd3.chunk.css → 6154-lite-a0abd6b2f9.chunk.css} +3 -3
- package/dist/css/6285-lite-d714304d0d.chunk.css +2 -0
- package/dist/css/{4290-lite-7bd376fdab.chunk.css → 6290-lite-cbc4dea7ce.chunk.css} +1 -1
- package/dist/css/{5268-lite-bd40e9c904.chunk.css → 6330-lite-5189588330.chunk.css} +1 -1
- package/dist/css/{6932-lite-944c5933dc.chunk.css → 6407-lite-2a91046512.chunk.css} +2 -2
- package/dist/css/6465-lite-5d3ec54337.chunk.css +1 -0
- package/dist/css/6689-lite-ed8e07dd89.chunk.css +4 -0
- package/dist/css/{7952-lite-0a9d045149.chunk.css → 6702-lite-285d18c247.chunk.css} +2 -2
- package/dist/css/6817-lite-b97d0f723f.chunk.css +3 -0
- package/dist/css/{6822-lite-927bfd9703.chunk.css → 6822-lite-c2527edca1.chunk.css} +2 -2
- package/dist/css/{8500-lite-6cb624c329.chunk.css → 6957-lite-8d71b12aa5.chunk.css} +2 -2
- package/dist/css/7112-lite-a4bcbd8002.chunk.css +3 -0
- package/dist/css/7128-lite-5d3ec54337.chunk.css +1 -0
- package/dist/css/7172-lite-5d3ec54337.chunk.css +1 -0
- package/dist/css/7178-lite-b4e4346f43.chunk.css +3 -0
- package/dist/css/{7286-lite-da823e464b.chunk.css → 7286-lite-5a6b3f32ab.chunk.css} +2 -2
- package/dist/css/{7409-lite-3342fc3859.chunk.css → 7409-lite-3b312b926d.chunk.css} +2 -2
- package/dist/css/{7484-lite-ee2799eab2.chunk.css → 7484-lite-1a3ccb3597.chunk.css} +2 -2
- package/dist/css/7818-lite-02acf4690b.chunk.css +2 -0
- package/dist/css/8025-lite-5d3ec54337.chunk.css +1 -0
- package/dist/css/{6254-lite-d969bbf4ac.chunk.css → 817-lite-665d49932b.chunk.css} +2 -2
- package/dist/css/8383-lite-5d3ec54337.chunk.css +1 -0
- package/dist/css/{4380-lite-cdf9814e9a.chunk.css → 8556-lite-1e4722df6b.chunk.css} +2 -2
- package/dist/css/{8621-lite-bbdcb78b4c.chunk.css → 8621-lite-76dde2eb8d.chunk.css} +1 -1
- package/dist/css/{8820-lite-76d15a1090.chunk.css → 8820-lite-57008e3940.chunk.css} +2 -2
- package/dist/css/8935-lite-dda85abf44.chunk.css +4 -0
- package/dist/css/{8960-lite-9068589bd0.chunk.css → 8960-lite-79f8856b6c.chunk.css} +2 -2
- package/dist/css/9060-lite-5d3ec54337.chunk.css +1 -0
- package/dist/css/{9151-lite-34a72dd76a.chunk.css → 9151-lite-c4a0ad3e8f.chunk.css} +1 -1
- package/dist/css/9455-lite-a1c3df8800.chunk.css +5 -0
- package/dist/css/{9484-lite-bd40e9c904.chunk.css → 9484-lite-5189588330.chunk.css} +1 -1
- package/dist/css/{9714-lite-194caaa213.chunk.css → 9714-lite-72b0f59716.chunk.css} +3 -3
- package/dist/css/{9744-lite-e0fb499d6e.chunk.css → 9744-lite-ea247cd3c7.chunk.css} +2 -2
- package/dist/css/lite-app-3a1c9a1d2b.css +52 -0
- package/dist/languages/en.json +1 -1
- package/dist/scripts/1064-c89603c84c-lite.chunk.js +1 -0
- package/dist/scripts/1106-654e5682c2-lite.chunk.js +1 -0
- package/dist/scripts/1285-6f221ec83e-lite.chunk.js +1 -0
- package/dist/scripts/1291-94108fc09a-lite.chunk.js +1 -0
- package/dist/scripts/1354-33c5905ae6-lite.chunk.js +2 -0
- package/dist/scripts/1366-666ef709a1-lite.chunk.js +2 -0
- package/dist/scripts/1475-c84cf7b8c7-lite.chunk.js +1 -0
- package/dist/scripts/1517-ba6874eca4-lite.chunk.js +1 -0
- package/dist/scripts/1518-c4881607ce-lite.chunk.js +1 -0
- package/dist/scripts/1526-4b6226c3a3-lite.chunk.js +1 -0
- package/dist/scripts/1592-aa2bc45d63-lite.chunk.js +2 -0
- package/dist/scripts/162-51e28f0e8d-lite.chunk.js +2 -0
- package/dist/scripts/1628-ab186495a7-lite.chunk.js +1 -0
- package/dist/scripts/1672-2a6d69b169-lite.chunk.js +2 -0
- package/dist/scripts/1725-30a5110c8d-lite.chunk.js +1 -0
- package/dist/scripts/1726-3bd6a64ab2-lite.chunk.js +1 -0
- package/dist/scripts/1750-4b785132ad-lite.chunk.js +1 -0
- package/dist/scripts/1781-40d8e94385-lite.chunk.js +1 -0
- package/dist/scripts/1818-6e03769806-lite.chunk.js +1 -0
- package/dist/scripts/1820-8268536e88-lite.chunk.js +1 -0
- package/dist/scripts/1830-565ee5aa0c-lite.chunk.js +1 -0
- package/dist/scripts/1837-e6891957ae-lite.chunk.js +1 -0
- package/dist/scripts/1863-47eef75488-lite.chunk.js +1 -0
- package/dist/scripts/1891-20227a97bd-lite.chunk.js +1 -0
- package/dist/scripts/1913-6c98c0a34f-lite.chunk.js +1 -0
- package/dist/scripts/1924-8c219e2149-lite.chunk.js +1 -0
- package/dist/scripts/1943-cf609bd18b-lite.chunk.js +1 -0
- package/dist/scripts/1958-6de295ac2f-lite.chunk.js +1 -0
- package/dist/scripts/2066-f1ee632b62-lite.chunk.js +2 -0
- package/dist/scripts/209-bea4fb3c22-lite.chunk.js +1 -0
- package/dist/scripts/2095-498558805d-lite.chunk.js +1 -0
- package/dist/scripts/2118-a281da36fd-lite.chunk.js +2 -0
- package/dist/scripts/2175-1a9cac2654-lite.chunk.js +1 -0
- package/dist/scripts/2199-d8e643d50d-lite.chunk.js +1 -0
- package/dist/scripts/2208-6320d5c5ec-lite.chunk.js +1 -0
- package/dist/scripts/2229-c122a30392-lite.chunk.js +1 -0
- package/dist/scripts/2235-b9198e9674-lite.chunk.js +1 -0
- package/dist/scripts/2269-7a1c771947-lite.chunk.js +1 -0
- package/dist/scripts/227-e81fa36f91-lite.chunk.js +1 -0
- package/dist/scripts/2279-40f438c92d-lite.chunk.js +1 -0
- package/dist/scripts/2318-204c094444-lite.chunk.js +1 -0
- package/dist/scripts/2469-8591c7a350-lite.chunk.js +1 -0
- package/dist/scripts/2561-a7ccb8c0fa-lite.chunk.js +1 -0
- package/dist/scripts/2564-6030f21acd-lite.chunk.js +1 -0
- package/dist/scripts/2566-c38b03672e-lite.chunk.js +1 -0
- package/dist/scripts/2608-e2b5d4de7a-lite.chunk.js +1 -0
- package/dist/scripts/2665-af12e85b3f-lite.chunk.js +1 -0
- package/dist/scripts/2678-b53d60e821-lite.chunk.js +2 -0
- package/dist/scripts/2729-feeb22f8a9-lite.chunk.js +1 -0
- package/dist/scripts/275-0cd72590c8-lite.chunk.js +1 -0
- package/dist/scripts/276-11cc4ff717-lite.chunk.js +1 -0
- package/dist/scripts/287-223a01d363-lite.chunk.js +1 -0
- package/dist/scripts/2877-d3c00abb14-lite.chunk.js +1 -0
- package/dist/scripts/2958-3f6dfb6fa9-lite.chunk.js +1 -0
- package/dist/scripts/{2966-5425811e8d-lite.chunk.js → 2966-0a626741f2-lite.chunk.js} +1 -1
- package/dist/scripts/3012-b64578f4b5-lite.chunk.js +1 -0
- package/dist/scripts/3020-b0fd4b4978-lite.chunk.js +1 -0
- package/dist/scripts/3091-b372a6e5a8-lite.chunk.js +1 -0
- package/dist/scripts/3108-9f90ad6dba-lite.chunk.js +1 -0
- package/dist/scripts/3154-25535da78b-lite.chunk.js +1 -0
- package/dist/scripts/3171-ca6a42c306-lite.chunk.js +1 -0
- package/dist/scripts/3200-3bbafd3e8a-lite.chunk.js +1 -0
- package/dist/scripts/3216-47d94fcff8-lite.chunk.js +1 -0
- package/dist/scripts/{8176-4f92cf69ff-lite.chunk.js → 3237-35a98ed3a1-lite.chunk.js} +1 -1
- package/dist/scripts/3285-85360362bb-lite.chunk.js +1 -0
- package/dist/scripts/3371-61857af54b-lite.chunk.js +1 -0
- package/dist/scripts/3378-205ec27cf3-lite.chunk.js +1 -0
- package/dist/scripts/3446-cb79c1bff9-lite.chunk.js +1 -0
- package/dist/scripts/3468-ce102222d3-lite.chunk.js +1 -0
- package/dist/scripts/3514-4c7a73efac-lite.chunk.js +1 -0
- package/dist/scripts/3533-165a400f8a-lite.chunk.js +1 -0
- package/dist/scripts/355-43835ac290-lite.chunk.js +1 -0
- package/dist/scripts/3602-c5f7a74c8b-lite.chunk.js +2 -0
- package/dist/scripts/3645-86f0ed022f-lite.chunk.js +2 -0
- package/dist/scripts/3654-5344eb1cc5-lite.chunk.js +1 -0
- package/dist/scripts/3667-c5b8a096c2-lite.chunk.js +2 -0
- package/dist/scripts/3727-6c63240ea2-lite.chunk.js +1 -0
- package/dist/scripts/3728-952e59af2f-lite.chunk.js +1 -0
- package/dist/scripts/3729-fb0ebdda2b-lite.chunk.js +1 -0
- package/dist/scripts/3754-ad907b38cc-lite.chunk.js +1 -0
- package/dist/scripts/3755-51bd37a5c6-lite.chunk.js +1 -0
- package/dist/scripts/3789-4cb6d829f6-lite.chunk.js +2 -0
- package/dist/scripts/{3848-ec29f6e574-lite.chunk.js → 3848-0c6b5bba24-lite.chunk.js} +1 -1
- package/dist/scripts/3849-b0db69d3db-lite.chunk.js +1 -0
- package/dist/scripts/389-fc8f4fcbf4-lite.chunk.js +1 -0
- package/dist/scripts/3962-e5b5657359-lite.chunk.js +1 -0
- package/dist/scripts/4032-279a38c349-lite.chunk.js +1 -0
- package/dist/scripts/4052-4548ee2a0c-lite.chunk.js +1 -0
- package/dist/scripts/4067-7dea084485-lite.chunk.js +1 -0
- package/dist/scripts/414-712655c265-lite.chunk.js +1 -0
- package/dist/scripts/4145-bc7f5915d7-lite.chunk.js +1 -0
- package/dist/scripts/4182-6a6ad037b3-lite.chunk.js +1 -0
- package/dist/scripts/420-1d548d3b84-lite.chunk.js +1 -0
- package/dist/scripts/4326-af6113a1df-lite.chunk.js +1 -0
- package/dist/scripts/4343-84cca94426-lite.chunk.js +1 -0
- package/dist/scripts/4373-039b523832-lite.chunk.js +1 -0
- package/dist/scripts/4380-719146155f-lite.chunk.js +1 -0
- package/dist/scripts/4393-df6aadca06-lite.chunk.js +1 -0
- package/dist/scripts/4417-63dce95be2-lite.chunk.js +1 -0
- package/dist/scripts/4423-3424b647e8-lite.chunk.js +1 -0
- package/dist/scripts/4436-843f23ed17-lite.chunk.js +1 -0
- package/dist/scripts/4537-9c5fd00b48-lite.chunk.js +1 -0
- package/dist/scripts/4541-33b739b0d8-lite.chunk.js +1 -0
- package/dist/scripts/4612-2c0e7977a2-lite.chunk.js +1 -0
- package/dist/scripts/4617-591aee68e0-lite.chunk.js +1 -0
- package/dist/scripts/4632-83f6987cd0-lite.chunk.js +1 -0
- package/dist/scripts/4657-da41ee610c-lite.chunk.js +2 -0
- package/dist/scripts/4676-adc55dfa15-lite.chunk.js +2 -0
- package/dist/scripts/4690-180c8c170a-lite.chunk.js +1 -0
- package/dist/scripts/4705-96be64b79d-lite.chunk.js +1 -0
- package/dist/scripts/4753-31e147c1a9-lite.chunk.js +1 -0
- package/dist/scripts/4770-78dca0fe91-lite.chunk.js +1 -0
- package/dist/scripts/482-7c9d6c3584-lite.chunk.js +1 -0
- package/dist/scripts/4893-c04f7f4d32-lite.chunk.js +1 -0
- package/dist/scripts/4895-ab469a3b66-lite.chunk.js +1 -0
- package/dist/scripts/4942-9db184d708-lite.chunk.js +2 -0
- package/dist/scripts/5009-9e45034def-lite.chunk.js +2 -0
- package/dist/scripts/5018-d2c1af9240-lite.chunk.js +1 -0
- package/dist/scripts/5040-3d6023b7e1-lite.chunk.js +1 -0
- package/dist/scripts/510-ef57ce883d-lite.chunk.js +1 -0
- package/dist/scripts/5134-6d70bcc26e-lite.chunk.js +1 -0
- package/dist/scripts/5143-d11346cce2-lite.chunk.js +1 -0
- package/dist/scripts/5171-926c0772a6-lite.chunk.js +1 -0
- package/dist/scripts/{5173-8046faf648-lite.chunk.js → 5173-e1c8a64adb-lite.chunk.js} +1 -1
- package/dist/scripts/519-5dff99c40b-lite.chunk.js +1 -0
- package/dist/scripts/5229-13ee2bf768-lite.chunk.js +1 -0
- package/dist/scripts/5268-029905c5f0-lite.chunk.js +2 -0
- package/dist/scripts/5271-1df4d9d742-lite.chunk.js +1 -0
- package/dist/scripts/528-bc970ef53c-lite.chunk.js +1 -0
- package/dist/scripts/5291-ca756f9f8a-lite.chunk.js +1 -0
- package/dist/scripts/5385-a2451e3eec-lite.chunk.js +1 -0
- package/dist/scripts/{5509-35f1b780d4-lite.chunk.js → 5509-9e9e7bc4a9-lite.chunk.js} +1 -1
- package/dist/scripts/5512-82edf40ee3-lite.chunk.js +1 -0
- package/dist/scripts/5590-f5dbe096c3-lite.chunk.js +1 -0
- package/dist/scripts/5595-99e11127bb-lite.chunk.js +1 -0
- package/dist/scripts/5606-486a41d299-lite.chunk.js +1 -0
- package/dist/scripts/5622-7b29606856-lite.chunk.js +2 -0
- package/dist/scripts/5659-92c6bf622e-lite.chunk.js +1 -0
- package/dist/scripts/5776-27f15a637f-lite.chunk.js +1 -0
- package/dist/scripts/5823-480e485fdb-lite.chunk.js +1 -0
- package/dist/scripts/5877-e318dacbf1-lite.chunk.js +1 -0
- package/dist/scripts/5914-3162035c4e-lite.chunk.js +1 -0
- package/dist/scripts/5974-107738ce13-lite.chunk.js +1 -0
- package/dist/scripts/{5986-38e236e499-lite.chunk.js → 5986-d9b797867b-lite.chunk.js} +1 -1
- package/dist/scripts/6057-dd865f2846-lite.chunk.js +1 -0
- package/dist/scripts/6117-fae9185071-lite.chunk.js +1 -0
- package/dist/scripts/615-50555390cc-lite.chunk.js +1 -0
- package/dist/scripts/6154-107ea02e45-lite.chunk.js +1 -0
- package/dist/scripts/6158-4bdb28b41e-lite.chunk.js +1 -0
- package/dist/scripts/6159-2111108b27-lite.chunk.js +1 -0
- package/dist/scripts/6274-723129c5c6-lite.chunk.js +1 -0
- package/dist/scripts/6285-4808d8e6db-lite.chunk.js +1 -0
- package/dist/scripts/6290-8204f439c2-lite.chunk.js +1 -0
- package/dist/scripts/6302-6690979e80-lite.chunk.js +1 -0
- package/dist/scripts/6330-1a2cb669fa-lite.chunk.js +1 -0
- package/dist/scripts/6368-8532bb9df5-lite.chunk.js +1 -0
- package/dist/scripts/6370-a15bddb981-lite.chunk.js +1 -0
- package/dist/scripts/6407-651ccf60e3-lite.chunk.js +1 -0
- package/dist/scripts/6450-6e367c2ef3-lite.chunk.js +1 -0
- package/dist/scripts/6465-3b025df7ce-lite.chunk.js +1 -0
- package/dist/scripts/6480-126763c9bc-lite.chunk.js +1 -0
- package/dist/scripts/6493-8957a82163-lite.chunk.js +1 -0
- package/dist/scripts/6532-04ba86364b-lite.chunk.js +1 -0
- package/dist/scripts/6572-8800413390-lite.chunk.js +1 -0
- package/dist/scripts/6604-968eb39831-lite.chunk.js +1 -0
- package/dist/scripts/6662-0cdefe8716-lite.chunk.js +1 -0
- package/dist/scripts/6689-bf6b056ced-lite.chunk.js +1 -0
- package/dist/scripts/6702-bbebb7030e-lite.chunk.js +1 -0
- package/dist/scripts/6788-e7ccd0d5a6-lite.chunk.js +1 -0
- package/dist/scripts/6817-bed9ca6833-lite.chunk.js +1 -0
- package/dist/scripts/6821-dd1c07bb4f-lite.chunk.js +1 -0
- package/dist/scripts/6822-15e9977d1f-lite.chunk.js +1 -0
- package/dist/scripts/6866-6824b66ebf-lite.chunk.js +1 -0
- package/dist/scripts/6873-24746fa2b4-lite.chunk.js +1 -0
- package/dist/scripts/689-076f4dd986-lite.chunk.js +1 -0
- package/dist/scripts/{6896-79fa541f46-lite.chunk.js → 6896-75b32c41e8-lite.chunk.js} +2 -2
- package/dist/scripts/{691-1a7a29fb40-lite.chunk.js → 691-670cb6f7e6-lite.chunk.js} +2 -2
- package/dist/scripts/6913-f2a9eea63b-lite.chunk.js +1 -0
- package/dist/scripts/6930-4c28b4f509-lite.chunk.js +1 -0
- package/dist/scripts/6957-058e2001c4-lite.chunk.js +1 -0
- package/dist/scripts/{7017-76adb0abdc-lite.chunk.js → 7017-35c73244a6-lite.chunk.js} +2 -2
- package/dist/scripts/7030-041896252c-lite.chunk.js +2 -0
- package/dist/scripts/7045-8f704951d9-lite.chunk.js +1 -0
- package/dist/scripts/7052-0a94f7b10e-lite.chunk.js +2 -0
- package/dist/scripts/7056-b5cd72d1b8-lite.chunk.js +1 -0
- package/dist/scripts/7108-0f6adbabf0-lite.chunk.js +1 -0
- package/dist/scripts/7112-ec1031994e-lite.chunk.js +2 -0
- package/dist/scripts/7115-ca20dcea0a-lite.chunk.js +1 -0
- package/dist/scripts/{7117-2dc06cc559-lite.chunk.js → 7117-1da2d8e101-lite.chunk.js} +1 -1
- package/dist/scripts/7128-1ee42ef21c-lite.chunk.js +1 -0
- package/dist/scripts/714-7d4a73ae45-lite.chunk.js +1 -0
- package/dist/scripts/7172-f8288f9f70-lite.chunk.js +1 -0
- package/dist/scripts/7178-7389623a5a-lite.chunk.js +1 -0
- package/dist/scripts/7205-4c232d2ac0-lite.chunk.js +1 -0
- package/dist/scripts/7221-dab37ddabe-lite.chunk.js +2 -0
- package/dist/scripts/7286-cb1923e134-lite.chunk.js +1 -0
- package/dist/scripts/7288-e945b5adc9-lite.chunk.js +1 -0
- package/dist/scripts/7293-e20274d243-lite.chunk.js +1 -0
- package/dist/scripts/7332-7bfaeba358-lite.chunk.js +1 -0
- package/dist/scripts/7338-a11845d2a6-lite.chunk.js +1 -0
- package/dist/scripts/7385-c433287c92-lite.chunk.js +1 -0
- package/dist/scripts/7409-8a76274449-lite.chunk.js +1 -0
- package/dist/scripts/{1977-7e46c81a05-lite.chunk.js → 7422-8f60c3028d-lite.chunk.js} +2 -2
- package/dist/scripts/7432-d4e8bef2f4-lite.chunk.js +1 -0
- package/dist/scripts/7484-6bc5cab7dd-lite.chunk.js +1 -0
- package/dist/scripts/7506-84f4593d4e-lite.chunk.js +1 -0
- package/dist/scripts/754-b54addb690-lite.chunk.js +1 -0
- package/dist/scripts/7540-fabe7ac275-lite.chunk.js +1 -0
- package/dist/scripts/7555-4d6b6eda04-lite.chunk.js +1 -0
- package/dist/scripts/{7706-d9f05df3bd-lite.chunk.js → 7706-1f9e23a067-lite.chunk.js} +1 -1
- package/dist/scripts/7708-f170b2ca80-lite.chunk.js +1 -0
- package/dist/scripts/7767-3a6db3d0ec-lite.chunk.js +1 -0
- package/dist/scripts/7818-4910db8536-lite.chunk.js +1 -0
- package/dist/scripts/7855-23c0238091-lite.chunk.js +1 -0
- package/dist/scripts/7888-e721ba550f-lite.chunk.js +1 -0
- package/dist/scripts/7925-f5bfc42b6b-lite.chunk.js +1 -0
- package/dist/scripts/8025-ebb2a6e951-lite.chunk.js +1 -0
- package/dist/scripts/8046-bf50ba7dc9-lite.chunk.js +1 -0
- package/dist/scripts/8056-0044639a66-lite.chunk.js +1 -0
- package/dist/scripts/811-9575586e7f-lite.chunk.js +1 -0
- package/dist/scripts/817-19c50fb9e7-lite.chunk.js +1 -0
- package/dist/scripts/823-cb0629ec55-lite.chunk.js +1 -0
- package/dist/scripts/8236-06e2326d22-lite.chunk.js +1 -0
- package/dist/scripts/8252-82ab60c504-lite.chunk.js +1 -0
- package/dist/scripts/8323-aeb803ba70-lite.chunk.js +2 -0
- package/dist/scripts/8367-c2e291cfc2-lite.chunk.js +1 -0
- package/dist/scripts/8383-84a5223bb5-lite.chunk.js +1 -0
- package/dist/scripts/8419-8ddf8d53f5-lite.chunk.js +1 -0
- package/dist/scripts/8466-ee3317e095-lite.chunk.js +1 -0
- package/dist/scripts/8556-f6d1f3fe46-lite.chunk.js +1 -0
- package/dist/scripts/8564-97a9548afd-lite.chunk.js +1 -0
- package/dist/scripts/8621-4f47ca7ad9-lite.chunk.js +1 -0
- package/dist/scripts/8681-da6e12f2d5-lite.chunk.js +2 -0
- package/dist/scripts/872-f2695b16b4-lite.chunk.js +1 -0
- package/dist/scripts/8763-30018c2eba-lite.chunk.js +1 -0
- package/dist/scripts/8820-192385d246-lite.chunk.js +1 -0
- package/dist/scripts/8830-a30a1fab45-lite.chunk.js +1 -0
- package/dist/scripts/8873-f8598046db-lite.chunk.js +1 -0
- package/dist/scripts/8905-63f31e0b26-lite.chunk.js +1 -0
- package/dist/scripts/8935-0d85df691f-lite.chunk.js +2 -0
- package/dist/scripts/8944-fa935f6ed4-lite.chunk.js +1 -0
- package/dist/scripts/8955-9823de95f3-lite.chunk.js +1 -0
- package/dist/scripts/9005-7329883227-lite.chunk.js +1 -0
- package/dist/scripts/9016-17e09819a6-lite.chunk.js +1 -0
- package/dist/scripts/9038-d071dd25ce-lite.chunk.js +1 -0
- package/dist/scripts/9060-5cee4638c6-lite.chunk.js +1 -0
- package/dist/scripts/9118-948d6029d3-lite.chunk.js +1 -0
- package/dist/scripts/9133-1c2f07cd11-lite.chunk.js +1 -0
- package/dist/scripts/9151-049f79d533-lite.chunk.js +1 -0
- package/dist/scripts/9226-941d653db1-lite.chunk.js +1 -0
- package/dist/scripts/9242-4b15b572db-lite.chunk.js +1 -0
- package/dist/scripts/9264-c265dc4e08-lite.chunk.js +1 -0
- package/dist/scripts/9273-535bb6b083-lite.chunk.js +1 -0
- package/dist/scripts/9325-8200a8eca7-lite.chunk.js +1 -0
- package/dist/scripts/9428-f581bbe764-lite.chunk.js +2 -0
- package/dist/scripts/9455-cde3c093dc-lite.chunk.js +1 -0
- package/dist/scripts/9478-fecaea6d54-lite.chunk.js +2 -0
- package/dist/scripts/9484-312aa1531d-lite.chunk.js +2 -0
- package/dist/scripts/9674-cd38b69de3-lite.chunk.js +1 -0
- package/dist/scripts/9714-d0bcd64c24-lite.chunk.js +1 -0
- package/dist/scripts/9744-49217aba0f-lite.chunk.js +1 -0
- package/dist/scripts/9798-cf0181fd79-lite.chunk.js +1 -0
- package/dist/scripts/9843-9f510ac1c1-lite.chunk.js +1 -0
- package/dist/scripts/9880-c7ad9079c0-lite.chunk.js +1 -0
- package/dist/scripts/9894-75159b2fc0-lite.chunk.js +2 -0
- package/dist/scripts/9899-e695d8ad4c-lite.chunk.js +1 -0
- package/dist/scripts/9931-08cf05b177-lite.chunk.js +2 -0
- package/dist/scripts/9961-62c9f288a2-lite.chunk.js +1 -0
- package/dist/scripts/bundle-3796712273.min.js +2 -0
- package/dist/scripts/bundle-3796712273.min.js.LICENSE.txt +129 -0
- package/dist/scripts/bundle-88ea810319.min.js +2 -0
- package/dist/scripts/bundle-88ea810319.min.js.LICENSE.txt +129 -0
- package/dist/scripts/{polyfills-5c0684cd85.min.js → polyfills-02090a38a6.min.js} +2 -2
- package/dist/scripts/polyfills-02090a38a6.min.js.LICENSE.txt +1 -0
- package/package.json +61 -61
- package/dist/css/162-lite-32e60d7e18.chunk.css +0 -37
- package/dist/css/1655-lite-e7bdc675ac.chunk.css +0 -2
- package/dist/css/1794-lite-88303bbaf5.chunk.css +0 -3
- package/dist/css/2118-lite-74522bc90f.chunk.css +0 -1
- package/dist/css/3468-lite-74522bc90f.chunk.css +0 -1
- package/dist/css/3533-lite-74522bc90f.chunk.css +0 -1
- package/dist/css/3667-lite-37b25ceace.chunk.css +0 -3
- package/dist/css/4541-lite-74522bc90f.chunk.css +0 -1
- package/dist/css/482-lite-74522bc90f.chunk.css +0 -1
- package/dist/css/510-lite-6661240a96.chunk.css +0 -3
- package/dist/css/6285-lite-86f715dee7.chunk.css +0 -2
- package/dist/css/6465-lite-74522bc90f.chunk.css +0 -1
- package/dist/css/6689-lite-385dfbe1d8.chunk.css +0 -4
- package/dist/css/6817-lite-6661240a96.chunk.css +0 -3
- package/dist/css/7112-lite-01b143fa0b.chunk.css +0 -3
- package/dist/css/7128-lite-74522bc90f.chunk.css +0 -1
- package/dist/css/7172-lite-74522bc90f.chunk.css +0 -1
- package/dist/css/7515-lite-01b143fa0b.chunk.css +0 -3
- package/dist/css/8025-lite-74522bc90f.chunk.css +0 -1
- package/dist/css/8292-lite-a0648ee1fa.chunk.css +0 -2
- package/dist/css/8383-lite-74522bc90f.chunk.css +0 -1
- package/dist/css/9060-lite-74522bc90f.chunk.css +0 -1
- package/dist/css/9455-lite-3cd1655cd7.chunk.css +0 -5
- package/dist/css/lite-app-1d0c2fd2b0.css +0 -53
- package/dist/scripts/1064-458b68fb91-lite.chunk.js +0 -1
- package/dist/scripts/1090-9aace3f5ec-lite.chunk.js +0 -1
- package/dist/scripts/1106-847d0bf2b8-lite.chunk.js +0 -1
- package/dist/scripts/1200-f30709bde3-lite.chunk.js +0 -2
- package/dist/scripts/1285-19705b2fc5-lite.chunk.js +0 -1
- package/dist/scripts/1291-1d298ab17d-lite.chunk.js +0 -1
- package/dist/scripts/1354-adb83a2eaa-lite.chunk.js +0 -2
- package/dist/scripts/1366-c65306205c-lite.chunk.js +0 -2
- package/dist/scripts/147-28a27fe38b-lite.chunk.js +0 -1
- package/dist/scripts/1475-255496ec92-lite.chunk.js +0 -1
- package/dist/scripts/1517-4c765cf6b6-lite.chunk.js +0 -1
- package/dist/scripts/1518-b3ed8fd9e5-lite.chunk.js +0 -1
- package/dist/scripts/1526-be5361acbf-lite.chunk.js +0 -1
- package/dist/scripts/1536-a8c6826e33-lite.chunk.js +0 -1
- package/dist/scripts/156-13c7d1ca82-lite.chunk.js +0 -1
- package/dist/scripts/1592-e5a0fbaee2-lite.chunk.js +0 -2
- package/dist/scripts/162-64b366f2d0-lite.chunk.js +0 -2
- package/dist/scripts/1628-3d2ab4a7f9-lite.chunk.js +0 -1
- package/dist/scripts/1655-4bb18c6f9b-lite.chunk.js +0 -1
- package/dist/scripts/1726-ce7ab78bcc-lite.chunk.js +0 -1
- package/dist/scripts/1781-d407160975-lite.chunk.js +0 -1
- package/dist/scripts/1794-196bab58b7-lite.chunk.js +0 -1
- package/dist/scripts/1818-1566ab6170-lite.chunk.js +0 -1
- package/dist/scripts/1820-961e34dc3f-lite.chunk.js +0 -1
- package/dist/scripts/1837-8224775ee2-lite.chunk.js +0 -1
- package/dist/scripts/1863-0ff9f34469-lite.chunk.js +0 -1
- package/dist/scripts/1891-00d06bdb48-lite.chunk.js +0 -1
- package/dist/scripts/1913-121ddb03c7-lite.chunk.js +0 -1
- package/dist/scripts/1924-c10778006b-lite.chunk.js +0 -1
- package/dist/scripts/1943-4e126c7c8e-lite.chunk.js +0 -1
- package/dist/scripts/1958-7bbe5ed54b-lite.chunk.js +0 -1
- package/dist/scripts/2066-2448ffab36-lite.chunk.js +0 -2
- package/dist/scripts/2095-0a482240d2-lite.chunk.js +0 -1
- package/dist/scripts/2118-26ae54c3db-lite.chunk.js +0 -2
- package/dist/scripts/2175-e6101da2c7-lite.chunk.js +0 -1
- package/dist/scripts/2199-68ba7411fa-lite.chunk.js +0 -1
- package/dist/scripts/2208-8cca4d3922-lite.chunk.js +0 -1
- package/dist/scripts/2229-57d6491c9d-lite.chunk.js +0 -1
- package/dist/scripts/2235-5b283a630a-lite.chunk.js +0 -1
- package/dist/scripts/2269-63269b0a20-lite.chunk.js +0 -1
- package/dist/scripts/227-2b68bcb5e6-lite.chunk.js +0 -1
- package/dist/scripts/2279-c077a223e7-lite.chunk.js +0 -1
- package/dist/scripts/2318-f20f53577b-lite.chunk.js +0 -1
- package/dist/scripts/2469-26134f4110-lite.chunk.js +0 -1
- package/dist/scripts/2477-0c1cc0274e-lite.chunk.js +0 -1
- package/dist/scripts/2561-f6bbda0461-lite.chunk.js +0 -1
- package/dist/scripts/2566-db0f3fdc44-lite.chunk.js +0 -1
- package/dist/scripts/2608-91817d2e90-lite.chunk.js +0 -1
- package/dist/scripts/2665-58e5d43a70-lite.chunk.js +0 -1
- package/dist/scripts/2729-bf3c1615b9-lite.chunk.js +0 -1
- package/dist/scripts/275-48e39524cd-lite.chunk.js +0 -1
- package/dist/scripts/276-bb5c3227d5-lite.chunk.js +0 -1
- package/dist/scripts/287-06fe2a9794-lite.chunk.js +0 -1
- package/dist/scripts/2877-4171fae97e-lite.chunk.js +0 -1
- package/dist/scripts/3012-a8407cc0d7-lite.chunk.js +0 -1
- package/dist/scripts/3020-b550dc32a1-lite.chunk.js +0 -1
- package/dist/scripts/3091-23bbaf2400-lite.chunk.js +0 -1
- package/dist/scripts/3108-4774ebe606-lite.chunk.js +0 -1
- package/dist/scripts/3154-63fff5be79-lite.chunk.js +0 -1
- package/dist/scripts/3171-02af531a34-lite.chunk.js +0 -1
- package/dist/scripts/3216-cd6222fff4-lite.chunk.js +0 -1
- package/dist/scripts/3285-dcec4d8e24-lite.chunk.js +0 -1
- package/dist/scripts/3322-90da5fc550-lite.chunk.js +0 -1
- package/dist/scripts/3468-40c308ce30-lite.chunk.js +0 -1
- package/dist/scripts/3514-31c2f97242-lite.chunk.js +0 -1
- package/dist/scripts/3533-98674ad469-lite.chunk.js +0 -1
- package/dist/scripts/355-16b3032c4f-lite.chunk.js +0 -1
- package/dist/scripts/3602-7fb236937c-lite.chunk.js +0 -2
- package/dist/scripts/3645-ccb3557f33-lite.chunk.js +0 -2
- package/dist/scripts/3654-68fc05281b-lite.chunk.js +0 -1
- package/dist/scripts/3667-6261d6a482-lite.chunk.js +0 -2
- package/dist/scripts/3727-61ad5aebc3-lite.chunk.js +0 -1
- package/dist/scripts/3728-61154e9591-lite.chunk.js +0 -1
- package/dist/scripts/3729-ec68fee3f9-lite.chunk.js +0 -1
- package/dist/scripts/3754-43235d0887-lite.chunk.js +0 -1
- package/dist/scripts/3755-6e4ec3d174-lite.chunk.js +0 -1
- package/dist/scripts/383-867d273f61-lite.chunk.js +0 -1
- package/dist/scripts/3849-cc38632481-lite.chunk.js +0 -1
- package/dist/scripts/389-e0a9ec5a2b-lite.chunk.js +0 -1
- package/dist/scripts/3962-6b13cdecc3-lite.chunk.js +0 -1
- package/dist/scripts/4052-f6e4be8ec3-lite.chunk.js +0 -1
- package/dist/scripts/4067-7bd2a9bb48-lite.chunk.js +0 -1
- package/dist/scripts/414-395860a6ec-lite.chunk.js +0 -1
- package/dist/scripts/4145-ab4ad95b9a-lite.chunk.js +0 -1
- package/dist/scripts/4182-71b9d0c2ae-lite.chunk.js +0 -1
- package/dist/scripts/4229-e0eec4f9cc-lite.chunk.js +0 -1
- package/dist/scripts/4290-9275108346-lite.chunk.js +0 -1
- package/dist/scripts/4326-0df396c7a9-lite.chunk.js +0 -1
- package/dist/scripts/4343-97dc4dfb23-lite.chunk.js +0 -1
- package/dist/scripts/4380-880fb4cd78-lite.chunk.js +0 -1
- package/dist/scripts/4393-7273cab163-lite.chunk.js +0 -1
- package/dist/scripts/4417-f74c436556-lite.chunk.js +0 -1
- package/dist/scripts/4423-972b49a9ea-lite.chunk.js +0 -1
- package/dist/scripts/4436-6939f395bc-lite.chunk.js +0 -1
- package/dist/scripts/4484-6bb5f46ab3-lite.chunk.js +0 -1
- package/dist/scripts/4537-9b504a7131-lite.chunk.js +0 -1
- package/dist/scripts/4541-7226b9836d-lite.chunk.js +0 -1
- package/dist/scripts/4617-9f75859a94-lite.chunk.js +0 -1
- package/dist/scripts/4632-8a515a2adf-lite.chunk.js +0 -1
- package/dist/scripts/4657-5482d930f8-lite.chunk.js +0 -2
- package/dist/scripts/4676-d33096ed1d-lite.chunk.js +0 -2
- package/dist/scripts/4690-8d1c868379-lite.chunk.js +0 -1
- package/dist/scripts/4763-aa3b604925-lite.chunk.js +0 -1
- package/dist/scripts/4770-19393b2e34-lite.chunk.js +0 -1
- package/dist/scripts/482-1534ca1124-lite.chunk.js +0 -1
- package/dist/scripts/4893-4dfccfedc9-lite.chunk.js +0 -1
- package/dist/scripts/4895-9d22529005-lite.chunk.js +0 -1
- package/dist/scripts/4942-d89ef696ed-lite.chunk.js +0 -2
- package/dist/scripts/5018-23fbddadb3-lite.chunk.js +0 -1
- package/dist/scripts/510-0aacaf4a3f-lite.chunk.js +0 -1
- package/dist/scripts/5171-f894a1dff0-lite.chunk.js +0 -1
- package/dist/scripts/5229-54d273997c-lite.chunk.js +0 -1
- package/dist/scripts/5268-b63ac1972e-lite.chunk.js +0 -2
- package/dist/scripts/5271-a5ffc1b79a-lite.chunk.js +0 -1
- package/dist/scripts/528-c80dafea15-lite.chunk.js +0 -1
- package/dist/scripts/5291-6ef2fcf319-lite.chunk.js +0 -1
- package/dist/scripts/5385-50b65ee5b3-lite.chunk.js +0 -1
- package/dist/scripts/5395-aa5bc09b79-lite.chunk.js +0 -1
- package/dist/scripts/5590-f1cdd7bd5c-lite.chunk.js +0 -1
- package/dist/scripts/5595-fed09c0f0d-lite.chunk.js +0 -1
- package/dist/scripts/5622-080218eb5e-lite.chunk.js +0 -2
- package/dist/scripts/5756-2c449fd1a4-lite.chunk.js +0 -1
- package/dist/scripts/5776-3015e0c3b2-lite.chunk.js +0 -1
- package/dist/scripts/5823-273dc77097-lite.chunk.js +0 -1
- package/dist/scripts/5914-89452132ae-lite.chunk.js +0 -1
- package/dist/scripts/5974-56af1e8e57-lite.chunk.js +0 -1
- package/dist/scripts/5983-8f4aa6c37a-lite.chunk.js +0 -1
- package/dist/scripts/6057-f6e5423975-lite.chunk.js +0 -1
- package/dist/scripts/6117-a149fd0dce-lite.chunk.js +0 -1
- package/dist/scripts/615-109caae84a-lite.chunk.js +0 -1
- package/dist/scripts/6154-1d0dfaf472-lite.chunk.js +0 -1
- package/dist/scripts/6158-2cc856d000-lite.chunk.js +0 -1
- package/dist/scripts/6159-00d5adab24-lite.chunk.js +0 -1
- package/dist/scripts/6254-3237a629c8-lite.chunk.js +0 -1
- package/dist/scripts/6263-8e38e9b596-lite.chunk.js +0 -1
- package/dist/scripts/6274-ef6ea9aefc-lite.chunk.js +0 -1
- package/dist/scripts/6285-202fcb0ab4-lite.chunk.js +0 -1
- package/dist/scripts/6302-858c958370-lite.chunk.js +0 -1
- package/dist/scripts/6330-188babc35b-lite.chunk.js +0 -1
- package/dist/scripts/6368-0dc1c905d9-lite.chunk.js +0 -1
- package/dist/scripts/6370-73eb5d7165-lite.chunk.js +0 -1
- package/dist/scripts/6450-3c16cc5c71-lite.chunk.js +0 -1
- package/dist/scripts/6465-79f2f15c97-lite.chunk.js +0 -1
- package/dist/scripts/6480-08e2d6d634-lite.chunk.js +0 -1
- package/dist/scripts/6493-f6cec5b493-lite.chunk.js +0 -1
- package/dist/scripts/6572-a829585f06-lite.chunk.js +0 -1
- package/dist/scripts/6604-772ed75a7a-lite.chunk.js +0 -1
- package/dist/scripts/6662-51e2e6eaaf-lite.chunk.js +0 -1
- package/dist/scripts/6689-0daba3d135-lite.chunk.js +0 -1
- package/dist/scripts/6817-ed5e4e7d06-lite.chunk.js +0 -1
- package/dist/scripts/6821-7359de4d2e-lite.chunk.js +0 -1
- package/dist/scripts/6822-5831c9fd42-lite.chunk.js +0 -1
- package/dist/scripts/6823-22b0850abc-lite.chunk.js +0 -2
- package/dist/scripts/6866-3253265092-lite.chunk.js +0 -1
- package/dist/scripts/6873-4a90a15240-lite.chunk.js +0 -1
- package/dist/scripts/689-f0a1edee9b-lite.chunk.js +0 -1
- package/dist/scripts/6913-507c07b46c-lite.chunk.js +0 -1
- package/dist/scripts/6930-06c0bffc64-lite.chunk.js +0 -1
- package/dist/scripts/6932-59789e4aea-lite.chunk.js +0 -1
- package/dist/scripts/7030-e6f622a775-lite.chunk.js +0 -2
- package/dist/scripts/7045-6373f085f2-lite.chunk.js +0 -1
- package/dist/scripts/7052-b5ffd3e5ae-lite.chunk.js +0 -2
- package/dist/scripts/7056-1278a992e8-lite.chunk.js +0 -1
- package/dist/scripts/7108-7e3854252d-lite.chunk.js +0 -1
- package/dist/scripts/7112-72e5351e87-lite.chunk.js +0 -2
- package/dist/scripts/7115-5651a1dba8-lite.chunk.js +0 -1
- package/dist/scripts/7128-523988aea8-lite.chunk.js +0 -1
- package/dist/scripts/714-0f92a1c65b-lite.chunk.js +0 -1
- package/dist/scripts/7147-8b38cb4a77-lite.chunk.js +0 -1
- package/dist/scripts/7172-3478ca9fbf-lite.chunk.js +0 -1
- package/dist/scripts/7205-6c84b9860e-lite.chunk.js +0 -1
- package/dist/scripts/7221-7c2e4bd2cf-lite.chunk.js +0 -2
- package/dist/scripts/7286-33d40f57b8-lite.chunk.js +0 -1
- package/dist/scripts/7293-50af1887dd-lite.chunk.js +0 -1
- package/dist/scripts/7318-c329ca7c0d-lite.chunk.js +0 -2
- package/dist/scripts/7318-c329ca7c0d-lite.chunk.js.LICENSE.txt +0 -5
- package/dist/scripts/7341-a0366179fe-lite.chunk.js +0 -1
- package/dist/scripts/7385-9ae5fdf533-lite.chunk.js +0 -1
- package/dist/scripts/7409-145e2b0498-lite.chunk.js +0 -1
- package/dist/scripts/7484-9089dfc5b4-lite.chunk.js +0 -1
- package/dist/scripts/7506-6e5abb1ce8-lite.chunk.js +0 -1
- package/dist/scripts/7515-1fa9993684-lite.chunk.js +0 -2
- package/dist/scripts/754-af06e1c835-lite.chunk.js +0 -1
- package/dist/scripts/7555-6536e27567-lite.chunk.js +0 -1
- package/dist/scripts/7708-d15c0df895-lite.chunk.js +0 -1
- package/dist/scripts/7758-d8cd43af1a-lite.chunk.js +0 -1
- package/dist/scripts/7767-697e83f840-lite.chunk.js +0 -1
- package/dist/scripts/7855-e5071abd53-lite.chunk.js +0 -1
- package/dist/scripts/7888-fcf2d068bb-lite.chunk.js +0 -1
- package/dist/scripts/7925-400ce5c362-lite.chunk.js +0 -1
- package/dist/scripts/7939-50f67c7062-lite.chunk.js +0 -1
- package/dist/scripts/7950-057729fd3f-lite.chunk.js +0 -2
- package/dist/scripts/7952-da7e2efbb9-lite.chunk.js +0 -1
- package/dist/scripts/8025-84ccfae3cb-lite.chunk.js +0 -1
- package/dist/scripts/8035-0116ccf4e5-lite.chunk.js +0 -1
- package/dist/scripts/8038-f1425fa036-lite.chunk.js +0 -1
- package/dist/scripts/8046-fa36daa5ce-lite.chunk.js +0 -1
- package/dist/scripts/8056-ccc1962ad7-lite.chunk.js +0 -1
- package/dist/scripts/811-3c7448dc35-lite.chunk.js +0 -1
- package/dist/scripts/823-2ddc27ac2a-lite.chunk.js +0 -1
- package/dist/scripts/8252-a6d0f554a5-lite.chunk.js +0 -1
- package/dist/scripts/8292-e22a69738a-lite.chunk.js +0 -1
- package/dist/scripts/8323-249c45a20e-lite.chunk.js +0 -2
- package/dist/scripts/8367-18538fb7ed-lite.chunk.js +0 -1
- package/dist/scripts/8383-4b59de6bfc-lite.chunk.js +0 -1
- package/dist/scripts/8419-a12e4d833e-lite.chunk.js +0 -1
- package/dist/scripts/8466-db914a7d25-lite.chunk.js +0 -1
- package/dist/scripts/8500-f229b957ef-lite.chunk.js +0 -1
- package/dist/scripts/8516-401b97bede-lite.chunk.js +0 -1
- package/dist/scripts/8556-2faa08c0bb-lite.chunk.js +0 -1
- package/dist/scripts/8564-f361b00c03-lite.chunk.js +0 -1
- package/dist/scripts/8621-bb707f1aa2-lite.chunk.js +0 -1
- package/dist/scripts/8627-7c7b3701fa-lite.chunk.js +0 -1
- package/dist/scripts/8681-5190c78b95-lite.chunk.js +0 -2
- package/dist/scripts/872-556704f056-lite.chunk.js +0 -1
- package/dist/scripts/8729-5928d624f8-lite.chunk.js +0 -1
- package/dist/scripts/8763-0aae908218-lite.chunk.js +0 -1
- package/dist/scripts/8820-2ad02c32cb-lite.chunk.js +0 -1
- package/dist/scripts/8830-94ce167cd3-lite.chunk.js +0 -1
- package/dist/scripts/8884-b6a7826c51-lite.chunk.js +0 -1
- package/dist/scripts/8905-76145a06df-lite.chunk.js +0 -1
- package/dist/scripts/8955-0889ae334e-lite.chunk.js +0 -1
- package/dist/scripts/9005-dfff5d4381-lite.chunk.js +0 -1
- package/dist/scripts/9016-53b4e0b866-lite.chunk.js +0 -1
- package/dist/scripts/9038-d495e86d21-lite.chunk.js +0 -1
- package/dist/scripts/9060-75b7bf8e06-lite.chunk.js +0 -1
- package/dist/scripts/9118-936a46d5aa-lite.chunk.js +0 -1
- package/dist/scripts/9133-2ac9e11023-lite.chunk.js +0 -1
- package/dist/scripts/9138-0f9bb9b0e3-lite.chunk.js +0 -1
- package/dist/scripts/9151-d8f10661a1-lite.chunk.js +0 -1
- package/dist/scripts/9194-c255b66c7c-lite.chunk.js +0 -2
- package/dist/scripts/9242-d7a14a34f0-lite.chunk.js +0 -1
- package/dist/scripts/9264-756116983e-lite.chunk.js +0 -1
- package/dist/scripts/9273-8381c89f91-lite.chunk.js +0 -1
- package/dist/scripts/9325-76be09c5d9-lite.chunk.js +0 -1
- package/dist/scripts/9428-5917cd7b0a-lite.chunk.js +0 -2
- package/dist/scripts/9455-7c1622838e-lite.chunk.js +0 -1
- package/dist/scripts/9478-e817a33a69-lite.chunk.js +0 -2
- package/dist/scripts/9484-6e93df7581-lite.chunk.js +0 -2
- package/dist/scripts/9674-72dc791884-lite.chunk.js +0 -1
- package/dist/scripts/9714-f2571e0227-lite.chunk.js +0 -1
- package/dist/scripts/9744-57f41382a5-lite.chunk.js +0 -1
- package/dist/scripts/9798-6d39196b90-lite.chunk.js +0 -1
- package/dist/scripts/9880-d95662abc4-lite.chunk.js +0 -1
- package/dist/scripts/9899-5322cee4bf-lite.chunk.js +0 -1
- package/dist/scripts/9931-bf2f253ffe-lite.chunk.js +0 -2
- package/dist/scripts/9961-7cea13c70e-lite.chunk.js +0 -1
- package/dist/scripts/bundle-d1c30c9210.min.js +0 -2
- package/dist/scripts/bundle-d1c30c9210.min.js.LICENSE.txt +0 -38
- package/typings/libs/backbone.validation.d.ts +0 -100
- /package/dist/css/{8627-lite-a68f192c18.chunk.css → 1291-lite-a68f192c18.chunk.css} +0 -0
- /package/dist/css/{7950-lite-89fe5c9fc1.chunk.css → 1672-lite-89fe5c9fc1.chunk.css} +0 -0
- /package/dist/css/{8516-lite-6554428c5a.chunk.css → 209-lite-6554428c5a.chunk.css} +0 -0
- /package/dist/css/{1891-lite-740e4cbd6f.chunk.css → 3200-lite-740e4cbd6f.chunk.css} +0 -0
- /package/dist/css/{5983-lite-8c9306617b.chunk.css → 5134-lite-8c9306617b.chunk.css} +0 -0
- /package/dist/css/{156-lite-f1ca87e9ff.chunk.css → 5143-lite-f1ca87e9ff.chunk.css} +0 -0
- /package/dist/css/{1090-lite-0018feda9c.chunk.css → 5606-lite-0018feda9c.chunk.css} +0 -0
- /package/dist/css/{7341-lite-abb86816df.chunk.css → 7332-lite-abb86816df.chunk.css} +0 -0
- /package/dist/css/{1977-lite-22ea72f8e3.chunk.css → 7422-lite-22ea72f8e3.chunk.css} +0 -0
- /package/dist/css/{147-lite-74cb244872.chunk.css → 8944-lite-74cb244872.chunk.css} +0 -0
- /package/dist/scripts/{1354-adb83a2eaa-lite.chunk.js.LICENSE.txt → 1354-33c5905ae6-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{1200-f30709bde3-lite.chunk.js.LICENSE.txt → 1366-666ef709a1-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{1366-c65306205c-lite.chunk.js.LICENSE.txt → 1592-aa2bc45d63-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{1592-e5a0fbaee2-lite.chunk.js.LICENSE.txt → 162-51e28f0e8d-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{162-64b366f2d0-lite.chunk.js.LICENSE.txt → 1672-2a6d69b169-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{2066-2448ffab36-lite.chunk.js.LICENSE.txt → 2066-f1ee632b62-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{2118-26ae54c3db-lite.chunk.js.LICENSE.txt → 2118-a281da36fd-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{6823-22b0850abc-lite.chunk.js.LICENSE.txt → 2678-b53d60e821-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{3602-7fb236937c-lite.chunk.js.LICENSE.txt → 3602-c5f7a74c8b-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{3645-ccb3557f33-lite.chunk.js.LICENSE.txt → 3645-86f0ed022f-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{3667-6261d6a482-lite.chunk.js.LICENSE.txt → 3667-c5b8a096c2-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{4657-5482d930f8-lite.chunk.js.LICENSE.txt → 3789-4cb6d829f6-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{4676-d33096ed1d-lite.chunk.js.LICENSE.txt → 4657-da41ee610c-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{4942-d89ef696ed-lite.chunk.js.LICENSE.txt → 4676-adc55dfa15-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{5268-b63ac1972e-lite.chunk.js.LICENSE.txt → 4942-9db184d708-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{5622-080218eb5e-lite.chunk.js.LICENSE.txt → 5009-9e45034def-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{6896-79fa541f46-lite.chunk.js.LICENSE.txt → 5268-029905c5f0-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7017-76adb0abdc-lite.chunk.js.LICENSE.txt → 5622-7b29606856-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7030-e6f622a775-lite.chunk.js.LICENSE.txt → 6896-75b32c41e8-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{691-1a7a29fb40-lite.chunk.js.LICENSE.txt → 691-670cb6f7e6-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7052-b5ffd3e5ae-lite.chunk.js.LICENSE.txt → 7017-35c73244a6-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7112-72e5351e87-lite.chunk.js.LICENSE.txt → 7030-041896252c-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7221-7c2e4bd2cf-lite.chunk.js.LICENSE.txt → 7052-0a94f7b10e-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7515-1fa9993684-lite.chunk.js.LICENSE.txt → 7112-ec1031994e-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7950-057729fd3f-lite.chunk.js.LICENSE.txt → 7221-dab37ddabe-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{1977-7e46c81a05-lite.chunk.js.LICENSE.txt → 7422-8f60c3028d-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{8323-249c45a20e-lite.chunk.js.LICENSE.txt → 8323-aeb803ba70-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{8681-5190c78b95-lite.chunk.js.LICENSE.txt → 8681-da6e12f2d5-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{9194-c255b66c7c-lite.chunk.js.LICENSE.txt → 8935-0d85df691f-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{9428-5917cd7b0a-lite.chunk.js.LICENSE.txt → 9428-f581bbe764-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{9478-e817a33a69-lite.chunk.js.LICENSE.txt → 9478-fecaea6d54-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{9484-6e93df7581-lite.chunk.js.LICENSE.txt → 9484-312aa1531d-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{9931-bf2f253ffe-lite.chunk.js.LICENSE.txt → 9894-75159b2fc0-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{polyfills-5c0684cd85.min.js.LICENSE.txt → 9931-08cf05b177-lite.chunk.js.LICENSE.txt} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see
|
|
2
|
-
(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[1977],{84891:(t,e,n)=>{"use strict";n.d(e,{h4:()=>pt,cn:()=>R});var r=n(56784),o=n.n(r),i=n(1024),a=n.n(i),s=n(74161),c=n(6880),u=n(21930);function l(t,e,n,r,o,i){var a=r-n;return e+n<=t.offset?Object.assign({},t,{offset:t.offset+a}):e>=t.offset&&e+n<=t.offset+t.length?Object.assign({},t,{length:t.length+a}):t.offset>=e&&t.offset+t.length<=e+n&&o>0?Object.assign({},t,{offset:t.offset+o}):t.offset<e&&t.offset+t.length<=e+n&&t.offset+t.length>e&&o>0?[Object.assign({},t,{length:e-t.offset}),Object.assign({},t,{offset:e+o,length:t.offset-e+t.length})]:t.offset>=e&&t.offset+t.length>e+n&&e+n>t.offset&&i>0?[Object.assign({},t,{offset:t.offset+o,length:e+n-t.offset}),Object.assign({},t,{offset:e+n+o+i,length:t.offset+t.length-(e+n)})]:t}const p=function(t,e){return t.offset===e.offset?e.length-t.length:t.offset-e.offset};var f={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"},d=n(36655),h=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function g(t){if(-1!==h.indexOf(t.type))return s.renderToStaticMarkup(t);var e=s.renderToStaticMarkup(a().cloneElement(t,{},"\r")).split("\r");return o()(e.length>1,"convertToHTML: Element of type ".concat(t.type," must render children")),o()(e.length<3,"convertToHTML: Element of type ".concat(t.type," cannot use carriage return character")),{start:e[0],end:e[1]}}function y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==t)return t;if("string"==typeof t)return t;if(a().isValidElement(t)){if(function(t){return a().isValidElement(t)&&a().Children.count(t.props.children)>0}(t))return s.renderToStaticMarkup(t);var n=g(t);return null!==e&&"object"===(0,d.Z)(n)?n.start+e+n.end:n}return o()(Object.prototype.hasOwnProperty.call(t,"start")&&Object.prototype.hasOwnProperty.call(t,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==e?t.start+e+t.end:t}const m=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(a().isValidElement(e)){var r=g(e);if("string"==typeof r)return 0;var o=r[n].length,i=a().Children.toArray(e.props.children)[0];return o+(i&&a().isValidElement(i)?t(i,n):0)}return"object"===(0,d.Z)(e)&&e[n]?e[n].length:0};var v=function(){return arguments.length>1?arguments[1]:void 0};const b=function(t){return function(e){return"function"==typeof t?t(e):t[e]}},_=function(t,e){return function(){var n=t.apply(void 0,arguments);return null!=n?n:e.apply(void 0,arguments)}};function S(t){switch(t){case"BOLD":return a().createElement("strong",null);case"ITALIC":return a().createElement("em",null);case"UNDERLINE":return a().createElement("u",null);case"CODE":return a().createElement("code",null);default:return{start:"",end:""}}}var w=function(t,e){return t.filter((function(t){return!e.some((function(e){return e.style===t.style}))}))},M=function(t,e){return e.reduceRight((function(t,e){var n=t[t.length-1];return o()(n.style===e.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(e.style)),t.slice(0,-1)}),t)},E=function(t,e){return e.filter((function(e){return t>=e.offset&&t<e.offset+e.length}))},k=function(t,e){var n=t.offset<=e.offset,r=t.offset+t.length>=e.offset+e.length;return n&&r},x=function(t,e){return e.offset+e.length-(t.offset+t.length)},j=function(t,e){for(var n=0;n<t.length;){if(!e.every(k.bind(null,t[n])))return t.slice(n);n++}return[]},C=function(t,e,n){return e+y(t(n.style)).start},D=function(t,e,n){return y(t(n.style)).end+e},O=function(t){return function(e){return t(e)}};O.__isMiddleware=!0;const I=function(t){return function(e){return"function"==typeof t?t(e):t[e.type]}};function L(t,e){if(o()(null!=t,"Expected block HTML value to be non-null"),"function"==typeof t.nest){var n=g(t.nest(e)),r=n.start,i=n.end;return Object.assign({},t,{nestStart:r,nestEnd:i})}if(a().isValidElement(t.nest)){var s=g(t.nest),c=s.start,u=s.end;return Object.assign({},t,{nestStart:c,nestEnd:u})}return o()(Object.prototype.hasOwnProperty.call(t,"nestStart")&&Object.prototype.hasOwnProperty.call(t,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t}var N=["1","a","i"];const A={unstyled:a().createElement("p",null),paragraph:a().createElement("p",null),"header-one":a().createElement("h1",null),"header-two":a().createElement("h2",null),"header-three":a().createElement("h3",null),"header-four":a().createElement("h4",null),"header-five":a().createElement("h5",null),"header-six":a().createElement("h6",null),blockquote:a().createElement("blockquote",null),"unordered-list-item":{element:a().createElement("li",null),nest:a().createElement("ul",null)},"ordered-list-item":{element:a().createElement("li",null),nest:function(t){var e=N[t%3];return a().createElement("ol",{type:e})}},media:a().createElement("figure",null),atomic:a().createElement("figure",null)};var T=function(t,e){return e},z=function(t){var e=t.styleToHTML,n=void 0===e?{}:e,r=t.blockToHTML,i=void 0===r?{}:r,d=t.entityToHTML,h=void 0===d?T:d;return function(t){var e;o()(null!=t,"Expected contentState to be non-null"),e=!0===i.__isMiddleware?i(I(A)):_(I(i),I(A));var r=(0,c.convertToRaw)(t),d=[],k=r.blocks.map((function(t){var i=t.type,c=t.depth,k="",I="",N=e(t);if(!N)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(t.type));if(N.nest)for(;c+1!==d.length||i!==d[c].type;)if(c+1===d.length){var A=d[c];k+=L(e(A),c).nestEnd,I+=L(e(t),c).nestStart,d[c]=t}else if(c+1<d.length){var T=d[d.length-1];k+=L(e(T),c).nestEnd,d=d.slice(0,-1)}else I+=L(e(t),c).nestStart,d.push(t);else k=d.reduceRight((function(t,n){return t+L(e(n),c).nestEnd}),""),d=[];var z,R=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O;o()(null!=t,"Expected raw block to be non-null"),e=!0===n.__isMiddleware?n(S):_(b(n),b(S));for(var r="",i=[],a=t.inlineStyleRanges.sort(p),s=(0,u.Z)(t.text),c=0;c<s.length;c++){var l=E(c,a),f=w(i,l),d=w(l,i),h=w(i,f),g=j(h,d),m=g.concat(d).sort(x),v=m.reduce(C.bind(null,e),"");r+=f.concat(g).reduce(D.bind(null,e),"")+v+s[c],i=(i=M(i,g.concat(f))).concat(m),o()(i.length===l.length,"Character ".concat(c,": ").concat(i.length-l.length," styles left on stack that should no longer be there"))}return i.reduceRight((function(t,n){return t+y(e(n.style)).end}),r)}(function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v,r=(0,u.Z)(t.text),o=n;if(n.__isMiddleware&&(o=n(v)),Object.prototype.hasOwnProperty.call(t,"entityRanges")&&t.entityRanges.length>0){for(var i=t.entityRanges.sort(p),a=t.inlineStyleRanges,s=function(t){var n,s=i[t],c=e[s.key],p=r.slice(s.offset,s.offset+s.length).join(""),f=o(c,p),d=y(f,p);n=d||""===d?(0,u.Z)(d):p;var h=m(f,"start"),g=m(f,"end"),v=function(e){return e.reduce((function(e,r,o){var i=function(e,r){return r>t||Object.prototype.hasOwnProperty.call(e,"style")?l(e,s.offset,s.length,n.length,h,g):e}(r,o);return Array.isArray(i)?e.concat(i):e.concat([i])}),[])};i=v(i),a=v(a),r=[].concat((0,u.Z)(r.slice(0,s.offset)),(0,u.Z)(n),(0,u.Z)(r.slice(s.offset+s.length)))},c=0;c<i.length;c++)s(c);return Object.assign({},t,{text:r.join(""),inlineStyleRanges:a,entityRanges:i})}return t}(function(t){for(var e=(0,u.Z)(t.text),n=t.entityRanges.sort(p),r=t.inlineStyleRanges.sort(p),o="",i=function(t){var i=e[t];if(void 0!==f[i]){var a=f[i],s=(0,u.Z)(o).length;o+=a;var c=function(t){return l(t,s,i.length,a.length,0,0)};n=n.map(c),r=r.map(c)}else o+=i},a=0;a<e.length;a++)i(a);return Object.assign({},t,{text:o,inlineStyleRanges:r,entityRanges:n})}(t),r.entityMap,h),n),P=function(t){return o()(null!=t,"Expected block HTML value to be non-null"),"string"==typeof t?t:a().isValidElement(t)?(e=t,a().isValidElement(e)&&a().Children.count(e.props.children)>0?s.renderToStaticMarkup(t):g(t)):Object.prototype.hasOwnProperty.call(t,"element")&&a().isValidElement(t.element)?Object.assign({},t,g(t.element)):(o()(Object.prototype.hasOwnProperty.call(t,"start")&&Object.prototype.hasOwnProperty.call(t,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t);var e}(e(t));return z="string"==typeof P?P:P.start+R+P.end,0===R.length&&Object.prototype.hasOwnProperty.call(P,"empty")&&(z=a().isValidElement(P.empty)?s.renderToStaticMarkup(P.empty):P.empty),k+I+z})).join("");return d.reduce((function(t,n){return t+L(e(n),n.depth).nestEnd}),k)}};const R=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 1===e.length&&Object.prototype.hasOwnProperty.call(e[0],"_map")&&null!=e[0].getBlockMap?z({}).apply(void 0,e):z.apply(void 0,e)};var P=n(20429),B=function(t){var e=document.implementation.createHTMLDocument("");return e.documentElement.innerHTML=t,e};function U(t){var e;return"undefined"!=typeof DOMParser&&null!==(e=(new DOMParser).parseFromString(t,"text/html"))&&null!==e.body||(e=B(t)),e.body}var F=" ",K=4,H=new RegExp("\r","g"),q=new RegExp("\n","g"),Y=new RegExp(" ","g"),W=new RegExp("\r","g"),Q=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],Z={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},V=function(t,e){return t&&!0===t.__isMiddleware?t(e):t},G=function(t,e,n){},J=function(t,e,n){return n},X=function(t,e){},$=function(t){return[]},tt=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")};function et(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,P.Map)();return!0===n?{text:"\r",inlines:[(0,P.OrderedSet)()],entities:new Array(1),blocks:[{type:t,data:r,depth:Math.max(0,Math.min(K,e))}],isNewline:!0}:{text:"\n",inlines:[(0,P.OrderedSet)()],entities:new Array(1),blocks:[]}}function nt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,P.Map)();return{text:"\r",inlines:[(0,P.OrderedSet)()],entities:new Array(1),blocks:[{type:t,data:n,depth:Math.max(0,Math.min(K,e))}]}}function rt(t,e){switch(t){case"h1":return"header-one";case"h2":return"header-two";case"h3":return"header-three";case"h4":return"header-four";case"h5":return"header-five";case"h6":return"header-six";case"li":return"ol"===e?"ordered-list-item":"unordered-list-item";case"blockquote":return"blockquote";case"pre":return"code-block";case"div":case"p":return"unstyled";default:return null}}function ot(t,e,n){return rt(t,n)}function it(t,e,n){var r=Z[t];if(r)n=n.add(r).toOrderedSet();else if(e instanceof HTMLElement){var o=e;n=n.withMutations((function(t){"bold"===o.style.fontWeight&&t.add("BOLD"),"italic"===o.style.fontStyle&&t.add("ITALIC"),"underline"===o.style.textDecoration&&t.add("UNDERLINE"),"line-through"===o.style.textDecoration&&t.add("STRIKETHROUGH")})).toOrderedSet()}return n}function at(t,e){return it(t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,P.OrderedSet)())}function st(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.text.slice(0,1),o="\r"===t.text.slice(-1)&&"\r"===r,i="\r"!==t.text&&"\r"!==e.text,a="\r"===t.text&&!t.isNewline&&e.isNewline;if(o&&(i||a)&&(t.text=t.text.slice(0,-1),t.inlines.pop(),t.entities.pop(),t.blocks.pop()),"\r"===t.text.slice(-1)&&!0===n){if(e.text===F||"\n"===e.text)return t;r!==F&&"\n"!==r||(e.text=e.text.slice(1),e.inlines.shift(),e.entities.shift())}var s=0===t.text.length&&e.isNewline;return{text:t.text+e.text,inlines:t.inlines.concat(e.inlines),entities:t.entities.concat(e.entities),blocks:t.blocks.concat(e.blocks),isNewline:s}}function ct(t,e,n,r,o,i,a,s,c,u,l,f,d,h,g,y){var m=t.nodeName.toLowerCase(),v=!1,b="unstyled";if("#text"===m){var _=t.textContent;if(""===_.trim()&&null===r)return{text:"",inlines:[],entities:[],blocks:[]};if(""===_.trim()&&"code-block"!==r)return function(t){var e=new Array(1);return t&&(e[0]=t),{text:F,inlines:[(0,P.OrderedSet)()],entities:e,blocks:[]}}(y);"code-block"!==r&&(_=_.replace(q,F));var S=Array(_.length).fill(y),w=0;return c(_,l,f,d,h).sort(p).forEach((function(t){var e=t.entity,n=t.offset,r=t.length,o=t.result,i=n+w;null==o&&(o=_.substr(i,r));var a=_.split("");a.splice.bind(a,i,r).apply(a,o.split("")),_=a.join(""),S.splice.bind(S,i,r).apply(S,Array(o.length).fill(e)),w+=o.length-r})),{text:_,inlines:Array(_.length).fill(e),entities:S,blocks:[]}}if("br"===m){var M=r;return null===M?et("unstyled",i,!0):et(M||"unstyled",i,g.flat)}var E={text:"",inlines:[],entities:[],blocks:[]};e=a(m,t,e=it(m,t,e)),"ul"!==m&&"ol"!==m||(n&&(i+=1),n=m,r=null);var k,x,j=u(m,t,n,r);if(!1===j)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(j=j||{})?(k=j,x=(0,P.Map)()):(k="string"==typeof j?j:j.type,x=j.data?(0,P.Map)(j.data):(0,P.Map)()),r||-1===o.indexOf(m)&&!k)if(!n||"ordered-list-item"!==r&&"unordered-list-item"!==r||"li"!==m)r&&"atomic"!==r&&"atomic"===k&&(r=k,v=!0,E=et(k,i,!0,x));else{var C=rt(m,n);E=nt(C,i),r=C,v=!0,b="ul"===n?"unordered-list-item":"ordered-list-item"}else E=nt(k||rt(m,n),i,x),r=k||rt(m,n),v=!0;var D=t.firstChild;null!=D||!y||"atomic"!==k&&"atomic"!==r||(D=document.createTextNode("a")),null!=D&&(m=D.nodeName.toLowerCase());for(var O=null;D;){O=s(m,D,l,f,d,h),E=st(E,ct(D,e,n,r,o,i,a,s,c,u,l,f,d,h,g,O||y),g.flat);var I=D.nextSibling;if(I&&o.indexOf(m)>=0&&r){var L=u(m,D,n,r),N=void 0,A=void 0;!1!==L&&("string"==typeof(L=L||{})?(N=L,A=(0,P.Map)()):(N=L.type||rt(m,n),A=L.data?(0,P.Map)(L.data):(0,P.Map)()),E=st(E,et(N,i,g.flat,A),g.flat))}I&&(m=I.nodeName.toLowerCase()),D=I}return v&&(E=st(E,nt(b,i,(0,P.Map)()),g.flat)),E}function ut(t,e,n,r,o,i,a,s,c,u,l){var p=l(t=t.trim().replace(H,"").replace(Y,F));if(!p)return null;var f=function(t){return Q.some((function(e){return-1!==t.indexOf("<".concat(e))}))}(t)?Q.concat(["div"]):["div"],d=ct(p,(0,P.OrderedSet)(),"ul",null,f,-1,e,n,r,o,i,a,s,c,u);return 0===d.text.indexOf("\r")&&(d={text:d.text.slice(1),inlines:d.inlines.slice(1),entities:d.entities.slice(1),blocks:d.blocks}),"\r"===d.text.slice(-1)&&(d.text=d.text.slice(0,-1),d.inlines=d.inlines.slice(0,-1),d.entities=d.entities.slice(0,-1),d.blocks.pop()),0===d.blocks.length&&d.blocks.push({type:"unstyled",data:(0,P.Map)(),depth:0}),d.text.split("\r").length===d.blocks.length+1&&d.blocks.unshift({type:"unstyled",data:(0,P.Map)(),depth:0}),d}var lt=function(t){var e=t.htmlToStyle,n=void 0===e?J:e,r=t.htmlToEntity,o=void 0===r?X:r,i=t.textToEntity,a=void 0===i?$:i,s=t.htmlToBlock,u=void 0===s?G:s;return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:U,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:c.genKey,s=c.ContentState.createFromText(""),l=function(t,e,n,r,o,i,a,s,u,l,p,f){var d=ut(t,e,n,r,o,i,a,s,u,l,p);if(null==d)return[];var h=0;return d.text.split("\r").map((function(t,e){t=t.replace(W,"");var n=h+t.length,r=tt(d).inlines.slice(h,n),o=tt(d).entities.slice(h,n),i=(0,P.List)(r.map((function(t,e){var n={style:t,entity:null};return o[e]&&(n.entity=o[e]),c.CharacterMetadata.create(n)})));return h=n+1,new c.ContentBlock({key:f(),type:tt(d).blocks[e].type,data:tt(d).blocks[e].data,depth:tt(d).blocks[e].depth,text:t,characterList:i})}))}(t,V(n,at),V(o,X),V(a,$),V(u,ot),(function(){var t;return s.createEntity?(s=(t=s).createEntity.apply(t,arguments)).getLastCreatedEntityKey():c.Entity.create.apply(c.Entity,arguments)}),(function(){var t;return s.getEntity?(t=s).getEntity.apply(t,arguments):c.Entity.get.apply(c.Entity,arguments)}),(function(){var t;s.mergeEntityData?s=(t=s).mergeEntityData.apply(t,arguments):c.Entity.mergeData.apply(c.Entity,arguments)}),(function(){var t;s.replaceEntityData?s=(t=s).replaceEntityData.apply(t,arguments):c.Entity.replaceData.apply(c.Entity,arguments)}),e,r,i),p=c.BlockMapBuilder.createFromArray(l),f=l[0].getKey();return s.merge({blockMap:p,selectionBefore:c.SelectionState.createEmpty(f),selectionAfter:c.SelectionState.createEmpty(f)})}};const pt=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?lt({}).apply(void 0,arguments):lt.apply(void 0,arguments)}},20429:function(t){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return a(t)?t:Q(t)}function r(t){return s(t)?t:Z(t)}function o(t){return c(t)?t:V(t)}function i(t){return a(t)&&!u(t)?t:G(t)}function a(t){return!(!t||!t[p])}function s(t){return!(!t||!t[f])}function c(t){return!(!t||!t[d])}function u(t){return s(t)||c(t)}function l(t){return!(!t||!t[h])}e(r,n),e(o,n),e(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=c,n.isAssociative=u,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=i;var p="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",d="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g="delete",y=5,m=1<<y,v=m-1,b={},_={value:!1},S={value:!1};function w(t){return t.value=!1,t}function M(t){t&&(t.value=!0)}function E(){}function k(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o<n;o++)r[o]=t[o+e];return r}function x(t){return void 0===t.size&&(t.size=t.__iterate(C)),t.size}function j(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?x(t)+e:e}function C(){return!0}function D(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function O(t,e){return L(t,e,0)}function I(t,e){return L(t,e,e)}function L(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var N=0,A=1,T=2,z="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",P=z||R;function B(t){this.next=t}function U(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function F(){return{value:void 0,done:!0}}function K(t){return!!Y(t)}function H(t){return t&&"function"==typeof t.next}function q(t){var e=Y(t);return e&&e.call(t)}function Y(t){var e=t&&(z&&t[z]||t[R]);if("function"==typeof e)return e}function W(t){return t&&"number"==typeof t.length}function Q(t){return null==t?at():a(t)?t.toSeq():function(t){var e=ut(t)||"object"==typeof t&&new nt(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function Z(t){return null==t?at().toKeyedSeq():a(t)?s(t)?t.toSeq():t.fromEntrySeq():st(t)}function V(t){return null==t?at():a(t)?s(t)?t.entrySeq():t.toIndexedSeq():ct(t)}function G(t){return(null==t?at():a(t)?s(t)?t.entrySeq():t:ct(t)).toSetSeq()}B.prototype.toString=function(){return"[Iterator]"},B.KEYS=N,B.VALUES=A,B.ENTRIES=T,B.prototype.inspect=B.prototype.toSource=function(){return this.toString()},B.prototype[P]=function(){return this},e(Q,n),Q.of=function(){return Q(arguments)},Q.prototype.toSeq=function(){return this},Q.prototype.toString=function(){return this.__toString("Seq {","}")},Q.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Q.prototype.__iterate=function(t,e){return lt(this,t,e,!0)},Q.prototype.__iterator=function(t,e){return pt(this,t,e,!0)},e(Z,Q),Z.prototype.toKeyedSeq=function(){return this},e(V,Q),V.of=function(){return V(arguments)},V.prototype.toIndexedSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq [","]")},V.prototype.__iterate=function(t,e){return lt(this,t,e,!1)},V.prototype.__iterator=function(t,e){return pt(this,t,e,!1)},e(G,Q),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},Q.isSeq=it,Q.Keyed=Z,Q.Set=G,Q.Indexed=V;var J,X,$,tt="@@__IMMUTABLE_SEQ__@@";function et(t){this._array=t,this.size=t.length}function nt(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function rt(t){this._iterable=t,this.size=t.length||t.size}function ot(t){this._iterator=t,this._iteratorCache=[]}function it(t){return!(!t||!t[tt])}function at(){return J||(J=new et([]))}function st(t){var e=Array.isArray(t)?new et(t).fromEntrySeq():H(t)?new ot(t).fromEntrySeq():K(t)?new rt(t).fromEntrySeq():"object"==typeof t?new nt(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function ct(t){var e=ut(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ut(t){return W(t)?new et(t):H(t)?new ot(t):K(t)?new rt(t):void 0}function lt(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function pt(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new B((function(){var t=o[n?i-a:a];return a++>i?{value:void 0,done:!0}:U(e,r?t[0]:a-1,t[1])}))}return t.__iteratorUncached(e,n)}function ft(t,e){return e?dt(e,t,"",{"":t}):ht(t)}function dt(t,e,n,r){return Array.isArray(e)?t.call(r,n,V(e).map((function(n,r){return dt(t,n,r,e)}))):gt(e)?t.call(r,n,Z(e).map((function(n,r){return dt(t,n,r,e)}))):e}function ht(t){return Array.isArray(t)?V(t).map(ht).toList():gt(t)?Z(t).map(ht).toMap():t}function gt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function yt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function mt(t,e){if(t===e)return!0;if(!a(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||s(t)!==s(e)||c(t)!==c(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(l(t)){var r=t.entries();return e.every((function(t,e){var o=r.next().value;return o&&yt(o[1],t)&&(n||yt(o[0],e))}))&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var i=t;t=e,e=i}var p=!0,f=e.__iterate((function(e,r){if(n?!t.has(e):o?!yt(e,t.get(r,b)):!yt(t.get(r,b),e))return p=!1,!1}));return p&&t.size===f}function vt(t,e){if(!(this instanceof vt))return new vt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(X)return X;X=this}}function bt(t,e){if(!t)throw new Error(e)}function _t(t,e,n){if(!(this instanceof _t))return new _t(t,e,n);if(bt(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if($)return $;$=this}}function St(){throw TypeError("Abstract")}function wt(){}function Mt(){}function Et(){}Q.prototype[tt]=!0,e(et,V),et.prototype.get=function(t,e){return this.has(t)?this._array[j(this,t)]:e},et.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===t(n[e?r-o:o],o,this))return o+1;return o},et.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,o=0;return new B((function(){return o>r?{value:void 0,done:!0}:U(t,o,n[e?r-o++:o++])}))},e(nt,Z),nt.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},nt.prototype.has=function(t){return this._object.hasOwnProperty(t)},nt.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[e?o-i:i];if(!1===t(n[a],a,this))return i+1}return i},nt.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new B((function(){var a=r[e?o-i:i];return i++>o?{value:void 0,done:!0}:U(t,a,n[a])}))},nt.prototype[h]=!0,e(rt,V),rt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=q(this._iterable),r=0;if(H(n))for(var o;!(o=n.next()).done&&!1!==t(o.value,r++,this););return r},rt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=q(this._iterable);if(!H(n))return new B(F);var r=0;return new B((function(){var e=n.next();return e.done?e:U(t,r++,e.value)}))},e(ot,V),ot.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i<o.length;)if(!1===t(o[i],i++,this))return i;for(;!(n=r.next()).done;){var a=n.value;if(o[i]=a,!1===t(a,i++,this))break}return i},ot.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,o=0;return new B((function(){if(o>=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return U(t,o,r[o++])}))},e(vt,V),vt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},vt.prototype.get=function(t,e){return this.has(t)?this._value:e},vt.prototype.includes=function(t){return yt(this._value,t)},vt.prototype.slice=function(t,e){var n=this.size;return D(t,e,n)?this:new vt(this._value,I(e,n)-O(t,n))},vt.prototype.reverse=function(){return this},vt.prototype.indexOf=function(t){return yt(this._value,t)?0:-1},vt.prototype.lastIndexOf=function(t){return yt(this._value,t)?this.size:-1},vt.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},vt.prototype.__iterator=function(t,e){var n=this,r=0;return new B((function(){return r<n.size?U(t,r++,n._value):{value:void 0,done:!0}}))},vt.prototype.equals=function(t){return t instanceof vt?yt(this._value,t._value):mt(t)},e(_t,V),_t.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},_t.prototype.get=function(t,e){return this.has(t)?this._start+j(this,t)*this._step:e},_t.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},_t.prototype.slice=function(t,e){return D(t,e,this.size)?this:(t=O(t,this.size),(e=I(e,this.size))<=t?new _t(0,0):new _t(this.get(t,this._end),this.get(e,this._end),this._step))},_t.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},_t.prototype.lastIndexOf=function(t){return this.indexOf(t)},_t.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===t(o,i,this))return i+1;o+=e?-r:r}return i},_t.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;return new B((function(){var a=o;return o+=e?-r:r,i>n?{value:void 0,done:!0}:U(t,i++,a)}))},_t.prototype.equals=function(t){return t instanceof _t?this._start===t._start&&this._end===t._end&&this._step===t._step:mt(this,t)},e(St,n),e(wt,St),e(Mt,St),e(Et,St),St.Keyed=wt,St.Indexed=Mt,St.Set=Et;var kt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function xt(t){return t>>>1&1073741824|3221225471&t}function jt(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)n^=t/=4294967295;return xt(n)}if("string"===e)return t.length>Tt?function(t){var e=Pt[t];return void 0===e&&(e=Ct(t),Rt===zt&&(Rt=0,Pt={}),Rt++,Pt[t]=e),e}(t):Ct(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(Lt&&void 0!==(e=It.get(t)))return e;if(void 0!==(e=t[At]))return e;if(!Ot){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[At]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++Nt,1073741824&Nt&&(Nt=0),Lt)It.set(t,e);else{if(void 0!==Dt&&!1===Dt(t))throw new Error("Non-extensible objects are not allowed as keys.");if(Ot)Object.defineProperty(t,At,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[At]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[At]=e}}return e}(t);if("function"==typeof t.toString)return Ct(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function Ct(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return xt(e)}var Dt=Object.isExtensible,Ot=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();var It,Lt="function"==typeof WeakMap;Lt&&(It=new WeakMap);var Nt=0,At="__immutablehash__";"function"==typeof Symbol&&(At=Symbol(At));var Tt=16,zt=255,Rt=0,Pt={};function Bt(t){bt(t!==1/0,"Cannot perform this action with an infinite size.")}function Ut(t){return null==t?te():Ft(t)&&!l(t)?t:te().withMutations((function(e){var n=r(t);Bt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Ft(t){return!(!t||!t[Ht])}e(Ut,wt),Ut.prototype.toString=function(){return this.__toString("Map {","}")},Ut.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Ut.prototype.set=function(t,e){return ee(this,t,e)},Ut.prototype.setIn=function(t,e){return this.updateIn(t,b,(function(){return e}))},Ut.prototype.remove=function(t){return ee(this,t,b)},Ut.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return b}))},Ut.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},Ut.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=ue(this,an(t),e,n);return r===b?void 0:r},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):te()},Ut.prototype.merge=function(){return ie(this,void 0,arguments)},Ut.prototype.mergeWith=function(e){return ie(this,e,t.call(arguments,1))},Ut.prototype.mergeIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,te(),(function(t){return"function"==typeof t.merge?t.merge.apply(t,n):n[n.length-1]}))},Ut.prototype.mergeDeep=function(){return ie(this,ae,arguments)},Ut.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return ie(this,se(e),n)},Ut.prototype.mergeDeepIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,te(),(function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,n):n[n.length-1]}))},Ut.prototype.sort=function(t){return Le(Ze(this,t))},Ut.prototype.sortBy=function(t,e){return Le(Ze(this,e,t))},Ut.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Ut.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new E)},Ut.prototype.asImmutable=function(){return this.__ensureOwner()},Ut.prototype.wasAltered=function(){return this.__altered},Ut.prototype.__iterator=function(t,e){return new Gt(this,t,e)},Ut.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},Ut.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?$t(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Ut.isMap=Ft;var Kt,Ht="@@__IMMUTABLE_MAP__@@",qt=Ut.prototype;function Yt(t,e){this.ownerID=t,this.entries=e}function Wt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function Qt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function Zt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function Vt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function Gt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Xt(t._root)}function Jt(t,e){return U(t,e[0],e[1])}function Xt(t,e){return{node:t,index:0,__prev:e}}function $t(t,e,n,r){var o=Object.create(qt);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function te(){return Kt||(Kt=$t(0))}function ee(t,e,n){var r,o;if(t._root){var i=w(_),a=w(S);if(r=ne(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===b?-1:1:0)}else{if(n===b)return t;o=1,r=new Yt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?$t(o,r):te()}function ne(t,e,n,r,o,i,a,s){return t?t.update(e,n,r,o,i,a,s):i===b?t:(M(s),M(a),new Vt(e,r,[o,i]))}function re(t){return t.constructor===Vt||t.constructor===Zt}function oe(t,e,n,r,o){if(t.keyHash===r)return new Zt(e,r,[t.entry,o]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&v,s=(0===n?r:r>>>n)&v;return new Wt(e,1<<a|1<<s,a===s?[oe(t,e,n+y,r,o)]:(i=new Vt(e,r,o),a<s?[t,i]:[i,t]))}function ie(t,e,n){for(var o=[],i=0;i<n.length;i++){var s=n[i],c=r(s);a(s)||(c=c.map((function(t){return ft(t)}))),o.push(c)}return ce(t,e,o)}function ae(t,e,n){return t&&t.mergeDeep&&a(e)?t.mergeDeep(e):yt(t,e)?t:e}function se(t){return function(e,n,r){if(e&&e.mergeDeepWith&&a(n))return e.mergeDeepWith(t,n);var o=t(e,n,r);return yt(e,o)?e:o}}function ce(t,e,n){return 0===(n=n.filter((function(t){return 0!==t.size}))).length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations((function(t){for(var r=e?function(n,r){t.update(r,b,(function(t){return t===b?n:e(t,n,r)}))}:function(e,n){t.set(n,e)},o=0;o<n.length;o++)n[o].forEach(r)})):t.constructor(n[0])}function ue(t,e,n,r){var o=t===b,i=e.next();if(i.done){var a=o?n:t,s=r(a);return s===a?t:s}bt(o||t&&t.set,"invalid keyPath");var c=i.value,u=o?b:t.get(c,b),l=ue(u,e,n,r);return l===u?t:l===b?t.remove(c):(o?te():t).set(c,l)}function le(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function pe(t,e,n,r){var o=r?t:k(t);return o[e]=n,o}qt[Ht]=!0,qt[g]=qt.remove,qt.removeIn=qt.deleteIn,Yt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(yt(n,o[i][0]))return o[i][1];return r},Yt.prototype.update=function(t,e,n,r,o,i,a){for(var s=o===b,c=this.entries,u=0,l=c.length;u<l&&!yt(r,c[u][0]);u++);var p=u<l;if(p?c[u][1]===o:s)return this;if(M(a),(s||!p)&&M(i),!s||1!==c.length){if(!p&&!s&&c.length>=fe)return function(t,e,n,r){t||(t=new E);for(var o=new Vt(t,jt(n),[n,r]),i=0;i<e.length;i++){var a=e[i];o=o.update(t,0,void 0,a[0],a[1])}return o}(t,c,r,o);var f=t&&t===this.ownerID,d=f?c:k(c);return p?s?u===l-1?d.pop():d[u]=d.pop():d[u]=[r,o]:d.push([r,o]),f?(this.entries=d,this):new Yt(t,d)}},Wt.prototype.get=function(t,e,n,r){void 0===e&&(e=jt(n));var o=1<<((0===t?e:e>>>t)&v),i=this.bitmap;return 0==(i&o)?r:this.nodes[le(i&o-1)].get(t+y,e,n,r)},Wt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=jt(r));var s=(0===e?n:n>>>e)&v,c=1<<s,u=this.bitmap,l=0!=(u&c);if(!l&&o===b)return this;var p=le(u&c-1),f=this.nodes,d=l?f[p]:void 0,h=ne(d,t,e+y,n,r,o,i,a);if(h===d)return this;if(!l&&h&&f.length>=de)return function(t,e,n,r,o){for(var i=0,a=new Array(m),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[i++]:void 0;return a[r]=o,new Qt(t,i+1,a)}(t,f,u,s,h);if(l&&!h&&2===f.length&&re(f[1^p]))return f[1^p];if(l&&h&&1===f.length&&re(h))return h;var g=t&&t===this.ownerID,_=l?h?u:u^c:u|c,S=l?h?pe(f,p,h,g):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a<r;a++)a===e&&(i=1),o[a]=t[a+i];return o}(f,p,g):function(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(var i=new Array(o),a=0,s=0;s<o;s++)s===e?(i[s]=n,a=-1):i[s]=t[s+a];return i}(f,p,h,g);return g?(this.bitmap=_,this.nodes=S,this):new Wt(t,_,S)},Qt.prototype.get=function(t,e,n,r){void 0===e&&(e=jt(n));var o=(0===t?e:e>>>t)&v,i=this.nodes[o];return i?i.get(t+y,e,n,r):r},Qt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=jt(r));var s=(0===e?n:n>>>e)&v,c=o===b,u=this.nodes,l=u[s];if(c&&!l)return this;var p=ne(l,t,e+y,n,r,o,i,a);if(p===l)return this;var f=this.count;if(l){if(!p&&--f<he)return function(t,e,n,r){for(var o=0,i=0,a=new Array(n),s=0,c=1,u=e.length;s<u;s++,c<<=1){var l=e[s];void 0!==l&&s!==r&&(o|=c,a[i++]=l)}return new Wt(t,o,a)}(t,u,f,s)}else f++;var d=t&&t===this.ownerID,h=pe(u,s,p,d);return d?(this.count=f,this.nodes=h,this):new Qt(t,f,h)},Zt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(yt(n,o[i][0]))return o[i][1];return r},Zt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=jt(r));var s=o===b;if(n!==this.keyHash)return s?this:(M(a),M(i),oe(this,t,e,n,[r,o]));for(var c=this.entries,u=0,l=c.length;u<l&&!yt(r,c[u][0]);u++);var p=u<l;if(p?c[u][1]===o:s)return this;if(M(a),(s||!p)&&M(i),s&&2===l)return new Vt(t,this.keyHash,c[1^u]);var f=t&&t===this.ownerID,d=f?c:k(c);return p?s?u===l-1?d.pop():d[u]=d.pop():d[u]=[r,o]:d.push([r,o]),f?(this.entries=d,this):new Zt(t,this.keyHash,d)},Vt.prototype.get=function(t,e,n,r){return yt(n,this.entry[0])?this.entry[1]:r},Vt.prototype.update=function(t,e,n,r,o,i,a){var s=o===b,c=yt(r,this.entry[0]);return(c?o===this.entry[1]:s)?this:(M(a),s?void M(i):c?t&&t===this.ownerID?(this.entry[1]=o,this):new Vt(t,this.keyHash,[r,o]):(M(i),oe(this,t,e,jt(r),[r,o])))},Yt.prototype.iterate=Zt.prototype.iterate=function(t,e){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===t(n[e?o-r:r]))return!1},Wt.prototype.iterate=Qt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[e?o-r:r];if(i&&!1===i.iterate(t,e))return!1}},Vt.prototype.iterate=function(t,e){return t(this.entry)},e(Gt,B),Gt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,o=e.index++;if(r.entry){if(0===o)return Jt(t,r.entry)}else if(r.entries){if(o<=(n=r.entries.length-1))return Jt(t,r.entries[this._reverse?n-o:o])}else if(o<=(n=r.nodes.length-1)){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return Jt(t,i.entry);e=this._stack=Xt(i,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var fe=m/4,de=m/2,he=m/4;function ge(t){var e=ke();if(null==t)return e;if(ye(t))return t;var n=o(t),r=n.size;return 0===r?e:(Bt(r),r>0&&r<m?Ee(0,r,y,null,new be(n.toArray())):e.withMutations((function(t){t.setSize(r),n.forEach((function(e,n){return t.set(n,e)}))})))}function ye(t){return!(!t||!t[me])}e(ge,Mt),ge.of=function(){return this(arguments)},ge.prototype.toString=function(){return this.__toString("List [","]")},ge.prototype.get=function(t,e){if((t=j(this,t))>=0&&t<this.size){var n=Ce(this,t+=this._origin);return n&&n.array[t&v]}return e},ge.prototype.set=function(t,e){return function(t,e,n){if((e=j(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?De(t,e).set(0,n):De(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,o=t._root,i=w(S);return e>=Ie(t._capacity)?r=xe(r,t.__ownerID,0,e,n,i):o=xe(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):Ee(t._origin,t._capacity,t._level,o,r):t}(this,t,e)},ge.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},ge.prototype.insert=function(t,e){return this.splice(t,0,e)},ge.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=y,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):ke()},ge.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){De(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])}))},ge.prototype.pop=function(){return De(this,0,-1)},ge.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){De(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])}))},ge.prototype.shift=function(){return De(this,1)},ge.prototype.merge=function(){return Oe(this,void 0,arguments)},ge.prototype.mergeWith=function(e){return Oe(this,e,t.call(arguments,1))},ge.prototype.mergeDeep=function(){return Oe(this,ae,arguments)},ge.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return Oe(this,se(e),n)},ge.prototype.setSize=function(t){return De(this,0,t)},ge.prototype.slice=function(t,e){var n=this.size;return D(t,e,n)?this:De(this,O(t,n),I(e,n))},ge.prototype.__iterator=function(t,e){var n=0,r=Me(this,e);return new B((function(){var e=r();return e===we?{value:void 0,done:!0}:U(t,n++,e)}))},ge.prototype.__iterate=function(t,e){for(var n,r=0,o=Me(this,e);(n=o())!==we&&!1!==t(n,r++,this););return r},ge.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ee(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},ge.isList=ye;var me="@@__IMMUTABLE_LIST__@@",ve=ge.prototype;function be(t,e){this.array=t,this.ownerID=e}ve[me]=!0,ve[g]=ve.remove,ve.setIn=qt.setIn,ve.deleteIn=ve.removeIn=qt.removeIn,ve.update=qt.update,ve.updateIn=qt.updateIn,ve.mergeIn=qt.mergeIn,ve.mergeDeepIn=qt.mergeDeepIn,ve.withMutations=qt.withMutations,ve.asMutable=qt.asMutable,ve.asImmutable=qt.asImmutable,ve.wasAltered=qt.wasAltered,be.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&v;if(r>=this.array.length)return new be([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-y,n))===a&&i)return this}if(i&&!o)return this;var s=je(this,t);if(!i)for(var c=0;c<r;c++)s.array[c]=void 0;return o&&(s.array[r]=o),s},be.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,o=n-1>>>e&v;if(o>=this.array.length)return this;if(e>0){var i=this.array[o];if((r=i&&i.removeAfter(t,e-y,n))===i&&o===this.array.length-1)return this}var a=je(this,t);return a.array.splice(o+1),r&&(a.array[o]=r),a};var _e,Se,we={};function Me(t,e){var n=t._origin,r=t._capacity,o=Ie(r),i=t._tail;return a(t._root,t._level,0);function a(t,s,c){return 0===s?function(t,a){var s=a===o?i&&i.array:t&&t.array,c=a>n?0:n-a,u=r-a;return u>m&&(u=m),function(){if(c===u)return we;var t=e?--u:c++;return s&&s[t]}}(t,c):function(t,o,i){var s,c=t&&t.array,u=i>n?0:n-i>>o,l=1+(r-i>>o);return l>m&&(l=m),function(){for(;;){if(s){var t=s();if(t!==we)return t;s=null}if(u===l)return we;var n=e?--l:u++;s=a(c&&c[n],o-y,i+(n<<o))}}}(t,s,c)}}function Ee(t,e,n,r,o,i,a){var s=Object.create(ve);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function ke(){return _e||(_e=Ee(0,0,y))}function xe(t,e,n,r,o,i){var a,s=r>>>n&v,c=t&&s<t.array.length;if(!c&&void 0===o)return t;if(n>0){var u=t&&t.array[s],l=xe(u,e,n-y,r,o,i);return l===u?t:((a=je(t,e)).array[s]=l,a)}return c&&t.array[s]===o?t:(M(i),a=je(t,e),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function je(t,e){return e&&t&&e===t.ownerID?t:new be(t?t.array.slice():[],e)}function Ce(t,e){if(e>=Ie(t._capacity))return t._tail;if(e<1<<t._level+y){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&v],r-=y;return n}}function De(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new E,o=t._origin,i=t._capacity,a=o+e,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return t;if(a>=s)return t.clear();for(var c=t._level,u=t._root,l=0;a+l<0;)u=new be(u&&u.array.length?[void 0,u]:[],r),l+=1<<(c+=y);l&&(a+=l,o+=l,s+=l,i+=l);for(var p=Ie(i),f=Ie(s);f>=1<<c+y;)u=new be(u&&u.array.length?[u]:[],r),c+=y;var d=t._tail,h=f<p?Ce(t,s-1):f>p?new be([],r):d;if(d&&f>p&&a<i&&d.array.length){for(var g=u=je(u,r),m=c;m>y;m-=y){var b=p>>>m&v;g=g.array[b]=je(g.array[b],r)}g.array[p>>>y&v]=d}if(s<i&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,c=y,u=null,h=h&&h.removeBefore(r,0,a);else if(a>o||f<p){for(l=0;u;){var _=a>>>c&v;if(_!==f>>>c&v)break;_&&(l+=(1<<c)*_),c-=y,u=u.array[_]}u&&a>o&&(u=u.removeBefore(r,c,a-l)),u&&f<p&&(u=u.removeAfter(r,c,f-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=c,t._root=u,t._tail=h,t.__hash=void 0,t.__altered=!0,t):Ee(a,s,c,u,h)}function Oe(t,e,n){for(var r=[],i=0,s=0;s<n.length;s++){var c=n[s],u=o(c);u.size>i&&(i=u.size),a(c)||(u=u.map((function(t){return ft(t)}))),r.push(u)}return i>t.size&&(t=t.setSize(i)),ce(t,e,r)}function Ie(t){return t<m?0:t-1>>>y<<y}function Le(t){return null==t?Te():Ne(t)?t:Te().withMutations((function(e){var n=r(t);Bt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Ne(t){return Ft(t)&&l(t)}function Ae(t,e,n,r){var o=Object.create(Le.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function Te(){return Se||(Se=Ae(te(),ke()))}function ze(t,e,n){var r,o,i=t._map,a=t._list,s=i.get(e),c=void 0!==s;if(n===b){if(!c)return t;a.size>=m&&a.size>=2*i.size?(r=(o=a.filter((function(t,e){return void 0!==t&&s!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(r.__ownerID=o.__ownerID=t.__ownerID)):(r=i.remove(e),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(c){if(n===a.get(s)[1])return t;r=i,o=a.set(s,[e,n])}else r=i.set(e,a.size),o=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=o,t.__hash=void 0,t):Ae(r,o)}function Re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Pe(t){this._iter=t,this.size=t.size}function Be(t){this._iter=t,this.size=t.size}function Ue(t){this._iter=t,this.size=t.size}function Fe(t){var e=nn(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=rn,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(e===T){var r=t.__iterator(e,n);return new B((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(e===A?N:A,n)},e}function Ke(t,e,n){var r=nn(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,b);return i===b?o:e.call(n,i,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate((function(t,o,a){return!1!==r(e.call(n,t,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(T,o);return new B((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return U(r,s,e.call(n,a[1],s,t),o)}))},r}function He(t,e){var n=nn(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=Fe(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=rn,n.__iterate=function(e,n){var r=this;return t.__iterate((function(t,n){return e(t,n,r)}),!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function qe(t,e,n,r){var o=nn(t);return r&&(o.has=function(r){var o=t.get(r,b);return o!==b&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,b);return i!==b&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate((function(t,i,c){if(e.call(n,t,i,c))return s++,o(t,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(T,i),s=0;return new B((function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,u=c[0],l=c[1];if(e.call(n,l,u,t))return U(o,r?u:s++,l,i)}}))},o}function Ye(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),D(e,n,o))return t;var i=O(e,o),a=I(n,o);if(i!=i||a!=a)return Ye(t.toSeq().cacheResult(),e,n,r);var s,c=a-i;c==c&&(s=c<0?0:c);var u=nn(t);return u.size=0===s?s:t.size&&s||void 0,!r&&it(t)&&s>=0&&(u.get=function(e,n){return(e=j(this,e))>=0&&e<s?t.get(e+i,n):n}),u.__iterateUncached=function(e,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,c=!0,u=0;return t.__iterate((function(t,n){if(!c||!(c=a++<i))return u++,!1!==e(t,r?n:u-1,o)&&u!==s})),u},u.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);var o=0!==s&&t.__iterator(e,n),a=0,c=0;return new B((function(){for(;a++<i;)o.next();if(++c>s)return{value:void 0,done:!0};var t=o.next();return r||e===A?t:U(e,c-1,e===N?void 0:t.value[1],t)}))},u}function We(t,e,n,r){var o=nn(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return t.__iterate((function(t,i,u){if(!s||!(s=e.call(n,t,i,u)))return c++,o(t,r?i:c-1,a)})),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(T,i),c=!0,u=0;return new B((function(){var t,i,l;do{if((t=s.next()).done)return r||o===A?t:U(o,u++,o===N?void 0:t.value[1],t);var p=t.value;i=p[0],l=p[1],c&&(c=e.call(n,l,i,a))}while(c);return o===T?t:U(o,i,l,t)}))},o}function Qe(t,e,n){var r=nn(t);return r.__iterateUncached=function(r,o){var i=0,s=!1;return function t(c,u){var l=this;c.__iterate((function(o,c){return(!e||u<e)&&a(o)?t(o,u+1):!1===r(o,n?c:i++,l)&&(s=!0),!s}),o)}(t,0),i},r.__iteratorUncached=function(r,o){var i=t.__iterator(r,o),s=[],c=0;return new B((function(){for(;i;){var t=i.next();if(!1===t.done){var u=t.value;if(r===T&&(u=u[1]),e&&!(s.length<e)||!a(u))return n?t:U(r,c++,u,t);s.push(i),i=u.__iterator(r,o)}else i=s.pop()}return{value:void 0,done:!0}}))},r}function Ze(t,e,n){e||(e=on);var r=s(t),o=0,i=t.toSeq().map((function(e,r){return[r,e,o++,n?n(e,r,t):e]})).toArray();return i.sort((function(t,n){return e(t[3],n[3])||t[2]-n[2]})).forEach(r?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),r?Z(i):c(t)?V(i):G(i)}function Ve(t,e,n){if(e||(e=on),n){var r=t.toSeq().map((function(e,r){return[e,n(e,r,t)]})).reduce((function(t,n){return Ge(e,t[1],n[1])?n:t}));return r&&r[0]}return t.reduce((function(t,n){return Ge(e,t,n)?n:t}))}function Ge(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Je(t,e,r){var o=nn(t);return o.size=new et(r).map((function(t){return t.size})).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(A,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=r.map((function(t){return t=n(t),q(o?t.reverse():t)})),a=0,s=!1;return new B((function(){var n;return s||(n=i.map((function(t){return t.next()})),s=n.some((function(t){return t.done}))),s?{value:void 0,done:!0}:U(t,a++,e.apply(null,n.map((function(t){return t.value}))))}))},o}function Xe(t,e){return it(t)?e:t.constructor(e)}function $e(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function tn(t){return Bt(t.size),x(t)}function en(t){return s(t)?r:c(t)?o:i}function nn(t){return Object.create((s(t)?Z:c(t)?V:G).prototype)}function rn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Q.prototype.cacheResult.call(this)}function on(t,e){return t>e?1:t<e?-1:0}function an(t){var e=q(t);if(!e){if(!W(t))throw new TypeError("Expected iterable or array-like: "+t);e=q(n(t))}return e}function sn(t,e){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(t);(function(t,e){try{e.forEach(pn.bind(void 0,t))}catch(t){}})(o,a),o.size=a.length,o._name=e,o._keys=a,o._defaultValues=t}this._map=Ut(i)},o=r.prototype=Object.create(cn);return o.constructor=r,r}e(Le,Ut),Le.of=function(){return this(arguments)},Le.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Le.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Le.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Te()},Le.prototype.set=function(t,e){return ze(this,t,e)},Le.prototype.remove=function(t){return ze(this,t,b)},Le.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Le.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},Le.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Le.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?Ae(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Le.isOrderedMap=Ne,Le.prototype[h]=!0,Le.prototype[g]=Le.prototype.remove,e(Re,Z),Re.prototype.get=function(t,e){return this._iter.get(t,e)},Re.prototype.has=function(t){return this._iter.has(t)},Re.prototype.valueSeq=function(){return this._iter.valueSeq()},Re.prototype.reverse=function(){var t=this,e=He(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Re.prototype.map=function(t,e){var n=this,r=Ke(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},Re.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?tn(this):0,function(o){return t(o,e?--n:n++,r)}),e)},Re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(A,e),r=e?tn(this):0;return new B((function(){var o=n.next();return o.done?o:U(t,e?--r:r++,o.value,o)}))},Re.prototype[h]=!0,e(Pe,V),Pe.prototype.includes=function(t){return this._iter.includes(t)},Pe.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate((function(e){return t(e,r++,n)}),e)},Pe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(A,e),r=0;return new B((function(){var e=n.next();return e.done?e:U(t,r++,e.value,e)}))},e(Be,G),Be.prototype.has=function(t){return this._iter.includes(t)},Be.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){return t(e,e,n)}),e)},Be.prototype.__iterator=function(t,e){var n=this._iter.__iterator(A,e);return new B((function(){var e=n.next();return e.done?e:U(t,e.value,e.value,e)}))},e(Ue,Z),Ue.prototype.entrySeq=function(){return this._iter.toSeq()},Ue.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){if(e){$e(e);var r=a(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}}),e)},Ue.prototype.__iterator=function(t,e){var n=this._iter.__iterator(A,e);return new B((function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){$e(r);var o=a(r);return U(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}}))},Pe.prototype.cacheResult=Re.prototype.cacheResult=Be.prototype.cacheResult=Ue.prototype.cacheResult=rn,e(sn,wt),sn.prototype.toString=function(){return this.__toString(ln(this)+" {","}")},sn.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},sn.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},sn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=un(this,te()))},sn.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+ln(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:un(this,n)},sn.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:un(this,e)},sn.prototype.wasAltered=function(){return this._map.wasAltered()},sn.prototype.__iterator=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterator(t,e)},sn.prototype.__iterate=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterate(t,e)},sn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?un(this,e,t):(this.__ownerID=t,this._map=e,this)};var cn=sn.prototype;function un(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function ln(t){return t._name||t.constructor.name||"Record"}function pn(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){bt(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function fn(t){return null==t?bn():dn(t)&&!l(t)?t:bn().withMutations((function(e){var n=i(t);Bt(n.size),n.forEach((function(t){return e.add(t)}))}))}function dn(t){return!(!t||!t[gn])}cn[g]=cn.remove,cn.deleteIn=cn.removeIn=qt.removeIn,cn.merge=qt.merge,cn.mergeWith=qt.mergeWith,cn.mergeIn=qt.mergeIn,cn.mergeDeep=qt.mergeDeep,cn.mergeDeepWith=qt.mergeDeepWith,cn.mergeDeepIn=qt.mergeDeepIn,cn.setIn=qt.setIn,cn.update=qt.update,cn.updateIn=qt.updateIn,cn.withMutations=qt.withMutations,cn.asMutable=qt.asMutable,cn.asImmutable=qt.asImmutable,e(fn,Et),fn.of=function(){return this(arguments)},fn.fromKeys=function(t){return this(r(t).keySeq())},fn.prototype.toString=function(){return this.__toString("Set {","}")},fn.prototype.has=function(t){return this._map.has(t)},fn.prototype.add=function(t){return mn(this,this._map.set(t,!0))},fn.prototype.remove=function(t){return mn(this,this._map.remove(t))},fn.prototype.clear=function(){return mn(this,this._map.clear())},fn.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(t){for(var n=0;n<e.length;n++)i(e[n]).forEach((function(e){return t.add(e)}))})):this.constructor(e[0])},fn.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return i(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.every((function(t){return t.includes(n)}))||t.remove(n)}))}))},fn.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return i(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.some((function(t){return t.includes(n)}))&&t.remove(n)}))}))},fn.prototype.merge=function(){return this.union.apply(this,arguments)},fn.prototype.mergeWith=function(e){var n=t.call(arguments,1);return this.union.apply(this,n)},fn.prototype.sort=function(t){return _n(Ze(this,t))},fn.prototype.sortBy=function(t,e){return _n(Ze(this,e,t))},fn.prototype.wasAltered=function(){return this._map.wasAltered()},fn.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate((function(e,r){return t(r,r,n)}),e)},fn.prototype.__iterator=function(t,e){return this._map.map((function(t,e){return e})).__iterator(t,e)},fn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},fn.isSet=dn;var hn,gn="@@__IMMUTABLE_SET__@@",yn=fn.prototype;function mn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function vn(t,e){var n=Object.create(yn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function bn(){return hn||(hn=vn(te()))}function _n(t){return null==t?kn():Sn(t)?t:kn().withMutations((function(e){var n=i(t);Bt(n.size),n.forEach((function(t){return e.add(t)}))}))}function Sn(t){return dn(t)&&l(t)}yn[gn]=!0,yn[g]=yn.remove,yn.mergeDeep=yn.merge,yn.mergeDeepWith=yn.mergeWith,yn.withMutations=qt.withMutations,yn.asMutable=qt.asMutable,yn.asImmutable=qt.asImmutable,yn.__empty=bn,yn.__make=vn,e(_n,fn),_n.of=function(){return this(arguments)},_n.fromKeys=function(t){return this(r(t).keySeq())},_n.prototype.toString=function(){return this.__toString("OrderedSet {","}")},_n.isOrderedSet=Sn;var wn,Mn=_n.prototype;function En(t,e){var n=Object.create(Mn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function kn(){return wn||(wn=En(Te()))}function xn(t){return null==t?Ln():jn(t)?t:Ln().unshiftAll(t)}function jn(t){return!(!t||!t[Dn])}Mn[h]=!0,Mn.__empty=kn,Mn.__make=En,e(xn,Mt),xn.of=function(){return this(arguments)},xn.prototype.toString=function(){return this.__toString("Stack [","]")},xn.prototype.get=function(t,e){var n=this._head;for(t=j(this,t);n&&t--;)n=n.next;return n?n.value:e},xn.prototype.peek=function(){return this._head&&this._head.value},xn.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):In(t,e)},xn.prototype.pushAll=function(t){if(0===(t=o(t)).size)return this;Bt(t.size);var e=this.size,n=this._head;return t.reverse().forEach((function(t){e++,n={value:t,next:n}})),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):In(e,n)},xn.prototype.pop=function(){return this.slice(1)},xn.prototype.unshift=function(){return this.push.apply(this,arguments)},xn.prototype.unshiftAll=function(t){return this.pushAll(t)},xn.prototype.shift=function(){return this.pop.apply(this,arguments)},xn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Ln()},xn.prototype.slice=function(t,e){if(D(t,e,this.size))return this;var n=O(t,this.size);if(I(e,this.size)!==this.size)return Mt.prototype.slice.call(this,t,e);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):In(r,o)},xn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?In(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},xn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},xn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new B((function(){if(r){var e=r.value;return r=r.next,U(t,n++,e)}return{value:void 0,done:!0}}))},xn.isStack=jn;var Cn,Dn="@@__IMMUTABLE_STACK__@@",On=xn.prototype;function In(t,e,n,r){var o=Object.create(On);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Ln(){return Cn||(Cn=In(0))}function Nn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}On[Dn]=!0,On.withMutations=qt.withMutations,On.asMutable=qt.asMutable,On.asImmutable=qt.asImmutable,On.wasAltered=qt.wasAltered,n.Iterator=B,Nn(n,{toArray:function(){Bt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,n){t[n]=e})),t},toIndexedSeq:function(){return new Pe(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Re(this,!0)},toMap:function(){return Ut(this.toKeyedSeq())},toObject:function(){Bt(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t},toOrderedMap:function(){return Le(this.toKeyedSeq())},toOrderedSet:function(){return _n(s(this)?this.valueSeq():this)},toSet:function(){return fn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Be(this)},toSeq:function(){return c(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return xn(s(this)?this.valueSeq():this)},toList:function(){return ge(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Xe(this,function(t,e){var n=s(t),o=[t].concat(e).map((function(t){return a(t)?n&&(t=r(t)):t=n?st(t):ct(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===o.length)return t;if(1===o.length){var i=o[0];if(i===t||n&&s(i)||c(t)&&c(i))return i}var u=new et(o);return n?u=u.toKeyedSeq():c(t)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=o.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),u}(this,t.call(arguments,0)))},includes:function(t){return this.some((function(e){return yt(e,t)}))},entries:function(){return this.__iterator(T)},every:function(t,e){Bt(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1})),n},filter:function(t,e){return Xe(this,qe(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},findEntry:function(t,e){var n;return this.__iterate((function(r,o,i){if(t.call(e,r,o,i))return n=[o,r],!1})),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return Bt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Bt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(N)},map:function(t,e){return Xe(this,Ke(this,t,e))},reduce:function(t,e,n){var r,o;return Bt(this.size),arguments.length<2?o=!0:r=e,this.__iterate((function(e,i,a){o?(o=!1,r=e):r=t.call(n,r,e,i,a)})),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Xe(this,He(this,!0))},slice:function(t,e){return Xe(this,Ye(this,t,e,!0))},some:function(t,e){return!this.every(Pn(t),e)},sort:function(t){return Xe(this,Ze(this,t))},values:function(){return this.__iterator(A)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return x(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=Ut().asMutable();return t.__iterate((function(o,i){r.update(e.call(n,o,i,t),0,(function(t){return t+1}))})),r.asImmutable()}(this,t,e)},equals:function(t){return mt(this,t)},entrySeq:function(){var t=this;if(t._cache)return new et(t._cache);var e=t.toSeq().map(Rn).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Pn(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(C)},flatMap:function(t,e){return Xe(this,function(t,e,n){var r=en(t);return t.toSeq().map((function(o,i){return r(e.call(n,o,i,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Xe(this,Qe(this,t,!0))},fromEntrySeq:function(){return new Ue(this)},get:function(t,e){return this.find((function(e,n){return yt(n,t)}),void 0,e)},getIn:function(t,e){for(var n,r=this,o=an(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,b):b)===b)return e}return r},groupBy:function(t,e){return function(t,e,n){var r=s(t),o=(l(t)?Le():Ut()).asMutable();t.__iterate((function(i,a){o.update(e.call(n,i,a,t),(function(t){return(t=t||[]).push(r?[a,i]:i),t}))}));var i=en(t);return o.map((function(e){return Xe(t,i(e))}))}(this,t,e)},has:function(t){return this.get(t,b)!==b},hasIn:function(t){return this.getIn(t,b)!==b},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(zn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return Ve(this,t)},maxBy:function(t,e){return Ve(this,e,t)},min:function(t){return Ve(this,t?Bn(t):Kn)},minBy:function(t,e){return Ve(this,e?Bn(e):Kn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Xe(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Xe(this,We(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Pn(t),e)},sortBy:function(t,e){return Xe(this,Ze(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Xe(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Xe(this,function(t,e,n){var r=nn(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate((function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(T,o),s=!0;return new B((function(){if(!s)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var o=t.value,c=o[0],u=o[1];return e.call(n,u,c,i)?r===T?t:U(r,c,u,t):(s=!1,{value:void 0,done:!0})}))},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Pn(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=l(t),n=s(t),r=e?1:0;return function(t,e){return e=kt(e,3432918353),e=kt(e<<15|e>>>-15,461845907),e=kt(e<<13|e>>>-13,5),e=kt((e=(e+3864292196|0)^t)^e>>>16,2246822507),xt((e=kt(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+Hn(jt(t),jt(e))|0}:function(t,e){r=r+Hn(jt(t),jt(e))|0}:e?function(t){r=31*r+jt(t)|0}:function(t){r=r+jt(t)|0}),r)}(this))}});var An=n.prototype;An[p]=!0,An[P]=An.values,An.__toJS=An.toArray,An.__toStringMapper=Un,An.inspect=An.toSource=function(){return this.toString()},An.chain=An.flatMap,An.contains=An.includes,function(){try{Object.defineProperty(An,"length",{get:function(){if(!n.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),Nn(r,{flip:function(){return Xe(this,Fe(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey((function(e){return yt(e,t)}))},lastKeyOf:function(t){return this.findLastKey((function(e){return yt(e,t)}))},mapEntries:function(t,e){var n=this,r=0;return Xe(this,this.toSeq().map((function(o,i){return t.call(e,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Xe(this,this.toSeq().flip().map((function(r,o){return t.call(e,r,o,n)})).flip())}});var Tn=r.prototype;function zn(t,e){return e}function Rn(t,e){return[e,t]}function Pn(t){return function(){return!t.apply(this,arguments)}}function Bn(t){return function(){return-t.apply(this,arguments)}}function Un(t){return"string"==typeof t?JSON.stringify(t):t}function Fn(){return k(arguments)}function Kn(t,e){return t<e?1:t>e?-1:0}function Hn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return Tn[f]=!0,Tn[P]=An.entries,Tn.__toJS=An.toObject,Tn.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+Un(t)},Nn(o,{toKeyedSeq:function(){return new Re(this,!1)},filter:function(t,e){return Xe(this,qe(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Xe(this,He(this,!1))},slice:function(t,e){return Xe(this,Ye(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=O(t,t<0?this.count():this.size);var r=this.slice(0,t);return Xe(this,1===n?r:r.concat(k(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return Xe(this,Qe(this,t,!1))},get:function(t,e){return(t=j(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=j(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Xe(this,function(t,e){var n=nn(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return t.__iterate((function(t,r){return(!i||!1!==n(e,i++,o))&&!1!==n(t,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=t.__iterator(A,r),a=0;return new B((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?U(n,a++,e):U(n,a++,o.value,o)}))},n}(this,t))},interleave:function(){var t=[this].concat(k(arguments)),e=Je(this.toSeq(),V.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Xe(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Xe(this,We(this,t,e,!1))},zip:function(){return Xe(this,Je(this,Fn,[this].concat(k(arguments))))},zipWith:function(t){var e=k(arguments);return e[0]=this,Xe(this,Je(this,t,e))}}),o.prototype[d]=!0,o.prototype[h]=!0,Nn(i,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=An.includes,Nn(Z,r.prototype),Nn(V,o.prototype),Nn(G,i.prototype),Nn(wt,r.prototype),Nn(Mt,o.prototype),Nn(Et,i.prototype),{Iterable:n,Seq:Q,Collection:St,Map:Ut,OrderedMap:Le,List:ge,Stack:xn,Set:fn,OrderedSet:_n,Record:sn,Range:_t,Repeat:vt,is:yt,fromJS:ft}}()},82568:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(38046),a=n(28),s=n(39806),c=n(47724),u=n(84055),l=n(46238),p=n(84894),f=n(27936),d=n(18489),h=n(58710),g=f("draft_tree_data_support"),y=g?c:s,m=d.List,v=d.Repeat,b={insertAtomicBlock:function(t,e,n){var o=t.getCurrentContent(),s=t.getSelection(),c=u.removeRange(o,s,"backward"),f=c.getSelectionAfter(),d=u.splitBlock(c,f),h=d.getSelectionAfter(),b=u.setBlockType(d,h,"atomic"),_=a.create({entity:e}),S={key:p(),type:"atomic",text:n,characterList:m(v(_,n.length))},w={key:p(),type:"unstyled"};g&&(S=r({},S,{nextSibling:w.key}),w=r({},w,{prevSibling:S.key}));var M=[new y(S),new y(w)],E=i.createFromArray(M),k=u.replaceWithFragment(b,h,E),x=k.merge({selectionBefore:s,selectionAfter:k.getSelectionAfter().set("hasFocus",!0)});return l.push(t,x,"insert-fragment")},moveAtomicBlock:function(t,e,n,r){var o,i=t.getCurrentContent(),a=t.getSelection();if("before"===r||"after"===r){var s=i.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());o=h(i,e,s,r)}else{var c=u.removeRange(i,n,"backward"),p=c.getSelectionAfter(),f=c.getBlockForKey(p.getFocusKey());if(0===p.getStartOffset())o=h(c,e,f,"before");else if(p.getEndOffset()===f.getLength())o=h(c,e,f,"after");else{var d=u.splitBlock(c,p),g=d.getSelectionAfter(),y=d.getBlockForKey(g.getFocusKey());o=h(d,e,y,"before")}}var m=o.merge({selectionBefore:a,selectionAfter:o.getSelectionAfter().set("hasFocus",!0)});return l.push(t,m,"move-block")}};t.exports=b},38046:(t,e,n)=>{"use strict";var r=n(18489).OrderedMap,o={createFromArray:function(t){return r(t.map((function(t){return[t.getKey(),t]})))}};t.exports=o},39893:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(90754),i=n(14723),a=n(18489),s=a.List,c=a.Repeat,u=a.Record,l=function(){return!0},p=u({start:null,end:null}),f=u({start:null,end:null,decoratorKey:null,leaves:null}),d={generate:function(t,e,n){var r=e.getLength();if(!r)return s.of(new f({start:0,end:0,decoratorKey:null,leaves:s.of(new p({start:0,end:0}))}));var i=[],a=n?n.getDecorations(e,t):s(c(null,r)),u=e.getCharacterList();return o(a,h,l,(function(t,e){var n,r,c,d;i.push(new f({start:t,end:e,decoratorKey:a.get(t),leaves:(n=u.slice(t,e).toList(),r=t,c=[],d=n.map((function(t){return t.getStyle()})).toList(),o(d,h,l,(function(t,e){c.push(new p({start:t+r,end:e+r}))})),s(c))}))})),s(i)},fromJS:function(t){var e=t.leaves,n=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,["leaves"]);return new f(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){r(t,e,n[e])}))}return t}({},n,{leaves:null!=e?s(Array.isArray(e)?e:i(e)).map((function(t){return p(t)})):null}))}};function h(t,e){return t===e}t.exports=d},28:(t,e,n)=>{"use strict";var r=n(18489),o=r.Map,i=r.OrderedSet,a=r.Record,s=i(),c={style:s,entity:null},u=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=r.prototype;return a.getStyle=function(){return this.get("style")},a.getEntity=function(){return this.get("entity")},a.hasStyle=function(t){return this.getStyle().includes(t)},r.applyStyle=function(t,e){var n=t.set("style",t.getStyle().add(e));return r.create(n)},r.removeStyle=function(t,e){var n=t.set("style",t.getStyle().remove(e));return r.create(n)},r.applyEntity=function(t,e){var n=t.getEntity()===e?t:t.set("entity",e);return r.create(n)},r.create=function(t){if(!t)return l;var e=o({style:s,entity:null}).merge(t),n=p.get(e);if(n)return n;var i=new r(e);return p=p.set(e,i),i},r.fromJS=function(t){var e=t.style,n=t.entity;return new r({style:Array.isArray(e)?i(e):e,entity:Array.isArray(n)?i(n):n})},r}(a(c)),l=new u,p=o([[o(c),l]]);u.EMPTY=l,t.exports=u},68542:(t,e,n)=>{"use strict";var r=n(18489).List,o=function(){function t(t){var e,n;n=void 0,(e="_decorators")in this?Object.defineProperty(this,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):this[e]=n,this._decorators=t.slice()}var e=t.prototype;return e.getDecorations=function(t,e){var n=Array(t.getText().length).fill(null);return this._decorators.forEach((function(r,o){var i=0;(0,r.strategy)(t,(function(t,e){(function(t,e,n){for(var r=e;r<n;r++)if(null!=t[r])return!1;return!0})(n,t,e)&&(function(t,e,n,r){for(var o=e;o<n;o++)t[o]=r}(n,t,e,o+"."+i),i++)}),e)})),r(n)},e.getComponentForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].component},e.getPropsForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].props},t}();t.exports=o},39806:(t,e,n)=>{"use strict";var r=n(28),o=n(90754),i=n(18489),a=i.List,s=i.Map,c=i.OrderedSet,u=i.Record,l=i.Repeat,p=c(),f=function(t){var e,n;function i(e){return t.call(this,function(t){if(!t)return t;var e=t.characterList,n=t.text;return n&&!e&&(t.characterList=a(l(r.EMPTY,n.length))),t}(e))||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=i.prototype;return s.getKey=function(){return this.get("key")},s.getType=function(){return this.get("type")},s.getText=function(){return this.get("text")},s.getCharacterList=function(){return this.get("characterList")},s.getLength=function(){return this.getText().length},s.getDepth=function(){return this.get("depth")},s.getData=function(){return this.get("data")},s.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():p},s.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},s.findStyleRanges=function(t,e){o(this.getCharacterList(),d,t,e)},s.findEntityRanges=function(t,e){o(this.getCharacterList(),h,t,e)},i}(u({key:"",type:"unstyled",text:"",characterList:a(),depth:0,data:s()}));function d(t,e){return t.getStyle()===e.getStyle()}function h(t,e){return t.getEntity()===e.getEntity()}t.exports=f},47724:(t,e,n)=>{"use strict";var r=n(28),o=n(90754),i=n(18489),a=i.List,s=i.Map,c=i.OrderedSet,u=i.Record,l=i.Repeat,p=c(),f={parent:null,characterList:a(),data:s(),depth:0,key:"",text:"",type:"unstyled",children:a(),prevSibling:null,nextSibling:null},d=function(t,e){return t.getStyle()===e.getStyle()},h=function(t,e){return t.getEntity()===e.getEntity()},g=function(t){var e,n;function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;return t.call(this,function(t){if(!t)return t;var e=t.characterList,n=t.text;return n&&!e&&(t.characterList=a(l(r.EMPTY,n.length))),t}(e))||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=i.prototype;return s.getKey=function(){return this.get("key")},s.getType=function(){return this.get("type")},s.getText=function(){return this.get("text")},s.getCharacterList=function(){return this.get("characterList")},s.getLength=function(){return this.getText().length},s.getDepth=function(){return this.get("depth")},s.getData=function(){return this.get("data")},s.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():p},s.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},s.getChildKeys=function(){return this.get("children")},s.getParentKey=function(){return this.get("parent")},s.getPrevSiblingKey=function(){return this.get("prevSibling")},s.getNextSiblingKey=function(){return this.get("nextSibling")},s.findStyleRanges=function(t,e){o(this.getCharacterList(),d,t,e)},s.findEntityRanges=function(t,e){o(this.getCharacterList(),h,t,e)},i}(u(f));t.exports=g},10789:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(38046),a=n(28),s=n(39806),c=n(47724),u=n(3031),l=n(69806),p=n(84894),f=n(14723),d=n(27936),h=n(18489),g=n(24844),y=h.List,m=h.Record,v=h.Repeat,b=h.Map,_=h.OrderedMap,S=m({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),w=d("draft_tree_data_support")?c:s,M=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=o.prototype;return s.getEntityMap=function(){return u},s.getBlockMap=function(){return this.get("blockMap")},s.getSelectionBefore=function(){return this.get("selectionBefore")},s.getSelectionAfter=function(){return this.get("selectionAfter")},s.getBlockForKey=function(t){return this.getBlockMap().get(t)},s.getKeyBefore=function(t){return this.getBlockMap().reverse().keySeq().skipUntil((function(e){return e===t})).skip(1).first()},s.getKeyAfter=function(t){return this.getBlockMap().keySeq().skipUntil((function(e){return e===t})).skip(1).first()},s.getBlockAfter=function(t){return this.getBlockMap().skipUntil((function(e,n){return n===t})).skip(1).first()},s.getBlockBefore=function(t){return this.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).first()},s.getBlocksAsArray=function(){return this.getBlockMap().toArray()},s.getFirstBlock=function(){return this.getBlockMap().first()},s.getLastBlock=function(){return this.getBlockMap().last()},s.getPlainText=function(t){return this.getBlockMap().map((function(t){return t?t.getText():""})).join(t||"\n")},s.getLastCreatedEntityKey=function(){return u.__getLastCreatedEntityKey()},s.hasText=function(){var t=this.getBlockMap();return t.size>1||escape(t.first().getText()).replace(/%u200B/g,"").length>0},s.createEntity=function(t,e,n){return u.__create(t,e,n),this},s.mergeEntityData=function(t,e){return u.__mergeData(t,e),this},s.replaceEntityData=function(t,e){return u.__replaceData(t,e),this},s.addEntity=function(t){return u.__add(t),this},s.getEntity=function(t){return u.__get(t)},s.getAllEntities=function(){return u.__getAll()},s.loadWithEntities=function(t){return u.__loadWithEntities(t)},o.createFromBlockArray=function(t,e){var n=Array.isArray(t)?t:t.contentBlocks,r=i.createFromArray(n),a=r.isEmpty()?new l:l.createEmpty(r.first().getKey());return new o({blockMap:r,entityMap:e||u,selectionBefore:a,selectionAfter:a})},o.createFromText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=t.split(e).map((function(t){return t=g(t),new w({key:p(),text:t,type:"unstyled",characterList:y(v(a.EMPTY,t.length))})}));return o.createFromBlockArray(n)},o.fromJS=function(t){return new o(r({},t,{blockMap:_(t.blockMap).map(o.createContentBlockFromJS),selectionBefore:new l(t.selectionBefore),selectionAfter:new l(t.selectionAfter)}))},o.createContentBlockFromJS=function(t){var e=t.characterList;return new w(r({},t,{data:b(t.data),characterList:null!=e?y((Array.isArray(e)?e:f(e)).map((function(t){return a.fromJS(t)}))):void 0}))},o}(S);t.exports=M},76520:(t,e,n)=>{"use strict";var r=n(28),o=n(18489).Map,i={add:function(t,e,n){return a(t,e,n,!0)},remove:function(t,e,n){return a(t,e,n,!1)}};function a(t,e,n,i){var a=t.getBlockMap(),s=e.getStartKey(),c=e.getStartOffset(),u=e.getEndKey(),l=e.getEndOffset(),p=a.skipUntil((function(t,e){return e===s})).takeUntil((function(t,e){return e===u})).concat(o([[u,a.get(u)]])).map((function(t,e){var o,a;s===u?(o=c,a=l):(o=e===s?c:0,a=e===u?l:t.getLength());for(var p,f=t.getCharacterList();o<a;)p=f.get(o),f=f.set(o,i?r.applyStyle(p,n):r.removeStyle(p,n)),o++;return t.set("characterList",f)}));return t.merge({blockMap:a.merge(p),selectionBefore:e,selectionAfter:e})}t.exports=i},74241:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(91355),i=n(59321),a=n(52868),s=n(18489),c=n(73012),u=n(98392),l=s.Map,p={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},f=o.isBrowser("IE <= 11"),d=function(){function t(t){var e=this;r(this,"observer",void 0),r(this,"container",void 0),r(this,"mutations",void 0),r(this,"onCharData",void 0),this.container=t,this.mutations=l();var n=a(t);n.MutationObserver&&!f?this.observer=new n.MutationObserver((function(t){return e.registerMutations(t)})):this.onCharData=function(t){t.target instanceof Node||c(!1),e.registerMutation({type:"characterData",target:t.target})}}var e=t.prototype;return e.start=function(){this.observer?this.observer.observe(this.container,p):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},e.stopAndFlushMutations=function(){var t=this.observer;t?(this.registerMutations(t.takeRecords()),t.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var e=this.mutations;return this.mutations=l(),e},e.registerMutations=function(t){for(var e=0;e<t.length;e++)this.registerMutation(t[e])},e.getMutationTextContent=function(t){var e=t.type,n=t.target,r=t.removedNodes;if("characterData"===e){if(""!==n.textContent)return f?n.textContent.replace("\n",""):n.textContent}else if("childList"===e){if(r&&r.length)return"";if(""!==n.textContent)return n.textContent}return null},e.registerMutation=function(t){var e=this.getMutationTextContent(t);if(null!=e){var n=u(i(t.target));this.mutations=this.mutations.set(n,e)}},t}();t.exports=d},74682:(t,e,n)=>{"use strict";var r=n(1024),o=n(2775),i=(0,n(18489).Map)({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:r.createElement("ul",{className:o("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:r.createElement("ol",{className:o("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:r.createElement("pre",{className:o("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});t.exports=i},45608:t=>{"use strict";t.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},6880:(t,e,n)=>{"use strict";var r=n(82568),o=n(38046),i=n(28),a=n(68542),s=n(39806),c=n(10789),u=n(74682),l=n(45608),p=n(75949),f=n(84030),d=n(3031),h=n(84055),g=n(91825),y=n(46238),m=n(76944),v=n(28484),b=n(93626),_=n(69806),S=n(40313),w=n(80618),M=n(84894),E=n(91741),k=n(602),x={Editor:p,EditorBlock:f,EditorState:y,CompositeDecorator:a,Entity:d,EntityInstance:g,BlockMapBuilder:o,CharacterMetadata:i,ContentBlock:s,ContentState:c,RawDraftContentState:v,SelectionState:_,AtomicBlockUtils:r,KeyBindingUtil:m,Modifier:h,RichUtils:b,DefaultDraftBlockRenderMap:u,DefaultDraftInlineStyle:l,convertFromHTML:n(97614),convertFromRaw:w,convertToRaw:S,genKey:M,getDefaultKeyBinding:E,getVisibleSelectionRect:k};t.exports=x},75949:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){s(t,e,n[e])}))}return t}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var u=n(74682),l=n(45608),p=n(3431),f=n(10989),d=n(83567),h=n(49199),g=n(823),y=n(20398),m=n(62599),v=n(46238),b=n(1024),_=n(31675),S=n(99986),w=n(91355),M=n(2775),E=n(84894),k=n(91741),x=n(51702),j=n(27936),C=n(73012),D=n(8187),O=n(98392),I=w.isBrowser("IE"),L=!I,N={edit:h,composite:p,drag:d,cut:null,render:null},A=!1,T=function(t){function e(){return t.apply(this,arguments)||this}c(e,t);var n=e.prototype;return n.render=function(){return null},n.componentDidMount=function(){this._update()},n.componentDidUpdate=function(){this._update()},n._update=function(){var t=this.props.editor;t._latestEditorState=this.props.editorState,t._blockSelectEvents=!0},e}(b.Component),z=function(t){function e(e){var n;return s(a(n=t.call(this,e)||this),"_blockSelectEvents",void 0),s(a(n),"_clipboard",void 0),s(a(n),"_handler",void 0),s(a(n),"_dragCount",void 0),s(a(n),"_internalDrag",void 0),s(a(n),"_editorKey",void 0),s(a(n),"_placeholderAccessibilityID",void 0),s(a(n),"_latestEditorState",void 0),s(a(n),"_latestCommittedEditorState",void 0),s(a(n),"_pendingStateFromBeforeInput",void 0),s(a(n),"_onBeforeInput",void 0),s(a(n),"_onBlur",void 0),s(a(n),"_onCharacterData",void 0),s(a(n),"_onCompositionEnd",void 0),s(a(n),"_onCompositionStart",void 0),s(a(n),"_onCopy",void 0),s(a(n),"_onCut",void 0),s(a(n),"_onDragEnd",void 0),s(a(n),"_onDragOver",void 0),s(a(n),"_onDragStart",void 0),s(a(n),"_onDrop",void 0),s(a(n),"_onInput",void 0),s(a(n),"_onFocus",void 0),s(a(n),"_onKeyDown",void 0),s(a(n),"_onKeyPress",void 0),s(a(n),"_onKeyUp",void 0),s(a(n),"_onMouseDown",void 0),s(a(n),"_onMouseUp",void 0),s(a(n),"_onPaste",void 0),s(a(n),"_onSelect",void 0),s(a(n),"editor",void 0),s(a(n),"editorContainer",void 0),s(a(n),"focus",void 0),s(a(n),"blur",void 0),s(a(n),"setMode",void 0),s(a(n),"exitCurrentMode",void 0),s(a(n),"restoreEditorDOM",void 0),s(a(n),"setClipboard",void 0),s(a(n),"getClipboard",void 0),s(a(n),"getEditorKey",void 0),s(a(n),"update",void 0),s(a(n),"onDragEnter",void 0),s(a(n),"onDragLeave",void 0),s(a(n),"_handleEditorContainerRef",(function(t){n.editorContainer=t,n.editor=null!==t?t.firstChild:null})),s(a(n),"focus",(function(t){var e=n.props.editorState,r=e.getSelection().getHasFocus(),o=n.editor;if(o){var i=S.getScrollParent(o),a=t||x(i),s=a.x,c=a.y;D(o)||C(!1),o.focus(),i===window?window.scrollTo(s,c):_.setTop(i,c),r||n.update(v.forceSelection(e,e.getSelection()))}})),s(a(n),"blur",(function(){var t=n.editor;t&&(D(t)||C(!1),t.blur())})),s(a(n),"setMode",(function(t){var e=n.props,r=e.onPaste,o=e.onCut,a=e.onCopy,s=i({},N.edit);r&&(s.onPaste=r),o&&(s.onCut=o),a&&(s.onCopy=a);var c=i({},N,{edit:s});n._handler=c[t]})),s(a(n),"exitCurrentMode",(function(){n.setMode("edit")})),s(a(n),"restoreEditorDOM",(function(t){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(t)}))})),s(a(n),"setClipboard",(function(t){n._clipboard=t})),s(a(n),"getClipboard",(function(){return n._clipboard})),s(a(n),"update",(function(t){n._latestEditorState=t,n.props.onChange(t)})),s(a(n),"onDragEnter",(function(){n._dragCount++})),s(a(n),"onDragLeave",(function(){n._dragCount--,0===n._dragCount&&n.exitCurrentMode()})),n._blockSelectEvents=!1,n._clipboard=null,n._handler=null,n._dragCount=0,n._editorKey=e.editorKey||E(),n._placeholderAccessibilityID="placeholder-"+n._editorKey,n._latestEditorState=e.editorState,n._latestCommittedEditorState=e.editorState,n._onBeforeInput=n._buildHandler("onBeforeInput"),n._onBlur=n._buildHandler("onBlur"),n._onCharacterData=n._buildHandler("onCharacterData"),n._onCompositionEnd=n._buildHandler("onCompositionEnd"),n._onCompositionStart=n._buildHandler("onCompositionStart"),n._onCopy=n._buildHandler("onCopy"),n._onCut=n._buildHandler("onCut"),n._onDragEnd=n._buildHandler("onDragEnd"),n._onDragOver=n._buildHandler("onDragOver"),n._onDragStart=n._buildHandler("onDragStart"),n._onDrop=n._buildHandler("onDrop"),n._onInput=n._buildHandler("onInput"),n._onFocus=n._buildHandler("onFocus"),n._onKeyDown=n._buildHandler("onKeyDown"),n._onKeyPress=n._buildHandler("onKeyPress"),n._onKeyUp=n._buildHandler("onKeyUp"),n._onMouseDown=n._buildHandler("onMouseDown"),n._onMouseUp=n._buildHandler("onMouseUp"),n._onPaste=n._buildHandler("onPaste"),n._onSelect=n._buildHandler("onSelect"),n.getEditorKey=function(){return n._editorKey},n.state={contentsKey:0},n}c(e,t);var r=e.prototype;return r._buildHandler=function(t){var e=this;return function(n){if(!e.props.readOnly){var r=e._handler&&e._handler[t];r&&(g?g((function(){return r(e,n)})):r(e,n))}}},r._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},r._renderPlaceholder=function(){if(this._showPlaceholder()){var t={text:O(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return b.createElement(y,t)}return null},r._renderARIADescribedBy=function(){var t=this.props.ariaDescribedBy||"",e=this._showPlaceholder()?this._placeholderAccessibilityID:"";return t.replace("{{editor_id_placeholder}}",e)||void 0},r.render=function(){var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.blockStyleFn,a=t.customStyleFn,s=t.customStyleMap,c=t.editorState,u=t.preventScroll,p=t.readOnly,d=t.textAlignment,h=t.textDirectionality,g=M({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===d,"DraftEditor/alignRight":"right"===d,"DraftEditor/alignCenter":"center"===d}),y=this.props.role||"textbox",m="combobox"===y?!!this.props.ariaExpanded:null,v={blockRenderMap:e,blockRendererFn:n,blockStyleFn:r,customStyleMap:i({},l,s),customStyleFn:a,editorKey:this._editorKey,editorState:c,preventScroll:u,textDirectionality:h};return b.createElement("div",{className:g},this._renderPlaceholder(),b.createElement("div",{className:M("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},b.createElement("div",{"aria-activedescendant":p?null:this.props.ariaActiveDescendantID,"aria-autocomplete":p?null:this.props.ariaAutoComplete,"aria-controls":p?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":p?null:m,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":p?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:M({notranslate:!p,"public/DraftEditor/content":!0}),contentEditable:!p,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:p?null:y,spellCheck:L&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},b.createElement(T,{editor:this,editorState:c}),b.createElement(f,o({},v,{key:"contents"+this.state.contentsKey})))))},r.componentDidMount=function(){this._blockSelectEvents=!1,!A&&j("draft_ods_enabled")&&(A=!0,m.initODS()),this.setMode("edit"),I&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):n.g.execCommand("AutoUrlDetect",!1,!1))},r.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},e}(b.Component);s(z,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:u,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:k,readOnly:!1,spellCheck:!1,stripPastedStyles:!1}),t.exports=z},84030:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}var i=n(15267),a=n(33638),s=n(1024),c=n(31675),u=n(99986),l=n(35796),p=n(11021),f=n(2775),d=n(87008),h=n(51702),g=n(90333),y=n(73012),m=n(8187),v=n(98392),b=function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e},_=function(t){var e,n;function r(){for(var e,n,r,o,i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return o=void 0,(r="_node")in(n=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e=t.call.apply(t,[this].concat(a))||this))?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,e}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var _=r.prototype;return _.shouldComponentUpdate=function(t){return this.props.block!==t.block||this.props.tree!==t.tree||this.props.direction!==t.direction||b(t.selection,t.block.getKey())&&t.forceSelection},_.componentDidMount=function(){if(!this.props.preventScroll){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var n=this._node;if(null!=n){var r,o=u.getScrollParent(n),i=h(o);if(o===window){var a=d(n);(r=a.y+a.height-g().height)>0&&window.scrollTo(i.x,i.y+r+10)}else m(n)||y(!1),(r=n.offsetHeight+n.offsetTop-(o.offsetTop+o.offsetHeight+i.y))>0&&c.setTop(o,c.getTop(o)+r+10)}}}},_._renderChildren=function(){var t=this,e=this.props.block,n=e.getKey(),r=e.getText(),c=this.props.tree.size-1,u=b(this.props.selection,n);return this.props.tree.map((function(f,d){var h=f.get("leaves");if(0===h.size)return null;var g=h.size-1,y=h.map((function(o,l){var p=a.encode(n,d,l),f=o.get("start"),h=o.get("end");return s.createElement(i,{key:p,offsetKey:p,block:e,start:f,selection:u?t.props.selection:null,forceSelection:t.props.forceSelection,text:r.slice(f,h),styleSet:e.getInlineStyleAt(f),customStyleMap:t.props.customStyleMap,customStyleFn:t.props.customStyleFn,isLast:d===c&&l===g})})).toArray(),m=f.get("decoratorKey");if(null==m)return y;if(!t.props.decorator)return y;var b=v(t.props.decorator),_=b.getComponentForKey(m);if(!_)return y;var S=b.getPropsForKey(m),w=a.encode(n,d,0),M=h.first().get("start"),E=h.last().get("end"),k=r.slice(M,E),x=e.getEntityAt(f.get("start")),j=p.getHTMLDirIfDifferent(l.getDirection(k),t.props.direction),C={contentState:t.props.contentState,decoratedText:k,dir:j,start:M,end:E,blockKey:n,entityKey:x,offsetKey:w};return s.createElement(_,o({},S,C,{key:w}),y)})).toArray()},_.render=function(){var t=this,e=this.props,n=e.direction,r=e.offsetKey,o=f({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return s.createElement("div",{"data-offset-key":r,className:o,ref:function(e){return t._node=e}},this._renderChildren())},r}(s.Component);t.exports=_},99902:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){a(t,e,n[e])}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s=n(36215),c=n(33638),u=n(1024),l=n(31675),p=n(99986),f=n(87008),d=n(51702),h=n(90333),g=n(18489),y=n(73012),m=n(8187),v=(g.List,function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e}),b=function(t,e){var n=e.get(t.getType())||e.get("unstyled"),r=n.wrapper;return{Element:n.element||e.get("unstyled").element,wrapperTemplate:r}},_=function(t,e){var n=e(t);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},S=function(t,e,n,r,o,a){var s={"data-block":!0,"data-editor":e,"data-offset-key":n,key:t.getKey(),ref:a},c=r(t);return c&&(s.className=c),void 0!==o.customEditable&&(s=i({},s,{contentEditable:o.customEditable,suppressContentEditableWarning:!0})),s},w=function(t){var e,n;function r(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return a(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e=t.call.apply(t,[this].concat(r))||this),"wrapperRef",u.createRef()),e}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var g=r.prototype;return g.shouldComponentUpdate=function(t){var e=this.props,n=e.block,r=e.direction,o=e.tree,i=!n.getChildKeys().isEmpty(),a=n!==t.block||o!==t.tree||r!==t.direction||v(t.selection,t.block.getKey())&&t.forceSelection;return i||a},g.componentDidMount=function(){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var r,o=p.getScrollParent(n),i=d(o);if(o===window){var a=f(n);(r=a.y+a.height-h().height)>0&&window.scrollTo(i.x,i.y+r+10)}else{m(n)||y(!1);var s=n;(r=s.offsetHeight+s.offsetTop-(o.offsetHeight+i.y))>0&&l.setTop(o,l.getTop(o)+r+10)}}}},g.render=function(){var t=this,e=this.props,n=e.block,a=e.blockRenderMap,l=e.blockRendererFn,p=e.blockStyleFn,f=e.contentState,d=e.decorator,h=e.editorKey,g=e.editorState,y=e.customStyleFn,m=e.customStyleMap,w=e.direction,M=e.forceSelection,E=e.selection,k=e.tree,x=null;n.children.size&&(x=n.children.reduce((function(e,n){var o=c.encode(n,0,0),s=f.getBlockForKey(n),d=_(s,l),y=d.CustomComponent||r,m=b(s,a),v=m.Element,w=m.wrapperTemplate,M=S(s,h,o,p,d,null),E=i({},t.props,{tree:g.getBlockTree(n),blockProps:d.customProps,offsetKey:o,block:s});return e.push(u.createElement(v,M,u.createElement(y,E))),!w||function(t,e){var n=t.getNextSiblingKey();return!!n&&e.getBlockForKey(n).getType()===t.getType()}(s,f)||function(t,e,n){var r=[],o=!0,i=!1,a=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(o=(s=l.next()).done);o=!0){var p=s.value;if(p.type!==e)break;r.push(p)}}catch(t){i=!0,a=t}finally{try{o||null==l.return||l.return()}finally{if(i)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var f=r.reverse(),d=f[0].key;n.push(u.cloneElement(t,{key:"".concat(d,"-wrap"),"data-offset-key":c.encode(d,0,0)},f))}(w,v,e),e}),[]));var j=n.getKey(),C=c.encode(j,0,0),D=_(n,l),O=D.CustomComponent,I=null!=O?u.createElement(O,o({},this.props,{tree:g.getBlockTree(j),blockProps:D.customProps,offsetKey:C,block:n})):u.createElement(s,{block:n,children:x,contentState:f,customStyleFn:y,customStyleMap:m,decorator:d,direction:w,forceSelection:M,hasSelection:v(E,j),selection:E,tree:k});if(n.getParentKey())return I;var L=b(n,a).Element,N=S(n,h,C,p,D,this.wrapperRef);return u.createElement(L,N,I)},r}(u.Component);t.exports=w},3431:(t,e,n)=>{"use strict";var r=n(74241),o=n(84055),i=n(33638),a=n(46238),s=n(7482),c=n(91355),u=n(31611),l=n(23357),p=n(62263),f=n(34483),d=n(98392),h=c.isBrowser("IE"),g=!1,y=!1,m=null,v={onCompositionStart:function(t){y=!0,function(t){m||(m=new r(l(t))).start()}(t)},onCompositionEnd:function(t){g=!1,y=!1,setTimeout((function(){g||v.resolveComposition(t)}),20)},onSelect:u,onKeyDown:function(t,e){if(!y)return v.resolveComposition(t),void t._onKeyDown(e);e.which!==s.RIGHT&&e.which!==s.LEFT||e.preventDefault()},onKeyPress:function(t,e){e.which===s.RETURN&&e.preventDefault()},resolveComposition:function(t){if(!y){var e=d(m).stopAndFlushMutations();m=null,g=!0;var n=a.set(t._latestEditorState,{inCompositionMode:!1});if(t.exitCurrentMode(),e.size){var r=n.getCurrentContent();e.forEach((function(t,e){var s=i.decode(e),c=s.blockKey,u=s.decoratorKey,l=s.leafKey,p=n.getBlockTree(c).getIn([u,"leaves",l]),d=p.start,h=p.end,g=n.getSelection().merge({anchorKey:c,focusKey:c,anchorOffset:d,focusOffset:h,isBackward:!1}),y=f(r,g),m=r.getBlockForKey(c).getInlineStyleAt(d);r=o.replaceText(r,g,t,m,y),n=a.set(n,{currentContent:r})}));var s=p(n,l(t)).selectionState;t.restoreEditorDOM();var c=h?a.forceSelection(n,s):a.acceptSelection(n,s);t.update(a.push(c,r,"insert-characters"))}else t.update(n)}}};t.exports=v},60944:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){a(t,e,n[e])}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s=n(84030),c=n(33638),u=n(1024),l=n(2775),p=n(52433),f=n(98392),d=function(t,e,n,r){return l({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===t,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===t,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===e,"public/DraftStyleDefault/depth1":1===e,"public/DraftStyleDefault/depth2":2===e,"public/DraftStyleDefault/depth3":3===e,"public/DraftStyleDefault/depth4":e>=4,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},h=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=r.prototype;return a.shouldComponentUpdate=function(t){var e=this.props.editorState,n=t.editorState;if(e.getDirectionMap()!==n.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=e.isInCompositionMode(),i=n.isInCompositionMode();if(e===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=e.getCurrentContent(),s=n.getCurrentContent(),c=e.getDecorator(),u=n.getDecorator();return o!==i||a!==s||c!==u||n.mustForceSelection()},a.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.blockStyleFn,a=t.customStyleMap,l=t.customStyleFn,h=t.editorState,g=t.editorKey,y=t.preventScroll,m=t.textDirectionality,v=h.getCurrentContent(),b=h.getSelection(),_=h.mustForceSelection(),S=h.getDecorator(),w=f(h.getDirectionMap()),M=v.getBlocksAsArray(),E=[],k=null,x=null,j=0;j<M.length;j++){var C=M[j],D=C.getKey(),O=C.getType(),I=n(C),L=void 0,N=void 0,A=void 0;I&&(L=I.component,N=I.props,A=I.editable);var T=m||w.get(D),z=c.encode(D,0,0),R={contentState:v,block:C,blockProps:N,blockStyleFn:r,customStyleMap:a,customStyleFn:l,decorator:S,direction:T,forceSelection:_,offsetKey:z,preventScroll:y,selection:b,tree:h.getBlockTree(D)},P=e.get(O)||e.get("unstyled"),B=P.wrapper,U=P.element||e.get("unstyled").element,F=C.getDepth(),K="";r&&(K=r(C)),"li"===U&&(K=p(K,d(O,F,x!==B||null===k||F>k,T)));var H=L||s,q={className:K,"data-block":!0,"data-editor":g,"data-offset-key":z,key:D};void 0!==A&&(q=i({},q,{contentEditable:A,suppressContentEditableWarning:!0}));var Y=u.createElement(U,q,u.createElement(H,o({},R,{key:D})));E.push({block:Y,wrapperTemplate:B,key:D,offsetKey:z}),k=B?C.getDepth():null,x=B}for(var W=[],Q=0;Q<E.length;){var Z=E[Q];if(Z.wrapperTemplate){var V=[];do{V.push(E[Q].block),Q++}while(Q<E.length&&E[Q].wrapperTemplate===Z.wrapperTemplate);var G=u.cloneElement(Z.wrapperTemplate,{key:Z.key+"-wrap","data-offset-key":Z.offsetKey},V);W.push(G)}else W.push(Z.block),Q++}return u.createElement("div",{"data-contents":"true"},W)},r}(u.Component);t.exports=h},10989:(t,e,n)=>{"use strict";var r=n(27936)("draft_tree_data_support");t.exports=n(r?71435:60944)},71435:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}var i=n(99902),a=n(33638),s=n(1024),c=n(98392),u=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var u=r.prototype;return u.shouldComponentUpdate=function(t){var e=this.props.editorState,n=t.editorState;if(e.getDirectionMap()!==n.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=e.isInCompositionMode(),i=n.isInCompositionMode();if(e===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=e.getCurrentContent(),s=n.getCurrentContent(),c=e.getDecorator(),u=n.getDecorator();return o!==i||a!==s||c!==u||n.mustForceSelection()},u.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.blockStyleFn,u=t.customStyleMap,l=t.customStyleFn,p=t.editorState,f=t.editorKey,d=t.textDirectionality,h=p.getCurrentContent(),g=p.getSelection(),y=p.mustForceSelection(),m=p.getDecorator(),v=c(p.getDirectionMap()),b=[],_=h.getBlocksAsArray()[0];_;){var S=_.getKey(),w={blockRenderMap:e,blockRendererFn:n,blockStyleFn:r,contentState:h,customStyleFn:l,customStyleMap:u,decorator:m,editorKey:f,editorState:p,forceSelection:y,selection:g,block:_,direction:d||v.get(S),tree:p.getBlockTree(S)},M=(e.get(_.getType())||e.get("unstyled")).wrapper;b.push({block:s.createElement(i,o({key:S},w)),wrapperTemplate:M,key:S,offsetKey:a.encode(S,0,0)});var E=_.getNextSiblingKey();_=E?h.getBlockForKey(E):null}for(var k=[],x=0;x<b.length;){var j=b[x];if(j.wrapperTemplate){var C=[];do{C.push(b[x].block),x++}while(x<b.length&&b[x].wrapperTemplate===j.wrapperTemplate);var D=s.cloneElement(j.wrapperTemplate,{key:j.key+"-wrap","data-offset-key":j.offsetKey},C);k.push(D)}else k.push(j.block),x++}return s.createElement("div",{"data-contents":"true"},k)},r}(s.Component);t.exports=u},75937:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}var i=n(33638),a=n(1024),s=n(35796),c=n(11021),u=function(t){var e,n;function r(){return t.apply(this,arguments)||this}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.prototype.render=function(){var t=this.props,e=t.block,n=t.children,r=t.contentState,u=t.decorator,l=t.decoratorKey,p=t.direction,f=t.leafSet,d=t.text,h=e.getKey(),g=f.get("leaves"),y=u.getComponentForKey(l),m=u.getPropsForKey(l),v=i.encode(h,parseInt(l,10),0),b=d.slice(g.first().get("start"),g.last().get("end")),_=c.getHTMLDirIfDifferent(s.getDirection(b),p);return a.createElement(y,o({},m,{contentState:r,decoratedText:b,dir:_,key:v,entityKey:e.getEntityAt(f.get("start")),offsetKey:v}),n)},r}(a.Component);t.exports=u},83567:(t,e,n)=>{"use strict";var r=n(97880),o=n(84055),i=n(46238),a=n(59321),s=n(45653),c=n(26288),u=n(39433),l=n(52868),p=n(5218),f=n(98392),d={onDragEnd:function(t){t.exitCurrentMode(),h(t)},onDrop:function(t,e){var n=new r(e.nativeEvent.dataTransfer),l=t._latestEditorState,d=function(t,e){var n=null,r=null,o=s(t.currentTarget);if("function"==typeof o.caretRangeFromPoint){var i=o.caretRangeFromPoint(t.x,t.y);n=i.startContainer,r=i.startOffset}else{if(!t.rangeParent)return null;n=t.rangeParent,r=t.rangeOffset}n=f(n),r=f(r);var c=f(a(n));return u(e,c,r,c,r)}(e.nativeEvent,l);if(e.preventDefault(),t._dragCount=0,t.exitCurrentMode(),null!=d){var y=n.getFiles();if(y.length>0){if(t.props.handleDroppedFiles&&p(t.props.handleDroppedFiles(d,y)))return;c(y,(function(e){e&&t.update(g(l,d,e))}))}else{var m=t._internalDrag?"internal":"external";t.props.handleDrop&&p(t.props.handleDrop(d,n,m))||(t._internalDrag?t.update(function(t,e){var n=o.moveText(t.getCurrentContent(),t.getSelection(),e);return i.push(t,n,"insert-fragment")}(l,d)):t.update(g(l,d,n.getText()))),h(t)}}}};function h(t){t._internalDrag=!1;var e=t.editorContainer;if(e){var n=new MouseEvent("mouseup",{view:l(e),bubbles:!0,cancelable:!0});e.dispatchEvent(n)}}function g(t,e,n){var r=o.insertText(t.getCurrentContent(),e,n,t.getCurrentInlineStyle());return i.push(t,r,"insert-fragment")}t.exports=d},49199:(t,e,n)=>{"use strict";var r=n(91355),o=n(8658),i=n(5976),a=n(70410),s=n(3248),c=n(46811),u=n(98451),l=n(15160),p=n(45313),f=n(73078),d=n(63194),h=n(88924),g=n(31611),y=r.isBrowser("Chrome"),m=r.isBrowser("Firefox"),v=y||m?g:function(t){},b={onBeforeInput:o,onBlur:i,onCompositionStart:a,onCopy:s,onCut:c,onDragOver:u,onDragStart:l,onFocus:p,onInput:f,onKeyDown:d,onPaste:h,onSelect:g,onMouseUp:v,onKeyUp:v};t.exports=b},823:(t,e,n)=>{"use strict";var r=n(30314).unstable_flushControlled;t.exports=r},15267:(t,e,n)=>{"use strict";var r=n(54516),o=n(46544),i=n(1024),a=n(73012),s=n(78659),c=n(46064).setDraftEditorSelection,u=function(t){var e,n;function u(){for(var e,n,r,o,i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return o=void 0,(r="leaf")in(n=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e=t.call.apply(t,[this].concat(a))||this))?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,e}n=t,(e=u).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var l=u.prototype;return l._setSelection=function(){var t=this.props.selection;if(null!=t&&t.getHasFocus()){var e=this.props,n=e.block,r=e.start,o=e.text,i=n.getKey(),u=r+o.length;if(t.hasEdgeWithin(i,r,u)){var l=this.leaf;l||a(!1);var p,f=l.firstChild;f||a(!1),f.nodeType===Node.TEXT_NODE?p=f:s(f)?p=l:(p=f.firstChild)||a(!1),c(t,p,i,r,u)}}},l.shouldComponentUpdate=function(t){var e=this.leaf;return e||a(!1),e.textContent!==t.text||t.styleSet!==this.props.styleSet||t.forceSelection},l.componentDidUpdate=function(){this._setSelection()},l.componentDidMount=function(){this._setSelection()},l.render=function(){var t=this,e=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var a=this.props,s=a.customStyleMap,c=a.customStyleFn,u=a.offsetKey,l=a.styleSet,p=l.reduce((function(t,e){var n={},o=s[e];return void 0!==o&&t.textDecoration!==o.textDecoration&&(n.textDecoration=[t.textDecoration,o.textDecoration].join(" ").trim()),r(t,o,n)}),{});if(c){var f=c(l,e);p=r(p,f)}return i.createElement("span",{"data-offset-key":u,ref:function(e){return t.leaf=e},style:p},i.createElement(o,null,n))},u}(i.Component);t.exports=u},36215:(t,e,n)=>{"use strict";var r=n(75937),o=n(15267),i=n(33638),a=n(18489),s=n(1024),c=n(2775),u=(a.List,function(t){var e,n;function a(){return t.apply(this,arguments)||this}return n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,a.prototype.render=function(){var t=this.props,e=t.block,n=t.contentState,a=t.customStyleFn,u=t.customStyleMap,l=t.decorator,p=t.direction,f=t.forceSelection,d=t.hasSelection,h=t.selection,g=t.tree,y=e.getKey(),m=e.getText(),v=g.size-1,b=this.props.children||g.map((function(t,c){var g=t.get("decoratorKey"),b=t.get("leaves"),_=b.size-1,S=b.map((function(t,n){var r=i.encode(y,c,n),l=t.get("start"),p=t.get("end");return s.createElement(o,{key:r,offsetKey:r,block:e,start:l,selection:d?h:null,forceSelection:f,text:m.slice(l,p),styleSet:e.getInlineStyleAt(l),customStyleMap:u,customStyleFn:a,isLast:g===v&&n===_})})).toArray();return g&&l?s.createElement(r,{block:e,children:S,contentState:n,decorator:l,decoratorKey:g,direction:p,leafSet:t,text:m,key:c}):S})).toArray();return s.createElement("div",{"data-offset-key":i.encode(y,0,0),className:c({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===p,"public/DraftStyleDefault/rtl":"RTL"===p})},b)},a}(s.Component));t.exports=u},20398:(t,e,n)=>{"use strict";var r=n(1024),o=n(2775),i=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=i.prototype;return a.shouldComponentUpdate=function(t){return this.props.text!==t.text||this.props.editorState.getSelection().getHasFocus()!==t.editorState.getSelection().getHasFocus()},a.render=function(){var t=this.props.editorState.getSelection().getHasFocus(),e=o({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":t});return r.createElement("div",{className:e},r.createElement("div",{className:o("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(r.Component);t.exports=i},46544:(t,e,n)=>{"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(1024),a=n(91355),s=n(73012),c=n(23833),u=a.isBrowser("IE <= 11"),l=function(t){var e,n;function a(e){var n;return o(r(n=t.call(this,e)||this),"_forceFlag",void 0),o(r(n),"_node",void 0),n._forceFlag=!1,n}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var l=a.prototype;return l.shouldComponentUpdate=function(t){var e=this._node,n=""===t.children;c(e)||s(!1);var r=e;return n?!function(t){return u?"\n"===t.textContent:"BR"===t.tagName}(r):r.textContent!==t.children},l.componentDidMount=function(){this._forceFlag=!this._forceFlag},l.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},l.render=function(){var t,e=this;return""===this.props.children?this._forceFlag?(t=function(t){return e._node=t},u?i.createElement("span",{key:"A","data-text":"true",ref:t},"\n"):i.createElement("br",{key:"A","data-text":"true",ref:t})):function(t){return u?i.createElement("span",{key:"B","data-text":"true",ref:t},"\n"):i.createElement("br",{key:"B","data-text":"true",ref:t})}((function(t){return e._node=t})):i.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(t){return e._node=t}},this.props.children)},a}(i.Component);t.exports=l},62599:t=>{"use strict";t.exports={initODS:function(){},handleExtensionCausedError:function(){}}},3031:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(91825),i=n(18489),a=n(73012),s=n(44231),c=(0,i.Map)(),u=s();function l(t,e){console.warn("WARNING: "+t+' will be deprecated soon!\nPlease use "'+e+'" instead.')}var p={getLastCreatedEntityKey:function(){return l("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),p.__getLastCreatedEntityKey()},create:function(t,e,n){return l("DraftEntity.create","contentState.createEntity"),p.__create(t,e,n)},add:function(t){return l("DraftEntity.add","contentState.addEntity"),p.__add(t)},get:function(t){return l("DraftEntity.get","contentState.getEntity"),p.__get(t)},__getAll:function(){return c},__loadWithEntities:function(t){c=t,u=s()},mergeData:function(t,e){return l("DraftEntity.mergeData","contentState.mergeEntityData"),p.__mergeData(t,e)},replaceData:function(t,e){return l("DraftEntity.replaceData","contentState.replaceEntityData"),p.__replaceData(t,e)},__getLastCreatedEntityKey:function(){return u},__create:function(t,e,n){return p.__add(new o({type:t,mutability:e,data:n||{}}))},__add:function(t){return u=s(),c=c.set(u,t),u},__get:function(t){var e=c.get(t);return e||a(!1),e},__mergeData:function(t,e){var n=p.__get(t),o=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){r(t,e,n[e])}))}return t}({},n.getData(),e),i=n.set("data",o);return c=c.set(t,i),i},__replaceData:function(t,e){var n=p.__get(t).set("data",e);return c=c.set(t,n),n}};t.exports=p},91825:(t,e,n)=>{"use strict";var r=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.getType=function(){return this.get("type")},o.getMutability=function(){return this.get("mutability")},o.getData=function(){return this.get("data")},r}((0,n(18489).Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));t.exports=r},19142:t=>{"use strict";t.exports={getRemovalRange:function(t,e,n,r,o){var i=n.split(" ");i=i.map((function(t,e){if("forward"===o){if(e>0)return" "+t}else if(e<i.length-1)return t+" ";return t}));for(var a,s=r,c=null,u=null,l=0;l<i.length;l++){if(t<(a=s+i[l].length)&&s<e)null!==c||(c=s),u=a;else if(null!==c)break;s=a}var p=r+n.length,f=c===r,d=u===p;return(!f&&d||f&&!d)&&("forward"===o?u!==p&&u++:c!==r&&c--),{start:c,end:u}}}},31532:t=>{"use strict";t.exports={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}}},84055:(t,e,n)=>{"use strict";var r=n(28),o=n(76520),i=n(48932),a=n(3022),s=n(58364),c=n(18489),u=n(14719),l=n(79585),p=n(73012),f=n(37248),d=n(77506),h=n(12269),g=n(70774),y=c.OrderedSet,m={replaceText:function(t,e,n,o,i){var a=d(t,e),s=h(a,e),c=r.create({style:o||y(),entity:i||null});return l(s,s.getSelectionAfter(),n,c)},insertText:function(t,e,n,r,o){return e.isCollapsed()||p(!1),m.replaceText(t,e,n,r,o)},moveText:function(t,e,n){var r=s(t,e),o=m.removeRange(t,e,"backward");return m.replaceWithFragment(o,n,r)},replaceWithFragment:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",o=d(t,e),i=h(o,e);return u(i,i.getSelectionAfter(),n,r)},removeRange:function(t,e,n){var r,o,i,s;e.getIsBackward()&&(e=e.merge({anchorKey:e.getFocusKey(),anchorOffset:e.getFocusOffset(),focusKey:e.getAnchorKey(),focusOffset:e.getAnchorOffset(),isBackward:!1})),r=e.getAnchorKey(),o=e.getFocusKey(),i=t.getBlockForKey(r),s=t.getBlockForKey(o);var c=e.getStartOffset(),u=e.getEndOffset(),l=i.getEntityAt(c),p=s.getEntityAt(u-1);if(r===o&&l&&l===p){var f=a(t.getEntityMap(),i,s,e,n);return h(t,f)}var g=d(t,e);return h(g,e)},splitBlock:function(t,e){var n=d(t,e),r=h(n,e);return g(r,r.getSelectionAfter())},applyInlineStyle:function(t,e,n){return o.add(t,e,n)},removeInlineStyle:function(t,e,n){return o.remove(t,e,n)},setBlockType:function(t,e,n){return f(t,e,(function(t){return t.merge({type:n,depth:0})}))},setBlockData:function(t,e,n){return f(t,e,(function(t){return t.merge({data:n})}))},mergeBlockData:function(t,e,n){return f(t,e,(function(t){return t.merge({data:t.getData().merge(n)})}))},applyEntity:function(t,e,n){var r=d(t,e);return i(r,e,n)}};t.exports=m},33638:t=>{"use strict";var e="-",n={encode:function(t,n,r){return t+e+n+e+r},decode:function(t){var n=t.split(e).reverse(),r=n[0],o=n[1];return{blockKey:n.slice(2).reverse().join(e),decoratorKey:parseInt(o,10),leafKey:parseInt(r,10)}}};t.exports=n},17605:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(39806),i=n(47724),a=n(97614),s=n(84894),c=n(27917),u=n(27936),l=n(18489),p=n(24844),f=l.List,d=l.Repeat,h=u("draft_tree_data_support"),g=h?i:o,y={processHTML:function(t,e){return a(t,c,e)},processText:function(t,e,n){return t.reduce((function(t,o,i){o=p(o);var a=s(),c={key:a,type:n,text:o,characterList:f(d(e,o.length))};if(h&&0!==i){var u=i-1;c=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){r(t,e,n[e])}))}return t}({},c,{prevSibling:(t[u]=t[u].merge({nextSibling:a})).getKey()})}return t.push(new g(c)),t}),[])}};t.exports=y},81360:(t,e,n)=>{"use strict";var r="['‘’]",o="\\s|(?![_])"+n(59878).getPunctuation(),i=new RegExp("^(?:"+o+")*(?:"+r+"|(?!"+o+").)*(?:(?!"+o+").)"),a=new RegExp("(?:(?!"+o+").)(?:"+r+"|(?!"+o+").)*(?:"+o+")*$");function s(t,e){var n=e?a.exec(t):i.exec(t);return n?n[0]:t}var c={getBackward:function(t){return s(t,!0)},getForward:function(t){return s(t,!1)}};t.exports=c},56588:t=>{"use strict";var e={stringify:function(t){return"_"+String(t)},unstringify:function(t){return t.slice(1)}};t.exports=e},74645:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(84894),a=n(73012),s=function(t){if(!t||!t.type)return!1;var e=t.type;return"unordered-list-item"===e||"ordered-list-item"===e},c={fromRawTreeStateToRawState:function(t){var e=t.blocks,n=[];return Array.isArray(e)||a(!1),Array.isArray(e)&&e.length?(function(t,e){for(var o=[].concat(t).reverse();o.length;){var i=o.pop();l=void 0,l=r({},u=i),s(u)&&(l.depth=l.depth||0,function(t){Array.isArray(t.children)&&(t.children=t.children.map((function(e){return e.type===t.type?r({},e,{depth:(t.depth||0)+1}):e})))}(u),null!=u.children&&u.children.length>0)||(delete l.children,n.push(l));var c=i.children;Array.isArray(c)||a(!1),o=o.concat([].concat(c.reverse()))}var u,l}(e),t.blocks=n,r({},t,{blocks:n})):t},fromRawStateToRawTreeState:function(t){var e=[],n=[];return t.blocks.forEach((function(t){var o=s(t),a=t.depth||0,c=r({},t,{children:[]});if(o){var u=n[0];if(null==u&&0===a)e.push(c);else if(null==u||u.depth<a-1){var l={key:i(),text:"",depth:a-1,type:t.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(l),1===a?e.push(l):null!=u&&u.children.push(l),l.children.push(c)}else if(u.depth===a-1)u.children.push(c);else{for(;null!=u&&u.depth>=a;)n.shift(),u=n[0];a>0?u.children.push(c):e.push(c)}}else e.push(c)})),r({},t,{blocks:e})}};t.exports=c},54775:(t,e,n)=>{"use strict";n(85806),t.exports={isValidBlock:function(t,e){var n=t.getKey(),r=t.getParentKey();if(null!=r&&!e.get(r).getChildKeys().includes(n))return!1;if(!t.getChildKeys().map((function(t){return e.get(t)})).every((function(t){return t.getParentKey()===n})))return!1;var o=t.getPrevSiblingKey();if(null!=o&&e.get(o).getNextSiblingKey()!==n)return!1;var i=t.getNextSiblingKey();return(null==i||e.get(i).getPrevSiblingKey()===n)&&!(null!==i&&null!==o&&o===i||""!=t.text&&t.getChildKeys().size>0)},isConnectedTree:function(t){var e=t.toArray().filter((function(t){return null==t.getParentKey()&&null==t.getPrevSiblingKey()}));if(1!==e.length)return!1;for(var n=0,r=e.shift().getKey(),o=[];null!=r;){var i=t.get(r),a=i.getChildKeys(),s=i.getNextSiblingKey();if(a.size>0){null!=s&&o.unshift(s);var c=a.map((function(e){return t.get(e)})).find((function(t){return null==t.getPrevSiblingKey()}));if(null==c)return!1;r=c.getKey()}else r=null!=i.getNextSiblingKey()?i.getNextSiblingKey():o.shift();n++}return n===t.size},isValidTree:function(t){var e=this;return!!t.toArray().every((function(n){return e.isValidBlock(n,t)}))&&this.isConnectedTree(t)}}},22976:(t,e,n)=>{"use strict";var r,o=n(90209),i=n(18489),a=n(98392),s=i.OrderedMap,c={getDirectionMap:function(t,e){r?r.reset():r=new o;var n=t.getBlockMap(),c=n.valueSeq().map((function(t){return a(r).getDirection(t.getText())})),u=s(n.keySeq().zip(c));return null!=e&&i.is(e,u)?e:u}};t.exports=c},46238:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(39893),a=n(10789),s=n(22976),c=n(69806),u=n(18489),l=u.OrderedSet,p=u.Record,f=u.Stack,d=u.OrderedMap,h=u.List,g=p({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:f(),selection:null,treeMap:null,undoStack:f()}),y=function(){e.createEmpty=function(t){return this.createWithText("",t)},e.createWithText=function(t,n){return e.createWithContent(a.createFromText(t),n)},e.createWithContent=function(t,n){if(0===t.getBlockMap().count())return e.createEmpty(n);var r=t.getBlockMap().first().getKey();return e.create({currentContent:t,undoStack:f(),redoStack:f(),decorator:n||null,selection:c.createEmpty(r)})},e.create=function(t){var n=t.currentContent,o=r({},t,{treeMap:v(n,t.decorator),directionMap:s.getDirectionMap(n)});return new e(new g(o))},e.fromJS=function(t){return new e(new g(r({},t,{directionMap:null!=t.directionMap?d(t.directionMap):t.directionMap,inlineStyleOverride:null!=t.inlineStyleOverride?l(t.inlineStyleOverride):t.inlineStyleOverride,nativelyRenderedContent:null!=t.nativelyRenderedContent?a.fromJS(t.nativelyRenderedContent):t.nativelyRenderedContent,redoStack:null!=t.redoStack?f(t.redoStack.map((function(t){return a.fromJS(t)}))):t.redoStack,selection:null!=t.selection?new c(t.selection):t.selection,treeMap:null!=t.treeMap?d(t.treeMap).map((function(t){return h(t).map((function(t){return i.fromJS(t)}))})):t.treeMap,undoStack:null!=t.undoStack?f(t.undoStack.map((function(t){return a.fromJS(t)}))):t.undoStack,currentContent:a.fromJS(t.currentContent)})))},e.set=function(t,n){return new e(t.getImmutable().withMutations((function(e){var r=e.get("decorator"),o=r;null===n.decorator?o=null:n.decorator&&(o=n.decorator);var a=n.currentContent||t.getCurrentContent();if(o!==r){var s,c=e.get("treeMap");return s=o&&r?function(t,e,n,r,o){return n.merge(e.toSeq().filter((function(e){return r.getDecorations(e,t)!==o.getDecorations(e,t)})).map((function(e){return i.generate(t,e,r)})))}(a,a.getBlockMap(),c,o,r):v(a,o),void e.merge({decorator:o,treeMap:s,nativelyRenderedContent:null})}a!==t.getCurrentContent()&&e.set("treeMap",function(t,e,n,r){var o=t.getCurrentContent().set("entityMap",n),a=o.getBlockMap();return t.getImmutable().get("treeMap").merge(e.toSeq().filter((function(t,e){return t!==a.get(e)})).map((function(t){return i.generate(o,t,r)})))}(t,a.getBlockMap(),a.getEntityMap(),o)),e.merge(n)})))};var t=e.prototype;function e(t){o(this,"_immutable",void 0),this._immutable=t}return t.toJS=function(){return this.getImmutable().toJS()},t.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},t.getCurrentContent=function(){return this.getImmutable().get("currentContent")},t.getUndoStack=function(){return this.getImmutable().get("undoStack")},t.getRedoStack=function(){return this.getImmutable().get("redoStack")},t.getSelection=function(){return this.getImmutable().get("selection")},t.getDecorator=function(){return this.getImmutable().get("decorator")},t.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},t.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},t.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},t.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},t.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},e.setInlineStyleOverride=function(t,n){return e.set(t,{inlineStyleOverride:n})},t.getCurrentInlineStyle=function(){var t=this.getInlineStyleOverride();if(null!=t)return t;var e=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);return r>0?o.getInlineStyleAt(r-1):o.getLength()?o.getInlineStyleAt(0):b(t,n)}(e,n):function(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);return r<o.getLength()?o.getInlineStyleAt(r):r>0?o.getInlineStyleAt(r-1):b(t,n)}(e,n)},t.getBlockTree=function(t){return this.getImmutable().getIn(["treeMap",t])},t.isSelectionAtStartOfContent=function(){var t=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(t,0,0)},t.isSelectionAtEndOfContent=function(){var t=this.getCurrentContent().getBlockMap().last(),e=t.getLength();return this.getSelection().hasEdgeWithin(t.getKey(),e,e)},t.getDirectionMap=function(){return this.getImmutable().get("directionMap")},e.acceptSelection=function(t,e){return m(t,e,!1)},e.forceSelection=function(t,e){return e.getHasFocus()||(e=e.set("hasFocus",!0)),m(t,e,!0)},e.moveSelectionToEnd=function(t){var n=t.getCurrentContent().getLastBlock(),r=n.getKey(),o=n.getLength();return e.acceptSelection(t,new c({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}))},e.moveFocusToEnd=function(t){var n=e.moveSelectionToEnd(t);return e.forceSelection(n,n.getSelection())},e.push=function(t,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t.getCurrentContent()===n)return t;var i=s.getDirectionMap(n,t.getDirectionMap());if(!t.getAllowUndo())return e.set(t,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var a=t.getSelection(),c=t.getCurrentContent(),u=t.getUndoStack(),l=n;a!==c.getSelectionAfter()||function(t,e){return e!==t.getLastChangeType()||"insert-characters"!==e&&"backspace-character"!==e&&"delete-character"!==e}(t,r)?(u=u.push(c),l=l.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(l=l.set("selectionBefore",c.getSelectionBefore()));var p=t.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(r)&&(p=null);var d={currentContent:l,directionMap:i,undoStack:u,redoStack:f(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:p};return e.set(t,d)},e.undo=function(t){if(!t.getAllowUndo())return t;var n=t.getUndoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=s.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:t.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},e.redo=function(t){if(!t.getAllowUndo())return t;var n=t.getRedoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=s.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:t.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},t.getImmutable=function(){return this._immutable},e}();function m(t,e,n){return y.set(t,{selection:e,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function v(t,e){return t.getBlockMap().map((function(n){return i.generate(t,n,e)})).toOrderedMap()}function b(t,e){var n=t.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).skipUntil((function(t,e){return t.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):l()}t.exports=y},76944:(t,e,n)=>{"use strict";var r=n(91355),o=n(18528),i=r.isPlatform("Mac OS X"),a={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return i&&t.altKey},usesMacOSHeuristics:function(){return i},hasCommandModifier:function(t){return i?!!t.metaKey&&!t.altKey:a.isCtrlKeyCommand(t)},isSoftNewlineEvent:o};t.exports=a},28484:()=>{},93626:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(17027),a=n(98392),s={currentBlockContainsLink:function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(e.getAnchorKey()).getCharacterList().slice(e.getStartOffset(),e.getEndOffset()).some((function(t){var e=t.getEntity();return!!e&&"LINK"===r.__get(e).getType()}))},getCurrentBlockType:function(t){var e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,e,n){switch(e){case"bold":return s.toggleInlineStyle(t,"BOLD");case"italic":return s.toggleInlineStyle(t,"ITALIC");case"underline":return s.toggleInlineStyle(t,"UNDERLINE");case"code":return s.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(t);default:return null}},insertSoftNewline:function(t){var e=r.insertText(t.getCurrentContent(),t.getSelection(),"\n",t.getCurrentInlineStyle(),null),n=o.push(t,e,"insert-characters");return o.forceSelection(n,e.getSelectionAfter())},onBackspace:function(t){var e=t.getSelection();if(!e.isCollapsed()||e.getAnchorOffset()||e.getFocusOffset())return null;var n=t.getCurrentContent(),r=e.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var a=n.getBlockMap().delete(i.getKey()),c=n.merge({blockMap:a,selectionAfter:e});if(c!==n)return o.push(t,c,"remove-range")}var u=s.tryToRemoveBlockStyle(t);return u?o.push(t,u,"change-block-type"):null},onDelete:function(t){var e=t.getSelection();if(!e.isCollapsed())return null;var n=t.getCurrentContent(),i=e.getStartKey(),a=n.getBlockForKey(i).getLength();if(e.getStartOffset()<a)return null;var s=n.getBlockAfter(i);if(!s||"atomic"!==s.getType())return null;var c=e.merge({focusKey:s.getKey(),focusOffset:s.getLength()}),u=r.removeRange(n,c,"forward");return u!==n?o.push(t,u,"remove-range"):null},onTab:function(t,e,n){var r=e.getSelection(),a=r.getAnchorKey();if(a!==r.getFocusKey())return e;var s=e.getCurrentContent(),c=s.getBlockForKey(a),u=c.getType();if("unordered-list-item"!==u&&"ordered-list-item"!==u)return e;t.preventDefault();var l=c.getDepth();if(!t.shiftKey&&l===n)return e;var p=i(s,r,t.shiftKey?-1:1,n);return o.push(e,p,"adjust-depth")},toggleBlockType:function(t,e){var n=t.getSelection(),i=n.getStartKey(),s=n.getEndKey(),c=t.getCurrentContent(),u=n;if(i!==s&&0===n.getEndOffset()){var l=a(c.getBlockBefore(s));s=l.getKey(),u=u.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:s,focusOffset:l.getLength(),isBackward:!1})}if(c.getBlockMap().skipWhile((function(t,e){return e!==i})).reverse().skipWhile((function(t,e){return e!==s})).some((function(t){return"atomic"===t.getType()})))return t;var p=c.getBlockForKey(i).getType()===e?"unstyled":e;return o.push(t,r.setBlockType(c,u,p),"change-block-type")},toggleCode:function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=e.getFocusKey();return e.isCollapsed()||n!==r?s.toggleBlockType(t,"code-block"):s.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,e){var n=t.getSelection(),i=t.getCurrentInlineStyle();if(n.isCollapsed())return o.setInlineStyleOverride(t,i.has(e)?i.remove(e):i.add(e));var a,s=t.getCurrentContent();return a=i.has(e)?r.removeInlineStyle(s,n,e):r.applyInlineStyle(s,n,e),o.push(t,a,"change-inline-style")},toggleLink:function(t,e,n){var i=r.applyEntity(t.getCurrentContent(),e,n);return o.push(t,i,"apply-entity")},tryToRemoveBlockStyle:function(t){var e=t.getSelection(),n=e.getAnchorOffset();if(e.isCollapsed()&&0===n){var o=e.getAnchorKey(),i=t.getCurrentContent(),a=i.getBlockForKey(o).getType(),s=i.getBlockBefore(o);if("code-block"===a&&s&&"code-block"===s.getType()&&0!==s.getLength())return null;if("unstyled"!==a)return r.setBlockType(i,e,"unstyled")}return null}};t.exports=s},70069:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(58364),a=n(98392),s=null,c={cut:function(t){var e=t.getCurrentContent(),n=t.getSelection(),c=null;if(n.isCollapsed()){var u=n.getAnchorKey(),l=e.getBlockForKey(u).getLength();if(l===n.getAnchorOffset()){var p=e.getKeyAfter(u);if(null==p)return t;c=n.set("focusKey",p).set("focusOffset",0)}else c=n.set("focusOffset",l)}else c=n;c=a(c),s=i(e,c);var f=r.removeRange(e,c,"forward");return f===e?t:o.push(t,f,"remove-range")},paste:function(t){if(!s)return t;var e=r.replaceWithFragment(t.getCurrentContent(),t.getSelection(),s);return o.push(t,e,"insert-fragment")}};t.exports=c},69806:(t,e,n)=>{"use strict";var r=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},o.getAnchorKey=function(){return this.get("anchorKey")},o.getAnchorOffset=function(){return this.get("anchorOffset")},o.getFocusKey=function(){return this.get("focusKey")},o.getFocusOffset=function(){return this.get("focusOffset")},o.getIsBackward=function(){return this.get("isBackward")},o.getHasFocus=function(){return this.get("hasFocus")},o.hasEdgeWithin=function(t,e,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===t){var i=this.getStartOffset(),a=this.getEndOffset();return e<=i&&i<=n||e<=a&&a<=n}if(t!==r&&t!==o)return!1;var s=t===r?this.getAnchorOffset():this.getFocusOffset();return e<=s&&n>=s},o.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},o.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},o.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},o.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},o.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(t){return new r({anchorKey:t,anchorOffset:0,focusKey:t,focusOffset:0,isBackward:!1,hasFocus:!1})},r}((0,n(18489).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));t.exports=r},17027:t=>{"use strict";t.exports=function(t,e,n,r){var o=e.getStartKey(),i=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil((function(t,e){return e===o})).takeUntil((function(t,e){return e===i})).concat([[i,a.get(i)]]).map((function(t){var e=t.getDepth()+n;return e=Math.max(0,Math.min(e,r)),t.set("depth",e)}));return a=a.merge(s),t.merge({blockMap:a,selectionBefore:e,selectionAfter:e})}},65491:(t,e,n)=>{"use strict";var r=n(28);t.exports=function(t,e,n,o){for(var i=e,a=t.getCharacterList();i<n;)a=a.set(i,r.applyEntity(a.get(i),o)),i++;return t.set("characterList",a)}},48932:(t,e,n)=>{"use strict";var r=n(65491),o=n(18489);t.exports=function(t,e,n){var i=t.getBlockMap(),a=e.getStartKey(),s=e.getStartOffset(),c=e.getEndKey(),u=e.getEndOffset(),l=i.skipUntil((function(t,e){return e===a})).takeUntil((function(t,e){return e===c})).toOrderedMap().merge(o.OrderedMap([[c,i.get(c)]])).map((function(t,e){var o=e===a?s:0,i=e===c?u:t.getLength();return r(t,o,i,n)}));return t.merge({blockMap:i.merge(l),selectionBefore:e,selectionAfter:e})}},40313:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(39806),i=n(47724),a=n(56588),s=n(84963),c=n(63384),u=n(73012),l=function(t,e){return{key:t.getKey(),text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:c(t),entityRanges:s(t,e),data:t.getData().toObject()}};t.exports=function(t){var e={entityMap:{},blocks:[]};return e=function(t,e){var n=e.entityMap,s=[],c={},p={},f=0;return t.getBlockMap().forEach((function(t){t.findEntityRanges((function(t){return null!==t.getEntity()}),(function(e){var r=t.getEntityAt(e),o=a.stringify(r);p[o]||(p[o]=r,n[o]="".concat(f),f++)})),function(t,e,n,a){if(t instanceof o)n.push(l(t,e));else{t instanceof i||u(!1);var s=t.getParentKey(),c=a[t.getKey()]=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){r(t,e,n[e])}))}return t}({},l(t,e),{children:[]});s?a[s].children.push(c):n.push(c)}}(t,n,s,c)})),{blocks:s,entityMap:n}}(t,e),e=function(t,e){var n=e.blocks,r=e.entityMap,o={};return Object.keys(r).forEach((function(e,n){var r=t.getEntity(a.unstringify(e));o[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:o}}(t,e),e}},97614:(t,e,n)=>{"use strict";var r;function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){i(t,e,n[e])}))}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=n(28),s=n(39806),c=n(47724),u=n(74682),l=n(3031),p=n(2909),f=n(2775),d=n(84894),h=n(27917),g=n(27936),y=n(18489),m=y.List,v=y.Map,b=y.OrderedSet,_=n(19662),S=n(78659),w=n(8187),M=n(9115),E=g("draft_tree_data_support"),k=new RegExp("\r","g"),x=new RegExp("\n","g"),j=new RegExp("^\n","g"),C=new RegExp(" ","g"),D=new RegExp(" ?","g"),O=new RegExp("​?","g"),I=["bold","bolder","500","600","700","800","900"],L=["light","lighter","normal","100","200","300","400"],N=["className","href","rel","target","title"],A=["alt","className","height","src","width"],T=(i(r={},f("public/DraftStyleDefault/depth0"),0),i(r,f("public/DraftStyleDefault/depth1"),1),i(r,f("public/DraftStyleDefault/depth2"),2),i(r,f("public/DraftStyleDefault/depth3"),3),i(r,f("public/DraftStyleDefault/depth4"),4),r),z=v({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),R=function(t){return w(t)&&t.style.fontFamily.includes("monospace")?"CODE":null},P=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(T).some((function(n){t.classList.contains(n)&&(e=T[n])})),e},B=function(t){if(!_(t))return!1;var e=t;if(!e.href||"http:"!==e.protocol&&"https:"!==e.protocol&&"mailto:"!==e.protocol&&"tel:"!==e.protocol)return!1;try{return new p(e.href),!0}catch(t){return!1}},U=function(t){if(!M(t))return!1;var e=t;return!(!e.attributes.getNamedItem("src")||!e.attributes.getNamedItem("src").value)},F=function(t,e){if(!w(t))return e;var n=t,r=n.style.fontWeight,o=n.style.fontStyle,i=n.style.textDecoration;return e.withMutations((function(t){I.indexOf(r)>=0?t.add("BOLD"):L.indexOf(r)>=0&&t.remove("BOLD"),"italic"===o?t.add("ITALIC"):"normal"===o&&t.remove("ITALIC"),"underline"===i&&t.add("UNDERLINE"),"line-through"===i&&t.add("STRIKETHROUGH"),"none"===i&&(t.remove("UNDERLINE"),t.remove("STRIKETHROUGH"))}))},K=function(t){return"ul"===t||"ol"===t},H=function(){function t(t,e){i(this,"characterList",m()),i(this,"currentBlockType","unstyled"),i(this,"currentDepth",0),i(this,"currentEntity",null),i(this,"currentText",""),i(this,"wrapper",null),i(this,"blockConfigs",[]),i(this,"contentBlocks",[]),i(this,"entityMap",l),i(this,"blockTypeMap",void 0),i(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=t,this.disambiguate=e}var e=t.prototype;return e.clear=function(){this.characterList=m(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=l,this.wrapper=null,this.contentBlocks=[]},e.addDOMNode=function(t){var e;return this.contentBlocks=[],this.currentDepth=0,(e=this.blockConfigs).push.apply(e,this._toBlockConfigs([t],b())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},e.getContentBlocks=function(){return 0===this.contentBlocks.length&&(E?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},e._makeBlockConfig=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=o({key:t.key||d(),type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:m(),prevSibling:null,nextSibling:null,childConfigs:[]},t);return this.characterList=m(),this.currentBlockType="unstyled",this.currentText="",e},e._toBlockConfigs=function(t,e){for(var n=[],r=0;r<t.length;r++){var o=t[r],i=o.nodeName.toLowerCase();if("body"===i||K(i)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;K(i)&&(this.wrapper=i,K(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),e)),this.currentDepth=a,this.wrapper=s}else{var c=this.blockTypeMap.get(i);if(void 0===c)if("#text"!==i)if("br"!==i)if(U(o))this._addImgNode(o,e);else if(B(o))this._addAnchorNode(o,n,e);else{var u=e;z.has(i)&&(u=u.add(z.get(i))),u=F(o,u);var l=R(o);null!=l&&(u=u.add(l)),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),u))}else this._addBreakNode(o,e);else this._addTextNode(o,e);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var p=this.currentDepth,f=this.wrapper;if(this.wrapper="pre"===i?"pre":this.wrapper,"string"!=typeof c&&(c=this.disambiguate(i,this.wrapper)||c[0]||"unstyled"),!E&&w(o)&&("unordered-list-item"===c||"ordered-list-item"===c)){var h=o;this.currentDepth=P(h,this.currentDepth)}var g=d(),y=this._toBlockConfigs(Array.from(o.childNodes),e);this._trimCurrentText(),n.push(this._makeBlockConfig({key:g,childConfigs:y,type:c})),this.currentDepth=p,this.wrapper=f}}}return n},e._appendText=function(t,e){var n;this.currentText+=t;var r=a.create({style:e,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(t.length).fill(r))},e._trimCurrentText=function(){var t=this.currentText.length,e=t-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,r=this.characterList.findEntry((function(t){return null!==t.getEntity()}));(e=void 0!==r?Math.min(e,r[0]):e)>(n=void 0!==(r=this.characterList.reverse().findEntry((function(t){return null!==t.getEntity()})))?Math.max(n,t-r[0]):n)?(this.currentText="",this.characterList=m()):(this.currentText=this.currentText.slice(e,n),this.characterList=this.characterList.slice(e,n))},e._addTextNode=function(t,e){var n=t.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(j,"")).replace(x," ")),this._appendText(n,e)},e._addBreakNode=function(t,e){S(t)&&this._appendText("\n",e)},e._addImgNode=function(t,e){if(M(t)){var n=t,r={};A.forEach((function(t){var e=n.getAttribute(t);e&&(r[t]=e)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),g("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("📷",e):this._appendText("📷",e),this.currentEntity=null}},e._addAnchorNode=function(t,e,n){if(_(t)){var r=t,o={};N.forEach((function(t){var e=r.getAttribute(t);e&&(o[t]=e)})),o.url=new p(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",o||{}),e.push.apply(e,this._toBlockConfigs(Array.from(t.childNodes),n)),this.currentEntity=null}},e._toContentBlocks=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t.length-1,r=0;r<=n;r++){var i=t[r];i.parent=e,i.prevSibling=r>0?t[r-1].key:null,i.nextSibling=r<n?t[r+1].key:null,i.children=m(i.childConfigs.map((function(t){return t.key}))),this.contentBlocks.push(new c(o({},i))),this._toContentBlocks(i.childConfigs,i.key)}},e._hoistContainersInBlockConfigs=function(t){var e=this;return m(t).flatMap((function(t){return"unstyled"!==t.type||""!==t.text?[t]:e._hoistContainersInBlockConfigs(t.childConfigs)}))},e._toFlatContentBlocks=function(t){var e=this;this._hoistContainersInBlockConfigs(t).forEach((function(t){var n=e._extractTextFromBlockConfigs(t.childConfigs),r=n.text,i=n.characterList;e.contentBlocks.push(new s(o({},t,{text:t.text+r,characterList:t.characterList.concat(i)})))}))},e._extractTextFromBlockConfigs=function(t){for(var e=t.length-1,n="",r=m(),o=0;o<=e;o++){var i=t[o];n+=i.text,r=r.concat(i.characterList),""!==n&&"unstyled"!==i.type&&(n+="\n",r=r.push(r.last()));var a=this._extractTextFromBlockConfigs(i.childConfigs);n+=a.text,r=r.concat(a.characterList)}return{text:n,characterList:r}},t}();t.exports=function(t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:h)(t=t.trim().replace(k,"").replace(C," ").replace(D,"").replace(O,""));if(!n)return null;var r=function(t){var e={};return t.mapKeys((function(t,n){var r=[n.element];void 0!==n.aliasedElements&&r.push.apply(r,n.aliasedElements),r.forEach((function(n){void 0===e[n]?e[n]=t:"string"==typeof e[n]?e[n]=[e[n],t]:e[n].push(t)}))})),v(e)}(e);return new H(r,(function(t,e){return"li"===t?"ol"===e?"ordered-list-item":"unordered-list-item":null})).addDOMNode(n).getContentBlocks()}},80618:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(39806),a=n(47724),s=n(10789),c=n(3031),u=n(74645),l=(n(54775),n(69806)),p=n(68115),f=n(9769),d=n(47413),h=n(84894),g=n(27936),y=n(18489),m=n(73012),v=g("draft_tree_data_support"),b=y.List,_=y.Map,S=y.OrderedMap,w=function(t,e){var n=t.key,r=t.type,o=t.data;return{text:t.text,depth:t.depth||0,type:r||"unstyled",key:n||h(),data:_(o),characterList:M(t,e)}},M=function(t,e){var n=t.text,o=t.entityRanges,i=t.inlineStyleRanges,a=o||[];return p(d(n,i||[]),f(n,a.filter((function(t){return e.hasOwnProperty(t.key)})).map((function(t){return r({},t,{key:e[t.key]})}))))},E=function(t){return r({},t,{key:t.key||h()})},k=function(t,e,n){var o=e.map((function(t){return r({},t,{parentRef:n})}));return t.concat(o.reverse())};t.exports=function(t){Array.isArray(t.blocks)||m(!1);var e=function(t){var e=t.entityMap,n={};return Object.keys(e).forEach((function(t){var r=e[t],o=r.type,i=r.mutability,a=r.data;n[t]=c.__create(o,i,a||{})})),n}(t),n=function(t,e){var n=t.blocks.find((function(t){return Array.isArray(t.children)&&t.children.length>0})),o=v&&!n?u.fromRawStateToRawTreeState(t).blocks:t.blocks;if(!v)return function(t,e){return S(t.map((function(t){var n=new i(w(t,e));return[n.getKey(),n]})))}(n?u.fromRawTreeStateToRawState(t).blocks:o,e);var s=function(t,e){return t.map(E).reduce((function(n,o,i){Array.isArray(o.children)||m(!1);var s=o.children.map(E),c=new a(r({},w(o,e),{prevSibling:0===i?null:t[i-1].key,nextSibling:i===t.length-1?null:t[i+1].key,children:b(s.map((function(t){return t.key})))}));n=n.set(c.getKey(),c);for(var u=k([],s,c);u.length>0;){var l=u.pop(),p=l.parentRef,f=p.getChildKeys(),d=f.indexOf(l.key),h=Array.isArray(l.children);if(!h){h||m(!1);break}var g=l.children.map(E),y=new a(r({},w(l,e),{parent:p.getKey(),children:b(g.map((function(t){return t.key}))),prevSibling:0===d?null:f.get(d-1),nextSibling:d===f.size-1?null:f.get(d+1)}));n=n.set(y.getKey(),y),u=k(u,g,y)}return n}),S())}(o,e);return s}(t,e),o=n.isEmpty()?new l:l.createEmpty(n.first().getKey());return new s({blockMap:n,entityMap:e,selectionBefore:o,selectionAfter:o})}},68115:(t,e,n)=>{"use strict";var r=n(28),o=n(18489).List;t.exports=function(t,e){var n=t.map((function(t,n){var o=e[n];return r.create({style:t,entity:o})}));return o(n)}},9769:(t,e,n)=>{"use strict";var r=n(13820).substr;t.exports=function(t,e){var n=Array(t.length).fill(null);return e&&e.forEach((function(e){for(var o=r(t,0,e.offset).length,i=o+r(t,e.offset,e.length).length,a=o;a<i;a++)n[a]=e.key})),n}},47413:(t,e,n)=>{"use strict";var r=n(13820),o=n(18489).OrderedSet,i=r.substr,a=o();t.exports=function(t,e){var n=Array(t.length).fill(a);return e&&e.forEach((function(e){for(var r=i(t,0,e.offset).length,o=r+i(t,e.offset,e.length).length;r<o;)n[r]=n[r].add(e.style),r++})),n}},50884:t=>{"use strict";t.exports={notEmptyKey:function(t){return null!=t&&""!=t}}},8658:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(91355),a=n(34483),s=n(5218),c=n(99322),u=n(98392),l=n(55060),p=i.isBrowser("Firefox");function f(t,e,n,i,a){var s=r.replaceText(t.getCurrentContent(),t.getSelection(),e,n,i);return o.push(t,s,"insert-characters",a)}t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var n=t._latestEditorState,r=e.data;if(r)if(t.props.handleBeforeInput&&s(t.props.handleBeforeInput(r,n,e.timeStamp)))e.preventDefault();else{var i=n.getSelection(),d=i.getStartOffset(),h=i.getAnchorKey();if(!i.isCollapsed())return e.preventDefault(),void t.update(f(n,r,n.getCurrentInlineStyle(),a(n.getCurrentContent(),n.getSelection()),!0));var g,y=f(n,r,n.getCurrentInlineStyle(),a(n.getCurrentContent(),n.getSelection()),!1),m=!1;if(m||(m=c(t._latestCommittedEditorState)),!m){var v=n.getBlockTree(h),b=y.getBlockTree(h);m=v.size!==b.size||v.zip(b).some((function(t){var e=t[0],n=t[1],o=e.get("start"),i=o+(o>=d?r.length:0),a=e.get("end"),s=a+(a>=d?r.length:0),c=n.get("start"),u=n.get("end"),l=n.get("decoratorKey");return e.get("decoratorKey")!==l||e.get("leaves").size!==n.get("leaves").size||i!==c||s!==u||null!=l&&u-c!=a-o}))}if(m||(g=r,m=p&&("'"==g||"/"==g)),m||(m=u(y.getDirectionMap()).get(h)!==u(n.getDirectionMap()).get(h)),m)return e.preventDefault(),y=o.set(y,{forceSelection:!0}),void t.update(y);y=o.set(y,{nativelyRenderedContent:y.getCurrentContent()}),t._pendingStateFromBeforeInput=y,l((function(){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)}))}}},5976:(t,e,n)=>{"use strict";var r=n(46238),o=n(61530),i=n(16838);t.exports=function(t,e){var n=e.currentTarget.ownerDocument;if(!Boolean(t.props.preserveSelectionOnBlur)&&i(n)===n.body){var a=n.defaultView.getSelection(),s=t.editor;1===a.rangeCount&&o(s,a.anchorNode)&&o(s,a.focusNode)&&a.removeAllRanges()}var c=t._latestEditorState,u=c.getSelection();if(u.getHasFocus()){var l=u.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(e),t.update(r.acceptSelection(c,l))}}},70410:(t,e,n)=>{"use strict";var r=n(46238);t.exports=function(t,e){t.setMode("composite"),t.update(r.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(e)}},3248:(t,e,n)=>{"use strict";var r=n(25057);t.exports=function(t,e){t._latestEditorState.getSelection().isCollapsed()?e.preventDefault():t.setClipboard(r(t._latestEditorState))}},46811:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(99986),a=n(25057),s=n(51702),c=n(89836);t.exports=function(t,e){var n,u=t._latestEditorState,l=u.getSelection(),p=e.target;if(l.isCollapsed())e.preventDefault();else{if(c(p)){var f=p;n=s(i.getScrollParent(f))}var d=a(u);t.setClipboard(d),t.setMode("cut"),setTimeout((function(){t.restoreEditorDOM(n),t.exitCurrentMode(),t.update(function(t){var e=r.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return o.push(t,e,"remove-range")}(u))}),0)}}},98451:t=>{"use strict";t.exports=function(t,e){t.setMode("drag"),e.preventDefault()}},15160:t=>{"use strict";t.exports=function(t){t._internalDrag=!0,t.setMode("drag")}},45313:(t,e,n)=>{"use strict";var r=n(46238),o=n(91355);t.exports=function(t,e){var n=t._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var a=i.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(e),o.isBrowser("Chrome < 60.0.3081.0")?t.update(r.forceSelection(n,a)):t.update(r.acceptSelection(n,a))}}},73078:(t,e,n)=>{"use strict";var r=n(84055),o=n(33638),i=n(46238),a=n(91355),s=n(50884).notEmptyKey,c=n(59321),u=n(19226),l=n(98392),p=a.isEngine("Gecko");t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var n=t.editor.ownerDocument.defaultView.getSelection(),a=n.anchorNode,f=n.isCollapsed,d=(null==a?void 0:a.nodeType)!==Node.TEXT_NODE&&(null==a?void 0:a.nodeType)!==Node.ELEMENT_NODE;if(null!=a&&!d){if(a.nodeType===Node.TEXT_NODE&&(null!==a.previousSibling||null!==a.nextSibling)){var h=a.parentNode;if(null==h)return;a.nodeValue=h.textContent;for(var g=h.firstChild;null!=g;g=g.nextSibling)g!==a&&h.removeChild(g)}var y=a.textContent,m=t._latestEditorState,v=l(c(a)),b=o.decode(v),_=b.blockKey,S=b.decoratorKey,w=b.leafKey,M=m.getBlockTree(_).getIn([S,"leaves",w]),E=M.start,k=M.end,x=m.getCurrentContent(),j=x.getBlockForKey(_),C=j.getText().slice(E,k);if(y.endsWith("\n\n")&&(y=y.slice(0,-1)),y!==C){var D,O,I,L,N=m.getSelection(),A=N.merge({anchorOffset:E,focusOffset:k,isBackward:!1}),T=j.getEntityAt(E),z=s(T)?x.getEntity(T):null,R="MUTABLE"===(null!=z?z.getMutability():null),P=R?"spellcheck-change":"apply-entity",B=r.replaceText(x,A,y,j.getInlineStyleAt(E),R?j.getEntityAt(E):null);if(p)D=n.anchorOffset,O=n.focusOffset,L=(I=E+Math.min(D,O))+Math.abs(D-O),D=I,O=L;else{var U=y.length-C.length;I=N.getStartOffset(),L=N.getEndOffset(),D=f?L+U:I,O=L+U}var F=B.merge({selectionBefore:x.getSelectionAfter(),selectionAfter:N.merge({anchorOffset:D,focusOffset:O})});t.update(i.push(m,F,P))}else{var K=e.nativeEvent.inputType;if(K){var H=function(t,e){return"deleteContentBackward"===t?u(e):e}(K,m);if(H!==m)return t.restoreEditorDOM(),void t.update(H)}}}}},63194:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(76944),a=n(7482),s=n(70069),c=n(91355),u=n(5218),l=n(63453),p=n(29683),f=n(47796),d=n(27380),h=n(24738),g=n(92172),y=n(19226),m=n(35394),v=n(95358),b=n(95649),_=i.isOptionKeyCommand,S=c.isBrowser("Chrome");t.exports=function(t,e){var n=e.which,i=t._latestEditorState;function c(n){var r=t.props[n];return!!r&&(r(e),!0)}switch(n){case a.RETURN:if(e.preventDefault(),t.props.handleReturn&&u(t.props.handleReturn(e,i)))return;break;case a.ESC:if(e.preventDefault(),c("onEscape"))return;break;case a.TAB:if(c("onTab"))return;break;case a.UP:if(c("onUpArrow"))return;break;case a.RIGHT:if(c("onRightArrow"))return;break;case a.DOWN:if(c("onDownArrow"))return;break;case a.LEFT:if(c("onLeftArrow"))return;break;case a.SPACE:S&&_(e)&&e.preventDefault()}var w=t.props.keyBindingFn(e);if(null!=w&&""!==w)if("undo"!==w){if(e.preventDefault(),!t.props.handleKeyCommand||!u(t.props.handleKeyCommand(w,i,e.timeStamp))){var M=function(t,e,n){switch(t){case"redo":return o.redo(e);case"delete":return m(e);case"delete-word":return f(e);case"backspace":return y(e);case"backspace-word":return p(e);case"backspace-to-start-of-line":return l(e,n);case"split-block":return d(e);case"transpose-characters":return v(e);case"move-selection-to-start-of-block":return g(e);case"move-selection-to-end-of-block":return h(e);case"secondary-cut":return s.cut(e);case"secondary-paste":return s.paste(e);default:return e}}(w,i,e);M!==i&&t.update(M)}}else b(e,i,t.update);else if(n===a.SPACE&&S&&_(e)){var E=r.replaceText(i.getCurrentContent(),i.getSelection()," ");t.update(o.push(i,E,"insert-characters"))}}},88924:(t,e,n)=>{"use strict";var r=n(38046),o=n(28),i=n(97880),a=n(84055),s=n(17605),c=n(46238),u=n(93626),l=n(34483),p=n(26288),f=n(5218),d=n(39347);function h(t,e,n){var r=a.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return c.push(t,r.set("entityMap",n),"insert-fragment")}t.exports=function(t,e){e.preventDefault();var n=new i(e.clipboardData);if(!n.isRichText()){var g=n.getFiles(),y=n.getText();if(g.length>0){if(t.props.handlePastedFiles&&f(t.props.handlePastedFiles(g)))return;return void p(g,(function(e){if(e=e||y){var n=t._latestEditorState,i=d(e),p=o.create({style:n.getCurrentInlineStyle(),entity:l(n.getCurrentContent(),n.getSelection())}),f=u.getCurrentBlockType(n),h=s.processText(i,p,f),g=r.createFromArray(h),m=a.replaceWithFragment(n.getCurrentContent(),n.getSelection(),g);t.update(c.push(n,m,"insert-fragment"))}}))}}var m=[],v=n.getText(),b=n.getHTML(),_=t._latestEditorState;if(t.props.formatPastedText){var S=t.props.formatPastedText(v,b);v=S.text,b=S.html}if(!t.props.handlePastedText||!f(t.props.handlePastedText(v,b,_))){if(v&&(m=d(v)),!t.props.stripPastedStyles){var w,M=t.getClipboard();if(!t.props.formatPastedText&&n.isRichText()&&M){if(-1!==(null===(w=b)||void 0===w?void 0:w.indexOf(t.getEditorKey()))||1===m.length&&1===M.size&&M.first().getText()===v)return void t.update(h(t._latestEditorState,M))}else if(M&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(t,e){return t.length===e.size&&e.valueSeq().every((function(e,n){return e.getText()===t[n]}))}(m,M))return void t.update(h(t._latestEditorState,M));if(b){var E=s.processHTML(b,t.props.blockRenderMap);if(E){var k=E.contentBlocks,x=E.entityMap;if(k){var j=r.createFromArray(k);return void t.update(h(t._latestEditorState,j,x))}}}t.setClipboard(null)}if(m.length){var C=o.create({style:_.getCurrentInlineStyle(),entity:l(_.getCurrentContent(),_.getSelection())}),D=u.getCurrentBlockType(_),O=s.processText(m,C,D),I=r.createFromArray(O);t.update(h(t._latestEditorState,I))}}}},31611:(t,e,n)=>{"use strict";var r=n(31532),o=n(46238),i=n(23357),a=n(62263);t.exports=function(t){if(t._blockSelectEvents||t._latestEditorState!==t.props.editorState){if(t._blockSelectEvents){var e=t.props.editorState.getSelection();r.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(e.toJS())})}}else{var n=t.props.editorState,s=a(n,i(t)),c=s.selectionState;c!==n.getSelection()&&(n=s.needsRecovery?o.forceSelection(n,c):o.acceptSelection(n,c),t.update(n))}}},84963:(t,e,n)=>{"use strict";var r=n(56588),o=n(13820).strlen;t.exports=function(t,e){var n=[];return t.findEntityRanges((function(t){return!!t.getEntity()}),(function(i,a){var s=t.getText(),c=t.getEntityAt(i);n.push({offset:o(s.slice(0,i)),length:o(s.slice(i,a)),key:Number(e[r.stringify(c)])})})),n}},63384:(t,e,n)=>{"use strict";var r=n(13820),o=n(90754),i=function(t,e){return t===e},a=function(t){return!!t},s=[];t.exports=function(t){var e=t.getCharacterList().map((function(t){return t.getStyle()})).toList(),n=e.flatten().toSet().map((function(n){return function(t,e,n){var s=[],c=e.map((function(t){return t.has(n)})).toList();return o(c,i,a,(function(e,o){var i=t.getText();s.push({offset:r.strlen(i.slice(0,e)),length:r.strlen(i.slice(e,o)),style:n})})),s}(t,e,n)}));return Array.prototype.concat.apply(s,n.toJS())}},96107:(t,e,n)=>{"use strict";var r=n(13820),o=n(45653),i=n(74468),a=n(73012);function s(t,e){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a<t.length;a++){var s=t[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),r=Math.min(r,s.bottom),o=Math.max(o,s.top),i=Math.max(i,s.bottom))}return o<=r&&o-n<e&&i-r<e}function c(t){switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return t.length;default:return t.childNodes.length}}t.exports=function(t){t.collapsed||a(!1);var e=(t=t.cloneRange()).startContainer;1!==e.nodeType&&(e=e.parentNode);var n=function(t){var e=getComputedStyle(t),n=o(t),r=n.createElement("div");r.style.fontFamily=e.fontFamily,r.style.fontSize=e.fontSize,r.style.fontStyle=e.fontStyle,r.style.fontWeight=e.fontWeight,r.style.lineHeight=e.lineHeight,r.style.position="absolute",r.textContent="M";var i=n.body;i||a(!1),i.appendChild(r);var s=r.getBoundingClientRect();return i.removeChild(r),s.height}(e),u=t.endContainer,l=t.endOffset;for(t.setStart(t.startContainer,0);s(i(t),n)&&(u=t.startContainer,l=t.startOffset,u.parentNode||a(!1),t.setStartBefore(u),1!==u.nodeType||"inline"===getComputedStyle(u).display););for(var p=u,f=l-1;;){for(var d=p.nodeValue,h=f;h>=0;h--)if(!(null!=d&&h>0&&r.isSurrogatePair(d,h-1))){if(t.setStart(p,h),!s(i(t),n))break;u=p,l=h}if(-1===h||0===p.childNodes.length)break;f=c(p=p.childNodes[h])}return t.setStart(u,l),t}},59321:(t,e,n)=>{"use strict";var r=n(45653),o=n(6244);t.exports=function(t){for(var e=t;e&&e!==r(t).documentElement;){var n=o(e);if(null!=n)return n;e=e.parentNode}return null}},90754:t=>{"use strict";t.exports=function(t,e,n,r){if(t.size){var o=0;t.reduce((function(t,i,a){return e(t,i)||(n(t)&&r(o,a),o=a),i})),n(t.last())&&r(o,t.count())}}},84894:t=>{"use strict";var e={},n=Math.pow(2,24);t.exports=function(){for(var t;void 0===t||e.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*n).toString(32);return e[t]=!0,t}},3022:(t,e,n)=>{"use strict";var r=n(19142),o=n(21622),i=n(73012);function a(t,e,n,a,s,c,u){var l=n.getStartOffset(),p=n.getEndOffset(),f=t.__get(s).getMutability(),d=u?l:p;if("MUTABLE"===f)return n;var h=o(e,s).filter((function(t){return d<=t.end&&d>=t.start}));1!=h.length&&i(!1);var g=h[0];if("IMMUTABLE"===f)return n.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1});c||(u?p=g.end:l=g.start);var y=r.getRemovalRange(l,p,e.getText().slice(g.start,g.end),g.start,a);return n.merge({anchorOffset:y.start,focusOffset:y.end,isBackward:!1})}t.exports=function(t,e,n,r,o){var i=r.getStartOffset(),s=r.getEndOffset(),c=e.getEntityAt(i),u=n.getEntityAt(s-1);if(!c&&!u)return r;var l=r;if(c&&c===u)l=a(t,e,l,o,c,!0,!0);else if(c&&u){var p=a(t,e,l,o,c,!1,!0),f=a(t,n,l,o,u,!1,!1);l=l.merge({anchorOffset:p.getAnchorOffset(),focusOffset:f.getFocusOffset(),isBackward:!1})}else if(c){var d=a(t,e,l,o,c,!1,!0);l=l.merge({anchorOffset:d.getStartOffset(),isBackward:!1})}else if(u){var h=a(t,n,l,o,u,!1,!1);l=l.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return l}},23357:(t,e,n)=>{"use strict";var r=n(73012),o=n(8187);t.exports=function(t){var e=t.editorContainer;return e||r(!1),o(e.firstChild)||r(!1),e.firstChild}},58364:(t,e,n)=>{"use strict";var r=n(58064),o=n(77506);t.exports=function(t,e){var n=e.getStartKey(),i=e.getStartOffset(),a=e.getEndKey(),s=e.getEndOffset(),c=o(t,e).getBlockMap(),u=c.keySeq(),l=u.indexOf(n),p=u.indexOf(a)+1;return r(c.slice(l,p).map((function(t,e){var r=t.getText(),o=t.getCharacterList();return n===a?t.merge({text:r.slice(i,s),characterList:o.slice(i,s)}):e===n?t.merge({text:r.slice(i),characterList:o.slice(i)}):e===a?t.merge({text:r.slice(0,s),characterList:o.slice(0,s)}):t})))}},45653:t=>{"use strict";t.exports=function(t){return t&&t.ownerDocument?t.ownerDocument:document}},91741:(t,e,n)=>{"use strict";var r=n(76944),o=n(7482),i=n(91355),a=i.isPlatform("Mac OS X"),s=a&&i.isBrowser("Firefox < 29"),c=r.hasCommandModifier,u=r.isCtrlKeyCommand;function l(t){return a&&t.altKey||u(t)}t.exports=function(t){switch(t.keyCode){case 66:return c(t)?"bold":null;case 68:return u(t)?"delete":null;case 72:return u(t)?"backspace":null;case 73:return c(t)?"italic":null;case 74:return c(t)?"code":null;case 75:return a&&u(t)?"secondary-cut":null;case 77:case 79:return u(t)?"split-block":null;case 84:return a&&u(t)?"transpose-characters":null;case 85:return c(t)?"underline":null;case 87:return a&&u(t)?"backspace-word":null;case 89:return u(t)?a?"secondary-paste":"redo":null;case 90:return function(t){return c(t)?t.shiftKey?"redo":"undo":null}(t)||null;case o.RETURN:return"split-block";case o.DELETE:return function(t){return!a&&t.shiftKey?null:l(t)?"delete-word":"delete"}(t);case o.BACKSPACE:return function(t){return c(t)&&a?"backspace-to-start-of-line":l(t)?"backspace-word":"backspace"}(t);case o.LEFT:return s&&c(t)?"move-selection-to-start-of-block":null;case o.RIGHT:return s&&c(t)?"move-selection-to-end-of-block":null;default:return null}}},62263:(t,e,n)=>{"use strict";var r=n(97222);t.exports=function(t,e){var n=e.ownerDocument.defaultView.getSelection(),o=n.anchorNode,i=n.anchorOffset,a=n.focusNode,s=n.focusOffset;return 0===n.rangeCount||null==o||null==a?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:r(t,e,o,i,a,s)}},97222:(t,e,n)=>{"use strict";var r=n(59321),o=n(6244),i=n(39433),a=n(73012),s=n(23833),c=n(98392);function u(t,e,n){var i=e,u=r(i);if(null!=u||t&&(t===i||t.firstChild===i)||a(!1),t===i&&(i=i.firstChild,s(i)||a(!1),"true"!==i.getAttribute("data-contents")&&a(!1),n>0&&(n=i.childNodes.length)),0===n){var p=null;if(null!=u)p=u;else{var f=function(t){for(;t.firstChild&&(s(t.firstChild)&&"true"===t.firstChild.getAttribute("data-blocks")||o(t.firstChild));)t=t.firstChild;return t}(i);p=c(o(f))}return{key:p,offset:0}}var d=i.childNodes[n-1],h=null,g=null;if(o(d)){var y=function(t){for(;t.lastChild&&(s(t.lastChild)&&"true"===t.lastChild.getAttribute("data-blocks")||o(t.lastChild));)t=t.lastChild;return t}(d);h=c(o(y)),g=l(y)}else h=c(u),g=l(d);return{key:h,offset:g}}function l(t){var e=t.textContent;return"\n"===e?0:e.length}t.exports=function(t,e,n,o,a,s){var l=n.nodeType===Node.TEXT_NODE,p=a.nodeType===Node.TEXT_NODE;if(l&&p)return{selectionState:i(t,c(r(n)),o,c(r(a)),s),needsRecovery:!1};var f=null,d=null,h=!0;return l?(f={key:c(r(n)),offset:o},d=u(e,a,s)):p?(d={key:c(r(a)),offset:s},f=u(e,n,o)):(f=u(e,n,o),d=u(e,a,s),n===a&&o===s&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:i(t,f.key,f.offset,d.key,d.offset),needsRecovery:h}}},34483:(t,e,n)=>{"use strict";var r=n(50884).notEmptyKey;function o(t,e){return r(e)&&"MUTABLE"===t.__get(e).getMutability()?e:null}t.exports=function(t,e){var n;if(e.isCollapsed()){var r=e.getAnchorKey(),i=e.getAnchorOffset();return i>0?(n=t.getBlockForKey(r).getEntityAt(i-1))!==t.getBlockForKey(r).getEntityAt(i)?null:o(t.getEntityMap(),n):null}var a=e.getStartKey(),s=e.getStartOffset(),c=t.getBlockForKey(a);return n=s===c.getLength()?null:c.getEntityAt(s),o(t.getEntityMap(),n)}},25057:(t,e,n)=>{"use strict";var r=n(58364);t.exports=function(t){var e=t.getSelection();return e.isCollapsed()?null:r(t.getCurrentContent(),e)}},2839:(t,e,n)=>{"use strict";var r=n(47724);t.exports=function(t,e){if(!(t instanceof r))return null;var n=t.getNextSiblingKey();if(n)return n;var o=t.getParentKey();if(!o)return null;for(var i=e.get(o);i&&!i.getNextSiblingKey();){var a=i.getParentKey();i=a?e.get(a):null}return i?i.getNextSiblingKey():null}},14723:t=>{"use strict";t.exports=function(t){return Object.keys(t).map((function(e){return t[e]}))}},50959:(t,e,n)=>{"use strict";var r=n(74468);t.exports=function(t){var e=r(t),n=0,o=0,i=0,a=0;if(e.length){if(e.length>1&&0===e[0].width){var s=e[1];n=s.top,o=s.right,i=s.bottom,a=s.left}else{var c=e[0];n=c.top,o=c.right,i=c.bottom,a=c.left}for(var u=1;u<e.length;u++){var l=e[u];0!==l.height&&0!==l.width&&(n=Math.min(n,l.top),o=Math.max(o,l.right),i=Math.max(i,l.bottom),a=Math.min(a,l.left))}}return{top:n,right:o,bottom:i,left:a,width:o-a,height:i-n}}},74468:(t,e,n)=>{"use strict";var r=n(91355),o=n(73012),i=r.isBrowser("Chrome")?function(t){for(var e=t.cloneRange(),n=[],r=t.endContainer;null!=r;r=r.parentNode){var i=r===t.commonAncestorContainer;i?e.setStart(t.startContainer,t.startOffset):e.setStart(e.endContainer,0);var a,s=Array.from(e.getClientRects());if(n.push(s),i)return n.reverse(),(a=[]).concat.apply(a,n);e.setEndBefore(r)}o(!1)}:function(t){return Array.from(t.getClientRects())};t.exports=i},21622:(t,e,n)=>{"use strict";var r=n(73012);t.exports=function(t,e){var n=[];return t.findEntityRanges((function(t){return t.getEntity()===e}),(function(t,e){n.push({start:t,end:e})})),n.length||r(!1),n}},27917:(t,e,n)=>{"use strict";var r=n(91355),o=n(73012),i=r.isBrowser("IE <= 9");t.exports=function(t){var e,n=null;return!i&&document.implementation&&document.implementation.createHTMLDocument&&((e=document.implementation.createHTMLDocument("foo")).documentElement||o(!1),e.documentElement.innerHTML=t,n=e.getElementsByTagName("body")[0]),n}},6244:(t,e,n)=>{"use strict";var r=n(23833);t.exports=function t(e){if(r(e)){var n=e,o=n.getAttribute("data-offset-key");if(o)return o;for(var i=0;i<n.childNodes.length;i++){var a=t(n.childNodes[i]);if(a)return a}}return null}},26288:(t,e,n)=>{"use strict";var r=n(73012),o=/\.textClipping$/,i={"text/plain":!0,"text/html":!0,"text/rtf":!0};t.exports=function(t,e){var a=0,s=[];t.forEach((function(c){!function(t,e){if(!n.g.FileReader||t.type&&!(t.type in i))e("");else{if(""===t.type){var a="";return o.test(t.name)&&(a=t.name.replace(o,"")),void e(a)}var s=new FileReader;s.onload=function(){var t=s.result;"string"!=typeof t&&r(!1),e(t)},s.onerror=function(){e("")},s.readAsText(t)}}(c,(function(n){a++,n&&s.push(n.slice(0,5e3)),a==t.length&&e(s.join("\r"))}))}))}},39433:(t,e,n)=>{"use strict";var r=n(33638),o=n(98392);t.exports=function(t,e,n,i,a){var s=o(t.getSelection());if(!e||!i)return s;var c=r.decode(e),u=c.blockKey,l=t.getBlockTree(u),p=l&&l.getIn([c.decoratorKey,"leaves",c.leafKey]),f=r.decode(i),d=f.blockKey,h=t.getBlockTree(d),g=h&&h.getIn([f.decoratorKey,"leaves",f.leafKey]);if(!p||!g)return s;var y=p.get("start"),m=g.get("start"),v=p?y+n:null,b=g?m+a:null;if(s.getAnchorKey()===u&&s.getAnchorOffset()===v&&s.getFocusKey()===d&&s.getFocusOffset()===b)return s;var _=!1;if(u===d){var S=p.get("end"),w=g.get("end");_=m===y&&w===S?a<n:m<y}else _=t.getCurrentContent().getBlockMap().keySeq().skipUntil((function(t){return t===u||t===d})).first()===d;return s.merge({anchorKey:u,anchorOffset:v,focusKey:d,focusOffset:b,isBackward:_})}},602:(t,e,n)=>{"use strict";var r=n(50959);t.exports=function(t){var e=t.getSelection();if(!e.rangeCount)return null;var n=e.getRangeAt(0),o=r(n),i=o.top,a=o.right,s=o.bottom,c=o.left;return 0===i&&0===a&&0===s&&0===c?null:o}},52868:t=>{"use strict";t.exports=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}},27936:t=>{"use strict";t.exports=function(t){return!("undefined"==typeof window||!window.__DRAFT_GKX||!window.__DRAFT_GKX[t])}},14719:(t,e,n)=>{"use strict";var r=n(38046),o=n(47724),i=n(18489),a=n(31226),s=n(73012),c=n(58064),u=i.List;t.exports=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";e.isCollapsed()||s(!1);var l=t.getBlockMap(),p=c(n),f=e.getStartKey(),d=e.getStartOffset(),h=l.get(f);return h instanceof o&&(h.getChildKeys().isEmpty()||s(!1)),1===p.size?function(t,e,n,r,o,i){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",c=n.get(o),u=c.getText(),l=c.getCharacterList(),p=o,f=i+r.getText().length,d=null;switch(s){case"MERGE_OLD_DATA_TO_NEW_DATA":d=r.getData().merge(c.getData());break;case"REPLACE_WITH_NEW_DATA":d=r.getData()}var h=c.getType();u&&"unstyled"===h&&(h=r.getType());var g=c.merge({text:u.slice(0,i)+r.getText()+u.slice(i),characterList:a(l,r.getCharacterList(),i),type:h,data:d});return t.merge({blockMap:n.set(o,g),selectionBefore:e,selectionAfter:e.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})}(t,e,l,p.first(),f,d,i):function(t,e,n,i,a,s){var c=n.first()instanceof o,l=[],p=i.size,f=n.get(a),d=i.first(),h=i.last(),g=h.getLength(),y=h.getKey(),m=c&&(!f.getChildKeys().isEmpty()||!d.getChildKeys().isEmpty());n.forEach((function(t,e){e===a?(m?l.push(t):l.push(function(t,e,n){var r=t.getText(),o=t.getCharacterList(),i=r.slice(0,e),a=o.slice(0,e),s=n.first();return t.merge({text:i+s.getText(),characterList:a.concat(s.getCharacterList()),type:i?t.getType():s.getType(),data:s.getData()})}(t,s,i)),i.slice(m?0:1,p-1).forEach((function(t){return l.push(t)})),l.push(function(t,e,n){var r=t.getText(),o=t.getCharacterList(),i=r.length,a=r.slice(e,i),s=o.slice(e,i),c=n.last();return c.merge({text:c.getText()+a,characterList:c.getCharacterList().concat(s),data:c.getData()})}(t,s,i))):l.push(t)}));var v=r.createFromArray(l);return c&&(v=function(t,e,n,r){return t.withMutations((function(e){var o=n.getKey(),i=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),c=function(t,e){var n=t.getKey(),r=t,o=[];for(e.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var i=r.getNextSiblingKey();if(!i)break;o.push(i),r=e.get(i)}return o}(r,t),l=c[c.length-1];if(e.get(i)?(e.setIn([o,"nextSibling"],i),e.setIn([i,"prevSibling"],o)):(e.setIn([o,"nextSibling"],r.getNextSiblingKey()),e.setIn([r.getNextSiblingKey(),"prevSibling"],o)),e.setIn([l,"nextSibling"],a),a&&e.setIn([a,"prevSibling"],l),c.forEach((function(t){return e.setIn([t,"parent"],s)})),s){var p=t.get(s).getChildKeys(),f=p.indexOf(o)+1,d=p.toArray();d.splice.apply(d,[f,0].concat(c)),e.setIn([s,"children"],u(d))}}))}(v,0,f,d)),t.merge({blockMap:v,selectionBefore:e,selectionAfter:e.merge({anchorKey:y,anchorOffset:g,focusKey:y,focusOffset:g,isBackward:!1})})}(t,e,l,p,f,d)}},31226:t=>{"use strict";t.exports=function(t,e,n){var r=t;if(n===r.count())e.forEach((function(t){r=r.push(t)}));else if(0===n)e.reverse().forEach((function(t){r=r.unshift(t)}));else{var o=r.slice(0,n),i=r.slice(n);r=o.concat(e,i).toList()}return r}},79585:(t,e,n)=>{"use strict";var r=n(18489),o=n(31226),i=n(73012),a=r.Repeat;t.exports=function(t,e,n,r){e.isCollapsed()||i(!1);var s=null;if(null!=n&&(s=n.length),null==s||0===s)return t;var c=t.getBlockMap(),u=e.getStartKey(),l=e.getStartOffset(),p=c.get(u),f=p.getText(),d=p.merge({text:f.slice(0,l)+n+f.slice(l,p.getLength()),characterList:o(p.getCharacterList(),a(r,s).toList(),l)}),h=l+s;return t.merge({blockMap:c.set(u,d),selectionAfter:e.merge({anchorOffset:h,focusOffset:h})})}},23833:t=>{"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&t.nodeType===Node.ELEMENT_NODE}},5218:t=>{"use strict";t.exports=function(t){return"handled"===t||!0===t}},19662:(t,e,n)=>{"use strict";var r=n(23833);t.exports=function(t){return!(!t||!t.ownerDocument)&&r(t)&&"A"===t.nodeName}},78659:(t,e,n)=>{"use strict";var r=n(23833);t.exports=function(t){return!(!t||!t.ownerDocument)&&r(t)&&"BR"===t.nodeName}},8187:t=>{"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&(t.ownerDocument.defaultView?t instanceof t.ownerDocument.defaultView.HTMLElement:t instanceof HTMLElement)}},9115:(t,e,n)=>{"use strict";var r=n(23833);t.exports=function(t){return!(!t||!t.ownerDocument)&&r(t)&&"IMG"===t.nodeName}},89836:t=>{"use strict";t.exports=function(t){if(!t||!("ownerDocument"in t))return!1;if("ownerDocument"in t){var e=t;if(!e.ownerDocument.defaultView)return e instanceof Node;if(e instanceof e.ownerDocument.defaultView.Node)return!0}return!1}},99322:t=>{"use strict";t.exports=function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=t.getBlockTree(n),o=e.getStartOffset(),i=!1;return r.some((function(t){return o===t.get("start")?(i=!0,!0):o<t.get("end")&&t.get("leaves").some((function(t){var e=t.get("start");return o===e&&(i=!0,!0)}))})),i}},18528:(t,e,n)=>{"use strict";var r=n(7482);t.exports=function(t){return t.which===r.RETURN&&(t.getModifierState("Shift")||t.getModifierState("Alt")||t.getModifierState("Control"))}},63453:(t,e,n)=>{"use strict";var r=n(46238),o=n(96107),i=n(97222),a=n(39443),s=n(26371);t.exports=function(t,e){var n=s(t,(function(t){var n=t.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return a(t,1);var r=e.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=o(r),i(t,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===t.getCurrentContent()?t:r.push(t,n,"remove-range")}},29683:(t,e,n)=>{"use strict";var r=n(81360),o=n(46238),i=n(39443),a=n(26371);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),n=e.getStartOffset();if(0===n)return i(t,1);var o=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(o).getText().slice(0,n),s=r.getBackward(a);return i(t,s.length||1)}),"backward");return e===t.getCurrentContent()?t:o.push(t,e,"remove-range")}},47796:(t,e,n)=>{"use strict";var r=n(81360),o=n(46238),i=n(95217),a=n(26371);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),n=e.getStartOffset(),o=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(o).getText().slice(n),s=r.getForward(a);return i(t,s.length||1)}),"forward");return e===t.getCurrentContent()?t:o.push(t,e,"remove-range")}},27380:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238);t.exports=function(t){var e=r.splitBlock(t.getCurrentContent(),t.getSelection());return o.push(t,e,"split-block")}},24738:(t,e,n)=>{"use strict";var r=n(46238);t.exports=function(t){var e=t.getSelection(),n=e.getEndKey(),o=t.getCurrentContent().getBlockForKey(n).getLength();return r.set(t,{selection:e.merge({anchorKey:n,anchorOffset:o,focusKey:n,focusOffset:o,isBackward:!1}),forceSelection:!0})}},92172:(t,e,n)=>{"use strict";var r=n(46238);t.exports=function(t){var e=t.getSelection(),n=e.getStartKey();return r.set(t,{selection:e.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}},19226:(t,e,n)=>{"use strict";var r=n(46238),o=n(13820),i=n(39443),a=n(26371);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),a=e.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a-1];return i(t,s?o.getUTF16Length(s,0):1)}),"backward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return r.push(t,e.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}},35394:(t,e,n)=>{"use strict";var r=n(46238),o=n(13820),i=n(95217),a=n(26371);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),a=e.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a];return i(t,s?o.getUTF16Length(s,0):1)}),"forward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return r.push(t,e.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}},95358:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(58364);t.exports=function(t){var e=t.getSelection();if(!e.isCollapsed())return t;var n=e.getAnchorOffset();if(0===n)return t;var a,s,c=e.getAnchorKey(),u=t.getCurrentContent(),l=u.getBlockForKey(c).getLength();if(l<=1)return t;n===l?(a=e.set("anchorOffset",n-1),s=e):s=(a=e.set("focusOffset",n+1)).set("anchorOffset",n+1);var p=i(u,a),f=r.removeRange(u,a,"backward"),d=f.getSelectionAfter(),h=d.getAnchorOffset()-1,g=d.merge({anchorOffset:h,focusOffset:h}),y=r.replaceWithFragment(f,g,p),m=o.push(t,y,"insert-fragment");return o.acceptSelection(m,s)}},95649:(t,e,n)=>{"use strict";var r=n(46238);t.exports=function(t,e,n){var o=r.undo(e);if("spellcheck-change"!==e.getLastChangeType())t.preventDefault(),e.getNativelyRenderedContent()?(n(r.set(e,{nativelyRenderedContent:null})),setTimeout((function(){n(o)}),0)):n(o);else{var i=o.getCurrentContent();n(r.set(o,{nativelyRenderedContent:i}))}}},37248:(t,e,n)=>{"use strict";var r=n(18489).Map;t.exports=function(t,e,n){var o=e.getStartKey(),i=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil((function(t,e){return e===o})).takeUntil((function(t,e){return e===i})).concat(r([[i,a.get(i)]])).map(n);return t.merge({blockMap:a.merge(s),selectionBefore:e,selectionAfter:e})}},58710:(t,e,n)=>{"use strict";var r=n(47724),o=n(2839),i=n(18489),a=n(73012),s=i.OrderedMap,c=i.List,u=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}},l=function(t,e,n,r,o){if(!o)return t;var i="after"===r,a=e.getKey(),s=n.getKey(),l=e.getParentKey(),p=e.getNextSiblingKey(),f=e.getPrevSiblingKey(),d=n.getParentKey(),h=i?n.getNextSiblingKey():s,g=i?s:n.getPrevSiblingKey();return t.withMutations((function(t){u(l,t,(function(t){var e=t.getChildKeys();return t.merge({children:e.delete(e.indexOf(a))})})),u(f,t,(function(t){return t.merge({nextSibling:p})})),u(p,t,(function(t){return t.merge({prevSibling:f})})),u(h,t,(function(t){return t.merge({prevSibling:a})})),u(g,t,(function(t){return t.merge({nextSibling:a})})),u(d,t,(function(t){var e=t.getChildKeys(),n=e.indexOf(s),r=i?n+1:0!==n?n-1:0,o=e.toArray();return o.splice(r,0,a),t.merge({children:c(o)})})),u(a,t,(function(t){return t.merge({nextSibling:h,prevSibling:g,parent:d})}))}))};t.exports=function(t,e,n,i){"replace"===i&&a(!1);var c=n.getKey(),u=e.getKey();u===c&&a(!1);var p=t.getBlockMap(),f=e instanceof r,d=[e],h=p.delete(u);f&&(d=[],h=p.withMutations((function(t){var n=e.getNextSiblingKey(),r=o(e,t);t.toSeq().skipUntil((function(t){return t.getKey()===u})).takeWhile((function(t){var e=t.getKey(),o=e===u,i=n&&e!==n,a=!n&&t.getParentKey()&&(!r||e!==r);return!!(o||i||a)})).forEach((function(e){d.push(e),t.delete(e.getKey())}))})));var g=h.toSeq().takeUntil((function(t){return t===n})),y=h.toSeq().skipUntil((function(t){return t===n})).skip(1),m=d.map((function(t){return[t.getKey(),t]})),v=s();if("before"===i){var b=t.getBlockBefore(c);b&&b.getKey()===e.getKey()&&a(!1),v=g.concat([].concat(m,[[c,n]]),y).toOrderedMap()}else if("after"===i){var _=t.getBlockAfter(c);_&&_.getKey()===u&&a(!1),v=g.concat([[c,n]].concat(m),y).toOrderedMap()}return t.merge({blockMap:l(v,e,n,i,f),selectionBefore:t.getSelectionAfter(),selectionAfter:t.getSelectionAfter().merge({anchorKey:u,focusKey:u})})}},39443:(t,e,n)=>{"use strict";n(85806),t.exports=function(t,e){var n=t.getSelection(),r=t.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,s=0;if(e>i){var c=r.getKeyBefore(o);null==c?a=o:(a=c,s=r.getBlockForKey(c).getText().length)}else s=i-e;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}},95217:(t,e,n)=>{"use strict";n(85806),t.exports=function(t,e){var n,r=t.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=t.getCurrentContent(),s=o;return e>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+e,r.merge({focusKey:s,focusOffset:n})}},58064:(t,e,n)=>{"use strict";var r=n(47724),o=n(84894),i=n(18489).OrderedMap;t.exports=function(t){return t.first()instanceof r?function(t){var e,n={};return i(t.withMutations((function(t){t.forEach((function(r,i){var a=r.getKey(),s=r.getNextSiblingKey(),c=r.getPrevSiblingKey(),u=r.getChildKeys(),l=r.getParentKey(),p=o();if(n[a]=p,s&&(t.get(s)?t.setIn([s,"prevSibling"],p):t.setIn([a,"nextSibling"],null)),c&&(t.get(c)?t.setIn([c,"nextSibling"],p):t.setIn([a,"prevSibling"],null)),l&&t.get(l)){var f=t.get(l).getChildKeys();t.setIn([l,"children"],f.set(f.indexOf(r.getKey()),p))}else t.setIn([a,"parent"],null),e&&(t.setIn([e.getKey(),"nextSibling"],p),t.setIn([a,"prevSibling"],n[e.getKey()])),e=t.get(a);u.forEach((function(e){t.get(e)?t.setIn([e,"parent"],p):t.setIn([a,"children"],r.getChildKeys().filter((function(t){return t!==e})))}))}))})).toArray().map((function(t){return[n[t.getKey()],t.set("key",n[t.getKey()])]})))}(t):function(t){return i(t.toArray().map((function(t){var e=o();return[e,t.set("key",e)]})))}(t)}},77506:(t,e,n)=>{"use strict";var r=n(28),o=n(90754),i=n(73012);function a(t,e,n){var a=e.getCharacterList(),s=n>0?a.get(n-1):void 0,c=n<a.count()?a.get(n):void 0,u=s?s.getEntity():void 0,l=c?c.getEntity():void 0;if(l&&l===u&&"MUTABLE"!==t.__get(l).getMutability()){for(var p,f=function(t,e,n){var r;return o(t,(function(t,e){return t.getEntity()===e.getEntity()}),(function(t){return t.getEntity()===e}),(function(t,e){t<=n&&e>=n&&(r={start:t,end:e})})),"object"!=typeof r&&i(!1),r}(a,l,n),d=f.start,h=f.end;d<h;)p=a.get(d),a=a.set(d,r.applyEntity(p,null)),d++;return e.set("characterList",a)}return e}t.exports=function(t,e){var n=t.getBlockMap(),r=t.getEntityMap(),o={},i=e.getStartKey(),s=e.getStartOffset(),c=n.get(i),u=a(r,c,s);u!==c&&(o[i]=u);var l=e.getEndKey(),p=e.getEndOffset(),f=n.get(l);i===l&&(f=u);var d=a(r,f,p);return d!==f&&(o[l]=d),Object.keys(o).length?t.merge({blockMap:n.merge(o),selectionAfter:e}):t.set("selectionAfter",e)}},12269:(t,e,n)=>{"use strict";var r=n(47724),o=n(2839),i=n(18489),a=(i.List,i.Map),s=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}},c=function(t,e){var n=[];if(!t)return n;for(var r=e.get(t);r&&r.getParentKey();){var o=r.getParentKey();o&&n.push(o),r=o?e.get(o):null}return n},u=function(t,e,n){if(!t)return null;for(var r=n.get(t.getKey()).getNextSiblingKey();r&&!e.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},l=function(t,e,n){if(!t)return null;for(var r=n.get(t.getKey()).getPrevSiblingKey();r&&!e.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r};t.exports=function(t,e){if(e.isCollapsed())return t;var n,i=t.getBlockMap(),p=e.getStartKey(),f=e.getStartOffset(),d=e.getEndKey(),h=e.getEndOffset(),g=i.get(p),y=i.get(d),m=g instanceof r,v=[];if(m){var b=y.getChildKeys(),_=c(d,i);y.getNextSiblingKey()&&(v=v.concat(_)),b.isEmpty()||(v=v.concat(_.concat([d]))),v=v.concat(c(o(y,i),i))}n=g===y?function(t,e,n){if(0===e)for(;e<n;)t=t.shift(),e++;else if(n===t.count())for(;n>e;)t=t.pop(),n--;else{var r=t.slice(0,e),o=t.slice(n);t=r.concat(o).toList()}return t}(g.getCharacterList(),f,h):g.getCharacterList().slice(0,f).concat(y.getCharacterList().slice(h));var S=g.merge({text:g.getText().slice(0,f)+y.getText().slice(h),characterList:n}),w=m&&0===f&&0===h&&y.getParentKey()===p&&null==y.getPrevSiblingKey()?a([[p,null]]):i.toSeq().skipUntil((function(t,e){return e===p})).takeUntil((function(t,e){return e===d})).filter((function(t,e){return-1===v.indexOf(e)})).concat(a([[d,null]])).map((function(t,e){return e===p?S:null})),M=i.merge(w).filter((function(t){return!!t}));return m&&g!==y&&(M=function(t,e,n,r){return t.withMutations((function(i){if(s(e.getKey(),i,(function(t){return t.merge({nextSibling:u(t,i,r),prevSibling:l(t,i,r)})})),s(n.getKey(),i,(function(t){return t.merge({nextSibling:u(t,i,r),prevSibling:l(t,i,r)})})),c(e.getKey(),r).forEach((function(t){return s(t,i,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return i.get(t)})),nextSibling:u(t,i,r),prevSibling:l(t,i,r)})}))})),s(e.getNextSiblingKey(),i,(function(t){return t.merge({prevSibling:e.getPrevSiblingKey()})})),s(e.getPrevSiblingKey(),i,(function(t){return t.merge({nextSibling:u(t,i,r)})})),s(n.getNextSiblingKey(),i,(function(t){return t.merge({prevSibling:l(t,i,r)})})),s(n.getPrevSiblingKey(),i,(function(t){return t.merge({nextSibling:n.getNextSiblingKey()})})),c(n.getKey(),r).forEach((function(t){s(t,i,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return i.get(t)})),nextSibling:u(t,i,r),prevSibling:l(t,i,r)})}))})),function(t,e){var n=[];if(!t)return n;for(var r=o(t,e);r&&e.get(r);){var i=e.get(r);n.push(r),r=i.getParentKey()?o(i,e):null}return n}(n,r).forEach((function(t){return s(t,i,(function(t){return t.merge({nextSibling:u(t,i,r),prevSibling:l(t,i,r)})}))})),null==t.get(e.getKey())&&null!=t.get(n.getKey())&&n.getParentKey()===e.getKey()&&null==n.getPrevSiblingKey()){var a=e.getPrevSiblingKey();s(n.getKey(),i,(function(t){return t.merge({prevSibling:a})})),s(a,i,(function(t){return t.merge({nextSibling:n.getKey()})}));var p=a?t.get(a):null,f=p?p.getParentKey():null;if(e.getChildKeys().forEach((function(t){s(t,i,(function(t){return t.merge({parent:f})}))})),null!=f){var d=t.get(f);s(f,i,(function(t){return t.merge({children:d.getChildKeys().concat(e.getChildKeys())})}))}s(e.getChildKeys().find((function(e){return null===t.get(e).getNextSiblingKey()})),i,(function(t){return t.merge({nextSibling:e.getNextSiblingKey()})}))}}))}(M,g,y,i)),t.merge({blockMap:M,selectionBefore:e,selectionAfter:e.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})}},26371:(t,e,n)=>{"use strict";var r=n(84055),o=n(27936)("draft_tree_data_support");t.exports=function(t,e,n){var i=t.getSelection(),a=t.getCurrentContent(),s=i,c=i.getAnchorKey(),u=i.getFocusKey(),l=a.getBlockForKey(c);if(o&&"forward"===n&&c!==u)return a;if(i.isCollapsed()){if("forward"===n){if(t.isSelectionAtEndOfContent())return a;if(o&&i.getAnchorOffset()===a.getBlockForKey(c).getLength()){var p=a.getBlockForKey(l.nextSibling);if(!p||0===p.getLength())return a}}else if(t.isSelectionAtStartOfContent())return a;if((s=e(t))===i)return a}return r.removeRange(a,s,n)}},24844:t=>{"use strict";var e=new RegExp("\r","g");t.exports=function(t){return t.replace(e,"")}},46064:(t,e,n)=>{"use strict";var r=n(62599),o=n(31532),i=n(91355),a=n(61530),s=n(16838),c=n(45653),u=n(73012),l=n(23833),p=i.isBrowser("IE");function f(t,e){if(!t)return"[empty]";var n=d(t,e);return n.nodeType===Node.TEXT_NODE?n.textContent:(l(n)||u(!1),n.outerHTML)}function d(t,e){var n=void 0!==e?e(t):[];if(t.nodeType===Node.TEXT_NODE){var r=t.textContent.length;return c(t).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var o=t.cloneNode();1===o.nodeType&&n.length&&o.setAttribute("data-labels",n.join(", "));for(var i=t.childNodes,a=0;a<i.length;a++)o.appendChild(d(i[a],e));return o}function h(t,e){for(var n=t,r=n;n;){if(l(n)&&r.hasAttribute("contenteditable"))return f(n,e);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function g(t){return null===t.nodeValue?t.childNodes.length:t.nodeValue.length}function y(t,e,n,r){var i=s();if(t.extend&&null!=e&&a(i,e)){n>g(e)&&o.logSelectionStateFailure({anonymizedDom:h(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var c=e===t.focusNode;try{t.rangeCount>0&&t.extend&&t.extend(e,n)}catch(a){throw o.logSelectionStateFailure({anonymizedDom:h(e,(function(e){var n=[];return e===i&&n.push("active element"),e===t.anchorNode&&n.push("selection anchor node"),e===t.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:i?i.nodeName:null,nodeIsFocus:e===t.focusNode,nodeWasFocus:c,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(r.toJS(),null,2)}),a}}else if(e&&t.rangeCount>0){var u=t.getRangeAt(0);u.setEnd(e,n),t.addRange(u.cloneRange())}}function m(t,e,n,i){var a=c(e).createRange();if(n>g(e)&&(o.logSelectionStateFailure({anonymizedDom:h(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.handleExtensionCausedError()),a.setStart(e,n),p)try{t.addRange(a)}catch(t){}else t.addRange(a)}t.exports={setDraftEditorSelection:function(t,e,n,r,o){var i=c(e);if(a(i.documentElement,e)){var s=i.defaultView.getSelection(),u=t.getAnchorKey(),l=t.getAnchorOffset(),p=t.getFocusKey(),f=t.getFocusOffset(),d=t.getIsBackward();if(!s.extend&&d){var h=u,g=l;u=p,l=f,p=h,f=g,d=!1}var v=u===n&&r<=l&&o>=l,b=p===n&&r<=f&&o>=f;if(v&&b)return s.removeAllRanges(),m(s,e,l-r,t),void y(s,e,f-r,t);if(d){if(b&&(s.removeAllRanges(),m(s,e,f-r,t)),v){var _=s.focusNode,S=s.focusOffset;s.removeAllRanges(),m(s,e,l-r,t),y(s,_,S,t)}}else v&&(s.removeAllRanges(),m(s,e,l-r,t)),b&&y(s,e,f-r,t)}},addFocusToSelection:y}},70774:(t,e,n)=>{"use strict";var r=n(47724),o=n(84894),i=n(18489),a=n(73012),s=n(37248),c=i.List,u=i.Map,l=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}};t.exports=function(t,e){e.isCollapsed()||a(!1);var n=e.getAnchorKey(),i=t.getBlockMap(),p=i.get(n),f=p.getText();if(!f){var d=p.getType();if("unordered-list-item"===d||"ordered-list-item"===d)return s(t,e,(function(t){return t.merge({type:"unstyled",depth:0})}))}var h=e.getAnchorOffset(),g=p.getCharacterList(),y=o(),m=p instanceof r,v=p.merge({text:f.slice(0,h),characterList:g.slice(0,h)}),b=v.merge({key:y,text:f.slice(h),characterList:g.slice(h),data:u()}),_=i.toSeq().takeUntil((function(t){return t===p})),S=i.toSeq().skipUntil((function(t){return t===p})).rest(),w=_.concat([[n,v],[y,b]],S).toOrderedMap();return m&&(p.getChildKeys().isEmpty()||a(!1),w=function(t,e,n){return t.withMutations((function(t){var r=e.getKey(),o=n.getKey();l(e.getParentKey(),t,(function(t){var e=t.getChildKeys(),n=e.indexOf(r)+1,i=e.toArray();return i.splice(n,0,o),t.merge({children:c(i)})})),l(e.getNextSiblingKey(),t,(function(t){return t.merge({prevSibling:o})})),l(r,t,(function(t){return t.merge({nextSibling:o})})),l(o,t,(function(t){return t.merge({prevSibling:r})}))}))}(w,v,b)),t.merge({blockMap:w,selectionBefore:e,selectionAfter:e.merge({anchorKey:y,anchorOffset:0,focusKey:y,focusOffset:0,isBackward:!1})})}},39347:t=>{"use strict";var e=/\r\n?|\n/g;t.exports=function(t){return t.split(e)}},44231:t=>{"use strict";t.exports=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}},18489:function(t){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return a(t)?t:Q(t)}function r(t){return s(t)?t:Z(t)}function o(t){return c(t)?t:V(t)}function i(t){return a(t)&&!u(t)?t:G(t)}function a(t){return!(!t||!t[p])}function s(t){return!(!t||!t[f])}function c(t){return!(!t||!t[d])}function u(t){return s(t)||c(t)}function l(t){return!(!t||!t[h])}e(r,n),e(o,n),e(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=c,n.isAssociative=u,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=i;var p="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",d="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g="delete",y=5,m=1<<y,v=m-1,b={},_={value:!1},S={value:!1};function w(t){return t.value=!1,t}function M(t){t&&(t.value=!0)}function E(){}function k(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o<n;o++)r[o]=t[o+e];return r}function x(t){return void 0===t.size&&(t.size=t.__iterate(C)),t.size}function j(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?x(t)+e:e}function C(){return!0}function D(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function O(t,e){return L(t,e,0)}function I(t,e){return L(t,e,e)}function L(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var N=0,A=1,T=2,z="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",P=z||R;function B(t){this.next=t}function U(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function F(){return{value:void 0,done:!0}}function K(t){return!!Y(t)}function H(t){return t&&"function"==typeof t.next}function q(t){var e=Y(t);return e&&e.call(t)}function Y(t){var e=t&&(z&&t[z]||t[R]);if("function"==typeof e)return e}function W(t){return t&&"number"==typeof t.length}function Q(t){return null==t?at():a(t)?t.toSeq():function(t){var e=ut(t)||"object"==typeof t&&new nt(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function Z(t){return null==t?at().toKeyedSeq():a(t)?s(t)?t.toSeq():t.fromEntrySeq():st(t)}function V(t){return null==t?at():a(t)?s(t)?t.entrySeq():t.toIndexedSeq():ct(t)}function G(t){return(null==t?at():a(t)?s(t)?t.entrySeq():t:ct(t)).toSetSeq()}B.prototype.toString=function(){return"[Iterator]"},B.KEYS=N,B.VALUES=A,B.ENTRIES=T,B.prototype.inspect=B.prototype.toSource=function(){return this.toString()},B.prototype[P]=function(){return this},e(Q,n),Q.of=function(){return Q(arguments)},Q.prototype.toSeq=function(){return this},Q.prototype.toString=function(){return this.__toString("Seq {","}")},Q.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Q.prototype.__iterate=function(t,e){return lt(this,t,e,!0)},Q.prototype.__iterator=function(t,e){return pt(this,t,e,!0)},e(Z,Q),Z.prototype.toKeyedSeq=function(){return this},e(V,Q),V.of=function(){return V(arguments)},V.prototype.toIndexedSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq [","]")},V.prototype.__iterate=function(t,e){return lt(this,t,e,!1)},V.prototype.__iterator=function(t,e){return pt(this,t,e,!1)},e(G,Q),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},Q.isSeq=it,Q.Keyed=Z,Q.Set=G,Q.Indexed=V;var J,X,$,tt="@@__IMMUTABLE_SEQ__@@";function et(t){this._array=t,this.size=t.length}function nt(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function rt(t){this._iterable=t,this.size=t.length||t.size}function ot(t){this._iterator=t,this._iteratorCache=[]}function it(t){return!(!t||!t[tt])}function at(){return J||(J=new et([]))}function st(t){var e=Array.isArray(t)?new et(t).fromEntrySeq():H(t)?new ot(t).fromEntrySeq():K(t)?new rt(t).fromEntrySeq():"object"==typeof t?new nt(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function ct(t){var e=ut(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ut(t){return W(t)?new et(t):H(t)?new ot(t):K(t)?new rt(t):void 0}function lt(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function pt(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new B((function(){var t=o[n?i-a:a];return a++>i?{value:void 0,done:!0}:U(e,r?t[0]:a-1,t[1])}))}return t.__iteratorUncached(e,n)}function ft(t,e){return e?dt(e,t,"",{"":t}):ht(t)}function dt(t,e,n,r){return Array.isArray(e)?t.call(r,n,V(e).map((function(n,r){return dt(t,n,r,e)}))):gt(e)?t.call(r,n,Z(e).map((function(n,r){return dt(t,n,r,e)}))):e}function ht(t){return Array.isArray(t)?V(t).map(ht).toList():gt(t)?Z(t).map(ht).toMap():t}function gt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function yt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function mt(t,e){if(t===e)return!0;if(!a(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||s(t)!==s(e)||c(t)!==c(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(l(t)){var r=t.entries();return e.every((function(t,e){var o=r.next().value;return o&&yt(o[1],t)&&(n||yt(o[0],e))}))&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var i=t;t=e,e=i}var p=!0,f=e.__iterate((function(e,r){if(n?!t.has(e):o?!yt(e,t.get(r,b)):!yt(t.get(r,b),e))return p=!1,!1}));return p&&t.size===f}function vt(t,e){if(!(this instanceof vt))return new vt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(X)return X;X=this}}function bt(t,e){if(!t)throw new Error(e)}function _t(t,e,n){if(!(this instanceof _t))return new _t(t,e,n);if(bt(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if($)return $;$=this}}function St(){throw TypeError("Abstract")}function wt(){}function Mt(){}function Et(){}Q.prototype[tt]=!0,e(et,V),et.prototype.get=function(t,e){return this.has(t)?this._array[j(this,t)]:e},et.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===t(n[e?r-o:o],o,this))return o+1;return o},et.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,o=0;return new B((function(){return o>r?{value:void 0,done:!0}:U(t,o,n[e?r-o++:o++])}))},e(nt,Z),nt.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},nt.prototype.has=function(t){return this._object.hasOwnProperty(t)},nt.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[e?o-i:i];if(!1===t(n[a],a,this))return i+1}return i},nt.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new B((function(){var a=r[e?o-i:i];return i++>o?{value:void 0,done:!0}:U(t,a,n[a])}))},nt.prototype[h]=!0,e(rt,V),rt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=q(this._iterable),r=0;if(H(n))for(var o;!(o=n.next()).done&&!1!==t(o.value,r++,this););return r},rt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=q(this._iterable);if(!H(n))return new B(F);var r=0;return new B((function(){var e=n.next();return e.done?e:U(t,r++,e.value)}))},e(ot,V),ot.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i<o.length;)if(!1===t(o[i],i++,this))return i;for(;!(n=r.next()).done;){var a=n.value;if(o[i]=a,!1===t(a,i++,this))break}return i},ot.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,o=0;return new B((function(){if(o>=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return U(t,o,r[o++])}))},e(vt,V),vt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},vt.prototype.get=function(t,e){return this.has(t)?this._value:e},vt.prototype.includes=function(t){return yt(this._value,t)},vt.prototype.slice=function(t,e){var n=this.size;return D(t,e,n)?this:new vt(this._value,I(e,n)-O(t,n))},vt.prototype.reverse=function(){return this},vt.prototype.indexOf=function(t){return yt(this._value,t)?0:-1},vt.prototype.lastIndexOf=function(t){return yt(this._value,t)?this.size:-1},vt.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},vt.prototype.__iterator=function(t,e){var n=this,r=0;return new B((function(){return r<n.size?U(t,r++,n._value):{value:void 0,done:!0}}))},vt.prototype.equals=function(t){return t instanceof vt?yt(this._value,t._value):mt(t)},e(_t,V),_t.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},_t.prototype.get=function(t,e){return this.has(t)?this._start+j(this,t)*this._step:e},_t.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},_t.prototype.slice=function(t,e){return D(t,e,this.size)?this:(t=O(t,this.size),(e=I(e,this.size))<=t?new _t(0,0):new _t(this.get(t,this._end),this.get(e,this._end),this._step))},_t.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},_t.prototype.lastIndexOf=function(t){return this.indexOf(t)},_t.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===t(o,i,this))return i+1;o+=e?-r:r}return i},_t.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;return new B((function(){var a=o;return o+=e?-r:r,i>n?{value:void 0,done:!0}:U(t,i++,a)}))},_t.prototype.equals=function(t){return t instanceof _t?this._start===t._start&&this._end===t._end&&this._step===t._step:mt(this,t)},e(St,n),e(wt,St),e(Mt,St),e(Et,St),St.Keyed=wt,St.Indexed=Mt,St.Set=Et;var kt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function xt(t){return t>>>1&1073741824|3221225471&t}function jt(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)n^=t/=4294967295;return xt(n)}if("string"===e)return t.length>Tt?function(t){var e=Pt[t];return void 0===e&&(e=Ct(t),Rt===zt&&(Rt=0,Pt={}),Rt++,Pt[t]=e),e}(t):Ct(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(Lt&&void 0!==(e=It.get(t)))return e;if(void 0!==(e=t[At]))return e;if(!Ot){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[At]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++Nt,1073741824&Nt&&(Nt=0),Lt)It.set(t,e);else{if(void 0!==Dt&&!1===Dt(t))throw new Error("Non-extensible objects are not allowed as keys.");if(Ot)Object.defineProperty(t,At,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[At]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[At]=e}}return e}(t);if("function"==typeof t.toString)return Ct(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function Ct(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return xt(e)}var Dt=Object.isExtensible,Ot=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();var It,Lt="function"==typeof WeakMap;Lt&&(It=new WeakMap);var Nt=0,At="__immutablehash__";"function"==typeof Symbol&&(At=Symbol(At));var Tt=16,zt=255,Rt=0,Pt={};function Bt(t){bt(t!==1/0,"Cannot perform this action with an infinite size.")}function Ut(t){return null==t?te():Ft(t)&&!l(t)?t:te().withMutations((function(e){var n=r(t);Bt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Ft(t){return!(!t||!t[Ht])}e(Ut,wt),Ut.prototype.toString=function(){return this.__toString("Map {","}")},Ut.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Ut.prototype.set=function(t,e){return ee(this,t,e)},Ut.prototype.setIn=function(t,e){return this.updateIn(t,b,(function(){return e}))},Ut.prototype.remove=function(t){return ee(this,t,b)},Ut.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return b}))},Ut.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},Ut.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=ue(this,an(t),e,n);return r===b?void 0:r},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):te()},Ut.prototype.merge=function(){return ie(this,void 0,arguments)},Ut.prototype.mergeWith=function(e){return ie(this,e,t.call(arguments,1))},Ut.prototype.mergeIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,te(),(function(t){return"function"==typeof t.merge?t.merge.apply(t,n):n[n.length-1]}))},Ut.prototype.mergeDeep=function(){return ie(this,ae,arguments)},Ut.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return ie(this,se(e),n)},Ut.prototype.mergeDeepIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,te(),(function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,n):n[n.length-1]}))},Ut.prototype.sort=function(t){return Le(Ze(this,t))},Ut.prototype.sortBy=function(t,e){return Le(Ze(this,e,t))},Ut.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Ut.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new E)},Ut.prototype.asImmutable=function(){return this.__ensureOwner()},Ut.prototype.wasAltered=function(){return this.__altered},Ut.prototype.__iterator=function(t,e){return new Gt(this,t,e)},Ut.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},Ut.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?$t(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Ut.isMap=Ft;var Kt,Ht="@@__IMMUTABLE_MAP__@@",qt=Ut.prototype;function Yt(t,e){this.ownerID=t,this.entries=e}function Wt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function Qt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function Zt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function Vt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function Gt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Xt(t._root)}function Jt(t,e){return U(t,e[0],e[1])}function Xt(t,e){return{node:t,index:0,__prev:e}}function $t(t,e,n,r){var o=Object.create(qt);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function te(){return Kt||(Kt=$t(0))}function ee(t,e,n){var r,o;if(t._root){var i=w(_),a=w(S);if(r=ne(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===b?-1:1:0)}else{if(n===b)return t;o=1,r=new Yt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?$t(o,r):te()}function ne(t,e,n,r,o,i,a,s){return t?t.update(e,n,r,o,i,a,s):i===b?t:(M(s),M(a),new Vt(e,r,[o,i]))}function re(t){return t.constructor===Vt||t.constructor===Zt}function oe(t,e,n,r,o){if(t.keyHash===r)return new Zt(e,r,[t.entry,o]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&v,s=(0===n?r:r>>>n)&v;return new Wt(e,1<<a|1<<s,a===s?[oe(t,e,n+y,r,o)]:(i=new Vt(e,r,o),a<s?[t,i]:[i,t]))}function ie(t,e,n){for(var o=[],i=0;i<n.length;i++){var s=n[i],c=r(s);a(s)||(c=c.map((function(t){return ft(t)}))),o.push(c)}return ce(t,e,o)}function ae(t,e,n){return t&&t.mergeDeep&&a(e)?t.mergeDeep(e):yt(t,e)?t:e}function se(t){return function(e,n,r){if(e&&e.mergeDeepWith&&a(n))return e.mergeDeepWith(t,n);var o=t(e,n,r);return yt(e,o)?e:o}}function ce(t,e,n){return 0===(n=n.filter((function(t){return 0!==t.size}))).length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations((function(t){for(var r=e?function(n,r){t.update(r,b,(function(t){return t===b?n:e(t,n,r)}))}:function(e,n){t.set(n,e)},o=0;o<n.length;o++)n[o].forEach(r)})):t.constructor(n[0])}function ue(t,e,n,r){var o=t===b,i=e.next();if(i.done){var a=o?n:t,s=r(a);return s===a?t:s}bt(o||t&&t.set,"invalid keyPath");var c=i.value,u=o?b:t.get(c,b),l=ue(u,e,n,r);return l===u?t:l===b?t.remove(c):(o?te():t).set(c,l)}function le(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function pe(t,e,n,r){var o=r?t:k(t);return o[e]=n,o}qt[Ht]=!0,qt[g]=qt.remove,qt.removeIn=qt.deleteIn,Yt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(yt(n,o[i][0]))return o[i][1];return r},Yt.prototype.update=function(t,e,n,r,o,i,a){for(var s=o===b,c=this.entries,u=0,l=c.length;u<l&&!yt(r,c[u][0]);u++);var p=u<l;if(p?c[u][1]===o:s)return this;if(M(a),(s||!p)&&M(i),!s||1!==c.length){if(!p&&!s&&c.length>=fe)return function(t,e,n,r){t||(t=new E);for(var o=new Vt(t,jt(n),[n,r]),i=0;i<e.length;i++){var a=e[i];o=o.update(t,0,void 0,a[0],a[1])}return o}(t,c,r,o);var f=t&&t===this.ownerID,d=f?c:k(c);return p?s?u===l-1?d.pop():d[u]=d.pop():d[u]=[r,o]:d.push([r,o]),f?(this.entries=d,this):new Yt(t,d)}},Wt.prototype.get=function(t,e,n,r){void 0===e&&(e=jt(n));var o=1<<((0===t?e:e>>>t)&v),i=this.bitmap;return 0==(i&o)?r:this.nodes[le(i&o-1)].get(t+y,e,n,r)},Wt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=jt(r));var s=(0===e?n:n>>>e)&v,c=1<<s,u=this.bitmap,l=0!=(u&c);if(!l&&o===b)return this;var p=le(u&c-1),f=this.nodes,d=l?f[p]:void 0,h=ne(d,t,e+y,n,r,o,i,a);if(h===d)return this;if(!l&&h&&f.length>=de)return function(t,e,n,r,o){for(var i=0,a=new Array(m),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[i++]:void 0;return a[r]=o,new Qt(t,i+1,a)}(t,f,u,s,h);if(l&&!h&&2===f.length&&re(f[1^p]))return f[1^p];if(l&&h&&1===f.length&&re(h))return h;var g=t&&t===this.ownerID,_=l?h?u:u^c:u|c,S=l?h?pe(f,p,h,g):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a<r;a++)a===e&&(i=1),o[a]=t[a+i];return o}(f,p,g):function(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(var i=new Array(o),a=0,s=0;s<o;s++)s===e?(i[s]=n,a=-1):i[s]=t[s+a];return i}(f,p,h,g);return g?(this.bitmap=_,this.nodes=S,this):new Wt(t,_,S)},Qt.prototype.get=function(t,e,n,r){void 0===e&&(e=jt(n));var o=(0===t?e:e>>>t)&v,i=this.nodes[o];return i?i.get(t+y,e,n,r):r},Qt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=jt(r));var s=(0===e?n:n>>>e)&v,c=o===b,u=this.nodes,l=u[s];if(c&&!l)return this;var p=ne(l,t,e+y,n,r,o,i,a);if(p===l)return this;var f=this.count;if(l){if(!p&&--f<he)return function(t,e,n,r){for(var o=0,i=0,a=new Array(n),s=0,c=1,u=e.length;s<u;s++,c<<=1){var l=e[s];void 0!==l&&s!==r&&(o|=c,a[i++]=l)}return new Wt(t,o,a)}(t,u,f,s)}else f++;var d=t&&t===this.ownerID,h=pe(u,s,p,d);return d?(this.count=f,this.nodes=h,this):new Qt(t,f,h)},Zt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(yt(n,o[i][0]))return o[i][1];return r},Zt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=jt(r));var s=o===b;if(n!==this.keyHash)return s?this:(M(a),M(i),oe(this,t,e,n,[r,o]));for(var c=this.entries,u=0,l=c.length;u<l&&!yt(r,c[u][0]);u++);var p=u<l;if(p?c[u][1]===o:s)return this;if(M(a),(s||!p)&&M(i),s&&2===l)return new Vt(t,this.keyHash,c[1^u]);var f=t&&t===this.ownerID,d=f?c:k(c);return p?s?u===l-1?d.pop():d[u]=d.pop():d[u]=[r,o]:d.push([r,o]),f?(this.entries=d,this):new Zt(t,this.keyHash,d)},Vt.prototype.get=function(t,e,n,r){return yt(n,this.entry[0])?this.entry[1]:r},Vt.prototype.update=function(t,e,n,r,o,i,a){var s=o===b,c=yt(r,this.entry[0]);return(c?o===this.entry[1]:s)?this:(M(a),s?void M(i):c?t&&t===this.ownerID?(this.entry[1]=o,this):new Vt(t,this.keyHash,[r,o]):(M(i),oe(this,t,e,jt(r),[r,o])))},Yt.prototype.iterate=Zt.prototype.iterate=function(t,e){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===t(n[e?o-r:r]))return!1},Wt.prototype.iterate=Qt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[e?o-r:r];if(i&&!1===i.iterate(t,e))return!1}},Vt.prototype.iterate=function(t,e){return t(this.entry)},e(Gt,B),Gt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,o=e.index++;if(r.entry){if(0===o)return Jt(t,r.entry)}else if(r.entries){if(o<=(n=r.entries.length-1))return Jt(t,r.entries[this._reverse?n-o:o])}else if(o<=(n=r.nodes.length-1)){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return Jt(t,i.entry);e=this._stack=Xt(i,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var fe=m/4,de=m/2,he=m/4;function ge(t){var e=ke();if(null==t)return e;if(ye(t))return t;var n=o(t),r=n.size;return 0===r?e:(Bt(r),r>0&&r<m?Ee(0,r,y,null,new be(n.toArray())):e.withMutations((function(t){t.setSize(r),n.forEach((function(e,n){return t.set(n,e)}))})))}function ye(t){return!(!t||!t[me])}e(ge,Mt),ge.of=function(){return this(arguments)},ge.prototype.toString=function(){return this.__toString("List [","]")},ge.prototype.get=function(t,e){if((t=j(this,t))>=0&&t<this.size){var n=Ce(this,t+=this._origin);return n&&n.array[t&v]}return e},ge.prototype.set=function(t,e){return function(t,e,n){if((e=j(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?De(t,e).set(0,n):De(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,o=t._root,i=w(S);return e>=Ie(t._capacity)?r=xe(r,t.__ownerID,0,e,n,i):o=xe(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):Ee(t._origin,t._capacity,t._level,o,r):t}(this,t,e)},ge.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},ge.prototype.insert=function(t,e){return this.splice(t,0,e)},ge.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=y,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):ke()},ge.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){De(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])}))},ge.prototype.pop=function(){return De(this,0,-1)},ge.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){De(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])}))},ge.prototype.shift=function(){return De(this,1)},ge.prototype.merge=function(){return Oe(this,void 0,arguments)},ge.prototype.mergeWith=function(e){return Oe(this,e,t.call(arguments,1))},ge.prototype.mergeDeep=function(){return Oe(this,ae,arguments)},ge.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return Oe(this,se(e),n)},ge.prototype.setSize=function(t){return De(this,0,t)},ge.prototype.slice=function(t,e){var n=this.size;return D(t,e,n)?this:De(this,O(t,n),I(e,n))},ge.prototype.__iterator=function(t,e){var n=0,r=Me(this,e);return new B((function(){var e=r();return e===we?{value:void 0,done:!0}:U(t,n++,e)}))},ge.prototype.__iterate=function(t,e){for(var n,r=0,o=Me(this,e);(n=o())!==we&&!1!==t(n,r++,this););return r},ge.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ee(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},ge.isList=ye;var me="@@__IMMUTABLE_LIST__@@",ve=ge.prototype;function be(t,e){this.array=t,this.ownerID=e}ve[me]=!0,ve[g]=ve.remove,ve.setIn=qt.setIn,ve.deleteIn=ve.removeIn=qt.removeIn,ve.update=qt.update,ve.updateIn=qt.updateIn,ve.mergeIn=qt.mergeIn,ve.mergeDeepIn=qt.mergeDeepIn,ve.withMutations=qt.withMutations,ve.asMutable=qt.asMutable,ve.asImmutable=qt.asImmutable,ve.wasAltered=qt.wasAltered,be.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&v;if(r>=this.array.length)return new be([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-y,n))===a&&i)return this}if(i&&!o)return this;var s=je(this,t);if(!i)for(var c=0;c<r;c++)s.array[c]=void 0;return o&&(s.array[r]=o),s},be.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,o=n-1>>>e&v;if(o>=this.array.length)return this;if(e>0){var i=this.array[o];if((r=i&&i.removeAfter(t,e-y,n))===i&&o===this.array.length-1)return this}var a=je(this,t);return a.array.splice(o+1),r&&(a.array[o]=r),a};var _e,Se,we={};function Me(t,e){var n=t._origin,r=t._capacity,o=Ie(r),i=t._tail;return a(t._root,t._level,0);function a(t,s,c){return 0===s?function(t,a){var s=a===o?i&&i.array:t&&t.array,c=a>n?0:n-a,u=r-a;return u>m&&(u=m),function(){if(c===u)return we;var t=e?--u:c++;return s&&s[t]}}(t,c):function(t,o,i){var s,c=t&&t.array,u=i>n?0:n-i>>o,l=1+(r-i>>o);return l>m&&(l=m),function(){for(;;){if(s){var t=s();if(t!==we)return t;s=null}if(u===l)return we;var n=e?--l:u++;s=a(c&&c[n],o-y,i+(n<<o))}}}(t,s,c)}}function Ee(t,e,n,r,o,i,a){var s=Object.create(ve);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function ke(){return _e||(_e=Ee(0,0,y))}function xe(t,e,n,r,o,i){var a,s=r>>>n&v,c=t&&s<t.array.length;if(!c&&void 0===o)return t;if(n>0){var u=t&&t.array[s],l=xe(u,e,n-y,r,o,i);return l===u?t:((a=je(t,e)).array[s]=l,a)}return c&&t.array[s]===o?t:(M(i),a=je(t,e),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function je(t,e){return e&&t&&e===t.ownerID?t:new be(t?t.array.slice():[],e)}function Ce(t,e){if(e>=Ie(t._capacity))return t._tail;if(e<1<<t._level+y){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&v],r-=y;return n}}function De(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new E,o=t._origin,i=t._capacity,a=o+e,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return t;if(a>=s)return t.clear();for(var c=t._level,u=t._root,l=0;a+l<0;)u=new be(u&&u.array.length?[void 0,u]:[],r),l+=1<<(c+=y);l&&(a+=l,o+=l,s+=l,i+=l);for(var p=Ie(i),f=Ie(s);f>=1<<c+y;)u=new be(u&&u.array.length?[u]:[],r),c+=y;var d=t._tail,h=f<p?Ce(t,s-1):f>p?new be([],r):d;if(d&&f>p&&a<i&&d.array.length){for(var g=u=je(u,r),m=c;m>y;m-=y){var b=p>>>m&v;g=g.array[b]=je(g.array[b],r)}g.array[p>>>y&v]=d}if(s<i&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,c=y,u=null,h=h&&h.removeBefore(r,0,a);else if(a>o||f<p){for(l=0;u;){var _=a>>>c&v;if(_!==f>>>c&v)break;_&&(l+=(1<<c)*_),c-=y,u=u.array[_]}u&&a>o&&(u=u.removeBefore(r,c,a-l)),u&&f<p&&(u=u.removeAfter(r,c,f-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=c,t._root=u,t._tail=h,t.__hash=void 0,t.__altered=!0,t):Ee(a,s,c,u,h)}function Oe(t,e,n){for(var r=[],i=0,s=0;s<n.length;s++){var c=n[s],u=o(c);u.size>i&&(i=u.size),a(c)||(u=u.map((function(t){return ft(t)}))),r.push(u)}return i>t.size&&(t=t.setSize(i)),ce(t,e,r)}function Ie(t){return t<m?0:t-1>>>y<<y}function Le(t){return null==t?Te():Ne(t)?t:Te().withMutations((function(e){var n=r(t);Bt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Ne(t){return Ft(t)&&l(t)}function Ae(t,e,n,r){var o=Object.create(Le.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function Te(){return Se||(Se=Ae(te(),ke()))}function ze(t,e,n){var r,o,i=t._map,a=t._list,s=i.get(e),c=void 0!==s;if(n===b){if(!c)return t;a.size>=m&&a.size>=2*i.size?(r=(o=a.filter((function(t,e){return void 0!==t&&s!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(r.__ownerID=o.__ownerID=t.__ownerID)):(r=i.remove(e),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(c){if(n===a.get(s)[1])return t;r=i,o=a.set(s,[e,n])}else r=i.set(e,a.size),o=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=o,t.__hash=void 0,t):Ae(r,o)}function Re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Pe(t){this._iter=t,this.size=t.size}function Be(t){this._iter=t,this.size=t.size}function Ue(t){this._iter=t,this.size=t.size}function Fe(t){var e=nn(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=rn,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(e===T){var r=t.__iterator(e,n);return new B((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(e===A?N:A,n)},e}function Ke(t,e,n){var r=nn(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,b);return i===b?o:e.call(n,i,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate((function(t,o,a){return!1!==r(e.call(n,t,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(T,o);return new B((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return U(r,s,e.call(n,a[1],s,t),o)}))},r}function He(t,e){var n=nn(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=Fe(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=rn,n.__iterate=function(e,n){var r=this;return t.__iterate((function(t,n){return e(t,n,r)}),!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function qe(t,e,n,r){var o=nn(t);return r&&(o.has=function(r){var o=t.get(r,b);return o!==b&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,b);return i!==b&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate((function(t,i,c){if(e.call(n,t,i,c))return s++,o(t,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(T,i),s=0;return new B((function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,u=c[0],l=c[1];if(e.call(n,l,u,t))return U(o,r?u:s++,l,i)}}))},o}function Ye(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),D(e,n,o))return t;var i=O(e,o),a=I(n,o);if(i!=i||a!=a)return Ye(t.toSeq().cacheResult(),e,n,r);var s,c=a-i;c==c&&(s=c<0?0:c);var u=nn(t);return u.size=0===s?s:t.size&&s||void 0,!r&&it(t)&&s>=0&&(u.get=function(e,n){return(e=j(this,e))>=0&&e<s?t.get(e+i,n):n}),u.__iterateUncached=function(e,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,c=!0,u=0;return t.__iterate((function(t,n){if(!c||!(c=a++<i))return u++,!1!==e(t,r?n:u-1,o)&&u!==s})),u},u.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);var o=0!==s&&t.__iterator(e,n),a=0,c=0;return new B((function(){for(;a++<i;)o.next();if(++c>s)return{value:void 0,done:!0};var t=o.next();return r||e===A?t:U(e,c-1,e===N?void 0:t.value[1],t)}))},u}function We(t,e,n,r){var o=nn(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return t.__iterate((function(t,i,u){if(!s||!(s=e.call(n,t,i,u)))return c++,o(t,r?i:c-1,a)})),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(T,i),c=!0,u=0;return new B((function(){var t,i,l;do{if((t=s.next()).done)return r||o===A?t:U(o,u++,o===N?void 0:t.value[1],t);var p=t.value;i=p[0],l=p[1],c&&(c=e.call(n,l,i,a))}while(c);return o===T?t:U(o,i,l,t)}))},o}function Qe(t,e,n){var r=nn(t);return r.__iterateUncached=function(r,o){var i=0,s=!1;return function t(c,u){var l=this;c.__iterate((function(o,c){return(!e||u<e)&&a(o)?t(o,u+1):!1===r(o,n?c:i++,l)&&(s=!0),!s}),o)}(t,0),i},r.__iteratorUncached=function(r,o){var i=t.__iterator(r,o),s=[],c=0;return new B((function(){for(;i;){var t=i.next();if(!1===t.done){var u=t.value;if(r===T&&(u=u[1]),e&&!(s.length<e)||!a(u))return n?t:U(r,c++,u,t);s.push(i),i=u.__iterator(r,o)}else i=s.pop()}return{value:void 0,done:!0}}))},r}function Ze(t,e,n){e||(e=on);var r=s(t),o=0,i=t.toSeq().map((function(e,r){return[r,e,o++,n?n(e,r,t):e]})).toArray();return i.sort((function(t,n){return e(t[3],n[3])||t[2]-n[2]})).forEach(r?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),r?Z(i):c(t)?V(i):G(i)}function Ve(t,e,n){if(e||(e=on),n){var r=t.toSeq().map((function(e,r){return[e,n(e,r,t)]})).reduce((function(t,n){return Ge(e,t[1],n[1])?n:t}));return r&&r[0]}return t.reduce((function(t,n){return Ge(e,t,n)?n:t}))}function Ge(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Je(t,e,r){var o=nn(t);return o.size=new et(r).map((function(t){return t.size})).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(A,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=r.map((function(t){return t=n(t),q(o?t.reverse():t)})),a=0,s=!1;return new B((function(){var n;return s||(n=i.map((function(t){return t.next()})),s=n.some((function(t){return t.done}))),s?{value:void 0,done:!0}:U(t,a++,e.apply(null,n.map((function(t){return t.value}))))}))},o}function Xe(t,e){return it(t)?e:t.constructor(e)}function $e(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function tn(t){return Bt(t.size),x(t)}function en(t){return s(t)?r:c(t)?o:i}function nn(t){return Object.create((s(t)?Z:c(t)?V:G).prototype)}function rn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Q.prototype.cacheResult.call(this)}function on(t,e){return t>e?1:t<e?-1:0}function an(t){var e=q(t);if(!e){if(!W(t))throw new TypeError("Expected iterable or array-like: "+t);e=q(n(t))}return e}function sn(t,e){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(t);(function(t,e){try{e.forEach(pn.bind(void 0,t))}catch(t){}})(o,a),o.size=a.length,o._name=e,o._keys=a,o._defaultValues=t}this._map=Ut(i)},o=r.prototype=Object.create(cn);return o.constructor=r,r}e(Le,Ut),Le.of=function(){return this(arguments)},Le.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Le.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Le.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Te()},Le.prototype.set=function(t,e){return ze(this,t,e)},Le.prototype.remove=function(t){return ze(this,t,b)},Le.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Le.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},Le.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Le.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?Ae(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Le.isOrderedMap=Ne,Le.prototype[h]=!0,Le.prototype[g]=Le.prototype.remove,e(Re,Z),Re.prototype.get=function(t,e){return this._iter.get(t,e)},Re.prototype.has=function(t){return this._iter.has(t)},Re.prototype.valueSeq=function(){return this._iter.valueSeq()},Re.prototype.reverse=function(){var t=this,e=He(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Re.prototype.map=function(t,e){var n=this,r=Ke(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},Re.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?tn(this):0,function(o){return t(o,e?--n:n++,r)}),e)},Re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(A,e),r=e?tn(this):0;return new B((function(){var o=n.next();return o.done?o:U(t,e?--r:r++,o.value,o)}))},Re.prototype[h]=!0,e(Pe,V),Pe.prototype.includes=function(t){return this._iter.includes(t)},Pe.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate((function(e){return t(e,r++,n)}),e)},Pe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(A,e),r=0;return new B((function(){var e=n.next();return e.done?e:U(t,r++,e.value,e)}))},e(Be,G),Be.prototype.has=function(t){return this._iter.includes(t)},Be.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){return t(e,e,n)}),e)},Be.prototype.__iterator=function(t,e){var n=this._iter.__iterator(A,e);return new B((function(){var e=n.next();return e.done?e:U(t,e.value,e.value,e)}))},e(Ue,Z),Ue.prototype.entrySeq=function(){return this._iter.toSeq()},Ue.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){if(e){$e(e);var r=a(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}}),e)},Ue.prototype.__iterator=function(t,e){var n=this._iter.__iterator(A,e);return new B((function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){$e(r);var o=a(r);return U(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}}))},Pe.prototype.cacheResult=Re.prototype.cacheResult=Be.prototype.cacheResult=Ue.prototype.cacheResult=rn,e(sn,wt),sn.prototype.toString=function(){return this.__toString(ln(this)+" {","}")},sn.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},sn.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},sn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=un(this,te()))},sn.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+ln(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:un(this,n)},sn.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:un(this,e)},sn.prototype.wasAltered=function(){return this._map.wasAltered()},sn.prototype.__iterator=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterator(t,e)},sn.prototype.__iterate=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterate(t,e)},sn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?un(this,e,t):(this.__ownerID=t,this._map=e,this)};var cn=sn.prototype;function un(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function ln(t){return t._name||t.constructor.name||"Record"}function pn(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){bt(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function fn(t){return null==t?bn():dn(t)&&!l(t)?t:bn().withMutations((function(e){var n=i(t);Bt(n.size),n.forEach((function(t){return e.add(t)}))}))}function dn(t){return!(!t||!t[gn])}cn[g]=cn.remove,cn.deleteIn=cn.removeIn=qt.removeIn,cn.merge=qt.merge,cn.mergeWith=qt.mergeWith,cn.mergeIn=qt.mergeIn,cn.mergeDeep=qt.mergeDeep,cn.mergeDeepWith=qt.mergeDeepWith,cn.mergeDeepIn=qt.mergeDeepIn,cn.setIn=qt.setIn,cn.update=qt.update,cn.updateIn=qt.updateIn,cn.withMutations=qt.withMutations,cn.asMutable=qt.asMutable,cn.asImmutable=qt.asImmutable,e(fn,Et),fn.of=function(){return this(arguments)},fn.fromKeys=function(t){return this(r(t).keySeq())},fn.prototype.toString=function(){return this.__toString("Set {","}")},fn.prototype.has=function(t){return this._map.has(t)},fn.prototype.add=function(t){return mn(this,this._map.set(t,!0))},fn.prototype.remove=function(t){return mn(this,this._map.remove(t))},fn.prototype.clear=function(){return mn(this,this._map.clear())},fn.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(t){for(var n=0;n<e.length;n++)i(e[n]).forEach((function(e){return t.add(e)}))})):this.constructor(e[0])},fn.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return i(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.every((function(t){return t.includes(n)}))||t.remove(n)}))}))},fn.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return i(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.some((function(t){return t.includes(n)}))&&t.remove(n)}))}))},fn.prototype.merge=function(){return this.union.apply(this,arguments)},fn.prototype.mergeWith=function(e){var n=t.call(arguments,1);return this.union.apply(this,n)},fn.prototype.sort=function(t){return _n(Ze(this,t))},fn.prototype.sortBy=function(t,e){return _n(Ze(this,e,t))},fn.prototype.wasAltered=function(){return this._map.wasAltered()},fn.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate((function(e,r){return t(r,r,n)}),e)},fn.prototype.__iterator=function(t,e){return this._map.map((function(t,e){return e})).__iterator(t,e)},fn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},fn.isSet=dn;var hn,gn="@@__IMMUTABLE_SET__@@",yn=fn.prototype;function mn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function vn(t,e){var n=Object.create(yn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function bn(){return hn||(hn=vn(te()))}function _n(t){return null==t?kn():Sn(t)?t:kn().withMutations((function(e){var n=i(t);Bt(n.size),n.forEach((function(t){return e.add(t)}))}))}function Sn(t){return dn(t)&&l(t)}yn[gn]=!0,yn[g]=yn.remove,yn.mergeDeep=yn.merge,yn.mergeDeepWith=yn.mergeWith,yn.withMutations=qt.withMutations,yn.asMutable=qt.asMutable,yn.asImmutable=qt.asImmutable,yn.__empty=bn,yn.__make=vn,e(_n,fn),_n.of=function(){return this(arguments)},_n.fromKeys=function(t){return this(r(t).keySeq())},_n.prototype.toString=function(){return this.__toString("OrderedSet {","}")},_n.isOrderedSet=Sn;var wn,Mn=_n.prototype;function En(t,e){var n=Object.create(Mn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function kn(){return wn||(wn=En(Te()))}function xn(t){return null==t?Ln():jn(t)?t:Ln().unshiftAll(t)}function jn(t){return!(!t||!t[Dn])}Mn[h]=!0,Mn.__empty=kn,Mn.__make=En,e(xn,Mt),xn.of=function(){return this(arguments)},xn.prototype.toString=function(){return this.__toString("Stack [","]")},xn.prototype.get=function(t,e){var n=this._head;for(t=j(this,t);n&&t--;)n=n.next;return n?n.value:e},xn.prototype.peek=function(){return this._head&&this._head.value},xn.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):In(t,e)},xn.prototype.pushAll=function(t){if(0===(t=o(t)).size)return this;Bt(t.size);var e=this.size,n=this._head;return t.reverse().forEach((function(t){e++,n={value:t,next:n}})),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):In(e,n)},xn.prototype.pop=function(){return this.slice(1)},xn.prototype.unshift=function(){return this.push.apply(this,arguments)},xn.prototype.unshiftAll=function(t){return this.pushAll(t)},xn.prototype.shift=function(){return this.pop.apply(this,arguments)},xn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Ln()},xn.prototype.slice=function(t,e){if(D(t,e,this.size))return this;var n=O(t,this.size);if(I(e,this.size)!==this.size)return Mt.prototype.slice.call(this,t,e);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):In(r,o)},xn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?In(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},xn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},xn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new B((function(){if(r){var e=r.value;return r=r.next,U(t,n++,e)}return{value:void 0,done:!0}}))},xn.isStack=jn;var Cn,Dn="@@__IMMUTABLE_STACK__@@",On=xn.prototype;function In(t,e,n,r){var o=Object.create(On);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Ln(){return Cn||(Cn=In(0))}function Nn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}On[Dn]=!0,On.withMutations=qt.withMutations,On.asMutable=qt.asMutable,On.asImmutable=qt.asImmutable,On.wasAltered=qt.wasAltered,n.Iterator=B,Nn(n,{toArray:function(){Bt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,n){t[n]=e})),t},toIndexedSeq:function(){return new Pe(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Re(this,!0)},toMap:function(){return Ut(this.toKeyedSeq())},toObject:function(){Bt(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t},toOrderedMap:function(){return Le(this.toKeyedSeq())},toOrderedSet:function(){return _n(s(this)?this.valueSeq():this)},toSet:function(){return fn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Be(this)},toSeq:function(){return c(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return xn(s(this)?this.valueSeq():this)},toList:function(){return ge(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Xe(this,function(t,e){var n=s(t),o=[t].concat(e).map((function(t){return a(t)?n&&(t=r(t)):t=n?st(t):ct(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===o.length)return t;if(1===o.length){var i=o[0];if(i===t||n&&s(i)||c(t)&&c(i))return i}var u=new et(o);return n?u=u.toKeyedSeq():c(t)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=o.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),u}(this,t.call(arguments,0)))},includes:function(t){return this.some((function(e){return yt(e,t)}))},entries:function(){return this.__iterator(T)},every:function(t,e){Bt(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1})),n},filter:function(t,e){return Xe(this,qe(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},findEntry:function(t,e){var n;return this.__iterate((function(r,o,i){if(t.call(e,r,o,i))return n=[o,r],!1})),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return Bt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Bt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(N)},map:function(t,e){return Xe(this,Ke(this,t,e))},reduce:function(t,e,n){var r,o;return Bt(this.size),arguments.length<2?o=!0:r=e,this.__iterate((function(e,i,a){o?(o=!1,r=e):r=t.call(n,r,e,i,a)})),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Xe(this,He(this,!0))},slice:function(t,e){return Xe(this,Ye(this,t,e,!0))},some:function(t,e){return!this.every(Pn(t),e)},sort:function(t){return Xe(this,Ze(this,t))},values:function(){return this.__iterator(A)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return x(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=Ut().asMutable();return t.__iterate((function(o,i){r.update(e.call(n,o,i,t),0,(function(t){return t+1}))})),r.asImmutable()}(this,t,e)},equals:function(t){return mt(this,t)},entrySeq:function(){var t=this;if(t._cache)return new et(t._cache);var e=t.toSeq().map(Rn).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Pn(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(C)},flatMap:function(t,e){return Xe(this,function(t,e,n){var r=en(t);return t.toSeq().map((function(o,i){return r(e.call(n,o,i,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Xe(this,Qe(this,t,!0))},fromEntrySeq:function(){return new Ue(this)},get:function(t,e){return this.find((function(e,n){return yt(n,t)}),void 0,e)},getIn:function(t,e){for(var n,r=this,o=an(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,b):b)===b)return e}return r},groupBy:function(t,e){return function(t,e,n){var r=s(t),o=(l(t)?Le():Ut()).asMutable();t.__iterate((function(i,a){o.update(e.call(n,i,a,t),(function(t){return(t=t||[]).push(r?[a,i]:i),t}))}));var i=en(t);return o.map((function(e){return Xe(t,i(e))}))}(this,t,e)},has:function(t){return this.get(t,b)!==b},hasIn:function(t){return this.getIn(t,b)!==b},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(zn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return Ve(this,t)},maxBy:function(t,e){return Ve(this,e,t)},min:function(t){return Ve(this,t?Bn(t):Kn)},minBy:function(t,e){return Ve(this,e?Bn(e):Kn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Xe(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Xe(this,We(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Pn(t),e)},sortBy:function(t,e){return Xe(this,Ze(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Xe(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Xe(this,function(t,e,n){var r=nn(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate((function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(T,o),s=!0;return new B((function(){if(!s)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var o=t.value,c=o[0],u=o[1];return e.call(n,u,c,i)?r===T?t:U(r,c,u,t):(s=!1,{value:void 0,done:!0})}))},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Pn(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=l(t),n=s(t),r=e?1:0;return function(t,e){return e=kt(e,3432918353),e=kt(e<<15|e>>>-15,461845907),e=kt(e<<13|e>>>-13,5),e=kt((e=(e+3864292196|0)^t)^e>>>16,2246822507),xt((e=kt(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+Hn(jt(t),jt(e))|0}:function(t,e){r=r+Hn(jt(t),jt(e))|0}:e?function(t){r=31*r+jt(t)|0}:function(t){r=r+jt(t)|0}),r)}(this))}});var An=n.prototype;An[p]=!0,An[P]=An.values,An.__toJS=An.toArray,An.__toStringMapper=Un,An.inspect=An.toSource=function(){return this.toString()},An.chain=An.flatMap,An.contains=An.includes,function(){try{Object.defineProperty(An,"length",{get:function(){if(!n.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),Nn(r,{flip:function(){return Xe(this,Fe(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey((function(e){return yt(e,t)}))},lastKeyOf:function(t){return this.findLastKey((function(e){return yt(e,t)}))},mapEntries:function(t,e){var n=this,r=0;return Xe(this,this.toSeq().map((function(o,i){return t.call(e,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Xe(this,this.toSeq().flip().map((function(r,o){return t.call(e,r,o,n)})).flip())}});var Tn=r.prototype;function zn(t,e){return e}function Rn(t,e){return[e,t]}function Pn(t){return function(){return!t.apply(this,arguments)}}function Bn(t){return function(){return-t.apply(this,arguments)}}function Un(t){return"string"==typeof t?JSON.stringify(t):t}function Fn(){return k(arguments)}function Kn(t,e){return t<e?1:t>e?-1:0}function Hn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return Tn[f]=!0,Tn[P]=An.entries,Tn.__toJS=An.toObject,Tn.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+Un(t)},Nn(o,{toKeyedSeq:function(){return new Re(this,!1)},filter:function(t,e){return Xe(this,qe(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Xe(this,He(this,!1))},slice:function(t,e){return Xe(this,Ye(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=O(t,t<0?this.count():this.size);var r=this.slice(0,t);return Xe(this,1===n?r:r.concat(k(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return Xe(this,Qe(this,t,!1))},get:function(t,e){return(t=j(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=j(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Xe(this,function(t,e){var n=nn(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return t.__iterate((function(t,r){return(!i||!1!==n(e,i++,o))&&!1!==n(t,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=t.__iterator(A,r),a=0;return new B((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?U(n,a++,e):U(n,a++,o.value,o)}))},n}(this,t))},interleave:function(){var t=[this].concat(k(arguments)),e=Je(this.toSeq(),V.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Xe(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Xe(this,We(this,t,e,!1))},zip:function(){return Xe(this,Je(this,Fn,[this].concat(k(arguments))))},zipWith:function(t){var e=k(arguments);return e[0]=this,Xe(this,Je(this,t,e))}}),o.prototype[d]=!0,o.prototype[h]=!0,Nn(i,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=An.includes,Nn(Z,r.prototype),Nn(V,o.prototype),Nn(G,i.prototype),Nn(wt,r.prototype),Nn(Mt,o.prototype),Nn(Et,i.prototype),{Iterable:n,Seq:Q,Collection:St,Map:Ut,OrderedMap:Le,List:ge,Stack:xn,Set:fn,OrderedSet:_n,Record:sn,Range:_t,Repeat:vt,is:yt,fromJS:ft}}()},97880:(t,e,n)=>{"use strict";var r=n(31251),o=n(52344),i=n(97109),a=new RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function c(t){if("file"==t.kind)return t.getAsFile()}var u=function(){function t(t){this.data=t,this.types=t.types?o(t.types):[]}var e=t.prototype;return e.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(t){return s[t]}))},e.getText=function(){var t;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(t=this.data.getData("text/plain")):t=this.data.getData("Text")),t?t.replace(a,"\n"):null},e.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},e.isLink=function(){return this.types.some((function(t){return-1!=t.indexOf("Url")||-1!=t.indexOf("text/uri-list")||t.indexOf("text/x-moz-url")}))},e.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},e.isImage=function(){var t=this.types.some((function(t){return-1!=t.indexOf("application/x-moz-file")}));if(t)return!0;for(var e=this.getFiles(),n=0;n<e.length;n++){var o=e[n].type;if(!r.isImage(o))return!1}return!0},e.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},e.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(c).filter(i.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},e.hasFiles=function(){return this.getFiles().length>0},t}();t.exports=u},7482:t=>{"use strict";t.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},31251:t=>{"use strict";var e={isImage:function(t){return"image"===n(t)[0]},isJpeg:function(t){var r=n(t);return e.isImage(t)&&("jpeg"===r[1]||"pjpeg"===r[1])}};function n(t){return t.split("/")}t.exports=e},31675:t=>{"use strict";function e(t,e){return!!e&&(t===e.documentElement||t===e.body)}var n={getTop:function(t){var n=t.ownerDocument;return e(t,n)?n.body.scrollTop||n.documentElement.scrollTop:t.scrollTop},setTop:function(t,n){var r=t.ownerDocument;e(t,r)?r.body.scrollTop=r.documentElement.scrollTop=n:t.scrollTop=n},getLeft:function(t){var n=t.ownerDocument;return e(t,n)?n.body.scrollLeft||n.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,n){var r=t.ownerDocument;e(t,r)?r.body.scrollLeft=r.documentElement.scrollLeft=n:t.scrollLeft=n}};t.exports=n},99986:(t,e,n)=>{"use strict";function r(t,e){var n=o.get(t,e);return"auto"===n||"scroll"===n}var o={get:n(98773),getScrollParent:function(t){if(!t)return null;for(var e=t.ownerDocument;t&&t!==e.body;){if(r(t,"overflow")||r(t,"overflowY")||r(t,"overflowX"))return t;t=t.parentNode}return e.defaultView||e.parentWindow}};t.exports=o},59878:t=>{"use strict";t.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},2909:t=>{"use strict";var e=function(){function t(t){var e,n;n=void 0,(e="_uri")in this?Object.defineProperty(this,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):this[e]=n,this._uri=t}return t.prototype.toString=function(){return this._uri},t}();t.exports=e},35796:(t,e,n)=>{"use strict";var r=n(11021),o=n(73012),i="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",a="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",s=new RegExp("[A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+i+a+"]"),c=new RegExp("["+i+a+"]");function u(t){var e=s.exec(t);return null==e?null:e[0]}function l(t){var e=u(t);return null==e?r.NEUTRAL:c.exec(e)?r.RTL:r.LTR}function p(t,e){if(e=e||r.NEUTRAL,!t.length)return e;var n=l(t);return n===r.NEUTRAL?e:n}function f(t,e){return e||(e=r.getGlobalDir()),r.isStrong(e)||o(!1),p(t,e)}var d={firstStrongChar:u,firstStrongCharDir:l,resolveBlockDir:p,getDirection:f,isDirectionLTR:function(t,e){return f(t,e)===r.LTR},isDirectionRTL:function(t,e){return f(t,e)===r.RTL}};t.exports=d},11021:(t,e,n)=>{"use strict";var r=n(73012),o="LTR",i="RTL",a=null;function s(t){return t===o||t===i}function c(t){return s(t)||r(!1),t===o?"ltr":"rtl"}function u(t){a=t}var l={NEUTRAL:"NEUTRAL",LTR:o,RTL:i,isStrong:s,getHTMLDir:c,getHTMLDirIfDifferent:function(t,e){return s(t)||r(!1),s(e)||r(!1),t===e?null:c(t)},setGlobalDir:u,initGlobalDir:function(){u(o)},getGlobalDir:function(){return a||this.initGlobalDir(),a||r(!1),a}};t.exports=l},90209:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(35796),i=n(11021),a=n(73012),s=function(){function t(t){r(this,"_defaultDir",void 0),r(this,"_lastDir",void 0),t?i.isStrong(t)||a(!1):t=i.getGlobalDir(),this._defaultDir=t,this.reset()}var e=t.prototype;return e.reset=function(){this._lastDir=this._defaultDir},e.getDirection=function(t){return this._lastDir=o.getDirection(t,this._lastDir),this._lastDir},t}();t.exports=s},13820:(t,e,n)=>{"use strict";var r=n(73012),o=55296,i=57343,a=/[\uD800-\uDFFF]/;function s(t){return o<=t&&t<=i}function c(t){return a.test(t)}function u(t,e){return 1+s(t.charCodeAt(e))}function l(t,e,n){if(e=e||0,n=void 0===n?1/0:n||0,!c(t))return t.substr(e,n);var r=t.length;if(r<=0||e>r||n<=0)return"";var o=0;if(e>0){for(;e>0&&o<r;e--)o+=u(t,o);if(o>=r)return""}else if(e<0){for(o=r;e<0&&0<o;e++)o-=u(t,o-1);o<0&&(o=0)}var i=r;if(n<r)for(i=o;n>0&&i<r;n--)i+=u(t,i);return t.substring(o,i)}var p={getCodePoints:function(t){for(var e=[],n=0;n<t.length;n+=u(t,n))e.push(t.codePointAt(n));return e},getUTF16Length:u,hasSurrogateUnit:c,isCodeUnitInSurrogateRange:s,isSurrogatePair:function(t,e){if(0<=e&&e<t.length||r(!1),e+1===t.length)return!1;var n=t.charCodeAt(e),a=t.charCodeAt(e+1);return o<=n&&n<=56319&&56320<=a&&a<=i},strlen:function(t){if(!c(t))return t.length;for(var e=0,n=0;n<t.length;n+=u(t,n))e++;return e},substring:function(t,e,n){(e=e||0)<0&&(e=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var r=Math.abs(n-e);return l(t,e=e<n?e:n,r)},substr:l};t.exports=p},91355:(t,e,n)=>{"use strict";var r=n(21120),o=n(31503),i=n(95621),a=n(17786);function s(t,e,n,r){if(t===n)return!0;if(!n.startsWith(t))return!1;var i=n.slice(t.length);return!!e&&(i=r?r(i):i,o.contains(i,e))}function c(t){return"Windows"===r.platformName?t.replace(/^\s*NT/,""):t}var u={isBrowser:function(t){return s(r.browserName,r.browserFullVersion,t)},isBrowserArchitecture:function(t){return s(r.browserArchitecture,null,t)},isDevice:function(t){return s(r.deviceName,null,t)},isEngine:function(t){return s(r.engineName,r.engineVersion,t)},isPlatform:function(t){return s(r.platformName,r.platformFullVersion,t,c)},isPlatformArchitecture:function(t){return s(r.platformArchitecture,null,t)}};t.exports=i(u,a)},21120:(t,e,n)=>{"use strict";var r,o="Unknown",i=(new(n(52423))).getResult(),a=function(t){if(!t)return{major:"",minor:""};var e=t.split(".");return{major:e[0],minor:e[1]}}(i.browser.version),s={browserArchitecture:i.cpu.architecture||o,browserFullVersion:i.browser.version||o,browserMinorVersion:a.minor||o,browserName:i.browser.name||o,browserVersion:i.browser.major||o,deviceName:i.device.model||o,engineName:i.engine.name||o,engineVersion:i.engine.version||o,platformArchitecture:i.cpu.architecture||o,platformName:(r=i.os.name,{"Mac OS":"Mac OS X"}[r]||r||o),platformVersion:i.os.version||o,platformFullVersion:i.os.version||o};t.exports=s},31503:(t,e,n)=>{"use strict";var r=n(73012),o=/\./,i=/\|\|/,a=/\s+\-\s+/,s=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,c=/^(\d*)(.*)/;function u(t,e){if(""===(t=t.trim()))return!0;var n,r=e.split(o),i=f(t),a=i.modifier,s=i.rangeComponents;switch(a){case"<":return l(r,s);case"<=":return-1===(n=v(r,s))||0===n;case">=":return p(r,s);case">":return 1===v(r,s);case"~":case"~>":return function(t,e){var n=e.slice(),r=e.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);return d(i)&&(r[o]=i+1+""),p(t,n)&&l(t,r)}(r,s);default:return function(t,e){return 0===v(t,e)}(r,s)}}function l(t,e){return-1===v(t,e)}function p(t,e){var n=v(t,e);return 1===n||0===n}function f(t){var e=t.split(o),n=e[0].match(s);return n||r(!1),{modifier:n[1],rangeComponents:[n[2]].concat(e.slice(1))}}function d(t){return!isNaN(t)&&isFinite(t)}function h(t){return!f(t).modifier}function g(t,e){for(var n=t.length;n<e;n++)t[n]="0"}function y(t,e){var n=t.match(c)[1],r=e.match(c)[1],o=parseInt(n,10),i=parseInt(r,10);return d(o)&&d(i)&&o!==i?m(o,i):m(t,e)}function m(t,e){return typeof t!=typeof e&&r(!1),t>e?1:t<e?-1:0}function v(t,e){for(var n=function(t,e){g(t=t.slice(),(e=e.slice()).length);for(var n=0;n<e.length;n++){var r=e[n].match(/^[x*]$/i);if(r&&(e[n]=t[n]="0","*"===r[0]&&n===e.length-1))for(var o=n;o<t.length;o++)t[o]="0"}return g(e,t.length),[t,e]}(t,e),r=n[0],o=n[1],i=0;i<o.length;i++){var a=y(r[i],o[i]);if(a)return a}return 0}var b={contains:function(t,e){return function(t,e){var n=t.split(i);return n.length>1?n.some((function(t){return b.contains(t,e)})):function(t,e){var n=t.split(a);if(n.length>0&&n.length<=2||r(!1),1===n.length)return u(n[0],e);var o=n[0],i=n[1];return h(o)&&h(i)||r(!1),u(">="+o,e)&&u("<="+i,e)}(t=n[0].trim(),e)}(t.trim(),e.trim())}};t.exports=b},76458:t=>{"use strict";var e=/-(.)/g;t.exports=function(t){return t.replace(e,(function(t,e){return e.toUpperCase()}))}},61530:(t,e,n)=>{"use strict";var r=n(30854);t.exports=function t(e,n){return!(!e||!n)&&(e===n||!r(e)&&(r(n)?t(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}},52344:(t,e,n)=>{"use strict";var r=n(73012);t.exports=function(t){return function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}(t)?Array.isArray(t)?t.slice():function(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&r(!1),"number"!=typeof e&&r(!1),0===e||e-1 in t||r(!1),"function"==typeof t.callee&&r(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),o=0;o<e;o++)n[o]=t[o];return n}(t):[t]}},2775:t=>{"use strict";function e(t){return t.replace(/\//g,"-")}t.exports=function(t){return"object"==typeof t?Object.keys(t).filter((function(e){return t[e]})).map(e).join(" "):Array.prototype.map.call(arguments,e).join(" ")}},97109:t=>{"use strict";function e(t){return function(){return t}}var n=function(){};n.thatReturns=e,n.thatReturnsFalse=e(!1),n.thatReturnsTrue=e(!0),n.thatReturnsNull=e(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(t){return t},t.exports=n},16838:t=>{"use strict";t.exports=function(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}},35338:t=>{"use strict";var e="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;t.exports=function(t){return(t=t||document).scrollingElement?t.scrollingElement:e||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}},87008:(t,e,n)=>{"use strict";var r=n(42624);t.exports=function(t){var e=r(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}},42624:(t,e,n)=>{"use strict";var r=n(61530);t.exports=function(t){var e=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!r(e,t))return{left:0,right:0,top:0,bottom:0};var n=t.getBoundingClientRect();return{left:Math.round(n.left)-e.clientLeft,right:Math.round(n.right)-e.clientLeft,top:Math.round(n.top)-e.clientTop,bottom:Math.round(n.bottom)-e.clientTop}}},51702:(t,e,n)=>{"use strict";var r=n(35338),o=n(79838);t.exports=function(t){var e=r(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=e);var n=o(t),i=t===e?t.ownerDocument.documentElement:t,a=t.scrollWidth-i.clientWidth,s=t.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}},98773:(t,e,n)=>{"use strict";var r=n(76458),o=n(84798);function i(t){return null==t?t:String(t)}t.exports=function(t,e){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(t,null)))return i(n.getPropertyValue(o(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(t,null))return i(n.getPropertyValue(o(e)));if("display"===e)return"none"}return t.currentStyle?i("float"===e?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[r(e)]):i(t.style&&t.style[r(e)])}},79838:t=>{"use strict";t.exports=function(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}},90333:t=>{"use strict";function e(){var t;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function n(){var t;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function r(){return{width:window.innerWidth||e(),height:window.innerHeight||n()}}r.withoutScrollbars=function(){return{width:e(),height:n()}},t.exports=r},84798:t=>{"use strict";var e=/([A-Z])/g;t.exports=function(t){return t.replace(e,"-$1").toLowerCase()}},73012:t=>{"use strict";t.exports=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];if(!t){var i;if(void 0===e)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(i=new Error(e.replace(/%s/g,(function(){return String(r[a++])})))).name="Invariant Violation"}throw i.framesToPop=1,i}}},74201:t=>{"use strict";t.exports=function(t){var e=(t?t.ownerDocument||t:document).defaultView||window;return!(!t||!("function"==typeof e.Node?t instanceof e.Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}},30854:(t,e,n)=>{"use strict";var r=n(74201);t.exports=function(t){return r(t)&&3==t.nodeType}},52433:t=>{"use strict";t.exports=function(t){var e=t||"",n=arguments.length;if(n>1)for(var r=1;r<n;r++){var o=arguments[r];o&&(e=(e?e+" ":"")+o)}return e}},95621:t=>{"use strict";var e=Object.prototype.hasOwnProperty;t.exports=function(t,n,r){if(!t)return null;var o={};for(var i in t)e.call(t,i)&&(o[i]=n.call(r,t[i],i,t));return o}},17786:t=>{"use strict";t.exports=function(t){var e={};return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}}},98392:t=>{"use strict";t.exports=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")}},55060:(t,e,n)=>{"use strict";n(67257),t.exports=n.g.setImmediate},85806:(t,e,n)=>{"use strict";var r=n(97109);t.exports=r},11203:(t,e,n)=>{"use strict";n.r(e),n.d(e,{Collection:()=>k,Iterable:()=>Cr,List:()=>un,Map:()=>Pe,OrderedMap:()=>Mn,OrderedSet:()=>lr,PairSorting:()=>gr,Range:()=>Qn,Record:()=>yr,Repeat:()=>Mr,Seq:()=>J,Set:()=>Un,Stack:()=>Dn,default:()=>Dr,fromJS:()=>Er,get:()=>ce,getIn:()=>Zn,has:()=>se,hasIn:()=>Gn,hash:()=>mt,is:()=>dt,isAssociative:()=>E,isCollection:()=>b,isImmutable:()=>N,isIndexed:()=>M,isKeyed:()=>S,isList:()=>cn,isMap:()=>lt,isOrdered:()=>T,isOrderedMap:()=>pt,isOrderedSet:()=>zn,isPlainObject:()=>oe,isRecord:()=>L,isSeq:()=>O,isSet:()=>Tn,isStack:()=>Cn,isValueObject:()=>ft,merge:()=>Ee,mergeDeep:()=>xe,mergeDeepWith:()=>je,mergeWith:()=>ke,remove:()=>le,removeIn:()=>ye,set:()=>pe,setIn:()=>he,update:()=>ve,updateIn:()=>fe,version:()=>jr});var r="delete",o=5,i=1<<o,a=i-1,s={};function c(t){t&&(t.value=!0)}function u(){}function l(t){return void 0===t.size&&(t.size=t.__iterate(f)),t.size}function p(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?l(t)+e:e}function f(){return!0}function d(t,e,n){return(0===t&&!m(t)||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function h(t,e){return y(t,e,0)}function g(t,e){return y(t,e,e)}function y(t,e,n){return void 0===t?n:m(t)?e===1/0?e:0|Math.max(0,e+t):void 0===e||e===t?t:0|Math.min(e,t)}function m(t){return t<0||0===t&&1/t==-1/0}var v="@@__IMMUTABLE_ITERABLE__@@";function b(t){return Boolean(t&&t[v])}var _="@@__IMMUTABLE_KEYED__@@";function S(t){return Boolean(t&&t[_])}var w="@@__IMMUTABLE_INDEXED__@@";function M(t){return Boolean(t&&t[w])}function E(t){return S(t)||M(t)}var k=function(t){return b(t)?t:J(t)},x=function(t){function e(t){return S(t)?t:X(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(k),j=function(t){function e(t){return M(t)?t:$(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(k),C=function(t){function e(t){return b(t)&&!E(t)?t:tt(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(k);k.Keyed=x,k.Indexed=j,k.Set=C;var D="@@__IMMUTABLE_SEQ__@@";function O(t){return Boolean(t&&t[D])}var I="@@__IMMUTABLE_RECORD__@@";function L(t){return Boolean(t&&t[I])}function N(t){return b(t)||L(t)}var A="@@__IMMUTABLE_ORDERED__@@";function T(t){return Boolean(t&&t[A])}var z=0,R=1,P=2,B="function"==typeof Symbol&&Symbol.iterator,U="@@iterator",F=B||U,K=function(t){this.next=t};function H(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function q(){return{value:void 0,done:!0}}function Y(t){return!!Array.isArray(t)||!!Z(t)}function W(t){return t&&"function"==typeof t.next}function Q(t){var e=Z(t);return e&&e.call(t)}function Z(t){var e=t&&(B&&t[B]||t[U]);if("function"==typeof e)return e}K.prototype.toString=function(){return"[Iterator]"},K.KEYS=z,K.VALUES=R,K.ENTRIES=P,K.prototype.inspect=K.prototype.toSource=function(){return this.toString()},K.prototype[F]=function(){return this};var V=Object.prototype.hasOwnProperty;function G(t){return!(!Array.isArray(t)&&"string"!=typeof t)||t&&"object"==typeof t&&Number.isInteger(t.length)&&t.length>=0&&(0===t.length?1===Object.keys(t).length:t.hasOwnProperty(t.length-1))}var J=function(t){function e(t){return null==t?it():N(t)?t.toSeq():function(t){var e,n,r=ct(t);if(r)return(n=Z(e=t))&&n===e.entries?r.fromEntrySeq():function(t){var e=Z(t);return e&&e===t.keys}(t)?r.toSetSeq():r;if("object"==typeof t)return new nt(t);throw new TypeError("Expected Array or collection object of values, or keyed object: "+t)}(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq {","}")},e.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},e.prototype.__iterate=function(t,e){var n=this._cache;if(n){for(var r=n.length,o=0;o!==r;){var i=n[e?r-++o:o++];if(!1===t(i[1],i[0],this))break}return o}return this.__iterateUncached(t,e)},e.prototype.__iterator=function(t,e){var n=this._cache;if(n){var r=n.length,o=0;return new K((function(){if(o===r)return{value:void 0,done:!0};var i=n[e?r-++o:o++];return H(t,i[0],i[1])}))}return this.__iteratorUncached(t,e)},e}(k),X=function(t){function e(t){return null==t?it().toKeyedSeq():b(t)?S(t)?t.toSeq():t.fromEntrySeq():L(t)?t.toSeq():at(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toKeyedSeq=function(){return this},e}(J),$=function(t){function e(t){return null==t?it():b(t)?S(t)?t.entrySeq():t.toIndexedSeq():L(t)?t.toSeq().entrySeq():st(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toIndexedSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq [","]")},e}(J),tt=function(t){function e(t){return(b(t)&&!E(t)?t:$(t)).toSetSeq()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toSetSeq=function(){return this},e}(J);J.isSeq=O,J.Keyed=X,J.Set=tt,J.Indexed=$,J.prototype[D]=!0;var et=function(t){function e(t){this._array=t,this.size=t.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this.has(t)?this._array[p(this,t)]:e},e.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length,o=0;o!==r;){var i=e?r-++o:o++;if(!1===t(n[i],i,this))break}return o},e.prototype.__iterator=function(t,e){var n=this._array,r=n.length,o=0;return new K((function(){if(o===r)return{value:void 0,done:!0};var i=e?r-++o:o++;return H(t,i,n[i])}))},e}($),nt=function(t){function e(t){var e=Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]);this._object=t,this._keys=e,this.size=e.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},e.prototype.has=function(t){return V.call(this._object,t)},e.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length,i=0;i!==o;){var a=r[e?o-++i:i++];if(!1===t(n[a],a,this))break}return i},e.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length,i=0;return new K((function(){if(i===o)return{value:void 0,done:!0};var a=r[e?o-++i:i++];return H(t,a,n[a])}))},e}(X);nt.prototype[A]=!0;var rt,ot=function(t){function e(t){this._collection=t,this.size=t.length||t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=Q(this._collection),r=0;if(W(n))for(var o;!(o=n.next()).done&&!1!==t(o.value,r++,this););return r},e.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=Q(this._collection);if(!W(n))return new K(q);var r=0;return new K((function(){var e=n.next();return e.done?e:H(t,r++,e.value)}))},e}($);function it(){return rt||(rt=new et([]))}function at(t){var e=ct(t);if(e)return e.fromEntrySeq();if("object"==typeof t)return new nt(t);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+t)}function st(t){var e=ct(t);if(e)return e;throw new TypeError("Expected Array or collection object of values: "+t)}function ct(t){return G(t)?new et(t):Y(t)?new ot(t):void 0}var ut="@@__IMMUTABLE_MAP__@@";function lt(t){return Boolean(t&&t[ut])}function pt(t){return lt(t)&&T(t)}function ft(t){return Boolean(t&&"function"==typeof t.equals&&"function"==typeof t.hashCode)}function dt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!!(ft(t)&&ft(e)&&t.equals(e))}var ht="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function gt(t){return t>>>1&1073741824|3221225471&t}var yt=Object.prototype.valueOf;function mt(t){if(null==t)return vt(t);if("function"==typeof t.hashCode)return gt(t.hashCode(t));var e,n,r,o=(e=t).valueOf!==yt&&"function"==typeof e.valueOf?e.valueOf(e):e;if(null==o)return vt(o);switch(typeof o){case"boolean":return o?1108378657:1108378656;case"number":return function(t){if(t!=t||t===1/0)return 0;var e=0|t;for(e!==t&&(e^=4294967295*t);t>4294967295;)e^=t/=4294967295;return gt(e)}(o);case"string":return o.length>Ct?(void 0===(r=It[n=o])&&(r=bt(n),Ot===Dt&&(Ot=0,It={}),Ot++,It[n]=r),r):bt(o);case"object":case"function":return function(t){var e;if(Et&&void 0!==(e=Mt.get(t)))return e;if(void 0!==(e=t[jt]))return e;if(!St){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[jt]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=wt(),Et)Mt.set(t,e);else{if(void 0!==_t&&!1===_t(t))throw new Error("Non-extensible objects are not allowed as keys.");if(St)Object.defineProperty(t,jt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[jt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[jt]=e}}return e}(o);case"symbol":return function(t){var e=kt[t];return void 0!==e||(e=wt(),kt[t]=e),e}(o);default:if("function"==typeof o.toString)return bt(o.toString());throw new Error("Value type "+typeof o+" cannot be hashed.")}}function vt(t){return null===t?1108378658:1108378659}function bt(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return gt(e)}var _t=Object.isExtensible,St=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();function wt(){var t=++xt;return 1073741824&xt&&(xt=0),t}var Mt,Et="function"==typeof WeakMap;Et&&(Mt=new WeakMap);var kt=Object.create(null),xt=0,jt="__immutablehash__";"function"==typeof Symbol&&(jt=Symbol(jt));var Ct=16,Dt=255,Ot=0,It={},Lt=function(t){function e(t,e){this._iter=t,this._useKeys=e,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this._iter.get(t,e)},e.prototype.has=function(t){return this._iter.has(t)},e.prototype.valueSeq=function(){return this._iter.valueSeq()},e.prototype.reverse=function(){var t=this,e=Pt(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},e.prototype.map=function(t,e){var n=this,r=Rt(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e,r){return t(e,r,n)}),e)},e.prototype.__iterator=function(t,e){return this._iter.__iterator(t,e)},e}(X);Lt.prototype[A]=!0;var Nt=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.includes=function(t){return this._iter.includes(t)},e.prototype.__iterate=function(t,e){var n=this,r=0;return e&&l(this),this._iter.__iterate((function(o){return t(o,e?n.size-++r:r++,n)}),e)},e.prototype.__iterator=function(t,e){var n=this,r=this._iter.__iterator(R,e),o=0;return e&&l(this),new K((function(){var i=r.next();return i.done?i:H(t,e?n.size-++o:o++,i.value,i)}))},e}($),At=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.has=function(t){return this._iter.includes(t)},e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){return t(e,e,n)}),e)},e.prototype.__iterator=function(t,e){var n=this._iter.__iterator(R,e);return new K((function(){var e=n.next();return e.done?e:H(t,e.value,e.value,e)}))},e}(tt),Tt=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.entrySeq=function(){return this._iter.toSeq()},e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){if(e){Zt(e);var r=b(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}}),e)},e.prototype.__iterator=function(t,e){var n=this._iter.__iterator(R,e);return new K((function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Zt(r);var o=b(r);return H(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}}))},e}(X);function zt(t){var e=Gt(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Jt,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(e===P){var r=t.__iterator(e,n);return new K((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(e===R?z:R,n)},e}function Rt(t,e,n){var r=Gt(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,s);return i===s?o:e.call(n,i,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate((function(t,o,a){return!1!==r(e.call(n,t,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(P,o);return new K((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return H(r,s,e.call(n,a[1],s,t),o)}))},r}function Pt(t,e){var n=this,r=Gt(t);return r._iter=t,r.size=t.size,r.reverse=function(){return t},t.flip&&(r.flip=function(){var e=zt(t);return e.reverse=function(){return t.flip()},e}),r.get=function(n,r){return t.get(e?n:-1-n,r)},r.has=function(n){return t.has(e?n:-1-n)},r.includes=function(e){return t.includes(e)},r.cacheResult=Jt,r.__iterate=function(n,r){var o=this,i=0;return r&&l(t),t.__iterate((function(t,a){return n(t,e?a:r?o.size-++i:i++,o)}),!r)},r.__iterator=function(r,o){var i=0;o&&l(t);var a=t.__iterator(P,!o);return new K((function(){var t=a.next();if(t.done)return t;var s=t.value;return H(r,e?s[0]:o?n.size-++i:i++,s[1],t)}))},r}function Bt(t,e,n,r){var o=Gt(t);return r&&(o.has=function(r){var o=t.get(r,s);return o!==s&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,s);return i!==s&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate((function(t,i,c){if(e.call(n,t,i,c))return s++,o(t,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(P,i),s=0;return new K((function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,u=c[0],l=c[1];if(e.call(n,l,u,t))return H(o,r?u:s++,l,i)}}))},o}function Ut(t,e,n,r){var o=t.size;if(d(e,n,o))return t;var i=h(e,o),a=g(n,o);if(i!=i||a!=a)return Ut(t.toSeq().cacheResult(),e,n,r);var s,c=a-i;c==c&&(s=c<0?0:c);var u=Gt(t);return u.size=0===s?s:t.size&&s||void 0,!r&&O(t)&&s>=0&&(u.get=function(e,n){return(e=p(this,e))>=0&&e<s?t.get(e+i,n):n}),u.__iterateUncached=function(e,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,c=!0,u=0;return t.__iterate((function(t,n){if(!c||!(c=a++<i))return u++,!1!==e(t,r?n:u-1,o)&&u!==s})),u},u.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);if(0===s)return new K(q);var o=t.__iterator(e,n),a=0,c=0;return new K((function(){for(;a++<i;)o.next();if(++c>s)return{value:void 0,done:!0};var t=o.next();return r||e===R||t.done?t:H(e,c-1,e===z?void 0:t.value[1],t)}))},u}function Ft(t,e,n,r){var o=Gt(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return t.__iterate((function(t,i,u){if(!s||!(s=e.call(n,t,i,u)))return c++,o(t,r?i:c-1,a)})),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(P,i),c=!0,u=0;return new K((function(){var t,i,l;do{if((t=s.next()).done)return r||o===R?t:H(o,u++,o===z?void 0:t.value[1],t);var p=t.value;i=p[0],l=p[1],c&&(c=e.call(n,l,i,a))}while(c);return o===P?t:H(o,i,l,t)}))},o}function Kt(t,e,n){var r=Gt(t);return r.__iterateUncached=function(o,i){if(i)return this.cacheResult().__iterate(o,i);var a=0,s=!1;return function t(c,u){c.__iterate((function(i,c){return(!e||u<e)&&b(i)?t(i,u+1):(a++,!1===o(i,n?c:a-1,r)&&(s=!0)),!s}),i)}(t,0),a},r.__iteratorUncached=function(r,o){if(o)return this.cacheResult().__iterator(r,o);var i=t.__iterator(r,o),a=[],s=0;return new K((function(){for(;i;){var t=i.next();if(!1===t.done){var c=t.value;if(r===P&&(c=c[1]),e&&!(a.length<e)||!b(c))return n?t:H(r,s++,c,t);a.push(i),i=c.__iterator(r,o)}else i=a.pop()}return{value:void 0,done:!0}}))},r}function Ht(t,e,n){e||(e=Xt);var r=S(t),o=0,i=t.toSeq().map((function(e,r){return[r,e,o++,n?n(e,r,t):e]})).valueSeq().toArray();return i.sort((function(t,n){return e(t[3],n[3])||t[2]-n[2]})).forEach(r?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),r?X(i):M(t)?$(i):tt(i)}function qt(t,e,n){if(e||(e=Xt),n){var r=t.toSeq().map((function(e,r){return[e,n(e,r,t)]})).reduce((function(t,n){return Yt(e,t[1],n[1])?n:t}));return r&&r[0]}return t.reduce((function(t,n){return Yt(e,t,n)?n:t}))}function Yt(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Wt(t,e,n,r){var o=Gt(t),i=new et(n).map((function(t){return t.size}));return o.size=r?i.max():i.min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(R,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=n.map((function(t){return t=k(t),Q(o?t.reverse():t)})),a=0,s=!1;return new K((function(){var n;return s||(n=i.map((function(t){return t.next()})),s=r?n.every((function(t){return t.done})):n.some((function(t){return t.done}))),s?{value:void 0,done:!0}:H(t,a++,e.apply(null,n.map((function(t){return t.value}))))}))},o}function Qt(t,e){return t===e?t:O(t)?e:t.constructor(e)}function Zt(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Vt(t){return S(t)?x:M(t)?j:C}function Gt(t){return Object.create((S(t)?X:M(t)?$:tt).prototype)}function Jt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):J.prototype.cacheResult.call(this)}function Xt(t,e){return void 0===t&&void 0===e?0:void 0===t?1:void 0===e?-1:t>e?1:t<e?-1:0}function $t(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o<n;o++)r[o]=t[o+e];return r}function te(t,e){if(!t)throw new Error(e)}function ee(t){te(t!==1/0,"Cannot perform this action with an infinite size.")}function ne(t){if(G(t)&&"string"!=typeof t)return t;if(T(t))return t.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+t)}Nt.prototype.cacheResult=Lt.prototype.cacheResult=At.prototype.cacheResult=Tt.prototype.cacheResult=Jt;var re=Object.prototype.toString;function oe(t){if(!t||"object"!=typeof t||"[object Object]"!==re.call(t))return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var n=e,r=Object.getPrototypeOf(e);null!==r;)n=r,r=Object.getPrototypeOf(n);return n===e}function ie(t){return"object"==typeof t&&(N(t)||Array.isArray(t)||oe(t))}function ae(t){try{return"string"==typeof t?JSON.stringify(t):String(t)}catch(e){return JSON.stringify(t)}}function se(t,e){return N(t)?t.has(e):ie(t)&&V.call(t,e)}function ce(t,e,n){return N(t)?t.get(e,n):se(t,e)?"function"==typeof t.get?t.get(e):t[e]:n}function ue(t){if(Array.isArray(t))return $t(t);var e={};for(var n in t)V.call(t,n)&&(e[n]=t[n]);return e}function le(t,e){if(!ie(t))throw new TypeError("Cannot update non-data-structure value: "+t);if(N(t)){if(!t.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+t);return t.remove(e)}if(!V.call(t,e))return t;var n=ue(t);return Array.isArray(n)?n.splice(e,1):delete n[e],n}function pe(t,e,n){if(!ie(t))throw new TypeError("Cannot update non-data-structure value: "+t);if(N(t)){if(!t.set)throw new TypeError("Cannot update immutable value without .set() method: "+t);return t.set(e,n)}if(V.call(t,e)&&n===t[e])return t;var r=ue(t);return r[e]=n,r}function fe(t,e,n,r){r||(r=n,n=void 0);var o=de(N(t),t,ne(e),0,n,r);return o===s?n:o}function de(t,e,n,r,o,i){var a=e===s;if(r===n.length){var c=a?o:e,u=i(c);return u===c?e:u}if(!a&&!ie(e))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(ae)+"]: "+e);var l=n[r],p=a?s:ce(e,l,s),f=de(p===s?t:N(p),p,n,r+1,o,i);return f===p?e:f===s?le(e,l):pe(a?t?Ge():{}:e,l,f)}function he(t,e,n){return fe(t,e,s,(function(){return n}))}function ge(t,e){return he(this,t,e)}function ye(t,e){return fe(t,e,(function(){return s}))}function me(t){return ye(this,t)}function ve(t,e,n,r){return fe(t,[e],n,r)}function be(t,e,n){return 1===arguments.length?t(this):ve(this,t,e,n)}function _e(t,e,n){return fe(this,t,e,n)}function Se(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Me(this,t)}function we(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if("function"!=typeof t)throw new TypeError("Invalid merger function: "+t);return Me(this,e,t)}function Me(t,e,n){for(var r=[],o=0;o<e.length;o++){var i=x(e[o]);0!==i.size&&r.push(i)}return 0===r.length?t:0!==t.toSeq().size||t.__ownerID||1!==r.length?t.withMutations((function(t){for(var e=n?function(e,r){ve(t,r,s,(function(t){return t===s?e:n(t,e,r)}))}:function(e,n){t.set(n,e)},o=0;o<r.length;o++)r[o].forEach(e)})):t.constructor(r[0])}function Ee(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return De(t,e)}function ke(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return De(e,n,t)}function xe(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return Ce(t,e)}function je(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return Ce(e,n,t)}function Ce(t,e,n){return De(t,e,function(t){return function e(n,r,o){return ie(n)&&ie(r)&&(i=r,a=J(n),s=J(i),M(a)===M(s)&&S(a)===S(s))?De(n,[r],e):t?t(n,r,o):r;var i,a,s}}(n))}function De(t,e,n){if(!ie(t))throw new TypeError("Cannot merge into non-data-structure value: "+t);if(N(t))return"function"==typeof n&&t.mergeWith?t.mergeWith.apply(t,[n].concat(e)):t.merge?t.merge.apply(t,e):t.concat.apply(t,e);for(var r=Array.isArray(t),o=t,i=r?j:x,a=r?function(e){o===t&&(o=ue(o)),o.push(e)}:function(e,r){var i=V.call(o,r),a=i&&n?n(o[r],e,r):e;i&&a===o[r]||(o===t&&(o=ue(o)),o[r]=a)},s=0;s<e.length;s++)i(e[s]).forEach(a);return o}function Oe(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Ce(this,t)}function Ie(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return Ce(this,e,t)}function Le(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return fe(this,t,Ge(),(function(t){return De(t,e)}))}function Ne(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return fe(this,t,Ge(),(function(t){return Ce(t,e)}))}function Ae(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this}function Te(){return this.__ownerID?this:this.__ensureOwner(new u)}function ze(){return this.__ensureOwner()}function Re(){return this.__altered}var Pe=function(t){function e(e){return null==e?Ge():lt(e)&&!T(e)?e:Ge().withMutations((function(n){var r=t(e);ee(r.size),r.forEach((function(t,e){return n.set(e,t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Ge().withMutations((function(e){for(var n=0;n<t.length;n+=2){if(n+1>=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}}))},e.prototype.toString=function(){return this.__toString("Map {","}")},e.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},e.prototype.set=function(t,e){return Je(this,t,e)},e.prototype.remove=function(t){return Je(this,t,s)},e.prototype.deleteAll=function(t){var e=k(t);return 0===e.size?this:this.withMutations((function(t){e.forEach((function(e){return t.remove(e)}))}))},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ge()},e.prototype.sort=function(t){return Mn(Ht(this,t))},e.prototype.sortBy=function(t,e){return Mn(Ht(this,e,t))},e.prototype.map=function(t,e){var n=this;return this.withMutations((function(r){r.forEach((function(o,i){r.set(i,t.call(e,o,i,n))}))}))},e.prototype.__iterator=function(t,e){return new We(this,t,e)},e.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ve(this.size,this._root,t,this.__hash):0===this.size?Ge():(this.__ownerID=t,this.__altered=!1,this)},e}(x);Pe.isMap=lt;var Be=Pe.prototype;Be[ut]=!0,Be[r]=Be.remove,Be.removeAll=Be.deleteAll,Be.setIn=ge,Be.removeIn=Be.deleteIn=me,Be.update=be,Be.updateIn=_e,Be.merge=Be.concat=Se,Be.mergeWith=we,Be.mergeDeep=Oe,Be.mergeDeepWith=Ie,Be.mergeIn=Le,Be.mergeDeepIn=Ne,Be.withMutations=Ae,Be.wasAltered=Re,Be.asImmutable=ze,Be["@@transducer/init"]=Be.asMutable=Te,Be["@@transducer/step"]=function(t,e){return t.set(e[0],e[1])},Be["@@transducer/result"]=function(t){return t.asImmutable()};var Ue=function(t,e){this.ownerID=t,this.entries=e};Ue.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(dt(n,o[i][0]))return o[i][1];return r},Ue.prototype.update=function(t,e,n,r,o,i,a){for(var l=o===s,p=this.entries,f=0,d=p.length;f<d&&!dt(r,p[f][0]);f++);var h=f<d;if(h?p[f][1]===o:l)return this;if(c(a),(l||!h)&&c(i),!l||1!==p.length){if(!h&&!l&&p.length>=rn)return function(t,e,n,r){t||(t=new u);for(var o=new qe(t,mt(n),[n,r]),i=0;i<e.length;i++){var a=e[i];o=o.update(t,0,void 0,a[0],a[1])}return o}(t,p,r,o);var g=t&&t===this.ownerID,y=g?p:$t(p);return h?l?f===d-1?y.pop():y[f]=y.pop():y[f]=[r,o]:y.push([r,o]),g?(this.entries=y,this):new Ue(t,y)}};var Fe=function(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n};Fe.prototype.get=function(t,e,n,r){void 0===e&&(e=mt(n));var i=1<<((0===t?e:e>>>t)&a),s=this.bitmap;return 0==(s&i)?r:this.nodes[en(s&i-1)].get(t+o,e,n,r)},Fe.prototype.update=function(t,e,n,r,c,u,l){void 0===n&&(n=mt(r));var p=(0===e?n:n>>>e)&a,f=1<<p,d=this.bitmap,h=0!=(d&f);if(!h&&c===s)return this;var g=en(d&f-1),y=this.nodes,m=h?y[g]:void 0,v=Xe(m,t,e+o,n,r,c,u,l);if(v===m)return this;if(!h&&v&&y.length>=on)return function(t,e,n,r,o){for(var a=0,s=new Array(i),c=0;0!==n;c++,n>>>=1)s[c]=1&n?e[a++]:void 0;return s[r]=o,new Ke(t,a+1,s)}(t,y,d,p,v);if(h&&!v&&2===y.length&&$e(y[1^g]))return y[1^g];if(h&&v&&1===y.length&&$e(v))return v;var b=t&&t===this.ownerID,_=h?v?d:d^f:d|f,S=h?v?nn(y,g,v,b):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a<r;a++)a===e&&(i=1),o[a]=t[a+i];return o}(y,g,b):function(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(var i=new Array(o),a=0,s=0;s<o;s++)s===e?(i[s]=n,a=-1):i[s]=t[s+a];return i}(y,g,v,b);return b?(this.bitmap=_,this.nodes=S,this):new Fe(t,_,S)};var Ke=function(t,e,n){this.ownerID=t,this.count=e,this.nodes=n};Ke.prototype.get=function(t,e,n,r){void 0===e&&(e=mt(n));var i=(0===t?e:e>>>t)&a,s=this.nodes[i];return s?s.get(t+o,e,n,r):r},Ke.prototype.update=function(t,e,n,r,i,c,u){void 0===n&&(n=mt(r));var l=(0===e?n:n>>>e)&a,p=i===s,f=this.nodes,d=f[l];if(p&&!d)return this;var h=Xe(d,t,e+o,n,r,i,c,u);if(h===d)return this;var g=this.count;if(d){if(!h&&--g<an)return function(t,e,n,r){for(var o=0,i=0,a=new Array(n),s=0,c=1,u=e.length;s<u;s++,c<<=1){var l=e[s];void 0!==l&&s!==r&&(o|=c,a[i++]=l)}return new Fe(t,o,a)}(t,f,g,l)}else g++;var y=t&&t===this.ownerID,m=nn(f,l,h,y);return y?(this.count=g,this.nodes=m,this):new Ke(t,g,m)};var He=function(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n};He.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(dt(n,o[i][0]))return o[i][1];return r},He.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=mt(r));var u=o===s;if(n!==this.keyHash)return u?this:(c(a),c(i),tn(this,t,e,n,[r,o]));for(var l=this.entries,p=0,f=l.length;p<f&&!dt(r,l[p][0]);p++);var d=p<f;if(d?l[p][1]===o:u)return this;if(c(a),(u||!d)&&c(i),u&&2===f)return new qe(t,this.keyHash,l[1^p]);var h=t&&t===this.ownerID,g=h?l:$t(l);return d?u?p===f-1?g.pop():g[p]=g.pop():g[p]=[r,o]:g.push([r,o]),h?(this.entries=g,this):new He(t,this.keyHash,g)};var qe=function(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n};qe.prototype.get=function(t,e,n,r){return dt(n,this.entry[0])?this.entry[1]:r},qe.prototype.update=function(t,e,n,r,o,i,a){var u=o===s,l=dt(r,this.entry[0]);return(l?o===this.entry[1]:u)?this:(c(a),u?void c(i):l?t&&t===this.ownerID?(this.entry[1]=o,this):new qe(t,this.keyHash,[r,o]):(c(i),tn(this,t,e,mt(r),[r,o])))},Ue.prototype.iterate=He.prototype.iterate=function(t,e){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===t(n[e?o-r:r]))return!1},Fe.prototype.iterate=Ke.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[e?o-r:r];if(i&&!1===i.iterate(t,e))return!1}},qe.prototype.iterate=function(t,e){return t(this.entry)};var Ye,We=function(t){function e(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Ze(t._root)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n=e.node,r=e.index++,o=void 0;if(n.entry){if(0===r)return Qe(t,n.entry)}else if(n.entries){if(r<=(o=n.entries.length-1))return Qe(t,n.entries[this._reverse?o-r:r])}else if(r<=(o=n.nodes.length-1)){var i=n.nodes[this._reverse?o-r:r];if(i){if(i.entry)return Qe(t,i.entry);e=this._stack=Ze(i,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}},e}(K);function Qe(t,e){return H(t,e[0],e[1])}function Ze(t,e){return{node:t,index:0,__prev:e}}function Ve(t,e,n,r){var o=Object.create(Be);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Ge(){return Ye||(Ye=Ve(0))}function Je(t,e,n){var r,o;if(t._root){var i={value:!1},a={value:!1};if(r=Xe(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===s?-1:1:0)}else{if(n===s)return t;o=1,r=new Ue(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?Ve(o,r):Ge()}function Xe(t,e,n,r,o,i,a,u){return t?t.update(e,n,r,o,i,a,u):i===s?t:(c(u),c(a),new qe(e,r,[o,i]))}function $e(t){return t.constructor===qe||t.constructor===He}function tn(t,e,n,r,i){if(t.keyHash===r)return new He(e,r,[t.entry,i]);var s,c=(0===n?t.keyHash:t.keyHash>>>n)&a,u=(0===n?r:r>>>n)&a,l=c===u?[tn(t,e,n+o,r,i)]:(s=new qe(e,r,i),c<u?[t,s]:[s,t]);return new Fe(e,1<<c|1<<u,l)}function en(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function nn(t,e,n,r){var o=r?t:$t(t);return o[e]=n,o}var rn=i/4,on=i/2,an=i/4,sn="@@__IMMUTABLE_LIST__@@";function cn(t){return Boolean(t&&t[sn])}var un=function(t){function e(e){var n=yn();if(null==e)return n;if(cn(e))return e;var r=t(e),a=r.size;return 0===a?n:(ee(a),a>0&&a<i?gn(0,a,o,null,new pn(r.toArray())):n.withMutations((function(t){t.setSize(a),r.forEach((function(e,n){return t.set(n,e)}))})))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("List [","]")},e.prototype.get=function(t,e){if((t=p(this,t))>=0&&t<this.size){var n=bn(this,t+=this._origin);return n&&n.array[t&a]}return e},e.prototype.set=function(t,e){return function(t,e,n){if((e=p(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?_n(t,e).set(0,n):_n(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,o=t._root,i={value:!1};return e>=Sn(t._capacity)?r=mn(r,t.__ownerID,0,e,n,i):o=mn(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):gn(t._origin,t._capacity,t._level,o,r):t}(this,t,e)},e.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},e.prototype.insert=function(t,e){return this.splice(t,0,e)},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=o,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):yn()},e.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){_n(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])}))},e.prototype.pop=function(){return _n(this,0,-1)},e.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){_n(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])}))},e.prototype.shift=function(){return _n(this,1)},e.prototype.concat=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++){var o=e[r],i=t("string"!=typeof o&&Y(o)?o:[o]);0!==i.size&&n.push(i)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(t){n.forEach((function(e){return e.forEach((function(e){return t.push(e)}))}))})):this.constructor(n[0])},e.prototype.setSize=function(t){return _n(this,0,t)},e.prototype.map=function(t,e){var n=this;return this.withMutations((function(r){for(var o=0;o<n.size;o++)r.set(o,t.call(e,r.get(o),o,n))}))},e.prototype.slice=function(t,e){var n=this.size;return d(t,e,n)?this:_n(this,h(t,n),g(e,n))},e.prototype.__iterator=function(t,e){var n=e?this.size:0,r=hn(this,e);return new K((function(){var o=r();return o===dn?{value:void 0,done:!0}:H(t,e?--n:n++,o)}))},e.prototype.__iterate=function(t,e){for(var n,r=e?this.size:0,o=hn(this,e);(n=o())!==dn&&!1!==t(n,e?--r:r++,this););return r},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?gn(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):0===this.size?yn():(this.__ownerID=t,this.__altered=!1,this)},e}(j);un.isList=cn;var ln=un.prototype;ln[sn]=!0,ln[r]=ln.remove,ln.merge=ln.concat,ln.setIn=ge,ln.deleteIn=ln.removeIn=me,ln.update=be,ln.updateIn=_e,ln.mergeIn=Le,ln.mergeDeepIn=Ne,ln.withMutations=Ae,ln.wasAltered=Re,ln.asImmutable=ze,ln["@@transducer/init"]=ln.asMutable=Te,ln["@@transducer/step"]=function(t,e){return t.push(e)},ln["@@transducer/result"]=function(t){return t.asImmutable()};var pn=function(t,e){this.array=t,this.ownerID=e};pn.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&a;if(r>=this.array.length)return new pn([],t);var i,s=0===r;if(e>0){var c=this.array[r];if((i=c&&c.removeBefore(t,e-o,n))===c&&s)return this}if(s&&!i)return this;var u=vn(this,t);if(!s)for(var l=0;l<r;l++)u.array[l]=void 0;return i&&(u.array[r]=i),u},pn.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,i=n-1>>>e&a;if(i>=this.array.length)return this;if(e>0){var s=this.array[i];if((r=s&&s.removeAfter(t,e-o,n))===s&&i===this.array.length-1)return this}var c=vn(this,t);return c.array.splice(i+1),r&&(c.array[i]=r),c};var fn,dn={};function hn(t,e){var n=t._origin,r=t._capacity,a=Sn(r),s=t._tail;return function t(c,u,l){return 0===u?function(t,o){var c=o===a?s&&s.array:t&&t.array,u=o>n?0:n-o,l=r-o;return l>i&&(l=i),function(){if(u===l)return dn;var t=e?--l:u++;return c&&c[t]}}(c,l):function(a,s,c){var u,l=a&&a.array,p=c>n?0:n-c>>s,f=1+(r-c>>s);return f>i&&(f=i),function(){for(;;){if(u){var n=u();if(n!==dn)return n;u=null}if(p===f)return dn;var r=e?--f:p++;u=t(l&&l[r],s-o,c+(r<<s))}}}(c,u,l)}(t._root,t._level,0)}function gn(t,e,n,r,o,i,a){var s=Object.create(ln);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function yn(){return fn||(fn=gn(0,0,o))}function mn(t,e,n,r,i,s){var u,l=r>>>n&a,p=t&&l<t.array.length;if(!p&&void 0===i)return t;if(n>0){var f=t&&t.array[l],d=mn(f,e,n-o,r,i,s);return d===f?t:((u=vn(t,e)).array[l]=d,u)}return p&&t.array[l]===i?t:(s&&c(s),u=vn(t,e),void 0===i&&l===u.array.length-1?u.array.pop():u.array[l]=i,u)}function vn(t,e){return e&&t&&e===t.ownerID?t:new pn(t?t.array.slice():[],e)}function bn(t,e){if(e>=Sn(t._capacity))return t._tail;if(e<1<<t._level+o){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&a],r-=o;return n}}function _n(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new u,i=t._origin,s=t._capacity,c=i+e,l=void 0===n?s:n<0?s+n:i+n;if(c===i&&l===s)return t;if(c>=l)return t.clear();for(var p=t._level,f=t._root,d=0;c+d<0;)f=new pn(f&&f.array.length?[void 0,f]:[],r),d+=1<<(p+=o);d&&(c+=d,i+=d,l+=d,s+=d);for(var h=Sn(s),g=Sn(l);g>=1<<p+o;)f=new pn(f&&f.array.length?[f]:[],r),p+=o;var y=t._tail,m=g<h?bn(t,l-1):g>h?new pn([],r):y;if(y&&g>h&&c<s&&y.array.length){for(var v=f=vn(f,r),b=p;b>o;b-=o){var _=h>>>b&a;v=v.array[_]=vn(v.array[_],r)}v.array[h>>>o&a]=y}if(l<s&&(m=m&&m.removeAfter(r,0,l)),c>=g)c-=g,l-=g,p=o,f=null,m=m&&m.removeBefore(r,0,c);else if(c>i||g<h){for(d=0;f;){var S=c>>>p&a;if(S!==g>>>p&a)break;S&&(d+=(1<<p)*S),p-=o,f=f.array[S]}f&&c>i&&(f=f.removeBefore(r,p,c-d)),f&&g<h&&(f=f.removeAfter(r,p,g-d)),d&&(c-=d,l-=d)}return t.__ownerID?(t.size=l-c,t._origin=c,t._capacity=l,t._level=p,t._root=f,t._tail=m,t.__hash=void 0,t.__altered=!0,t):gn(c,l,p,f,m)}function Sn(t){return t<i?0:t-1>>>o<<o}var wn,Mn=function(t){function e(t){return null==t?kn():pt(t)?t:kn().withMutations((function(e){var n=x(t);ee(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("OrderedMap {","}")},e.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this.__altered=!0,this):kn()},e.prototype.set=function(t,e){return xn(this,t,e)},e.prototype.remove=function(t){return xn(this,t,s)},e.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},e.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},e.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?En(e,n,t,this.__hash):0===this.size?kn():(this.__ownerID=t,this.__altered=!1,this._map=e,this._list=n,this)},e}(Pe);function En(t,e,n,r){var o=Object.create(Mn.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function kn(){return wn||(wn=En(Ge(),yn()))}function xn(t,e,n){var r,o,a=t._map,c=t._list,u=a.get(e),l=void 0!==u;if(n===s){if(!l)return t;c.size>=i&&c.size>=2*a.size?(r=(o=c.filter((function(t,e){return void 0!==t&&u!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(r.__ownerID=o.__ownerID=t.__ownerID)):(r=a.remove(e),o=u===c.size-1?c.pop():c.set(u,void 0))}else if(l){if(n===c.get(u)[1])return t;r=a,o=c.set(u,[e,n])}else r=a.set(e,c.size),o=c.set(c.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=o,t.__hash=void 0,t.__altered=!0,t):En(r,o)}Mn.isOrderedMap=pt,Mn.prototype[A]=!0,Mn.prototype[r]=Mn.prototype.remove;var jn="@@__IMMUTABLE_STACK__@@";function Cn(t){return Boolean(t&&t[jn])}var Dn=function(t){function e(t){return null==t?Nn():Cn(t)?t:Nn().pushAll(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("Stack [","]")},e.prototype.get=function(t,e){var n=this._head;for(t=p(this,t);n&&t--;)n=n.next;return n?n.value:e},e.prototype.peek=function(){return this._head&&this._head.value},e.prototype.push=function(){var t=arguments;if(0===arguments.length)return this;for(var e=this.size+arguments.length,n=this._head,r=arguments.length-1;r>=0;r--)n={value:t[r],next:n};return this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Ln(e,n)},e.prototype.pushAll=function(e){if(0===(e=t(e)).size)return this;if(0===this.size&&Cn(e))return e;ee(e.size);var n=this.size,r=this._head;return e.__iterate((function(t){n++,r={value:t,next:r}}),!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):Ln(n,r)},e.prototype.pop=function(){return this.slice(1)},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Nn()},e.prototype.slice=function(e,n){if(d(e,n,this.size))return this;var r=h(e,this.size);if(g(n,this.size)!==this.size)return t.prototype.slice.call(this,e,n);for(var o=this.size-r,i=this._head;r--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):Ln(o,i)},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ln(this.size,this._head,t,this.__hash):0===this.size?Nn():(this.__ownerID=t,this.__altered=!1,this)},e.prototype.__iterate=function(t,e){var n=this;if(e)return new et(this.toArray()).__iterate((function(e,r){return t(e,r,n)}),e);for(var r=0,o=this._head;o&&!1!==t(o.value,r++,this);)o=o.next;return r},e.prototype.__iterator=function(t,e){if(e)return new et(this.toArray()).__iterator(t,e);var n=0,r=this._head;return new K((function(){if(r){var e=r.value;return r=r.next,H(t,n++,e)}return{value:void 0,done:!0}}))},e}(j);Dn.isStack=Cn;var On,In=Dn.prototype;function Ln(t,e,n,r){var o=Object.create(In);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Nn(){return On||(On=Ln(0))}In[jn]=!0,In.shift=In.pop,In.unshift=In.push,In.unshiftAll=In.pushAll,In.withMutations=Ae,In.wasAltered=Re,In.asImmutable=ze,In["@@transducer/init"]=In.asMutable=Te,In["@@transducer/step"]=function(t,e){return t.unshift(e)},In["@@transducer/result"]=function(t){return t.asImmutable()};var An="@@__IMMUTABLE_SET__@@";function Tn(t){return Boolean(t&&t[An])}function zn(t){return Tn(t)&&T(t)}function Rn(t,e){if(t===e)return!0;if(!b(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||S(t)!==S(e)||M(t)!==M(e)||T(t)!==T(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!E(t);if(T(t)){var r=t.entries();return e.every((function(t,e){var o=r.next().value;return o&&dt(o[1],t)&&(n||dt(o[0],e))}))&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var i=t;t=e,e=i}var a=!0,c=e.__iterate((function(e,r){if(n?!t.has(e):o?!dt(e,t.get(r,s)):!dt(t.get(r,s),e))return a=!1,!1}));return a&&t.size===c}function Pn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}function Bn(t){if(!t||"object"!=typeof t)return t;if(!b(t)){if(!ie(t))return t;t=J(t)}if(S(t)){var e={};return t.__iterate((function(t,n){e[n]=Bn(t)})),e}var n=[];return t.__iterate((function(t){n.push(Bn(t))})),n}var Un=function(t){function e(e){return null==e?Yn():Tn(e)&&!T(e)?e:Yn().withMutations((function(n){var r=t(e);ee(r.size),r.forEach((function(t){return n.add(t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(t){return this(x(t).keySeq())},e.intersect=function(t){return(t=k(t).toArray()).length?Kn.intersect.apply(e(t.pop()),t):Yn()},e.union=function(t){return(t=k(t).toArray()).length?Kn.union.apply(e(t.pop()),t):Yn()},e.prototype.toString=function(){return this.__toString("Set {","}")},e.prototype.has=function(t){return this._map.has(t)},e.prototype.add=function(t){return Hn(this,this._map.set(t,t))},e.prototype.remove=function(t){return Hn(this,this._map.remove(t))},e.prototype.clear=function(){return Hn(this,this._map.clear())},e.prototype.map=function(t,e){var n=this,r=!1,o=Hn(this,this._map.mapEntries((function(o){var i=o[1],a=t.call(e,i,i,n);return a!==i&&(r=!0),[a,a]}),e));return r?o:this},e.prototype.union=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(n){for(var r=0;r<e.length;r++)"string"==typeof e[r]?n.add(e[r]):t(e[r]).forEach((function(t){return n.add(t)}))})):this.constructor(e[0])},e.prototype.intersect=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(0===e.length)return this;e=e.map((function(e){return t(e)}));var r=[];return this.forEach((function(t){e.every((function(e){return e.includes(t)}))||r.push(t)})),this.withMutations((function(t){r.forEach((function(e){t.remove(e)}))}))},e.prototype.subtract=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(0===e.length)return this;e=e.map((function(e){return t(e)}));var r=[];return this.forEach((function(t){e.some((function(e){return e.includes(t)}))&&r.push(t)})),this.withMutations((function(t){r.forEach((function(e){t.remove(e)}))}))},e.prototype.sort=function(t){return lr(Ht(this,t))},e.prototype.sortBy=function(t,e){return lr(Ht(this,e,t))},e.prototype.wasAltered=function(){return this._map.wasAltered()},e.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate((function(e){return t(e,e,n)}),e)},e.prototype.__iterator=function(t,e){return this._map.__iterator(t,e)},e.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):0===this.size?this.__empty():(this.__ownerID=t,this._map=e,this)},e}(C);Un.isSet=Tn;var Fn,Kn=Un.prototype;function Hn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function qn(t,e){var n=Object.create(Kn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Yn(){return Fn||(Fn=qn(Ge()))}Kn[An]=!0,Kn[r]=Kn.remove,Kn.merge=Kn.concat=Kn.union,Kn.withMutations=Ae,Kn.asImmutable=ze,Kn["@@transducer/init"]=Kn.asMutable=Te,Kn["@@transducer/step"]=function(t,e){return t.add(e)},Kn["@@transducer/result"]=function(t){return t.asImmutable()},Kn.__empty=Yn,Kn.__make=qn;var Wn,Qn=function(t){function e(t,n,r){if(!(this instanceof e))return new e(t,n,r);if(te(0!==r,"Cannot step a Range by 0"),t=t||0,void 0===n&&(n=1/0),r=void 0===r?1:Math.abs(r),n<t&&(r=-r),this._start=t,this._end=n,this._step=r,this.size=Math.max(0,Math.ceil((n-t)/r-1)+1),0===this.size){if(Wn)return Wn;Wn=this}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},e.prototype.get=function(t,e){return this.has(t)?this._start+p(this,t)*this._step:e},e.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},e.prototype.slice=function(t,n){return d(t,n,this.size)?this:(t=h(t,this.size),(n=g(n,this.size))<=t?new e(0,0):new e(this.get(t,this._end),this.get(n,this._end),this._step))},e.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},e.prototype.lastIndexOf=function(t){return this.indexOf(t)},e.prototype.__iterate=function(t,e){for(var n=this.size,r=this._step,o=e?this._start+(n-1)*r:this._start,i=0;i!==n&&!1!==t(o,e?n-++i:i++,this);)o+=e?-r:r;return i},e.prototype.__iterator=function(t,e){var n=this.size,r=this._step,o=e?this._start+(n-1)*r:this._start,i=0;return new K((function(){if(i===n)return{value:void 0,done:!0};var a=o;return o+=e?-r:r,H(t,e?n-++i:i++,a)}))},e.prototype.equals=function(t){return t instanceof e?this._start===t._start&&this._end===t._end&&this._step===t._step:Rn(this,t)},e}($);function Zn(t,e,n){for(var r=ne(e),o=0;o!==r.length;)if((t=ce(t,r[o++],s))===s)return n;return t}function Vn(t,e){return Zn(this,t,e)}function Gn(t,e){return Zn(t,e,s)!==s}function Jn(){ee(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t}k.isIterable=b,k.isKeyed=S,k.isIndexed=M,k.isAssociative=E,k.isOrdered=T,k.Iterator=K,Pn(k,{toArray:function(){ee(this.size);var t=new Array(this.size||0),e=S(this),n=0;return this.__iterate((function(r,o){t[n++]=e?[o,r]:r})),t},toIndexedSeq:function(){return new Nt(this)},toJS:function(){return Bn(this)},toKeyedSeq:function(){return new Lt(this,!0)},toMap:function(){return Pe(this.toKeyedSeq())},toObject:Jn,toOrderedMap:function(){return Mn(this.toKeyedSeq())},toOrderedSet:function(){return lr(S(this)?this.valueSeq():this)},toSet:function(){return Un(S(this)?this.valueSeq():this)},toSetSeq:function(){return new At(this)},toSeq:function(){return M(this)?this.toIndexedSeq():S(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Dn(S(this)?this.valueSeq():this)},toList:function(){return un(S(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Qt(this,function(t,e){var n=S(t),r=[t].concat(e).map((function(t){return b(t)?n&&(t=x(t)):t=n?at(t):st(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===r.length)return t;if(1===r.length){var o=r[0];if(o===t||n&&S(o)||M(t)&&M(o))return o}var i=new et(r);return n?i=i.toKeyedSeq():M(t)||(i=i.toSetSeq()),(i=i.flatten(!0)).size=r.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),i}(this,t))},includes:function(t){return this.some((function(e){return dt(e,t)}))},entries:function(){return this.__iterator(P)},every:function(t,e){ee(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1})),n},filter:function(t,e){return Qt(this,Bt(this,t,e,!0))},partition:function(t,e){return function(t,e,n){var r=S(t),o=[[],[]];t.__iterate((function(i,a){o[e.call(n,i,a,t)?1:0].push(r?[a,i]:i)}));var i=Vt(t);return o.map((function(e){return Qt(t,i(e))}))}(this,t,e)},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},forEach:function(t,e){return ee(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){ee(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(z)},map:function(t,e){return Qt(this,Rt(this,t,e))},reduce:function(t,e,n){return nr(this,t,e,n,arguments.length<2,!1)},reduceRight:function(t,e,n){return nr(this,t,e,n,arguments.length<2,!0)},reverse:function(){return Qt(this,Pt(this,!0))},slice:function(t,e){return Qt(this,Ut(this,t,e,!0))},some:function(t,e){ee(this.size);var n=!1;return this.__iterate((function(r,o,i){if(t.call(e,r,o,i))return n=!0,!1})),n},sort:function(t){return Qt(this,Ht(this,t))},values:function(){return this.__iterator(R)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return l(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=Pe().asMutable();return t.__iterate((function(o,i){r.update(e.call(n,o,i,t),0,(function(t){return t+1}))})),r.asImmutable()}(this,t,e)},equals:function(t){return Rn(this,t)},entrySeq:function(){var t=this;if(t._cache)return new et(t._cache);var e=t.toSeq().map(or).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(ir(t),e)},findEntry:function(t,e,n){var r=n;return this.__iterate((function(n,o,i){if(t.call(e,n,o,i))return r=[o,n],!1})),r},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(t){return this.find(f,null,t)},flatMap:function(t,e){return Qt(this,function(t,e,n){var r=Vt(t);return t.toSeq().map((function(o,i){return r(e.call(n,o,i,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Qt(this,Kt(this,t,!0))},fromEntrySeq:function(){return new Tt(this)},get:function(t,e){return this.find((function(e,n){return dt(n,t)}),void 0,e)},getIn:Vn,groupBy:function(t,e){return function(t,e,n){var r=S(t),o=(T(t)?Mn():Pe()).asMutable();t.__iterate((function(i,a){o.update(e.call(n,i,a,t),(function(t){return(t=t||[]).push(r?[a,i]:i),t}))}));var i=Vt(t);return o.map((function(e){return Qt(t,i(e))})).asImmutable()}(this,t,e)},has:function(t){return this.get(t,s)!==s},hasIn:function(t){return Gn(this,t)},isSubset:function(t){return t="function"==typeof t.includes?t:k(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:k(t)).isSubset(this)},keyOf:function(t){return this.findKey((function(e){return dt(e,t)}))},keySeq:function(){return this.toSeq().map(rr).toIndexedSeq()},last:function(t){return this.toSeq().reverse().first(t)},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return qt(this,t)},maxBy:function(t,e){return qt(this,e,t)},min:function(t){return qt(this,t?ar(t):cr)},minBy:function(t,e){return qt(this,e?ar(e):cr,t)},rest:function(){return this.slice(1)},skip:function(t){return 0===t?this:this.slice(Math.max(0,t))},skipLast:function(t){return 0===t?this:this.slice(0,-Math.max(0,t))},skipWhile:function(t,e){return Qt(this,Ft(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(ir(t),e)},sortBy:function(t,e){return Qt(this,Ht(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return this.slice(-Math.max(0,t))},takeWhile:function(t,e){return Qt(this,function(t,e,n){var r=Gt(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate((function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(P,o),s=!0;return new K((function(){if(!s)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var o=t.value,c=o[0],u=o[1];return e.call(n,u,c,i)?r===P?t:H(r,c,u,t):(s=!1,{value:void 0,done:!0})}))},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(ir(t),e)},update:function(t){return t(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=T(t),n=S(t),r=e?1:0;return function(t,e){return e=ht(e,3432918353),e=ht(e<<15|e>>>-15,461845907),e=ht(e<<13|e>>>-13,5),e=ht((e=(e+3864292196|0)^t)^e>>>16,2246822507),e=gt((e=ht(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+ur(mt(t),mt(e))|0}:function(t,e){r=r+ur(mt(t),mt(e))|0}:e?function(t){r=31*r+mt(t)|0}:function(t){r=r+mt(t)|0}),r)}(this))}});var Xn=k.prototype;Xn[v]=!0,Xn[F]=Xn.values,Xn.toJSON=Xn.toArray,Xn.__toStringMapper=ae,Xn.inspect=Xn.toSource=function(){return this.toString()},Xn.chain=Xn.flatMap,Xn.contains=Xn.includes,Pn(x,{flip:function(){return Qt(this,zt(this))},mapEntries:function(t,e){var n=this,r=0;return Qt(this,this.toSeq().map((function(o,i){return t.call(e,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Qt(this,this.toSeq().flip().map((function(r,o){return t.call(e,r,o,n)})).flip())}});var $n=x.prototype;$n[_]=!0,$n[F]=Xn.entries,$n.toJSON=Jn,$n.__toStringMapper=function(t,e){return ae(e)+": "+ae(t)},Pn(j,{toKeyedSeq:function(){return new Lt(this,!1)},filter:function(t,e){return Qt(this,Bt(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Qt(this,Pt(this,!1))},slice:function(t,e){return Qt(this,Ut(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(e||0,0),0===n||2===n&&!e)return this;t=h(t,t<0?this.count():this.size);var r=this.slice(0,t);return Qt(this,1===n?r:r.concat($t(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(t){return this.get(0,t)},flatten:function(t){return Qt(this,Kt(this,t,!1))},get:function(t,e){return(t=p(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=p(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Qt(this,function(t,e){var n=Gt(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return t.__iterate((function(t){return(!i||!1!==n(e,i++,o))&&!1!==n(t,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=t.__iterator(R,r),a=0;return new K((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?H(n,a++,e):H(n,a++,o.value,o)}))},n}(this,t))},interleave:function(){var t=[this].concat($t(arguments)),e=Wt(this.toSeq(),$.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Qt(this,n)},keySeq:function(){return Qn(0,this.size)},last:function(t){return this.get(-1,t)},skipWhile:function(t,e){return Qt(this,Ft(this,t,e,!1))},zip:function(){return Qt(this,Wt(this,sr,[this].concat($t(arguments))))},zipAll:function(){return Qt(this,Wt(this,sr,[this].concat($t(arguments)),!0))},zipWith:function(t){var e=$t(arguments);return e[0]=this,Qt(this,Wt(this,t,e))}});var tr=j.prototype;tr[w]=!0,tr[A]=!0,Pn(C,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}});var er=C.prototype;function nr(t,e,n,r,o,i){return ee(t.size),t.__iterate((function(t,i,a){o?(o=!1,n=t):n=e.call(r,n,t,i,a)}),i),n}function rr(t,e){return e}function or(t,e){return[e,t]}function ir(t){return function(){return!t.apply(this,arguments)}}function ar(t){return function(){return-t.apply(this,arguments)}}function sr(){return $t(arguments)}function cr(t,e){return t<e?1:t>e?-1:0}function ur(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}er.has=Xn.includes,er.contains=er.includes,er.keys=er.values,Pn(X,$n),Pn($,tr),Pn(tt,er);var lr=function(t){function e(t){return null==t?hr():zn(t)?t:hr().withMutations((function(e){var n=C(t);ee(n.size),n.forEach((function(t){return e.add(t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(t){return this(x(t).keySeq())},e.prototype.toString=function(){return this.__toString("OrderedSet {","}")},e}(Un);lr.isOrderedSet=zn;var pr,fr=lr.prototype;function dr(t,e){var n=Object.create(fr);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function hr(){return pr||(pr=dr(kn()))}fr[A]=!0,fr.zip=tr.zip,fr.zipWith=tr.zipWith,fr.zipAll=tr.zipAll,fr.__empty=hr,fr.__make=dr;var gr={LeftThenRight:-1,RightThenLeft:1},yr=function(t,e){var n;!function(t){if(L(t))throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if(N(t))throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(null===t||"object"!=typeof t)throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}(t);var r=function(i){var a=this;if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var s=Object.keys(t),c=o._indices={};o._name=e,o._keys=s,o._defaultValues=t;for(var u=0;u<s.length;u++){var l=s[u];c[l]=u,o[l]?"object"==typeof console&&console.warn&&console.warn("Cannot define "+br(this)+' with property "'+l+'" since that property name is part of the Record API.'):Sr(o,l)}}return this.__ownerID=void 0,this._values=un().withMutations((function(t){t.setSize(a._keys.length),x(i).forEach((function(e,n){t.set(a._indices[n],e===a._defaultValues[n]?void 0:e)}))})),this},o=r.prototype=Object.create(mr);return o.constructor=r,e&&(r.displayName=e),r};yr.prototype.toString=function(){for(var t,e=br(this)+" { ",n=this._keys,r=0,o=n.length;r!==o;r++)e+=(r?", ":"")+(t=n[r])+": "+ae(this.get(t));return e+" }"},yr.prototype.equals=function(t){return this===t||L(t)&&_r(this).equals(_r(t))},yr.prototype.hashCode=function(){return _r(this).hashCode()},yr.prototype.has=function(t){return this._indices.hasOwnProperty(t)},yr.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._indices[t],r=this._values.get(n);return void 0===r?this._defaultValues[t]:r},yr.prototype.set=function(t,e){if(this.has(t)){var n=this._values.set(this._indices[t],e===this._defaultValues[t]?void 0:e);if(n!==this._values&&!this.__ownerID)return vr(this,n)}return this},yr.prototype.remove=function(t){return this.set(t)},yr.prototype.clear=function(){var t=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:vr(this,t)},yr.prototype.wasAltered=function(){return this._values.wasAltered()},yr.prototype.toSeq=function(){return _r(this)},yr.prototype.toJS=function(){return Bn(this)},yr.prototype.entries=function(){return this.__iterator(P)},yr.prototype.__iterator=function(t,e){return _r(this).__iterator(t,e)},yr.prototype.__iterate=function(t,e){return _r(this).__iterate(t,e)},yr.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._values.__ensureOwner(t);return t?vr(this,e,t):(this.__ownerID=t,this._values=e,this)},yr.isRecord=L,yr.getDescriptiveName=br;var mr=yr.prototype;function vr(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._values=e,r.__ownerID=n,r}function br(t){return t.constructor.displayName||t.constructor.name||"Record"}function _r(t){return at(t._keys.map((function(e){return[e,t.get(e)]})))}function Sr(t,e){try{Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){te(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}catch(t){}}mr[I]=!0,mr[r]=mr.remove,mr.deleteIn=mr.removeIn=me,mr.getIn=Vn,mr.hasIn=Xn.hasIn,mr.merge=Se,mr.mergeWith=we,mr.mergeIn=Le,mr.mergeDeep=Oe,mr.mergeDeepWith=Ie,mr.mergeDeepIn=Ne,mr.setIn=ge,mr.update=be,mr.updateIn=_e,mr.withMutations=Ae,mr.asMutable=Te,mr.asImmutable=ze,mr[F]=mr.entries,mr.toJSON=mr.toObject=Xn.toObject,mr.inspect=mr.toSource=function(){return this.toString()};var wr,Mr=function(t){function e(t,n){if(!(this instanceof e))return new e(t,n);if(this._value=t,this.size=void 0===n?1/0:Math.max(0,n),0===this.size){if(wr)return wr;wr=this}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},e.prototype.get=function(t,e){return this.has(t)?this._value:e},e.prototype.includes=function(t){return dt(this._value,t)},e.prototype.slice=function(t,n){var r=this.size;return d(t,n,r)?this:new e(this._value,g(n,r)-h(t,r))},e.prototype.reverse=function(){return this},e.prototype.indexOf=function(t){return dt(this._value,t)?0:-1},e.prototype.lastIndexOf=function(t){return dt(this._value,t)?this.size:-1},e.prototype.__iterate=function(t,e){for(var n=this.size,r=0;r!==n&&!1!==t(this._value,e?n-++r:r++,this););return r},e.prototype.__iterator=function(t,e){var n=this,r=this.size,o=0;return new K((function(){return o===r?{value:void 0,done:!0}:H(t,e?r-++o:o++,n._value)}))},e.prototype.equals=function(t){return t instanceof e?dt(this._value,t._value):Rn(t)},e}($);function Er(t,e){return kr([],e||xr,t,"",e&&e.length>2?[]:void 0,{"":t})}function kr(t,e,n,r,o,i){if("string"!=typeof n&&!N(n)&&(G(n)||Y(n)||oe(n))){if(~t.indexOf(n))throw new TypeError("Cannot convert circular structure to Immutable");t.push(n),o&&""!==r&&o.push(r);var a=e.call(i,r,J(n).map((function(r,i){return kr(t,e,r,i,o,n)})),o&&o.slice());return t.pop(),o&&o.pop(),a}return n}function xr(t,e){return M(e)?e.toList():S(e)?e.toMap():e.toSet()}var jr="4.3.4",Cr=k;const Dr={version:jr,Collection:k,Iterable:k,Seq:J,Map:Pe,OrderedMap:Mn,List:un,Stack:Dn,Set:Un,OrderedSet:lr,PairSorting:gr,Record:yr,Range:Qn,Repeat:Mr,is:dt,fromJS:Er,hash:mt,isImmutable:N,isCollection:b,isKeyed:S,isIndexed:M,isAssociative:E,isOrdered:T,isValueObject:ft,isPlainObject:oe,isSeq:O,isList:cn,isMap:lt,isOrderedMap:pt,isStack:Cn,isSet:Tn,isOrderedSet:zn,isRecord:L,get:ce,getIn:Zn,has:se,hasIn:Gn,merge:Ee,mergeDeep:xe,mergeWith:ke,mergeDeepWith:je,remove:le,removeIn:ye,set:pe,setIn:he,update:ve,updateIn:fe}},54516:t=>{"use strict";var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,o){for(var i,a,s=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),c=1;c<arguments.length;c++){for(var u in i=Object(arguments[c]))n.call(i,u)&&(s[u]=i[u]);if(e){a=e(i);for(var l=0;l<a.length;l++)r.call(i,a[l])&&(s[a[l]]=i[a[l]])}}return s}},10671:(t,e,n)=>{window,t.exports=function(t,e,n){return i={},r.m=o=[function(t,e,n){t.exports=n(9)()},function(e,n){e.exports=t},function(t,e,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"==i||"number"==i)t.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&t.push(a)}else if("object"==i)for(var s in r)n.call(r,s)&&r[s]&&t.push(s)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},function(t,n){t.exports=e},function(t,e,n){function r(t){if(s[t])return s[t].exports;var e=s[t]={i:t,l:!1,exports:{}};return a[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var o,i,a,s;window,t.exports=(o=n(3),i=n(5),s={},r.m=a=[function(t,e){t.exports=o},function(t,e){t.exports=i},function(t,e,n){t.exports=n(3)},function(t,e,n){"use strict";n.r(e);var r=n(0),o=n(1);function i(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getStartKey(),o=e.getEndKey(),i=n.getBlockMap();return i.toSeq().skipUntil((function(t,e){return e===r})).takeUntil((function(t,e){return e===o})).concat([[o,i.get(o)]])}function a(t){return i(t).toList()}function s(t){if(t)return a(t).get(0)}function c(t){if(t){var e=s(t),n=t.getCurrentContent().getBlockMap().toSeq().toList(),r=0;if(n.forEach((function(t,n){t.get("key")===e.get("key")&&(r=n-1)})),-1<r)return n.get(r)}}function u(t){return t?t.getCurrentContent().getBlockMap().toList():new o.List}function l(t){var e=a(t);if(!e.some((function(t){return t.type!==e.get(0).type})))return e.get(0).type}function p(t){var e=r.RichUtils.tryToRemoveBlockStyle(t);return e?r.EditorState.push(t,e,"change-block-type"):t}function f(t){var e="",n=t.getSelection(),r=n.getAnchorOffset(),o=n.getFocusOffset(),i=a(t);if(0<i.size){if(n.getIsBackward()){var s=r;r=o,o=s}for(var c=0;c<i.size;c+=1){var u=0===c?r:0,l=c===i.size-1?o:i.get(c).getText().length;e+=i.get(c).getText().slice(u,l)}}return e}function d(t){var e=t.getCurrentContent(),n=t.getSelection(),o=r.Modifier.removeRange(e,n,"forward"),i=o.getSelectionAfter(),a=o.getBlockForKey(i.getStartKey());return o=r.Modifier.insertText(o,i,"\n",a.getInlineStyleAt(i.getStartOffset()),null),r.EditorState.push(t,o,"insert-fragment")}function h(t){var e=r.Modifier.splitBlock(t.getCurrentContent(),t.getSelection());return p(r.EditorState.push(t,e,"split-block"))}function g(t){var e=t.getCurrentContent().getBlockMap().toList(),n=t.getSelection().merge({anchorKey:e.first().get("key"),anchorOffset:0,focusKey:e.last().get("key"),focusOffset:e.last().getLength()}),o=r.Modifier.removeRange(t.getCurrentContent(),n,"forward");return r.EditorState.push(t,o,"remove-range")}function y(t,e){var n=r.Modifier.setBlockData(t.getCurrentContent(),t.getSelection(),e);return r.EditorState.push(t,n,"change-block-data")}function m(t){var e=new o.Map({}),n=a(t);if(n&&0<n.size)for(var r=function(t){var r=n.get(t).getData();if(!r||0===r.size)return e=e.clear(),"break";if(0===t)e=r;else if(e.forEach((function(t,n){r.get(n)&&r.get(n)===t||(e=e.delete(n))})),0===e.size)return e=e.clear(),"break"},i=0;i<n.size&&"break"!==r(i);i+=1);return e}var v=Object(o.Map)({code:{element:"pre"}}),b=r.DefaultDraftBlockRenderMap.merge(v);function _(t){if(t){var e=t.getType();return"unordered-list-item"===e||"ordered-list-item"===e}return!1}function S(t,e,n){var o,a=t.getSelection();o=a.getIsBackward()?a.getFocusKey():a.getAnchorKey();var s=t.getCurrentContent(),c=s.getBlockForKey(o),u=c.getType();if("unordered-list-item"!==u&&"ordered-list-item"!==u)return t;var l=s.getBlockBefore(o);if(!l)return t;if(l.getType()!==u)return t;var p=c.getDepth();if(1===e&&p===n)return t;var f,d,h,g,y,m,v,b=Math.min(l.getDepth()+1,n),_=(d=e,h=b,g=(f=t).getSelection(),m=(y=f.getCurrentContent()).getBlockMap(),v=i(f).map((function(t){var e=t.getDepth()+d;return e=Math.max(0,Math.min(e,h)),t.set("depth",e)})),m=m.merge(v),y.merge({blockMap:m,selectionBefore:g,selectionAfter:g}));return r.EditorState.push(t,_,"adjust-depth")}function w(t,e){var n;return 13===(n=e).which&&(n.getModifierState("Shift")||n.getModifierState("Alt")||n.getModifierState("Control"))?t.getSelection().isCollapsed()?r.RichUtils.insertSoftNewline(t):d(t):function(t){var e=t.getSelection();if(e.isCollapsed()){var n=t.getCurrentContent(),r=e.getStartKey(),o=n.getBlockForKey(r);if(!_(o)&&"unstyled"!==o.getType()&&o.getLength()===e.getStartOffset())return h(t);if(_(o)&&0===o.getLength()){var i=o.getDepth();if(0===i)return p(t);if(0<i)return S(t,-1,i)}}}(t)}function M(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function k(t){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function x(t){var e=t.getSelection();if(e.isCollapsed()){var n={},r=t.getCurrentInlineStyle().toList().toJS();if(r)return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(t){n[t]=0<=r.indexOf(t)})),n}var o=e.getStartOffset(),i=e.getEndOffset(),s=a(t);if(0<s.size){var c=function(){for(var t={BOLD:!0,ITALIC:!0,UNDERLINE:!0,STRIKETHROUGH:!0,CODE:!0,SUPERSCRIPT:!0,SUBSCRIPT:!0},e=0;e<s.size;e+=1){var n=0===e?o:0,r=e===s.size-1?i:s.get(e).getText().length;n===r&&0===n?(n=1,r=2):n===r&&--n;for(var a=function(n){var r=s.get(e).getInlineStyleAt(n);["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(e){t[e]=t[e]&&r.get(e)===e}))},c=n;c<r;c+=1)a(c)}return{v:t}}();if("object"===k(c))return c.v}return{}}function j(t){var e,n=t.getSelection(),r=n.getStartOffset(),o=n.getEndOffset();r===o&&0===r?o=1:r===o&&--r;for(var i=s(t),a=r;a<o;a+=1){var c=i.getEntityAt(a);if(!c){e=void 0;break}if(a===r)e=c;else if(e!==c){e=void 0;break}}return e}function C(t,e){var n,r=s(t);return r.findEntityRanges((function(t){return t.get("entity")===e}),(function(t,e){n={start:t,end:e,text:r.get("text").slice(t,e)}})),n}function D(t,e,n){I[t]["".concat(t.toLowerCase(),"-").concat(n)]=E({},"".concat(e),n)}function O(){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?M(Object(n),!0).forEach((function(e){E(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},I.color,{},I.bgcolor,{},I.fontSize,{},I.fontFamily,{CODE:I.CODE,SUPERSCRIPT:I.SUPERSCRIPT,SUBSCRIPT:I.SUBSCRIPT})}var I={color:{},bgcolor:{},fontSize:{},fontFamily:{},CODE:{fontFamily:"monospace",wordWrap:"break-word",background:"#f1f1f1",borderRadius:3,padding:"1px 3px"},SUPERSCRIPT:{fontSize:11,position:"relative",top:-8,display:"inline-flex"},SUBSCRIPT:{fontSize:11,position:"relative",bottom:-8,display:"inline-flex"}};function L(t,e,n){var o=t.getSelection(),i=Object.keys(I[e]).reduce((function(t,e){return r.Modifier.removeInlineStyle(t,o,e)}),t.getCurrentContent()),a=r.EditorState.push(t,i,"changeinline-style"),s=t.getCurrentInlineStyle();if(o.isCollapsed()&&(a=s.reduce((function(t,e){return r.RichUtils.toggleInlineStyle(t,e)}),a)),"SUPERSCRIPT"===e||"SUBSCRIPT"==e)s.has(n)||(a=r.RichUtils.toggleInlineStyle(a,n));else{var c="bgcolor"===e?"backgroundColor":e;s.has("".concat(c,"-").concat(n))||(a=r.RichUtils.toggleInlineStyle(a,"".concat(e.toLowerCase(),"-").concat(n)),D(e,c,n))}return a}function N(t){t&&t.getCurrentContent().getBlockMap().map((function(t){return t.get("characterList")})).toList().flatten().forEach((function(t){t&&0===t.indexOf("color-")?D("color","color",t.substr(6)):t&&0===t.indexOf("bgcolor-")?D("bgcolor","backgroundColor",t.substr(8)):t&&0===t.indexOf("fontsize-")?D("fontSize","fontSize",+t.substr(9)):t&&0===t.indexOf("fontfamily-")&&D("fontFamily","fontFamily",t.substr(11))}))}function A(t,e,n){var r=t.getInlineStyleAt(n).toList().filter((function(t){return t.startsWith(e.toLowerCase())}));if(r&&0<r.size)return r.get(0)}function T(t,e){if(t&&e&&0<e.length){var n=function(){var n=t.getSelection(),r={};if(n.isCollapsed())return e.forEach((function(e){r[e]=function(t,e){var n=t.getCurrentInlineStyle().toList().filter((function(t){return t.startsWith(e.toLowerCase())}));if(n&&0<n.size)return n.get(0)}(t,e)})),{v:r};var o=n.getStartOffset(),i=n.getEndOffset(),s=a(t);if(0<s.size){for(var c=function(t){var n=0===t?o:0,a=t===s.size-1?i:s.get(t).getText().length;n===a&&0===n?(n=1,a=2):n===a&&--n;for(var c=function(o){o===n?e.forEach((function(e){r[e]=A(s.get(t),e,o)})):e.forEach((function(e){r[e]&&r[e]!==A(s.get(t),e,o)&&(r[e]=void 0)}))},u=n;u<a;u+=1)c(u)},u=0;u<s.size;u+=1)c(u);return{v:r}}}();if("object"===k(n))return n.v}return{}}function z(t){var e=t.getCurrentInlineStyle(),n=t.getCurrentContent();return e.forEach((function(e){n=r.Modifier.removeInlineStyle(n,t.getSelection(),e)})),r.EditorState.push(t,n,"change-inline-style")}n.d(e,"isListBlock",(function(){return _})),n.d(e,"changeDepth",(function(){return S})),n.d(e,"handleNewLine",(function(){return w})),n.d(e,"getEntityRange",(function(){return C})),n.d(e,"getCustomStyleMap",(function(){return O})),n.d(e,"toggleCustomInlineStyle",(function(){return L})),n.d(e,"getSelectionEntity",(function(){return j})),n.d(e,"extractInlineStyle",(function(){return N})),n.d(e,"removeAllInlineStyles",(function(){return z})),n.d(e,"getSelectionInlineStyle",(function(){return x})),n.d(e,"getSelectionCustomInlineStyle",(function(){return T})),n.d(e,"getSelectedBlocksMap",(function(){return i})),n.d(e,"getSelectedBlocksList",(function(){return a})),n.d(e,"getSelectedBlock",(function(){return s})),n.d(e,"getBlockBeforeSelectedBlock",(function(){return c})),n.d(e,"getAllBlocks",(function(){return u})),n.d(e,"getSelectedBlocksType",(function(){return l})),n.d(e,"removeSelectedBlocksStyle",(function(){return p})),n.d(e,"getSelectionText",(function(){return f})),n.d(e,"addLineBreakRemovingSelection",(function(){return d})),n.d(e,"insertNewUnstyledBlock",(function(){return h})),n.d(e,"clearEditorContent",(function(){return g})),n.d(e,"setBlockData",(function(){return y})),n.d(e,"getSelectedBlocksMetadata",(function(){return m})),n.d(e,"blockRenderMap",(function(){return b}))}],r.c=s,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=2))},function(t,e){t.exports=n},function(t,e,n){function r(t){if(s[t])return s[t].exports;var e=s[t]={i:t,l:!1,exports:{}};return a[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var o,i,a,s;window,t.exports=(o=n(5),i=n(3),s={},r.m=a=[function(t,e){t.exports=o},function(t,e){t.exports=i},function(t,e,n){t.exports=n(3)},function(t,e,n){"use strict";n.r(e);var r=n(1),o=n(0),i=function(t,e,n){var r,i=t.textContent;return""===i.trim()?{chunk:(r=n,{text:" ",inlines:[new o.OrderedSet],entities:[r],blocks:[]})}:{chunk:{text:i,inlines:Array(i.length).fill(e),entities:Array(i.length).fill(n),blocks:[]}}},a=function(){return{text:"\n",inlines:[new o.OrderedSet],entities:new Array(1),blocks:[]}},s=function(t,e){return{text:"",inlines:[],entities:[],blocks:[{type:t,depth:0,data:e||new o.Map({})}]}},c=function(t,e,n){return{text:"\r",inlines:[],entities:[],blocks:[{type:t,depth:Math.max(0,Math.min(4,e)),data:n||new o.Map({})}]}},u=function(t){return{text:"\r ",inlines:[new o.OrderedSet],entities:[t],blocks:[{type:"atomic",depth:0,data:new o.Map({})}]}},l=function(t,e){return{text:t.text+e.text,inlines:t.inlines.concat(e.inlines),entities:t.entities.concat(e.entities),blocks:t.blocks.concat(e.blocks)}},p=new o.Map({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:"ul"},"ordered-list-item":{element:"li",wrapper:"ol"},blockquote:{element:"blockquote"},code:{element:"pre"},atomic:{element:"figure"},unstyled:{element:"p",aliasedElements:["div"]}}),f={code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",strong:"BOLD",ins:"UNDERLINE",sub:"SUBSCRIPT",sup:"SUPERSCRIPT"};function d(t){return t.style.textAlign?new o.Map({"text-align":t.style.textAlign}):t.style.marginLeft?new o.Map({"margin-left":t.style.marginLeft}):void 0}var h=function(t){var e=void 0;if(t instanceof HTMLAnchorElement){var n={};e=t.dataset&&void 0!==t.dataset.mention?(n.url=t.href,n.text=t.innerHTML,n.value=t.dataset.value,r.Entity.__create("MENTION","IMMUTABLE",n)):(n.url=t.getAttribute&&t.getAttribute("href")||t.href,n.title=t.innerHTML,n.targetOption=t.target,r.Entity.__create("LINK","MUTABLE",n))}return e};n.d(e,"default",(function(){return v}));var g=" ",y=new RegExp(" ","g"),m=!0;function v(t,e){var n,v,b=(n=e,(v=function(t){var e,n=null;return document.implementation&&document.implementation.createHTMLDocument&&((e=document.implementation.createHTMLDocument("foo")).documentElement.innerHTML=t,n=e.getElementsByTagName("body")[0]),n}(t.trim().replace(y,g)))?(m=!0,{chunk:function t(e,n,o,g,y,v){var b=e.nodeName.toLowerCase();if(v){var _=v(b,e);if(_){var S=r.Entity.__create(_.type,_.mutability,_.data||{});return{chunk:u(S)}}}if("#text"===b&&"\n"!==e.textContent)return i(e,n,y);if("br"===b)return{chunk:a()};if("img"===b&&e instanceof HTMLImageElement){var w={};w.src=e.getAttribute&&e.getAttribute("src")||e.src,w.alt=e.alt,w.height=e.style.height,w.width=e.style.width,e.style.float&&(w.alignment=e.style.float);var M=r.Entity.__create("IMAGE","MUTABLE",w);return{chunk:u(M)}}if("video"===b&&e instanceof HTMLVideoElement){var E={};E.src=e.getAttribute&&e.getAttribute("src")||e.src,E.alt=e.alt,E.height=e.style.height,E.width=e.style.width,e.style.float&&(E.alignment=e.style.float);var k=r.Entity.__create("VIDEO","MUTABLE",E);return{chunk:u(k)}}if("iframe"===b&&e instanceof HTMLIFrameElement){var x={};x.src=e.getAttribute&&e.getAttribute("src")||e.src,x.height=e.height,x.width=e.width;var j=r.Entity.__create("EMBEDDED_LINK","MUTABLE",x);return{chunk:u(j)}}var C,D=function(t,e){var n=p.filter((function(n){return n.element===t&&(!n.wrapper||n.wrapper===e)||n.wrapper===t||n.aliasedElements&&-1<n.aliasedElements.indexOf(t)})).keySeq().toSet().toArray();if(1===n.length)return n[0]}(b,g);D&&("ul"===b||"ol"===b?(g=b,o+=1):("unordered-list-item"!==D&&"ordered-list-item"!==D&&(g="",o=-1),m?(C=s(D,d(e)),m=!1):C=c(D,o,d(e)))),C=C||{text:"",inlines:[],entities:[],blocks:[]},n=function(t,e,n){var r,o=f[t];if(o)r=n.add(o).toOrderedSet();else if(e instanceof HTMLElement){var i=e;r=(r=n).withMutations((function(t){var e=i.style.color,n=i.style.backgroundColor,r=i.style.fontSize,o=i.style.fontFamily.replace(/^"|"$/g,""),a=i.style.fontWeight,s=i.style.textDecoration,c=i.style.fontStyle;e&&t.add("color-".concat(e.replace(/ /g,""))),n&&t.add("bgcolor-".concat(n.replace(/ /g,""))),r&&t.add("fontsize-".concat(r.replace(/px$/g,""))),o&&t.add("fontfamily-".concat(o)),"bold"===a&&t.add(f.strong),"underline"===s&&t.add(f.ins),"italic"===c&&t.add(f.em)})).toOrderedSet()}return r}(b,e,n);for(var O=e.firstChild;O;){var I=t(O,n,o,g,h(O)||y,v).chunk;C=l(C,I),O=O.nextSibling}return{chunk:C}}(v,new o.OrderedSet,-1,"",void 0,n).chunk}):null);if(b){var _=b.chunk,S=new o.OrderedMap({});_.entities&&_.entities.forEach((function(t){t&&(S=S.set(t,r.Entity.__get(t)))}));var w=0;return{contentBlocks:_.text.split("\r").map((function(t,e){var n=w+t.length,i=_&&_.inlines.slice(w,n),a=_&&_.entities.slice(w,n),s=new o.List(i.map((function(t,e){var n={style:t,entity:null};return a[e]&&(n.entity=a[e]),r.CharacterMetadata.create(n)})));return w=n,new r.ContentBlock({key:Object(r.genKey)(),type:_&&_.blocks[e]&&_.blocks[e].type||"unstyled",depth:_&&_.blocks[e]&&_.blocks[e].depth,data:_&&_.blocks[e]&&_.blocks[e].data||new o.Map({}),text:t,characterList:s})})),entityMap:S}}return null}}],r.c=s,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=2))},function(t,e,n){"use strict";function r(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){e&&Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t}function o(t){return Object.prototype.toString.call(t)}function i(t){return"[object Function]"===o(t)}function a(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},c={"http:":{validate:function(t,e,n){var r=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var r=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?3<=e&&":"===t[e-3]||3<=e&&"/"===t[e-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},u="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",l="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function p(t){var e=t.re=n(21)(t.__opts__),r=t.__tlds__.slice();function s(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||r.push(u),r.push(e.src_xn),e.src_tlds=r.join("|"),e.email_fuzzy=RegExp(s(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(s(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(s(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(s(e.tpl_host_fuzzy_test),"i");var c=[];function l(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach((function(e){var n=t.__schemas__[e];if(null!==n){var r,a={validate:null,link:null};if(t.__compiled__[e]=a,"[object Object]"===o(n))return"[object RegExp]"===o(n.validate)?a.validate=(r=n.validate,function(t,e){var n=t.slice(e);return r.test(n)?n.match(r)[0].length:0}):i(n.validate)?a.validate=n.validate:l(e,n),void(i(n.normalize)?a.normalize=n.normalize:n.normalize?l(e,n):a.normalize=function(t,e){e.normalize(t)});"[object String]"!==o(n)?l(e,n):c.push(e)}})),c.forEach((function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)})),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};var p,f=Object.keys(t.__compiled__).filter((function(e){return 0<e.length&&t.__compiled__[e]})).map(a).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+f+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+f+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),(p=t).__index__=-1,p.__text_cache__=""}function f(t,e){var n=t.__index__,r=t.__last_index__,o=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=o,this.text=o,this.url=o}function d(t,e){var n=new f(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function h(t,e){if(!(this instanceof h))return new h(t,e);var n;e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||s.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=r({},s,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},c,t),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},p(this)}h.prototype.add=function(t,e){return this.__schemas__[t]=e,p(this),this},h.prototype.set=function(t){return this.__opts__=r(this.__opts__,t),this},h.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var e,n,r,o,i,a,s,c;if(this.re.schema_test.test(t))for((s=this.re.schema_search).lastIndex=0;null!==(e=s.exec(t));)if(o=this.testSchemaAt(t,e[2],s.lastIndex)){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&0<=(c=t.search(this.re.host_fuzzy_test))&&(this.__index__<0||c<this.__index__)&&null!==(n=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&0<=t.indexOf("@")&&null!==(r=t.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),0<=this.__index__},h.prototype.pretest=function(t){return this.re.pretest.test(t)},h.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},h.prototype.match=function(t){var e=0,n=[];0<=this.__index__&&this.__text_cache__===t&&(n.push(d(this,e)),e=this.__last_index__);for(var r=e?t.slice(e):t;this.test(r);)n.push(d(this,e)),r=r.slice(this.__last_index__),e+=this.__last_index__;return n.length?n:null},h.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,e,n){return t!==n[e-1]})).reverse():(this.__tlds__=t.slice(),this.__tlds_replaced__=!0),p(this),this},h.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},h.prototype.onCompile=function(){},t.exports=h},function(t,e,n){t.exports=n(40)},function(t,e,n){"use strict";var r=n(10);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}var n={array:t.isRequired=t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";t.exports=function(t){var e={};e.src_Any=n(22).source,e.src_Cc=n(23).source,e.src_Z=n(24).source,e.src_P=n(25).source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");return e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+e.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+e.src_ZCc+").|\\!(?!"+e.src_ZCc+"|[!]).|\\?(?!"+e.src_ZCc+"|[?]).)+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}},function(t,e){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(t,e){t.exports=/[\0-\x1F\x7F-\x9F]/},function(t,e){t.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},function(t,e){t.exports=/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E44\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";n.r(e);var r=n(1),o=n.n(r),i=n(0),a=n.n(i),s=n(3),c=n(4),u=n(2),l=n.n(u);function p(){var t=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p),this.callBacks=[],this.suggestionCallback=void 0,this.editorFlag=!1,this.suggestionFlag=!1,this.closeAllModals=function(e){t.callBacks.forEach((function(t){t(e)}))},this.init=function(e){var n=document.getElementById(e);n&&n.addEventListener("click",(function(){t.editorFlag=!0})),document&&(document.addEventListener("click",(function(){t.editorFlag?t.editorFlag=!1:(t.closeAllModals(),t.suggestionCallback&&t.suggestionCallback())})),document.addEventListener("keydown",(function(e){"Escape"===e.key&&t.closeAllModals()})))},this.onEditorClick=function(){t.closeModals(),!t.suggestionFlag&&t.suggestionCallback?t.suggestionCallback():t.suggestionFlag=!1},this.closeModals=function(e){t.closeAllModals(e)},this.registerCallBack=function(e){t.callBacks.push(e)},this.deregisterCallBack=function(e){t.callBacks=t.callBacks.filter((function(t){return t!==e}))},this.setSuggestionCallback=function(e){t.suggestionCallback=e},this.removeSuggestionCallback=function(){t.suggestionCallback=void 0},this.onSuggestionClick=function(){t.suggestionFlag=!0}}function f(){var t=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),this.inputFocused=!1,this.editorMouseDown=!1,this.onEditorMouseDown=function(){t.editorFocused=!0},this.onInputMouseDown=function(){t.inputFocused=!0},this.isEditorBlur=function(e){return"INPUT"!==e.target.tagName&&"LABEL"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName||t.editorFocused?!("INPUT"===e.target.tagName&&"LABEL"===e.target.tagName&&"TEXTAREA"===e.target.tagName||t.inputFocused||(t.editorFocused=!1)):!(t.inputFocused=!1)},this.isEditorFocused=function(){return!t.inputFocused||(t.inputFocused=!1)},this.isToolbarFocused=function(){return!t.editorFocused||(t.editorFocused=!1)},this.isInputFocused=function(){return t.inputFocused}}var d,h=[],g={onKeyDown:function(t){h.forEach((function(e){e(t)}))},registerCallBack:function(t){h.push(t)},deregisterCallBack:function(t){h=h.filter((function(e){return e!==t}))}},y=function(){d=!0},m=function(){d=!1},v=function(){return d};function b(t){var e=t.getData()&&t.getData().get("text-align");return e?"rdw-".concat(e,"-aligned-block"):""}function _(t,e){if(t)for(var n in t)!{}.hasOwnProperty.call(t,n)||e(n,t[n])}function S(t,e){var n=!1;if(t)for(var r in t)if({}.hasOwnProperty.call(t,r)&&e===r){n=!0;break}return n}function w(t){t.stopPropagation()}function M(t){return t[t.options[0]].icon}function E(t,e){if(t&&void 0===e)return t;var n={};return _(t,(function(t,r){var o;o=r,"[object Object]"===Object.prototype.toString.call(o)?n[t]=E(r,e[t]):n[t]=void 0!==e[t]?e[t]:r})),n}var k=n(6),x=n.n(k),j=n(5);function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function D(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function O(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function I(t){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function L(t,e){return(L=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(11);var N=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==C(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=I(t)).call.apply(e,[this].concat(o)))).onClick=function(){var t=n.props,e=t.disabled,r=t.onClick,o=t.value;e||r(o)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&L(t,e)}(t,r.Component),e=t,(n=[{key:"render",value:function(){var t,e=this.props,n=e.children,r=e.className,i=e.activeClassName,a=e.active,s=e.disabled,c=e.title;return o.a.createElement("div",{className:l()("rdw-option-wrapper",r,(D(t={},"rdw-option-active ".concat(i),a),D(t,"rdw-option-disabled",s),t)),onClick:this.onClick,"aria-selected":a,title:c},n)}}])&&O(e.prototype,n),t}();function A(t){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function T(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function z(t){return(z=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function R(t,e){return(R=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}N.propTypes={onClick:a.a.func.isRequired,children:a.a.any,value:a.a.string,className:a.a.string,activeClassName:a.a.string,active:a.a.bool,disabled:a.a.bool,title:a.a.string},N.defaultProps={activeClassName:""},n(12);var P=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==A(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=z(t)).call.apply(e,[this].concat(o)))).state={highlighted:-1},n.onChange=function(t){var e=n.props.onChange;e&&e(t),n.toggleExpansion()},n.setHighlighted=function(t){n.setState({highlighted:t})},n.toggleExpansion=function(){var t=n.props,e=t.doExpand,r=t.doCollapse;t.expanded?r():e()},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.expanded;t.expanded&&!e&&this.setState({highlighted:-1})}},{key:"render",value:function(){var t=this,e=this.props,n=e.expanded,r=e.children,i=e.className,a=e.optionWrapperClassName,s=e.ariaLabel,c=e.onExpandEvent,u=e.title,p=this.state.highlighted,f=r.slice(1,r.length);return o.a.createElement("div",{className:l()("rdw-dropdown-wrapper",i),"aria-expanded":n,"aria-label":s||"rdw-dropdown"},o.a.createElement("a",{className:"rdw-dropdown-selectedtext",onClick:c,title:u},r[0],o.a.createElement("div",{className:l()({"rdw-dropdown-carettoclose":n,"rdw-dropdown-carettoopen":!n})})),n?o.a.createElement("ul",{className:l()("rdw-dropdown-optionwrapper",a),onClick:w},o.a.Children.map(f,(function(e,n){return e&&o.a.cloneElement(e,{onSelect:t.onChange,highlighted:p===n,setHighlighted:t.setHighlighted,index:n})}))):void 0)}}])&&T(e.prototype,n),t}();function B(t){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function F(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function K(t){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function H(t,e){return(H=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}P.propTypes={children:a.a.any,onChange:a.a.func,className:a.a.string,expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,optionWrapperClassName:a.a.string,ariaLabel:a.a.string,title:a.a.string},n(13);var q=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==B(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=K(t)).call.apply(e,[this].concat(o)))).onClick=function(t){var e=n.props,r=e.onSelect,o=e.onClick,i=e.value;e.disabled||(r&&r(i),o&&(t.stopPropagation(),o(i)))},n.setHighlighted=function(){var t=n.props;(0,t.setHighlighted)(t.index)},n.resetHighlighted=function(){(0,n.props.setHighlighted)(-1)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&H(t,e)}(t,r.Component),e=t,(n=[{key:"render",value:function(){var t,e=this.props,n=e.children,r=e.active,i=e.disabled,a=e.highlighted,s=e.className,c=e.activeClassName,u=e.disabledClassName,p=e.highlightedClassName,f=e.title;return o.a.createElement("li",{className:l()("rdw-dropdownoption-default",s,(U(t={},"rdw-dropdownoption-active ".concat(c),r),U(t,"rdw-dropdownoption-highlighted ".concat(p),a),U(t,"rdw-dropdownoption-disabled ".concat(u),i),t)),onMouseEnter:this.setHighlighted,onMouseLeave:this.resetHighlighted,onClick:this.onClick,title:f},n)}}])&&F(e.prototype,n),t}();function Y(t){return(Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function W(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Q(t){return(Q=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Z(t,e){return(Z=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}q.propTypes={children:a.a.any,value:a.a.any,onClick:a.a.func,onSelect:a.a.func,setHighlighted:a.a.func,index:a.a.number,disabled:a.a.bool,active:a.a.bool,highlighted:a.a.bool,className:a.a.string,activeClassName:a.a.string,disabledClassName:a.a.string,highlightedClassName:a.a.string,title:a.a.string},q.defaultProps={activeClassName:"",disabledClassName:"",highlightedClassName:""},n(14);var V=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){return!e||"object"!==Y(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,Q(t).apply(this,arguments))}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Z(t,e)}(t,r.Component),e=t,(n=[{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=t.currentState,r=t.onChange,i=t.translations;return o.a.createElement("div",{className:l()("rdw-inline-wrapper",e.className),"aria-label":"rdw-inline-control"},e.options.map((function(t,a){return o.a.createElement(N,{key:a,value:t,onClick:r,className:l()(e[t].className),active:!0===n[t]||"MONOSPACE"===t&&n.CODE,title:e[t].title||i["components.controls.inline.".concat(t)]},o.a.createElement("img",{alt:"",src:e[t].icon}))})))}},{key:"renderInDropDown",value:function(){var t=this.props,e=t.config,n=t.expanded,r=t.doExpand,i=t.onExpandEvent,a=t.doCollapse,s=t.currentState,c=t.onChange,u=t.translations,p=e.className,f=e.dropdownClassName,d=e.title;return o.a.createElement(P,{className:l()("rdw-inline-dropdown",p),optionWrapperClassName:l()(f),onChange:c,expanded:n,doExpand:r,doCollapse:a,onExpandEvent:i,"aria-label":"rdw-inline-control",title:d},o.a.createElement("img",{src:M(e),alt:""}),e.options.map((function(t,n){return o.a.createElement(q,{key:n,value:t,className:l()("rdw-inline-dropdownoption",e[t].className),active:!0===s[t]||"MONOSPACE"===t&&s.CODE,title:e[t].title||u["components.controls.inline.".concat(t)]},o.a.createElement("img",{src:e[t].icon,alt:""}))})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&W(e.prototype,n),t}();function G(t){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function J(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function X(t){return(X=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function $(t,e){return($=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}V.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var tt=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==G(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,X(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.toggleInlineStyle=function(t){var e="monospace"===t?"CODE":t.toUpperCase(),r=n.props,o=r.editorState,i=r.onChange,a=s.RichUtils.toggleInlineStyle(o,e);if("subscript"===t||"superscript"===t){var c="subscript"===t?"SUPERSCRIPT":"SUBSCRIPT",u=s.Modifier.removeInlineStyle(a.getCurrentContent(),a.getSelection(),c);a=s.EditorState.push(a,u,"change-inline-style")}a&&i(a)},n.changeKeys=function(t){if(t){var e={};return _(t,(function(t,n){e["CODE"===t?"monospace":t.toLowerCase()]=n})),e}},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})};var r=n.props,o=r.editorState,i=r.modalHandler;return n.state={currentStyles:o?n.changeKeys(Object(c.getSelectionInlineStyle)(o)):{}},i.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentStyles:this.changeKeys(Object(c.getSelectionInlineStyle)(e))})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentStyles,s=e.component||V;return o.a.createElement(s,{config:e,translations:n,currentState:a,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.toggleInlineStyle})}}])&&J(e.prototype,n),t}();function et(t){return(et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function rt(t){return(rt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ot(t,e){return(ot=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}tt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(15);var it=function(){function t(e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==et(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,rt(t).call(this,e))).getBlockTypes=function(t){return[{label:"Normal",displayName:t["components.controls.blocktype.normal"]},{label:"H1",displayName:t["components.controls.blocktype.h1"]},{label:"H2",displayName:t["components.controls.blocktype.h2"]},{label:"H3",displayName:t["components.controls.blocktype.h3"]},{label:"H4",displayName:t["components.controls.blocktype.h4"]},{label:"H5",displayName:t["components.controls.blocktype.h5"]},{label:"H6",displayName:t["components.controls.blocktype.h6"]},{label:"Blockquote",displayName:t["components.controls.blocktype.blockquote"]},{label:"Code",displayName:t["components.controls.blocktype.code"]}]},n.state={blockTypes:n.getBlockTypes(e.translations)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ot(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.translations;e!==t.translations&&this.setState({blockTypes:this.getBlockTypes(e)})}},{key:"renderFlat",value:function(t){var e=this.props,n=e.config.className,r=e.onChange,i=e.currentState.blockType;return o.a.createElement("div",{className:l()("rdw-inline-wrapper",n)},t.map((function(t,e){return o.a.createElement(N,{key:e,value:t.label,active:i===t.label,onClick:r},t.displayName)})))}},{key:"renderInDropdown",value:function(t){var e=this.props,n=e.config,r=n.className,i=n.dropdownClassName,a=n.title,s=e.currentState.blockType,c=e.expanded,u=e.doExpand,p=e.onExpandEvent,f=e.doCollapse,d=e.onChange,h=e.translations,g=this.state.blockTypes.filter((function(t){return t.label===s})),y=g&&g[0]&&g[0].displayName;return o.a.createElement("div",{className:"rdw-block-wrapper","aria-label":"rdw-block-control"},o.a.createElement(P,{className:l()("rdw-block-dropdown",r),optionWrapperClassName:l()(i),onChange:d,expanded:c,doExpand:u,doCollapse:f,onExpandEvent:p,title:a||h["components.controls.blocktype.blocktype"]},o.a.createElement("span",null,y||h["components.controls.blocktype.blocktype"]),t.map((function(t,e){return o.a.createElement(q,{active:s===t.label,value:t.label,key:e},t.displayName)}))))}},{key:"render",value:function(){var t=this.props.config,e=t.inDropdown,n=this.state.blockTypes.filter((function(e){var n=e.label;return-1<t.options.indexOf(n)}));return e?this.renderInDropdown(n):this.renderFlat(n)}}])&&nt(e.prototype,n),t}();it.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doExpand:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var at=it;function st(t){return(st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ct(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ut(t){return(ut=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function lt(t,e){return(lt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var pt=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==st(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,ut(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.blocksTypes=[{label:"Normal",style:"unstyled"},{label:"H1",style:"header-one"},{label:"H2",style:"header-two"},{label:"H3",style:"header-three"},{label:"H4",style:"header-four"},{label:"H5",style:"header-five"},{label:"H6",style:"header-six"},{label:"Blockquote",style:"blockquote"},{label:"Code",style:"code"}],n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleBlockType=function(t){var e=n.blocksTypes.find((function(e){return e.label===t})).style,r=n.props,o=r.editorState,i=r.onChange,a=s.RichUtils.toggleBlockType(o,e);a&&i(a)};var r=e.editorState,o=e.modalHandler;return n.state={expanded:!1,currentBlockType:r?Object(c.getSelectedBlocksType)(r):"unstyled"},o.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&<(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentBlockType:Object(c.getSelectedBlocksType)(e)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentBlockType,s=e.component||at,c=this.blocksTypes.find((function(t){return t.style===a}));return o.a.createElement(s,{config:e,translations:n,currentState:{blockType:c&&c.label},onChange:this.toggleBlockType,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&ct(e.prototype,n),t}();pt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var ft=pt;function dt(t){return(dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ht(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function gt(t){return(gt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function yt(t,e){return(yt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(16);var mt=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==dt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=gt(t)).call.apply(e,[this].concat(o)))).state={defaultFontSize:void 0},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){var t=document.getElementsByClassName("DraftEditor-root");if(t&&0<t.length){var e=window.getComputedStyle(t[0]).getPropertyValue("font-size");e=e.substring(0,e.length-2),this.setState({defaultFontSize:e})}}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.dropdownClassName,a=e.options,s=e.title,c=t.onChange,u=t.expanded,p=t.doCollapse,f=t.onExpandEvent,d=t.doExpand,h=t.translations,g=this.props.currentState.fontSize,y=this.state.defaultFontSize;return y=Number(y),g=g||a&&0<=a.indexOf(y)&&y,o.a.createElement("div",{className:"rdw-fontsize-wrapper","aria-label":"rdw-font-size-control"},o.a.createElement(P,{className:l()("rdw-fontsize-dropdown",r),optionWrapperClassName:l()(i),onChange:c,expanded:u,doExpand:d,doCollapse:p,onExpandEvent:f,title:s||h["components.controls.fontsize.fontsize"]},g?o.a.createElement("span",null,g):o.a.createElement("img",{src:n,alt:""}),a.map((function(t,e){return o.a.createElement(q,{className:"rdw-fontsize-option",active:g===t,value:t,key:e},t)}))))}}])&&ht(e.prototype,n),t}();function vt(t){return(vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function bt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _t(t){return(_t=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function St(t,e){return(St=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}mt.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doExpand:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var wt=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==vt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,_t(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleFontSize=function(t){var e=n.props,r=e.editorState,o=e.onChange,i=Object(c.toggleCustomInlineStyle)(r,"fontSize",t);i&&o(i)};var r=e.editorState,o=e.modalHandler;return n.state={expanded:void 0,currentFontSize:r?Object(c.getSelectionCustomInlineStyle)(r,["FONTSIZE"]).FONTSIZE:void 0},o.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&St(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentFontSize:Object(c.getSelectionCustomInlineStyle)(e,["FONTSIZE"]).FONTSIZE})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentFontSize,s=e.component||mt,c=a&&Number(a.substring(9));return o.a.createElement(s,{config:e,translations:n,currentState:{fontSize:c},onChange:this.toggleFontSize,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&bt(e.prototype,n),t}();function Mt(t){return(Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Et(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function kt(t){return(kt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function xt(t,e){return(xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}wt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(17);var jt=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==Mt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=kt(t)).call.apply(e,[this].concat(o)))).state={defaultFontFamily:void 0},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){var t=document.getElementsByClassName("DraftEditor-root");if(t&&0<t.length){var e=window.getComputedStyle(t[0]).getPropertyValue("font-family");this.setState({defaultFontFamily:e})}}},{key:"render",value:function(){var t=this.state.defaultFontFamily,e=this.props,n=e.config,r=n.className,i=n.dropdownClassName,a=n.options,s=n.title,c=e.translations,u=e.onChange,p=e.expanded,f=e.doCollapse,d=e.onExpandEvent,h=e.doExpand,g=this.props.currentState.fontFamily;return g=g||a&&t&&a.some((function(e){return e.toLowerCase()===t.toLowerCase()}))&&t,o.a.createElement("div",{className:"rdw-fontfamily-wrapper","aria-label":"rdw-font-family-control"},o.a.createElement(P,{className:l()("rdw-fontfamily-dropdown",r),optionWrapperClassName:l()("rdw-fontfamily-optionwrapper",i),onChange:u,expanded:p,doExpand:h,doCollapse:f,onExpandEvent:d,title:s||c["components.controls.fontfamily.fontfamily"]},o.a.createElement("span",{className:"rdw-fontfamily-placeholder"},g||c["components.controls.fontfamily.fontfamily"]),a.map((function(t,e){return o.a.createElement(q,{active:g===t,value:t,key:e},t)}))))}}])&&Et(e.prototype,n),t}();jt.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doExpand:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var Ct=jt;function Dt(t){return(Dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ot(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function It(t){return(It=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Lt(t,e){return(Lt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Nt=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==Dt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,It(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleFontFamily=function(t){var e=n.props,r=e.editorState,o=e.onChange,i=Object(c.toggleCustomInlineStyle)(r,"fontFamily",t);i&&o(i)};var r=e.editorState,o=e.modalHandler;return n.state={expanded:void 0,currentFontFamily:r?Object(c.getSelectionCustomInlineStyle)(r,["FONTFAMILY"]).FONTFAMILY:void 0},o.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentFontFamily:Object(c.getSelectionCustomInlineStyle)(e,["FONTFAMILY"]).FONTFAMILY})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentFontFamily,s=e.component||Ct,c=a&&a.substring(11);return o.a.createElement(s,{translations:n,config:e,currentState:{fontFamily:c},onChange:this.toggleFontFamily,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Ot(e.prototype,n),t}();function At(t){return(At="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Tt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function zt(t){return(zt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Rt(t,e){return(Rt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Nt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(18);var Pt=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==At(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=zt(t)).call.apply(e,[this].concat(o)))).options=["unordered","ordered","indent","outdent"],n.toggleBlockType=function(t){(0,n.props.onChange)(t)},n.indent=function(){(0,n.props.onChange)("indent")},n.outdent=function(){(0,n.props.onChange)("outdent")},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rt(t,e)}(t,r.Component),e=t,(n=[{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=t.currentState.listType,r=t.translations,i=t.indentDisabled,a=t.outdentDisabled,s=e.options,c=e.unordered,u=e.ordered,p=e.indent,f=e.outdent,d=e.className;return o.a.createElement("div",{className:l()("rdw-list-wrapper",d),"aria-label":"rdw-list-control"},0<=s.indexOf("unordered")&&o.a.createElement(N,{value:"unordered",onClick:this.toggleBlockType,className:l()(c.className),active:"unordered"===n,title:c.title||r["components.controls.list.unordered"]},o.a.createElement("img",{src:c.icon,alt:""})),0<=s.indexOf("ordered")&&o.a.createElement(N,{value:"ordered",onClick:this.toggleBlockType,className:l()(u.className),active:"ordered"===n,title:u.title||r["components.controls.list.ordered"]},o.a.createElement("img",{src:u.icon,alt:""})),0<=s.indexOf("indent")&&o.a.createElement(N,{onClick:this.indent,disabled:i,className:l()(p.className),title:p.title||r["components.controls.list.indent"]},o.a.createElement("img",{src:p.icon,alt:""})),0<=s.indexOf("outdent")&&o.a.createElement(N,{onClick:this.outdent,disabled:a,className:l()(f.className),title:f.title||r["components.controls.list.outdent"]},o.a.createElement("img",{src:f.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var t=this,e=this.props,n=e.config,r=e.expanded,i=e.doCollapse,a=e.doExpand,s=e.onExpandEvent,c=e.onChange,u=e.currentState.listType,p=e.translations,f=n.options,d=n.className,h=n.dropdownClassName,g=n.title;return o.a.createElement(P,{className:l()("rdw-list-dropdown",d),optionWrapperClassName:l()(h),onChange:c,expanded:r,doExpand:a,doCollapse:i,onExpandEvent:s,"aria-label":"rdw-list-control",title:g||p["components.controls.list.list"]},o.a.createElement("img",{src:M(n),alt:""}),this.options.filter((function(t){return 0<=f.indexOf(t)})).map((function(e,r){return o.a.createElement(q,{key:r,value:e,disabled:t.props["".concat(e,"Disabled")],className:l()("rdw-list-dropdownOption",n[e].className),active:u===e,title:n[e].title||p["components.controls.list.".concat(e)]},o.a.createElement("img",{src:n[e].icon,alt:""}))})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Tt(e.prototype,n),t}();function Bt(t){return(Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ut(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ft(t){return(Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Kt(t,e){return(Kt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Pt.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object,indentDisabled:a.a.bool,outdentDisabled:a.a.bool};var Ht=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==Bt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,Ft(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.onChange=function(t){"unordered"===t?n.toggleBlockType("unordered-list-item"):"ordered"===t?n.toggleBlockType("ordered-list-item"):"indent"===t?n.adjustDepth(1):n.adjustDepth(-1)},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleBlockType=function(t){var e=n.props,r=e.onChange,o=e.editorState,i=s.RichUtils.toggleBlockType(o,t);i&&r(i)},n.adjustDepth=function(t){var e=n.props,r=e.onChange,o=e.editorState,i=Object(c.changeDepth)(o,t,4);i&&r(i)},n.isIndentDisabled=function(){var t=n.props.editorState,e=n.state.currentBlock,r=Object(c.getBlockBeforeSelectedBlock)(t);return!r||!Object(c.isListBlock)(e)||r.get("type")!==e.get("type")||r.get("depth")<e.get("depth")},n.isOutdentDisabled=function(){var t=n.state.currentBlock;return!t||!Object(c.isListBlock)(t)||t.get("depth")<=0};var r=n.props,o=r.editorState,i=r.modalHandler;return n.state={expanded:!1,currentBlock:o?Object(c.getSelectedBlock)(o):void 0},i.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentBlock:Object(c.getSelectedBlock)(e)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t,e=this.props,n=e.config,r=e.translations,i=this.state,a=i.expanded,s=i.currentBlock,c=n.component||Pt;"unordered-list-item"===s.get("type")?t="unordered":"ordered-list-item"===s.get("type")&&(t="ordered");var u=this.isIndentDisabled(),l=this.isOutdentDisabled();return o.a.createElement(c,{config:n,translations:r,currentState:{listType:t},expanded:a,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange,indentDisabled:u,outdentDisabled:l})}}])&&Ut(e.prototype,n),t}();function qt(t){return(qt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Yt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Wt(t){return(Wt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Qt(t,e){return(Qt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Ht.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(19);var Zt=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){return!e||"object"!==qt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,Wt(t).apply(this,arguments))}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qt(t,e)}(t,r.Component),e=t,(n=[{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=e.options,r=e.left,i=e.center,a=e.right,s=e.justify,c=e.className,u=t.onChange,p=t.currentState.textAlignment,f=t.translations;return o.a.createElement("div",{className:l()("rdw-text-align-wrapper",c),"aria-label":"rdw-textalign-control"},0<=n.indexOf("left")&&o.a.createElement(N,{value:"left",className:l()(r.className),active:"left"===p,onClick:u,title:r.title||f["components.controls.textalign.left"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("center")&&o.a.createElement(N,{value:"center",className:l()(i.className),active:"center"===p,onClick:u,title:i.title||f["components.controls.textalign.center"]},o.a.createElement("img",{src:i.icon,alt:""})),0<=n.indexOf("right")&&o.a.createElement(N,{value:"right",className:l()(a.className),active:"right"===p,onClick:u,title:a.title||f["components.controls.textalign.right"]},o.a.createElement("img",{src:a.icon,alt:""})),0<=n.indexOf("justify")&&o.a.createElement(N,{value:"justify",className:l()(s.className),active:"justify"===p,onClick:u,title:s.title||f["components.controls.textalign.justify"]},o.a.createElement("img",{src:s.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var t=this.props,e=t.config,n=t.expanded,r=t.doExpand,i=t.onExpandEvent,a=t.doCollapse,s=t.currentState.textAlignment,c=t.onChange,u=t.translations,p=e.options,f=e.left,d=e.center,h=e.right,g=e.justify,y=e.className,m=e.dropdownClassName,v=e.title;return o.a.createElement(P,{className:l()("rdw-text-align-dropdown",y),optionWrapperClassName:l()(m),onChange:c,expanded:n,doExpand:r,doCollapse:a,onExpandEvent:i,"aria-label":"rdw-textalign-control",title:v||u["components.controls.textalign.textalign"]},o.a.createElement("img",{src:s&&e[s]&&e[s].icon||M(e),alt:""}),0<=p.indexOf("left")&&o.a.createElement(q,{value:"left",active:"left"===s,className:l()("rdw-text-align-dropdownOption",f.className),title:f.title||u["components.controls.textalign.left"]},o.a.createElement("img",{src:f.icon,alt:""})),0<=p.indexOf("center")&&o.a.createElement(q,{value:"center",active:"center"===s,className:l()("rdw-text-align-dropdownOption",d.className),title:d.title||u["components.controls.textalign.center"]},o.a.createElement("img",{src:d.icon,alt:""})),0<=p.indexOf("right")&&o.a.createElement(q,{value:"right",active:"right"===s,className:l()("rdw-text-align-dropdownOption",h.className),title:h.title||u["components.controls.textalign.right"]},o.a.createElement("img",{src:h.icon,alt:""})),0<=p.indexOf("justify")&&o.a.createElement(q,{value:"justify",active:"justify"===s,className:l()("rdw-text-align-dropdownOption",g.className),title:g.title||u["components.controls.textalign.justify"]},o.a.createElement("img",{src:g.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Yt(e.prototype,n),t}();function Vt(t){return(Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Gt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Jt(t){return(Jt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Xt(t,e){return(Xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Zt.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var $t=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==Vt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,Jt(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.addBlockAlignmentData=function(t){var e=n.props,r=e.editorState;(0,e.onChange)(n.state.currentTextAlignment!==t?Object(c.setBlockData)(r,{"text-align":t}):Object(c.setBlockData)(r,{"text-align":void 0}))};var r=n.props.modalHandler;return n.state={currentTextAlignment:void 0},r.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e!==t.editorState&&this.setState({currentTextAlignment:Object(c.getSelectedBlocksMetadata)(e).get("text-align")})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentTextAlignment,s=e.component||Zt;return o.a.createElement(s,{config:e,translations:n,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{textAlignment:a},onChange:this.addBlockAlignmentData})}}])&&Gt(e.prototype,n),t}();function te(t){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ee(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ne(t){return(ne=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function re(t,e){return(re=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}$t.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(20);var oe=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(n=function(t,e){return!e||"object"!==te(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=ne(t)).call.apply(e,[this].concat(i)))).state={currentStyle:"color"},n.onChange=function(t){(0,n.props.onChange)(n.state.currentStyle,t)},n.setCurrentStyleColor=function(){n.setState({currentStyle:"color"})},n.setCurrentStyleBgcolor=function(){n.setState({currentStyle:"bgcolor"})},n.renderModal=function(){var t=n.props,e=t.config,r=e.popupClassName,i=e.colors,a=t.currentState,s=a.color,c=a.bgColor,u=t.translations,p=n.state.currentStyle,f="color"===p?s:c;return o.a.createElement("div",{className:l()("rdw-colorpicker-modal",r),onClick:w},o.a.createElement("span",{className:"rdw-colorpicker-modal-header"},o.a.createElement("span",{className:l()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"color"===p}),onClick:n.setCurrentStyleColor},u["components.controls.colorpicker.text"]),o.a.createElement("span",{className:l()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"bgcolor"===p}),onClick:n.setCurrentStyleBgcolor},u["components.controls.colorpicker.background"])),o.a.createElement("span",{className:"rdw-colorpicker-modal-options"},i.map((function(t,e){return o.a.createElement(N,{value:t,key:e,className:"rdw-colorpicker-option",activeClassName:"rdw-colorpicker-option-active",active:f===t,onClick:n.onChange},o.a.createElement("span",{style:{backgroundColor:t},className:"rdw-colorpicker-cube"}))}))))},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&re(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){this.props.expanded&&!t.expanded&&this.setState({currentStyle:"color"})}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.title,a=t.expanded,s=t.onExpandEvent,c=t.translations;return o.a.createElement("div",{className:"rdw-colorpicker-wrapper","aria-haspopup":"true","aria-expanded":a,"aria-label":"rdw-color-picker",title:i||c["components.controls.colorpicker.colorpicker"]},o.a.createElement(N,{onClick:s,className:l()(r)},o.a.createElement("img",{src:n,alt:""})),a?this.renderModal():void 0)}}])&&ee(e.prototype,n),t}();oe.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var ie=oe;function ae(t){return(ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function se(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ce(t){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ue(t,e){return(ue=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var le=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==ae(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,ce(t).call(this,e))).state={expanded:!1,currentColor:void 0,currentBgColor:void 0},n.onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleColor=function(t,e){var r=n.props,o=r.editorState,i=r.onChange,a=Object(c.toggleCustomInlineStyle)(o,t,e);a&&i(a),n.doCollapse()};var r=e.editorState,o=e.modalHandler,i={expanded:!1,currentColor:void 0,currentBgColor:void 0};return r&&(i.currentColor=Object(c.getSelectionCustomInlineStyle)(r,["COLOR"]).COLOR,i.currentBgColor=Object(c.getSelectionCustomInlineStyle)(r,["BGCOLOR"]).BGCOLOR),n.state=i,o.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ue(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentColor:Object(c.getSelectionCustomInlineStyle)(e,["COLOR"]).COLOR,currentBgColor:Object(c.getSelectionCustomInlineStyle)(e,["BGCOLOR"]).BGCOLOR})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.currentColor,a=r.currentBgColor,s=r.expanded,c=e.component||ie,u=i&&i.substring(6),l=a&&a.substring(8);return o.a.createElement(c,{config:e,translations:n,onChange:this.toggleColor,expanded:s,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{color:u,bgColor:l}})}}])&&se(e.prototype,n),t}();le.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var pe=le,fe=n(7),de=n.n(fe);function he(t){return(he="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ge(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ye(t){return(ye=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function me(t,e){return(me=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(26);var ve=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==he(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=ye(t)).call.apply(e,[this].concat(o)))).state={showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:n.props.config.defaultTargetOption},n.removeLink=function(){(0,n.props.onChange)("unlink")},n.addLink=function(){var t=n.props.onChange,e=n.state;t("link",e.linkTitle,e.linkTarget,e.linkTargetOption)},n.updateValue=function(t){var e,r,o;n.setState((e={},r="".concat(t.target.name),o=t.target.value,r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e))},n.updateTargetOption=function(t){n.setState({linkTargetOption:t.target.checked?"_blank":"_self"})},n.hideModal=function(){n.setState({showModal:!1})},n.signalExpandShowModal=function(){var t=n.props,e=t.onExpandEvent,r=t.currentState,o=r.link,i=r.selectionText,a=n.state.linkTargetOption;e(),n.setState({showModal:!0,linkTarget:o&&o.target||"",linkTargetOption:o&&o.targetOption||a,linkTitle:o&&o.title||i})},n.forceExpandAndShowModal=function(){var t=n.props,e=t.doExpand,r=t.currentState,o=r.link,i=r.selectionText,a=n.state.linkTargetOption;e(),n.setState({showModal:!0,linkTarget:o&&o.target,linkTargetOption:o&&o.targetOption||a,linkTitle:o&&o.title||i})},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&me(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){t.expanded&&!this.props.expanded&&this.setState({showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:this.props.config.defaultTargetOption})}},{key:"renderAddLinkModal",value:function(){var t=this.props,e=t.config.popupClassName,n=t.doCollapse,r=t.translations,i=this.state,a=i.linkTitle,s=i.linkTarget,c=i.linkTargetOption;return o.a.createElement("div",{className:l()("rdw-link-modal",e),onClick:w},o.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTitle"},r["components.controls.link.linkTitle"]),o.a.createElement("input",{id:"linkTitle",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTitle",value:a}),o.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTarget"},r["components.controls.link.linkTarget"]),o.a.createElement("input",{id:"linkTarget",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTarget",value:s}),o.a.createElement("label",{className:"rdw-link-modal-target-option",htmlFor:"openLinkInNewWindow"},o.a.createElement("input",{id:"openLinkInNewWindow",type:"checkbox",defaultChecked:"_blank"===c,value:"_blank",onChange:this.updateTargetOption}),o.a.createElement("span",null,r["components.controls.link.linkTargetOption"])),o.a.createElement("span",{className:"rdw-link-modal-buttonsection"},o.a.createElement("button",{className:"rdw-link-modal-btn",onClick:this.addLink,disabled:!s||!a},r["generic.add"]),o.a.createElement("button",{className:"rdw-link-modal-btn",onClick:n},r["generic.cancel"])))}},{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=e.options,r=e.link,i=e.unlink,a=e.className,s=t.currentState,c=t.expanded,u=t.translations,p=this.state.showModal;return o.a.createElement("div",{className:l()("rdw-link-wrapper",a),"aria-label":"rdw-link-control"},0<=n.indexOf("link")&&o.a.createElement(N,{value:"unordered-list-item",className:l()(r.className),onClick:this.signalExpandShowModal,"aria-haspopup":"true","aria-expanded":p,title:r.title||u["components.controls.link.link"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("unlink")&&o.a.createElement(N,{disabled:!s.link,value:"ordered-list-item",className:l()(i.className),onClick:this.removeLink,title:i.title||u["components.controls.link.unlink"]},o.a.createElement("img",{src:i.icon,alt:""})),c&&p?this.renderAddLinkModal():void 0)}},{key:"renderInDropDown",value:function(){var t=this.props,e=t.expanded,n=t.onExpandEvent,r=t.doCollapse,i=t.doExpand,a=t.onChange,s=t.config,c=t.currentState,u=t.translations,p=s.options,f=s.link,d=s.unlink,h=s.className,g=s.dropdownClassName,y=s.title,m=this.state.showModal;return o.a.createElement("div",{className:"rdw-link-wrapper","aria-haspopup":"true","aria-label":"rdw-link-control","aria-expanded":e,title:y},o.a.createElement(P,{className:l()("rdw-link-dropdown",h),optionWrapperClassName:l()(g),onChange:a,expanded:e&&!m,doExpand:i,doCollapse:r,onExpandEvent:n},o.a.createElement("img",{src:M(s),alt:""}),0<=p.indexOf("link")&&o.a.createElement(q,{onClick:this.forceExpandAndShowModal,className:l()("rdw-link-dropdownoption",f.className),title:f.title||u["components.controls.link.link"]},o.a.createElement("img",{src:f.icon,alt:""})),0<=p.indexOf("unlink")&&o.a.createElement(q,{onClick:this.removeLink,disabled:!c.link,className:l()("rdw-link-dropdownoption",d.className),title:d.title||u["components.controls.link.unlink"]},o.a.createElement("img",{src:d.icon,alt:""}))),e&&m?this.renderAddLinkModal():void 0)}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&ge(e.prototype,n),t}();ve.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var be=ve;function _e(t){return(_e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Se(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function we(t){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Me(t,e){return(Me=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ee(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ke(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xe(t){var e=je.match(t.target);return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ee(Object(n),!0).forEach((function(e){ke(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t,{target:e&&e[0]&&e[0].url||t.target})}var je=de()(),Ce=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==_e(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,we(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.onChange=function(t,e,r,o){var i=n.props.config.linkCallback;if("link"===t){var a=(i||xe)({title:e,target:r,targetOption:o});n.addLink(a.title,a.target,a.targetOption)}else n.removeLink()},n.getCurrentValues=function(){var t=n.props.editorState,e=n.state.currentEntity,r=t.getCurrentContent(),o={};if(e&&"LINK"===r.getEntity(e).get("type")){o.link={};var i=e&&Object(c.getEntityRange)(t,e);o.link.target=e&&r.getEntity(e).get("data").url,o.link.targetOption=e&&r.getEntity(e).get("data").targetOption,o.link.title=i&&i.text}return o.selectionText=Object(c.getSelectionText)(t),o},n.doExpand=function(){n.setState({expanded:!0})},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doCollapse=function(){n.setState({expanded:!1})},n.removeLink=function(){var t=n.props,e=t.editorState,r=t.onChange,o=n.state.currentEntity,i=e.getSelection();if(o){var a=Object(c.getEntityRange)(e,o);i=i.getIsBackward()?i.merge({anchorOffset:a.end,focusOffset:a.start}):i.merge({anchorOffset:a.start,focusOffset:a.end}),r(s.RichUtils.toggleLink(e,i,null))}},n.addLink=function(t,e,r){var o=n.props,i=o.editorState,a=o.onChange,u=n.state.currentEntity,l=i.getSelection();if(u){var p=Object(c.getEntityRange)(i,u);l=l.getIsBackward()?l.merge({anchorOffset:p.end,focusOffset:p.start}):l.merge({anchorOffset:p.start,focusOffset:p.end})}var f=i.getCurrentContent().createEntity("LINK","MUTABLE",{url:e,targetOption:r}).getLastCreatedEntityKey(),d=s.Modifier.replaceText(i.getCurrentContent(),l,"".concat(t),i.getCurrentInlineStyle(),f),h=s.EditorState.push(i,d,"insert-characters");l=h.getSelection().merge({anchorOffset:l.get("anchorOffset")+t.length,focusOffset:l.get("anchorOffset")+t.length}),h=s.EditorState.acceptSelection(h,l),d=s.Modifier.insertText(h.getCurrentContent(),l," ",h.getCurrentInlineStyle(),void 0),a(s.EditorState.push(h,d,"insert-characters")),n.doCollapse()};var r=n.props,o=r.editorState,i=r.modalHandler;return n.state={expanded:!1,link:void 0,selectionText:void 0,currentEntity:o?Object(c.getSelectionEntity)(o):void 0},i.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Me(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentEntity:Object(c.getSelectionEntity)(e)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=this.getCurrentValues(),a=i.link,s=i.selectionText,c=e.component||be;return o.a.createElement(c,{config:e,translations:n,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{link:a,selectionText:s},onChange:this.onChange})}}])&&Se(e.prototype,n),t}();Ce.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var De=Ce;function Oe(t){return(Oe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ie(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Le(t){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ne(t,e){return(Ne=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(27);var Ae=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==Oe(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=Le(t)).call.apply(e,[this].concat(o)))).state={embeddedLink:"",height:n.props.config.defaultSize.height,width:n.props.config.defaultSize.width},n.onChange=function(){var t=n.props.onChange,e=n.state;t(e.embeddedLink,e.height,e.width)},n.updateValue=function(t){var e,r,o;n.setState((e={},r="".concat(t.target.name),o=t.target.value,r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e))},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ne(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.expanded,r=e.config;if(!n&&t.expanded){var o=r.defaultSize,i=o.height,a=o.width;this.setState({embeddedLink:"",height:i,width:a})}}},{key:"rendeEmbeddedLinkModal",value:function(){var t=this.state,e=t.embeddedLink,n=t.height,r=t.width,i=this.props,a=i.config.popupClassName,s=i.doCollapse,c=i.translations;return o.a.createElement("div",{className:l()("rdw-embedded-modal",a),onClick:w},o.a.createElement("div",{className:"rdw-embedded-modal-header"},o.a.createElement("span",{className:"rdw-embedded-modal-header-option"},c["components.controls.embedded.embeddedlink"],o.a.createElement("span",{className:"rdw-embedded-modal-header-label"}))),o.a.createElement("div",{className:"rdw-embedded-modal-link-section"},o.a.createElement("span",{className:"rdw-embedded-modal-link-input-wrapper"},o.a.createElement("input",{className:"rdw-embedded-modal-link-input",placeholder:c["components.controls.embedded.enterlink"],onChange:this.updateValue,onBlur:this.updateValue,value:e,name:"embeddedLink"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("div",{className:"rdw-embedded-modal-size"},o.a.createElement("span",null,o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:n,name:"height",className:"rdw-embedded-modal-size-input",placeholder:"Height"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("span",null,o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:r,name:"width",className:"rdw-embedded-modal-size-input",placeholder:"Width"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")))),o.a.createElement("span",{className:"rdw-embedded-modal-btn-section"},o.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:this.onChange,disabled:!e||!n||!r},c["generic.add"]),o.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:s},c["generic.cancel"])))}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.title,a=t.expanded,s=t.onExpandEvent,c=t.translations;return o.a.createElement("div",{className:"rdw-embedded-wrapper","aria-haspopup":"true","aria-expanded":a,"aria-label":"rdw-embedded-control"},o.a.createElement(N,{className:l()(r),value:"unordered-list-item",onClick:s,title:i||c["components.controls.embedded.embedded"]},o.a.createElement("img",{src:n,alt:""})),a?this.rendeEmbeddedLinkModal():void 0)}}])&&Ie(e.prototype,n),t}();Ae.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,onChange:a.a.func,config:a.a.object,translations:a.a.object,doCollapse:a.a.func};var Te=Ae;function ze(t){return(ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Re(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Pe(t){return(Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Be(t,e){return(Be=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Ue=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==ze(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=Pe(t)).call.apply(e,[this].concat(o)))).state={expanded:!1},n.onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.addEmbeddedLink=function(t,e,r){var o=n.props,i=o.editorState,a=o.onChange,c=o.config.embedCallback,u=c?c(t):t,l=i.getCurrentContent().createEntity("EMBEDDED_LINK","MUTABLE",{src:u,height:e,width:r}).getLastCreatedEntityKey();a(s.AtomicBlockUtils.insertAtomicBlock(i,l," ")),n.doCollapse()},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Be(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=e.component||Te;return o.a.createElement(i,{config:e,translations:n,onChange:this.addEmbeddedLink,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Re(e.prototype,n),t}();Ue.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var Fe=Ue;function Ke(t){return(Ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function He(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function qe(t){return(qe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ye(t,e){return(Ye=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(28);var We=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==Ke(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=qe(t)).call.apply(e,[this].concat(o)))).onChange=function(t){(0,n.props.onChange)(t.target.innerHTML)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ye(t,e)}(t,r.Component),e=t,(n=[{key:"renderEmojiModal",value:function(){var t=this,e=this.props.config,n=e.popupClassName,r=e.emojis;return o.a.createElement("div",{className:l()("rdw-emoji-modal",n),onClick:w},r.map((function(e,n){return o.a.createElement("span",{key:n,className:"rdw-emoji-icon",alt:"",onClick:t.onChange},e)})))}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.title,a=t.expanded,s=t.onExpandEvent,c=t.translations;return o.a.createElement("div",{className:"rdw-emoji-wrapper","aria-haspopup":"true","aria-label":"rdw-emoji-control","aria-expanded":a,title:i||c["components.controls.emoji.emoji"]},o.a.createElement(N,{className:l()(r),value:"unordered-list-item",onClick:s},o.a.createElement("img",{src:n,alt:""})),a?this.renderEmojiModal():void 0)}}])&&He(e.prototype,n),t}();We.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,onChange:a.a.func,config:a.a.object,translations:a.a.object};var Qe=We;function Ze(t){return(Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ve(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ge(t){return(Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Je(t,e){return(Je=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Xe=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==Ze(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=Ge(t)).call.apply(e,[this].concat(o)))).state={expanded:!1},n.onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.addEmoji=function(t){var e=n.props,r=e.editorState,o=e.onChange,i=s.Modifier.replaceText(r.getCurrentContent(),r.getSelection(),t,r.getCurrentInlineStyle());o(s.EditorState.push(r,i,"insert-characters")),n.doCollapse()},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Je(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=e.component||Qe;return o.a.createElement(i,{config:e,translations:n,onChange:this.addEmoji,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onCollpase:this.closeModal})}}])&&Ve(e.prototype,n),t}();function $e(){return o.a.createElement("div",{className:"rdw-spinner"},o.a.createElement("div",{className:"rdw-bounce1"}),o.a.createElement("div",{className:"rdw-bounce2"}),o.a.createElement("div",{className:"rdw-bounce3"}))}function tn(t){return(tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function en(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nn(t){return(nn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function rn(t,e){return(rn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Xe.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(29),n(30);var on=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==tn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=nn(t)).call.apply(e,[this].concat(o)))).state={imgSrc:"",dragEnter:!1,uploadHighlighted:n.props.config.uploadEnabled&&!!n.props.config.uploadCallback,showImageLoading:!1,height:n.props.config.defaultSize.height,width:n.props.config.defaultSize.width,alt:""},n.onDragEnter=function(t){n.stopPropagation(t),n.setState({dragEnter:!0})},n.onImageDrop=function(t){var e,r;t.preventDefault(),t.stopPropagation(),n.setState({dragEnter:!1}),r=t.dataTransfer.items?(e=t.dataTransfer.items,!0):(e=t.dataTransfer.files,!1);for(var o=0;o<e.length;o+=1)if((!r||"file"===e[o].kind)&&e[o].type.match("^image/")){var i=r?e[o].getAsFile():e[o];n.uploadImage(i)}},n.showImageUploadOption=function(){n.setState({uploadHighlighted:!0})},n.addImageFromState=function(){var t=n.state,e=t.imgSrc,r=t.alt,o=n.state,i=o.height,a=o.width,s=n.props.onChange;isNaN(i)||(i+="px"),isNaN(a)||(a+="px"),s(e,i,a,r)},n.showImageURLOption=function(){n.setState({uploadHighlighted:!1})},n.toggleShowImageLoading=function(){var t=!n.state.showImageLoading;n.setState({showImageLoading:t})},n.updateValue=function(t){var e,r,o;n.setState((e={},r="".concat(t.target.name),o=t.target.value,r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e))},n.selectImage=function(t){t.target.files&&0<t.target.files.length&&n.uploadImage(t.target.files[0])},n.uploadImage=function(t){n.toggleShowImageLoading(),(0,n.props.config.uploadCallback)(t).then((function(t){var e=t.data;n.setState({showImageLoading:!1,dragEnter:!1,imgSrc:e.link||e.url}),n.fileUpload=!1})).catch((function(){n.setState({showImageLoading:!1,dragEnter:!1})}))},n.fileUploadClick=function(t){n.fileUpload=!0,t.stopPropagation()},n.stopPropagation=function(t){n.fileUpload?n.fileUpload=!1:(t.preventDefault(),t.stopPropagation())},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rn(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.config;t.expanded&&!this.props.expanded?this.setState({imgSrc:"",dragEnter:!1,uploadHighlighted:e.uploadEnabled&&!!e.uploadCallback,showImageLoading:!1,height:e.defaultSize.height,width:e.defaultSize.width,alt:""}):e.uploadCallback===t.config.uploadCallback&&e.uploadEnabled===t.config.uploadEnabled||this.setState({uploadHighlighted:e.uploadEnabled&&!!e.uploadCallback})}},{key:"renderAddImageModal",value:function(){var t=this.state,e=t.imgSrc,n=t.uploadHighlighted,r=t.showImageLoading,i=t.dragEnter,a=t.height,s=t.width,c=t.alt,u=this.props,p=u.config,f=p.popupClassName,d=p.uploadCallback,h=p.uploadEnabled,g=p.urlEnabled,y=p.previewImage,m=p.inputAccept,v=p.alt,b=u.doCollapse,_=u.translations;return o.a.createElement("div",{className:l()("rdw-image-modal",f),onClick:this.stopPropagation},o.a.createElement("div",{className:"rdw-image-modal-header"},h&&d&&o.a.createElement("span",{onClick:this.showImageUploadOption,className:"rdw-image-modal-header-option"},_["components.controls.image.fileUpload"],o.a.createElement("span",{className:l()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":n})})),g&&o.a.createElement("span",{onClick:this.showImageURLOption,className:"rdw-image-modal-header-option"},_["components.controls.image.byURL"],o.a.createElement("span",{className:l()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":!n})}))),n?o.a.createElement("div",{onClick:this.fileUploadClick},o.a.createElement("div",{onDragEnter:this.onDragEnter,onDragOver:this.stopPropagation,onDrop:this.onImageDrop,className:l()("rdw-image-modal-upload-option",{"rdw-image-modal-upload-option-highlighted":i})},o.a.createElement("label",{htmlFor:"file",className:"rdw-image-modal-upload-option-label"},y&&e?o.a.createElement("img",{src:e,alt:e,className:"rdw-image-modal-upload-option-image-preview"}):e||_["components.controls.image.dropFileText"])),o.a.createElement("input",{type:"file",id:"file",accept:m,onChange:this.selectImage,className:"rdw-image-modal-upload-option-input"})):o.a.createElement("div",{className:"rdw-image-modal-url-section"},o.a.createElement("input",{className:"rdw-image-modal-url-input",placeholder:_["components.controls.image.enterlink"],name:"imgSrc",onChange:this.updateValue,onBlur:this.updateValue,value:e}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),v.present&&o.a.createElement("div",{className:"rdw-image-modal-size"},o.a.createElement("span",{className:"rdw-image-modal-alt-lbl"},"Alt Text"),o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:c,name:"alt",className:"rdw-image-modal-alt-input",placeholder:"alt"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},v.mandatory&&"*")),o.a.createElement("div",{className:"rdw-image-modal-size"},"↕ ",o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:a,name:"height",className:"rdw-image-modal-size-input",placeholder:"Height"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")," ↔ ",o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:s,name:"width",className:"rdw-image-modal-size-input",placeholder:"Width"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("span",{className:"rdw-image-modal-btn-section"},o.a.createElement("button",{className:"rdw-image-modal-btn",onClick:this.addImageFromState,disabled:!e||!a||!s||v.mandatory&&!c},_["generic.add"]),o.a.createElement("button",{className:"rdw-image-modal-btn",onClick:b},_["generic.cancel"])),r?o.a.createElement("div",{className:"rdw-image-modal-spinner"},o.a.createElement($e,null)):void 0)}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.title,a=t.expanded,s=t.onExpandEvent,c=t.translations;return o.a.createElement("div",{className:"rdw-image-wrapper","aria-haspopup":"true","aria-expanded":a,"aria-label":"rdw-image-control"},o.a.createElement(N,{className:l()(r),value:"unordered-list-item",onClick:s,title:i||c["components.controls.image.image"]},o.a.createElement("img",{src:n,alt:""})),a?this.renderAddImageModal():void 0)}}])&&en(e.prototype,n),t}();on.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,translations:a.a.object};var an=on;function sn(t){return(sn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function cn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function un(t){return(un=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ln(t,e){return(ln=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var pn=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==sn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,un(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.addImage=function(t,e,r,o){var i=n.props,a=i.editorState,c=i.onChange,u={src:t,height:e,width:r};i.config.alt.present&&(u.alt=o);var l=a.getCurrentContent().createEntity("IMAGE","MUTABLE",u).getLastCreatedEntityKey();c(s.AtomicBlockUtils.insertAtomicBlock(a,l," ")),n.doCollapse()};var r=n.props.modalHandler;return n.state={expanded:!1},r.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ln(t,e)}(t,r.Component),e=t,(n=[{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=e.component||an;return o.a.createElement(i,{config:e,translations:n,onChange:this.addImage,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&cn(e.prototype,n),t}();function fn(t){var e=t.config,n=t.onChange,r=t.translations,i=e.icon,a=e.className,s=e.title;return o.a.createElement("div",{className:"rdw-remove-wrapper","aria-label":"rdw-remove-control"},o.a.createElement(N,{className:l()(a),onClick:n,title:s||r["components.controls.remove.remove"]},o.a.createElement("img",{src:i,alt:""})))}pn.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var dn=pn;n(31),fn.propTypes={onChange:a.a.func,config:a.a.object,translations:a.a.object};var hn=fn;function gn(t){return(gn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function yn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function mn(t){return(mn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function vn(t,e){return(vn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var bn=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==gn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=mn(t)).call.apply(e,[this].concat(o)))).state={expanded:!1},n.onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.removeInlineStyles=function(){var t=n.props,e=t.editorState;(0,t.onChange)(n.removeAllInlineStyles(e))},n.removeAllInlineStyles=function(t){var e=t.getCurrentContent();return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","MONOSPACE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(n){e=s.Modifier.removeInlineStyle(e,t.getSelection(),n)})),_(Object(c.getSelectionCustomInlineStyle)(t,["FONTSIZE","FONTFAMILY","COLOR","BGCOLOR"]),(function(n,r){r&&(e=s.Modifier.removeInlineStyle(e,t.getSelection(),r))})),s.EditorState.push(t,e,"change-inline-style")},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vn(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=e.component||hn;return o.a.createElement(i,{config:e,translations:n,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.removeInlineStyles})}}])&&yn(e.prototype,n),t}();function _n(t){return(_n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Sn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function wn(t){return(wn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Mn(t,e){return(Mn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}bn.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,config:a.a.object,translations:a.a.object,modalHandler:a.a.object},n(32);var En=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==_n(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=wn(t)).call.apply(e,[this].concat(o)))).onChange=function(t){(0,n.props.onChange)(t)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mn(t,e)}(t,r.Component),e=t,(n=[{key:"renderInDropDown",value:function(){var t=this.props,e=t.config,n=t.expanded,r=t.doExpand,i=t.onExpandEvent,a=t.doCollapse,s=t.currentState,c=s.undoDisabled,u=s.redoDisabled,p=t.translations,f=e.options,d=e.undo,h=e.redo,g=e.className,y=e.dropdownClassName,m=e.title;return o.a.createElement(P,{className:l()("rdw-history-dropdown",g),optionWrapperClassName:l()(y),expanded:n,doExpand:r,doCollapse:a,onExpandEvent:i,"aria-label":"rdw-history-control",title:m||p["components.controls.history.history"]},o.a.createElement("img",{src:M(e),alt:""}),0<=f.indexOf("undo")&&o.a.createElement(q,{value:"undo",onClick:this.onChange,disabled:c,className:l()("rdw-history-dropdownoption",d.className),title:d.title||p["components.controls.history.undo"]},o.a.createElement("img",{src:d.icon,alt:""})),0<=f.indexOf("redo")&&o.a.createElement(q,{value:"redo",onClick:this.onChange,disabled:u,className:l()("rdw-history-dropdownoption",h.className),title:h.title||p["components.controls.history.redo"]},o.a.createElement("img",{src:h.icon,alt:""})))}},{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=e.options,r=e.undo,i=e.redo,a=e.className,s=t.currentState,c=s.undoDisabled,u=s.redoDisabled,p=t.translations;return o.a.createElement("div",{className:l()("rdw-history-wrapper",a),"aria-label":"rdw-history-control"},0<=n.indexOf("undo")&&o.a.createElement(N,{value:"undo",onClick:this.onChange,className:l()(r.className),disabled:c,title:r.title||p["components.controls.history.undo"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("redo")&&o.a.createElement(N,{value:"redo",onClick:this.onChange,className:l()(i.className),disabled:u,title:i.title||p["components.controls.history.redo"]},o.a.createElement("img",{src:i.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Sn(e.prototype,n),t}();function kn(t){return(kn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function xn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function jn(t){return(jn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Cn(t,e){return(Cn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}En.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var Dn=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==kn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,jn(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.onChange=function(t){var e=n.props,r=e.editorState,o=e.onChange,i=s.EditorState[t](r);i&&o(i)},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})};var r={expanded:!(n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1}),undoDisabled:!1,redoDisabled:!1},o=e.editorState,i=e.modalHandler;return o&&(r.undoDisabled=0===o.getUndoStack().size,r.redoDisabled=0===o.getRedoStack().size),n.state=r,i.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cn(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&t.editorState!==e&&this.setState({undoDisabled:0===e.getUndoStack().size,redoDisabled:0===e.getRedoStack().size})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.undoDisabled,a=r.redoDisabled,s=r.expanded,c=e.component||En;return o.a.createElement(c,{config:e,translations:n,currentState:{undoDisabled:i,redoDisabled:a},expanded:s,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange})}}])&&xn(e.prototype,n),t}();Dn.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var On={inline:tt,blockType:ft,fontSize:wt,fontFamily:Nt,list:Ht,textAlign:$t,colorPicker:pe,link:De,embedded:Fe,emoji:Xe,image:dn,remove:bn,history:Dn};function In(t){return(In="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ln(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Nn(t){return(Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function An(t,e){return(An=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Tn(t,e,n){t.findEntityRanges((function(t){var e=t.getEntity();return null!==e&&"LINK"===n.getEntity(e).getType()}),e)}function zn(t){var e,n,i=t.showOpenOptionOnHover;return n=e=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==In(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=Nn(t)).call.apply(e,[this].concat(o)))).state={showPopOver:!1},n.openLink=function(){var t=n.props,e=t.entityKey,r=t.contentState.getEntity(e).getData().url,o=window.open(r,"blank");o&&o.focus()},n.toggleShowPopOver=function(){var t=!n.state.showPopOver;n.setState({showPopOver:t})},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&An(t,e)}(t,r.Component),e=t,(n=[{key:"render",value:function(){var t=this.props,e=t.children,n=t.entityKey,r=t.contentState.getEntity(n).getData(),a=r.url,s=r.targetOption,c=this.state.showPopOver;return o.a.createElement("span",{className:"rdw-link-decorator-wrapper",onMouseEnter:this.toggleShowPopOver,onMouseLeave:this.toggleShowPopOver},o.a.createElement("a",{href:a,target:s},e),c&&i?o.a.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuMDcyIDBIOC45MTVhLjkyNS45MjUgMCAwIDAgMCAxLjg0OWgyLjkyNUw2Ljk2MSA2LjcyN2EuOTE4LjkxOCAwIDAgMC0uMjcuNjU0YzAgLjI0Ny4wOTUuNDguMjcuNjU0YS45MTguOTE4IDAgMCAwIC42NTQuMjcuOTE4LjkxOCAwIDAgMCAuNjUzLS4yN2w0Ljg4LTQuODh2Mi45MjZhLjkyNS45MjUgMCAwIDAgMS44NDggMFYuOTI0QS45MjUuOTI1IDAgMCAwIDE0LjA3MiAweiIvPjxwYXRoIGQ9Ik0xMC42MjMgMTMuNDExSDEuNTg1VjQuMzcyaDYuNzk4bDEuNTg0LTEuNTg0SC43OTJBLjc5Mi43OTIgMCAwIDAgMCAzLjU4djEwLjYyNGMwIC40MzcuMzU1Ljc5Mi43OTIuNzkyaDEwLjYyNGEuNzkyLjc5MiAwIDAgMCAuNzkyLS43OTJWNS4wMjlsLTEuNTg1IDEuNTg0djYuNzk4eiIvPjwvZz48L3N2Zz4=",alt:"",onClick:this.openLink,className:"rdw-link-decorator-icon"}):void 0)}}])&&Ln(e.prototype,n),t}(),e.propTypes={entityKey:a.a.string.isRequired,children:a.a.array,contentState:a.a.object},n}function Rn(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,Rn),this.getMentionComponent=function(){function t(t){var e=t.entityKey,r=t.children,i=t.contentState.getEntity(e).getData(),a=i.url,s=i.value;return o.a.createElement("a",{href:a||s,className:l()("rdw-mention-link",n)},r)}var n=e.className;return t.propTypes={entityKey:a.a.number,children:a.a.array,contentState:a.a.object},t},this.getMentionDecorator=function(){return{strategy:e.findMentionEntities,component:e.getMentionComponent()}},this.className=t}n(33),n(34),Rn.prototype.findMentionEntities=function(t,e,n){t.findEntityRanges((function(t){var e=t.getEntity();return null!==e&&"MENTION"===n.getEntity(e).getType()}),e)};var Pn=Rn;function Bn(t){return(Bn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Un(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Fn(t){return(Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Kn(t,e){return(Kn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Hn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n(35);var qn=function t(e){var n=this;Hn(this,t),this.findSuggestionEntities=function(t,e){if(n.config.getEditorState()){var r=n.config,o=r.separator,i=r.trigger,a=r.getSuggestions,s=(0,r.getEditorState)().getSelection();if(s.get("anchorKey")===t.get("key")&&s.get("anchorKey")===s.get("focusKey")){var c=t.getText(),u=(c=c.substr(0,s.get("focusOffset")===c.length-1?c.length:s.get("focusOffset")+1)).lastIndexOf(o+i),l=o+i;if((void 0===u||u<0)&&c[0]===i&&(u=0,l=i),0<=u){var p=c.substr(u+l.length,c.length);a().some((function(t){return!!t.value&&(n.config.caseSensitive?0<=t.value.indexOf(p):0<=t.value.toLowerCase().indexOf(p&&p.toLowerCase()))}))&&e(0===u?0:u+1,c.length)}}}},this.getSuggestionComponent=function(){var t,e,n=this.config;return e=t=function(){function t(){var e,r;Hn(this,t);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=function(t,e){return!e||"object"!==Bn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=Fn(t)).call.apply(e,[this].concat(i)))).state={style:{left:15},activeOption:-1,showSuggestions:!0},r.onEditorKeyDown=function(t){var e=r.state.activeOption,n={};"ArrowDown"===t.key?(t.preventDefault(),e===r.filteredSuggestions.length-1?n.activeOption=0:n.activeOption=e+1):"ArrowUp"===t.key?n.activeOption=e<=0?r.filteredSuggestions.length-1:e-1:"Escape"===t.key?(n.showSuggestions=!1,m()):"Enter"===t.key&&r.addMention(),r.setState(n)},r.onOptionMouseEnter=function(t){var e=t.target.getAttribute("data-index");r.setState({activeOption:e})},r.onOptionMouseLeave=function(){r.setState({activeOption:-1})},r.setSuggestionReference=function(t){r.suggestion=t},r.setDropdownReference=function(t){r.dropdown=t},r.closeSuggestionDropdown=function(){r.setState({showSuggestions:!1})},r.filteredSuggestions=[],r.filterSuggestions=function(t){var e=t.children[0].props.text.substr(1),o=n.getSuggestions();r.filteredSuggestions=o&&o.filter((function(t){return!e||0===e.length||(n.caseSensitive?0<=t.value.indexOf(e):0<=t.value.toLowerCase().indexOf(e&&e.toLowerCase()))}))},r.addMention=function(){var t=r.state.activeOption,e=n.getEditorState(),o=n.onChange,i=n.separator,a=n.trigger,u=r.filteredSuggestions[t];u&&function(t,e,n,r,o){var i=o.value,a=o.url,u=t.getCurrentContent().createEntity("MENTION","IMMUTABLE",{text:"".concat(r).concat(i),value:i,url:a}).getLastCreatedEntityKey(),l=Object(c.getSelectedBlock)(t).getText(),p=t.getSelection().focusOffset,f=(l.lastIndexOf(n+r,p)||0)+1,d=!1;l.length===f+1&&(p=l.length)," "===l[p]&&(d=!0);var h=t.getSelection().merge({anchorOffset:f,focusOffset:p}),g=s.EditorState.acceptSelection(t,h),y=s.Modifier.replaceText(g.getCurrentContent(),h,"".concat(r).concat(i),g.getCurrentInlineStyle(),u);g=s.EditorState.push(g,y,"insert-characters"),d||(h=g.getSelection().merge({anchorOffset:f+i.length+r.length,focusOffset:f+i.length+r.length}),g=s.EditorState.acceptSelection(g,h),y=s.Modifier.insertText(g.getCurrentContent(),h," ",g.getCurrentInlineStyle(),void 0)),e(s.EditorState.push(g,y,"insert-characters"))}(e,o,i,a,u)},r}var e,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kn(t,e)}(t,r.Component),e=t,(i=[{key:"componentDidMount",value:function(){var t,e,r,o=n.getWrapperRef().getBoundingClientRect(),i=this.suggestion.getBoundingClientRect(),a=this.dropdown.getBoundingClientRect();o.width<i.left-o.left+a.width?e=15:t=15,o.bottom<a.bottom&&(r=0),this.setState({style:{left:t,right:e,bottom:r}}),g.registerCallBack(this.onEditorKeyDown),y(),n.modalHandler.setSuggestionCallback(this.closeSuggestionDropdown),this.filterSuggestions(this.props)}},{key:"componentDidUpdate",value:function(t){this.props.children!==t.children&&(this.filterSuggestions(t),this.setState({showSuggestions:!0}))}},{key:"componentWillUnmount",value:function(){g.deregisterCallBack(this.onEditorKeyDown),m(),n.modalHandler.removeSuggestionCallback()}},{key:"render",value:function(){var t=this,e=this.props.children,r=this.state,i=r.activeOption,a=r.showSuggestions,s=n.dropdownClassName,c=n.optionClassName;return o.a.createElement("span",{className:"rdw-suggestion-wrapper",ref:this.setSuggestionReference,onClick:n.modalHandler.onSuggestionClick,"aria-haspopup":"true","aria-label":"rdw-suggestion-popup"},o.a.createElement("span",null,e),a&&o.a.createElement("span",{className:l()("rdw-suggestion-dropdown",s),contentEditable:"false",suppressContentEditableWarning:!0,style:this.state.style,ref:this.setDropdownReference},this.filteredSuggestions.map((function(e,n){return o.a.createElement("span",{key:n,spellCheck:!1,onClick:t.addMention,"data-index":n,onMouseEnter:t.onOptionMouseEnter,onMouseLeave:t.onOptionMouseLeave,className:l()("rdw-suggestion-option",c,{"rdw-suggestion-option-active":n===i})},e.text)}))))}}])&&Un(e.prototype,i),t}(),t.propTypes={children:a.a.array},e}.bind(this),this.getSuggestionDecorator=function(){return{strategy:n.findSuggestionEntities,component:n.getSuggestionComponent()}};var i=e.separator,u=e.trigger,p=e.getSuggestions,f=e.onChange,d=e.getEditorState,h=e.getWrapperRef,v=e.caseSensitive,b=e.dropdownClassName,_=e.optionClassName,S=e.modalHandler;this.config={separator:i,trigger:u,getSuggestions:p,onChange:f,getEditorState:d,getWrapperRef:h,caseSensitive:v,dropdownClassName:b,optionClassName:_,modalHandler:S}};function Yn(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,Yn),this.getHashtagComponent=function(){function t(t){var e=t.children,r=e[0].props.text;return o.a.createElement("a",{href:r,className:l()("rdw-hashtag-link",n)},e)}var n=e.className;return t.propTypes={children:a.a.object},t},this.findHashtagEntities=function(t,n){for(var r=t.getText(),o=0,i=0;0<r.length&&0<=o;)if(r[0]===e.hashCharacter?(i=o=0,r=r.substr(e.hashCharacter.length)):0<=(o=r.indexOf(e.separator+e.hashCharacter))&&(r=r.substr(o+(e.separator+e.hashCharacter).length),i+=o+e.separator.length),0<=o){var a=0<=r.indexOf(e.separator)?r.indexOf(e.separator):r.length,s=r.substr(0,a);s&&0<s.length&&(n(i,i+s.length+e.hashCharacter.length),i+=e.hashCharacter.length)}},this.getHashtagDecorator=function(){return{strategy:e.findHashtagEntities,component:e.getHashtagComponent()}},this.className=t.className,this.hashCharacter=t.hashCharacter||"#",this.separator=t.separator||" "}function Wn(t){var e=t.block,n=t.contentState.getEntity(e.getEntityAt(0)).getData(),r=n.src,i=n.height,a=n.width;return o.a.createElement("iframe",{height:i,width:a,src:r,frameBorder:"0",allowFullScreen:!0,title:"Wysiwyg Embedded Content"})}n(36);Wn.propTypes={block:a.a.object,contentState:a.a.object};var Qn=Wn;function Zn(t){return(Zn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Vn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Gn(t){return(Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Jn(t,e){return(Jn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(37);var Xn=function(t){var e,n;return n=e=function(){function e(){var n,r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=function(t,e){return!e||"object"!==Zn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(n=Gn(e)).call.apply(n,[this].concat(i)))).state={hovered:!1},r.setEntityAlignmentLeft=function(){r.setEntityAlignment("left")},r.setEntityAlignmentRight=function(){r.setEntityAlignment("right")},r.setEntityAlignmentCenter=function(){r.setEntityAlignment("none")},r.setEntityAlignment=function(e){var n=r.props,o=n.block,i=n.contentState,a=o.getEntityAt(0);i.mergeEntityData(a,{alignment:e}),t.onChange(s.EditorState.push(t.getEditorState(),i,"change-block-data")),r.setState({dummy:!0})},r.toggleHovered=function(){var t=!r.state.hovered;r.setState({hovered:t})},r}var n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jn(t,e)}(e,r.Component),n=e,(i=[{key:"renderAlignmentOptions",value:function(t){return o.a.createElement("div",{className:l()("rdw-image-alignment-options-popup",{"rdw-image-alignment-options-popup-right":"right"===t})},o.a.createElement(N,{onClick:this.setEntityAlignmentLeft,className:"rdw-image-alignment-option"},"L"),o.a.createElement(N,{onClick:this.setEntityAlignmentCenter,className:"rdw-image-alignment-option"},"C"),o.a.createElement(N,{onClick:this.setEntityAlignmentRight,className:"rdw-image-alignment-option"},"R"))}},{key:"render",value:function(){var e=this.props,n=e.block,r=e.contentState,i=this.state.hovered,a=t.isReadOnly,s=t.isImageAlignmentEnabled,c=r.getEntity(n.getEntityAt(0)).getData(),u=c.src,p=c.alignment,f=c.height,d=c.width,h=c.alt;return o.a.createElement("span",{onMouseEnter:this.toggleHovered,onMouseLeave:this.toggleHovered,className:l()("rdw-image-alignment",{"rdw-image-left":"left"===p,"rdw-image-right":"right"===p,"rdw-image-center":!p||"none"===p})},o.a.createElement("span",{className:"rdw-image-imagewrapper"},o.a.createElement("img",{src:u,alt:h,style:{height:f,width:d}}),!a()&&i&&s()?this.renderAlignmentOptions(p):void 0))}}])&&Vn(n.prototype,i),e}(),e.propTypes={block:a.a.object,contentState:a.a.object},n},$n={options:["inline","blockType","fontSize","fontFamily","list","textAlign","colorPicker","link","embedded","emoji","image","remove","history"],inline:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["bold","italic","underline","strikethrough","monospace","superscript","subscript"],bold:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuMjM2IDBjMS42NTIgMCAyLjk0LjI5OCAzLjg2Ni44OTMuOTI1LjU5NSAxLjM4OCAxLjQ4NSAxLjM4OCAyLjY2OSAwIC42MDEtLjE3MyAxLjEzOS0uNTE2IDEuNjEtLjM0My40NzQtLjg0NC44My0xLjQ5OSAxLjA2OC44NDMuMTY3IDEuNDc0LjUyMyAxLjg5NSAxLjA3MS40MTkuNTUuNjMgMS4xODMuNjMgMS45MDMgMCAxLjI0NS0uNDQ0IDIuMTg3LTEuMzMgMi44MjUtLjg4Ni42NDEtMi4xNDQuOTYxLTMuNzY5Ljk2MUgwdi0yLjE2N2gxLjQ5NFYyLjE2N0gwVjBoNi4yMzZ6TTQuMzA4IDUuNDQ2aDIuMDI0Yy43NTIgMCAxLjMzLS4xNDMgMS43MzQtLjQzLjQwNS0uMjg1LjYwOC0uNzAxLjYwOC0xLjI1IDAtLjYtLjIwNC0xLjA0NC0uNjEyLTEuMzMtLjQwOC0uMjg2LTEuMDE2LS40MjctMS44MjYtLjQyN0g0LjMwOHYzLjQzN3ptMCAxLjgwNFYxMWgyLjU5M2MuNzQ3IDAgMS4zMTQtLjE1MiAxLjcwNy0uNDUyLjM5LS4zLjU4OC0uNzQ1LjU4OC0xLjMzNCAwLS42MzYtLjE2OC0xLjEyNC0uNS0xLjQ2LS4zMzYtLjMzNS0uODY0LS41MDQtMS41ODItLjUwNEg0LjMwOHoiIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==",className:void 0,title:void 0},italic:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTcgM1YyaDR2MUg5Ljc1M2wtMyAxMEg4djFINHYtMWgxLjI0N2wzLTEwSDd6Ii8+PC9zdmc+",className:void 0,title:void 0},underline:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTYuMDQ1IDJ2Ljk5Mkw0Ljc4NSAzdjUuMTcyYzAgLjg1OS4yNDMgMS41MTIuNzI3IDEuOTU3czEuMTI0LjY2OCAxLjkxOC42NjhjLjgzNiAwIDEuNTA5LS4yMjEgMi4wMTktLjY2NC41MTEtLjQ0Mi43NjYtMS4wOTYuNzY2LTEuOTYxVjNsLTEuMjYtLjAwOFYySDEzdi45OTJMMTEuNzM5IDN2NS4xNzJjMCAxLjIzNC0uMzk4IDIuMTgxLTEuMTk1IDIuODQtLjc5Ny42NTktMS44MzUuOTg4LTMuMTE0Ljk4OC0xLjI0MiAwLTIuMjQ4LS4zMjktMy4wMTctLjk4OC0uNzY5LS42NTktMS4xNTItMS42MDUtMS4xNTItMi44NFYzTDIgMi45OTJWMmg0LjA0NXpNMiAxM2gxMXYxSDJ6Ii8+PC9zdmc+",className:void 0,title:void 0},strikethrough:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNC4wNCA1Ljk1NGg2LjIxNWE3LjQxMiA3LjQxMiAwIDAgMC0uNzk1LS40MzggMTEuOTA3IDExLjkwNyAwIDAgMC0xLjQ0Ny0uNTU3Yy0xLjE4OC0uMzQ4LTEuOTY2LS43MTEtMi4zMzQtMS4wODgtLjM2OC0uMzc3LS41NTItLjc3LS41NTItMS4xODEgMC0uNDk1LjE4Ny0uOTA2LjU2LTEuMjMyLjM4LS4zMzEuODg3LS40OTcgMS41MjMtLjQ5Ny42OCAwIDEuMjY2LjI1NSAxLjc1Ny43NjcuMjk1LjMxNS41ODIuODkxLjg2MSAxLjczbC4xMTcuMDE2LjcwMy4wNS4xLS4wMjRjLjAyOC0uMTUyLjA0Mi0uMjc5LjA0Mi0uMzggMC0uMzM3LS4wMzktLjg1Mi0uMTE3LTEuNTQ0YTkuMzc0IDkuMzc0IDAgMCAwLS4xNzYtLjk5NUM5Ljg4LjM3OSA5LjM4NS4yNDQgOS4wMTcuMTc2IDguMzY1LjA3IDcuODk5LjAxNiA3LjYyLjAxNmMtMS40NSAwLTIuNTQ1LjM1Ny0zLjI4NyAxLjA3MS0uNzQ3LjcyLTEuMTIgMS41ODktMS4xMiAyLjYwNyAwIC41MTEuMTMzIDEuMDQuNCAxLjU4Ni4xMjkuMjUzLjI3LjQ3OC40MjcuNjc0ek04LjI4IDguMTE0Yy41NzUuMjM2Ljk1Ny40MzYgMS4xNDcuNTk5LjQ1MS40MS42NzcuODUyLjY3NyAxLjMyNCAwIC4zODMtLjEzLjc0NS0uMzkzIDEuMDg4LS4yNS4zMzgtLjU5LjU4LTEuMDIuNzI2YTMuNDE2IDMuNDE2IDAgMCAxLTEuMTYzLjIyOGMtLjQwNyAwLS43NzUtLjA2Mi0xLjEwNC0uMTg2YTIuNjk2IDIuNjk2IDAgMCAxLS44NzgtLjQ4IDMuMTMzIDMuMTMzIDAgMCAxLS42Ny0uNzk0IDEuNTI3IDEuNTI3IDAgMCAxLS4xMDQtLjIyNyA1Ny41MjMgNTcuNTIzIDAgMCAwLS4xODgtLjQ3MyAyMS4zNzEgMjEuMzcxIDAgMCAwLS4yNTEtLjU5OWwtLjg1My4wMTd2LjM3MWwtLjAxNy4zMTNhOS45MiA5LjkyIDAgMCAwIDAgLjU3M2MuMDExLjI3LjAxNy43MDkuMDE3IDEuMzE2di4xMWMwIC4wNzkuMDIyLjE0LjA2Ny4xODUuMDgzLjA2OC4yODQuMTQ3LjYwMi4yMzdsMS4xNy4zMzdjLjQ1Mi4xMy45OTYuMTk0IDEuNjMyLjE5NC42ODYgMCAxLjI1Mi0uMDU5IDEuNjk4LS4xNzdhNC42OTQgNC42OTQgMCAwIDAgMS4yOC0uNTU3Yy40MDEtLjI1OS43MDUtLjQ4Ni45MTEtLjY4My4yNjgtLjI3Ni40NjYtLjU2OC41OTQtLjg3OGE0Ljc0IDQuNzQgMCAwIDAgLjM0My0xLjc4OGMwLS4yOTgtLjAyLS41NTctLjA1OC0uNzc2SDguMjgxek0xNC45MTQgNi41N2EuMjYuMjYgMCAwIDAtLjE5My0uMDc2SC4yNjhhLjI2LjI2IDAgMCAwLS4xOTMuMDc2LjI2NC4yNjQgMCAwIDAtLjA3NS4xOTR2LjU0YzAgLjA3OS4wMjUuMTQzLjA3NS4xOTRhLjI2LjI2IDAgMCAwIC4xOTMuMDc2SDE0LjcyYS4yNi4yNiAwIDAgMCAuMTkzLS4wNzYuMjY0LjI2NCAwIDAgMCAuMDc1LS4xOTR2LS41NGEuMjY0LjI2NCAwIDAgMC0uMDc1LS4xOTR6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},monospace:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzQ0NCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS4wMjEgMi45MDZjLjE4NiAxLjIxOS4zNzIgMS41LjM3MiAyLjcxOUMxLjM5MyA2LjM3NSAwIDcuMDMxIDAgNy4wMzF2LjkzOHMxLjM5My42NTYgMS4zOTMgMS40MDZjMCAxLjIxOS0uMTg2IDEuNS0uMzcyIDIuNzE5Qy43NDMgMTQuMDYzIDEuNzY0IDE1IDIuNjkzIDE1aDEuOTV2LTEuODc1cy0xLjY3Mi4xODgtMS42NzItLjkzOGMwLS44NDMuMTg2LS44NDMuMzcyLTIuNzE4LjA5My0uODQ0LS40NjQtMS41LTEuMDIyLTEuOTY5LjU1OC0uNDY5IDEuMTE1LTEuMDMxIDEuMDIyLTEuODc1QzMuMDY0IDMuNzUgMi45NyAzLjc1IDIuOTcgMi45MDZjMC0xLjEyNSAxLjY3Mi0xLjAzMSAxLjY3Mi0xLjAzMVYwaC0xLjk1QzEuNjcgMCAuNzQzLjkzOCAxLjAyIDIuOTA2ek0xMS45NzkgMi45MDZjLS4xODYgMS4yMTktLjM3MiAxLjUtLjM3MiAyLjcxOSAwIC43NSAxLjM5MyAxLjQwNiAxLjM5MyAxLjQwNnYuOTM4cy0xLjM5My42NTYtMS4zOTMgMS40MDZjMCAxLjIxOS4xODYgMS41LjM3MiAyLjcxOS4yNzggMS45NjktLjc0MyAyLjkwNi0xLjY3MiAyLjkwNmgtMS45NXYtMS44NzVzMS42NzIuMTg4IDEuNjcyLS45MzhjMC0uODQzLS4xODYtLjg0My0uMzcyLTIuNzE4LS4wOTMtLjg0NC40NjQtMS41IDEuMDIyLTEuOTY5LS41NTgtLjQ2OS0xLjExNS0xLjAzMS0xLjAyMi0xLjg3NS4xODYtMS44NzUuMzcyLTEuODc1LjM3Mi0yLjcxOSAwLTEuMTI1LTEuNjcyLTEuMDMxLTEuNjcyLTEuMDMxVjBoMS45NWMxLjAyMiAwIDEuOTUuOTM4IDEuNjcyIDIuOTA2eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},superscript:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcuMzA1IDEwLjE2NUwxMS44NjUgMTVIOS4wNTdsLTMuMTkyLTMuNTM2TDIuNzQ2IDE1SDBsNC41MjMtNC44MzVMLjIxOCA1LjYwM2gyLjc3TDUuOTg2IDguOTEgOS4wMSA1LjYwM2gyLjY0OWwtNC4zNTQgNC41NjJ6bTYuMjM0LTMuMjY5bDEuODc5LTEuMzA2Yy42NC0uNDE2IDEuMDYyLS44MDEgMS4yNjQtMS4xNTcuMjAxLS4zNTYuMzAyLS43MzguMzAyLTEuMTQ4IDAtLjY2OS0uMjM3LTEuMjEtLjcxLTEuNjItLjQ3NC0uNDExLTEuMDk3LS42MTctMS44NjgtLjYxNy0uNzQ0IDAtMS4zNC4yMDgtMS43ODUuNjI0LS40NDcuNDE2LS42NyAxLjA0My0uNjcgMS44ODFoMS40MzZjMC0uNS4wOTQtLjg0Ni4yODEtMS4wMzguMTg4LS4xOTEuNDQ1LS4yODcuNzcyLS4yODdzLjU4NS4wOTcuNzc3LjI5MmMuMTkuMTk1LjI4Ni40MzcuMjg2LjcyNiAwIC4yOS0uMDg5LjU1LS4yNjYuNzg1cy0uNjcuNjI4LTEuNDc5IDEuMTg0Yy0uNjkxLjQ3Ny0xLjYyNy45MjctMS45MDggMS4zNWwuMDE0IDEuNTY5SDE3VjYuODk2aC0zLjQ2MXoiLz48L3N2Zz4=",className:void 0,title:void 0},subscript:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjg2NiAxMS42NDZIOS4wNkw1Ljg2NyA3Ljk0MmwtMy4xMjEgMy43MDRIMGw0LjUyNC01LjA2NEwuMjE4IDEuODA0aDIuNzdsMyAzLjQ2NCAzLjAyMy0zLjQ2NGgyLjY1TDcuMzA2IDYuNTgybDQuNTYgNS4wNjR6bTEuNzI1IDIuMDU4bDEuODI3LTEuMzY4Yy42NC0uNDM1IDEuMDYyLS44NCAxLjI2NC0xLjIxMi4yMDItLjM3Mi4zMDItLjc3My4zMDItMS4yMDIgMC0uNy0uMjM3LTEuMjY2LS43MS0xLjY5Ni0uNDc0LS40MzEtMS4wOTctLjY0Ni0xLjg2OS0uNjQ2LS43NDQgMC0xLjM0LjIxOC0xLjc4NS42NTMtLjQ0Ni40MzYtLjY3IDEuMDkyLS42NyAxLjk3aDEuNDM2YzAtLjUyNC4wOTQtLjg4Ni4yODEtMS4wODcuMTg4LS4yLjQ0NS0uMzAxLjc3Mi0uMzAxcy41ODYuMTAyLjc3Ny4zMDZjLjE5LjIwNC4yODYuNDU4LjI4Ni43NiAwIC4zMDMtLjA4OC41NzctLjI2Ni44MjItLjE3Ny4yNDUtLjY3LjY1OC0xLjQ3OCAxLjI0LS42OTIuNS0xLjYyOC45NzEtMS45MSAxLjQxM0wxMS44NjQgMTVIMTd2LTEuMjk2aC0zLjQxeiIvPjwvc3ZnPg==",className:void 0,title:void 0}},blockType:{inDropdown:!0,options:["Normal","H1","H2","H3","H4","H5","H6","Blockquote","Code"],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},fontSize:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuOTIxIDMuMTE5YS40MjcuNDI3IDAgMCAwIC4zMzUuMTY0aC45N2EuNDI2LjQyNiAwIDAgMCAuMzA0LS4xMy40NDEuNDQxIDAgMCAwIC4xMjUtLjMxbC4wMDItMi40MWEuNDM0LjQzNCAwIDAgMC0uNDMtLjQzMkguNDNBLjQzNC40MzQgMCAwIDAgMCAuNDR2Mi40MDZjMCAuMjQyLjE5Mi40MzguNDMuNDM4aC45N2MuMTMgMCAuMjU0LS4wNi4zMzUtLjE2NWwuNzMtLjkzSDUuNTR2MTEuMzZjMCAuMjQxLjE5Mi40MzcuNDMuNDM3aDEuNzE3Yy4yMzcgMCAuNDMtLjE5Ni40My0uNDM3VjIuMTg4aDMuMDdsLjczNC45MzF6TTEzLjg5OCAxMS4yNjNhLjQyNS40MjUgMCAwIDAtLjQ4Mi0uMTQ2bC0uNTQ3LjE5NFY5LjYxN2EuNDQyLjQ0MiAwIDAgMC0uMTI2LS4zMS40MjYuNDI2IDAgMCAwLS4zMDQtLjEyN2gtLjQyOWEuNDM0LjQzNCAwIDAgMC0uNDMuNDM3djEuNjk0bC0uNTQ3LS4xOTRhLjQyNS40MjUgMCAwIDAtLjQ4MS4xNDYuNDQ0LjQ0NCAwIDAgMC0uMDE2LjUxMmwxLjMzMiAyLjAxN2EuNDI3LjQyNyAwIDAgMCAuNzEzIDBsMS4zMzMtMi4wMTdhLjQ0NC40NDQgMCAwIDAtLjAxNi0uNTEyeiIvPjwvZz48L3N2Zz4=",options:[8,9,10,11,12,14,16,18,24,30,36,48,60,72,96],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},fontFamily:{options:["Arial","Georgia","Impact","Tahoma","Times New Roman","Verdana"],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},list:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["unordered","ordered","indent","outdent"],unordered:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS43MiAzLjQyN2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3LjAxIDEuNzIuMDFDLjc3LjAwOCAwIC43NzUgMCAxLjcxNWMwIC45NC43NzQgMS43MTEgMS43MiAxLjcxMXptMC0yLjYyNWMuNTEgMCAuOTIyLjQxMi45MjIuOTE0YS45Mi45MiAwIDAgMS0xLjg0MiAwIC45Mi45MiAwIDAgMSAuOTItLjkxNHpNMS43MiA4LjcwM2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3IDUuMjg3IDEuNzIgNS4yODdDLjc3IDUuMjg3IDAgNi4wNTIgMCA2Ljk5NXMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjJjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAwIDEtMS44NDIgMGMwLS41MDUuNDE1LS45MTQuOTItLjkxNHpNMS43MiAxMy45ODJjLjk1MSAwIDEuNzIyLS43NjggMS43MjItMS43MDggMC0uOTQzLS43NzQtMS43MDgtMS43MjEtMS43MDgtLjk0NyAwLTEuNzIxLjc2OC0xLjcyMSAxLjcwOHMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjVjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAxIDEtMS44NDIgMCAuOTIuOTIgMCAwIDEgLjkyLS45MTR6TTUuNzQ0IDIuMTE1aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOTlINS43NDRhLjQuNCAwIDAgMC0uNDAyLjM5OS40LjQgMCAwIDAgLjQwMi4zOTl6TTUuNzQ0IDcuMzk0aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOThINS43NDRhLjQuNCAwIDAgMC0uNDAyLjM5OC40LjQgMCAwIDAgLjQwMi4zOTl6TTUuNzQ0IDEyLjY3aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOTlINS43NDRhLjQuNCAwIDAgMC0uNDAyLjQuNC40IDAgMCAwIC40MDIuMzk4eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},ordered:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNC4yMDIgMS40NjZoOC4xNWMuMzM4IDAgLjYxMi0uMzIyLjYxMi0uNzIgMC0uMzk3LS4yNzQtLjcyLS42MTItLjcyaC04LjE1Yy0uMzM4IDAtLjYxMS4zMjMtLjYxMS43MiAwIC4zOTguMjczLjcyLjYxLjcyek0xMi4zNTIgNS43ODNoLTguMTVjLS4zMzggMC0uNjExLjMyMi0uNjExLjcyIDAgLjM5Ny4yNzMuNzIuNjEuNzJoOC4xNTFjLjMzOCAwIC42MTItLjMyMy42MTItLjcyIDAtLjM5OC0uMjc0LS43Mi0uNjEyLS43MnpNMTIuMzUyIDExLjU0aC04LjE1Yy0uMzM4IDAtLjYxMS4zMjItLjYxMS43MiAwIC4zOTYuMjczLjcxOS42MS43MTloOC4xNTFjLjMzOCAwIC42MTItLjMyMy42MTItLjcyIDAtLjM5Ny0uMjc0LS43Mi0uNjEyLS43MnpNLjc2NyAxLjI0OXYxLjgwMmMwIC4xOTUuMTM2LjM0My4zMTUuMzQzLjE3NiAwIC4zMTUtLjE1LjMxNS0uMzQzVi4zNTZjMC0uMTktLjEzMy0uMzM5LS4zMDItLjMzOS0uMTQ4IDAtLjIyMy4xMTgtLjI0Ny4xNTZhLjIyOC4yMjggMCAwIDAtLjAwMy4wMDVMLjU3OS42MjFhLjQ3NC40NzQgMCAwIDAtLjA5OC4yNzNjMCAuMTk0LjEyOC4zNTEuMjg2LjM1NXpNLjM1MiA4LjE5SDEuNTVjLjE1NyAwIC4yODUtLjE2Mi4yODUtLjM2MiAwLS4xOTgtLjEyOC0uMzU5LS4yODUtLjM1OUguNjh2LS4wMDZjMC0uMTA3LjIxLS4yODEuMzc4LS40MjIuMzM2LS4yNzguNzUzLS42MjUuNzUzLTEuMjI2IDAtLjU3LS4zNzYtMS0uODc0LTEtLjQ3NyAwLS44MzYuMzg1LS44MzYuODk3IDAgLjI5Ny4xNjQuNDAyLjMwNS40MDIuMiAwIC4zMjEtLjE3Ni4zMjEtLjM0NiAwLS4xMDYuMDIzLS4yMjguMjA0LS4yMjguMjQzIDAgLjI1LjI1NC4yNS4yODMgMCAuMjI4LS4yNTIuNDQyLS40OTUuNjQ5LS4zMDEuMjU1LS42NDIuNTQ0LS42NDIuOTkydi4zODRjMCAuMjA1LjE1OS4zNDMuMzA4LjM0M3pNMS43NyAxMC41NDNjMC0uNTkyLS4yOTYtLjkzMS0uODE0LS45MzEtLjY4IDAtLjg1OS41Ny0uODU5Ljg3MiAwIC4zNTEuMjIyLjM5LjMxOC4zOS4xODUgMCAuMzEtLjE0OC4zMS0uMzY2IDAtLjA4NC4wMjYtLjE4MS4yMjQtLjE4MS4xNDIgMCAuMi4wMjQuMi4yNjcgMCAuMjM3LS4wNDMuMjYzLS4yMTMuMjYzLS4xNjQgMC0uMjg4LjE1Mi0uMjg4LjM1NCAwIC4yLjEyNS4zNS4yOTEuMzUuMjI1IDAgLjI3LjEwOC4yNy4yODN2LjA3NWMwIC4yOTQtLjA5Ny4zNS0uMjc3LjM1LS4yNDggMC0uMjY3LS4xNS0uMjY3LS4xOTcgMC0uMTc0LS4wOTgtLjM1LS4zMTctLjM1LS4xOTIgMC0uMzA3LjE0MS0uMzA3LjM3OCAwIC40My4zMTMuODg4Ljg5NS44ODguNTY0IDAgLjkwMS0uNC45MDEtMS4wN3YtLjA3NGMwLS4yNzQtLjA3NC0uNTAyLS4yMTQtLjY2Ni4wOTYtLjE2My4xNDgtLjM4LjE0OC0uNjM1eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},indent:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNS43MTYgMy4yMTFIMTd2MS4xOTdINS43MTZ6TTAgLjAyaDE3djEuMTk3SDB6TTAgMTIuNzgzaDE3djEuMTk3SDB6TTUuNzE2IDkuNTkzSDE3djEuMTk3SDUuNzE2ek01LjcxNiA2LjQwMkgxN3YxLjE5N0g1LjcxNnpNLjE4NyA5LjQ5MUwyLjUyIDcgLjE4NyA0LjUwOXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},outdent:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNS4zOTYgMy4xOTNoMTAuNTczVjQuMzlINS4zOTZ6TS4wMzkuMDAzaDE1LjkzVjEuMkguMDM5ek0uMDM5IDEyLjc2NmgxNS45M3YxLjE5N0guMDM5ek01LjM5NiA5LjU3NWgxMC41NzN2MS4xOTdINS4zOTZ6TTUuMzk2IDYuMzg0aDEwLjU3M3YxLjE5N0g1LjM5NnpNMi4xODcgNC40OTFMMCA2Ljk4M2wyLjE4NyAyLjQ5MXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},title:void 0},textAlign:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["left","center","right","justify"],left:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNOC40OTMgMTQuODg3SC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDguMTY3YS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjE4IDEwLjE2MkguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1M2gxNC4yOTJhLjMyNi4zMjYgMCAwIDEgMCAuNjUzek04LjQ5MyA1LjQzNUguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1Mmg4LjE2N2EuMzI2LjMyNiAwIDAgMSAwIC42NTJ6TTE0LjYxOC43MDlILjMyNmEuMzI2LjMyNiAwIDAgMSAwLS42NTJoMTQuMjkyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},center:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNTU2IDE0Ljg4N0gzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTggMTAuMTYySC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUzaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6TTExLjU1NiA1LjQzNUgzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTguNzA5SC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTJ6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},right:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNjE4IDE0Ljg4N0g2LjQ1YS4zMjYuMzI2IDAgMCAxIDAtLjY1Mmg4LjE2N2EuMzI2LjMyNiAwIDAgMSAwIC42NTJ6TTE0LjYxOCAxMC4xNjJILjMyNmEuMzI2LjMyNiAwIDAgMSAwLS42NTNoMTQuMjkyYS4zMjYuMzI2IDAgMCAxIDAgLjY1M3pNMTQuNjE4IDUuNDM1SDYuNDVhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDguMTY3YS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjE4LjcwOUguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1MmgxNC4yOTJhLjMyNi4zMjYgMCAwIDEgMCAuNjUyeiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},justify:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNjIgMTQuODg4SC4zMjVhLjMyNi4zMjYgMCAwIDEgMC0uNjUySDE0LjYyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjIgMTAuMTYySC4zMjVhLjMyNi4zMjYgMCAwIDEgMC0uNjUySDE0LjYyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjIgNS40MzZILjMyNWEuMzI2LjMyNiAwIDAgMSAwLS42NTJIMTQuNjJhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42Mi43MUguMzI1YS4zMjYuMzI2IDAgMCAxIDAtLjY1M0gxNC42MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},title:void 0},colorPicker:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNDA2LjU4NWExLjk5OCAxLjk5OCAwIDAgMC0yLjgyNSAwbC0uNTQuNTRhLjc0MS43NDEgMCAxIDAtMS4wNDggMS4wNDhsLjE3NS4xNzUtNS44MjYgNS44MjUtMi4wMjIgMi4wMjNhLjkxLjkxIDAgMCAwLS4yNjYuNjAybC0uMDA1LjEwOHYuMDAybC0uMDgxIDEuODI5YS4zMDIuMzAyIDAgMCAwIC4zMDIuMzE2aC4wMTNsLjk3LS4wNDQuNTkyLS4wMjYuMjY4LS4wMTJjLjI5Ny0uMDEzLjU3OS0uMTM3Ljc5LS4zNDdsNy43Ny03Ljc3LjE0Ni4xNDRhLjc0Ljc0IDAgMCAwIDEuMDQ4IDBjLjI5LS4yOS4yOS0uNzU5IDAtMS4wNDhsLjU0LS41NGMuNzgtLjc4Ljc4LTIuMDQ0IDAtMi44MjV6TTguNzk1IDcuMzMzbC0yLjczLjUxNSA0LjQ1Mi00LjQ1MiAxLjEwOCAxLjEwNy0yLjgzIDIuODN6TTIuMDggMTMuNjczYy0xLjE0OCAwLTIuMDguMjk1LTIuMDguNjYgMCAuMzYzLjkzMi42NTggMi4wOC42NTggMS4xNSAwIDIuMDgtLjI5NCAyLjA4LS42NTkgMC0uMzY0LS45My0uNjU5LTIuMDgtLjY1OXoiLz48L2c+PC9zdmc+",className:void 0,component:void 0,popupClassName:void 0,colors:["rgb(97,189,109)","rgb(26,188,156)","rgb(84,172,210)","rgb(44,130,201)","rgb(147,101,184)","rgb(71,85,119)","rgb(204,204,204)","rgb(65,168,95)","rgb(0,168,133)","rgb(61,142,185)","rgb(41,105,176)","rgb(85,57,130)","rgb(40,50,78)","rgb(0,0,0)","rgb(247,218,100)","rgb(251,160,38)","rgb(235,107,86)","rgb(226,80,65)","rgb(163,143,132)","rgb(239,239,239)","rgb(255,255,255)","rgb(250,197,28)","rgb(243,121,52)","rgb(209,72,65)","rgb(184,49,47)","rgb(124,112,107)","rgb(209,213,216)"],title:void 0},link:{inDropdown:!1,className:void 0,component:void 0,popupClassName:void 0,dropdownClassName:void 0,showOpenOptionOnHover:!0,defaultTargetOption:"_self",options:["link","unlink"],link:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEzLjk2Ny45NUEzLjIyNiAzLjIyNiAwIDAgMCAxMS42Ny4wMDJjLS44NyAwLTEuNjg2LjMzNy0yLjI5Ny45NDhMNy4xMDUgMy4yMThBMy4yNDcgMy4yNDcgMCAwIDAgNi4yNCA2LjI0YTMuMjI1IDMuMjI1IDAgMCAwLTMuMDIyLjg2NUwuOTUgOS4zNzNhMy4yNTMgMy4yNTMgMCAwIDAgMCA0LjU5NCAzLjIyNiAzLjIyNiAwIDAgMCAyLjI5Ny45NDhjLjg3IDAgMS42ODYtLjMzNiAyLjI5OC0uOTQ4TDcuODEyIDExLjdhMy4yNDcgMy4yNDcgMCAwIDAgLjg2NS0zLjAyMyAzLjIyNSAzLjIyNSAwIDAgMCAzLjAyMi0uODY1bDIuMjY4LTIuMjY3YTMuMjUyIDMuMjUyIDAgMCAwIDAtNC41OTV6TTcuMTA1IDEwLjk5M0w0LjgzNyAxMy4yNmEyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LjY1NSAyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LS42NTUgMi4yNTIgMi4yNTIgMCAwIDEgMC0zLjE4bDIuMjY4LTIuMjY4YTIuMjMyIDIuMjMyIDAgMCAxIDEuNTktLjY1NWMuNDMgMCAuODQxLjEyIDEuMTk1LjM0M0w0Ljc3MiA5LjQzOGEuNS41IDAgMSAwIC43MDcuNzA3bDEuOTM5LTEuOTM4Yy41NDUuODY4LjQ0MiAyLjAzLS4zMTMgMi43ODV6bTYuMTU1LTYuMTU1bC0yLjI2OCAyLjI2N2EyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LjY1NWMtLjQzMSAwLS44NDEtLjEyLTEuMTk1LS4zNDNsMS45MzgtMS45MzhhLjUuNSAwIDEgMC0uNzA3LS43MDdMNy40OTkgNi43MWEyLjI1MiAyLjI1MiAwIDAgMSAuMzEzLTIuNzg1bDIuMjY3LTIuMjY4YTIuMjMzIDIuMjMzIDAgMCAxIDEuNTktLjY1NSAyLjIzMyAyLjIzMyAwIDAgMSAyLjI0NiAyLjI0NWMwIC42MDMtLjIzMiAxLjE2OC0uNjU1IDEuNTl6IiBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=",className:void 0,title:void 0},unlink:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTMuOTU2IDEuMDM3YTMuNTUgMy41NSAwIDAgMC01LjAxNCAwTDYuNDM2IDMuNTQ0YS41NDUuNTQ1IDAgMSAwIC43Ny43N2wyLjUwOC0yLjUwNmEyLjQzOCAyLjQzOCAwIDAgMSAxLjczNS0uNzE1Yy42NTggMCAxLjI3NS4yNTQgMS43MzYuNzE1LjQ2LjQ2MS43MTUgMS4wNzguNzE1IDEuNzM2IDAgLjY1OC0uMjU0IDEuMjc0LS43MTUgMS43MzVMOS45MDcgOC41NThhMi40NTggMi40NTggMCAwIDEtMy40NzIgMCAuNTQ1LjU0NSAwIDEgMC0uNzcxLjc3MSAzLjUzNCAzLjUzNCAwIDAgMCAyLjUwNyAxLjAzN2MuOTA4IDAgMS44MTYtLjM0NiAyLjUwNy0xLjAzN2wzLjI3OC0zLjI3OGEzLjUyIDMuNTIgMCAwIDAgMS4wMzUtMi41MDdjMC0uOTUtLjM2Ny0xLjg0LTEuMDM1LTIuNTA3eiIvPjxwYXRoIGQ9Ik03LjQgMTEuMDY1bC0yLjEyMiAyLjEyYTIuNDM3IDIuNDM3IDAgMCAxLTEuNzM1LjcxNiAyLjQzNyAyLjQzNyAwIDAgMS0xLjczNi0uNzE1IDIuNDU3IDIuNDU3IDAgMCAxIDAtMy40NzFsMy4wODYtMy4wODZhMi40MzggMi40MzggMCAwIDEgMS43MzUtLjcxNWMuNjU4IDAgMS4yNzUuMjU0IDEuNzM2LjcxNWEuNTQ1LjU0NSAwIDEgMCAuNzcxLS43NzEgMy41NSAzLjU1IDAgMCAwLTUuMDE0IDBMMS4wMzYgOC45NDRBMy41MiAzLjUyIDAgMCAwIDAgMTEuNDVjMCAuOTUuMzY3IDEuODQgMS4wMzUgMi41MDdhMy41MiAzLjUyIDAgMCAwIDIuNTA2IDEuMDM1Yy45NSAwIDEuODQtLjM2OCAyLjUwNy0xLjAzNWwyLjEyMi0yLjEyMWEuNTQ1LjU0NSAwIDAgMC0uNzcxLS43NzF6TTkuMjc0IDEyLjAwMmEuNTQ2LjU0NiAwIDAgMC0uNTQ2LjU0NXYxLjYzN2EuNTQ2LjU0NiAwIDAgMCAxLjA5MSAwdi0xLjYzN2EuNTQ1LjU0NSAwIDAgMC0uNTQ1LS41NDV6TTExLjIzIDExLjYxNmEuNTQ1LjU0NSAwIDEgMC0uNzcyLjc3MmwxLjE1NyAxLjE1NmEuNTQzLjU0MyAwIDAgMCAuNzcxIDAgLjU0NS41NDUgMCAwIDAgMC0uNzdsLTEuMTU2LTEuMTU4ek0xMi41MzcgOS44MkgxMC45YS41NDYuNTQ2IDAgMCAwIDAgMS4wOTFoMS42MzdhLjU0Ni41NDYgMCAwIDAgMC0xLjA5ek00LjkxIDMuNTQ3YS41NDYuNTQ2IDAgMCAwIC41NDUtLjU0NVYxLjM2NmEuNTQ2LjU0NiAwIDAgMC0xLjA5IDB2MS42MzZjMCAuMzAxLjI0NC41NDUuNTQ1LjU0NXpNMi44ODggMy45MzNhLjU0My41NDMgMCAwIDAgLjc3MSAwIC41NDUuNTQ1IDAgMCAwIDAtLjc3MUwyLjUwMiAyLjAwNWEuNTQ1LjU0NSAwIDEgMC0uNzcxLjc3bDEuMTU3IDEuMTU4ek0xLjYyOCA1LjczaDEuNjM2YS41NDYuNTQ2IDAgMCAwIDAtMS4wOTJIMS42MjhhLjU0Ni41NDYgMCAwIDAgMCAxLjA5MXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},linkCallback:void 0},emoji:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHZpZXdCb3g9IjE1LjcyOSAyMi4wODIgMTcgMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI5LjcwOCAyNS4xMDRjLTMuMDIxLTMuMDIyLTcuOTM3LTMuMDIyLTEwLjk1OCAwLTMuMDIxIDMuMDItMy4wMiA3LjkzNiAwIDEwLjk1OCAzLjAyMSAzLjAyIDcuOTM3IDMuMDIgMTAuOTU4LS4wMDEgMy4wMi0zLjAyMSAzLjAyLTcuOTM2IDAtMTAuOTU3em0tLjg0NSAxMC4xMTJhNi41NiA2LjU2IDAgMCAxLTkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAtOS4yNjcgNi41NiA2LjU2IDAgMCAxIDkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAgOS4yNjd6bS03LjUyNC02LjczYS45MDYuOTA2IDAgMSAxIDEuODExIDAgLjkwNi45MDYgMCAwIDEtMS44MTEgMHptNC4xMDYgMGEuOTA2LjkwNiAwIDEgMSAxLjgxMiAwIC45MDYuOTA2IDAgMCAxLTEuODEyIDB6bTIuMTQxIDMuNzA4Yy0uNTYxIDEuMjk4LTEuODc1IDIuMTM3LTMuMzQ4IDIuMTM3LTEuNTA1IDAtMi44MjctLjg0My0zLjM2OS0yLjE0N2EuNDM4LjQzOCAwIDAgMSAuODEtLjMzNmMuNDA1Ljk3NiAxLjQxIDEuNjA3IDIuNTU5IDEuNjA3IDEuMTIzIDAgMi4xMjEtLjYzMSAyLjU0NC0xLjYwOGEuNDM4LjQzOCAwIDAgMSAuODA0LjM0N3oiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,emojis:["😀","😁","😂","😃","😉","😋","😎","😍","😗","🤗","🤔","😣","😫","😴","😌","🤓","😛","😜","😠","😇","😷","😈","👻","😺","😸","😹","😻","😼","😽","🙀","🙈","🙉","🙊","👼","👮","🕵","💂","👳","🎅","👸","👰","👲","🙍","🙇","🚶","🏃","💃","⛷","🏂","🏌","🏄","🚣","🏊","⛹","🏋","🚴","👫","💪","👈","👉","👆","🖕","👇","🖖","🤘","🖐","👌","👍","👎","✊","👊","👏","🙌","🙏","🐵","🐶","🐇","🐥","🐸","🐌","🐛","🐜","🐝","🍉","🍄","🍔","🍤","🍨","🍪","🎂","🍰","🍾","🍷","🍸","🍺","🌍","🚑","⏰","🌙","🌝","🌞","⭐","🌟","🌠","🌨","🌩","⛄","🔥","🎄","🎈","🎉","🎊","🎁","🎗","🏀","🏈","🎲","🔇","🔈","📣","🔔","🎵","🎷","💰","🖊","📅","✅","❎","💯"],title:void 0},embedded:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNzA4IDYuNjE1YS40MzYuNDM2IDAgMCAwLS41NDMuMjkxbC0xLjgzIDYuMDQ1YS40MzYuNDM2IDAgMCAwIC44MzMuMjUyTDcgNy4xNmEuNDM2LjQzNiAwIDAgMC0uMjktLjU0NHpNOC45MzEgNi42MTVhLjQzNi40MzYgMCAwIDAtLjU0My4yOTFsLTEuODMgNi4wNDVhLjQzNi40MzYgMCAwIDAgLjgzNC4yNTJsMS44My02LjA0NGEuNDM2LjQzNiAwIDAgMC0uMjktLjU0NHoiLz48cGF0aCBkPSJNMTYuNTY0IDBILjQzNkEuNDM2LjQzNiAwIDAgMCAwIC40MzZ2MTYuMTI4YzAgLjI0LjE5NS40MzYuNDM2LjQzNmgxNi4xMjhjLjI0IDAgLjQzNi0uMTk1LjQzNi0uNDM2Vi40MzZBLjQzNi40MzYgMCAwIDAgMTYuNTY0IDB6TTMuNDg3Ljg3MmgxMC4wMjZ2MS43NDNIMy40ODdWLjg3MnptLTIuNjE1IDBoMS43NDN2MS43NDNILjg3MlYuODcyem0xNS4yNTYgMTUuMjU2SC44NzJWMy40ODhoMTUuMjU2djEyLjY0em0wLTEzLjUxM2gtMS43NDNWLjg3MmgxLjc0M3YxLjc0M3oiLz48Y2lyY2xlIGN4PSI5My44NjciIGN5PSIyNDUuMDY0IiByPSIxMy4xMjgiIHRyYW5zZm9ybT0ibWF0cml4KC4wMzMyIDAgMCAuMDMzMiAwIDApIi8+PGNpcmNsZSBjeD0iOTMuODY3IiBjeT0iMzYwLjU5MiIgcj0iMTMuMTI4IiB0cmFuc2Zvcm09Im1hdHJpeCguMDMzMiAwIDAgLjAzMzIgMCAwKSIvPjxwYXRoIGQ9Ik0xNC4yNTQgMTIuNjQxSDEwLjJhLjQzNi40MzYgMCAwIDAgMCAuODcyaDQuMDU0YS40MzYuNDM2IDAgMCAwIDAtLjg3MnoiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,embedCallback:void 0,defaultSize:{height:"auto",width:"auto"},title:void 0},image:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNzQxIDBILjI2Qy4xMTYgMCAwIC4xMzYgMCAuMzA0djEzLjM5MmMwIC4xNjguMTE2LjMwNC4yNTkuMzA0SDE0Ljc0Yy4xNDMgMCAuMjU5LS4xMzYuMjU5LS4zMDRWLjMwNEMxNSAuMTM2IDE0Ljg4NCAwIDE0Ljc0MSAwem0tLjI1OCAxMy4zOTFILjUxN1YuNjFoMTMuOTY2VjEzLjM5eiIvPjxwYXRoIGQ9Ik00LjEzOCA2LjczOGMuNzk0IDAgMS40NC0uNzYgMS40NC0xLjY5NXMtLjY0Ni0xLjY5NS0xLjQ0LTEuNjk1Yy0uNzk0IDAtMS40NC43Ni0xLjQ0IDEuNjk1IDAgLjkzNC42NDYgMS42OTUgMS40NCAxLjY5NXptMC0yLjc4MWMuNTA5IDAgLjkyMy40ODcuOTIzIDEuMDg2IDAgLjU5OC0uNDE0IDEuMDg2LS45MjMgMS4wODYtLjUwOSAwLS45MjMtLjQ4Ny0uOTIzLTEuMDg2IDAtLjU5OS40MTQtMS4wODYuOTIzLTEuMDg2ek0xLjgxIDEyLjE3NGMuMDYgMCAuMTIyLS4wMjUuMTcxLS4wNzZMNi4yIDcuNzI4bDIuNjY0IDMuMTM0YS4yMzIuMjMyIDAgMCAwIC4zNjYgMCAuMzQzLjM0MyAwIDAgMCAwLS40M0w3Ljk4NyA4Ljk2OWwyLjM3NC0zLjA2IDIuOTEyIDMuMTQyYy4xMDYuMTEzLjI3LjEwNS4zNjYtLjAyYS4zNDMuMzQzIDAgMCAwLS4wMTYtLjQzbC0zLjEwNC0zLjM0N2EuMjQ0LjI0NCAwIDAgMC0uMTg2LS4wOC4yNDUuMjQ1IDAgMCAwLS4xOC4xTDcuNjIyIDguNTM3IDYuMzk0IDcuMDk0YS4yMzIuMjMyIDAgMCAwLS4zNTQtLjAxM2wtNC40IDQuNTZhLjM0My4zNDMgMCAwIDAtLjAyNC40My4yNDMuMjQzIDAgMCAwIC4xOTQuMTAzeiIvPjwvZz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,urlEnabled:!0,uploadEnabled:!0,previewImage:!1,alignmentEnabled:!0,uploadCallback:void 0,inputAccept:"image/gif,image/jpeg,image/jpg,image/png,image/svg",alt:{present:!1,mandatory:!1},defaultSize:{height:"auto",width:"auto"},title:void 0},remove:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNOC4xIDE0bDYuNC03LjJjLjYtLjcuNi0xLjgtLjEtMi41bC0yLjctMi43Yy0uMy0uNC0uOC0uNi0xLjMtLjZIOC42Yy0uNSAwLTEgLjItMS40LjZMLjUgOS4yYy0uNi43LS42IDEuOS4xIDIuNWwyLjcgMi43Yy4zLjQuOC42IDEuMy42SDE2di0xSDguMXptLTEuMy0uMXMwLS4xIDAgMGwtMi43LTIuN2MtLjQtLjQtLjQtLjkgMC0xLjNMNy41IDZoLTFsLTMgMy4zYy0uNi43LS42IDEuNy4xIDIuNEw1LjkgMTRINC42Yy0uMiAwLS40LS4xLS42LS4yTDEuMiAxMWMtLjMtLjMtLjMtLjggMC0xLjFMNC43IDZoMS44TDEwIDJoMUw3LjUgNmwzLjEgMy43LTMuNSA0Yy0uMS4xLS4yLjEtLjMuMnoiLz48L3N2Zz4=",className:void 0,component:void 0,title:void 0},history:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["undo","redo"],undo:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcgMTQuODc1YzIuNjcyIDAgNC44NDYtMi4xNDUgNC44NDYtNC43ODEgMC0yLjYzNy0yLjE3NC00Ljc4MS00Ljg0Ni00Ljc4MVY4LjVMMS42MTUgNC4yNSA3IDB2My4xODhjMy44NiAwIDcgMy4wOTggNyA2LjkwNlMxMC44NiAxNyA3IDE3cy03LTMuMDk4LTctNi45MDZoMi4xNTRjMCAyLjYzNiAyLjE3NCA0Ljc4MSA0Ljg0NiA0Ljc4MXoiIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==",className:void 0,title:void 0},redo:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNTA0IDEzLjk3N2E0LjQ5NyA0LjQ5NyAwIDAgMS00LjQ5Mi00LjQ5MiA0LjQ5NyA0LjQ5NyAwIDAgMSA0LjQ5Mi00LjQ5M3YyLjk5NWw0Ljk5LTMuOTkzTDYuNTA0IDB2Mi45OTVhNi40OTYgNi40OTYgMCAwIDAtNi40ODggNi40OWMwIDMuNTc4IDIuOTEgNi40OSA2LjQ4OCA2LjQ5YTYuNDk2IDYuNDk2IDAgMCAwIDYuNDg3LTYuNDloLTEuOTk2YTQuNDk3IDQuNDk3IDAgMCAxLTQuNDkxIDQuNDkyeiIgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+",className:void 0,title:void 0},title:void 0}},tr={en:{"generic.add":"Add","generic.cancel":"Cancel","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Block Type","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Color Picker","components.controls.colorpicker.text":"Text","components.controls.colorpicker.background":"Highlight","components.controls.embedded.embedded":"Embedded","components.controls.embedded.embeddedlink":"Embedded Link","components.controls.embedded.enterlink":"Enter link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Font","components.controls.fontsize.fontsize":"Font Size","components.controls.history.history":"History","components.controls.history.undo":"Undo","components.controls.history.redo":"Redo","components.controls.image.image":"Image","components.controls.image.fileUpload":"File Upload","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop the file or click to upload","components.controls.inline.bold":"Bold","components.controls.inline.italic":"Italic","components.controls.inline.underline":"Underline","components.controls.inline.strikethrough":"Strikethrough","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Superscript","components.controls.inline.subscript":"Subscript","components.controls.link.linkTitle":"Link Title","components.controls.link.linkTarget":"Link Target","components.controls.link.linkTargetOption":"Open link in new window","components.controls.link.link":"Link","components.controls.link.unlink":"Unlink","components.controls.list.list":"List","components.controls.list.unordered":"Unordered","components.controls.list.ordered":"Ordered","components.controls.list.indent":"Indent","components.controls.list.outdent":"Outdent","components.controls.remove.remove":"Remove","components.controls.textalign.textalign":"Text Align","components.controls.textalign.left":"Left","components.controls.textalign.center":"Center","components.controls.textalign.right":"Right","components.controls.textalign.justify":"Justify"},fr:{"generic.add":"Ok","generic.cancel":"Annuler","components.controls.blocktype.h1":"Titre 1","components.controls.blocktype.h2":"Titre 2","components.controls.blocktype.h3":"Titre 3","components.controls.blocktype.h4":"Titre 4","components.controls.blocktype.h5":"Titre 5","components.controls.blocktype.h6":"Titre 6","components.controls.blocktype.blockquote":"Citation","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Type bloc","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Palette de couleur","components.controls.colorpicker.text":"Texte","components.controls.colorpicker.background":"Fond","components.controls.embedded.embedded":"Embedded","components.controls.embedded.embeddedlink":"Lien iFrame","components.controls.embedded.enterlink":"Entrer le lien","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Police","components.controls.fontsize.fontsize":"Taille de police","components.controls.history.history":"Historique","components.controls.history.undo":"Précédent","components.controls.history.redo":"Suivant","components.controls.image.image":"Image","components.controls.image.fileUpload":"Téléchargement","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Glisser une image ou cliquer pour télécharger","components.controls.inline.bold":"Gras","components.controls.inline.italic":"Italique","components.controls.inline.underline":"Souligner","components.controls.inline.strikethrough":"Barrer","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Exposant","components.controls.inline.subscript":"Indice","components.controls.link.linkTitle":"Titre du lien","components.controls.link.linkTarget":"Cible du lien","components.controls.link.linkTargetOption":"Ouvrir le lien dans une nouvelle fenêtre","components.controls.link.link":"Lier","components.controls.link.unlink":"Délier","components.controls.list.list":"Liste","components.controls.list.unordered":"Désordonnée","components.controls.list.ordered":"Ordonnée","components.controls.list.indent":"Augmenter le retrait","components.controls.list.outdent":"Diminuer le retrait","components.controls.remove.remove":"Supprimer","components.controls.textalign.textalign":"Alignement du texte","components.controls.textalign.left":"Gauche","components.controls.textalign.center":"Centre","components.controls.textalign.right":"Droite","components.controls.textalign.justify":"Justifier"},zh:{"generic.add":"添加","generic.cancel":"取消","components.controls.blocktype.h1":"标题1","components.controls.blocktype.h2":"标题2","components.controls.blocktype.h3":"标题3","components.controls.blocktype.h4":"标题4","components.controls.blocktype.h5":"标题5","components.controls.blocktype.h6":"标题6","components.controls.blocktype.blockquote":"引用","components.controls.blocktype.code":"源码","components.controls.blocktype.blocktype":"样式","components.controls.blocktype.normal":"正文","components.controls.colorpicker.colorpicker":"选色器","components.controls.colorpicker.text":"文字","components.controls.colorpicker.background":"背景","components.controls.embedded.embedded":"内嵌","components.controls.embedded.embeddedlink":"内嵌网页","components.controls.embedded.enterlink":"输入网页地址","components.controls.emoji.emoji":"表情符号","components.controls.fontfamily.fontfamily":"字体","components.controls.fontsize.fontsize":"字号","components.controls.history.history":"历史","components.controls.history.undo":"撤销","components.controls.history.redo":"恢复","components.controls.image.image":"图片","components.controls.image.fileUpload":"来自文件","components.controls.image.byURL":"在线图片","components.controls.image.dropFileText":"点击或者拖拽文件上传","components.controls.inline.bold":"粗体","components.controls.inline.italic":"斜体","components.controls.inline.underline":"下划线","components.controls.inline.strikethrough":"删除线","components.controls.inline.monospace":"等宽字体","components.controls.inline.superscript":"上标","components.controls.inline.subscript":"下标","components.controls.link.linkTitle":"超链接","components.controls.link.linkTarget":"输入链接地址","components.controls.link.linkTargetOption":"在新窗口中打开链接","components.controls.link.link":"链接","components.controls.link.unlink":"删除链接","components.controls.list.list":"列表","components.controls.list.unordered":"项目符号","components.controls.list.ordered":"编号","components.controls.list.indent":"增加缩进量","components.controls.list.outdent":"减少缩进量","components.controls.remove.remove":"清除格式","components.controls.textalign.textalign":"文本对齐","components.controls.textalign.left":"文本左对齐","components.controls.textalign.center":"居中","components.controls.textalign.right":"文本右对齐","components.controls.textalign.justify":"两端对齐"},ru:{"generic.add":"Добавить","generic.cancel":"Отменить","components.controls.blocktype.h1":"Заголовок 1","components.controls.blocktype.h2":"Заголовок 2","components.controls.blocktype.h3":"Заголовок 3","components.controls.blocktype.h4":"Заголовок 4","components.controls.blocktype.h5":"Заголовок 5","components.controls.blocktype.h6":"Заголовок 6","components.controls.blocktype.blockquote":"Цитата","components.controls.blocktype.code":"Код","components.controls.blocktype.blocktype":"Форматирование","components.controls.blocktype.normal":"Обычный","components.controls.colorpicker.colorpicker":"Выбор цвета","components.controls.colorpicker.text":"Текст","components.controls.colorpicker.background":"Фон","components.controls.embedded.embedded":"Встраивание","components.controls.embedded.embeddedlink":"Ссылка в iFrame","components.controls.embedded.enterlink":"Вставьте ссылку","components.controls.emoji.emoji":"Эмодзи","components.controls.fontfamily.fontfamily":"Шрифт","components.controls.fontsize.fontsize":"Размер шрифта","components.controls.history.history":"История","components.controls.history.undo":"Отменить","components.controls.history.redo":"Вернуть","components.controls.image.image":"Изображение","components.controls.image.fileUpload":"Файлы","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Переместите в эту область файлы или кликните для загрузки","components.controls.inline.bold":"Жирный","components.controls.inline.italic":"Курсив","components.controls.inline.underline":"Подчеркивание","components.controls.inline.strikethrough":"Зачеркивание","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Верхний индекс","components.controls.inline.subscript":"Нижний индекс","components.controls.link.linkTitle":"Текст","components.controls.link.linkTarget":"Адрес ссылки","components.controls.link.linkTargetOption":"Открывать в новом окне","components.controls.link.link":"Ссылка","components.controls.link.unlink":"Убрать ссылку","components.controls.list.list":"Список","components.controls.list.unordered":"Неупорядоченный","components.controls.list.ordered":"Упорядоченный","components.controls.list.indent":"Отступ","components.controls.list.outdent":"Выступ","components.controls.remove.remove":"Удалить","components.controls.textalign.textalign":"Выравнивание текста","components.controls.textalign.left":"Слева","components.controls.textalign.center":"По центру","components.controls.textalign.right":"Справа","components.controls.textalign.justify":"Выравнить"},pt:{"generic.add":"Ok","generic.cancel":"Cancelar","components.controls.blocktype.h1":"Título 1","components.controls.blocktype.h2":"Título 2","components.controls.blocktype.h3":"Título 3","components.controls.blocktype.h4":"Título 4","components.controls.blocktype.h5":"Título 5","components.controls.blocktype.h6":"Título 6","components.controls.blocktype.blockquote":"Citação","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Estilo","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Paleta de cores","components.controls.colorpicker.text":"Texto","components.controls.colorpicker.background":"Fundo","components.controls.embedded.embedded":"Embarcado","components.controls.embedded.embeddedlink":"Link embarcado","components.controls.embedded.enterlink":"Coloque o link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fonte","components.controls.fontsize.fontsize":"Tamanho da Fonte","components.controls.history.history":"Histórico","components.controls.history.undo":"Desfazer","components.controls.history.redo":"Refazer","components.controls.image.image":"Imagem","components.controls.image.fileUpload":"Carregar arquivo","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Arraste uma imagem aqui ou clique para carregar","components.controls.inline.bold":"Negrito","components.controls.inline.italic":"Itálico","components.controls.inline.underline":"Sublinhado","components.controls.inline.strikethrough":"Strikethrough","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Sobrescrito","components.controls.inline.subscript":"Subscrito","components.controls.link.linkTitle":"Título do link","components.controls.link.linkTarget":"Alvo do link","components.controls.link.linkTargetOption":"Abrir link em outra janela","components.controls.link.link":"Adicionar Link","components.controls.link.unlink":"Remover link","components.controls.list.list":"Lista","components.controls.list.unordered":"Sem ordenção","components.controls.list.ordered":"Ordenada","components.controls.list.indent":"Aumentar recuo","components.controls.list.outdent":"Diminuir recuo","components.controls.remove.remove":"Remover","components.controls.textalign.textalign":"Alinhamento do texto","components.controls.textalign.left":"À Esquerda","components.controls.textalign.center":"Centralizado","components.controls.textalign.right":"À Direita","components.controls.textalign.justify":"Justificado"},ko:{"generic.add":"입력","generic.cancel":"취소","components.controls.blocktype.h1":"제목1","components.controls.blocktype.h2":"제목2","components.controls.blocktype.h3":"제목3","components.controls.blocktype.h4":"제목4","components.controls.blocktype.h5":"제목5","components.controls.blocktype.h6":"제목6","components.controls.blocktype.blockquote":"인용","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"블록","components.controls.blocktype.normal":"표준","components.controls.colorpicker.colorpicker":"색상 선택","components.controls.colorpicker.text":"글꼴색","components.controls.colorpicker.background":"배경색","components.controls.embedded.embedded":"임베드","components.controls.embedded.embeddedlink":"임베드 링크","components.controls.embedded.enterlink":"주소를 입력하세요","components.controls.emoji.emoji":"이모지","components.controls.fontfamily.fontfamily":"글꼴","components.controls.fontsize.fontsize":"글꼴 크기","components.controls.history.history":"히스토리","components.controls.history.undo":"실행 취소","components.controls.history.redo":"다시 실행","components.controls.image.image":"이미지","components.controls.image.fileUpload":"파일 업로드","components.controls.image.byURL":"주소","components.controls.image.dropFileText":"클릭하거나 파일을 드롭하여 업로드하세요","components.controls.inline.bold":"굵게","components.controls.inline.italic":"기울임꼴","components.controls.inline.underline":"밑줄","components.controls.inline.strikethrough":"취소선","components.controls.inline.monospace":"고정 너비","components.controls.inline.superscript":"위 첨자","components.controls.inline.subscript":"아래 첨자","components.controls.link.linkTitle":"링크 제목","components.controls.link.linkTarget":"링크 타겟","components.controls.link.linkTargetOption":"새창으로 열기","components.controls.link.link":"링크","components.controls.link.unlink":"링크 제거","components.controls.list.list":"리스트","components.controls.list.unordered":"일반 리스트","components.controls.list.ordered":"순서 리스트","components.controls.list.indent":"들여쓰기","components.controls.list.outdent":"내어쓰기","components.controls.remove.remove":"삭제","components.controls.textalign.textalign":"텍스트 정렬","components.controls.textalign.left":"왼쪽","components.controls.textalign.center":"중앙","components.controls.textalign.right":"오른쪽","components.controls.textalign.justify":"양쪽"},it:{"generic.add":"Aggiungi","generic.cancel":"Annulla","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Citazione","components.controls.blocktype.code":"Codice","components.controls.blocktype.blocktype":"Stili","components.controls.blocktype.normal":"Normale","components.controls.colorpicker.colorpicker":"Colore testo","components.controls.colorpicker.text":"Testo","components.controls.colorpicker.background":"Evidenziazione","components.controls.embedded.embedded":"Incorpora","components.controls.embedded.embeddedlink":"Incorpora link","components.controls.embedded.enterlink":"Inserisci link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Carattere","components.controls.fontsize.fontsize":"Dimensione carattere","components.controls.history.history":"Modifiche","components.controls.history.undo":"Annulla","components.controls.history.redo":"Ripristina","components.controls.image.image":"Immagine","components.controls.image.fileUpload":"Carica immagine","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Trascina il file o clicca per caricare","components.controls.inline.bold":"Grassetto","components.controls.inline.italic":"Corsivo","components.controls.inline.underline":"Sottolineato","components.controls.inline.strikethrough":"Barrato","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Apice","components.controls.inline.subscript":"Pedice","components.controls.link.linkTitle":"Testo","components.controls.link.linkTarget":"Link","components.controls.link.linkTargetOption":"Apri link in una nuova finestra","components.controls.link.link":"Inserisci link","components.controls.link.unlink":"Rimuovi link","components.controls.list.list":"Lista","components.controls.list.unordered":"Elenco puntato","components.controls.list.ordered":"Elenco numerato","components.controls.list.indent":"Indent","components.controls.list.outdent":"Outdent","components.controls.remove.remove":"Rimuovi formattazione","components.controls.textalign.textalign":"Allineamento del testo","components.controls.textalign.left":"Allinea a sinistra","components.controls.textalign.center":"Allinea al centro","components.controls.textalign.right":"Allinea a destra","components.controls.textalign.justify":"Giustifica"},nl:{"generic.add":"Toevoegen","generic.cancel":"Annuleren","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Blocktype","components.controls.blocktype.normal":"Normaal","components.controls.colorpicker.colorpicker":"Kleurkiezer","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Achtergrond","components.controls.embedded.embedded":"Ingevoegd","components.controls.embedded.embeddedlink":"Ingevoegde link","components.controls.embedded.enterlink":"Voeg link toe","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Lettertype","components.controls.fontsize.fontsize":"Lettergrootte","components.controls.history.history":"Geschiedenis","components.controls.history.undo":"Ongedaan maken","components.controls.history.redo":"Opnieuw","components.controls.image.image":"Afbeelding","components.controls.image.fileUpload":"Bestand uploaden","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop het bestand hier of klik om te uploaden","components.controls.inline.bold":"Dikgedrukt","components.controls.inline.italic":"Schuingedrukt","components.controls.inline.underline":"Onderstrepen","components.controls.inline.strikethrough":"Doorstrepen","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Superscript","components.controls.inline.subscript":"Subscript","components.controls.link.linkTitle":"Linktitel","components.controls.link.linkTarget":"Link bestemming","components.controls.link.linkTargetOption":"Open link in een nieuw venster","components.controls.link.link":"Link","components.controls.link.unlink":"Unlink","components.controls.list.list":"Lijst","components.controls.list.unordered":"Ongeordend","components.controls.list.ordered":"Geordend","components.controls.list.indent":"Inspringen","components.controls.list.outdent":"Inspringen verkleinen","components.controls.remove.remove":"Verwijderen","components.controls.textalign.textalign":"Tekst uitlijnen","components.controls.textalign.left":"Links","components.controls.textalign.center":"Gecentreerd","components.controls.textalign.right":"Rechts","components.controls.textalign.justify":"Uitgelijnd"},de:{"generic.add":"Hinzufügen","generic.cancel":"Abbrechen","components.controls.blocktype.h1":"Überschrift 1","components.controls.blocktype.h2":"Überschrift 2","components.controls.blocktype.h3":"Überschrift 3","components.controls.blocktype.h4":"Überschrift 4","components.controls.blocktype.h5":"Überschrift 5","components.controls.blocktype.h6":"Überschrift 6","components.controls.blocktype.blockquote":"Zitat","components.controls.blocktype.code":"Quellcode","components.controls.blocktype.blocktype":"Blocktyp","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Farbauswahl","components.controls.colorpicker.text":"Text","components.controls.colorpicker.background":"Hintergrund","components.controls.embedded.embedded":"Eingebettet","components.controls.embedded.embeddedlink":"Eingebetteter Link","components.controls.embedded.enterlink":"Link eingeben","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Schriftart","components.controls.fontsize.fontsize":"Schriftgröße","components.controls.history.history":"Historie","components.controls.history.undo":"Zurücknehmen","components.controls.history.redo":"Wiederholen","components.controls.image.image":"Bild","components.controls.image.fileUpload":"Datei-Upload","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Dateien ziehen und ablegen, oder klicken zum Hochladen","components.controls.inline.bold":"Fett","components.controls.inline.italic":"Kursiv","components.controls.inline.underline":"Unterstreichen","components.controls.inline.strikethrough":"Durchstreichen","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Hochgestellt","components.controls.inline.subscript":"Tiefgestellt","components.controls.link.linkTitle":"Link-Titel","components.controls.link.linkTarget":"Link-Ziel","components.controls.link.linkTargetOption":"Link in neuem Fenster öffnen","components.controls.link.link":"Link","components.controls.link.unlink":"Aufheben","components.controls.list.list":"Liste","components.controls.list.unordered":"Aufzählung","components.controls.list.ordered":"Nummerierte Liste","components.controls.list.indent":"Einzug vergrößern","components.controls.list.outdent":"Einzug reduzieren","components.controls.remove.remove":"Entfernen","components.controls.textalign.textalign":"Textausrichtung","components.controls.textalign.left":"Linksbündig","components.controls.textalign.center":"Zentrieren","components.controls.textalign.right":"Rechtsbündig","components.controls.textalign.justify":"Blocksatz"},da:{"generic.add":"Tilføj","generic.cancel":"Annuller","components.controls.blocktype.h1":"Overskrift 1","components.controls.blocktype.h2":"Overskrift 2","components.controls.blocktype.h3":"Overskrift 3","components.controls.blocktype.h4":"Overskrift 4","components.controls.blocktype.h5":"Overskrift 5","components.controls.blocktype.h6":"Overskrift 6","components.controls.blocktype.blockquote":"Blokcitat","components.controls.blocktype.code":"Kode","components.controls.blocktype.blocktype":"Blok Type","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Farver","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Baggrund","components.controls.embedded.embedded":"Indlejre","components.controls.embedded.embeddedlink":"Indlejre Link","components.controls.embedded.enterlink":"Indtast link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fonttype","components.controls.fontsize.fontsize":"Fontstørrelser","components.controls.history.history":"Historie","components.controls.history.undo":"Fortryd","components.controls.history.redo":"Gendan","components.controls.image.image":"Billede","components.controls.image.fileUpload":"Filoverførsel","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop filen eller klik for at uploade","components.controls.inline.bold":"Fed","components.controls.inline.italic":"Kursiv","components.controls.inline.underline":"Understrege","components.controls.inline.strikethrough":"Gennemstreget","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Hævet","components.controls.inline.subscript":"Sænket","components.controls.link.linkTitle":"Link Titel","components.controls.link.linkTarget":"Link Mål","components.controls.link.linkTargetOption":"Åbn link i nyt vindue","components.controls.link.link":"Link","components.controls.link.unlink":"Fjern link","components.controls.list.list":"Liste","components.controls.list.unordered":"Uordnet","components.controls.list.ordered":"Ordnet","components.controls.list.indent":"Indrykning","components.controls.list.outdent":"Udrykning","components.controls.remove.remove":"Fjern","components.controls.textalign.textalign":"Tekstjustering","components.controls.textalign.left":"Venstre","components.controls.textalign.center":"Center","components.controls.textalign.right":"Højre","components.controls.textalign.justify":"Margener"},zh_tw:{"generic.add":"新增","generic.cancel":"取消","components.controls.blocktype.h1":"標題1","components.controls.blocktype.h2":"標題2","components.controls.blocktype.h3":"標題3","components.controls.blocktype.h4":"標題4","components.controls.blocktype.h5":"標題5","components.controls.blocktype.h6":"標題6","components.controls.blocktype.blockquote":"引用","components.controls.blocktype.code":"程式碼","components.controls.blocktype.blocktype":"樣式","components.controls.blocktype.normal":"正文","components.controls.colorpicker.colorpicker":"選色器","components.controls.colorpicker.text":"文字","components.controls.colorpicker.background":"背景","components.controls.embedded.embedded":"內嵌","components.controls.embedded.embeddedlink":"內嵌網頁","components.controls.embedded.enterlink":"輸入網頁地址","components.controls.emoji.emoji":"表情符號","components.controls.fontfamily.fontfamily":"字體","components.controls.fontsize.fontsize":"字體大小","components.controls.history.history":"歷史紀錄","components.controls.history.undo":"復原","components.controls.history.redo":"重做","components.controls.image.image":"圖片","components.controls.image.fileUpload":"檔案上傳","components.controls.image.byURL":"網址","components.controls.image.dropFileText":"點擊或拖曳檔案上傳","components.controls.inline.bold":"粗體","components.controls.inline.italic":"斜體","components.controls.inline.underline":"底線","components.controls.inline.strikethrough":"刪除線","components.controls.inline.monospace":"等寬字體","components.controls.inline.superscript":"上標","components.controls.inline.subscript":"下標","components.controls.link.linkTitle":"超連結","components.controls.link.linkTarget":"輸入連結位址","components.controls.link.linkTargetOption":"在新視窗打開連結","components.controls.link.link":"連結","components.controls.link.unlink":"刪除連結","components.controls.list.list":"列表","components.controls.list.unordered":"項目符號","components.controls.list.ordered":"編號","components.controls.list.indent":"增加縮排","components.controls.list.outdent":"減少縮排","components.controls.remove.remove":"清除格式","components.controls.textalign.textalign":"文字對齊","components.controls.textalign.left":"文字向左對齊","components.controls.textalign.center":"文字置中","components.controls.textalign.right":"文字向右對齊","components.controls.textalign.justify":"兩端對齊"},pl:{"generic.add":"Dodaj","generic.cancel":"Anuluj","components.controls.blocktype.h1":"Nagłówek 1","components.controls.blocktype.h2":"Nagłówek 2","components.controls.blocktype.h3":"Nagłówek 3","components.controls.blocktype.h4":"Nagłówek 4","components.controls.blocktype.h5":"Nagłówek 5","components.controls.blocktype.h6":"Nagłówek 6","components.controls.blocktype.blockquote":"Cytat","components.controls.blocktype.code":"Kod","components.controls.blocktype.blocktype":"Format","components.controls.blocktype.normal":"Normalny","components.controls.colorpicker.colorpicker":"Kolor","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Tło","components.controls.embedded.embedded":"Osadź","components.controls.embedded.embeddedlink":"Osadź odnośnik","components.controls.embedded.enterlink":"Wprowadź odnośnik","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Krój czcionki","components.controls.fontsize.fontsize":"Rozmiar czcionki","components.controls.history.history":"Historia","components.controls.history.undo":"Cofnij","components.controls.history.redo":"Ponów","components.controls.image.image":"Obrazek","components.controls.image.fileUpload":"Prześlij plik","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Upuść plik lub kliknij, aby przesłać","components.controls.inline.bold":"Pogrubienie","components.controls.inline.italic":"Kursywa","components.controls.inline.underline":"Podkreślenie","components.controls.inline.strikethrough":"Przekreślenie","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Indeks górny","components.controls.inline.subscript":"Indeks dolny","components.controls.link.linkTitle":"Tytuł odnośnika","components.controls.link.linkTarget":"Adres odnośnika","components.controls.link.linkTargetOption":"Otwórz odnośnik w nowej karcie","components.controls.link.link":"Wstaw odnośnik","components.controls.link.unlink":"Usuń odnośnik","components.controls.list.list":"Lista","components.controls.list.unordered":"Lista nieuporządkowana","components.controls.list.ordered":"Lista uporządkowana","components.controls.list.indent":"Zwiększ wcięcie","components.controls.list.outdent":"Zmniejsz wcięcie","components.controls.remove.remove":"Usuń","components.controls.textalign.textalign":"Wyrównaj tekst","components.controls.textalign.left":"Do lewej","components.controls.textalign.center":"Do środka","components.controls.textalign.right":"Do prawej","components.controls.textalign.justify":"Wyjustuj"},es:{"generic.add":"Añadir","generic.cancel":"Cancelar","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Código","components.controls.blocktype.blocktype":"Tipo de bloque","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Seleccionar color","components.controls.colorpicker.text":"Texto","components.controls.colorpicker.background":"Subrayado","components.controls.embedded.embedded":"Adjuntar","components.controls.embedded.embeddedlink":"Adjuntar Link","components.controls.embedded.enterlink":"Introducir link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fuente","components.controls.fontsize.fontsize":"Tamaño de fuente","components.controls.history.history":"Histórico","components.controls.history.undo":"Deshacer","components.controls.history.redo":"Rehacer","components.controls.image.image":"Imagen","components.controls.image.fileUpload":"Subir archivo","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Arrastra el archivo o haz click para subirlo","components.controls.inline.bold":"Negrita","components.controls.inline.italic":"Cursiva","components.controls.inline.underline":"Subrayado","components.controls.inline.strikethrough":"Tachado","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Sobreíndice","components.controls.inline.subscript":"Subíndice","components.controls.link.linkTitle":"Título del enlace","components.controls.link.linkTarget":"Objetivo del enlace","components.controls.link.linkTargetOption":"Abrir en nueva ventana","components.controls.link.link":"Enlazar","components.controls.link.unlink":"Desenlazar","components.controls.list.list":"Lista","components.controls.list.unordered":"Desordenada","components.controls.list.ordered":"Ordenada","components.controls.list.indent":"Indentada","components.controls.list.outdent":"Dentada","components.controls.remove.remove":"Eliminar","components.controls.textalign.textalign":"Alineación del texto","components.controls.textalign.left":"Izquierda","components.controls.textalign.center":"Centrado","components.controls.textalign.right":"Derecha","components.controls.textalign.justify":"Justificado"},ja:{"generic.add":"追加","generic.cancel":"キャンセル","components.controls.blocktype.h1":"見出し1","components.controls.blocktype.h2":"見出し2","components.controls.blocktype.h3":"見出し3","components.controls.blocktype.h4":"見出し4","components.controls.blocktype.h5":"見出し5","components.controls.blocktype.h6":"見出し6","components.controls.blocktype.blockquote":"引用","components.controls.blocktype.code":"コード","components.controls.blocktype.blocktype":"スタイル","components.controls.blocktype.normal":"標準テキスト","components.controls.colorpicker.colorpicker":"テキストの色","components.controls.colorpicker.text":"テキスト","components.controls.colorpicker.background":"ハイライト","components.controls.embedded.embedded":"埋め込み","components.controls.embedded.embeddedlink":"埋め込みリンク","components.controls.embedded.enterlink":"リンクを入力してください","components.controls.emoji.emoji":"絵文字","components.controls.fontfamily.fontfamily":"フォント","components.controls.fontsize.fontsize":"フォントサイズ","components.controls.history.history":"履歴","components.controls.history.undo":"元に戻す","components.controls.history.redo":"やり直し","components.controls.image.image":"画像","components.controls.image.fileUpload":"ファイルをアップロード","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"ここに画像をドラッグするか、クリックしてください","components.controls.inline.bold":"太字","components.controls.inline.italic":"斜体","components.controls.inline.underline":"下線","components.controls.inline.strikethrough":"取り消し線","components.controls.inline.monospace":"等幅フォント","components.controls.inline.superscript":"上付き文字","components.controls.inline.subscript":"下付き文字","components.controls.link.linkTitle":"リンクタイトル","components.controls.link.linkTarget":"リンク対象","components.controls.link.linkTargetOption":"新しいウィンドウで開く","components.controls.link.link":"リンク","components.controls.link.unlink":"リンクを解除","components.controls.list.list":"リスト","components.controls.list.unordered":"箇条書き","components.controls.list.ordered":"番号付き","components.controls.list.indent":"インデント増","components.controls.list.outdent":"インデント減","components.controls.remove.remove":"書式をクリア","components.controls.textalign.textalign":"整列","components.controls.textalign.left":"左揃え","components.controls.textalign.center":"中央揃え","components.controls.textalign.right":"右揃え","components.controls.textalign.justify":"両端揃え"}};function er(t){return(er="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nr(){return(nr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function rr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function or(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?rr(Object(n),!0).forEach((function(e){ir(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):rr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ir(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ar(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function sr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function cr(t){return(cr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ur(t,e){return(ur=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(38),n(39);var lr=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==er(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,cr(t).call(this,e))).onEditorBlur=function(){n.setState({editorFocused:!1})},n.onEditorFocus=function(t){var e=n.props.onFocus;n.setState({editorFocused:!0});var r=n.focusHandler.isEditorFocused();e&&r&&e(t)},n.onEditorMouseDown=function(){n.focusHandler.onEditorMouseDown()},n.keyBindingFn=function(t){if("Tab"!==t.key)return"ArrowUp"!==t.key&&"ArrowDown"!==t.key||v()&&t.preventDefault(),Object(s.getDefaultKeyBinding)(t);var e=n.props.onTab;if(!e||!e(t)){var r=Object(c.changeDepth)(n.state.editorState,t.shiftKey?-1:1,4);r&&r!==n.state.editorState&&(n.onChange(r),t.preventDefault())}return null},n.onToolbarFocus=function(t){var e=n.props.onFocus;e&&n.focusHandler.isToolbarFocused()&&e(t)},n.onWrapperBlur=function(t){var e=n.props.onBlur;e&&n.focusHandler.isEditorBlur(t)&&e(t,n.getEditorState())},n.onChange=function(t){var e=n.props,r=e.readOnly,o=e.onEditorStateChange;r||"atomic"===Object(c.getSelectedBlocksType)(t)&&t.getSelection().isCollapsed||(o&&o(t,n.props.wrapperId),S(n.props,"editorState")?n.afterChange(t):n.setState({editorState:t},n.afterChange(t)))},n.setWrapperReference=function(t){n.wrapper=t},n.setEditorReference=function(t){n.props.editorRef&&n.props.editorRef(t),n.editor=t},n.getCompositeDecorator=function(t){var e=[].concat(ar(n.props.customDecorators),[{strategy:Tn,component:zn({showOpenOptionOnHover:t.link.showOpenOptionOnHover})}]);return n.props.mention&&e.push.apply(e,ar(function(t){return[new Pn(t.mentionClassName).getMentionDecorator(),new qn(t).getSuggestionDecorator()]}(or({},n.props.mention,{onChange:n.onChange,getEditorState:n.getEditorState,getSuggestions:n.getSuggestions,getWrapperRef:n.getWrapperRef,modalHandler:n.modalHandler})))),n.props.hashtag&&e.push(function(t){return new Yn(t).getHashtagDecorator()}(n.props.hashtag)),new s.CompositeDecorator(e)},n.getWrapperRef=function(){return n.wrapper},n.getEditorState=function(){return n.state?n.state.editorState:null},n.getSuggestions=function(){return n.props.mention&&n.props.mention.suggestions},n.afterChange=function(t){setTimeout((function(){var e=n.props,r=e.onChange,o=e.onContentStateChange;r&&r(Object(s.convertToRaw)(t.getCurrentContent())),o&&o(Object(s.convertToRaw)(t.getCurrentContent()))}))},n.isReadOnly=function(){return n.props.readOnly},n.isImageAlignmentEnabled=function(){return n.state.toolbar.image.alignmentEnabled},n.createEditorState=function(t){var e;if(S(n.props,"editorState"))n.props.editorState&&(e=s.EditorState.set(n.props.editorState,{decorator:t}));else if(S(n.props,"defaultEditorState"))n.props.defaultEditorState&&(e=s.EditorState.set(n.props.defaultEditorState,{decorator:t}));else if(S(n.props,"contentState")){if(n.props.contentState){var r=Object(s.convertFromRaw)(n.props.contentState);e=s.EditorState.createWithContent(r,t),e=s.EditorState.moveSelectionToEnd(e)}}else if(S(n.props,"defaultContentState")||S(n.props,"initialContentState")){var o=n.props.defaultContentState||n.props.initialContentState;o&&(o=Object(s.convertFromRaw)(o),e=s.EditorState.createWithContent(o,t),e=s.EditorState.moveSelectionToEnd(e))}return e||s.EditorState.createEmpty(t)},n.filterEditorProps=function(t){return e=t,n=["onChange","onEditorStateChange","onContentStateChange","initialContentState","defaultContentState","contentState","editorState","defaultEditorState","locale","localization","toolbarOnFocus","toolbar","toolbarCustomButtons","toolbarClassName","editorClassName","toolbarHidden","wrapperClassName","toolbarStyle","editorStyle","wrapperStyle","uploadCallback","onFocus","onBlur","onTab","mention","hashtag","ariaLabel","customBlockRenderFunc","customDecorators","handlePastedText","customStyleMap"],r=Object.keys(e).filter((function(t){return n.indexOf(t)<0})),o={},r&&0<r.length&&r.forEach((function(t){o[t]=e[t]})),o;var e,n,r,o},n.getStyleMap=function(t){return or({},Object(c.getCustomStyleMap)(),{},t.customStyleMap)},n.changeEditorState=function(t){var e=Object(s.convertFromRaw)(t),r=n.state.editorState;return r=s.EditorState.push(r,e,"insert-characters"),s.EditorState.moveSelectionToEnd(r)},n.focusEditor=function(){setTimeout((function(){n.editor.focus()}))},n.handleKeyCommand=function(t){var e=n.state,r=e.editorState,o=e.toolbar.inline;if(o&&0<=o.options.indexOf(t)){var i=s.RichUtils.handleKeyCommand(r,t);if(i)return n.onChange(i),!0}return!1},n.handleReturn=function(t){if(v())return!0;var e=n.state.editorState,r=Object(c.handleNewLine)(e,t);return!!r&&(n.onChange(r),!0)},n.handlePastedTextFn=function(t,e){var r=n.state.editorState,o=n.props,i=o.handlePastedText,a=o.stripPastedStyles;return i?i(t,e,r,n.onChange):!a&&function(t,e,n,r){var o=Object(c.getSelectedBlock)(n);if(o&&"code"===o.type){var i=s.Modifier.replaceText(n.getCurrentContent(),n.getSelection(),t,n.getCurrentInlineStyle());return r(s.EditorState.push(n,i,"insert-characters")),!0}if(e){var a=x()(e),u=n.getCurrentContent();return a.entityMap.forEach((function(t,e){u=u.mergeEntityData(e,t)})),u=s.Modifier.replaceWithFragment(u,n.getSelection(),new j.List(a.contentBlocks)),r(s.EditorState.push(n,u,"insert-characters")),!0}return!1}(t,e,r,n.onChange)},n.preventDefault=function(t){"INPUT"===t.target.tagName||"LABEL"===t.target.tagName||"TEXTAREA"===t.target.tagName?n.focusHandler.onInputMouseDown():t.preventDefault()};var r=E($n,e.toolbar),o=e.wrapperId?e.wrapperId:Math.floor(1e4*Math.random());n.wrapperId="rdw-wrapper-".concat(o),n.modalHandler=new p,n.focusHandler=new f,n.blockRendererFn=function(t,e){return function(n){if("function"==typeof e){var r=e(n,t,t.getEditorState);if(r)return r}if("atomic"===n.getType()){var o=t.getEditorState().getCurrentContent().getEntity(n.getEntityAt(0));if(o&&"IMAGE"===o.type)return{component:Xn(t),editable:!1};if(o&&"EMBEDDED_LINK"===o.type)return{component:Qn,editable:!1}}}}({isReadOnly:n.isReadOnly,isImageAlignmentEnabled:n.isImageAlignmentEnabled,getEditorState:n.getEditorState,onChange:n.onChange},e.customBlockRenderFunc),n.editorProps=n.filterEditorProps(e),n.customStyleMap=n.getStyleMap(e),n.compositeDecorator=n.getCompositeDecorator(r);var i=n.createEditorState(n.compositeDecorator);return Object(c.extractInlineStyle)(i),n.state={editorState:i,editorFocused:!1,toolbar:r},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ur(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){this.modalHandler.init(this.wrapperId)}},{key:"componentDidUpdate",value:function(t){if(t!==this.props){var e={},n=this.props,r=n.editorState,o=n.contentState;if(!this.state.toolbar){var i=E($n,i);e.toolbar=i}if(S(this.props,"editorState")&&r!==t.editorState)e.editorState=r?s.EditorState.set(r,{decorator:this.compositeDecorator}):s.EditorState.createEmpty(this.compositeDecorator);else if(S(this.props,"contentState")&&o!==t.contentState)if(o){var a=this.changeEditorState(o);a&&(e.editorState=a)}else e.editorState=s.EditorState.createEmpty(this.compositeDecorator);t.editorState===r&&t.contentState===o||Object(c.extractInlineStyle)(e.editorState),Object.keys(e).length&&this.setState(e),this.editorProps=this.filterEditorProps(this.props),this.customStyleMap=this.getStyleMap(this.props)}}},{key:"render",value:function(){var t=this.state,e=t.editorState,n=t.editorFocused,r=t.toolbar,i=this.props,a=i.locale,u=i.localization,p=u.locale,f=u.translations,d=i.toolbarCustomButtons,h=i.toolbarOnFocus,y=i.toolbarClassName,m=i.toolbarHidden,v=i.editorClassName,_=i.wrapperClassName,S=i.toolbarStyle,w=i.editorStyle,M=i.wrapperStyle,E=i.uploadCallback,k=i.ariaLabel,x={modalHandler:this.modalHandler,editorState:e,onChange:this.onChange,translations:or({},tr[a||p],{},f)},j=n||this.focusHandler.isInputFocused()||!h;return o.a.createElement("div",{id:this.wrapperId,className:l()(_,"rdw-editor-wrapper"),style:M,onClick:this.modalHandler.onEditorClick,onBlur:this.onWrapperBlur,"aria-label":"rdw-wrapper"},!m&&o.a.createElement("div",{className:l()("rdw-editor-toolbar",y),style:or({visibility:j?"visible":"hidden"},S),onMouseDown:this.preventDefault,"aria-label":"rdw-toolbar","aria-hidden":(!n&&h).toString(),onFocus:this.onToolbarFocus},r.options.map((function(t,e){var n=On[t],i=r[t];return"image"===t&&E&&(i.uploadCallback=E),o.a.createElement(n,nr({key:e},x,{config:i}))})),d&&d.map((function(t,e){return o.a.cloneElement(t,or({key:e},x))}))),o.a.createElement("div",{ref:this.setWrapperReference,className:l()(v,"rdw-editor-main"),style:w,onClick:this.focusEditor,onFocus:this.onEditorFocus,onBlur:this.onEditorBlur,onKeyDown:g.onKeyDown,onMouseDown:this.onEditorMouseDown},o.a.createElement(s.Editor,nr({ref:this.setEditorReference,keyBindingFn:this.keyBindingFn,editorState:e,onChange:this.onChange,blockStyleFn:b,customStyleMap:this.getStyleMap(this.props),handleReturn:this.handleReturn,handlePastedText:this.handlePastedTextFn,blockRendererFn:this.blockRendererFn,handleKeyCommand:this.handleKeyCommand,ariaLabel:k||"rdw-editor",blockRenderMap:c.blockRenderMap},this.editorProps))))}}])&&sr(e.prototype,n),t}();lr.propTypes={onChange:a.a.func,onEditorStateChange:a.a.func,onContentStateChange:a.a.func,initialContentState:a.a.object,defaultContentState:a.a.object,contentState:a.a.object,editorState:a.a.object,defaultEditorState:a.a.object,toolbarOnFocus:a.a.bool,spellCheck:a.a.bool,stripPastedStyles:a.a.bool,toolbar:a.a.object,toolbarCustomButtons:a.a.array,toolbarClassName:a.a.string,toolbarHidden:a.a.bool,locale:a.a.string,localization:a.a.object,editorClassName:a.a.string,wrapperClassName:a.a.string,toolbarStyle:a.a.object,editorStyle:a.a.object,wrapperStyle:a.a.object,uploadCallback:a.a.func,onFocus:a.a.func,onBlur:a.a.func,onTab:a.a.func,mention:a.a.object,hashtag:a.a.object,textAlignment:a.a.string,readOnly:a.a.bool,tabIndex:a.a.number,placeholder:a.a.string,ariaLabel:a.a.string,ariaOwneeID:a.a.string,ariaActiveDescendantID:a.a.string,ariaAutoComplete:a.a.string,ariaDescribedBy:a.a.string,ariaExpanded:a.a.string,ariaHasPopup:a.a.string,customBlockRenderFunc:a.a.func,wrapperId:a.a.number,customDecorators:a.a.array,editorRef:a.a.func,handlePastedText:a.a.func},lr.defaultProps={toolbarOnFocus:!1,toolbarHidden:!1,stripPastedStyles:!1,localization:{locale:"en",translations:{}},customDecorators:[]};var pr=lr;n.d(e,"Editor",(function(){return pr}))}],r.c=i,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=8);function r(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{}};return o[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var o,i}(n(1024),n(6880),n(11203))},56108:(t,e,n)=>{"use strict";n.d(e,{Z:()=>g});var r=n(20011),o=n(66017),i=n(1024);const a=i.useLayoutEffect;var s=function(t,e){"function"!=typeof t?t.current=e:t(e)};var c={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},u=function(t){Object.keys(c).forEach((function(e){t.style.setProperty(e,c[e],"important")}))},l=null,p=function(){},f=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width"],d=!!document.documentElement.currentStyle,h=function(t,e){var n=t.cacheMeasurements,c=t.maxRows,h=t.minRows,g=t.onChange,y=void 0===g?p:g,m=t.onHeightChange,v=void 0===m?p:m,b=(0,o.Z)(t,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]),_=void 0!==b.value,S=(0,i.useRef)(null),w=function(t,e){var n=(0,i.useRef)();return(0,i.useCallback)((function(r){t.current=r,n.current&&s(n.current,null),n.current=e,e&&s(e,r)}),[e])}(S,e),M=(0,i.useRef)(0),E=(0,i.useRef)(),k=function(){var t=S.current,e=n&&E.current?E.current:function(t){var e=window.getComputedStyle(t);if(null===e)return null;var n,r=(n=e,f.reduce((function(t,e){return t[e]=n[e],t}),{})),o=r.boxSizing;return""===o?null:(d&&"border-box"===o&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px"),{sizingStyle:r,paddingSize:parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),borderSize:parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth)})}(t);if(e){E.current=e;var r=function(t,e,n,r){void 0===n&&(n=1),void 0===r&&(r=1/0),l||((l=document.createElement("textarea")).setAttribute("tab-index","-1"),l.setAttribute("aria-hidden","true"),u(l)),null===l.parentNode&&document.body.appendChild(l);var o=t.paddingSize,i=t.borderSize,a=t.sizingStyle,s=a.boxSizing;Object.keys(a).forEach((function(t){var e=t;l.style[e]=a[e]})),u(l),l.value=e;var c=function(t,e){var n=t.scrollHeight;return"border-box"===e.sizingStyle.boxSizing?n+e.borderSize:n-e.paddingSize}(l,t);l.value="x";var p=l.scrollHeight-o,f=p*n;"border-box"===s&&(f=f+o+i),c=Math.max(f,c);var d=p*r;return"border-box"===s&&(d=d+o+i),[c=Math.min(d,c),p]}(e,t.value||t.placeholder||"x",h,c),o=r[0],i=r[1];M.current!==o&&(M.current=o,t.style.setProperty("height",o+"px","important"),v(o,{rowHeight:i}))}};return(0,i.useLayoutEffect)(k),function(t){var e,n,r=(e=t,n=i.useRef(e),a((function(){n.current=e})),n);(0,i.useLayoutEffect)((function(){var t=function(t){r.current(t)};return window.addEventListener("resize",t),function(){window.removeEventListener("resize",t)}}),[])}(k),(0,i.createElement)("textarea",(0,r.Z)({},b,{onChange:function(t){_||k(),y(t)},ref:w}))};const g=(0,i.forwardRef)(h)},67257:function(t,e,n){!function(t,e){"use strict";if(!t.setImmediate){var n,r,o,i,a,s=1,c={},u=!1,l=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?n=function(t){process.nextTick((function(){d(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?(i="setImmediate$"+Math.random()+"$",a=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(i)&&d(+e.data.slice(i.length))},t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a),n=function(e){t.postMessage(i+e,"*")}):t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){d(t.data)},n=function(t){o.port2.postMessage(t)}):l&&"onreadystatechange"in l.createElement("script")?(r=l.documentElement,n=function(t){var e=l.createElement("script");e.onreadystatechange=function(){d(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):n=function(t){setTimeout(d,0,t)},p.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),r=0;r<e.length;r++)e[r]=arguments[r+1];var o={callback:t,args:e};return c[s]=o,n(s),s++},p.clearImmediate=f}function f(t){delete c[t]}function d(t){if(u)setTimeout(d,0,t);else{var e=c[t];if(e){u=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(undefined,n)}}(e)}finally{f(t),u=!1}}}}}("undefined"==typeof self?void 0===n.g?this:n.g:self)},4234:(t,e,n)=>{"use strict";n.d(e,{Z:()=>j});var r=n(1024),o=n.n(r),i=n(60216),a=n.n(i),s=(n(15296),n(94386),n(48868),n(96609),n(92274),n(68268),n(81874),n(31341),n(54861),n(50200)),c=n.n(s),u=n(40001),l=n.n(u),p=n(98511),f=n.n(p),d=n(54006),h=n(15206),g=n.n(h),y=(n(82937),n(66403),n(42295),n(52963),n(34994),null),m=null;function v(){if(null===y){if("undefined"==typeof document)return y=0;var t=document.body,e=document.createElement("div");e.classList.add("simplebar-hide-scrollbar"),t.appendChild(e);var n=e.getBoundingClientRect().right;t.removeChild(e),y=n}return y}function b(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}function _(t){return t&&t.ownerDocument?t.ownerDocument:document}g()&&window.addEventListener("resize",(function(){m!==window.devicePixelRatio&&(m=window.devicePixelRatio,y=null)}));var S=function(){function t(e,n){var r=this;this.onScroll=function(){var t=b(r.el);r.scrollXTicking||(t.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(t.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0)},this.scrollX=function(){r.axis.x.isOverflowing&&(r.showScrollbar("x"),r.positionScrollbar("x")),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&(r.showScrollbar("y"),r.positionScrollbar("y")),r.scrollYTicking=!1},this.onMouseEnter=function(){r.showScrollbar("x"),r.showScrollbar("y")},this.onMouseMove=function(t){r.mouseX=t.clientX,r.mouseY=t.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this.onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.hideScrollbars=function(){r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.track.rect)||(r.axis.y.scrollbar.el.classList.remove(r.classNames.visible),r.axis.y.isVisible=!1),r.isWithinBounds(r.axis.x.track.rect)||(r.axis.x.scrollbar.el.classList.remove(r.classNames.visible),r.axis.x.isVisible=!1)},this.onPointerEvent=function(t){var e,n;r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(e=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(n=r.isWithinBounds(r.axis.y.track.rect)),(e||n)&&(t.preventDefault(),t.stopPropagation(),"mousedown"===t.type&&(e&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(t,"x"):r.onTrackClick(t,"x")),n&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(t,"y"):r.onTrackClick(t,"y"))))},this.drag=function(e){var n=r.axis[r.draggedAxis].track,o=n.rect[r.axis[r.draggedAxis].sizeAttr],i=r.axis[r.draggedAxis].scrollbar,a=r.contentWrapperEl[r.axis[r.draggedAxis].scrollSizeAttr],s=parseInt(r.elStyles[r.axis[r.draggedAxis].sizeAttr],10);e.preventDefault(),e.stopPropagation();var c=(("y"===r.draggedAxis?e.pageY:e.pageX)-n.rect[r.axis[r.draggedAxis].offsetAttr]-r.axis[r.draggedAxis].dragOffset)/(o-i.size)*(a-s);"x"===r.draggedAxis&&(c=r.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c-(o+i.size):c,c=r.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-c:c),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=c},this.onEndDrag=function(t){var e=_(r.el),n=b(r.el);t.preventDefault(),t.stopPropagation(),r.el.classList.remove(r.classNames.dragging),e.removeEventListener("mousemove",r.drag,!0),e.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=n.setTimeout((function(){e.removeEventListener("click",r.preventClick,!0),e.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null}))},this.preventClick=function(t){t.preventDefault(),t.stopPropagation()},this.el=e,this.minScrollbarWidth=20,this.options=Object.assign({},t.defaultOptions,{},n),this.classNames=Object.assign({},t.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,t.instances.has(this.el)||(this.recalculate=c()(this.recalculate.bind(this),64),this.onMouseMove=c()(this.onMouseMove.bind(this),64),this.hideScrollbars=l()(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=l()(this.onWindowResize.bind(this),64,{leading:!0}),t.getRtlHelpers=f()(t.getRtlHelpers),this.init())}t.getRtlHelpers=function(){var e=document.createElement("div");e.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var n=e.firstElementChild;document.body.appendChild(n);var r=n.firstElementChild;n.scrollLeft=0;var o=t.getOffset(n),i=t.getOffset(r);n.scrollLeft=999;var a=t.getOffset(r);return{isRtlScrollingInverted:o.left!==i.left&&i.left-a.left!=0,isRtlScrollbarInverted:o.left!==i.left}},t.getOffset=function(t){var e=t.getBoundingClientRect(),n=_(t),r=b(t);return{top:e.top+(r.pageYOffset||n.documentElement.scrollTop),left:e.left+(r.pageXOffset||n.documentElement.scrollLeft)}};var e=t.prototype;return e.init=function(){t.instances.set(this.el,this),g()&&(this.initDOM(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.initDOM=function(){var t=this;if(Array.prototype.filter.call(this.el.children,(function(e){return e.classList.contains(t.classNames.wrapper)})).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var e=document.createElement("div"),n=document.createElement("div");e.classList.add(this.classNames.track),n.classList.add(this.classNames.scrollbar),e.appendChild(n),this.axis.x.track.el=e.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=e.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},e.initListeners=function(){var t=this,e=b(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(e){t.el.addEventListener(e,t.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(e){t.el.addEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})})),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),e.addEventListener("resize",this.onWindowResize);var n=!1,r=e.ResizeObserver||d.Z;this.resizeObserver=new r((function(){n&&t.recalculate()})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),e.requestAnimationFrame((function(){n=!0})),this.mutationObserver=new e.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},e.recalculate=function(){var t=b(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var e=this.heightAutoObserverEl.offsetHeight<=1,n=this.heightAutoObserverEl.offsetWidth<=1,r=this.contentEl.offsetWidth,o=this.contentWrapperEl.offsetWidth,i=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var s=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=e?"auto":"100%",this.placeholderEl.style.width=n?r+"px":"auto",this.placeholderEl.style.height=s+"px";var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=c>r,this.axis.y.isOverflowing=s>u,this.axis.x.isOverflowing="hidden"!==i&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var l=this.axis.x.isOverflowing?this.scrollbarWidth:0,p=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>o-p,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&s>u-l,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},e.getScrollbarSize=function(t){if(void 0===t&&(t="y"),!this.axis[t].isOverflowing)return 0;var e,n=this.contentEl[this.axis[t].scrollSizeAttr],r=this.axis[t].track.el[this.axis[t].offsetSizeAttr],o=r/n;return e=Math.max(~~(o*r),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(e=Math.min(e,this.options.scrollbarMaxSize)),e},e.positionScrollbar=function(e){if(void 0===e&&(e="y"),this.axis[e].isOverflowing){var n=this.contentWrapperEl[this.axis[e].scrollSizeAttr],r=this.axis[e].track.el[this.axis[e].offsetSizeAttr],o=parseInt(this.elStyles[this.axis[e].sizeAttr],10),i=this.axis[e].scrollbar,a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],s=(a="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-a:a)/(n-o),c=~~((r-i.size)*s);c="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c+(r-i.size):c,i.el.style.transform="x"===e?"translate3d("+c+"px, 0, 0)":"translate3d(0, "+c+"px, 0)"}},e.toggleTrackVisibility=function(t){void 0===t&&(t="y");var e=this.axis[t].track.el,n=this.axis[t].scrollbar.el;this.axis[t].isOverflowing||this.axis[t].forceVisible?(e.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll"):(e.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden"),this.axis[t].isOverflowing?n.style.display="block":n.style.display="none"},e.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},e.onMouseMoveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.rect=this.axis[t].track.el.getBoundingClientRect(),this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[t].scrollbar.rect)?this.axis[t].scrollbar.el.classList.add(this.classNames.hover):this.axis[t].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[t].track.rect)?(this.showScrollbar(t),this.axis[t].track.el.classList.add(this.classNames.hover)):this.axis[t].track.el.classList.remove(this.classNames.hover)},e.onMouseLeaveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.el.classList.remove(this.classNames.hover),this.axis[t].scrollbar.el.classList.remove(this.classNames.hover)},e.showScrollbar=function(t){void 0===t&&(t="y");var e=this.axis[t].scrollbar.el;this.axis[t].isVisible||(e.classList.add(this.classNames.visible),this.axis[t].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},e.onDragStart=function(t,e){void 0===e&&(e="y");var n=_(this.el),r=b(this.el),o=this.axis[e].scrollbar,i="y"===e?t.pageY:t.pageX;this.axis[e].dragOffset=i-o.rect[this.axis[e].offsetAttr],this.draggedAxis=e,this.el.classList.add(this.classNames.dragging),n.addEventListener("mousemove",this.drag,!0),n.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(n.addEventListener("click",this.preventClick,!0),n.addEventListener("dblclick",this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.onTrackClick=function(t,e){var n=this;if(void 0===e&&(e="y"),this.options.clickOnTrack){var r=b(this.el);this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect();var o=this.axis[e].scrollbar.rect[this.axis[e].offsetAttr],i=parseInt(this.elStyles[this.axis[e].sizeAttr],10),a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],s=("y"===e?this.mouseY-o:this.mouseX-o)<0?-1:1,c=-1===s?a-i:a+i;!function t(){var o,i;-1===s?a>c&&(a-=n.options.clickOnTrackSpeed,n.contentWrapperEl.scrollTo(((o={})[n.axis[e].offsetAttr]=a,o)),r.requestAnimationFrame(t)):a<c&&(a+=n.options.clickOnTrackSpeed,n.contentWrapperEl.scrollTo(((i={})[n.axis[e].offsetAttr]=a,i)),r.requestAnimationFrame(t))}()}},e.getContentElement=function(){return this.contentEl},e.getScrollElement=function(){return this.contentWrapperEl},e.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:v()}catch(t){return v()}},e.removeListeners=function(){var t=this,e=b(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(e){t.el.removeEventListener(e,t.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(e){t.el.removeEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})})),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},e.unMount=function(){this.removeListeners(),t.instances.delete(this.el)},e.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.findChild=function(t,e){var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,(function(t){return n.call(t,e)}))[0]},t}();S.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},S.instances=new WeakMap;const w=S;function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function E(){return E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},E.apply(this,arguments)}function k(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var x=o().forwardRef((function(t,e){var n,i=t.children,a=t.scrollableNodeProps,s=void 0===a?{}:a,c=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,["children","scrollableNodeProps"]),u=(0,r.useRef)(),l=(0,r.useRef)(),p=(0,r.useRef)(),f={},d={},h=[];return Object.keys(c).forEach((function(t){Object.prototype.hasOwnProperty.call(w.defaultOptions,t)?f[t]=c[t]:t.match(/data-simplebar-(.+)/)&&"data-simplebar-direction"!==t?h.push({name:t,value:c[t]}):d[t]=c[t]})),h.length&&console.warn("simplebar-react: this way of passing options is deprecated. Pass it like normal props instead:\n 'data-simplebar-auto-hide=\"false\"' —> 'autoHide=\"false\"'\n "),(0,r.useEffect)((function(){var t;return u=s.ref||u,l.current&&(n=new w(l.current,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?k(n,!0).forEach((function(e){M(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):k(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(t=h,Array.prototype.reduce.call(t,(function(t,e){var n=e.name.match(/data-simplebar-(.+)/);if(n){var r=n[1].replace(/\W+(.)/g,(function(t,e){return e.toUpperCase()}));switch(e.value){case"true":t[r]=!0;break;case"false":t[r]=!1;break;case void 0:t[r]=!0;break;default:t[r]=e.value}}return t}),{})),{},f,{},u&&{scrollableNode:u.current},{},p.current&&{contentNode:p.current})),e&&(e.current=n)),function(){n.unMount(),n=null}}),[]),o().createElement("div",E({ref:l,"data-simplebar":!0},d),o().createElement("div",{className:"simplebar-wrapper"},o().createElement("div",{className:"simplebar-height-auto-observer-wrapper"},o().createElement("div",{className:"simplebar-height-auto-observer"})),o().createElement("div",{className:"simplebar-mask"},o().createElement("div",{className:"simplebar-offset"},"function"==typeof i?i({scrollableNodeRef:u,contentNodeRef:p}):o().createElement("div",E({},s,{className:"simplebar-content-wrapper".concat(s.className?" ".concat(s.className):"")}),o().createElement("div",{className:"simplebar-content"},i)))),o().createElement("div",{className:"simplebar-placeholder"})),o().createElement("div",{className:"simplebar-track simplebar-horizontal"},o().createElement("div",{className:"simplebar-scrollbar"})),o().createElement("div",{className:"simplebar-track simplebar-vertical"},o().createElement("div",{className:"simplebar-scrollbar"})))}));x.displayName="SimpleBar",x.propTypes={children:a().oneOfType([a().node,a().func]),scrollableNodeProps:a().object};const j=x},52423:function(t,e,n){var r;!function(o,i){"use strict";var a="function",s="undefined",c="object",u="string",l="major",p="model",f="name",d="type",h="vendor",g="version",y="architecture",m="console",v="mobile",b="tablet",_="smarttv",S="wearable",w="embedded",M="Amazon",E="Apple",k="ASUS",x="BlackBerry",j="Browser",C="Chrome",D="Firefox",O="Google",I="Huawei",L="LG",N="Microsoft",A="Motorola",T="Opera",z="Samsung",R="Sharp",P="Sony",B="Xiaomi",U="Zebra",F="Facebook",K="Chromium OS",H="Mac OS",q=function(t){for(var e={},n=0;n<t.length;n++)e[t[n].toUpperCase()]=t[n];return e},Y=function(t,e){return typeof t===u&&-1!==W(e).indexOf(W(t))},W=function(t){return t.toLowerCase()},Q=function(t,e){if(typeof t===u)return t=t.replace(/^\s\s*/,""),typeof e===s?t:t.substring(0,350)},Z=function(t,e){for(var n,r,o,s,u,l,p=0;p<e.length&&!u;){var f=e[p],d=e[p+1];for(n=r=0;n<f.length&&!u&&f[n];)if(u=f[n++].exec(t))for(o=0;o<d.length;o++)l=u[++r],typeof(s=d[o])===c&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):i:this[s[0]]=l?s[1].call(this,l,s[2]):i:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):i):this[s]=l||i;p+=2}},V=function(t,e){for(var n in e)if(typeof e[n]===c&&e[n].length>0){for(var r=0;r<e[n].length;r++)if(Y(e[n][r],t))return"?"===n?i:n}else if(Y(e[n],t))return"?"===n?i:n;return t},G={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},J={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,g],[/opios[\/ ]+([\w\.]+)/i],[g,[f,T+" Mini"]],[/\bopr\/([\w\.]+)/i],[g,[f,T]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,g],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[f,"UC"+j]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[g,[f,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[g,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[f,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+j],g],[/\bfocus\/([\w\.]+)/i],[g,[f,D+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[f,T+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[f,T+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[f,"MIUI "+j]],[/fxios\/([-\w\.]+)/i],[g,[f,D]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360 "+j]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 "+j],g],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[f,g],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,F],g],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[g,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[f,C+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,C+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[f,"Android "+j]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[g,V,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[f,D+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[f,g],[/(cobalt)\/([\w\.]+)/i],[f,[g,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,W]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,"",W]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,W]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[p,[h,z],[d,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[p,[h,z],[d,v]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[p,[h,E],[d,v]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[p,[h,E],[d,b]],[/(macintosh);/i],[p,[h,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[p,[h,R],[d,v]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[p,[h,I],[d,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[p,[h,I],[d,v]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[p,/_/g," "],[h,B],[d,v]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[p,/_/g," "],[h,B],[d,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[p,[h,"OPPO"],[d,v]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[p,[h,"Vivo"],[d,v]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[p,[h,"Realme"],[d,v]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[p,[h,A],[d,v]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[p,[h,A],[d,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[p,[h,L],[d,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[p,[h,L],[d,v]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[p,[h,"Lenovo"],[d,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[p,/_/g," "],[h,"Nokia"],[d,v]],[/(pixel c)\b/i],[p,[h,O],[d,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[p,[h,O],[d,v]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[p,[h,P],[d,v]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[p,"Xperia Tablet"],[h,P],[d,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[p,[h,"OnePlus"],[d,v]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[p,[h,M],[d,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[p,/(.+)/g,"Fire Phone $1"],[h,M],[d,v]],[/(playbook);[-\w\),; ]+(rim)/i],[p,h,[d,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[p,[h,x],[d,v]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[p,[h,k],[d,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[p,[h,k],[d,v]],[/(nexus 9)/i],[p,[h,"HTC"],[d,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[p,/_/g," "],[d,v]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[p,[h,"Acer"],[d,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[p,[h,"Meizu"],[d,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,p,[d,v]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,p,[d,b]],[/(surface duo)/i],[p,[h,N],[d,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[p,[h,"Fairphone"],[d,v]],[/(u304aa)/i],[p,[h,"AT&T"],[d,v]],[/\bsie-(\w*)/i],[p,[h,"Siemens"],[d,v]],[/\b(rct\w+) b/i],[p,[h,"RCA"],[d,b]],[/\b(venue[\d ]{2,7}) b/i],[p,[h,"Dell"],[d,b]],[/\b(q(?:mv|ta)\w+) b/i],[p,[h,"Verizon"],[d,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[p,[h,"Barnes & Noble"],[d,b]],[/\b(tm\d{3}\w+) b/i],[p,[h,"NuVision"],[d,b]],[/\b(k88) b/i],[p,[h,"ZTE"],[d,b]],[/\b(nx\d{3}j) b/i],[p,[h,"ZTE"],[d,v]],[/\b(gen\d{3}) b.+49h/i],[p,[h,"Swiss"],[d,v]],[/\b(zur\d{3}) b/i],[p,[h,"Swiss"],[d,b]],[/\b((zeki)?tb.*\b) b/i],[p,[h,"Zeki"],[d,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],p,[d,b]],[/\b(ns-?\w{0,9}) b/i],[p,[h,"Insignia"],[d,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[p,[h,"NextBook"],[d,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],p,[d,v]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],p,[d,v]],[/\b(ph-1) /i],[p,[h,"Essential"],[d,v]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[p,[h,"Envizen"],[d,b]],[/\b(trio[-\w\. ]+) b/i],[p,[h,"MachSpeed"],[d,b]],[/\btu_(1491) b/i],[p,[h,"Rotor"],[d,b]],[/(shield[\w ]+) b/i],[p,[h,"Nvidia"],[d,b]],[/(sprint) (\w+)/i],[h,p,[d,v]],[/(kin\.[onetw]{3})/i],[[p,/\./g," "],[h,N],[d,v]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[p,[h,U],[d,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[p,[h,U],[d,v]],[/smart-tv.+(samsung)/i],[h,[d,_]],[/hbbtv.+maple;(\d+)/i],[[p,/^/,"SmartTV"],[h,z],[d,_]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,L],[d,_]],[/(apple) ?tv/i],[h,[p,E+" TV"],[d,_]],[/crkey/i],[[p,C+"cast"],[h,O],[d,_]],[/droid.+aft(\w+)( bui|\))/i],[p,[h,M],[d,_]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[p,[h,R],[d,_]],[/(bravia[\w ]+)( bui|\))/i],[p,[h,P],[d,_]],[/(mitv-\w{5}) bui/i],[p,[h,B],[d,_]],[/Hbbtv.*(technisat) (.*);/i],[h,p,[d,_]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,Q],[p,Q],[d,_]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,_]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,p,[d,m]],[/droid.+; (shield) bui/i],[p,[h,"Nvidia"],[d,m]],[/(playstation [345portablevi]+)/i],[p,[h,P],[d,m]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[p,[h,N],[d,m]],[/((pebble))app/i],[h,p,[d,S]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[p,[h,E],[d,S]],[/droid.+; (glass) \d/i],[p,[h,O],[d,S]],[/droid.+; (wt63?0{2,3})\)/i],[p,[h,U],[d,S]],[/(quest( 2| pro)?)/i],[p,[h,F],[d,S]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[d,w]],[/(aeobc)\b/i],[p,[h,M],[d,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[p,[d,v]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[p,[d,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,v]],[/(android[-\w\. ]{0,9});.+buil/i],[p,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,g],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,g],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[f,[g,V,G]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[f,"Windows"],[g,V,G]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,H],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,g],[/\(bb(10);/i],[g,[f,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[g,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[f,D+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[g,[f,C+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,K],g],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,g],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,g]]},X=function(t,e){if(typeof t===c&&(e=t,t=i),!(this instanceof X))return new X(t,e).getResult();var n=typeof o!==s&&o.navigator?o.navigator:i,r=t||(n&&n.userAgent?n.userAgent:""),m=n&&n.userAgentData?n.userAgentData:i,_=e?function(t,e){var n={};for(var r in t)e[r]&&e[r].length%2==0?n[r]=e[r].concat(t[r]):n[r]=t[r];return n}(J,e):J,S=n&&n.userAgent==r;return this.getBrowser=function(){var t,e={};return e[f]=i,e[g]=i,Z.call(e,r,_.browser),e[l]=typeof(t=e[g])===u?t.replace(/[^\d\.]/g,"").split(".")[0]:i,S&&n&&n.brave&&typeof n.brave.isBrave==a&&(e[f]="Brave"),e},this.getCPU=function(){var t={};return t[y]=i,Z.call(t,r,_.cpu),t},this.getDevice=function(){var t={};return t[h]=i,t[p]=i,t[d]=i,Z.call(t,r,_.device),S&&!t[d]&&m&&m.mobile&&(t[d]=v),S&&"Macintosh"==t[p]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(t[p]="iPad",t[d]=b),t},this.getEngine=function(){var t={};return t[f]=i,t[g]=i,Z.call(t,r,_.engine),t},this.getOS=function(){var t={};return t[f]=i,t[g]=i,Z.call(t,r,_.os),S&&!t[f]&&m&&"Unknown"!=m.platform&&(t[f]=m.platform.replace(/chrome os/i,K).replace(/macos/i,H)),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(t){return r=typeof t===u&&t.length>350?Q(t,350):t,this},this.setUA(r),this};X.VERSION="0.7.36",X.BROWSER=q([f,g,l]),X.CPU=q([y]),X.DEVICE=q([p,h,d,m,v,_,b,S,w]),X.ENGINE=X.OS=q([f,g]),typeof e!==s?(t.exports&&(e=t.exports=X),e.UAParser=X):n.amdO?(r=function(){return X}.call(e,n,e,t))===i||(t.exports=r):typeof o!==s&&(o.UAParser=X);var $=typeof o!==s&&(o.jQuery||o.Zepto);if($&&!$.ua){var tt=new X;$.ua=tt.getResult(),$.ua.get=function(){return tt.getUA()},$.ua.set=function(t){tt.setUA(t);var e=tt.getResult();for(var n in e)$.ua[n]=e[n]}}}("object"==typeof window?window:this)},37017:(t,e,n)=>{"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,{Z:()=>r})},66017:(t,e,n)=>{"use strict";function r(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}n.d(e,{Z:()=>r})},21930:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(37017),o=n(49139);function i(t){return function(t){if(Array.isArray(t))return(0,r.Z)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||(0,o.Z)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},36655:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}n.d(e,{Z:()=>r})},49139:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(37017);function o(t,e){if(t){if("string"==typeof t)return(0,r.Z)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(t,e):void 0}}}}]);
|
|
1
|
+
/*! For license information please see 7422-8f60c3028d-lite.chunk.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[7422],{29014:t=>{window,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.Disable=0]="Disable",t[t.Enable=1]="Enable"}(e.CookiePolicy||(e.CookiePolicy={}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(2);e.renderButtons=r.renderButtons;var o=n(3);e.close=o.close,e.launchAsync=o.launchAsync;var i=n(0);e.CookiePolicy=i.CookiePolicy,window.addEventListener("load",(function(){var t;window.hasOwnProperty("Promise")||("https://contentstorage.onenote.office.net/onenoteltir/permanent-static-resources/promise-polyfill.min.js",(t=document.createElement("script")).src="https://contentstorage.onenote.office.net/onenoteltir/permanent-static-resources/promise-polyfill.min.js",document.head.appendChild(t)),r.renderButtons()}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={af:"Indompelende leser",am:"በህያው ስሜት ፈጣሪ ዕይታ አንባቢ",ar:"القارئ الشامل",as:"ইমাৰচিভ ৰিডাৰ",az:"İmmersiv Oxuyucu",be:"Імерсіўны чытальнік",bg:"Концентриран четец",bn:"মনোগ্রাহী পাঠক","bn-bd":"ইমার্সিভ পাঠক",bs:"Koncentrirani čitalac",ca:"Lector immersiu",cs:"Asistivní čtečka","cy-gb":"Darllenydd Ymdrwythol",da:"Forenklet læser",de:"Plastischer Reader",el:"Προηγμένο πρόγραμμα ανάγνωσης",en:"Immersive Reader",es:"Lector inmersivo",et:"Süvaluger",eu:"Irakurgailu murgiltzailea",fa:"خواننده همهجانبه",fi:"Syventävä lukuohjelma",fil:"Immersive Reader",fr:"Lecteur immersif","ga-ie":"Léitheoir tumthach",gd:"An leughadair ùr-nòsach",gl:"Lector avanzado",gu:"ઇમર્સિવ રીડર",ha:"Mai karatu Mai barbazawa",he:"תצוגת קריאה מודרנית",hi:"इमर्सिव रीडर",hr:"Stopljeni čitač",hu:"Modern olvasó",hy:"Խորասուզված ընթերցիչ",id:"Pembaca Imersif",ig:"Ọgụụ Kenzipụtara",is:"Aðgengilegt lestrarumhverfi",it:"Strumento di lettura immersiva",ja:"イマーシブ リーダー",ka:"იმერსიული წამკითხველი",kk:"Иммерсивті оқу құралы",km:"កម្មវិធីអានពណ៌រំលេចនៅលើអេក្រង់",kn:"ಇಮ್ಮರ್ಸಿವ್ ಓದುಗ",ko:"몰입형 리더",kok:"तंद्री लागिल्लो वाचक","ku-arab":"خوێنەری پڕ",ky:"Курчаган Окугуч",lb:"Immersive Reader",lo:"ຕົວອ່ານອິມເມີສີບ",lt:"Įtraukianti skaitytuvė",lv:"Tīrskata lasītājs",mi:"Pūpānui Rumaki",mk:"Сеопфатен читач",ml:"ഇമ്മേഴ്സീവ് റീഡർ",mn:"Идэвхтэй уншигч",mr:"इमर्सिव्ह वाचक",ms:"Pembaca Imersif",mt:"Qarrej Immersiv",ne:"इमेर्सिभ रिडर",nl:"Insluitende lezer","nn-no":"Engasjerande lesar",no:"Engasjerende leser",nso:"Go Bala ka Mongwalo o Mokoto",or:"ଇମରସିଭ୍ ରିଡର୍",pa:"ਇਮਰਸਿਵ ਰੀਡਰ","pa-arab":"گھیرن آلا مطالعہ کار",pl:"Czytnik immersyjny",prs:"خواننده نمایش",pt:"Leitura Avançada",quc:"Nim ucholajil sik'inel uwach",quz:"Wankisqa Ñawiq",ro:"Immersive Reader",ru:"Иммерсивное средство чтения",rw:"Insakazasoma",sd:"امرسو ريڊر",si:"ගිලෙන සුළු කියවනය",sk:"Imerzná čítačka",sl:"Potopni bralnik",sq:"Lexuesi kredhës","sr-cyrl-ba":"Концентрисани читалац","sr-cyrl-rs":"Концентрисани читалац","sr-latn-rs":"Koncentrisani čitalac",sv:"Avancerad läsare",sw:"Kisomaji cha Kuzamisha",ta:"அற்புதமான ரீடர்",te:"మంత్రముగ్ధులను చేసే పఠన సాధనం","tg-cyrl-tj":"Хонандаи фарогир",th:"โปรแกรมช่วยอ่าน",ti:"ኣንባቢ ሕሉው ስምዒት ፈጣሪ",tk:"Giňişleýin okaýjy",tn:"Sebadi sa Imesife",tr:"Tam Ekran Okuyucu",tt:"Чолгап алучы уку чарасы","ug-cn":"چۆكمە ئوقۇغۇچ",uk:"Занурення в текст",ur:"امرسیو مطالعہ کار",uz:"Immersiv mutolaa vositasi",vi:"Trình đọc Chân thực",wo:"Jàngukaay bu Rafet",xh:"Isifundi Esikhulu",yo:"Ìwò Alámùtán",zh:"沉浸式阅读器","zh-hant":"沈浸式閱讀程式",zu:"Isifundi Sokuzizwisa"};function o(t){var e=document.createElement("img");e.src="https://contentstorage.onenote.office.net/onenoteltir/permanent-static-resources/immersive-reader-icon.svg";var n=t.getAttribute("data-icon-px-size")||"20";e.style.height=e.style.width=n+"px",e.style.verticalAlign="middle",e.style.marginTop="-2px";var r=t.getAttribute("data-locale")||"en";e.alt=s(r),t.appendChild(e)}function i(t){var e=document.createElement("span");e.style.marginLeft="8px",t.appendChild(e)}function a(t){var e=document.createElement("span"),n=t.getAttribute("data-locale")||"en";e.textContent=s(n),t.appendChild(e)}function s(t){return t=t.toLowerCase(),r[t]?r[t]:"zh-hk"===t||"zh-mo"===t||"zh-tw"===t?r["zh-hant"]:(t=t.substring(0,t.lastIndexOf("-")),r[t]?r[t]:(t=t.substring(0,t.lastIndexOf("-")),r[t]?r[t]:r.en))}e.renderButtons=function(t){var e=document.createElement("style");e.innerHTML=".immersive-reader-button{cursor:pointer;display:inline-block;padding:5px;} .immersive-reader-button:hover{background:rgba(0,0,0,.05);border-radius:2px",document.head.appendChild(e);var n=[].slice.call(document.getElementsByClassName("immersive-reader-button"));t&&t.elements&&(n=t.elements);for(var r=0,c=n;r<c.length;r++){var u=c[r];u.setAttribute("role","button");var l=u.getAttribute("data-locale")||"en";switch(u.setAttribute("aria-label",s(l)),u.getAttribute("data-button-style")||"icon"){case"icon":o(u);break;case"text":a(u);break;case"iconAndText":o(u),i(u),a(u)}}}},function(t,e,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),i=n(4),a={};function s(t){return!!t&&new RegExp("^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])$").test(t)}a[i.ErrorCode.TokenExpired]="The access token supplied is expired.",a[i.ErrorCode.Throttled]="You have exceeded your quota.",a[i.ErrorCode.ServerError]="An error occurred when calling the server to process the text.",a[i.ErrorCode.InvalidSubdomain]="The subdomain supplied is invalid.",e.launchAsync=function(t,e,n,c){return new Promise((function(u,l){if(t)if(n)if(n.chunks)if(n.chunks.length)if(s(e)||c&&c.customDomain){var p=Date.now();(c=r({uiZIndex:1e3,timeout:15e3,useWebview:!1,allowFullscreen:!0,hideExitButton:!1,cookiePolicy:o.CookiePolicy.Disable},c)).uiZIndex&&"number"==typeof c.uiZIndex||(c.uiZIndex=1e3);var f=null,d=document.createElement("div"),h=c.useWebview?document.createElement("webview"):document.createElement("iframe"),g=document.createElement("style");g.innerHTML="body{height:100%;overflow:hidden;}";var y=function(){f&&(window.clearTimeout(f),f=null)},m=function(){document.body.contains(d)&&document.body.removeChild(d),window.removeEventListener("message",b),y(),g.parentNode&&g.parentNode.removeChild(g)},v=function(){m(),c.onExit&&c.onExit()};m();var b=function(r){if(r&&r.data)if("ImmersiveReader-ReadyForContent"===r.data){y();var o={cogSvcsAccessToken:t,cogSvcsSubdomain:e,request:n,launchToPostMessageSentDurationInMs:Date.now()-p};h.contentWindow.postMessage(JSON.stringify({messageType:"Content",messageValue:o}),"*")}else if("ImmersiveReader-Exit"===r.data)v();else if(r.data.startsWith("ImmersiveReader-LaunchResponse:")){var s=null,c=null,f=null;try{f=JSON.parse(r.data.substring(31))}catch(t){}f&&f.success?s={container:d,sessionId:f.sessionId}:c=f&&!f.success?{code:f.errorCode,message:a[f.errorCode],sessionId:f.sessionId}:{code:i.ErrorCode.ServerError,message:a[i.ErrorCode.ServerError]},s?(y(),u(s)):c&&(v(),l(c))}};window.addEventListener("message",b),f=window.setTimeout((function(){m(),l({code:i.ErrorCode.Timeout,message:"Page failed to load after timeout ("+c.timeout+" ms)"})}),c.timeout),c.allowFullscreen&&h.setAttribute("allowfullscreen",""),h.style.cssText="position: static; width: 100vw; height: 100vh; left: 0; top: 0; border-width: 0",c.useWebview&&h.addEventListener("loadstop",(function(){h.contentWindow.postMessage(JSON.stringify({messageType:"WebviewHost"}),"*")}));var _=(c.customDomain?c.customDomain:"https://"+e+".cognitiveservices.azure.com/immersivereader/webapp/v1.0/")+"reader?exitCallback=ImmersiveReader-Exit&sdkPlatform=js&sdkVersion=1.0.0";_+="&cookiePolicy="+(c.cookiePolicy===o.CookiePolicy.Enable?"enable":"disable"),c.hideExitButton&&(_+="&hideExitButton=true"),c.uiLang&&(_+="&omkt="+c.uiLang),h.src=_,d.style.cssText="position: fixed; width: 100vw; height: 100vh; left: 0; top: 0; border-width: 0; -webkit-perspective: 1px; z-index: "+c.uiZIndex+"; background: white; overflow: hidden",d.appendChild(h),document.body.appendChild(d),document.head.appendChild(g)}else l({code:i.ErrorCode.InvalidSubdomain,message:a[i.ErrorCode.InvalidSubdomain]});else l({code:i.ErrorCode.BadArgument,message:"Chunks must not be empty"});else l({code:i.ErrorCode.BadArgument,message:"Chunks must not be null"});else l({code:i.ErrorCode.BadArgument,message:"Content must not be null"});else l({code:i.ErrorCode.BadArgument,message:"Token must not be null"})}))},e.close=function(){window.postMessage("ImmersiveReader-Exit","*")},e.isValidSubdomain=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.BadArgument="BadArgument",t.Timeout="Timeout",t.TokenExpired="TokenExpired",t.Throttled="Throttled",t.ServerError="ServerError",t.InvalidSubdomain="InvalidSubdomain"}(e.ErrorCode||(e.ErrorCode={}))}])},84891:(t,e,n)=>{"use strict";n.d(e,{h4:()=>lt,cn:()=>z});var r=n(56784),o=n.n(r),i=n(32735),a=n(74161),s=n(6880),c=n(21930);function u(t,e,n,r,o,i){var a=r-n;return e+n<=t.offset?Object.assign({},t,{offset:t.offset+a}):e>=t.offset&&e+n<=t.offset+t.length?Object.assign({},t,{length:t.length+a}):t.offset>=e&&t.offset+t.length<=e+n&&o>0?Object.assign({},t,{offset:t.offset+o}):t.offset<e&&t.offset+t.length<=e+n&&t.offset+t.length>e&&o>0?[Object.assign({},t,{length:e-t.offset}),Object.assign({},t,{offset:e+o,length:t.offset-e+t.length})]:t.offset>=e&&t.offset+t.length>e+n&&e+n>t.offset&&i>0?[Object.assign({},t,{offset:t.offset+o,length:e+n-t.offset}),Object.assign({},t,{offset:e+n+o+i,length:t.offset+t.length-(e+n)})]:t}const l=function(t,e){return t.offset===e.offset?e.length-t.length:t.offset-e.offset};var p={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\n":"<br/>"},f=n(36655),d=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function h(t){if(-1!==d.indexOf(t.type))return a.renderToStaticMarkup(t);var e=a.renderToStaticMarkup(i.cloneElement(t,{},"\r")).split("\r");return o()(e.length>1,"convertToHTML: Element of type ".concat(t.type," must render children")),o()(e.length<3,"convertToHTML: Element of type ".concat(t.type," cannot use carriage return character")),{start:e[0],end:e[1]}}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==t)return t;if("string"==typeof t)return t;if(i.isValidElement(t)){if(function(t){return i.isValidElement(t)&&i.Children.count(t.props.children)>0}(t))return a.renderToStaticMarkup(t);var n=h(t);return null!==e&&"object"===(0,f.Z)(n)?n.start+e+n.end:n}return o()(Object.prototype.hasOwnProperty.call(t,"start")&&Object.prototype.hasOwnProperty.call(t,"end"),"convertToHTML: received conversion data without either an HTML string, ReactElement or an object with start/end tags"),null!==e?t.start+e+t.end:t}const y=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"start";if(i.isValidElement(e)){var r=h(e);if("string"==typeof r)return 0;var o=r[n].length,a=i.Children.toArray(e.props.children)[0];return o+(a&&i.isValidElement(a)?t(a,n):0)}return"object"===(0,f.Z)(e)&&e[n]?e[n].length:0};var m=function(){return arguments.length>1?arguments[1]:void 0};const v=function(t){return function(e){return"function"==typeof t?t(e):t[e]}},b=function(t,e){return function(){var n=t.apply(void 0,arguments);return null!=n?n:e.apply(void 0,arguments)}};function _(t){switch(t){case"BOLD":return i.createElement("strong",null);case"ITALIC":return i.createElement("em",null);case"UNDERLINE":return i.createElement("u",null);case"CODE":return i.createElement("code",null);default:return{start:"",end:""}}}var S=function(t,e){return t.filter((function(t){return!e.some((function(e){return e.style===t.style}))}))},w=function(t,e){return e.reduceRight((function(t,e){var n=t[t.length-1];return o()(n.style===e.style,"Style ".concat(n.style," to be removed doesn't match expected ").concat(e.style)),t.slice(0,-1)}),t)},M=function(t,e){return e.filter((function(e){return t>=e.offset&&t<e.offset+e.length}))},E=function(t,e){var n=t.offset<=e.offset,r=t.offset+t.length>=e.offset+e.length;return n&&r},k=function(t,e){return e.offset+e.length-(t.offset+t.length)},x=function(t,e){for(var n=0;n<t.length;){if(!e.every(E.bind(null,t[n])))return t.slice(n);n++}return[]},C=function(t,e,n){return e+g(t(n.style)).start},j=function(t,e,n){return g(t(n.style)).end+e},O=function(t){return function(e){return t(e)}};O.__isMiddleware=!0;const D=function(t){return function(e){return"function"==typeof t?t(e):t[e.type]}};function I(t,e){if(o()(null!=t,"Expected block HTML value to be non-null"),"function"==typeof t.nest){var n=h(t.nest(e)),r=n.start,a=n.end;return Object.assign({},t,{nestStart:r,nestEnd:a})}if(i.isValidElement(t.nest)){var s=h(t.nest),c=s.start,u=s.end;return Object.assign({},t,{nestStart:c,nestEnd:u})}return o()(Object.prototype.hasOwnProperty.call(t,"nestStart")&&Object.prototype.hasOwnProperty.call(t,"nestEnd"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t}var L=["1","a","i"];const N={unstyled:i.createElement("p",null),paragraph:i.createElement("p",null),"header-one":i.createElement("h1",null),"header-two":i.createElement("h2",null),"header-three":i.createElement("h3",null),"header-four":i.createElement("h4",null),"header-five":i.createElement("h5",null),"header-six":i.createElement("h6",null),blockquote:i.createElement("blockquote",null),"unordered-list-item":{element:i.createElement("li",null),nest:i.createElement("ul",null)},"ordered-list-item":{element:i.createElement("li",null),nest:function(t){var e=L[t%3];return i.createElement("ol",{type:e})}},media:i.createElement("figure",null),atomic:i.createElement("figure",null)};var A=function(t,e){return e},T=function(t){var e=t.styleToHTML,n=void 0===e?{}:e,r=t.blockToHTML,f=void 0===r?{}:r,d=t.entityToHTML,E=void 0===d?A:d;return function(t){var e;o()(null!=t,"Expected contentState to be non-null"),e=!0===f.__isMiddleware?f(D(N)):b(D(f),D(N));var r=(0,s.convertToRaw)(t),d=[],L=r.blocks.map((function(t){var s=t.type,f=t.depth,D="",L="",N=e(t);if(!N)throw new Error("convertToHTML: missing HTML definition for block with type ".concat(t.type));if(N.nest)for(;f+1!==d.length||s!==d[f].type;)if(f+1===d.length){var A=d[f];D+=I(e(A),f).nestEnd,L+=I(e(t),f).nestStart,d[f]=t}else if(f+1<d.length){var T=d[d.length-1];D+=I(e(T),f).nestEnd,d=d.slice(0,-1)}else L+=I(e(t),f).nestStart,d.push(t);else D=d.reduceRight((function(t,n){return t+I(e(n),f).nestEnd}),""),d=[];var z,R=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O;o()(null!=t,"Expected raw block to be non-null"),e=!0===n.__isMiddleware?n(_):b(v(n),v(_));for(var r="",i=[],a=t.inlineStyleRanges.sort(l),s=(0,c.Z)(t.text),u=0;u<s.length;u++){var p=M(u,a),f=S(i,p),d=S(p,i),h=S(i,f),y=x(h,d),m=y.concat(d).sort(k),E=m.reduce(C.bind(null,e),"");r+=f.concat(y).reduce(j.bind(null,e),"")+E+s[u],i=(i=w(i,y.concat(f))).concat(m),o()(i.length===p.length,"Character ".concat(u,": ").concat(i.length-p.length," styles left on stack that should no longer be there"))}return i.reduceRight((function(t,n){return t+g(e(n.style)).end}),r)}(function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m,r=(0,c.Z)(t.text),o=n;if(n.__isMiddleware&&(o=n(m)),Object.prototype.hasOwnProperty.call(t,"entityRanges")&&t.entityRanges.length>0){for(var i=t.entityRanges.sort(l),a=t.inlineStyleRanges,s=function(t){var n,s=i[t],l=e[s.key],p=r.slice(s.offset,s.offset+s.length).join(""),f=o(l,p),d=g(f,p);n=d||""===d?(0,c.Z)(d):p;var h=y(f,"start"),m=y(f,"end"),v=function(e){return e.reduce((function(e,r,o){var i=function(e,r){return r>t||Object.prototype.hasOwnProperty.call(e,"style")?u(e,s.offset,s.length,n.length,h,m):e}(r,o);return Array.isArray(i)?e.concat(i):e.concat([i])}),[])};i=v(i),a=v(a),r=[].concat((0,c.Z)(r.slice(0,s.offset)),(0,c.Z)(n),(0,c.Z)(r.slice(s.offset+s.length)))},p=0;p<i.length;p++)s(p);return Object.assign({},t,{text:r.join(""),inlineStyleRanges:a,entityRanges:i})}return t}(function(t){for(var e=(0,c.Z)(t.text),n=t.entityRanges.sort(l),r=t.inlineStyleRanges.sort(l),o="",i=function(t){var i=e[t];if(void 0!==p[i]){var a=p[i],s=(0,c.Z)(o).length;o+=a;var l=function(t){return u(t,s,i.length,a.length,0,0)};n=n.map(l),r=r.map(l)}else o+=i},a=0;a<e.length;a++)i(a);return Object.assign({},t,{text:o,inlineStyleRanges:r,entityRanges:n})}(t),r.entityMap,E),n),P=function(t){return o()(null!=t,"Expected block HTML value to be non-null"),"string"==typeof t?t:i.isValidElement(t)?(e=t,i.isValidElement(e)&&i.Children.count(e.props.children)>0?a.renderToStaticMarkup(t):h(t)):Object.prototype.hasOwnProperty.call(t,"element")&&i.isValidElement(t.element)?Object.assign({},t,h(t.element)):(o()(Object.prototype.hasOwnProperty.call(t,"start")&&Object.prototype.hasOwnProperty.call(t,"end"),"convertToHTML: received block information without either a ReactElement or an object with start/end tags"),t);var e}(e(t));return z="string"==typeof P?P:P.start+R+P.end,0===R.length&&Object.prototype.hasOwnProperty.call(P,"empty")&&(z=i.isValidElement(P.empty)?a.renderToStaticMarkup(P.empty):P.empty),D+L+z})).join("");return d.reduce((function(t,n){return t+I(e(n),n.depth).nestEnd}),L)}};const z=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 1===e.length&&Object.prototype.hasOwnProperty.call(e[0],"_map")&&null!=e[0].getBlockMap?T({}).apply(void 0,e):T.apply(void 0,e)};var R=n(20429),P=function(t){var e=document.implementation.createHTMLDocument("");return e.documentElement.innerHTML=t,e};function B(t){var e;return"undefined"!=typeof DOMParser&&null!==(e=(new DOMParser).parseFromString(t,"text/html"))&&null!==e.body||(e=P(t)),e.body}var U=" ",F=4,K=new RegExp("\r","g"),H=new RegExp("\n","g"),q=new RegExp(" ","g"),Y=new RegExp("\r","g"),W=["p","h1","h2","h3","h4","h5","h6","li","blockquote","pre"],Q={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},Z=function(t,e){return t&&!0===t.__isMiddleware?t(e):t},V=function(t,e,n){},G=function(t,e,n){return n},J=function(t,e){},X=function(t){return[]},$=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")};function tt(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,R.Map)();return!0===n?{text:"\r",inlines:[(0,R.OrderedSet)()],entities:new Array(1),blocks:[{type:t,data:r,depth:Math.max(0,Math.min(F,e))}],isNewline:!0}:{text:"\n",inlines:[(0,R.OrderedSet)()],entities:new Array(1),blocks:[]}}function et(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,R.Map)();return{text:"\r",inlines:[(0,R.OrderedSet)()],entities:new Array(1),blocks:[{type:t,data:n,depth:Math.max(0,Math.min(F,e))}]}}function nt(t,e){switch(t){case"h1":return"header-one";case"h2":return"header-two";case"h3":return"header-three";case"h4":return"header-four";case"h5":return"header-five";case"h6":return"header-six";case"li":return"ol"===e?"ordered-list-item":"unordered-list-item";case"blockquote":return"blockquote";case"pre":return"code-block";case"div":case"p":return"unstyled";default:return null}}function rt(t,e,n){return nt(t,n)}function ot(t,e,n){var r=Q[t];if(r)n=n.add(r).toOrderedSet();else if(e instanceof HTMLElement){var o=e;n=n.withMutations((function(t){"bold"===o.style.fontWeight&&t.add("BOLD"),"italic"===o.style.fontStyle&&t.add("ITALIC"),"underline"===o.style.textDecoration&&t.add("UNDERLINE"),"line-through"===o.style.textDecoration&&t.add("STRIKETHROUGH")})).toOrderedSet()}return n}function it(t,e){return ot(t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,R.OrderedSet)())}function at(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.text.slice(0,1),o="\r"===t.text.slice(-1)&&"\r"===r,i="\r"!==t.text&&"\r"!==e.text,a="\r"===t.text&&!t.isNewline&&e.isNewline;if(o&&(i||a)&&(t.text=t.text.slice(0,-1),t.inlines.pop(),t.entities.pop(),t.blocks.pop()),"\r"===t.text.slice(-1)&&!0===n){if(e.text===U||"\n"===e.text)return t;r!==U&&"\n"!==r||(e.text=e.text.slice(1),e.inlines.shift(),e.entities.shift())}var s=0===t.text.length&&e.isNewline;return{text:t.text+e.text,inlines:t.inlines.concat(e.inlines),entities:t.entities.concat(e.entities),blocks:t.blocks.concat(e.blocks),isNewline:s}}function st(t,e,n,r,o,i,a,s,c,u,p,f,d,h,g,y){var m=t.nodeName.toLowerCase(),v=!1,b="unstyled";if("#text"===m){var _=t.textContent;if(""===_.trim()&&null===r)return{text:"",inlines:[],entities:[],blocks:[]};if(""===_.trim()&&"code-block"!==r)return function(t){var e=new Array(1);return t&&(e[0]=t),{text:U,inlines:[(0,R.OrderedSet)()],entities:e,blocks:[]}}(y);"code-block"!==r&&(_=_.replace(H,U));var S=Array(_.length).fill(y),w=0;return c(_,p,f,d,h).sort(l).forEach((function(t){var e=t.entity,n=t.offset,r=t.length,o=t.result,i=n+w;null==o&&(o=_.substr(i,r));var a=_.split("");a.splice.bind(a,i,r).apply(a,o.split("")),_=a.join(""),S.splice.bind(S,i,r).apply(S,Array(o.length).fill(e)),w+=o.length-r})),{text:_,inlines:Array(_.length).fill(e),entities:S,blocks:[]}}if("br"===m){var M=r;return null===M?tt("unstyled",i,!0):tt(M||"unstyled",i,g.flat)}var E={text:"",inlines:[],entities:[],blocks:[]};e=a(m,t,e=ot(m,t,e)),"ul"!==m&&"ol"!==m||(n&&(i+=1),n=m,r=null);var k,x,C=u(m,t,n,r);if(!1===C)return{text:"",inlines:[],entities:[],blocks:[]};if("string"==typeof(C=C||{})?(k=C,x=(0,R.Map)()):(k="string"==typeof C?C:C.type,x=C.data?(0,R.Map)(C.data):(0,R.Map)()),r||-1===o.indexOf(m)&&!k)if(!n||"ordered-list-item"!==r&&"unordered-list-item"!==r||"li"!==m)r&&"atomic"!==r&&"atomic"===k&&(r=k,v=!0,E=tt(k,i,!0,x));else{var j=nt(m,n);E=et(j,i),r=j,v=!0,b="ul"===n?"unordered-list-item":"ordered-list-item"}else E=et(k||nt(m,n),i,x),r=k||nt(m,n),v=!0;var O=t.firstChild;null!=O||!y||"atomic"!==k&&"atomic"!==r||(O=document.createTextNode("a")),null!=O&&(m=O.nodeName.toLowerCase());for(var D=null;O;){D=s(m,O,p,f,d,h),E=at(E,st(O,e,n,r,o,i,a,s,c,u,p,f,d,h,g,D||y),g.flat);var I=O.nextSibling;if(I&&o.indexOf(m)>=0&&r){var L=u(m,O,n,r),N=void 0,A=void 0;!1!==L&&("string"==typeof(L=L||{})?(N=L,A=(0,R.Map)()):(N=L.type||nt(m,n),A=L.data?(0,R.Map)(L.data):(0,R.Map)()),E=at(E,tt(N,i,g.flat,A),g.flat))}I&&(m=I.nodeName.toLowerCase()),O=I}return v&&(E=at(E,et(b,i,(0,R.Map)()),g.flat)),E}function ct(t,e,n,r,o,i,a,s,c,u,l){var p=l(t=t.trim().replace(K,"").replace(q,U));if(!p)return null;var f=function(t){return W.some((function(e){return-1!==t.indexOf("<".concat(e))}))}(t)?W.concat(["div"]):["div"],d=st(p,(0,R.OrderedSet)(),"ul",null,f,-1,e,n,r,o,i,a,s,c,u);return 0===d.text.indexOf("\r")&&(d={text:d.text.slice(1),inlines:d.inlines.slice(1),entities:d.entities.slice(1),blocks:d.blocks}),"\r"===d.text.slice(-1)&&(d.text=d.text.slice(0,-1),d.inlines=d.inlines.slice(0,-1),d.entities=d.entities.slice(0,-1),d.blocks.pop()),0===d.blocks.length&&d.blocks.push({type:"unstyled",data:(0,R.Map)(),depth:0}),d.text.split("\r").length===d.blocks.length+1&&d.blocks.unshift({type:"unstyled",data:(0,R.Map)(),depth:0}),d}var ut=function(t){var e=t.htmlToStyle,n=void 0===e?G:e,r=t.htmlToEntity,o=void 0===r?J:r,i=t.textToEntity,a=void 0===i?X:i,c=t.htmlToBlock,u=void 0===c?V:c;return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{flat:!1},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:B,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.genKey,c=s.ContentState.createFromText(""),l=function(t,e,n,r,o,i,a,c,u,l,p,f){var d=ct(t,e,n,r,o,i,a,c,u,l,p);if(null==d)return[];var h=0;return d.text.split("\r").map((function(t,e){t=t.replace(Y,"");var n=h+t.length,r=$(d).inlines.slice(h,n),o=$(d).entities.slice(h,n),i=(0,R.List)(r.map((function(t,e){var n={style:t,entity:null};return o[e]&&(n.entity=o[e]),s.CharacterMetadata.create(n)})));return h=n+1,new s.ContentBlock({key:f(),type:$(d).blocks[e].type,data:$(d).blocks[e].data,depth:$(d).blocks[e].depth,text:t,characterList:i})}))}(t,Z(n,it),Z(o,J),Z(a,X),Z(u,rt),(function(){var t;return c.createEntity?(c=(t=c).createEntity.apply(t,arguments)).getLastCreatedEntityKey():s.Entity.create.apply(s.Entity,arguments)}),(function(){var t;return c.getEntity?(t=c).getEntity.apply(t,arguments):s.Entity.get.apply(s.Entity,arguments)}),(function(){var t;c.mergeEntityData?c=(t=c).mergeEntityData.apply(t,arguments):s.Entity.mergeData.apply(s.Entity,arguments)}),(function(){var t;c.replaceEntityData?c=(t=c).replaceEntityData.apply(t,arguments):s.Entity.replaceData.apply(s.Entity,arguments)}),e,r,i),p=s.BlockMapBuilder.createFromArray(l),f=l[0].getKey();return c.merge({blockMap:p,selectionBefore:s.SelectionState.createEmpty(f),selectionAfter:s.SelectionState.createEmpty(f)})}};const lt=function(){return arguments.length>=1&&"string"==typeof(arguments.length<=0?void 0:arguments[0])?ut({}).apply(void 0,arguments):ut.apply(void 0,arguments)}},20429:function(t){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return a(t)?t:Q(t)}function r(t){return s(t)?t:Z(t)}function o(t){return c(t)?t:V(t)}function i(t){return a(t)&&!u(t)?t:G(t)}function a(t){return!(!t||!t[p])}function s(t){return!(!t||!t[f])}function c(t){return!(!t||!t[d])}function u(t){return s(t)||c(t)}function l(t){return!(!t||!t[h])}e(r,n),e(o,n),e(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=c,n.isAssociative=u,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=i;var p="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",d="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g="delete",y=5,m=1<<y,v=m-1,b={},_={value:!1},S={value:!1};function w(t){return t.value=!1,t}function M(t){t&&(t.value=!0)}function E(){}function k(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o<n;o++)r[o]=t[o+e];return r}function x(t){return void 0===t.size&&(t.size=t.__iterate(j)),t.size}function C(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?x(t)+e:e}function j(){return!0}function O(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function D(t,e){return L(t,e,0)}function I(t,e){return L(t,e,e)}function L(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var N=0,A=1,T=2,z="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",P=z||R;function B(t){this.next=t}function U(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function F(){return{value:void 0,done:!0}}function K(t){return!!Y(t)}function H(t){return t&&"function"==typeof t.next}function q(t){var e=Y(t);return e&&e.call(t)}function Y(t){var e=t&&(z&&t[z]||t[R]);if("function"==typeof e)return e}function W(t){return t&&"number"==typeof t.length}function Q(t){return null==t?at():a(t)?t.toSeq():function(t){var e=ut(t)||"object"==typeof t&&new nt(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function Z(t){return null==t?at().toKeyedSeq():a(t)?s(t)?t.toSeq():t.fromEntrySeq():st(t)}function V(t){return null==t?at():a(t)?s(t)?t.entrySeq():t.toIndexedSeq():ct(t)}function G(t){return(null==t?at():a(t)?s(t)?t.entrySeq():t:ct(t)).toSetSeq()}B.prototype.toString=function(){return"[Iterator]"},B.KEYS=N,B.VALUES=A,B.ENTRIES=T,B.prototype.inspect=B.prototype.toSource=function(){return this.toString()},B.prototype[P]=function(){return this},e(Q,n),Q.of=function(){return Q(arguments)},Q.prototype.toSeq=function(){return this},Q.prototype.toString=function(){return this.__toString("Seq {","}")},Q.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Q.prototype.__iterate=function(t,e){return lt(this,t,e,!0)},Q.prototype.__iterator=function(t,e){return pt(this,t,e,!0)},e(Z,Q),Z.prototype.toKeyedSeq=function(){return this},e(V,Q),V.of=function(){return V(arguments)},V.prototype.toIndexedSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq [","]")},V.prototype.__iterate=function(t,e){return lt(this,t,e,!1)},V.prototype.__iterator=function(t,e){return pt(this,t,e,!1)},e(G,Q),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},Q.isSeq=it,Q.Keyed=Z,Q.Set=G,Q.Indexed=V;var J,X,$,tt="@@__IMMUTABLE_SEQ__@@";function et(t){this._array=t,this.size=t.length}function nt(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function rt(t){this._iterable=t,this.size=t.length||t.size}function ot(t){this._iterator=t,this._iteratorCache=[]}function it(t){return!(!t||!t[tt])}function at(){return J||(J=new et([]))}function st(t){var e=Array.isArray(t)?new et(t).fromEntrySeq():H(t)?new ot(t).fromEntrySeq():K(t)?new rt(t).fromEntrySeq():"object"==typeof t?new nt(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function ct(t){var e=ut(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ut(t){return W(t)?new et(t):H(t)?new ot(t):K(t)?new rt(t):void 0}function lt(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function pt(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new B((function(){var t=o[n?i-a:a];return a++>i?{value:void 0,done:!0}:U(e,r?t[0]:a-1,t[1])}))}return t.__iteratorUncached(e,n)}function ft(t,e){return e?dt(e,t,"",{"":t}):ht(t)}function dt(t,e,n,r){return Array.isArray(e)?t.call(r,n,V(e).map((function(n,r){return dt(t,n,r,e)}))):gt(e)?t.call(r,n,Z(e).map((function(n,r){return dt(t,n,r,e)}))):e}function ht(t){return Array.isArray(t)?V(t).map(ht).toList():gt(t)?Z(t).map(ht).toMap():t}function gt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function yt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function mt(t,e){if(t===e)return!0;if(!a(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||s(t)!==s(e)||c(t)!==c(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(l(t)){var r=t.entries();return e.every((function(t,e){var o=r.next().value;return o&&yt(o[1],t)&&(n||yt(o[0],e))}))&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var i=t;t=e,e=i}var p=!0,f=e.__iterate((function(e,r){if(n?!t.has(e):o?!yt(e,t.get(r,b)):!yt(t.get(r,b),e))return p=!1,!1}));return p&&t.size===f}function vt(t,e){if(!(this instanceof vt))return new vt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(X)return X;X=this}}function bt(t,e){if(!t)throw new Error(e)}function _t(t,e,n){if(!(this instanceof _t))return new _t(t,e,n);if(bt(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if($)return $;$=this}}function St(){throw TypeError("Abstract")}function wt(){}function Mt(){}function Et(){}Q.prototype[tt]=!0,e(et,V),et.prototype.get=function(t,e){return this.has(t)?this._array[C(this,t)]:e},et.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===t(n[e?r-o:o],o,this))return o+1;return o},et.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,o=0;return new B((function(){return o>r?{value:void 0,done:!0}:U(t,o,n[e?r-o++:o++])}))},e(nt,Z),nt.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},nt.prototype.has=function(t){return this._object.hasOwnProperty(t)},nt.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[e?o-i:i];if(!1===t(n[a],a,this))return i+1}return i},nt.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new B((function(){var a=r[e?o-i:i];return i++>o?{value:void 0,done:!0}:U(t,a,n[a])}))},nt.prototype[h]=!0,e(rt,V),rt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=q(this._iterable),r=0;if(H(n))for(var o;!(o=n.next()).done&&!1!==t(o.value,r++,this););return r},rt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=q(this._iterable);if(!H(n))return new B(F);var r=0;return new B((function(){var e=n.next();return e.done?e:U(t,r++,e.value)}))},e(ot,V),ot.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i<o.length;)if(!1===t(o[i],i++,this))return i;for(;!(n=r.next()).done;){var a=n.value;if(o[i]=a,!1===t(a,i++,this))break}return i},ot.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,o=0;return new B((function(){if(o>=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return U(t,o,r[o++])}))},e(vt,V),vt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},vt.prototype.get=function(t,e){return this.has(t)?this._value:e},vt.prototype.includes=function(t){return yt(this._value,t)},vt.prototype.slice=function(t,e){var n=this.size;return O(t,e,n)?this:new vt(this._value,I(e,n)-D(t,n))},vt.prototype.reverse=function(){return this},vt.prototype.indexOf=function(t){return yt(this._value,t)?0:-1},vt.prototype.lastIndexOf=function(t){return yt(this._value,t)?this.size:-1},vt.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},vt.prototype.__iterator=function(t,e){var n=this,r=0;return new B((function(){return r<n.size?U(t,r++,n._value):{value:void 0,done:!0}}))},vt.prototype.equals=function(t){return t instanceof vt?yt(this._value,t._value):mt(t)},e(_t,V),_t.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},_t.prototype.get=function(t,e){return this.has(t)?this._start+C(this,t)*this._step:e},_t.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},_t.prototype.slice=function(t,e){return O(t,e,this.size)?this:(t=D(t,this.size),(e=I(e,this.size))<=t?new _t(0,0):new _t(this.get(t,this._end),this.get(e,this._end),this._step))},_t.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},_t.prototype.lastIndexOf=function(t){return this.indexOf(t)},_t.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===t(o,i,this))return i+1;o+=e?-r:r}return i},_t.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;return new B((function(){var a=o;return o+=e?-r:r,i>n?{value:void 0,done:!0}:U(t,i++,a)}))},_t.prototype.equals=function(t){return t instanceof _t?this._start===t._start&&this._end===t._end&&this._step===t._step:mt(this,t)},e(St,n),e(wt,St),e(Mt,St),e(Et,St),St.Keyed=wt,St.Indexed=Mt,St.Set=Et;var kt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function xt(t){return t>>>1&1073741824|3221225471&t}function Ct(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)n^=t/=4294967295;return xt(n)}if("string"===e)return t.length>Tt?function(t){var e=Pt[t];return void 0===e&&(e=jt(t),Rt===zt&&(Rt=0,Pt={}),Rt++,Pt[t]=e),e}(t):jt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(Lt&&void 0!==(e=It.get(t)))return e;if(void 0!==(e=t[At]))return e;if(!Dt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[At]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++Nt,1073741824&Nt&&(Nt=0),Lt)It.set(t,e);else{if(void 0!==Ot&&!1===Ot(t))throw new Error("Non-extensible objects are not allowed as keys.");if(Dt)Object.defineProperty(t,At,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[At]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[At]=e}}return e}(t);if("function"==typeof t.toString)return jt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function jt(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return xt(e)}var Ot=Object.isExtensible,Dt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();var It,Lt="function"==typeof WeakMap;Lt&&(It=new WeakMap);var Nt=0,At="__immutablehash__";"function"==typeof Symbol&&(At=Symbol(At));var Tt=16,zt=255,Rt=0,Pt={};function Bt(t){bt(t!==1/0,"Cannot perform this action with an infinite size.")}function Ut(t){return null==t?te():Ft(t)&&!l(t)?t:te().withMutations((function(e){var n=r(t);Bt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Ft(t){return!(!t||!t[Ht])}e(Ut,wt),Ut.prototype.toString=function(){return this.__toString("Map {","}")},Ut.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Ut.prototype.set=function(t,e){return ee(this,t,e)},Ut.prototype.setIn=function(t,e){return this.updateIn(t,b,(function(){return e}))},Ut.prototype.remove=function(t){return ee(this,t,b)},Ut.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return b}))},Ut.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},Ut.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=ue(this,an(t),e,n);return r===b?void 0:r},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):te()},Ut.prototype.merge=function(){return ie(this,void 0,arguments)},Ut.prototype.mergeWith=function(e){return ie(this,e,t.call(arguments,1))},Ut.prototype.mergeIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,te(),(function(t){return"function"==typeof t.merge?t.merge.apply(t,n):n[n.length-1]}))},Ut.prototype.mergeDeep=function(){return ie(this,ae,arguments)},Ut.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return ie(this,se(e),n)},Ut.prototype.mergeDeepIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,te(),(function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,n):n[n.length-1]}))},Ut.prototype.sort=function(t){return Le(Ze(this,t))},Ut.prototype.sortBy=function(t,e){return Le(Ze(this,e,t))},Ut.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Ut.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new E)},Ut.prototype.asImmutable=function(){return this.__ensureOwner()},Ut.prototype.wasAltered=function(){return this.__altered},Ut.prototype.__iterator=function(t,e){return new Gt(this,t,e)},Ut.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},Ut.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?$t(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Ut.isMap=Ft;var Kt,Ht="@@__IMMUTABLE_MAP__@@",qt=Ut.prototype;function Yt(t,e){this.ownerID=t,this.entries=e}function Wt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function Qt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function Zt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function Vt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function Gt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Xt(t._root)}function Jt(t,e){return U(t,e[0],e[1])}function Xt(t,e){return{node:t,index:0,__prev:e}}function $t(t,e,n,r){var o=Object.create(qt);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function te(){return Kt||(Kt=$t(0))}function ee(t,e,n){var r,o;if(t._root){var i=w(_),a=w(S);if(r=ne(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===b?-1:1:0)}else{if(n===b)return t;o=1,r=new Yt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?$t(o,r):te()}function ne(t,e,n,r,o,i,a,s){return t?t.update(e,n,r,o,i,a,s):i===b?t:(M(s),M(a),new Vt(e,r,[o,i]))}function re(t){return t.constructor===Vt||t.constructor===Zt}function oe(t,e,n,r,o){if(t.keyHash===r)return new Zt(e,r,[t.entry,o]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&v,s=(0===n?r:r>>>n)&v;return new Wt(e,1<<a|1<<s,a===s?[oe(t,e,n+y,r,o)]:(i=new Vt(e,r,o),a<s?[t,i]:[i,t]))}function ie(t,e,n){for(var o=[],i=0;i<n.length;i++){var s=n[i],c=r(s);a(s)||(c=c.map((function(t){return ft(t)}))),o.push(c)}return ce(t,e,o)}function ae(t,e,n){return t&&t.mergeDeep&&a(e)?t.mergeDeep(e):yt(t,e)?t:e}function se(t){return function(e,n,r){if(e&&e.mergeDeepWith&&a(n))return e.mergeDeepWith(t,n);var o=t(e,n,r);return yt(e,o)?e:o}}function ce(t,e,n){return 0===(n=n.filter((function(t){return 0!==t.size}))).length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations((function(t){for(var r=e?function(n,r){t.update(r,b,(function(t){return t===b?n:e(t,n,r)}))}:function(e,n){t.set(n,e)},o=0;o<n.length;o++)n[o].forEach(r)})):t.constructor(n[0])}function ue(t,e,n,r){var o=t===b,i=e.next();if(i.done){var a=o?n:t,s=r(a);return s===a?t:s}bt(o||t&&t.set,"invalid keyPath");var c=i.value,u=o?b:t.get(c,b),l=ue(u,e,n,r);return l===u?t:l===b?t.remove(c):(o?te():t).set(c,l)}function le(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function pe(t,e,n,r){var o=r?t:k(t);return o[e]=n,o}qt[Ht]=!0,qt[g]=qt.remove,qt.removeIn=qt.deleteIn,Yt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(yt(n,o[i][0]))return o[i][1];return r},Yt.prototype.update=function(t,e,n,r,o,i,a){for(var s=o===b,c=this.entries,u=0,l=c.length;u<l&&!yt(r,c[u][0]);u++);var p=u<l;if(p?c[u][1]===o:s)return this;if(M(a),(s||!p)&&M(i),!s||1!==c.length){if(!p&&!s&&c.length>=fe)return function(t,e,n,r){t||(t=new E);for(var o=new Vt(t,Ct(n),[n,r]),i=0;i<e.length;i++){var a=e[i];o=o.update(t,0,void 0,a[0],a[1])}return o}(t,c,r,o);var f=t&&t===this.ownerID,d=f?c:k(c);return p?s?u===l-1?d.pop():d[u]=d.pop():d[u]=[r,o]:d.push([r,o]),f?(this.entries=d,this):new Yt(t,d)}},Wt.prototype.get=function(t,e,n,r){void 0===e&&(e=Ct(n));var o=1<<((0===t?e:e>>>t)&v),i=this.bitmap;return 0==(i&o)?r:this.nodes[le(i&o-1)].get(t+y,e,n,r)},Wt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=Ct(r));var s=(0===e?n:n>>>e)&v,c=1<<s,u=this.bitmap,l=0!=(u&c);if(!l&&o===b)return this;var p=le(u&c-1),f=this.nodes,d=l?f[p]:void 0,h=ne(d,t,e+y,n,r,o,i,a);if(h===d)return this;if(!l&&h&&f.length>=de)return function(t,e,n,r,o){for(var i=0,a=new Array(m),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[i++]:void 0;return a[r]=o,new Qt(t,i+1,a)}(t,f,u,s,h);if(l&&!h&&2===f.length&&re(f[1^p]))return f[1^p];if(l&&h&&1===f.length&&re(h))return h;var g=t&&t===this.ownerID,_=l?h?u:u^c:u|c,S=l?h?pe(f,p,h,g):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a<r;a++)a===e&&(i=1),o[a]=t[a+i];return o}(f,p,g):function(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(var i=new Array(o),a=0,s=0;s<o;s++)s===e?(i[s]=n,a=-1):i[s]=t[s+a];return i}(f,p,h,g);return g?(this.bitmap=_,this.nodes=S,this):new Wt(t,_,S)},Qt.prototype.get=function(t,e,n,r){void 0===e&&(e=Ct(n));var o=(0===t?e:e>>>t)&v,i=this.nodes[o];return i?i.get(t+y,e,n,r):r},Qt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=Ct(r));var s=(0===e?n:n>>>e)&v,c=o===b,u=this.nodes,l=u[s];if(c&&!l)return this;var p=ne(l,t,e+y,n,r,o,i,a);if(p===l)return this;var f=this.count;if(l){if(!p&&--f<he)return function(t,e,n,r){for(var o=0,i=0,a=new Array(n),s=0,c=1,u=e.length;s<u;s++,c<<=1){var l=e[s];void 0!==l&&s!==r&&(o|=c,a[i++]=l)}return new Wt(t,o,a)}(t,u,f,s)}else f++;var d=t&&t===this.ownerID,h=pe(u,s,p,d);return d?(this.count=f,this.nodes=h,this):new Qt(t,f,h)},Zt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(yt(n,o[i][0]))return o[i][1];return r},Zt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=Ct(r));var s=o===b;if(n!==this.keyHash)return s?this:(M(a),M(i),oe(this,t,e,n,[r,o]));for(var c=this.entries,u=0,l=c.length;u<l&&!yt(r,c[u][0]);u++);var p=u<l;if(p?c[u][1]===o:s)return this;if(M(a),(s||!p)&&M(i),s&&2===l)return new Vt(t,this.keyHash,c[1^u]);var f=t&&t===this.ownerID,d=f?c:k(c);return p?s?u===l-1?d.pop():d[u]=d.pop():d[u]=[r,o]:d.push([r,o]),f?(this.entries=d,this):new Zt(t,this.keyHash,d)},Vt.prototype.get=function(t,e,n,r){return yt(n,this.entry[0])?this.entry[1]:r},Vt.prototype.update=function(t,e,n,r,o,i,a){var s=o===b,c=yt(r,this.entry[0]);return(c?o===this.entry[1]:s)?this:(M(a),s?void M(i):c?t&&t===this.ownerID?(this.entry[1]=o,this):new Vt(t,this.keyHash,[r,o]):(M(i),oe(this,t,e,Ct(r),[r,o])))},Yt.prototype.iterate=Zt.prototype.iterate=function(t,e){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===t(n[e?o-r:r]))return!1},Wt.prototype.iterate=Qt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[e?o-r:r];if(i&&!1===i.iterate(t,e))return!1}},Vt.prototype.iterate=function(t,e){return t(this.entry)},e(Gt,B),Gt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,o=e.index++;if(r.entry){if(0===o)return Jt(t,r.entry)}else if(r.entries){if(o<=(n=r.entries.length-1))return Jt(t,r.entries[this._reverse?n-o:o])}else if(o<=(n=r.nodes.length-1)){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return Jt(t,i.entry);e=this._stack=Xt(i,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var fe=m/4,de=m/2,he=m/4;function ge(t){var e=ke();if(null==t)return e;if(ye(t))return t;var n=o(t),r=n.size;return 0===r?e:(Bt(r),r>0&&r<m?Ee(0,r,y,null,new be(n.toArray())):e.withMutations((function(t){t.setSize(r),n.forEach((function(e,n){return t.set(n,e)}))})))}function ye(t){return!(!t||!t[me])}e(ge,Mt),ge.of=function(){return this(arguments)},ge.prototype.toString=function(){return this.__toString("List [","]")},ge.prototype.get=function(t,e){if((t=C(this,t))>=0&&t<this.size){var n=je(this,t+=this._origin);return n&&n.array[t&v]}return e},ge.prototype.set=function(t,e){return function(t,e,n){if((e=C(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?Oe(t,e).set(0,n):Oe(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,o=t._root,i=w(S);return e>=Ie(t._capacity)?r=xe(r,t.__ownerID,0,e,n,i):o=xe(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):Ee(t._origin,t._capacity,t._level,o,r):t}(this,t,e)},ge.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},ge.prototype.insert=function(t,e){return this.splice(t,0,e)},ge.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=y,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):ke()},ge.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){Oe(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])}))},ge.prototype.pop=function(){return Oe(this,0,-1)},ge.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){Oe(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])}))},ge.prototype.shift=function(){return Oe(this,1)},ge.prototype.merge=function(){return De(this,void 0,arguments)},ge.prototype.mergeWith=function(e){return De(this,e,t.call(arguments,1))},ge.prototype.mergeDeep=function(){return De(this,ae,arguments)},ge.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return De(this,se(e),n)},ge.prototype.setSize=function(t){return Oe(this,0,t)},ge.prototype.slice=function(t,e){var n=this.size;return O(t,e,n)?this:Oe(this,D(t,n),I(e,n))},ge.prototype.__iterator=function(t,e){var n=0,r=Me(this,e);return new B((function(){var e=r();return e===we?{value:void 0,done:!0}:U(t,n++,e)}))},ge.prototype.__iterate=function(t,e){for(var n,r=0,o=Me(this,e);(n=o())!==we&&!1!==t(n,r++,this););return r},ge.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ee(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},ge.isList=ye;var me="@@__IMMUTABLE_LIST__@@",ve=ge.prototype;function be(t,e){this.array=t,this.ownerID=e}ve[me]=!0,ve[g]=ve.remove,ve.setIn=qt.setIn,ve.deleteIn=ve.removeIn=qt.removeIn,ve.update=qt.update,ve.updateIn=qt.updateIn,ve.mergeIn=qt.mergeIn,ve.mergeDeepIn=qt.mergeDeepIn,ve.withMutations=qt.withMutations,ve.asMutable=qt.asMutable,ve.asImmutable=qt.asImmutable,ve.wasAltered=qt.wasAltered,be.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&v;if(r>=this.array.length)return new be([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-y,n))===a&&i)return this}if(i&&!o)return this;var s=Ce(this,t);if(!i)for(var c=0;c<r;c++)s.array[c]=void 0;return o&&(s.array[r]=o),s},be.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,o=n-1>>>e&v;if(o>=this.array.length)return this;if(e>0){var i=this.array[o];if((r=i&&i.removeAfter(t,e-y,n))===i&&o===this.array.length-1)return this}var a=Ce(this,t);return a.array.splice(o+1),r&&(a.array[o]=r),a};var _e,Se,we={};function Me(t,e){var n=t._origin,r=t._capacity,o=Ie(r),i=t._tail;return a(t._root,t._level,0);function a(t,s,c){return 0===s?function(t,a){var s=a===o?i&&i.array:t&&t.array,c=a>n?0:n-a,u=r-a;return u>m&&(u=m),function(){if(c===u)return we;var t=e?--u:c++;return s&&s[t]}}(t,c):function(t,o,i){var s,c=t&&t.array,u=i>n?0:n-i>>o,l=1+(r-i>>o);return l>m&&(l=m),function(){for(;;){if(s){var t=s();if(t!==we)return t;s=null}if(u===l)return we;var n=e?--l:u++;s=a(c&&c[n],o-y,i+(n<<o))}}}(t,s,c)}}function Ee(t,e,n,r,o,i,a){var s=Object.create(ve);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function ke(){return _e||(_e=Ee(0,0,y))}function xe(t,e,n,r,o,i){var a,s=r>>>n&v,c=t&&s<t.array.length;if(!c&&void 0===o)return t;if(n>0){var u=t&&t.array[s],l=xe(u,e,n-y,r,o,i);return l===u?t:((a=Ce(t,e)).array[s]=l,a)}return c&&t.array[s]===o?t:(M(i),a=Ce(t,e),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function Ce(t,e){return e&&t&&e===t.ownerID?t:new be(t?t.array.slice():[],e)}function je(t,e){if(e>=Ie(t._capacity))return t._tail;if(e<1<<t._level+y){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&v],r-=y;return n}}function Oe(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new E,o=t._origin,i=t._capacity,a=o+e,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return t;if(a>=s)return t.clear();for(var c=t._level,u=t._root,l=0;a+l<0;)u=new be(u&&u.array.length?[void 0,u]:[],r),l+=1<<(c+=y);l&&(a+=l,o+=l,s+=l,i+=l);for(var p=Ie(i),f=Ie(s);f>=1<<c+y;)u=new be(u&&u.array.length?[u]:[],r),c+=y;var d=t._tail,h=f<p?je(t,s-1):f>p?new be([],r):d;if(d&&f>p&&a<i&&d.array.length){for(var g=u=Ce(u,r),m=c;m>y;m-=y){var b=p>>>m&v;g=g.array[b]=Ce(g.array[b],r)}g.array[p>>>y&v]=d}if(s<i&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,c=y,u=null,h=h&&h.removeBefore(r,0,a);else if(a>o||f<p){for(l=0;u;){var _=a>>>c&v;if(_!==f>>>c&v)break;_&&(l+=(1<<c)*_),c-=y,u=u.array[_]}u&&a>o&&(u=u.removeBefore(r,c,a-l)),u&&f<p&&(u=u.removeAfter(r,c,f-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=c,t._root=u,t._tail=h,t.__hash=void 0,t.__altered=!0,t):Ee(a,s,c,u,h)}function De(t,e,n){for(var r=[],i=0,s=0;s<n.length;s++){var c=n[s],u=o(c);u.size>i&&(i=u.size),a(c)||(u=u.map((function(t){return ft(t)}))),r.push(u)}return i>t.size&&(t=t.setSize(i)),ce(t,e,r)}function Ie(t){return t<m?0:t-1>>>y<<y}function Le(t){return null==t?Te():Ne(t)?t:Te().withMutations((function(e){var n=r(t);Bt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Ne(t){return Ft(t)&&l(t)}function Ae(t,e,n,r){var o=Object.create(Le.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function Te(){return Se||(Se=Ae(te(),ke()))}function ze(t,e,n){var r,o,i=t._map,a=t._list,s=i.get(e),c=void 0!==s;if(n===b){if(!c)return t;a.size>=m&&a.size>=2*i.size?(r=(o=a.filter((function(t,e){return void 0!==t&&s!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(r.__ownerID=o.__ownerID=t.__ownerID)):(r=i.remove(e),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(c){if(n===a.get(s)[1])return t;r=i,o=a.set(s,[e,n])}else r=i.set(e,a.size),o=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=o,t.__hash=void 0,t):Ae(r,o)}function Re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Pe(t){this._iter=t,this.size=t.size}function Be(t){this._iter=t,this.size=t.size}function Ue(t){this._iter=t,this.size=t.size}function Fe(t){var e=nn(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=rn,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(e===T){var r=t.__iterator(e,n);return new B((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(e===A?N:A,n)},e}function Ke(t,e,n){var r=nn(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,b);return i===b?o:e.call(n,i,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate((function(t,o,a){return!1!==r(e.call(n,t,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(T,o);return new B((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return U(r,s,e.call(n,a[1],s,t),o)}))},r}function He(t,e){var n=nn(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=Fe(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=rn,n.__iterate=function(e,n){var r=this;return t.__iterate((function(t,n){return e(t,n,r)}),!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function qe(t,e,n,r){var o=nn(t);return r&&(o.has=function(r){var o=t.get(r,b);return o!==b&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,b);return i!==b&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate((function(t,i,c){if(e.call(n,t,i,c))return s++,o(t,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(T,i),s=0;return new B((function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,u=c[0],l=c[1];if(e.call(n,l,u,t))return U(o,r?u:s++,l,i)}}))},o}function Ye(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),O(e,n,o))return t;var i=D(e,o),a=I(n,o);if(i!=i||a!=a)return Ye(t.toSeq().cacheResult(),e,n,r);var s,c=a-i;c==c&&(s=c<0?0:c);var u=nn(t);return u.size=0===s?s:t.size&&s||void 0,!r&&it(t)&&s>=0&&(u.get=function(e,n){return(e=C(this,e))>=0&&e<s?t.get(e+i,n):n}),u.__iterateUncached=function(e,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,c=!0,u=0;return t.__iterate((function(t,n){if(!c||!(c=a++<i))return u++,!1!==e(t,r?n:u-1,o)&&u!==s})),u},u.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);var o=0!==s&&t.__iterator(e,n),a=0,c=0;return new B((function(){for(;a++<i;)o.next();if(++c>s)return{value:void 0,done:!0};var t=o.next();return r||e===A?t:U(e,c-1,e===N?void 0:t.value[1],t)}))},u}function We(t,e,n,r){var o=nn(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return t.__iterate((function(t,i,u){if(!s||!(s=e.call(n,t,i,u)))return c++,o(t,r?i:c-1,a)})),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(T,i),c=!0,u=0;return new B((function(){var t,i,l;do{if((t=s.next()).done)return r||o===A?t:U(o,u++,o===N?void 0:t.value[1],t);var p=t.value;i=p[0],l=p[1],c&&(c=e.call(n,l,i,a))}while(c);return o===T?t:U(o,i,l,t)}))},o}function Qe(t,e,n){var r=nn(t);return r.__iterateUncached=function(r,o){var i=0,s=!1;return function t(c,u){var l=this;c.__iterate((function(o,c){return(!e||u<e)&&a(o)?t(o,u+1):!1===r(o,n?c:i++,l)&&(s=!0),!s}),o)}(t,0),i},r.__iteratorUncached=function(r,o){var i=t.__iterator(r,o),s=[],c=0;return new B((function(){for(;i;){var t=i.next();if(!1===t.done){var u=t.value;if(r===T&&(u=u[1]),e&&!(s.length<e)||!a(u))return n?t:U(r,c++,u,t);s.push(i),i=u.__iterator(r,o)}else i=s.pop()}return{value:void 0,done:!0}}))},r}function Ze(t,e,n){e||(e=on);var r=s(t),o=0,i=t.toSeq().map((function(e,r){return[r,e,o++,n?n(e,r,t):e]})).toArray();return i.sort((function(t,n){return e(t[3],n[3])||t[2]-n[2]})).forEach(r?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),r?Z(i):c(t)?V(i):G(i)}function Ve(t,e,n){if(e||(e=on),n){var r=t.toSeq().map((function(e,r){return[e,n(e,r,t)]})).reduce((function(t,n){return Ge(e,t[1],n[1])?n:t}));return r&&r[0]}return t.reduce((function(t,n){return Ge(e,t,n)?n:t}))}function Ge(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Je(t,e,r){var o=nn(t);return o.size=new et(r).map((function(t){return t.size})).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(A,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=r.map((function(t){return t=n(t),q(o?t.reverse():t)})),a=0,s=!1;return new B((function(){var n;return s||(n=i.map((function(t){return t.next()})),s=n.some((function(t){return t.done}))),s?{value:void 0,done:!0}:U(t,a++,e.apply(null,n.map((function(t){return t.value}))))}))},o}function Xe(t,e){return it(t)?e:t.constructor(e)}function $e(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function tn(t){return Bt(t.size),x(t)}function en(t){return s(t)?r:c(t)?o:i}function nn(t){return Object.create((s(t)?Z:c(t)?V:G).prototype)}function rn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Q.prototype.cacheResult.call(this)}function on(t,e){return t>e?1:t<e?-1:0}function an(t){var e=q(t);if(!e){if(!W(t))throw new TypeError("Expected iterable or array-like: "+t);e=q(n(t))}return e}function sn(t,e){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(t);(function(t,e){try{e.forEach(pn.bind(void 0,t))}catch(t){}})(o,a),o.size=a.length,o._name=e,o._keys=a,o._defaultValues=t}this._map=Ut(i)},o=r.prototype=Object.create(cn);return o.constructor=r,r}e(Le,Ut),Le.of=function(){return this(arguments)},Le.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Le.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Le.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Te()},Le.prototype.set=function(t,e){return ze(this,t,e)},Le.prototype.remove=function(t){return ze(this,t,b)},Le.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Le.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},Le.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Le.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?Ae(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Le.isOrderedMap=Ne,Le.prototype[h]=!0,Le.prototype[g]=Le.prototype.remove,e(Re,Z),Re.prototype.get=function(t,e){return this._iter.get(t,e)},Re.prototype.has=function(t){return this._iter.has(t)},Re.prototype.valueSeq=function(){return this._iter.valueSeq()},Re.prototype.reverse=function(){var t=this,e=He(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Re.prototype.map=function(t,e){var n=this,r=Ke(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},Re.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?tn(this):0,function(o){return t(o,e?--n:n++,r)}),e)},Re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(A,e),r=e?tn(this):0;return new B((function(){var o=n.next();return o.done?o:U(t,e?--r:r++,o.value,o)}))},Re.prototype[h]=!0,e(Pe,V),Pe.prototype.includes=function(t){return this._iter.includes(t)},Pe.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate((function(e){return t(e,r++,n)}),e)},Pe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(A,e),r=0;return new B((function(){var e=n.next();return e.done?e:U(t,r++,e.value,e)}))},e(Be,G),Be.prototype.has=function(t){return this._iter.includes(t)},Be.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){return t(e,e,n)}),e)},Be.prototype.__iterator=function(t,e){var n=this._iter.__iterator(A,e);return new B((function(){var e=n.next();return e.done?e:U(t,e.value,e.value,e)}))},e(Ue,Z),Ue.prototype.entrySeq=function(){return this._iter.toSeq()},Ue.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){if(e){$e(e);var r=a(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}}),e)},Ue.prototype.__iterator=function(t,e){var n=this._iter.__iterator(A,e);return new B((function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){$e(r);var o=a(r);return U(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}}))},Pe.prototype.cacheResult=Re.prototype.cacheResult=Be.prototype.cacheResult=Ue.prototype.cacheResult=rn,e(sn,wt),sn.prototype.toString=function(){return this.__toString(ln(this)+" {","}")},sn.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},sn.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},sn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=un(this,te()))},sn.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+ln(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:un(this,n)},sn.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:un(this,e)},sn.prototype.wasAltered=function(){return this._map.wasAltered()},sn.prototype.__iterator=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterator(t,e)},sn.prototype.__iterate=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterate(t,e)},sn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?un(this,e,t):(this.__ownerID=t,this._map=e,this)};var cn=sn.prototype;function un(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function ln(t){return t._name||t.constructor.name||"Record"}function pn(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){bt(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function fn(t){return null==t?bn():dn(t)&&!l(t)?t:bn().withMutations((function(e){var n=i(t);Bt(n.size),n.forEach((function(t){return e.add(t)}))}))}function dn(t){return!(!t||!t[gn])}cn[g]=cn.remove,cn.deleteIn=cn.removeIn=qt.removeIn,cn.merge=qt.merge,cn.mergeWith=qt.mergeWith,cn.mergeIn=qt.mergeIn,cn.mergeDeep=qt.mergeDeep,cn.mergeDeepWith=qt.mergeDeepWith,cn.mergeDeepIn=qt.mergeDeepIn,cn.setIn=qt.setIn,cn.update=qt.update,cn.updateIn=qt.updateIn,cn.withMutations=qt.withMutations,cn.asMutable=qt.asMutable,cn.asImmutable=qt.asImmutable,e(fn,Et),fn.of=function(){return this(arguments)},fn.fromKeys=function(t){return this(r(t).keySeq())},fn.prototype.toString=function(){return this.__toString("Set {","}")},fn.prototype.has=function(t){return this._map.has(t)},fn.prototype.add=function(t){return mn(this,this._map.set(t,!0))},fn.prototype.remove=function(t){return mn(this,this._map.remove(t))},fn.prototype.clear=function(){return mn(this,this._map.clear())},fn.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(t){for(var n=0;n<e.length;n++)i(e[n]).forEach((function(e){return t.add(e)}))})):this.constructor(e[0])},fn.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return i(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.every((function(t){return t.includes(n)}))||t.remove(n)}))}))},fn.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return i(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.some((function(t){return t.includes(n)}))&&t.remove(n)}))}))},fn.prototype.merge=function(){return this.union.apply(this,arguments)},fn.prototype.mergeWith=function(e){var n=t.call(arguments,1);return this.union.apply(this,n)},fn.prototype.sort=function(t){return _n(Ze(this,t))},fn.prototype.sortBy=function(t,e){return _n(Ze(this,e,t))},fn.prototype.wasAltered=function(){return this._map.wasAltered()},fn.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate((function(e,r){return t(r,r,n)}),e)},fn.prototype.__iterator=function(t,e){return this._map.map((function(t,e){return e})).__iterator(t,e)},fn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},fn.isSet=dn;var hn,gn="@@__IMMUTABLE_SET__@@",yn=fn.prototype;function mn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function vn(t,e){var n=Object.create(yn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function bn(){return hn||(hn=vn(te()))}function _n(t){return null==t?kn():Sn(t)?t:kn().withMutations((function(e){var n=i(t);Bt(n.size),n.forEach((function(t){return e.add(t)}))}))}function Sn(t){return dn(t)&&l(t)}yn[gn]=!0,yn[g]=yn.remove,yn.mergeDeep=yn.merge,yn.mergeDeepWith=yn.mergeWith,yn.withMutations=qt.withMutations,yn.asMutable=qt.asMutable,yn.asImmutable=qt.asImmutable,yn.__empty=bn,yn.__make=vn,e(_n,fn),_n.of=function(){return this(arguments)},_n.fromKeys=function(t){return this(r(t).keySeq())},_n.prototype.toString=function(){return this.__toString("OrderedSet {","}")},_n.isOrderedSet=Sn;var wn,Mn=_n.prototype;function En(t,e){var n=Object.create(Mn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function kn(){return wn||(wn=En(Te()))}function xn(t){return null==t?Ln():Cn(t)?t:Ln().unshiftAll(t)}function Cn(t){return!(!t||!t[On])}Mn[h]=!0,Mn.__empty=kn,Mn.__make=En,e(xn,Mt),xn.of=function(){return this(arguments)},xn.prototype.toString=function(){return this.__toString("Stack [","]")},xn.prototype.get=function(t,e){var n=this._head;for(t=C(this,t);n&&t--;)n=n.next;return n?n.value:e},xn.prototype.peek=function(){return this._head&&this._head.value},xn.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):In(t,e)},xn.prototype.pushAll=function(t){if(0===(t=o(t)).size)return this;Bt(t.size);var e=this.size,n=this._head;return t.reverse().forEach((function(t){e++,n={value:t,next:n}})),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):In(e,n)},xn.prototype.pop=function(){return this.slice(1)},xn.prototype.unshift=function(){return this.push.apply(this,arguments)},xn.prototype.unshiftAll=function(t){return this.pushAll(t)},xn.prototype.shift=function(){return this.pop.apply(this,arguments)},xn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Ln()},xn.prototype.slice=function(t,e){if(O(t,e,this.size))return this;var n=D(t,this.size);if(I(e,this.size)!==this.size)return Mt.prototype.slice.call(this,t,e);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):In(r,o)},xn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?In(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},xn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},xn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new B((function(){if(r){var e=r.value;return r=r.next,U(t,n++,e)}return{value:void 0,done:!0}}))},xn.isStack=Cn;var jn,On="@@__IMMUTABLE_STACK__@@",Dn=xn.prototype;function In(t,e,n,r){var o=Object.create(Dn);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Ln(){return jn||(jn=In(0))}function Nn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}Dn[On]=!0,Dn.withMutations=qt.withMutations,Dn.asMutable=qt.asMutable,Dn.asImmutable=qt.asImmutable,Dn.wasAltered=qt.wasAltered,n.Iterator=B,Nn(n,{toArray:function(){Bt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,n){t[n]=e})),t},toIndexedSeq:function(){return new Pe(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Re(this,!0)},toMap:function(){return Ut(this.toKeyedSeq())},toObject:function(){Bt(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t},toOrderedMap:function(){return Le(this.toKeyedSeq())},toOrderedSet:function(){return _n(s(this)?this.valueSeq():this)},toSet:function(){return fn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Be(this)},toSeq:function(){return c(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return xn(s(this)?this.valueSeq():this)},toList:function(){return ge(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Xe(this,function(t,e){var n=s(t),o=[t].concat(e).map((function(t){return a(t)?n&&(t=r(t)):t=n?st(t):ct(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===o.length)return t;if(1===o.length){var i=o[0];if(i===t||n&&s(i)||c(t)&&c(i))return i}var u=new et(o);return n?u=u.toKeyedSeq():c(t)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=o.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),u}(this,t.call(arguments,0)))},includes:function(t){return this.some((function(e){return yt(e,t)}))},entries:function(){return this.__iterator(T)},every:function(t,e){Bt(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1})),n},filter:function(t,e){return Xe(this,qe(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},findEntry:function(t,e){var n;return this.__iterate((function(r,o,i){if(t.call(e,r,o,i))return n=[o,r],!1})),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return Bt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Bt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(N)},map:function(t,e){return Xe(this,Ke(this,t,e))},reduce:function(t,e,n){var r,o;return Bt(this.size),arguments.length<2?o=!0:r=e,this.__iterate((function(e,i,a){o?(o=!1,r=e):r=t.call(n,r,e,i,a)})),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Xe(this,He(this,!0))},slice:function(t,e){return Xe(this,Ye(this,t,e,!0))},some:function(t,e){return!this.every(Pn(t),e)},sort:function(t){return Xe(this,Ze(this,t))},values:function(){return this.__iterator(A)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return x(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=Ut().asMutable();return t.__iterate((function(o,i){r.update(e.call(n,o,i,t),0,(function(t){return t+1}))})),r.asImmutable()}(this,t,e)},equals:function(t){return mt(this,t)},entrySeq:function(){var t=this;if(t._cache)return new et(t._cache);var e=t.toSeq().map(Rn).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Pn(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(j)},flatMap:function(t,e){return Xe(this,function(t,e,n){var r=en(t);return t.toSeq().map((function(o,i){return r(e.call(n,o,i,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Xe(this,Qe(this,t,!0))},fromEntrySeq:function(){return new Ue(this)},get:function(t,e){return this.find((function(e,n){return yt(n,t)}),void 0,e)},getIn:function(t,e){for(var n,r=this,o=an(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,b):b)===b)return e}return r},groupBy:function(t,e){return function(t,e,n){var r=s(t),o=(l(t)?Le():Ut()).asMutable();t.__iterate((function(i,a){o.update(e.call(n,i,a,t),(function(t){return(t=t||[]).push(r?[a,i]:i),t}))}));var i=en(t);return o.map((function(e){return Xe(t,i(e))}))}(this,t,e)},has:function(t){return this.get(t,b)!==b},hasIn:function(t){return this.getIn(t,b)!==b},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(zn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return Ve(this,t)},maxBy:function(t,e){return Ve(this,e,t)},min:function(t){return Ve(this,t?Bn(t):Kn)},minBy:function(t,e){return Ve(this,e?Bn(e):Kn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Xe(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Xe(this,We(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Pn(t),e)},sortBy:function(t,e){return Xe(this,Ze(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Xe(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Xe(this,function(t,e,n){var r=nn(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate((function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(T,o),s=!0;return new B((function(){if(!s)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var o=t.value,c=o[0],u=o[1];return e.call(n,u,c,i)?r===T?t:U(r,c,u,t):(s=!1,{value:void 0,done:!0})}))},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Pn(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=l(t),n=s(t),r=e?1:0;return function(t,e){return e=kt(e,3432918353),e=kt(e<<15|e>>>-15,461845907),e=kt(e<<13|e>>>-13,5),e=kt((e=(e+3864292196|0)^t)^e>>>16,2246822507),xt((e=kt(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+Hn(Ct(t),Ct(e))|0}:function(t,e){r=r+Hn(Ct(t),Ct(e))|0}:e?function(t){r=31*r+Ct(t)|0}:function(t){r=r+Ct(t)|0}),r)}(this))}});var An=n.prototype;An[p]=!0,An[P]=An.values,An.__toJS=An.toArray,An.__toStringMapper=Un,An.inspect=An.toSource=function(){return this.toString()},An.chain=An.flatMap,An.contains=An.includes,function(){try{Object.defineProperty(An,"length",{get:function(){if(!n.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),Nn(r,{flip:function(){return Xe(this,Fe(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey((function(e){return yt(e,t)}))},lastKeyOf:function(t){return this.findLastKey((function(e){return yt(e,t)}))},mapEntries:function(t,e){var n=this,r=0;return Xe(this,this.toSeq().map((function(o,i){return t.call(e,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Xe(this,this.toSeq().flip().map((function(r,o){return t.call(e,r,o,n)})).flip())}});var Tn=r.prototype;function zn(t,e){return e}function Rn(t,e){return[e,t]}function Pn(t){return function(){return!t.apply(this,arguments)}}function Bn(t){return function(){return-t.apply(this,arguments)}}function Un(t){return"string"==typeof t?JSON.stringify(t):t}function Fn(){return k(arguments)}function Kn(t,e){return t<e?1:t>e?-1:0}function Hn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return Tn[f]=!0,Tn[P]=An.entries,Tn.__toJS=An.toObject,Tn.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+Un(t)},Nn(o,{toKeyedSeq:function(){return new Re(this,!1)},filter:function(t,e){return Xe(this,qe(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Xe(this,He(this,!1))},slice:function(t,e){return Xe(this,Ye(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=D(t,t<0?this.count():this.size);var r=this.slice(0,t);return Xe(this,1===n?r:r.concat(k(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return Xe(this,Qe(this,t,!1))},get:function(t,e){return(t=C(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=C(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Xe(this,function(t,e){var n=nn(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return t.__iterate((function(t,r){return(!i||!1!==n(e,i++,o))&&!1!==n(t,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=t.__iterator(A,r),a=0;return new B((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?U(n,a++,e):U(n,a++,o.value,o)}))},n}(this,t))},interleave:function(){var t=[this].concat(k(arguments)),e=Je(this.toSeq(),V.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Xe(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Xe(this,We(this,t,e,!1))},zip:function(){return Xe(this,Je(this,Fn,[this].concat(k(arguments))))},zipWith:function(t){var e=k(arguments);return e[0]=this,Xe(this,Je(this,t,e))}}),o.prototype[d]=!0,o.prototype[h]=!0,Nn(i,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=An.includes,Nn(Z,r.prototype),Nn(V,o.prototype),Nn(G,i.prototype),Nn(wt,r.prototype),Nn(Mt,o.prototype),Nn(Et,i.prototype),{Iterable:n,Seq:Q,Collection:St,Map:Ut,OrderedMap:Le,List:ge,Stack:xn,Set:fn,OrderedSet:_n,Record:sn,Range:_t,Repeat:vt,is:yt,fromJS:ft}}()},82568:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(38046),a=n(28),s=n(39806),c=n(47724),u=n(84055),l=n(46238),p=n(84894),f=n(27936),d=n(18489),h=n(58710),g=f("draft_tree_data_support"),y=g?c:s,m=d.List,v=d.Repeat,b={insertAtomicBlock:function(t,e,n){var o=t.getCurrentContent(),s=t.getSelection(),c=u.removeRange(o,s,"backward"),f=c.getSelectionAfter(),d=u.splitBlock(c,f),h=d.getSelectionAfter(),b=u.setBlockType(d,h,"atomic"),_=a.create({entity:e}),S={key:p(),type:"atomic",text:n,characterList:m(v(_,n.length))},w={key:p(),type:"unstyled"};g&&(S=r({},S,{nextSibling:w.key}),w=r({},w,{prevSibling:S.key}));var M=[new y(S),new y(w)],E=i.createFromArray(M),k=u.replaceWithFragment(b,h,E),x=k.merge({selectionBefore:s,selectionAfter:k.getSelectionAfter().set("hasFocus",!0)});return l.push(t,x,"insert-fragment")},moveAtomicBlock:function(t,e,n,r){var o,i=t.getCurrentContent(),a=t.getSelection();if("before"===r||"after"===r){var s=i.getBlockForKey("before"===r?n.getStartKey():n.getEndKey());o=h(i,e,s,r)}else{var c=u.removeRange(i,n,"backward"),p=c.getSelectionAfter(),f=c.getBlockForKey(p.getFocusKey());if(0===p.getStartOffset())o=h(c,e,f,"before");else if(p.getEndOffset()===f.getLength())o=h(c,e,f,"after");else{var d=u.splitBlock(c,p),g=d.getSelectionAfter(),y=d.getBlockForKey(g.getFocusKey());o=h(d,e,y,"before")}}var m=o.merge({selectionBefore:a,selectionAfter:o.getSelectionAfter().set("hasFocus",!0)});return l.push(t,m,"move-block")}};t.exports=b},38046:(t,e,n)=>{"use strict";var r=n(18489).OrderedMap,o={createFromArray:function(t){return r(t.map((function(t){return[t.getKey(),t]})))}};t.exports=o},34014:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(90754),i=n(14723),a=n(18489),s=a.List,c=a.Repeat,u=a.Record,l=function(){return!0},p=u({start:null,end:null}),f=u({start:null,end:null,decoratorKey:null,leaves:null}),d={generate:function(t,e,n){var r=e.getLength();if(!r)return s.of(new f({start:0,end:0,decoratorKey:null,leaves:s.of(new p({start:0,end:0}))}));var i=[],a=n?n.getDecorations(e,t):s(c(null,r)),u=e.getCharacterList();return o(a,h,l,(function(t,e){var n,r,c,d;i.push(new f({start:t,end:e,decoratorKey:a.get(t),leaves:(n=u.slice(t,e).toList(),r=t,c=[],d=n.map((function(t){return t.getStyle()})).toList(),o(d,h,l,(function(t,e){c.push(new p({start:t+r,end:e+r}))})),s(c))}))})),s(i)},fromJS:function(t){var e=t.leaves,n=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,["leaves"]);return new f(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){r(t,e,n[e])}))}return t}({},n,{leaves:null!=e?s(Array.isArray(e)?e:i(e)).map((function(t){return p(t)})):null}))}};function h(t,e){return t===e}t.exports=d},28:(t,e,n)=>{"use strict";var r=n(18489),o=r.Map,i=r.OrderedSet,a=r.Record,s=i(),c={style:s,entity:null},u=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=r.prototype;return a.getStyle=function(){return this.get("style")},a.getEntity=function(){return this.get("entity")},a.hasStyle=function(t){return this.getStyle().includes(t)},r.applyStyle=function(t,e){var n=t.set("style",t.getStyle().add(e));return r.create(n)},r.removeStyle=function(t,e){var n=t.set("style",t.getStyle().remove(e));return r.create(n)},r.applyEntity=function(t,e){var n=t.getEntity()===e?t:t.set("entity",e);return r.create(n)},r.create=function(t){if(!t)return l;var e=o({style:s,entity:null}).merge(t),n=p.get(e);if(n)return n;var i=new r(e);return p=p.set(e,i),i},r.fromJS=function(t){var e=t.style,n=t.entity;return new r({style:Array.isArray(e)?i(e):e,entity:Array.isArray(n)?i(n):n})},r}(a(c)),l=new u,p=o([[o(c),l]]);u.EMPTY=l,t.exports=u},68542:(t,e,n)=>{"use strict";var r=n(18489).List,o=function(){function t(t){var e,n;n=void 0,(e="_decorators")in this?Object.defineProperty(this,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):this[e]=n,this._decorators=t.slice()}var e=t.prototype;return e.getDecorations=function(t,e){var n=Array(t.getText().length).fill(null);return this._decorators.forEach((function(r,o){var i=0;(0,r.strategy)(t,(function(t,e){(function(t,e,n){for(var r=e;r<n;r++)if(null!=t[r])return!1;return!0})(n,t,e)&&(function(t,e,n,r){for(var o=e;o<n;o++)t[o]=r}(n,t,e,o+"."+i),i++)}),e)})),r(n)},e.getComponentForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].component},e.getPropsForKey=function(t){var e=parseInt(t.split(".")[0],10);return this._decorators[e].props},t}();t.exports=o},39806:(t,e,n)=>{"use strict";var r=n(28),o=n(90754),i=n(18489),a=i.List,s=i.Map,c=i.OrderedSet,u=i.Record,l=i.Repeat,p=c(),f=function(t){var e,n;function i(e){return t.call(this,function(t){if(!t)return t;var e=t.characterList,n=t.text;return n&&!e&&(t.characterList=a(l(r.EMPTY,n.length))),t}(e))||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=i.prototype;return s.getKey=function(){return this.get("key")},s.getType=function(){return this.get("type")},s.getText=function(){return this.get("text")},s.getCharacterList=function(){return this.get("characterList")},s.getLength=function(){return this.getText().length},s.getDepth=function(){return this.get("depth")},s.getData=function(){return this.get("data")},s.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():p},s.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},s.findStyleRanges=function(t,e){o(this.getCharacterList(),d,t,e)},s.findEntityRanges=function(t,e){o(this.getCharacterList(),h,t,e)},i}(u({key:"",type:"unstyled",text:"",characterList:a(),depth:0,data:s()}));function d(t,e){return t.getStyle()===e.getStyle()}function h(t,e){return t.getEntity()===e.getEntity()}t.exports=f},47724:(t,e,n)=>{"use strict";var r=n(28),o=n(90754),i=n(18489),a=i.List,s=i.Map,c=i.OrderedSet,u=i.Record,l=i.Repeat,p=c(),f={parent:null,characterList:a(),data:s(),depth:0,key:"",text:"",type:"unstyled",children:a(),prevSibling:null,nextSibling:null},d=function(t,e){return t.getStyle()===e.getStyle()},h=function(t,e){return t.getEntity()===e.getEntity()},g=function(t){var e,n;function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;return t.call(this,function(t){if(!t)return t;var e=t.characterList,n=t.text;return n&&!e&&(t.characterList=a(l(r.EMPTY,n.length))),t}(e))||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=i.prototype;return s.getKey=function(){return this.get("key")},s.getType=function(){return this.get("type")},s.getText=function(){return this.get("text")},s.getCharacterList=function(){return this.get("characterList")},s.getLength=function(){return this.getText().length},s.getDepth=function(){return this.get("depth")},s.getData=function(){return this.get("data")},s.getInlineStyleAt=function(t){var e=this.getCharacterList().get(t);return e?e.getStyle():p},s.getEntityAt=function(t){var e=this.getCharacterList().get(t);return e?e.getEntity():null},s.getChildKeys=function(){return this.get("children")},s.getParentKey=function(){return this.get("parent")},s.getPrevSiblingKey=function(){return this.get("prevSibling")},s.getNextSiblingKey=function(){return this.get("nextSibling")},s.findStyleRanges=function(t,e){o(this.getCharacterList(),d,t,e)},s.findEntityRanges=function(t,e){o(this.getCharacterList(),h,t,e)},i}(u(f));t.exports=g},10789:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(38046),a=n(28),s=n(39806),c=n(47724),u=n(3031),l=n(69806),p=n(84894),f=n(14723),d=n(27936),h=n(18489),g=n(24844),y=h.List,m=h.Record,v=h.Repeat,b=h.Map,_=h.OrderedMap,S=m({entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null}),w=d("draft_tree_data_support")?c:s,M=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=o.prototype;return s.getEntityMap=function(){return u},s.getBlockMap=function(){return this.get("blockMap")},s.getSelectionBefore=function(){return this.get("selectionBefore")},s.getSelectionAfter=function(){return this.get("selectionAfter")},s.getBlockForKey=function(t){return this.getBlockMap().get(t)},s.getKeyBefore=function(t){return this.getBlockMap().reverse().keySeq().skipUntil((function(e){return e===t})).skip(1).first()},s.getKeyAfter=function(t){return this.getBlockMap().keySeq().skipUntil((function(e){return e===t})).skip(1).first()},s.getBlockAfter=function(t){return this.getBlockMap().skipUntil((function(e,n){return n===t})).skip(1).first()},s.getBlockBefore=function(t){return this.getBlockMap().reverse().skipUntil((function(e,n){return n===t})).skip(1).first()},s.getBlocksAsArray=function(){return this.getBlockMap().toArray()},s.getFirstBlock=function(){return this.getBlockMap().first()},s.getLastBlock=function(){return this.getBlockMap().last()},s.getPlainText=function(t){return this.getBlockMap().map((function(t){return t?t.getText():""})).join(t||"\n")},s.getLastCreatedEntityKey=function(){return u.__getLastCreatedEntityKey()},s.hasText=function(){var t=this.getBlockMap();return t.size>1||escape(t.first().getText()).replace(/%u200B/g,"").length>0},s.createEntity=function(t,e,n){return u.__create(t,e,n),this},s.mergeEntityData=function(t,e){return u.__mergeData(t,e),this},s.replaceEntityData=function(t,e){return u.__replaceData(t,e),this},s.addEntity=function(t){return u.__add(t),this},s.getEntity=function(t){return u.__get(t)},s.getAllEntities=function(){return u.__getAll()},s.loadWithEntities=function(t){return u.__loadWithEntities(t)},o.createFromBlockArray=function(t,e){var n=Array.isArray(t)?t:t.contentBlocks,r=i.createFromArray(n),a=r.isEmpty()?new l:l.createEmpty(r.first().getKey());return new o({blockMap:r,entityMap:e||u,selectionBefore:a,selectionAfter:a})},o.createFromText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\r\n?|\n/g,n=t.split(e).map((function(t){return t=g(t),new w({key:p(),text:t,type:"unstyled",characterList:y(v(a.EMPTY,t.length))})}));return o.createFromBlockArray(n)},o.fromJS=function(t){return new o(r({},t,{blockMap:_(t.blockMap).map(o.createContentBlockFromJS),selectionBefore:new l(t.selectionBefore),selectionAfter:new l(t.selectionAfter)}))},o.createContentBlockFromJS=function(t){var e=t.characterList;return new w(r({},t,{data:b(t.data),characterList:null!=e?y((Array.isArray(e)?e:f(e)).map((function(t){return a.fromJS(t)}))):void 0}))},o}(S);t.exports=M},76520:(t,e,n)=>{"use strict";var r=n(28),o=n(18489).Map,i={add:function(t,e,n){return a(t,e,n,!0)},remove:function(t,e,n){return a(t,e,n,!1)}};function a(t,e,n,i){var a=t.getBlockMap(),s=e.getStartKey(),c=e.getStartOffset(),u=e.getEndKey(),l=e.getEndOffset(),p=a.skipUntil((function(t,e){return e===s})).takeUntil((function(t,e){return e===u})).concat(o([[u,a.get(u)]])).map((function(t,e){var o,a;s===u?(o=c,a=l):(o=e===s?c:0,a=e===u?l:t.getLength());for(var p,f=t.getCharacterList();o<a;)p=f.get(o),f=f.set(o,i?r.applyStyle(p,n):r.removeStyle(p,n)),o++;return t.set("characterList",f)}));return t.merge({blockMap:a.merge(p),selectionBefore:e,selectionAfter:e})}t.exports=i},74241:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(91355),i=n(59321),a=n(52868),s=n(18489),c=n(73012),u=n(98392),l=s.Map,p={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},f=o.isBrowser("IE <= 11"),d=function(){function t(t){var e=this;r(this,"observer",void 0),r(this,"container",void 0),r(this,"mutations",void 0),r(this,"onCharData",void 0),this.container=t,this.mutations=l();var n=a(t);n.MutationObserver&&!f?this.observer=new n.MutationObserver((function(t){return e.registerMutations(t)})):this.onCharData=function(t){t.target instanceof Node||c(!1),e.registerMutation({type:"characterData",target:t.target})}}var e=t.prototype;return e.start=function(){this.observer?this.observer.observe(this.container,p):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},e.stopAndFlushMutations=function(){var t=this.observer;t?(this.registerMutations(t.takeRecords()),t.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var e=this.mutations;return this.mutations=l(),e},e.registerMutations=function(t){for(var e=0;e<t.length;e++)this.registerMutation(t[e])},e.getMutationTextContent=function(t){var e=t.type,n=t.target,r=t.removedNodes;if("characterData"===e){if(""!==n.textContent)return f?n.textContent.replace("\n",""):n.textContent}else if("childList"===e){if(r&&r.length)return"";if(""!==n.textContent)return n.textContent}return null},e.registerMutation=function(t){var e=this.getMutationTextContent(t);if(null!=e){var n=u(i(t.target));this.mutations=this.mutations.set(n,e)}},t}();t.exports=d},74682:(t,e,n)=>{"use strict";var r=n(32735),o=n(2775),i=(0,n(18489).Map)({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:r.createElement("ul",{className:o("public/DraftStyleDefault/ul")})},"ordered-list-item":{element:"li",wrapper:r.createElement("ol",{className:o("public/DraftStyleDefault/ol")})},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:r.createElement("pre",{className:o("public/DraftStyleDefault/pre")})},unstyled:{element:"div",aliasedElements:["p"]}});t.exports=i},45608:t=>{"use strict";t.exports={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}}},6880:(t,e,n)=>{"use strict";var r=n(82568),o=n(38046),i=n(28),a=n(68542),s=n(39806),c=n(10789),u=n(74682),l=n(45608),p=n(75949),f=n(84030),d=n(3031),h=n(84055),g=n(91825),y=n(46238),m=n(76944),v=n(28484),b=n(93626),_=n(69806),S=n(40313),w=n(80618),M=n(84894),E=n(91741),k=n(602),x={Editor:p,EditorBlock:f,EditorState:y,CompositeDecorator:a,Entity:d,EntityInstance:g,BlockMapBuilder:o,CharacterMetadata:i,ContentBlock:s,ContentState:c,RawDraftContentState:v,SelectionState:_,AtomicBlockUtils:r,KeyBindingUtil:m,Modifier:h,RichUtils:b,DefaultDraftBlockRenderMap:u,DefaultDraftInlineStyle:l,convertFromHTML:n(97614),convertFromRaw:w,convertToRaw:S,genKey:M,getDefaultKeyBinding:E,getVisibleSelectionRect:k};t.exports=x},75949:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){s(t,e,n[e])}))}return t}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var u=n(74682),l=n(45608),p=n(3431),f=n(10989),d=n(83567),h=n(49199),g=n(823),y=n(20398),m=n(62599),v=n(46238),b=n(32735),_=n(31675),S=n(99986),w=n(91355),M=n(2775),E=n(84894),k=n(91741),x=n(51702),C=n(27936),j=n(73012),O=n(8187),D=n(98392),I=w.isBrowser("IE"),L=!I,N={edit:h,composite:p,drag:d,cut:null,render:null},A=!1,T=function(t){function e(){return t.apply(this,arguments)||this}c(e,t);var n=e.prototype;return n.render=function(){return null},n.componentDidMount=function(){this._update()},n.componentDidUpdate=function(){this._update()},n._update=function(){var t=this.props.editor;t._latestEditorState=this.props.editorState,t._blockSelectEvents=!0},e}(b.Component),z=function(t){function e(e){var n;return s(a(n=t.call(this,e)||this),"_blockSelectEvents",void 0),s(a(n),"_clipboard",void 0),s(a(n),"_handler",void 0),s(a(n),"_dragCount",void 0),s(a(n),"_internalDrag",void 0),s(a(n),"_editorKey",void 0),s(a(n),"_placeholderAccessibilityID",void 0),s(a(n),"_latestEditorState",void 0),s(a(n),"_latestCommittedEditorState",void 0),s(a(n),"_pendingStateFromBeforeInput",void 0),s(a(n),"_onBeforeInput",void 0),s(a(n),"_onBlur",void 0),s(a(n),"_onCharacterData",void 0),s(a(n),"_onCompositionEnd",void 0),s(a(n),"_onCompositionStart",void 0),s(a(n),"_onCopy",void 0),s(a(n),"_onCut",void 0),s(a(n),"_onDragEnd",void 0),s(a(n),"_onDragOver",void 0),s(a(n),"_onDragStart",void 0),s(a(n),"_onDrop",void 0),s(a(n),"_onInput",void 0),s(a(n),"_onFocus",void 0),s(a(n),"_onKeyDown",void 0),s(a(n),"_onKeyPress",void 0),s(a(n),"_onKeyUp",void 0),s(a(n),"_onMouseDown",void 0),s(a(n),"_onMouseUp",void 0),s(a(n),"_onPaste",void 0),s(a(n),"_onSelect",void 0),s(a(n),"editor",void 0),s(a(n),"editorContainer",void 0),s(a(n),"focus",void 0),s(a(n),"blur",void 0),s(a(n),"setMode",void 0),s(a(n),"exitCurrentMode",void 0),s(a(n),"restoreEditorDOM",void 0),s(a(n),"setClipboard",void 0),s(a(n),"getClipboard",void 0),s(a(n),"getEditorKey",void 0),s(a(n),"update",void 0),s(a(n),"onDragEnter",void 0),s(a(n),"onDragLeave",void 0),s(a(n),"_handleEditorContainerRef",(function(t){n.editorContainer=t,n.editor=null!==t?t.firstChild:null})),s(a(n),"focus",(function(t){var e=n.props.editorState,r=e.getSelection().getHasFocus(),o=n.editor;if(o){var i=S.getScrollParent(o),a=t||x(i),s=a.x,c=a.y;O(o)||j(!1),o.focus(),i===window?window.scrollTo(s,c):_.setTop(i,c),r||n.update(v.forceSelection(e,e.getSelection()))}})),s(a(n),"blur",(function(){var t=n.editor;t&&(O(t)||j(!1),t.blur())})),s(a(n),"setMode",(function(t){var e=n.props,r=e.onPaste,o=e.onCut,a=e.onCopy,s=i({},N.edit);r&&(s.onPaste=r),o&&(s.onCut=o),a&&(s.onCopy=a);var c=i({},N,{edit:s});n._handler=c[t]})),s(a(n),"exitCurrentMode",(function(){n.setMode("edit")})),s(a(n),"restoreEditorDOM",(function(t){n.setState({contentsKey:n.state.contentsKey+1},(function(){n.focus(t)}))})),s(a(n),"setClipboard",(function(t){n._clipboard=t})),s(a(n),"getClipboard",(function(){return n._clipboard})),s(a(n),"update",(function(t){n._latestEditorState=t,n.props.onChange(t)})),s(a(n),"onDragEnter",(function(){n._dragCount++})),s(a(n),"onDragLeave",(function(){n._dragCount--,0===n._dragCount&&n.exitCurrentMode()})),n._blockSelectEvents=!1,n._clipboard=null,n._handler=null,n._dragCount=0,n._editorKey=e.editorKey||E(),n._placeholderAccessibilityID="placeholder-"+n._editorKey,n._latestEditorState=e.editorState,n._latestCommittedEditorState=e.editorState,n._onBeforeInput=n._buildHandler("onBeforeInput"),n._onBlur=n._buildHandler("onBlur"),n._onCharacterData=n._buildHandler("onCharacterData"),n._onCompositionEnd=n._buildHandler("onCompositionEnd"),n._onCompositionStart=n._buildHandler("onCompositionStart"),n._onCopy=n._buildHandler("onCopy"),n._onCut=n._buildHandler("onCut"),n._onDragEnd=n._buildHandler("onDragEnd"),n._onDragOver=n._buildHandler("onDragOver"),n._onDragStart=n._buildHandler("onDragStart"),n._onDrop=n._buildHandler("onDrop"),n._onInput=n._buildHandler("onInput"),n._onFocus=n._buildHandler("onFocus"),n._onKeyDown=n._buildHandler("onKeyDown"),n._onKeyPress=n._buildHandler("onKeyPress"),n._onKeyUp=n._buildHandler("onKeyUp"),n._onMouseDown=n._buildHandler("onMouseDown"),n._onMouseUp=n._buildHandler("onMouseUp"),n._onPaste=n._buildHandler("onPaste"),n._onSelect=n._buildHandler("onSelect"),n.getEditorKey=function(){return n._editorKey},n.state={contentsKey:0},n}c(e,t);var r=e.prototype;return r._buildHandler=function(t){var e=this;return function(n){if(!e.props.readOnly){var r=e._handler&&e._handler[t];r&&(g?g((function(){return r(e,n)})):r(e,n))}}},r._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},r._renderPlaceholder=function(){if(this._showPlaceholder()){var t={text:D(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return b.createElement(y,t)}return null},r._renderARIADescribedBy=function(){var t=this.props.ariaDescribedBy||"",e=this._showPlaceholder()?this._placeholderAccessibilityID:"";return t.replace("{{editor_id_placeholder}}",e)||void 0},r.render=function(){var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.blockStyleFn,a=t.customStyleFn,s=t.customStyleMap,c=t.editorState,u=t.preventScroll,p=t.readOnly,d=t.textAlignment,h=t.textDirectionality,g=M({"DraftEditor/root":!0,"DraftEditor/alignLeft":"left"===d,"DraftEditor/alignRight":"right"===d,"DraftEditor/alignCenter":"center"===d}),y=this.props.role||"textbox",m="combobox"===y?!!this.props.ariaExpanded:null,v={blockRenderMap:e,blockRendererFn:n,blockStyleFn:r,customStyleMap:i({},l,s),customStyleFn:a,editorKey:this._editorKey,editorState:c,preventScroll:u,textDirectionality:h};return b.createElement("div",{className:g},this._renderPlaceholder(),b.createElement("div",{className:M("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},b.createElement("div",{"aria-activedescendant":p?null:this.props.ariaActiveDescendantID,"aria-autocomplete":p?null:this.props.ariaAutoComplete,"aria-controls":p?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":p?null:m,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":p?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:M({notranslate:!p,"public/DraftEditor/content":!0}),contentEditable:!p,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:p?null:y,spellCheck:L&&this.props.spellCheck,style:{outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},b.createElement(T,{editor:this,editorState:c}),b.createElement(f,o({},v,{key:"contents"+this.state.contentsKey})))))},r.componentDidMount=function(){this._blockSelectEvents=!1,!A&&C("draft_ods_enabled")&&(A=!0,m.initODS()),this.setMode("edit"),I&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):n.g.execCommand("AutoUrlDetect",!1,!1))},r.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},e}(b.Component);s(z,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:u,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:k,readOnly:!1,spellCheck:!1,stripPastedStyles:!1}),t.exports=z},84030:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}var i=n(15267),a=n(33638),s=n(32735),c=n(31675),u=n(99986),l=n(35796),p=n(11021),f=n(2775),d=n(87008),h=n(51702),g=n(90333),y=n(73012),m=n(8187),v=n(98392),b=function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e},_=function(t){var e,n;function r(){for(var e,n,r,o,i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return o=void 0,(r="_node")in(n=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e=t.call.apply(t,[this].concat(a))||this))?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,e}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var _=r.prototype;return _.shouldComponentUpdate=function(t){return this.props.block!==t.block||this.props.tree!==t.tree||this.props.direction!==t.direction||b(t.selection,t.block.getKey())&&t.forceSelection},_.componentDidMount=function(){if(!this.props.preventScroll){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var n=this._node;if(null!=n){var r,o=u.getScrollParent(n),i=h(o);if(o===window){var a=d(n);(r=a.y+a.height-g().height)>0&&window.scrollTo(i.x,i.y+r+10)}else m(n)||y(!1),(r=n.offsetHeight+n.offsetTop-(o.offsetTop+o.offsetHeight+i.y))>0&&c.setTop(o,c.getTop(o)+r+10)}}}},_._renderChildren=function(){var t=this,e=this.props.block,n=e.getKey(),r=e.getText(),c=this.props.tree.size-1,u=b(this.props.selection,n);return this.props.tree.map((function(f,d){var h=f.get("leaves");if(0===h.size)return null;var g=h.size-1,y=h.map((function(o,l){var p=a.encode(n,d,l),f=o.get("start"),h=o.get("end");return s.createElement(i,{key:p,offsetKey:p,block:e,start:f,selection:u?t.props.selection:null,forceSelection:t.props.forceSelection,text:r.slice(f,h),styleSet:e.getInlineStyleAt(f),customStyleMap:t.props.customStyleMap,customStyleFn:t.props.customStyleFn,isLast:d===c&&l===g})})).toArray(),m=f.get("decoratorKey");if(null==m)return y;if(!t.props.decorator)return y;var b=v(t.props.decorator),_=b.getComponentForKey(m);if(!_)return y;var S=b.getPropsForKey(m),w=a.encode(n,d,0),M=h.first().get("start"),E=h.last().get("end"),k=r.slice(M,E),x=e.getEntityAt(f.get("start")),C=p.getHTMLDirIfDifferent(l.getDirection(k),t.props.direction),j={contentState:t.props.contentState,decoratedText:k,dir:C,start:M,end:E,blockKey:n,entityKey:x,offsetKey:w};return s.createElement(_,o({},S,j,{key:w}),y)})).toArray()},_.render=function(){var t=this,e=this.props,n=e.direction,r=e.offsetKey,o=f({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===n,"public/DraftStyleDefault/rtl":"RTL"===n});return s.createElement("div",{"data-offset-key":r,className:o,ref:function(e){return t._node=e}},this._renderChildren())},r}(s.Component);t.exports=_},99902:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){a(t,e,n[e])}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s=n(36215),c=n(33638),u=n(32735),l=n(31675),p=n(99986),f=n(87008),d=n(51702),h=n(90333),g=n(18489),y=n(73012),m=n(8187),v=(g.List,function(t,e){return t.getAnchorKey()===e||t.getFocusKey()===e}),b=function(t,e){var n=e.get(t.getType())||e.get("unstyled"),r=n.wrapper;return{Element:n.element||e.get("unstyled").element,wrapperTemplate:r}},_=function(t,e){var n=e(t);return n?{CustomComponent:n.component,customProps:n.props,customEditable:n.editable}:{}},S=function(t,e,n,r,o,a){var s={"data-block":!0,"data-editor":e,"data-offset-key":n,key:t.getKey(),ref:a},c=r(t);return c&&(s.className=c),void 0!==o.customEditable&&(s=i({},s,{contentEditable:o.customEditable,suppressContentEditableWarning:!0})),s},w=function(t){var e,n;function r(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return a(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e=t.call.apply(t,[this].concat(r))||this),"wrapperRef",u.createRef()),e}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var g=r.prototype;return g.shouldComponentUpdate=function(t){var e=this.props,n=e.block,r=e.direction,o=e.tree,i=!n.getChildKeys().isEmpty(),a=n!==t.block||o!==t.tree||r!==t.direction||v(t.selection,t.block.getKey())&&t.forceSelection;return i||a},g.componentDidMount=function(){var t=this.props.selection,e=t.getEndKey();if(t.getHasFocus()&&e===this.props.block.getKey()){var n=this.wrapperRef.current;if(n){var r,o=p.getScrollParent(n),i=d(o);if(o===window){var a=f(n);(r=a.y+a.height-h().height)>0&&window.scrollTo(i.x,i.y+r+10)}else{m(n)||y(!1);var s=n;(r=s.offsetHeight+s.offsetTop-(o.offsetHeight+i.y))>0&&l.setTop(o,l.getTop(o)+r+10)}}}},g.render=function(){var t=this,e=this.props,n=e.block,a=e.blockRenderMap,l=e.blockRendererFn,p=e.blockStyleFn,f=e.contentState,d=e.decorator,h=e.editorKey,g=e.editorState,y=e.customStyleFn,m=e.customStyleMap,w=e.direction,M=e.forceSelection,E=e.selection,k=e.tree,x=null;n.children.size&&(x=n.children.reduce((function(e,n){var o=c.encode(n,0,0),s=f.getBlockForKey(n),d=_(s,l),y=d.CustomComponent||r,m=b(s,a),v=m.Element,w=m.wrapperTemplate,M=S(s,h,o,p,d,null),E=i({},t.props,{tree:g.getBlockTree(n),blockProps:d.customProps,offsetKey:o,block:s});return e.push(u.createElement(v,M,u.createElement(y,E))),!w||function(t,e){var n=t.getNextSiblingKey();return!!n&&e.getBlockForKey(n).getType()===t.getType()}(s,f)||function(t,e,n){var r=[],o=!0,i=!1,a=void 0;try{for(var s,l=n.reverse()[Symbol.iterator]();!(o=(s=l.next()).done);o=!0){var p=s.value;if(p.type!==e)break;r.push(p)}}catch(t){i=!0,a=t}finally{try{o||null==l.return||l.return()}finally{if(i)throw a}}n.splice(n.indexOf(r[0]),r.length+1);var f=r.reverse(),d=f[0].key;n.push(u.cloneElement(t,{key:"".concat(d,"-wrap"),"data-offset-key":c.encode(d,0,0)},f))}(w,v,e),e}),[]));var C=n.getKey(),j=c.encode(C,0,0),O=_(n,l),D=O.CustomComponent,I=null!=D?u.createElement(D,o({},this.props,{tree:g.getBlockTree(C),blockProps:O.customProps,offsetKey:j,block:n})):u.createElement(s,{block:n,children:x,contentState:f,customStyleFn:y,customStyleMap:m,decorator:d,direction:w,forceSelection:M,hasSelection:v(E,C),selection:E,tree:k});if(n.getParentKey())return I;var L=b(n,a).Element,N=S(n,h,j,p,O,this.wrapperRef);return u.createElement(L,N,I)},r}(u.Component);t.exports=w},3431:(t,e,n)=>{"use strict";var r=n(74241),o=n(84055),i=n(33638),a=n(46238),s=n(7482),c=n(91355),u=n(31611),l=n(23357),p=n(62263),f=n(34483),d=n(98392),h=c.isBrowser("IE"),g=!1,y=!1,m=null,v={onCompositionStart:function(t){y=!0,function(t){m||(m=new r(l(t))).start()}(t)},onCompositionEnd:function(t){g=!1,y=!1,setTimeout((function(){g||v.resolveComposition(t)}),20)},onSelect:u,onKeyDown:function(t,e){if(!y)return v.resolveComposition(t),void t._onKeyDown(e);e.which!==s.RIGHT&&e.which!==s.LEFT||e.preventDefault()},onKeyPress:function(t,e){e.which===s.RETURN&&e.preventDefault()},resolveComposition:function(t){if(!y){var e=d(m).stopAndFlushMutations();m=null,g=!0;var n=a.set(t._latestEditorState,{inCompositionMode:!1});if(t.exitCurrentMode(),e.size){var r=n.getCurrentContent();e.forEach((function(t,e){var s=i.decode(e),c=s.blockKey,u=s.decoratorKey,l=s.leafKey,p=n.getBlockTree(c).getIn([u,"leaves",l]),d=p.start,h=p.end,g=n.getSelection().merge({anchorKey:c,focusKey:c,anchorOffset:d,focusOffset:h,isBackward:!1}),y=f(r,g),m=r.getBlockForKey(c).getInlineStyleAt(d);r=o.replaceText(r,g,t,m,y),n=a.set(n,{currentContent:r})}));var s=p(n,l(t)).selectionState;t.restoreEditorDOM();var c=h?a.forceSelection(n,s):a.acceptSelection(n,s);t.update(a.push(c,r,"insert-characters"))}else t.update(n)}}};t.exports=v},60944:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){a(t,e,n[e])}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s=n(84030),c=n(33638),u=n(32735),l=n(2775),p=n(52433),f=n(98392),d=function(t,e,n,r){return l({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===t,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===t,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===e,"public/DraftStyleDefault/depth1":1===e,"public/DraftStyleDefault/depth2":2===e,"public/DraftStyleDefault/depth3":3===e,"public/DraftStyleDefault/depth4":e>=4,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})},h=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=r.prototype;return a.shouldComponentUpdate=function(t){var e=this.props.editorState,n=t.editorState;if(e.getDirectionMap()!==n.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=e.isInCompositionMode(),i=n.isInCompositionMode();if(e===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=e.getCurrentContent(),s=n.getCurrentContent(),c=e.getDecorator(),u=n.getDecorator();return o!==i||a!==s||c!==u||n.mustForceSelection()},a.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.blockStyleFn,a=t.customStyleMap,l=t.customStyleFn,h=t.editorState,g=t.editorKey,y=t.preventScroll,m=t.textDirectionality,v=h.getCurrentContent(),b=h.getSelection(),_=h.mustForceSelection(),S=h.getDecorator(),w=f(h.getDirectionMap()),M=v.getBlocksAsArray(),E=[],k=null,x=null,C=0;C<M.length;C++){var j=M[C],O=j.getKey(),D=j.getType(),I=n(j),L=void 0,N=void 0,A=void 0;I&&(L=I.component,N=I.props,A=I.editable);var T=m||w.get(O),z=c.encode(O,0,0),R={contentState:v,block:j,blockProps:N,blockStyleFn:r,customStyleMap:a,customStyleFn:l,decorator:S,direction:T,forceSelection:_,offsetKey:z,preventScroll:y,selection:b,tree:h.getBlockTree(O)},P=e.get(D)||e.get("unstyled"),B=P.wrapper,U=P.element||e.get("unstyled").element,F=j.getDepth(),K="";r&&(K=r(j)),"li"===U&&(K=p(K,d(D,F,x!==B||null===k||F>k,T)));var H=L||s,q={className:K,"data-block":!0,"data-editor":g,"data-offset-key":z,key:O};void 0!==A&&(q=i({},q,{contentEditable:A,suppressContentEditableWarning:!0}));var Y=u.createElement(U,q,u.createElement(H,o({},R,{key:O})));E.push({block:Y,wrapperTemplate:B,key:O,offsetKey:z}),k=B?j.getDepth():null,x=B}for(var W=[],Q=0;Q<E.length;){var Z=E[Q];if(Z.wrapperTemplate){var V=[];do{V.push(E[Q].block),Q++}while(Q<E.length&&E[Q].wrapperTemplate===Z.wrapperTemplate);var G=u.cloneElement(Z.wrapperTemplate,{key:Z.key+"-wrap","data-offset-key":Z.offsetKey},V);W.push(G)}else W.push(Z.block),Q++}return u.createElement("div",{"data-contents":"true"},W)},r}(u.Component);t.exports=h},10989:(t,e,n)=>{"use strict";var r=n(27936)("draft_tree_data_support");t.exports=n(r?71435:60944)},71435:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}var i=n(99902),a=n(33638),s=n(32735),c=n(98392),u=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var u=r.prototype;return u.shouldComponentUpdate=function(t){var e=this.props.editorState,n=t.editorState;if(e.getDirectionMap()!==n.getDirectionMap())return!0;if(e.getSelection().getHasFocus()!==n.getSelection().getHasFocus())return!0;var r=n.getNativelyRenderedContent(),o=e.isInCompositionMode(),i=n.isInCompositionMode();if(e===n||null!==r&&n.getCurrentContent()===r||o&&i)return!1;var a=e.getCurrentContent(),s=n.getCurrentContent(),c=e.getDecorator(),u=n.getDecorator();return o!==i||a!==s||c!==u||n.mustForceSelection()},u.render=function(){for(var t=this.props,e=t.blockRenderMap,n=t.blockRendererFn,r=t.blockStyleFn,u=t.customStyleMap,l=t.customStyleFn,p=t.editorState,f=t.editorKey,d=t.textDirectionality,h=p.getCurrentContent(),g=p.getSelection(),y=p.mustForceSelection(),m=p.getDecorator(),v=c(p.getDirectionMap()),b=[],_=h.getBlocksAsArray()[0];_;){var S=_.getKey(),w={blockRenderMap:e,blockRendererFn:n,blockStyleFn:r,contentState:h,customStyleFn:l,customStyleMap:u,decorator:m,editorKey:f,editorState:p,forceSelection:y,selection:g,block:_,direction:d||v.get(S),tree:p.getBlockTree(S)},M=(e.get(_.getType())||e.get("unstyled")).wrapper;b.push({block:s.createElement(i,o({key:S},w)),wrapperTemplate:M,key:S,offsetKey:a.encode(S,0,0)});var E=_.getNextSiblingKey();_=E?h.getBlockForKey(E):null}for(var k=[],x=0;x<b.length;){var C=b[x];if(C.wrapperTemplate){var j=[];do{j.push(b[x].block),x++}while(x<b.length&&b[x].wrapperTemplate===C.wrapperTemplate);var O=s.cloneElement(C.wrapperTemplate,{key:C.key+"-wrap","data-offset-key":C.offsetKey},j);k.push(O)}else k.push(C.block),x++}return s.createElement("div",{"data-contents":"true"},k)},r}(s.Component);t.exports=u},75937:(t,e,n)=>{"use strict";var r=n(54516);function o(){return o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}var i=n(33638),a=n(32735),s=n(35796),c=n(11021),u=function(t){var e,n;function r(){return t.apply(this,arguments)||this}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.prototype.render=function(){var t=this.props,e=t.block,n=t.children,r=t.contentState,u=t.decorator,l=t.decoratorKey,p=t.direction,f=t.leafSet,d=t.text,h=e.getKey(),g=f.get("leaves"),y=u.getComponentForKey(l),m=u.getPropsForKey(l),v=i.encode(h,parseInt(l,10),0),b=d.slice(g.first().get("start"),g.last().get("end")),_=c.getHTMLDirIfDifferent(s.getDirection(b),p);return a.createElement(y,o({},m,{contentState:r,decoratedText:b,dir:_,key:v,entityKey:e.getEntityAt(f.get("start")),offsetKey:v}),n)},r}(a.Component);t.exports=u},83567:(t,e,n)=>{"use strict";var r=n(97880),o=n(84055),i=n(46238),a=n(59321),s=n(45653),c=n(26288),u=n(39433),l=n(52868),p=n(5218),f=n(98392),d={onDragEnd:function(t){t.exitCurrentMode(),h(t)},onDrop:function(t,e){var n=new r(e.nativeEvent.dataTransfer),l=t._latestEditorState,d=function(t,e){var n=null,r=null,o=s(t.currentTarget);if("function"==typeof o.caretRangeFromPoint){var i=o.caretRangeFromPoint(t.x,t.y);n=i.startContainer,r=i.startOffset}else{if(!t.rangeParent)return null;n=t.rangeParent,r=t.rangeOffset}n=f(n),r=f(r);var c=f(a(n));return u(e,c,r,c,r)}(e.nativeEvent,l);if(e.preventDefault(),t._dragCount=0,t.exitCurrentMode(),null!=d){var y=n.getFiles();if(y.length>0){if(t.props.handleDroppedFiles&&p(t.props.handleDroppedFiles(d,y)))return;c(y,(function(e){e&&t.update(g(l,d,e))}))}else{var m=t._internalDrag?"internal":"external";t.props.handleDrop&&p(t.props.handleDrop(d,n,m))||(t._internalDrag?t.update(function(t,e){var n=o.moveText(t.getCurrentContent(),t.getSelection(),e);return i.push(t,n,"insert-fragment")}(l,d)):t.update(g(l,d,n.getText()))),h(t)}}}};function h(t){t._internalDrag=!1;var e=t.editorContainer;if(e){var n=new MouseEvent("mouseup",{view:l(e),bubbles:!0,cancelable:!0});e.dispatchEvent(n)}}function g(t,e,n){var r=o.insertText(t.getCurrentContent(),e,n,t.getCurrentInlineStyle());return i.push(t,r,"insert-fragment")}t.exports=d},49199:(t,e,n)=>{"use strict";var r=n(91355),o=n(8658),i=n(5976),a=n(70410),s=n(3248),c=n(46811),u=n(98451),l=n(15160),p=n(45313),f=n(73078),d=n(63194),h=n(88924),g=n(31611),y=r.isBrowser("Chrome"),m=r.isBrowser("Firefox"),v=y||m?g:function(t){},b={onBeforeInput:o,onBlur:i,onCompositionStart:a,onCopy:s,onCut:c,onDragOver:u,onDragStart:l,onFocus:p,onInput:f,onKeyDown:d,onPaste:h,onSelect:g,onMouseUp:v,onKeyUp:v};t.exports=b},823:(t,e,n)=>{"use strict";var r=n(12788).unstable_flushControlled;t.exports=r},15267:(t,e,n)=>{"use strict";var r=n(54516),o=n(46544),i=n(32735),a=n(73012),s=n(78659),c=n(46064).setDraftEditorSelection,u=function(t){var e,n;function u(){for(var e,n,r,o,i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return o=void 0,(r="leaf")in(n=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e=t.call.apply(t,[this].concat(a))||this))?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,e}n=t,(e=u).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var l=u.prototype;return l._setSelection=function(){var t=this.props.selection;if(null!=t&&t.getHasFocus()){var e=this.props,n=e.block,r=e.start,o=e.text,i=n.getKey(),u=r+o.length;if(t.hasEdgeWithin(i,r,u)){var l=this.leaf;l||a(!1);var p,f=l.firstChild;f||a(!1),f.nodeType===Node.TEXT_NODE?p=f:s(f)?p=l:(p=f.firstChild)||a(!1),c(t,p,i,r,u)}}},l.shouldComponentUpdate=function(t){var e=this.leaf;return e||a(!1),e.textContent!==t.text||t.styleSet!==this.props.styleSet||t.forceSelection},l.componentDidUpdate=function(){this._setSelection()},l.componentDidMount=function(){this._setSelection()},l.render=function(){var t=this,e=this.props.block,n=this.props.text;n.endsWith("\n")&&this.props.isLast&&(n+="\n");var a=this.props,s=a.customStyleMap,c=a.customStyleFn,u=a.offsetKey,l=a.styleSet,p=l.reduce((function(t,e){var n={},o=s[e];return void 0!==o&&t.textDecoration!==o.textDecoration&&(n.textDecoration=[t.textDecoration,o.textDecoration].join(" ").trim()),r(t,o,n)}),{});if(c){var f=c(l,e);p=r(p,f)}return i.createElement("span",{"data-offset-key":u,ref:function(e){return t.leaf=e},style:p},i.createElement(o,null,n))},u}(i.Component);t.exports=u},36215:(t,e,n)=>{"use strict";var r=n(75937),o=n(15267),i=n(33638),a=n(18489),s=n(32735),c=n(2775),u=(a.List,function(t){var e,n;function a(){return t.apply(this,arguments)||this}return n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,a.prototype.render=function(){var t=this.props,e=t.block,n=t.contentState,a=t.customStyleFn,u=t.customStyleMap,l=t.decorator,p=t.direction,f=t.forceSelection,d=t.hasSelection,h=t.selection,g=t.tree,y=e.getKey(),m=e.getText(),v=g.size-1,b=this.props.children||g.map((function(t,c){var g=t.get("decoratorKey"),b=t.get("leaves"),_=b.size-1,S=b.map((function(t,n){var r=i.encode(y,c,n),l=t.get("start"),p=t.get("end");return s.createElement(o,{key:r,offsetKey:r,block:e,start:l,selection:d?h:null,forceSelection:f,text:m.slice(l,p),styleSet:e.getInlineStyleAt(l),customStyleMap:u,customStyleFn:a,isLast:g===v&&n===_})})).toArray();return g&&l?s.createElement(r,{block:e,children:S,contentState:n,decorator:l,decoratorKey:g,direction:p,leafSet:t,text:m,key:c}):S})).toArray();return s.createElement("div",{"data-offset-key":i.encode(y,0,0),className:c({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===p,"public/DraftStyleDefault/rtl":"RTL"===p})},b)},a}(s.Component));t.exports=u},20398:(t,e,n)=>{"use strict";var r=n(32735),o=n(2775),i=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=i.prototype;return a.shouldComponentUpdate=function(t){return this.props.text!==t.text||this.props.editorState.getSelection().getHasFocus()!==t.editorState.getSelection().getHasFocus()},a.render=function(){var t=this.props.editorState.getSelection().getHasFocus(),e=o({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":t});return r.createElement("div",{className:e},r.createElement("div",{className:o("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:{whiteSpace:"pre-wrap"}},this.props.text))},i}(r.Component);t.exports=i},46544:(t,e,n)=>{"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(32735),a=n(91355),s=n(73012),c=n(23833),u=a.isBrowser("IE <= 11"),l=function(t){var e,n;function a(e){var n;return o(r(n=t.call(this,e)||this),"_forceFlag",void 0),o(r(n),"_node",void 0),n._forceFlag=!1,n}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var l=a.prototype;return l.shouldComponentUpdate=function(t){var e=this._node,n=""===t.children;c(e)||s(!1);var r=e;return n?!function(t){return u?"\n"===t.textContent:"BR"===t.tagName}(r):r.textContent!==t.children},l.componentDidMount=function(){this._forceFlag=!this._forceFlag},l.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},l.render=function(){var t,e=this;return""===this.props.children?this._forceFlag?(t=function(t){return e._node=t},u?i.createElement("span",{key:"A","data-text":"true",ref:t},"\n"):i.createElement("br",{key:"A","data-text":"true",ref:t})):function(t){return u?i.createElement("span",{key:"B","data-text":"true",ref:t},"\n"):i.createElement("br",{key:"B","data-text":"true",ref:t})}((function(t){return e._node=t})):i.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(t){return e._node=t}},this.props.children)},a}(i.Component);t.exports=l},62599:t=>{"use strict";t.exports={initODS:function(){},handleExtensionCausedError:function(){}}},3031:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(91825),i=n(18489),a=n(73012),s=n(44231),c=(0,i.Map)(),u=s();function l(t,e){console.warn("WARNING: "+t+' will be deprecated soon!\nPlease use "'+e+'" instead.')}var p={getLastCreatedEntityKey:function(){return l("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),p.__getLastCreatedEntityKey()},create:function(t,e,n){return l("DraftEntity.create","contentState.createEntity"),p.__create(t,e,n)},add:function(t){return l("DraftEntity.add","contentState.addEntity"),p.__add(t)},get:function(t){return l("DraftEntity.get","contentState.getEntity"),p.__get(t)},__getAll:function(){return c},__loadWithEntities:function(t){c=t,u=s()},mergeData:function(t,e){return l("DraftEntity.mergeData","contentState.mergeEntityData"),p.__mergeData(t,e)},replaceData:function(t,e){return l("DraftEntity.replaceData","contentState.replaceEntityData"),p.__replaceData(t,e)},__getLastCreatedEntityKey:function(){return u},__create:function(t,e,n){return p.__add(new o({type:t,mutability:e,data:n||{}}))},__add:function(t){return u=s(),c=c.set(u,t),u},__get:function(t){var e=c.get(t);return e||a(!1),e},__mergeData:function(t,e){var n=p.__get(t),o=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){r(t,e,n[e])}))}return t}({},n.getData(),e),i=n.set("data",o);return c=c.set(t,i),i},__replaceData:function(t,e){var n=p.__get(t).set("data",e);return c=c.set(t,n),n}};t.exports=p},91825:(t,e,n)=>{"use strict";var r=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.getType=function(){return this.get("type")},o.getMutability=function(){return this.get("mutability")},o.getData=function(){return this.get("data")},r}((0,n(18489).Record)({type:"TOKEN",mutability:"IMMUTABLE",data:Object}));t.exports=r},19142:t=>{"use strict";t.exports={getRemovalRange:function(t,e,n,r,o){var i=n.split(" ");i=i.map((function(t,e){if("forward"===o){if(e>0)return" "+t}else if(e<i.length-1)return t+" ";return t}));for(var a,s=r,c=null,u=null,l=0;l<i.length;l++){if(t<(a=s+i[l].length)&&s<e)null!==c||(c=s),u=a;else if(null!==c)break;s=a}var p=r+n.length,f=c===r,d=u===p;return(!f&&d||f&&!d)&&("forward"===o?u!==p&&u++:c!==r&&c--),{start:c,end:u}}}},31532:t=>{"use strict";t.exports={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}}},84055:(t,e,n)=>{"use strict";var r=n(28),o=n(76520),i=n(48932),a=n(3022),s=n(58364),c=n(18489),u=n(14719),l=n(79585),p=n(73012),f=n(37248),d=n(77506),h=n(12269),g=n(70774),y=c.OrderedSet,m={replaceText:function(t,e,n,o,i){var a=d(t,e),s=h(a,e),c=r.create({style:o||y(),entity:i||null});return l(s,s.getSelectionAfter(),n,c)},insertText:function(t,e,n,r,o){return e.isCollapsed()||p(!1),m.replaceText(t,e,n,r,o)},moveText:function(t,e,n){var r=s(t,e),o=m.removeRange(t,e,"backward");return m.replaceWithFragment(o,n,r)},replaceWithFragment:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA",o=d(t,e),i=h(o,e);return u(i,i.getSelectionAfter(),n,r)},removeRange:function(t,e,n){var r,o,i,s;e.getIsBackward()&&(e=e.merge({anchorKey:e.getFocusKey(),anchorOffset:e.getFocusOffset(),focusKey:e.getAnchorKey(),focusOffset:e.getAnchorOffset(),isBackward:!1})),r=e.getAnchorKey(),o=e.getFocusKey(),i=t.getBlockForKey(r),s=t.getBlockForKey(o);var c=e.getStartOffset(),u=e.getEndOffset(),l=i.getEntityAt(c),p=s.getEntityAt(u-1);if(r===o&&l&&l===p){var f=a(t.getEntityMap(),i,s,e,n);return h(t,f)}var g=d(t,e);return h(g,e)},splitBlock:function(t,e){var n=d(t,e),r=h(n,e);return g(r,r.getSelectionAfter())},applyInlineStyle:function(t,e,n){return o.add(t,e,n)},removeInlineStyle:function(t,e,n){return o.remove(t,e,n)},setBlockType:function(t,e,n){return f(t,e,(function(t){return t.merge({type:n,depth:0})}))},setBlockData:function(t,e,n){return f(t,e,(function(t){return t.merge({data:n})}))},mergeBlockData:function(t,e,n){return f(t,e,(function(t){return t.merge({data:t.getData().merge(n)})}))},applyEntity:function(t,e,n){var r=d(t,e);return i(r,e,n)}};t.exports=m},33638:t=>{"use strict";var e="-",n={encode:function(t,n,r){return t+e+n+e+r},decode:function(t){var n=t.split(e).reverse(),r=n[0],o=n[1];return{blockKey:n.slice(2).reverse().join(e),decoratorKey:parseInt(o,10),leafKey:parseInt(r,10)}}};t.exports=n},17605:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(39806),i=n(47724),a=n(97614),s=n(84894),c=n(27917),u=n(27936),l=n(18489),p=n(24844),f=l.List,d=l.Repeat,h=u("draft_tree_data_support"),g=h?i:o,y={processHTML:function(t,e){return a(t,c,e)},processText:function(t,e,n){return t.reduce((function(t,o,i){o=p(o);var a=s(),c={key:a,type:n,text:o,characterList:f(d(e,o.length))};if(h&&0!==i){var u=i-1;c=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){r(t,e,n[e])}))}return t}({},c,{prevSibling:(t[u]=t[u].merge({nextSibling:a})).getKey()})}return t.push(new g(c)),t}),[])}};t.exports=y},81360:(t,e,n)=>{"use strict";var r="['‘’]",o="\\s|(?![_])"+n(59878).getPunctuation(),i=new RegExp("^(?:"+o+")*(?:"+r+"|(?!"+o+").)*(?:(?!"+o+").)"),a=new RegExp("(?:(?!"+o+").)(?:"+r+"|(?!"+o+").)*(?:"+o+")*$");function s(t,e){var n=e?a.exec(t):i.exec(t);return n?n[0]:t}var c={getBackward:function(t){return s(t,!0)},getForward:function(t){return s(t,!1)}};t.exports=c},56588:t=>{"use strict";var e={stringify:function(t){return"_"+String(t)},unstringify:function(t){return t.slice(1)}};t.exports=e},74645:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(84894),a=n(73012),s=function(t){if(!t||!t.type)return!1;var e=t.type;return"unordered-list-item"===e||"ordered-list-item"===e},c={fromRawTreeStateToRawState:function(t){var e=t.blocks,n=[];return Array.isArray(e)||a(!1),Array.isArray(e)&&e.length?(function(t,e){for(var o=[].concat(t).reverse();o.length;){var i=o.pop();l=void 0,l=r({},u=i),s(u)&&(l.depth=l.depth||0,function(t){Array.isArray(t.children)&&(t.children=t.children.map((function(e){return e.type===t.type?r({},e,{depth:(t.depth||0)+1}):e})))}(u),null!=u.children&&u.children.length>0)||(delete l.children,n.push(l));var c=i.children;Array.isArray(c)||a(!1),o=o.concat([].concat(c.reverse()))}var u,l}(e),t.blocks=n,r({},t,{blocks:n})):t},fromRawStateToRawTreeState:function(t){var e=[],n=[];return t.blocks.forEach((function(t){var o=s(t),a=t.depth||0,c=r({},t,{children:[]});if(o){var u=n[0];if(null==u&&0===a)e.push(c);else if(null==u||u.depth<a-1){var l={key:i(),text:"",depth:a-1,type:t.type,children:[],entityRanges:[],inlineStyleRanges:[]};n.unshift(l),1===a?e.push(l):null!=u&&u.children.push(l),l.children.push(c)}else if(u.depth===a-1)u.children.push(c);else{for(;null!=u&&u.depth>=a;)n.shift(),u=n[0];a>0?u.children.push(c):e.push(c)}}else e.push(c)})),r({},t,{blocks:e})}};t.exports=c},54775:(t,e,n)=>{"use strict";n(85806),t.exports={isValidBlock:function(t,e){var n=t.getKey(),r=t.getParentKey();if(null!=r&&!e.get(r).getChildKeys().includes(n))return!1;if(!t.getChildKeys().map((function(t){return e.get(t)})).every((function(t){return t.getParentKey()===n})))return!1;var o=t.getPrevSiblingKey();if(null!=o&&e.get(o).getNextSiblingKey()!==n)return!1;var i=t.getNextSiblingKey();return(null==i||e.get(i).getPrevSiblingKey()===n)&&!(null!==i&&null!==o&&o===i||""!=t.text&&t.getChildKeys().size>0)},isConnectedTree:function(t){var e=t.toArray().filter((function(t){return null==t.getParentKey()&&null==t.getPrevSiblingKey()}));if(1!==e.length)return!1;for(var n=0,r=e.shift().getKey(),o=[];null!=r;){var i=t.get(r),a=i.getChildKeys(),s=i.getNextSiblingKey();if(a.size>0){null!=s&&o.unshift(s);var c=a.map((function(e){return t.get(e)})).find((function(t){return null==t.getPrevSiblingKey()}));if(null==c)return!1;r=c.getKey()}else r=null!=i.getNextSiblingKey()?i.getNextSiblingKey():o.shift();n++}return n===t.size},isValidTree:function(t){var e=this;return!!t.toArray().every((function(n){return e.isValidBlock(n,t)}))&&this.isConnectedTree(t)}}},22976:(t,e,n)=>{"use strict";var r,o=n(90209),i=n(18489),a=n(98392),s=i.OrderedMap,c={getDirectionMap:function(t,e){r?r.reset():r=new o;var n=t.getBlockMap(),c=n.valueSeq().map((function(t){return a(r).getDirection(t.getText())})),u=s(n.keySeq().zip(c));return null!=e&&i.is(e,u)?e:u}};t.exports=c},46238:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(34014),a=n(10789),s=n(22976),c=n(69806),u=n(18489),l=u.OrderedSet,p=u.Record,f=u.Stack,d=u.OrderedMap,h=u.List,g=p({allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:f(),selection:null,treeMap:null,undoStack:f()}),y=function(){e.createEmpty=function(t){return this.createWithText("",t)},e.createWithText=function(t,n){return e.createWithContent(a.createFromText(t),n)},e.createWithContent=function(t,n){if(0===t.getBlockMap().count())return e.createEmpty(n);var r=t.getBlockMap().first().getKey();return e.create({currentContent:t,undoStack:f(),redoStack:f(),decorator:n||null,selection:c.createEmpty(r)})},e.create=function(t){var n=t.currentContent,o=r({},t,{treeMap:v(n,t.decorator),directionMap:s.getDirectionMap(n)});return new e(new g(o))},e.fromJS=function(t){return new e(new g(r({},t,{directionMap:null!=t.directionMap?d(t.directionMap):t.directionMap,inlineStyleOverride:null!=t.inlineStyleOverride?l(t.inlineStyleOverride):t.inlineStyleOverride,nativelyRenderedContent:null!=t.nativelyRenderedContent?a.fromJS(t.nativelyRenderedContent):t.nativelyRenderedContent,redoStack:null!=t.redoStack?f(t.redoStack.map((function(t){return a.fromJS(t)}))):t.redoStack,selection:null!=t.selection?new c(t.selection):t.selection,treeMap:null!=t.treeMap?d(t.treeMap).map((function(t){return h(t).map((function(t){return i.fromJS(t)}))})):t.treeMap,undoStack:null!=t.undoStack?f(t.undoStack.map((function(t){return a.fromJS(t)}))):t.undoStack,currentContent:a.fromJS(t.currentContent)})))},e.set=function(t,n){return new e(t.getImmutable().withMutations((function(e){var r=e.get("decorator"),o=r;null===n.decorator?o=null:n.decorator&&(o=n.decorator);var a=n.currentContent||t.getCurrentContent();if(o!==r){var s,c=e.get("treeMap");return s=o&&r?function(t,e,n,r,o){return n.merge(e.toSeq().filter((function(e){return r.getDecorations(e,t)!==o.getDecorations(e,t)})).map((function(e){return i.generate(t,e,r)})))}(a,a.getBlockMap(),c,o,r):v(a,o),void e.merge({decorator:o,treeMap:s,nativelyRenderedContent:null})}a!==t.getCurrentContent()&&e.set("treeMap",function(t,e,n,r){var o=t.getCurrentContent().set("entityMap",n),a=o.getBlockMap();return t.getImmutable().get("treeMap").merge(e.toSeq().filter((function(t,e){return t!==a.get(e)})).map((function(t){return i.generate(o,t,r)})))}(t,a.getBlockMap(),a.getEntityMap(),o)),e.merge(n)})))};var t=e.prototype;function e(t){o(this,"_immutable",void 0),this._immutable=t}return t.toJS=function(){return this.getImmutable().toJS()},t.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},t.getCurrentContent=function(){return this.getImmutable().get("currentContent")},t.getUndoStack=function(){return this.getImmutable().get("undoStack")},t.getRedoStack=function(){return this.getImmutable().get("redoStack")},t.getSelection=function(){return this.getImmutable().get("selection")},t.getDecorator=function(){return this.getImmutable().get("decorator")},t.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},t.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},t.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},t.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},t.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},e.setInlineStyleOverride=function(t,n){return e.set(t,{inlineStyleOverride:n})},t.getCurrentInlineStyle=function(){var t=this.getInlineStyleOverride();if(null!=t)return t;var e=this.getCurrentContent(),n=this.getSelection();return n.isCollapsed()?function(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);return r>0?o.getInlineStyleAt(r-1):o.getLength()?o.getInlineStyleAt(0):b(t,n)}(e,n):function(t,e){var n=e.getStartKey(),r=e.getStartOffset(),o=t.getBlockForKey(n);return r<o.getLength()?o.getInlineStyleAt(r):r>0?o.getInlineStyleAt(r-1):b(t,n)}(e,n)},t.getBlockTree=function(t){return this.getImmutable().getIn(["treeMap",t])},t.isSelectionAtStartOfContent=function(){var t=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(t,0,0)},t.isSelectionAtEndOfContent=function(){var t=this.getCurrentContent().getBlockMap().last(),e=t.getLength();return this.getSelection().hasEdgeWithin(t.getKey(),e,e)},t.getDirectionMap=function(){return this.getImmutable().get("directionMap")},e.acceptSelection=function(t,e){return m(t,e,!1)},e.forceSelection=function(t,e){return e.getHasFocus()||(e=e.set("hasFocus",!0)),m(t,e,!0)},e.moveSelectionToEnd=function(t){var n=t.getCurrentContent().getLastBlock(),r=n.getKey(),o=n.getLength();return e.acceptSelection(t,new c({anchorKey:r,anchorOffset:o,focusKey:r,focusOffset:o,isBackward:!1}))},e.moveFocusToEnd=function(t){var n=e.moveSelectionToEnd(t);return e.forceSelection(n,n.getSelection())},e.push=function(t,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t.getCurrentContent()===n)return t;var i=s.getDirectionMap(n,t.getDirectionMap());if(!t.getAllowUndo())return e.set(t,{currentContent:n,directionMap:i,lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:null});var a=t.getSelection(),c=t.getCurrentContent(),u=t.getUndoStack(),l=n;a!==c.getSelectionAfter()||function(t,e){return e!==t.getLastChangeType()||"insert-characters"!==e&&"backspace-character"!==e&&"delete-character"!==e}(t,r)?(u=u.push(c),l=l.set("selectionBefore",a)):"insert-characters"!==r&&"backspace-character"!==r&&"delete-character"!==r||(l=l.set("selectionBefore",c.getSelectionBefore()));var p=t.getInlineStyleOverride();-1===["adjust-depth","change-block-type","split-block"].indexOf(r)&&(p=null);var d={currentContent:l,directionMap:i,undoStack:u,redoStack:f(),lastChangeType:r,selection:n.getSelectionAfter(),forceSelection:o,inlineStyleOverride:p};return e.set(t,d)},e.undo=function(t){if(!t.getAllowUndo())return t;var n=t.getUndoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=s.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:n.shift(),redoStack:t.getRedoStack().push(o),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:o.getSelectionBefore()})},e.redo=function(t){if(!t.getAllowUndo())return t;var n=t.getRedoStack(),r=n.peek();if(!r)return t;var o=t.getCurrentContent(),i=s.getDirectionMap(r,t.getDirectionMap());return e.set(t,{currentContent:r,directionMap:i,undoStack:t.getUndoStack().push(o),redoStack:n.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:r.getSelectionAfter()})},t.getImmutable=function(){return this._immutable},e}();function m(t,e,n){return y.set(t,{selection:e,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function v(t,e){return t.getBlockMap().map((function(n){return i.generate(t,n,e)})).toOrderedMap()}function b(t,e){var n=t.getBlockMap().reverse().skipUntil((function(t,n){return n===e})).skip(1).skipUntil((function(t,e){return t.getLength()})).first();return n?n.getInlineStyleAt(n.getLength()-1):l()}t.exports=y},76944:(t,e,n)=>{"use strict";var r=n(91355),o=n(18528),i=r.isPlatform("Mac OS X"),a={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return i&&t.altKey},usesMacOSHeuristics:function(){return i},hasCommandModifier:function(t){return i?!!t.metaKey&&!t.altKey:a.isCtrlKeyCommand(t)},isSoftNewlineEvent:o};t.exports=a},28484:()=>{},93626:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(17027),a=n(98392),s={currentBlockContainsLink:function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=n.getEntityMap();return n.getBlockForKey(e.getAnchorKey()).getCharacterList().slice(e.getStartOffset(),e.getEndOffset()).some((function(t){var e=t.getEntity();return!!e&&"LINK"===r.__get(e).getType()}))},getCurrentBlockType:function(t){var e=t.getSelection();return t.getCurrentContent().getBlockForKey(e.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,e,n){switch(e){case"bold":return s.toggleInlineStyle(t,"BOLD");case"italic":return s.toggleInlineStyle(t,"ITALIC");case"underline":return s.toggleInlineStyle(t,"UNDERLINE");case"code":return s.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return s.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return s.onDelete(t);default:return null}},insertSoftNewline:function(t){var e=r.insertText(t.getCurrentContent(),t.getSelection(),"\n",t.getCurrentInlineStyle(),null),n=o.push(t,e,"insert-characters");return o.forceSelection(n,e.getSelectionAfter())},onBackspace:function(t){var e=t.getSelection();if(!e.isCollapsed()||e.getAnchorOffset()||e.getFocusOffset())return null;var n=t.getCurrentContent(),r=e.getStartKey(),i=n.getBlockBefore(r);if(i&&"atomic"===i.getType()){var a=n.getBlockMap().delete(i.getKey()),c=n.merge({blockMap:a,selectionAfter:e});if(c!==n)return o.push(t,c,"remove-range")}var u=s.tryToRemoveBlockStyle(t);return u?o.push(t,u,"change-block-type"):null},onDelete:function(t){var e=t.getSelection();if(!e.isCollapsed())return null;var n=t.getCurrentContent(),i=e.getStartKey(),a=n.getBlockForKey(i).getLength();if(e.getStartOffset()<a)return null;var s=n.getBlockAfter(i);if(!s||"atomic"!==s.getType())return null;var c=e.merge({focusKey:s.getKey(),focusOffset:s.getLength()}),u=r.removeRange(n,c,"forward");return u!==n?o.push(t,u,"remove-range"):null},onTab:function(t,e,n){var r=e.getSelection(),a=r.getAnchorKey();if(a!==r.getFocusKey())return e;var s=e.getCurrentContent(),c=s.getBlockForKey(a),u=c.getType();if("unordered-list-item"!==u&&"ordered-list-item"!==u)return e;t.preventDefault();var l=c.getDepth();if(!t.shiftKey&&l===n)return e;var p=i(s,r,t.shiftKey?-1:1,n);return o.push(e,p,"adjust-depth")},toggleBlockType:function(t,e){var n=t.getSelection(),i=n.getStartKey(),s=n.getEndKey(),c=t.getCurrentContent(),u=n;if(i!==s&&0===n.getEndOffset()){var l=a(c.getBlockBefore(s));s=l.getKey(),u=u.merge({anchorKey:i,anchorOffset:n.getStartOffset(),focusKey:s,focusOffset:l.getLength(),isBackward:!1})}if(c.getBlockMap().skipWhile((function(t,e){return e!==i})).reverse().skipWhile((function(t,e){return e!==s})).some((function(t){return"atomic"===t.getType()})))return t;var p=c.getBlockForKey(i).getType()===e?"unstyled":e;return o.push(t,r.setBlockType(c,u,p),"change-block-type")},toggleCode:function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=e.getFocusKey();return e.isCollapsed()||n!==r?s.toggleBlockType(t,"code-block"):s.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,e){var n=t.getSelection(),i=t.getCurrentInlineStyle();if(n.isCollapsed())return o.setInlineStyleOverride(t,i.has(e)?i.remove(e):i.add(e));var a,s=t.getCurrentContent();return a=i.has(e)?r.removeInlineStyle(s,n,e):r.applyInlineStyle(s,n,e),o.push(t,a,"change-inline-style")},toggleLink:function(t,e,n){var i=r.applyEntity(t.getCurrentContent(),e,n);return o.push(t,i,"apply-entity")},tryToRemoveBlockStyle:function(t){var e=t.getSelection(),n=e.getAnchorOffset();if(e.isCollapsed()&&0===n){var o=e.getAnchorKey(),i=t.getCurrentContent(),a=i.getBlockForKey(o).getType(),s=i.getBlockBefore(o);if("code-block"===a&&s&&"code-block"===s.getType()&&0!==s.getLength())return null;if("unstyled"!==a)return r.setBlockType(i,e,"unstyled")}return null}};t.exports=s},70069:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(58364),a=n(98392),s=null,c={cut:function(t){var e=t.getCurrentContent(),n=t.getSelection(),c=null;if(n.isCollapsed()){var u=n.getAnchorKey(),l=e.getBlockForKey(u).getLength();if(l===n.getAnchorOffset()){var p=e.getKeyAfter(u);if(null==p)return t;c=n.set("focusKey",p).set("focusOffset",0)}else c=n.set("focusOffset",l)}else c=n;c=a(c),s=i(e,c);var f=r.removeRange(e,c,"forward");return f===e?t:o.push(t,f,"remove-range")},paste:function(t){if(!s)return t;var e=r.replaceWithFragment(t.getCurrentContent(),t.getSelection(),s);return o.push(t,e,"insert-fragment")}};t.exports=c},69806:(t,e,n)=>{"use strict";var r=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},o.getAnchorKey=function(){return this.get("anchorKey")},o.getAnchorOffset=function(){return this.get("anchorOffset")},o.getFocusKey=function(){return this.get("focusKey")},o.getFocusOffset=function(){return this.get("focusOffset")},o.getIsBackward=function(){return this.get("isBackward")},o.getHasFocus=function(){return this.get("hasFocus")},o.hasEdgeWithin=function(t,e,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===t){var i=this.getStartOffset(),a=this.getEndOffset();return e<=i&&i<=n||e<=a&&a<=n}if(t!==r&&t!==o)return!1;var s=t===r?this.getAnchorOffset():this.getFocusOffset();return e<=s&&n>=s},o.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},o.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},o.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},o.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},o.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},r.createEmpty=function(t){return new r({anchorKey:t,anchorOffset:0,focusKey:t,focusOffset:0,isBackward:!1,hasFocus:!1})},r}((0,n(18489).Record)({anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1}));t.exports=r},17027:t=>{"use strict";t.exports=function(t,e,n,r){var o=e.getStartKey(),i=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil((function(t,e){return e===o})).takeUntil((function(t,e){return e===i})).concat([[i,a.get(i)]]).map((function(t){var e=t.getDepth()+n;return e=Math.max(0,Math.min(e,r)),t.set("depth",e)}));return a=a.merge(s),t.merge({blockMap:a,selectionBefore:e,selectionAfter:e})}},65491:(t,e,n)=>{"use strict";var r=n(28);t.exports=function(t,e,n,o){for(var i=e,a=t.getCharacterList();i<n;)a=a.set(i,r.applyEntity(a.get(i),o)),i++;return t.set("characterList",a)}},48932:(t,e,n)=>{"use strict";var r=n(65491),o=n(18489);t.exports=function(t,e,n){var i=t.getBlockMap(),a=e.getStartKey(),s=e.getStartOffset(),c=e.getEndKey(),u=e.getEndOffset(),l=i.skipUntil((function(t,e){return e===a})).takeUntil((function(t,e){return e===c})).toOrderedMap().merge(o.OrderedMap([[c,i.get(c)]])).map((function(t,e){var o=e===a?s:0,i=e===c?u:t.getLength();return r(t,o,i,n)}));return t.merge({blockMap:i.merge(l),selectionBefore:e,selectionAfter:e})}},40313:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(39806),i=n(47724),a=n(56588),s=n(84963),c=n(63384),u=n(73012),l=function(t,e){return{key:t.getKey(),text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:c(t),entityRanges:s(t,e),data:t.getData().toObject()}};t.exports=function(t){var e={entityMap:{},blocks:[]};return e=function(t,e){var n=e.entityMap,s=[],c={},p={},f=0;return t.getBlockMap().forEach((function(t){t.findEntityRanges((function(t){return null!==t.getEntity()}),(function(e){var r=t.getEntityAt(e),o=a.stringify(r);p[o]||(p[o]=r,n[o]="".concat(f),f++)})),function(t,e,n,a){if(t instanceof o)n.push(l(t,e));else{t instanceof i||u(!1);var s=t.getParentKey(),c=a[t.getKey()]=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){r(t,e,n[e])}))}return t}({},l(t,e),{children:[]});s?a[s].children.push(c):n.push(c)}}(t,n,s,c)})),{blocks:s,entityMap:n}}(t,e),e=function(t,e){var n=e.blocks,r=e.entityMap,o={};return Object.keys(r).forEach((function(e,n){var r=t.getEntity(a.unstringify(e));o[n]={type:r.getType(),mutability:r.getMutability(),data:r.getData()}})),{blocks:n,entityMap:o}}(t,e),e}},97614:(t,e,n)=>{"use strict";var r;function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){i(t,e,n[e])}))}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=n(28),s=n(39806),c=n(47724),u=n(74682),l=n(3031),p=n(2909),f=n(2775),d=n(84894),h=n(27917),g=n(27936),y=n(18489),m=y.List,v=y.Map,b=y.OrderedSet,_=n(19662),S=n(78659),w=n(8187),M=n(9115),E=g("draft_tree_data_support"),k=new RegExp("\r","g"),x=new RegExp("\n","g"),C=new RegExp("^\n","g"),j=new RegExp(" ","g"),O=new RegExp(" ?","g"),D=new RegExp("​?","g"),I=["bold","bolder","500","600","700","800","900"],L=["light","lighter","normal","100","200","300","400"],N=["className","href","rel","target","title"],A=["alt","className","height","src","width"],T=(i(r={},f("public/DraftStyleDefault/depth0"),0),i(r,f("public/DraftStyleDefault/depth1"),1),i(r,f("public/DraftStyleDefault/depth2"),2),i(r,f("public/DraftStyleDefault/depth3"),3),i(r,f("public/DraftStyleDefault/depth4"),4),r),z=v({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),R=function(t){return w(t)&&t.style.fontFamily.includes("monospace")?"CODE":null},P=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Object.keys(T).some((function(n){t.classList.contains(n)&&(e=T[n])})),e},B=function(t){if(!_(t))return!1;var e=t;if(!e.href||"http:"!==e.protocol&&"https:"!==e.protocol&&"mailto:"!==e.protocol&&"tel:"!==e.protocol)return!1;try{return new p(e.href),!0}catch(t){return!1}},U=function(t){if(!M(t))return!1;var e=t;return!(!e.attributes.getNamedItem("src")||!e.attributes.getNamedItem("src").value)},F=function(t,e){if(!w(t))return e;var n=t,r=n.style.fontWeight,o=n.style.fontStyle,i=n.style.textDecoration;return e.withMutations((function(t){I.indexOf(r)>=0?t.add("BOLD"):L.indexOf(r)>=0&&t.remove("BOLD"),"italic"===o?t.add("ITALIC"):"normal"===o&&t.remove("ITALIC"),"underline"===i&&t.add("UNDERLINE"),"line-through"===i&&t.add("STRIKETHROUGH"),"none"===i&&(t.remove("UNDERLINE"),t.remove("STRIKETHROUGH"))}))},K=function(t){return"ul"===t||"ol"===t},H=function(){function t(t,e){i(this,"characterList",m()),i(this,"currentBlockType","unstyled"),i(this,"currentDepth",0),i(this,"currentEntity",null),i(this,"currentText",""),i(this,"wrapper",null),i(this,"blockConfigs",[]),i(this,"contentBlocks",[]),i(this,"entityMap",l),i(this,"blockTypeMap",void 0),i(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=t,this.disambiguate=e}var e=t.prototype;return e.clear=function(){this.characterList=m(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=l,this.wrapper=null,this.contentBlocks=[]},e.addDOMNode=function(t){var e;return this.contentBlocks=[],this.currentDepth=0,(e=this.blockConfigs).push.apply(e,this._toBlockConfigs([t],b())),this._trimCurrentText(),""!==this.currentText&&this.blockConfigs.push(this._makeBlockConfig()),this},e.getContentBlocks=function(){return 0===this.contentBlocks.length&&(E?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},e._makeBlockConfig=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=o({key:t.key||d(),type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:m(),prevSibling:null,nextSibling:null,childConfigs:[]},t);return this.characterList=m(),this.currentBlockType="unstyled",this.currentText="",e},e._toBlockConfigs=function(t,e){for(var n=[],r=0;r<t.length;r++){var o=t[r],i=o.nodeName.toLowerCase();if("body"===i||K(i)){this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var a=this.currentDepth,s=this.wrapper;K(i)&&(this.wrapper=i,K(s)&&this.currentDepth++),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),e)),this.currentDepth=a,this.wrapper=s}else{var c=this.blockTypeMap.get(i);if(void 0===c)if("#text"!==i)if("br"!==i)if(U(o))this._addImgNode(o,e);else if(B(o))this._addAnchorNode(o,n,e);else{var u=e;z.has(i)&&(u=u.add(z.get(i))),u=F(o,u);var l=R(o);null!=l&&(u=u.add(l)),n.push.apply(n,this._toBlockConfigs(Array.from(o.childNodes),u))}else this._addBreakNode(o,e);else this._addTextNode(o,e);else{this._trimCurrentText(),""!==this.currentText&&n.push(this._makeBlockConfig());var p=this.currentDepth,f=this.wrapper;if(this.wrapper="pre"===i?"pre":this.wrapper,"string"!=typeof c&&(c=this.disambiguate(i,this.wrapper)||c[0]||"unstyled"),!E&&w(o)&&("unordered-list-item"===c||"ordered-list-item"===c)){var h=o;this.currentDepth=P(h,this.currentDepth)}var g=d(),y=this._toBlockConfigs(Array.from(o.childNodes),e);this._trimCurrentText(),n.push(this._makeBlockConfig({key:g,childConfigs:y,type:c})),this.currentDepth=p,this.wrapper=f}}}return n},e._appendText=function(t,e){var n;this.currentText+=t;var r=a.create({style:e,entity:this.currentEntity});this.characterList=(n=this.characterList).push.apply(n,Array(t.length).fill(r))},e._trimCurrentText=function(){var t=this.currentText.length,e=t-this.currentText.trimLeft().length,n=this.currentText.trimRight().length,r=this.characterList.findEntry((function(t){return null!==t.getEntity()}));(e=void 0!==r?Math.min(e,r[0]):e)>(n=void 0!==(r=this.characterList.reverse().findEntry((function(t){return null!==t.getEntity()})))?Math.max(n,t-r[0]):n)?(this.currentText="",this.characterList=m()):(this.currentText=this.currentText.slice(e,n),this.characterList=this.characterList.slice(e,n))},e._addTextNode=function(t,e){var n=t.textContent;""===n.trim()&&"pre"!==this.wrapper&&(n=" "),"pre"!==this.wrapper&&(n=(n=n.replace(C,"")).replace(x," ")),this._appendText(n,e)},e._addBreakNode=function(t,e){S(t)&&this._appendText("\n",e)},e._addImgNode=function(t,e){if(M(t)){var n=t,r={};A.forEach((function(t){var e=n.getAttribute(t);e&&(r[t]=e)})),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",r),g("draftjs_fix_paste_for_img")?"presentation"!==n.getAttribute("role")&&this._appendText("📷",e):this._appendText("📷",e),this.currentEntity=null}},e._addAnchorNode=function(t,e,n){if(_(t)){var r=t,o={};N.forEach((function(t){var e=r.getAttribute(t);e&&(o[t]=e)})),o.url=new p(r.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",o||{}),e.push.apply(e,this._toBlockConfigs(Array.from(t.childNodes),n)),this.currentEntity=null}},e._toContentBlocks=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=t.length-1,r=0;r<=n;r++){var i=t[r];i.parent=e,i.prevSibling=r>0?t[r-1].key:null,i.nextSibling=r<n?t[r+1].key:null,i.children=m(i.childConfigs.map((function(t){return t.key}))),this.contentBlocks.push(new c(o({},i))),this._toContentBlocks(i.childConfigs,i.key)}},e._hoistContainersInBlockConfigs=function(t){var e=this;return m(t).flatMap((function(t){return"unstyled"!==t.type||""!==t.text?[t]:e._hoistContainersInBlockConfigs(t.childConfigs)}))},e._toFlatContentBlocks=function(t){var e=this;this._hoistContainersInBlockConfigs(t).forEach((function(t){var n=e._extractTextFromBlockConfigs(t.childConfigs),r=n.text,i=n.characterList;e.contentBlocks.push(new s(o({},t,{text:t.text+r,characterList:t.characterList.concat(i)})))}))},e._extractTextFromBlockConfigs=function(t){for(var e=t.length-1,n="",r=m(),o=0;o<=e;o++){var i=t[o];n+=i.text,r=r.concat(i.characterList),""!==n&&"unstyled"!==i.type&&(n+="\n",r=r.push(r.last()));var a=this._extractTextFromBlockConfigs(i.childConfigs);n+=a.text,r=r.concat(a.characterList)}return{text:n,characterList:r}},t}();t.exports=function(t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:h)(t=t.trim().replace(k,"").replace(j," ").replace(O,"").replace(D,""));if(!n)return null;var r=function(t){var e={};return t.mapKeys((function(t,n){var r=[n.element];void 0!==n.aliasedElements&&r.push.apply(r,n.aliasedElements),r.forEach((function(n){void 0===e[n]?e[n]=t:"string"==typeof e[n]?e[n]=[e[n],t]:e[n].push(t)}))})),v(e)}(e);return new H(r,(function(t,e){return"li"===t?"ol"===e?"ordered-list-item":"unordered-list-item":null})).addDOMNode(n).getContentBlocks()}},80618:(t,e,n)=>{"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){o(t,e,n[e])}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(39806),a=n(47724),s=n(10789),c=n(3031),u=n(74645),l=(n(54775),n(69806)),p=n(68115),f=n(9769),d=n(47413),h=n(84894),g=n(27936),y=n(18489),m=n(73012),v=g("draft_tree_data_support"),b=y.List,_=y.Map,S=y.OrderedMap,w=function(t,e){var n=t.key,r=t.type,o=t.data;return{text:t.text,depth:t.depth||0,type:r||"unstyled",key:n||h(),data:_(o),characterList:M(t,e)}},M=function(t,e){var n=t.text,o=t.entityRanges,i=t.inlineStyleRanges,a=o||[];return p(d(n,i||[]),f(n,a.filter((function(t){return e.hasOwnProperty(t.key)})).map((function(t){return r({},t,{key:e[t.key]})}))))},E=function(t){return r({},t,{key:t.key||h()})},k=function(t,e,n){var o=e.map((function(t){return r({},t,{parentRef:n})}));return t.concat(o.reverse())};t.exports=function(t){Array.isArray(t.blocks)||m(!1);var e=function(t){var e=t.entityMap,n={};return Object.keys(e).forEach((function(t){var r=e[t],o=r.type,i=r.mutability,a=r.data;n[t]=c.__create(o,i,a||{})})),n}(t),n=function(t,e){var n=t.blocks.find((function(t){return Array.isArray(t.children)&&t.children.length>0})),o=v&&!n?u.fromRawStateToRawTreeState(t).blocks:t.blocks;if(!v)return function(t,e){return S(t.map((function(t){var n=new i(w(t,e));return[n.getKey(),n]})))}(n?u.fromRawTreeStateToRawState(t).blocks:o,e);var s=function(t,e){return t.map(E).reduce((function(n,o,i){Array.isArray(o.children)||m(!1);var s=o.children.map(E),c=new a(r({},w(o,e),{prevSibling:0===i?null:t[i-1].key,nextSibling:i===t.length-1?null:t[i+1].key,children:b(s.map((function(t){return t.key})))}));n=n.set(c.getKey(),c);for(var u=k([],s,c);u.length>0;){var l=u.pop(),p=l.parentRef,f=p.getChildKeys(),d=f.indexOf(l.key),h=Array.isArray(l.children);if(!h){h||m(!1);break}var g=l.children.map(E),y=new a(r({},w(l,e),{parent:p.getKey(),children:b(g.map((function(t){return t.key}))),prevSibling:0===d?null:f.get(d-1),nextSibling:d===f.size-1?null:f.get(d+1)}));n=n.set(y.getKey(),y),u=k(u,g,y)}return n}),S())}(o,e);return s}(t,e),o=n.isEmpty()?new l:l.createEmpty(n.first().getKey());return new s({blockMap:n,entityMap:e,selectionBefore:o,selectionAfter:o})}},68115:(t,e,n)=>{"use strict";var r=n(28),o=n(18489).List;t.exports=function(t,e){var n=t.map((function(t,n){var o=e[n];return r.create({style:t,entity:o})}));return o(n)}},9769:(t,e,n)=>{"use strict";var r=n(13820).substr;t.exports=function(t,e){var n=Array(t.length).fill(null);return e&&e.forEach((function(e){for(var o=r(t,0,e.offset).length,i=o+r(t,e.offset,e.length).length,a=o;a<i;a++)n[a]=e.key})),n}},47413:(t,e,n)=>{"use strict";var r=n(13820),o=n(18489).OrderedSet,i=r.substr,a=o();t.exports=function(t,e){var n=Array(t.length).fill(a);return e&&e.forEach((function(e){for(var r=i(t,0,e.offset).length,o=r+i(t,e.offset,e.length).length;r<o;)n[r]=n[r].add(e.style),r++})),n}},50884:t=>{"use strict";t.exports={notEmptyKey:function(t){return null!=t&&""!=t}}},8658:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(91355),a=n(34483),s=n(5218),c=n(99322),u=n(98392),l=n(55060),p=i.isBrowser("Firefox");function f(t,e,n,i,a){var s=r.replaceText(t.getCurrentContent(),t.getSelection(),e,n,i);return o.push(t,s,"insert-characters",a)}t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var n=t._latestEditorState,r=e.data;if(r)if(t.props.handleBeforeInput&&s(t.props.handleBeforeInput(r,n,e.timeStamp)))e.preventDefault();else{var i=n.getSelection(),d=i.getStartOffset(),h=i.getAnchorKey();if(!i.isCollapsed())return e.preventDefault(),void t.update(f(n,r,n.getCurrentInlineStyle(),a(n.getCurrentContent(),n.getSelection()),!0));var g,y=f(n,r,n.getCurrentInlineStyle(),a(n.getCurrentContent(),n.getSelection()),!1),m=!1;if(m||(m=c(t._latestCommittedEditorState)),!m){var v=n.getBlockTree(h),b=y.getBlockTree(h);m=v.size!==b.size||v.zip(b).some((function(t){var e=t[0],n=t[1],o=e.get("start"),i=o+(o>=d?r.length:0),a=e.get("end"),s=a+(a>=d?r.length:0),c=n.get("start"),u=n.get("end"),l=n.get("decoratorKey");return e.get("decoratorKey")!==l||e.get("leaves").size!==n.get("leaves").size||i!==c||s!==u||null!=l&&u-c!=a-o}))}if(m||(g=r,m=p&&("'"==g||"/"==g)),m||(m=u(y.getDirectionMap()).get(h)!==u(n.getDirectionMap()).get(h)),m)return e.preventDefault(),y=o.set(y,{forceSelection:!0}),void t.update(y);y=o.set(y,{nativelyRenderedContent:y.getCurrentContent()}),t._pendingStateFromBeforeInput=y,l((function(){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0)}))}}},5976:(t,e,n)=>{"use strict";var r=n(46238),o=n(61530),i=n(16838);t.exports=function(t,e){var n=e.currentTarget.ownerDocument;if(!Boolean(t.props.preserveSelectionOnBlur)&&i(n)===n.body){var a=n.defaultView.getSelection(),s=t.editor;1===a.rangeCount&&o(s,a.anchorNode)&&o(s,a.focusNode)&&a.removeAllRanges()}var c=t._latestEditorState,u=c.getSelection();if(u.getHasFocus()){var l=u.set("hasFocus",!1);t.props.onBlur&&t.props.onBlur(e),t.update(r.acceptSelection(c,l))}}},70410:(t,e,n)=>{"use strict";var r=n(46238);t.exports=function(t,e){t.setMode("composite"),t.update(r.set(t._latestEditorState,{inCompositionMode:!0})),t._onCompositionStart(e)}},3248:(t,e,n)=>{"use strict";var r=n(25057);t.exports=function(t,e){t._latestEditorState.getSelection().isCollapsed()?e.preventDefault():t.setClipboard(r(t._latestEditorState))}},46811:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(99986),a=n(25057),s=n(51702),c=n(89836);t.exports=function(t,e){var n,u=t._latestEditorState,l=u.getSelection(),p=e.target;if(l.isCollapsed())e.preventDefault();else{if(c(p)){var f=p;n=s(i.getScrollParent(f))}var d=a(u);t.setClipboard(d),t.setMode("cut"),setTimeout((function(){t.restoreEditorDOM(n),t.exitCurrentMode(),t.update(function(t){var e=r.removeRange(t.getCurrentContent(),t.getSelection(),"forward");return o.push(t,e,"remove-range")}(u))}),0)}}},98451:t=>{"use strict";t.exports=function(t,e){t.setMode("drag"),e.preventDefault()}},15160:t=>{"use strict";t.exports=function(t){t._internalDrag=!0,t.setMode("drag")}},45313:(t,e,n)=>{"use strict";var r=n(46238),o=n(91355);t.exports=function(t,e){var n=t._latestEditorState,i=n.getSelection();if(!i.getHasFocus()){var a=i.set("hasFocus",!0);t.props.onFocus&&t.props.onFocus(e),o.isBrowser("Chrome < 60.0.3081.0")?t.update(r.forceSelection(n,a)):t.update(r.acceptSelection(n,a))}}},73078:(t,e,n)=>{"use strict";var r=n(84055),o=n(33638),i=n(46238),a=n(91355),s=n(50884).notEmptyKey,c=n(59321),u=n(19226),l=n(98392),p=a.isEngine("Gecko");t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var n=t.editor.ownerDocument.defaultView.getSelection(),a=n.anchorNode,f=n.isCollapsed,d=(null==a?void 0:a.nodeType)!==Node.TEXT_NODE&&(null==a?void 0:a.nodeType)!==Node.ELEMENT_NODE;if(null!=a&&!d){if(a.nodeType===Node.TEXT_NODE&&(null!==a.previousSibling||null!==a.nextSibling)){var h=a.parentNode;if(null==h)return;a.nodeValue=h.textContent;for(var g=h.firstChild;null!=g;g=g.nextSibling)g!==a&&h.removeChild(g)}var y=a.textContent,m=t._latestEditorState,v=l(c(a)),b=o.decode(v),_=b.blockKey,S=b.decoratorKey,w=b.leafKey,M=m.getBlockTree(_).getIn([S,"leaves",w]),E=M.start,k=M.end,x=m.getCurrentContent(),C=x.getBlockForKey(_),j=C.getText().slice(E,k);if(y.endsWith("\n\n")&&(y=y.slice(0,-1)),y!==j){var O,D,I,L,N=m.getSelection(),A=N.merge({anchorOffset:E,focusOffset:k,isBackward:!1}),T=C.getEntityAt(E),z=s(T)?x.getEntity(T):null,R="MUTABLE"===(null!=z?z.getMutability():null),P=R?"spellcheck-change":"apply-entity",B=r.replaceText(x,A,y,C.getInlineStyleAt(E),R?C.getEntityAt(E):null);if(p)O=n.anchorOffset,D=n.focusOffset,L=(I=E+Math.min(O,D))+Math.abs(O-D),O=I,D=L;else{var U=y.length-j.length;I=N.getStartOffset(),L=N.getEndOffset(),O=f?L+U:I,D=L+U}var F=B.merge({selectionBefore:x.getSelectionAfter(),selectionAfter:N.merge({anchorOffset:O,focusOffset:D})});t.update(i.push(m,F,P))}else{var K=e.nativeEvent.inputType;if(K){var H=function(t,e){return"deleteContentBackward"===t?u(e):e}(K,m);if(H!==m)return t.restoreEditorDOM(),void t.update(H)}}}}},63194:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(76944),a=n(7482),s=n(70069),c=n(91355),u=n(5218),l=n(63453),p=n(29683),f=n(47796),d=n(27380),h=n(24738),g=n(92172),y=n(19226),m=n(35394),v=n(95358),b=n(95649),_=i.isOptionKeyCommand,S=c.isBrowser("Chrome");t.exports=function(t,e){var n=e.which,i=t._latestEditorState;function c(n){var r=t.props[n];return!!r&&(r(e),!0)}switch(n){case a.RETURN:if(e.preventDefault(),t.props.handleReturn&&u(t.props.handleReturn(e,i)))return;break;case a.ESC:if(e.preventDefault(),c("onEscape"))return;break;case a.TAB:if(c("onTab"))return;break;case a.UP:if(c("onUpArrow"))return;break;case a.RIGHT:if(c("onRightArrow"))return;break;case a.DOWN:if(c("onDownArrow"))return;break;case a.LEFT:if(c("onLeftArrow"))return;break;case a.SPACE:S&&_(e)&&e.preventDefault()}var w=t.props.keyBindingFn(e);if(null!=w&&""!==w)if("undo"!==w){if(e.preventDefault(),!t.props.handleKeyCommand||!u(t.props.handleKeyCommand(w,i,e.timeStamp))){var M=function(t,e,n){switch(t){case"redo":return o.redo(e);case"delete":return m(e);case"delete-word":return f(e);case"backspace":return y(e);case"backspace-word":return p(e);case"backspace-to-start-of-line":return l(e,n);case"split-block":return d(e);case"transpose-characters":return v(e);case"move-selection-to-start-of-block":return g(e);case"move-selection-to-end-of-block":return h(e);case"secondary-cut":return s.cut(e);case"secondary-paste":return s.paste(e);default:return e}}(w,i,e);M!==i&&t.update(M)}}else b(e,i,t.update);else if(n===a.SPACE&&S&&_(e)){var E=r.replaceText(i.getCurrentContent(),i.getSelection()," ");t.update(o.push(i,E,"insert-characters"))}}},88924:(t,e,n)=>{"use strict";var r=n(38046),o=n(28),i=n(97880),a=n(84055),s=n(17605),c=n(46238),u=n(93626),l=n(34483),p=n(26288),f=n(5218),d=n(39347);function h(t,e,n){var r=a.replaceWithFragment(t.getCurrentContent(),t.getSelection(),e);return c.push(t,r.set("entityMap",n),"insert-fragment")}t.exports=function(t,e){e.preventDefault();var n=new i(e.clipboardData);if(!n.isRichText()){var g=n.getFiles(),y=n.getText();if(g.length>0){if(t.props.handlePastedFiles&&f(t.props.handlePastedFiles(g)))return;return void p(g,(function(e){if(e=e||y){var n=t._latestEditorState,i=d(e),p=o.create({style:n.getCurrentInlineStyle(),entity:l(n.getCurrentContent(),n.getSelection())}),f=u.getCurrentBlockType(n),h=s.processText(i,p,f),g=r.createFromArray(h),m=a.replaceWithFragment(n.getCurrentContent(),n.getSelection(),g);t.update(c.push(n,m,"insert-fragment"))}}))}}var m=[],v=n.getText(),b=n.getHTML(),_=t._latestEditorState;if(t.props.formatPastedText){var S=t.props.formatPastedText(v,b);v=S.text,b=S.html}if(!t.props.handlePastedText||!f(t.props.handlePastedText(v,b,_))){if(v&&(m=d(v)),!t.props.stripPastedStyles){var w,M=t.getClipboard();if(!t.props.formatPastedText&&n.isRichText()&&M){if(-1!==(null===(w=b)||void 0===w?void 0:w.indexOf(t.getEditorKey()))||1===m.length&&1===M.size&&M.first().getText()===v)return void t.update(h(t._latestEditorState,M))}else if(M&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&function(t,e){return t.length===e.size&&e.valueSeq().every((function(e,n){return e.getText()===t[n]}))}(m,M))return void t.update(h(t._latestEditorState,M));if(b){var E=s.processHTML(b,t.props.blockRenderMap);if(E){var k=E.contentBlocks,x=E.entityMap;if(k){var C=r.createFromArray(k);return void t.update(h(t._latestEditorState,C,x))}}}t.setClipboard(null)}if(m.length){var j=o.create({style:_.getCurrentInlineStyle(),entity:l(_.getCurrentContent(),_.getSelection())}),O=u.getCurrentBlockType(_),D=s.processText(m,j,O),I=r.createFromArray(D);t.update(h(t._latestEditorState,I))}}}},31611:(t,e,n)=>{"use strict";var r=n(31532),o=n(46238),i=n(23357),a=n(62263);t.exports=function(t){if(t._blockSelectEvents||t._latestEditorState!==t.props.editorState){if(t._blockSelectEvents){var e=t.props.editorState.getSelection();r.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:(new Error).stack}),selectionState:JSON.stringify(e.toJS())})}}else{var n=t.props.editorState,s=a(n,i(t)),c=s.selectionState;c!==n.getSelection()&&(n=s.needsRecovery?o.forceSelection(n,c):o.acceptSelection(n,c),t.update(n))}}},84963:(t,e,n)=>{"use strict";var r=n(56588),o=n(13820).strlen;t.exports=function(t,e){var n=[];return t.findEntityRanges((function(t){return!!t.getEntity()}),(function(i,a){var s=t.getText(),c=t.getEntityAt(i);n.push({offset:o(s.slice(0,i)),length:o(s.slice(i,a)),key:Number(e[r.stringify(c)])})})),n}},63384:(t,e,n)=>{"use strict";var r=n(13820),o=n(90754),i=function(t,e){return t===e},a=function(t){return!!t},s=[];t.exports=function(t){var e=t.getCharacterList().map((function(t){return t.getStyle()})).toList(),n=e.flatten().toSet().map((function(n){return function(t,e,n){var s=[],c=e.map((function(t){return t.has(n)})).toList();return o(c,i,a,(function(e,o){var i=t.getText();s.push({offset:r.strlen(i.slice(0,e)),length:r.strlen(i.slice(e,o)),style:n})})),s}(t,e,n)}));return Array.prototype.concat.apply(s,n.toJS())}},96107:(t,e,n)=>{"use strict";var r=n(13820),o=n(45653),i=n(74468),a=n(73012);function s(t,e){for(var n=1/0,r=1/0,o=-1/0,i=-1/0,a=0;a<t.length;a++){var s=t[a];0!==s.width&&1!==s.width&&(n=Math.min(n,s.top),r=Math.min(r,s.bottom),o=Math.max(o,s.top),i=Math.max(i,s.bottom))}return o<=r&&o-n<e&&i-r<e}function c(t){switch(t.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return t.length;default:return t.childNodes.length}}t.exports=function(t){t.collapsed||a(!1);var e=(t=t.cloneRange()).startContainer;1!==e.nodeType&&(e=e.parentNode);var n=function(t){var e=getComputedStyle(t),n=o(t),r=n.createElement("div");r.style.fontFamily=e.fontFamily,r.style.fontSize=e.fontSize,r.style.fontStyle=e.fontStyle,r.style.fontWeight=e.fontWeight,r.style.lineHeight=e.lineHeight,r.style.position="absolute",r.textContent="M";var i=n.body;i||a(!1),i.appendChild(r);var s=r.getBoundingClientRect();return i.removeChild(r),s.height}(e),u=t.endContainer,l=t.endOffset;for(t.setStart(t.startContainer,0);s(i(t),n)&&(u=t.startContainer,l=t.startOffset,u.parentNode||a(!1),t.setStartBefore(u),1!==u.nodeType||"inline"===getComputedStyle(u).display););for(var p=u,f=l-1;;){for(var d=p.nodeValue,h=f;h>=0;h--)if(!(null!=d&&h>0&&r.isSurrogatePair(d,h-1))){if(t.setStart(p,h),!s(i(t),n))break;u=p,l=h}if(-1===h||0===p.childNodes.length)break;f=c(p=p.childNodes[h])}return t.setStart(u,l),t}},59321:(t,e,n)=>{"use strict";var r=n(45653),o=n(6244);t.exports=function(t){for(var e=t;e&&e!==r(t).documentElement;){var n=o(e);if(null!=n)return n;e=e.parentNode}return null}},90754:t=>{"use strict";t.exports=function(t,e,n,r){if(t.size){var o=0;t.reduce((function(t,i,a){return e(t,i)||(n(t)&&r(o,a),o=a),i})),n(t.last())&&r(o,t.count())}}},84894:t=>{"use strict";var e={},n=Math.pow(2,24);t.exports=function(){for(var t;void 0===t||e.hasOwnProperty(t)||!isNaN(+t);)t=Math.floor(Math.random()*n).toString(32);return e[t]=!0,t}},3022:(t,e,n)=>{"use strict";var r=n(19142),o=n(21622),i=n(73012);function a(t,e,n,a,s,c,u){var l=n.getStartOffset(),p=n.getEndOffset(),f=t.__get(s).getMutability(),d=u?l:p;if("MUTABLE"===f)return n;var h=o(e,s).filter((function(t){return d<=t.end&&d>=t.start}));1!=h.length&&i(!1);var g=h[0];if("IMMUTABLE"===f)return n.merge({anchorOffset:g.start,focusOffset:g.end,isBackward:!1});c||(u?p=g.end:l=g.start);var y=r.getRemovalRange(l,p,e.getText().slice(g.start,g.end),g.start,a);return n.merge({anchorOffset:y.start,focusOffset:y.end,isBackward:!1})}t.exports=function(t,e,n,r,o){var i=r.getStartOffset(),s=r.getEndOffset(),c=e.getEntityAt(i),u=n.getEntityAt(s-1);if(!c&&!u)return r;var l=r;if(c&&c===u)l=a(t,e,l,o,c,!0,!0);else if(c&&u){var p=a(t,e,l,o,c,!1,!0),f=a(t,n,l,o,u,!1,!1);l=l.merge({anchorOffset:p.getAnchorOffset(),focusOffset:f.getFocusOffset(),isBackward:!1})}else if(c){var d=a(t,e,l,o,c,!1,!0);l=l.merge({anchorOffset:d.getStartOffset(),isBackward:!1})}else if(u){var h=a(t,n,l,o,u,!1,!1);l=l.merge({focusOffset:h.getEndOffset(),isBackward:!1})}return l}},23357:(t,e,n)=>{"use strict";var r=n(73012),o=n(8187);t.exports=function(t){var e=t.editorContainer;return e||r(!1),o(e.firstChild)||r(!1),e.firstChild}},58364:(t,e,n)=>{"use strict";var r=n(58064),o=n(77506);t.exports=function(t,e){var n=e.getStartKey(),i=e.getStartOffset(),a=e.getEndKey(),s=e.getEndOffset(),c=o(t,e).getBlockMap(),u=c.keySeq(),l=u.indexOf(n),p=u.indexOf(a)+1;return r(c.slice(l,p).map((function(t,e){var r=t.getText(),o=t.getCharacterList();return n===a?t.merge({text:r.slice(i,s),characterList:o.slice(i,s)}):e===n?t.merge({text:r.slice(i),characterList:o.slice(i)}):e===a?t.merge({text:r.slice(0,s),characterList:o.slice(0,s)}):t})))}},45653:t=>{"use strict";t.exports=function(t){return t&&t.ownerDocument?t.ownerDocument:document}},91741:(t,e,n)=>{"use strict";var r=n(76944),o=n(7482),i=n(91355),a=i.isPlatform("Mac OS X"),s=a&&i.isBrowser("Firefox < 29"),c=r.hasCommandModifier,u=r.isCtrlKeyCommand;function l(t){return a&&t.altKey||u(t)}t.exports=function(t){switch(t.keyCode){case 66:return c(t)?"bold":null;case 68:return u(t)?"delete":null;case 72:return u(t)?"backspace":null;case 73:return c(t)?"italic":null;case 74:return c(t)?"code":null;case 75:return a&&u(t)?"secondary-cut":null;case 77:case 79:return u(t)?"split-block":null;case 84:return a&&u(t)?"transpose-characters":null;case 85:return c(t)?"underline":null;case 87:return a&&u(t)?"backspace-word":null;case 89:return u(t)?a?"secondary-paste":"redo":null;case 90:return function(t){return c(t)?t.shiftKey?"redo":"undo":null}(t)||null;case o.RETURN:return"split-block";case o.DELETE:return function(t){return!a&&t.shiftKey?null:l(t)?"delete-word":"delete"}(t);case o.BACKSPACE:return function(t){return c(t)&&a?"backspace-to-start-of-line":l(t)?"backspace-word":"backspace"}(t);case o.LEFT:return s&&c(t)?"move-selection-to-start-of-block":null;case o.RIGHT:return s&&c(t)?"move-selection-to-end-of-block":null;default:return null}}},62263:(t,e,n)=>{"use strict";var r=n(97222);t.exports=function(t,e){var n=e.ownerDocument.defaultView.getSelection(),o=n.anchorNode,i=n.anchorOffset,a=n.focusNode,s=n.focusOffset;return 0===n.rangeCount||null==o||null==a?{selectionState:t.getSelection().set("hasFocus",!1),needsRecovery:!1}:r(t,e,o,i,a,s)}},97222:(t,e,n)=>{"use strict";var r=n(59321),o=n(6244),i=n(39433),a=n(73012),s=n(23833),c=n(98392);function u(t,e,n){var i=e,u=r(i);if(null!=u||t&&(t===i||t.firstChild===i)||a(!1),t===i&&(i=i.firstChild,s(i)||a(!1),"true"!==i.getAttribute("data-contents")&&a(!1),n>0&&(n=i.childNodes.length)),0===n){var p=null;if(null!=u)p=u;else{var f=function(t){for(;t.firstChild&&(s(t.firstChild)&&"true"===t.firstChild.getAttribute("data-blocks")||o(t.firstChild));)t=t.firstChild;return t}(i);p=c(o(f))}return{key:p,offset:0}}var d=i.childNodes[n-1],h=null,g=null;if(o(d)){var y=function(t){for(;t.lastChild&&(s(t.lastChild)&&"true"===t.lastChild.getAttribute("data-blocks")||o(t.lastChild));)t=t.lastChild;return t}(d);h=c(o(y)),g=l(y)}else h=c(u),g=l(d);return{key:h,offset:g}}function l(t){var e=t.textContent;return"\n"===e?0:e.length}t.exports=function(t,e,n,o,a,s){var l=n.nodeType===Node.TEXT_NODE,p=a.nodeType===Node.TEXT_NODE;if(l&&p)return{selectionState:i(t,c(r(n)),o,c(r(a)),s),needsRecovery:!1};var f=null,d=null,h=!0;return l?(f={key:c(r(n)),offset:o},d=u(e,a,s)):p?(d={key:c(r(a)),offset:s},f=u(e,n,o)):(f=u(e,n,o),d=u(e,a,s),n===a&&o===s&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:i(t,f.key,f.offset,d.key,d.offset),needsRecovery:h}}},34483:(t,e,n)=>{"use strict";var r=n(50884).notEmptyKey;function o(t,e){return r(e)&&"MUTABLE"===t.__get(e).getMutability()?e:null}t.exports=function(t,e){var n;if(e.isCollapsed()){var r=e.getAnchorKey(),i=e.getAnchorOffset();return i>0?(n=t.getBlockForKey(r).getEntityAt(i-1))!==t.getBlockForKey(r).getEntityAt(i)?null:o(t.getEntityMap(),n):null}var a=e.getStartKey(),s=e.getStartOffset(),c=t.getBlockForKey(a);return n=s===c.getLength()?null:c.getEntityAt(s),o(t.getEntityMap(),n)}},25057:(t,e,n)=>{"use strict";var r=n(58364);t.exports=function(t){var e=t.getSelection();return e.isCollapsed()?null:r(t.getCurrentContent(),e)}},2839:(t,e,n)=>{"use strict";var r=n(47724);t.exports=function(t,e){if(!(t instanceof r))return null;var n=t.getNextSiblingKey();if(n)return n;var o=t.getParentKey();if(!o)return null;for(var i=e.get(o);i&&!i.getNextSiblingKey();){var a=i.getParentKey();i=a?e.get(a):null}return i?i.getNextSiblingKey():null}},14723:t=>{"use strict";t.exports=function(t){return Object.keys(t).map((function(e){return t[e]}))}},58500:(t,e,n)=>{"use strict";var r=n(74468);t.exports=function(t){var e=r(t),n=0,o=0,i=0,a=0;if(e.length){if(e.length>1&&0===e[0].width){var s=e[1];n=s.top,o=s.right,i=s.bottom,a=s.left}else{var c=e[0];n=c.top,o=c.right,i=c.bottom,a=c.left}for(var u=1;u<e.length;u++){var l=e[u];0!==l.height&&0!==l.width&&(n=Math.min(n,l.top),o=Math.max(o,l.right),i=Math.max(i,l.bottom),a=Math.min(a,l.left))}}return{top:n,right:o,bottom:i,left:a,width:o-a,height:i-n}}},74468:(t,e,n)=>{"use strict";var r=n(91355),o=n(73012),i=r.isBrowser("Chrome")?function(t){for(var e=t.cloneRange(),n=[],r=t.endContainer;null!=r;r=r.parentNode){var i=r===t.commonAncestorContainer;i?e.setStart(t.startContainer,t.startOffset):e.setStart(e.endContainer,0);var a,s=Array.from(e.getClientRects());if(n.push(s),i)return n.reverse(),(a=[]).concat.apply(a,n);e.setEndBefore(r)}o(!1)}:function(t){return Array.from(t.getClientRects())};t.exports=i},21622:(t,e,n)=>{"use strict";var r=n(73012);t.exports=function(t,e){var n=[];return t.findEntityRanges((function(t){return t.getEntity()===e}),(function(t,e){n.push({start:t,end:e})})),n.length||r(!1),n}},27917:(t,e,n)=>{"use strict";var r=n(91355),o=n(73012),i=r.isBrowser("IE <= 9");t.exports=function(t){var e,n=null;return!i&&document.implementation&&document.implementation.createHTMLDocument&&((e=document.implementation.createHTMLDocument("foo")).documentElement||o(!1),e.documentElement.innerHTML=t,n=e.getElementsByTagName("body")[0]),n}},6244:(t,e,n)=>{"use strict";var r=n(23833);t.exports=function t(e){if(r(e)){var n=e,o=n.getAttribute("data-offset-key");if(o)return o;for(var i=0;i<n.childNodes.length;i++){var a=t(n.childNodes[i]);if(a)return a}}return null}},26288:(t,e,n)=>{"use strict";var r=n(73012),o=/\.textClipping$/,i={"text/plain":!0,"text/html":!0,"text/rtf":!0};t.exports=function(t,e){var a=0,s=[];t.forEach((function(c){!function(t,e){if(!n.g.FileReader||t.type&&!(t.type in i))e("");else{if(""===t.type){var a="";return o.test(t.name)&&(a=t.name.replace(o,"")),void e(a)}var s=new FileReader;s.onload=function(){var t=s.result;"string"!=typeof t&&r(!1),e(t)},s.onerror=function(){e("")},s.readAsText(t)}}(c,(function(n){a++,n&&s.push(n.slice(0,5e3)),a==t.length&&e(s.join("\r"))}))}))}},39433:(t,e,n)=>{"use strict";var r=n(33638),o=n(98392);t.exports=function(t,e,n,i,a){var s=o(t.getSelection());if(!e||!i)return s;var c=r.decode(e),u=c.blockKey,l=t.getBlockTree(u),p=l&&l.getIn([c.decoratorKey,"leaves",c.leafKey]),f=r.decode(i),d=f.blockKey,h=t.getBlockTree(d),g=h&&h.getIn([f.decoratorKey,"leaves",f.leafKey]);if(!p||!g)return s;var y=p.get("start"),m=g.get("start"),v=p?y+n:null,b=g?m+a:null;if(s.getAnchorKey()===u&&s.getAnchorOffset()===v&&s.getFocusKey()===d&&s.getFocusOffset()===b)return s;var _=!1;if(u===d){var S=p.get("end"),w=g.get("end");_=m===y&&w===S?a<n:m<y}else _=t.getCurrentContent().getBlockMap().keySeq().skipUntil((function(t){return t===u||t===d})).first()===d;return s.merge({anchorKey:u,anchorOffset:v,focusKey:d,focusOffset:b,isBackward:_})}},602:(t,e,n)=>{"use strict";var r=n(58500);t.exports=function(t){var e=t.getSelection();if(!e.rangeCount)return null;var n=e.getRangeAt(0),o=r(n),i=o.top,a=o.right,s=o.bottom,c=o.left;return 0===i&&0===a&&0===s&&0===c?null:o}},52868:t=>{"use strict";t.exports=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}},27936:t=>{"use strict";t.exports=function(t){return!("undefined"==typeof window||!window.__DRAFT_GKX||!window.__DRAFT_GKX[t])}},14719:(t,e,n)=>{"use strict";var r=n(38046),o=n(47724),i=n(18489),a=n(31226),s=n(73012),c=n(58064),u=i.List;t.exports=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"REPLACE_WITH_NEW_DATA";e.isCollapsed()||s(!1);var l=t.getBlockMap(),p=c(n),f=e.getStartKey(),d=e.getStartOffset(),h=l.get(f);return h instanceof o&&(h.getChildKeys().isEmpty()||s(!1)),1===p.size?function(t,e,n,r,o,i){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"REPLACE_WITH_NEW_DATA",c=n.get(o),u=c.getText(),l=c.getCharacterList(),p=o,f=i+r.getText().length,d=null;switch(s){case"MERGE_OLD_DATA_TO_NEW_DATA":d=r.getData().merge(c.getData());break;case"REPLACE_WITH_NEW_DATA":d=r.getData()}var h=c.getType();u&&"unstyled"===h&&(h=r.getType());var g=c.merge({text:u.slice(0,i)+r.getText()+u.slice(i),characterList:a(l,r.getCharacterList(),i),type:h,data:d});return t.merge({blockMap:n.set(o,g),selectionBefore:e,selectionAfter:e.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})}(t,e,l,p.first(),f,d,i):function(t,e,n,i,a,s){var c=n.first()instanceof o,l=[],p=i.size,f=n.get(a),d=i.first(),h=i.last(),g=h.getLength(),y=h.getKey(),m=c&&(!f.getChildKeys().isEmpty()||!d.getChildKeys().isEmpty());n.forEach((function(t,e){e===a?(m?l.push(t):l.push(function(t,e,n){var r=t.getText(),o=t.getCharacterList(),i=r.slice(0,e),a=o.slice(0,e),s=n.first();return t.merge({text:i+s.getText(),characterList:a.concat(s.getCharacterList()),type:i?t.getType():s.getType(),data:s.getData()})}(t,s,i)),i.slice(m?0:1,p-1).forEach((function(t){return l.push(t)})),l.push(function(t,e,n){var r=t.getText(),o=t.getCharacterList(),i=r.length,a=r.slice(e,i),s=o.slice(e,i),c=n.last();return c.merge({text:c.getText()+a,characterList:c.getCharacterList().concat(s),data:c.getData()})}(t,s,i))):l.push(t)}));var v=r.createFromArray(l);return c&&(v=function(t,e,n,r){return t.withMutations((function(e){var o=n.getKey(),i=r.getKey(),a=n.getNextSiblingKey(),s=n.getParentKey(),c=function(t,e){var n=t.getKey(),r=t,o=[];for(e.get(n)&&o.push(n);r&&r.getNextSiblingKey();){var i=r.getNextSiblingKey();if(!i)break;o.push(i),r=e.get(i)}return o}(r,t),l=c[c.length-1];if(e.get(i)?(e.setIn([o,"nextSibling"],i),e.setIn([i,"prevSibling"],o)):(e.setIn([o,"nextSibling"],r.getNextSiblingKey()),e.setIn([r.getNextSiblingKey(),"prevSibling"],o)),e.setIn([l,"nextSibling"],a),a&&e.setIn([a,"prevSibling"],l),c.forEach((function(t){return e.setIn([t,"parent"],s)})),s){var p=t.get(s).getChildKeys(),f=p.indexOf(o)+1,d=p.toArray();d.splice.apply(d,[f,0].concat(c)),e.setIn([s,"children"],u(d))}}))}(v,0,f,d)),t.merge({blockMap:v,selectionBefore:e,selectionAfter:e.merge({anchorKey:y,anchorOffset:g,focusKey:y,focusOffset:g,isBackward:!1})})}(t,e,l,p,f,d)}},31226:t=>{"use strict";t.exports=function(t,e,n){var r=t;if(n===r.count())e.forEach((function(t){r=r.push(t)}));else if(0===n)e.reverse().forEach((function(t){r=r.unshift(t)}));else{var o=r.slice(0,n),i=r.slice(n);r=o.concat(e,i).toList()}return r}},79585:(t,e,n)=>{"use strict";var r=n(18489),o=n(31226),i=n(73012),a=r.Repeat;t.exports=function(t,e,n,r){e.isCollapsed()||i(!1);var s=null;if(null!=n&&(s=n.length),null==s||0===s)return t;var c=t.getBlockMap(),u=e.getStartKey(),l=e.getStartOffset(),p=c.get(u),f=p.getText(),d=p.merge({text:f.slice(0,l)+n+f.slice(l,p.getLength()),characterList:o(p.getCharacterList(),a(r,s).toList(),l)}),h=l+s;return t.merge({blockMap:c.set(u,d),selectionAfter:e.merge({anchorOffset:h,focusOffset:h})})}},23833:t=>{"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&t.nodeType===Node.ELEMENT_NODE}},5218:t=>{"use strict";t.exports=function(t){return"handled"===t||!0===t}},19662:(t,e,n)=>{"use strict";var r=n(23833);t.exports=function(t){return!(!t||!t.ownerDocument)&&r(t)&&"A"===t.nodeName}},78659:(t,e,n)=>{"use strict";var r=n(23833);t.exports=function(t){return!(!t||!t.ownerDocument)&&r(t)&&"BR"===t.nodeName}},8187:t=>{"use strict";t.exports=function(t){return!(!t||!t.ownerDocument)&&(t.ownerDocument.defaultView?t instanceof t.ownerDocument.defaultView.HTMLElement:t instanceof HTMLElement)}},9115:(t,e,n)=>{"use strict";var r=n(23833);t.exports=function(t){return!(!t||!t.ownerDocument)&&r(t)&&"IMG"===t.nodeName}},89836:t=>{"use strict";t.exports=function(t){if(!t||!("ownerDocument"in t))return!1;if("ownerDocument"in t){var e=t;if(!e.ownerDocument.defaultView)return e instanceof Node;if(e instanceof e.ownerDocument.defaultView.Node)return!0}return!1}},99322:t=>{"use strict";t.exports=function(t){var e=t.getSelection(),n=e.getAnchorKey(),r=t.getBlockTree(n),o=e.getStartOffset(),i=!1;return r.some((function(t){return o===t.get("start")?(i=!0,!0):o<t.get("end")&&t.get("leaves").some((function(t){var e=t.get("start");return o===e&&(i=!0,!0)}))})),i}},18528:(t,e,n)=>{"use strict";var r=n(7482);t.exports=function(t){return t.which===r.RETURN&&(t.getModifierState("Shift")||t.getModifierState("Alt")||t.getModifierState("Control"))}},63453:(t,e,n)=>{"use strict";var r=n(46238),o=n(96107),i=n(97222),a=n(39443),s=n(26371);t.exports=function(t,e){var n=s(t,(function(t){var n=t.getSelection();if(n.isCollapsed()&&0===n.getAnchorOffset())return a(t,1);var r=e.currentTarget.ownerDocument.defaultView.getSelection().getRangeAt(0);return r=o(r),i(t,null,r.endContainer,r.endOffset,r.startContainer,r.startOffset).selectionState}),"backward");return n===t.getCurrentContent()?t:r.push(t,n,"remove-range")}},29683:(t,e,n)=>{"use strict";var r=n(81360),o=n(46238),i=n(39443),a=n(26371);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),n=e.getStartOffset();if(0===n)return i(t,1);var o=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(o).getText().slice(0,n),s=r.getBackward(a);return i(t,s.length||1)}),"backward");return e===t.getCurrentContent()?t:o.push(t,e,"remove-range")}},47796:(t,e,n)=>{"use strict";var r=n(81360),o=n(46238),i=n(95217),a=n(26371);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),n=e.getStartOffset(),o=e.getStartKey(),a=t.getCurrentContent().getBlockForKey(o).getText().slice(n),s=r.getForward(a);return i(t,s.length||1)}),"forward");return e===t.getCurrentContent()?t:o.push(t,e,"remove-range")}},27380:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238);t.exports=function(t){var e=r.splitBlock(t.getCurrentContent(),t.getSelection());return o.push(t,e,"split-block")}},24738:(t,e,n)=>{"use strict";var r=n(46238);t.exports=function(t){var e=t.getSelection(),n=e.getEndKey(),o=t.getCurrentContent().getBlockForKey(n).getLength();return r.set(t,{selection:e.merge({anchorKey:n,anchorOffset:o,focusKey:n,focusOffset:o,isBackward:!1}),forceSelection:!0})}},92172:(t,e,n)=>{"use strict";var r=n(46238);t.exports=function(t){var e=t.getSelection(),n=e.getStartKey();return r.set(t,{selection:e.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}},19226:(t,e,n)=>{"use strict";var r=n(46238),o=n(13820),i=n(39443),a=n(26371);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),a=e.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a-1];return i(t,s?o.getUTF16Length(s,0):1)}),"backward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return r.push(t,e.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}},35394:(t,e,n)=>{"use strict";var r=n(46238),o=n(13820),i=n(95217),a=n(26371);t.exports=function(t){var e=a(t,(function(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getAnchorKey(),a=e.getAnchorOffset(),s=n.getBlockForKey(r).getText()[a];return i(t,s?o.getUTF16Length(s,0):1)}),"forward");if(e===t.getCurrentContent())return t;var n=t.getSelection();return r.push(t,e.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}},95358:(t,e,n)=>{"use strict";var r=n(84055),o=n(46238),i=n(58364);t.exports=function(t){var e=t.getSelection();if(!e.isCollapsed())return t;var n=e.getAnchorOffset();if(0===n)return t;var a,s,c=e.getAnchorKey(),u=t.getCurrentContent(),l=u.getBlockForKey(c).getLength();if(l<=1)return t;n===l?(a=e.set("anchorOffset",n-1),s=e):s=(a=e.set("focusOffset",n+1)).set("anchorOffset",n+1);var p=i(u,a),f=r.removeRange(u,a,"backward"),d=f.getSelectionAfter(),h=d.getAnchorOffset()-1,g=d.merge({anchorOffset:h,focusOffset:h}),y=r.replaceWithFragment(f,g,p),m=o.push(t,y,"insert-fragment");return o.acceptSelection(m,s)}},95649:(t,e,n)=>{"use strict";var r=n(46238);t.exports=function(t,e,n){var o=r.undo(e);if("spellcheck-change"!==e.getLastChangeType())t.preventDefault(),e.getNativelyRenderedContent()?(n(r.set(e,{nativelyRenderedContent:null})),setTimeout((function(){n(o)}),0)):n(o);else{var i=o.getCurrentContent();n(r.set(o,{nativelyRenderedContent:i}))}}},37248:(t,e,n)=>{"use strict";var r=n(18489).Map;t.exports=function(t,e,n){var o=e.getStartKey(),i=e.getEndKey(),a=t.getBlockMap(),s=a.toSeq().skipUntil((function(t,e){return e===o})).takeUntil((function(t,e){return e===i})).concat(r([[i,a.get(i)]])).map(n);return t.merge({blockMap:a.merge(s),selectionBefore:e,selectionAfter:e})}},58710:(t,e,n)=>{"use strict";var r=n(47724),o=n(2839),i=n(18489),a=n(73012),s=i.OrderedMap,c=i.List,u=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}},l=function(t,e,n,r,o){if(!o)return t;var i="after"===r,a=e.getKey(),s=n.getKey(),l=e.getParentKey(),p=e.getNextSiblingKey(),f=e.getPrevSiblingKey(),d=n.getParentKey(),h=i?n.getNextSiblingKey():s,g=i?s:n.getPrevSiblingKey();return t.withMutations((function(t){u(l,t,(function(t){var e=t.getChildKeys();return t.merge({children:e.delete(e.indexOf(a))})})),u(f,t,(function(t){return t.merge({nextSibling:p})})),u(p,t,(function(t){return t.merge({prevSibling:f})})),u(h,t,(function(t){return t.merge({prevSibling:a})})),u(g,t,(function(t){return t.merge({nextSibling:a})})),u(d,t,(function(t){var e=t.getChildKeys(),n=e.indexOf(s),r=i?n+1:0!==n?n-1:0,o=e.toArray();return o.splice(r,0,a),t.merge({children:c(o)})})),u(a,t,(function(t){return t.merge({nextSibling:h,prevSibling:g,parent:d})}))}))};t.exports=function(t,e,n,i){"replace"===i&&a(!1);var c=n.getKey(),u=e.getKey();u===c&&a(!1);var p=t.getBlockMap(),f=e instanceof r,d=[e],h=p.delete(u);f&&(d=[],h=p.withMutations((function(t){var n=e.getNextSiblingKey(),r=o(e,t);t.toSeq().skipUntil((function(t){return t.getKey()===u})).takeWhile((function(t){var e=t.getKey(),o=e===u,i=n&&e!==n,a=!n&&t.getParentKey()&&(!r||e!==r);return!!(o||i||a)})).forEach((function(e){d.push(e),t.delete(e.getKey())}))})));var g=h.toSeq().takeUntil((function(t){return t===n})),y=h.toSeq().skipUntil((function(t){return t===n})).skip(1),m=d.map((function(t){return[t.getKey(),t]})),v=s();if("before"===i){var b=t.getBlockBefore(c);b&&b.getKey()===e.getKey()&&a(!1),v=g.concat([].concat(m,[[c,n]]),y).toOrderedMap()}else if("after"===i){var _=t.getBlockAfter(c);_&&_.getKey()===u&&a(!1),v=g.concat([[c,n]].concat(m),y).toOrderedMap()}return t.merge({blockMap:l(v,e,n,i,f),selectionBefore:t.getSelectionAfter(),selectionAfter:t.getSelectionAfter().merge({anchorKey:u,focusKey:u})})}},39443:(t,e,n)=>{"use strict";n(85806),t.exports=function(t,e){var n=t.getSelection(),r=t.getCurrentContent(),o=n.getStartKey(),i=n.getStartOffset(),a=o,s=0;if(e>i){var c=r.getKeyBefore(o);null==c?a=o:(a=c,s=r.getBlockForKey(c).getText().length)}else s=i-e;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}},95217:(t,e,n)=>{"use strict";n(85806),t.exports=function(t,e){var n,r=t.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=t.getCurrentContent(),s=o;return e>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+e,r.merge({focusKey:s,focusOffset:n})}},58064:(t,e,n)=>{"use strict";var r=n(47724),o=n(84894),i=n(18489).OrderedMap;t.exports=function(t){return t.first()instanceof r?function(t){var e,n={};return i(t.withMutations((function(t){t.forEach((function(r,i){var a=r.getKey(),s=r.getNextSiblingKey(),c=r.getPrevSiblingKey(),u=r.getChildKeys(),l=r.getParentKey(),p=o();if(n[a]=p,s&&(t.get(s)?t.setIn([s,"prevSibling"],p):t.setIn([a,"nextSibling"],null)),c&&(t.get(c)?t.setIn([c,"nextSibling"],p):t.setIn([a,"prevSibling"],null)),l&&t.get(l)){var f=t.get(l).getChildKeys();t.setIn([l,"children"],f.set(f.indexOf(r.getKey()),p))}else t.setIn([a,"parent"],null),e&&(t.setIn([e.getKey(),"nextSibling"],p),t.setIn([a,"prevSibling"],n[e.getKey()])),e=t.get(a);u.forEach((function(e){t.get(e)?t.setIn([e,"parent"],p):t.setIn([a,"children"],r.getChildKeys().filter((function(t){return t!==e})))}))}))})).toArray().map((function(t){return[n[t.getKey()],t.set("key",n[t.getKey()])]})))}(t):function(t){return i(t.toArray().map((function(t){var e=o();return[e,t.set("key",e)]})))}(t)}},77506:(t,e,n)=>{"use strict";var r=n(28),o=n(90754),i=n(73012);function a(t,e,n){var a=e.getCharacterList(),s=n>0?a.get(n-1):void 0,c=n<a.count()?a.get(n):void 0,u=s?s.getEntity():void 0,l=c?c.getEntity():void 0;if(l&&l===u&&"MUTABLE"!==t.__get(l).getMutability()){for(var p,f=function(t,e,n){var r;return o(t,(function(t,e){return t.getEntity()===e.getEntity()}),(function(t){return t.getEntity()===e}),(function(t,e){t<=n&&e>=n&&(r={start:t,end:e})})),"object"!=typeof r&&i(!1),r}(a,l,n),d=f.start,h=f.end;d<h;)p=a.get(d),a=a.set(d,r.applyEntity(p,null)),d++;return e.set("characterList",a)}return e}t.exports=function(t,e){var n=t.getBlockMap(),r=t.getEntityMap(),o={},i=e.getStartKey(),s=e.getStartOffset(),c=n.get(i),u=a(r,c,s);u!==c&&(o[i]=u);var l=e.getEndKey(),p=e.getEndOffset(),f=n.get(l);i===l&&(f=u);var d=a(r,f,p);return d!==f&&(o[l]=d),Object.keys(o).length?t.merge({blockMap:n.merge(o),selectionAfter:e}):t.set("selectionAfter",e)}},12269:(t,e,n)=>{"use strict";var r=n(47724),o=n(2839),i=n(18489),a=(i.List,i.Map),s=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}},c=function(t,e){var n=[];if(!t)return n;for(var r=e.get(t);r&&r.getParentKey();){var o=r.getParentKey();o&&n.push(o),r=o?e.get(o):null}return n},u=function(t,e,n){if(!t)return null;for(var r=n.get(t.getKey()).getNextSiblingKey();r&&!e.get(r);)r=n.get(r).getNextSiblingKey()||null;return r},l=function(t,e,n){if(!t)return null;for(var r=n.get(t.getKey()).getPrevSiblingKey();r&&!e.get(r);)r=n.get(r).getPrevSiblingKey()||null;return r};t.exports=function(t,e){if(e.isCollapsed())return t;var n,i=t.getBlockMap(),p=e.getStartKey(),f=e.getStartOffset(),d=e.getEndKey(),h=e.getEndOffset(),g=i.get(p),y=i.get(d),m=g instanceof r,v=[];if(m){var b=y.getChildKeys(),_=c(d,i);y.getNextSiblingKey()&&(v=v.concat(_)),b.isEmpty()||(v=v.concat(_.concat([d]))),v=v.concat(c(o(y,i),i))}n=g===y?function(t,e,n){if(0===e)for(;e<n;)t=t.shift(),e++;else if(n===t.count())for(;n>e;)t=t.pop(),n--;else{var r=t.slice(0,e),o=t.slice(n);t=r.concat(o).toList()}return t}(g.getCharacterList(),f,h):g.getCharacterList().slice(0,f).concat(y.getCharacterList().slice(h));var S=g.merge({text:g.getText().slice(0,f)+y.getText().slice(h),characterList:n}),w=m&&0===f&&0===h&&y.getParentKey()===p&&null==y.getPrevSiblingKey()?a([[p,null]]):i.toSeq().skipUntil((function(t,e){return e===p})).takeUntil((function(t,e){return e===d})).filter((function(t,e){return-1===v.indexOf(e)})).concat(a([[d,null]])).map((function(t,e){return e===p?S:null})),M=i.merge(w).filter((function(t){return!!t}));return m&&g!==y&&(M=function(t,e,n,r){return t.withMutations((function(i){if(s(e.getKey(),i,(function(t){return t.merge({nextSibling:u(t,i,r),prevSibling:l(t,i,r)})})),s(n.getKey(),i,(function(t){return t.merge({nextSibling:u(t,i,r),prevSibling:l(t,i,r)})})),c(e.getKey(),r).forEach((function(t){return s(t,i,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return i.get(t)})),nextSibling:u(t,i,r),prevSibling:l(t,i,r)})}))})),s(e.getNextSiblingKey(),i,(function(t){return t.merge({prevSibling:e.getPrevSiblingKey()})})),s(e.getPrevSiblingKey(),i,(function(t){return t.merge({nextSibling:u(t,i,r)})})),s(n.getNextSiblingKey(),i,(function(t){return t.merge({prevSibling:l(t,i,r)})})),s(n.getPrevSiblingKey(),i,(function(t){return t.merge({nextSibling:n.getNextSiblingKey()})})),c(n.getKey(),r).forEach((function(t){s(t,i,(function(t){return t.merge({children:t.getChildKeys().filter((function(t){return i.get(t)})),nextSibling:u(t,i,r),prevSibling:l(t,i,r)})}))})),function(t,e){var n=[];if(!t)return n;for(var r=o(t,e);r&&e.get(r);){var i=e.get(r);n.push(r),r=i.getParentKey()?o(i,e):null}return n}(n,r).forEach((function(t){return s(t,i,(function(t){return t.merge({nextSibling:u(t,i,r),prevSibling:l(t,i,r)})}))})),null==t.get(e.getKey())&&null!=t.get(n.getKey())&&n.getParentKey()===e.getKey()&&null==n.getPrevSiblingKey()){var a=e.getPrevSiblingKey();s(n.getKey(),i,(function(t){return t.merge({prevSibling:a})})),s(a,i,(function(t){return t.merge({nextSibling:n.getKey()})}));var p=a?t.get(a):null,f=p?p.getParentKey():null;if(e.getChildKeys().forEach((function(t){s(t,i,(function(t){return t.merge({parent:f})}))})),null!=f){var d=t.get(f);s(f,i,(function(t){return t.merge({children:d.getChildKeys().concat(e.getChildKeys())})}))}s(e.getChildKeys().find((function(e){return null===t.get(e).getNextSiblingKey()})),i,(function(t){return t.merge({nextSibling:e.getNextSiblingKey()})}))}}))}(M,g,y,i)),t.merge({blockMap:M,selectionBefore:e,selectionAfter:e.merge({anchorKey:p,anchorOffset:f,focusKey:p,focusOffset:f,isBackward:!1})})}},26371:(t,e,n)=>{"use strict";var r=n(84055),o=n(27936)("draft_tree_data_support");t.exports=function(t,e,n){var i=t.getSelection(),a=t.getCurrentContent(),s=i,c=i.getAnchorKey(),u=i.getFocusKey(),l=a.getBlockForKey(c);if(o&&"forward"===n&&c!==u)return a;if(i.isCollapsed()){if("forward"===n){if(t.isSelectionAtEndOfContent())return a;if(o&&i.getAnchorOffset()===a.getBlockForKey(c).getLength()){var p=a.getBlockForKey(l.nextSibling);if(!p||0===p.getLength())return a}}else if(t.isSelectionAtStartOfContent())return a;if((s=e(t))===i)return a}return r.removeRange(a,s,n)}},24844:t=>{"use strict";var e=new RegExp("\r","g");t.exports=function(t){return t.replace(e,"")}},46064:(t,e,n)=>{"use strict";var r=n(62599),o=n(31532),i=n(91355),a=n(61530),s=n(16838),c=n(45653),u=n(73012),l=n(23833),p=i.isBrowser("IE");function f(t,e){if(!t)return"[empty]";var n=d(t,e);return n.nodeType===Node.TEXT_NODE?n.textContent:(l(n)||u(!1),n.outerHTML)}function d(t,e){var n=void 0!==e?e(t):[];if(t.nodeType===Node.TEXT_NODE){var r=t.textContent.length;return c(t).createTextNode("[text "+r+(n.length?" | "+n.join(", "):"")+"]")}var o=t.cloneNode();1===o.nodeType&&n.length&&o.setAttribute("data-labels",n.join(", "));for(var i=t.childNodes,a=0;a<i.length;a++)o.appendChild(d(i[a],e));return o}function h(t,e){for(var n=t,r=n;n;){if(l(n)&&r.hasAttribute("contenteditable"))return f(n,e);r=n=n.parentNode}return"Could not find contentEditable parent of node"}function g(t){return null===t.nodeValue?t.childNodes.length:t.nodeValue.length}function y(t,e,n,r){var i=s();if(t.extend&&null!=e&&a(i,e)){n>g(e)&&o.logSelectionStateFailure({anonymizedDom:h(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(r.toJS())});var c=e===t.focusNode;try{t.rangeCount>0&&t.extend&&t.extend(e,n)}catch(a){throw o.logSelectionStateFailure({anonymizedDom:h(e,(function(e){var n=[];return e===i&&n.push("active element"),e===t.anchorNode&&n.push("selection anchor node"),e===t.focusNode&&n.push("selection focus node"),n})),extraParams:JSON.stringify({activeElementName:i?i.nodeName:null,nodeIsFocus:e===t.focusNode,nodeWasFocus:c,selectionRangeCount:t.rangeCount,selectionAnchorNodeName:t.anchorNode?t.anchorNode.nodeName:null,selectionAnchorOffset:t.anchorOffset,selectionFocusNodeName:t.focusNode?t.focusNode.nodeName:null,selectionFocusOffset:t.focusOffset,message:a?""+a:null,offset:n},null,2),selectionState:JSON.stringify(r.toJS(),null,2)}),a}}else if(e&&t.rangeCount>0){var u=t.getRangeAt(0);u.setEnd(e,n),t.addRange(u.cloneRange())}}function m(t,e,n,i){var a=c(e).createRange();if(n>g(e)&&(o.logSelectionStateFailure({anonymizedDom:h(e),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(i.toJS())}),r.handleExtensionCausedError()),a.setStart(e,n),p)try{t.addRange(a)}catch(t){}else t.addRange(a)}t.exports={setDraftEditorSelection:function(t,e,n,r,o){var i=c(e);if(a(i.documentElement,e)){var s=i.defaultView.getSelection(),u=t.getAnchorKey(),l=t.getAnchorOffset(),p=t.getFocusKey(),f=t.getFocusOffset(),d=t.getIsBackward();if(!s.extend&&d){var h=u,g=l;u=p,l=f,p=h,f=g,d=!1}var v=u===n&&r<=l&&o>=l,b=p===n&&r<=f&&o>=f;if(v&&b)return s.removeAllRanges(),m(s,e,l-r,t),void y(s,e,f-r,t);if(d){if(b&&(s.removeAllRanges(),m(s,e,f-r,t)),v){var _=s.focusNode,S=s.focusOffset;s.removeAllRanges(),m(s,e,l-r,t),y(s,_,S,t)}}else v&&(s.removeAllRanges(),m(s,e,l-r,t)),b&&y(s,e,f-r,t)}},addFocusToSelection:y}},70774:(t,e,n)=>{"use strict";var r=n(47724),o=n(84894),i=n(18489),a=n(73012),s=n(37248),c=i.List,u=i.Map,l=function(t,e,n){if(t){var r=e.get(t);r&&e.set(t,n(r))}};t.exports=function(t,e){e.isCollapsed()||a(!1);var n=e.getAnchorKey(),i=t.getBlockMap(),p=i.get(n),f=p.getText();if(!f){var d=p.getType();if("unordered-list-item"===d||"ordered-list-item"===d)return s(t,e,(function(t){return t.merge({type:"unstyled",depth:0})}))}var h=e.getAnchorOffset(),g=p.getCharacterList(),y=o(),m=p instanceof r,v=p.merge({text:f.slice(0,h),characterList:g.slice(0,h)}),b=v.merge({key:y,text:f.slice(h),characterList:g.slice(h),data:u()}),_=i.toSeq().takeUntil((function(t){return t===p})),S=i.toSeq().skipUntil((function(t){return t===p})).rest(),w=_.concat([[n,v],[y,b]],S).toOrderedMap();return m&&(p.getChildKeys().isEmpty()||a(!1),w=function(t,e,n){return t.withMutations((function(t){var r=e.getKey(),o=n.getKey();l(e.getParentKey(),t,(function(t){var e=t.getChildKeys(),n=e.indexOf(r)+1,i=e.toArray();return i.splice(n,0,o),t.merge({children:c(i)})})),l(e.getNextSiblingKey(),t,(function(t){return t.merge({prevSibling:o})})),l(r,t,(function(t){return t.merge({nextSibling:o})})),l(o,t,(function(t){return t.merge({prevSibling:r})}))}))}(w,v,b)),t.merge({blockMap:w,selectionBefore:e,selectionAfter:e.merge({anchorKey:y,anchorOffset:0,focusKey:y,focusOffset:0,isBackward:!1})})}},39347:t=>{"use strict";var e=/\r\n?|\n/g;t.exports=function(t){return t.split(e)}},44231:t=>{"use strict";t.exports=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}},18489:function(t){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return a(t)?t:Q(t)}function r(t){return s(t)?t:Z(t)}function o(t){return c(t)?t:V(t)}function i(t){return a(t)&&!u(t)?t:G(t)}function a(t){return!(!t||!t[p])}function s(t){return!(!t||!t[f])}function c(t){return!(!t||!t[d])}function u(t){return s(t)||c(t)}function l(t){return!(!t||!t[h])}e(r,n),e(o,n),e(i,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=c,n.isAssociative=u,n.isOrdered=l,n.Keyed=r,n.Indexed=o,n.Set=i;var p="@@__IMMUTABLE_ITERABLE__@@",f="@@__IMMUTABLE_KEYED__@@",d="@@__IMMUTABLE_INDEXED__@@",h="@@__IMMUTABLE_ORDERED__@@",g="delete",y=5,m=1<<y,v=m-1,b={},_={value:!1},S={value:!1};function w(t){return t.value=!1,t}function M(t){t&&(t.value=!0)}function E(){}function k(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o<n;o++)r[o]=t[o+e];return r}function x(t){return void 0===t.size&&(t.size=t.__iterate(j)),t.size}function C(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?x(t)+e:e}function j(){return!0}function O(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function D(t,e){return L(t,e,0)}function I(t,e){return L(t,e,e)}function L(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var N=0,A=1,T=2,z="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",P=z||R;function B(t){this.next=t}function U(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function F(){return{value:void 0,done:!0}}function K(t){return!!Y(t)}function H(t){return t&&"function"==typeof t.next}function q(t){var e=Y(t);return e&&e.call(t)}function Y(t){var e=t&&(z&&t[z]||t[R]);if("function"==typeof e)return e}function W(t){return t&&"number"==typeof t.length}function Q(t){return null==t?at():a(t)?t.toSeq():function(t){var e=ut(t)||"object"==typeof t&&new nt(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function Z(t){return null==t?at().toKeyedSeq():a(t)?s(t)?t.toSeq():t.fromEntrySeq():st(t)}function V(t){return null==t?at():a(t)?s(t)?t.entrySeq():t.toIndexedSeq():ct(t)}function G(t){return(null==t?at():a(t)?s(t)?t.entrySeq():t:ct(t)).toSetSeq()}B.prototype.toString=function(){return"[Iterator]"},B.KEYS=N,B.VALUES=A,B.ENTRIES=T,B.prototype.inspect=B.prototype.toSource=function(){return this.toString()},B.prototype[P]=function(){return this},e(Q,n),Q.of=function(){return Q(arguments)},Q.prototype.toSeq=function(){return this},Q.prototype.toString=function(){return this.__toString("Seq {","}")},Q.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Q.prototype.__iterate=function(t,e){return lt(this,t,e,!0)},Q.prototype.__iterator=function(t,e){return pt(this,t,e,!0)},e(Z,Q),Z.prototype.toKeyedSeq=function(){return this},e(V,Q),V.of=function(){return V(arguments)},V.prototype.toIndexedSeq=function(){return this},V.prototype.toString=function(){return this.__toString("Seq [","]")},V.prototype.__iterate=function(t,e){return lt(this,t,e,!1)},V.prototype.__iterator=function(t,e){return pt(this,t,e,!1)},e(G,Q),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},Q.isSeq=it,Q.Keyed=Z,Q.Set=G,Q.Indexed=V;var J,X,$,tt="@@__IMMUTABLE_SEQ__@@";function et(t){this._array=t,this.size=t.length}function nt(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function rt(t){this._iterable=t,this.size=t.length||t.size}function ot(t){this._iterator=t,this._iteratorCache=[]}function it(t){return!(!t||!t[tt])}function at(){return J||(J=new et([]))}function st(t){var e=Array.isArray(t)?new et(t).fromEntrySeq():H(t)?new ot(t).fromEntrySeq():K(t)?new rt(t).fromEntrySeq():"object"==typeof t?new nt(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function ct(t){var e=ut(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ut(t){return W(t)?new et(t):H(t)?new ot(t):K(t)?new rt(t):void 0}function lt(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function pt(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new B((function(){var t=o[n?i-a:a];return a++>i?{value:void 0,done:!0}:U(e,r?t[0]:a-1,t[1])}))}return t.__iteratorUncached(e,n)}function ft(t,e){return e?dt(e,t,"",{"":t}):ht(t)}function dt(t,e,n,r){return Array.isArray(e)?t.call(r,n,V(e).map((function(n,r){return dt(t,n,r,e)}))):gt(e)?t.call(r,n,Z(e).map((function(n,r){return dt(t,n,r,e)}))):e}function ht(t){return Array.isArray(t)?V(t).map(ht).toList():gt(t)?Z(t).map(ht).toMap():t}function gt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function yt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function mt(t,e){if(t===e)return!0;if(!a(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||s(t)!==s(e)||c(t)!==c(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(l(t)){var r=t.entries();return e.every((function(t,e){var o=r.next().value;return o&&yt(o[1],t)&&(n||yt(o[0],e))}))&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var i=t;t=e,e=i}var p=!0,f=e.__iterate((function(e,r){if(n?!t.has(e):o?!yt(e,t.get(r,b)):!yt(t.get(r,b),e))return p=!1,!1}));return p&&t.size===f}function vt(t,e){if(!(this instanceof vt))return new vt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(X)return X;X=this}}function bt(t,e){if(!t)throw new Error(e)}function _t(t,e,n){if(!(this instanceof _t))return new _t(t,e,n);if(bt(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if($)return $;$=this}}function St(){throw TypeError("Abstract")}function wt(){}function Mt(){}function Et(){}Q.prototype[tt]=!0,e(et,V),et.prototype.get=function(t,e){return this.has(t)?this._array[C(this,t)]:e},et.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,o=0;o<=r;o++)if(!1===t(n[e?r-o:o],o,this))return o+1;return o},et.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,o=0;return new B((function(){return o>r?{value:void 0,done:!0}:U(t,o,n[e?r-o++:o++])}))},e(nt,Z),nt.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},nt.prototype.has=function(t){return this._object.hasOwnProperty(t)},nt.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[e?o-i:i];if(!1===t(n[a],a,this))return i+1}return i},nt.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new B((function(){var a=r[e?o-i:i];return i++>o?{value:void 0,done:!0}:U(t,a,n[a])}))},nt.prototype[h]=!0,e(rt,V),rt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=q(this._iterable),r=0;if(H(n))for(var o;!(o=n.next()).done&&!1!==t(o.value,r++,this););return r},rt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=q(this._iterable);if(!H(n))return new B(F);var r=0;return new B((function(){var e=n.next();return e.done?e:U(t,r++,e.value)}))},e(ot,V),ot.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,o=this._iteratorCache,i=0;i<o.length;)if(!1===t(o[i],i++,this))return i;for(;!(n=r.next()).done;){var a=n.value;if(o[i]=a,!1===t(a,i++,this))break}return i},ot.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,o=0;return new B((function(){if(o>=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return U(t,o,r[o++])}))},e(vt,V),vt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},vt.prototype.get=function(t,e){return this.has(t)?this._value:e},vt.prototype.includes=function(t){return yt(this._value,t)},vt.prototype.slice=function(t,e){var n=this.size;return O(t,e,n)?this:new vt(this._value,I(e,n)-D(t,n))},vt.prototype.reverse=function(){return this},vt.prototype.indexOf=function(t){return yt(this._value,t)?0:-1},vt.prototype.lastIndexOf=function(t){return yt(this._value,t)?this.size:-1},vt.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},vt.prototype.__iterator=function(t,e){var n=this,r=0;return new B((function(){return r<n.size?U(t,r++,n._value):{value:void 0,done:!0}}))},vt.prototype.equals=function(t){return t instanceof vt?yt(this._value,t._value):mt(t)},e(_t,V),_t.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},_t.prototype.get=function(t,e){return this.has(t)?this._start+C(this,t)*this._step:e},_t.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},_t.prototype.slice=function(t,e){return O(t,e,this.size)?this:(t=D(t,this.size),(e=I(e,this.size))<=t?new _t(0,0):new _t(this.get(t,this._end),this.get(e,this._end),this._step))},_t.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},_t.prototype.lastIndexOf=function(t){return this.indexOf(t)},_t.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;i<=n;i++){if(!1===t(o,i,this))return i+1;o+=e?-r:r}return i},_t.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,o=e?this._start+n*r:this._start,i=0;return new B((function(){var a=o;return o+=e?-r:r,i>n?{value:void 0,done:!0}:U(t,i++,a)}))},_t.prototype.equals=function(t){return t instanceof _t?this._start===t._start&&this._end===t._end&&this._step===t._step:mt(this,t)},e(St,n),e(wt,St),e(Mt,St),e(Et,St),St.Keyed=wt,St.Indexed=Mt,St.Set=Et;var kt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function xt(t){return t>>>1&1073741824|3221225471&t}function Ct(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)n^=t/=4294967295;return xt(n)}if("string"===e)return t.length>Tt?function(t){var e=Pt[t];return void 0===e&&(e=jt(t),Rt===zt&&(Rt=0,Pt={}),Rt++,Pt[t]=e),e}(t):jt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(Lt&&void 0!==(e=It.get(t)))return e;if(void 0!==(e=t[At]))return e;if(!Dt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[At]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++Nt,1073741824&Nt&&(Nt=0),Lt)It.set(t,e);else{if(void 0!==Ot&&!1===Ot(t))throw new Error("Non-extensible objects are not allowed as keys.");if(Dt)Object.defineProperty(t,At,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[At]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[At]=e}}return e}(t);if("function"==typeof t.toString)return jt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function jt(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return xt(e)}var Ot=Object.isExtensible,Dt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();var It,Lt="function"==typeof WeakMap;Lt&&(It=new WeakMap);var Nt=0,At="__immutablehash__";"function"==typeof Symbol&&(At=Symbol(At));var Tt=16,zt=255,Rt=0,Pt={};function Bt(t){bt(t!==1/0,"Cannot perform this action with an infinite size.")}function Ut(t){return null==t?te():Ft(t)&&!l(t)?t:te().withMutations((function(e){var n=r(t);Bt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Ft(t){return!(!t||!t[Ht])}e(Ut,wt),Ut.prototype.toString=function(){return this.__toString("Map {","}")},Ut.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Ut.prototype.set=function(t,e){return ee(this,t,e)},Ut.prototype.setIn=function(t,e){return this.updateIn(t,b,(function(){return e}))},Ut.prototype.remove=function(t){return ee(this,t,b)},Ut.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return b}))},Ut.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},Ut.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=ue(this,an(t),e,n);return r===b?void 0:r},Ut.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):te()},Ut.prototype.merge=function(){return ie(this,void 0,arguments)},Ut.prototype.mergeWith=function(e){return ie(this,e,t.call(arguments,1))},Ut.prototype.mergeIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,te(),(function(t){return"function"==typeof t.merge?t.merge.apply(t,n):n[n.length-1]}))},Ut.prototype.mergeDeep=function(){return ie(this,ae,arguments)},Ut.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return ie(this,se(e),n)},Ut.prototype.mergeDeepIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,te(),(function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,n):n[n.length-1]}))},Ut.prototype.sort=function(t){return Le(Ze(this,t))},Ut.prototype.sortBy=function(t,e){return Le(Ze(this,e,t))},Ut.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Ut.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new E)},Ut.prototype.asImmutable=function(){return this.__ensureOwner()},Ut.prototype.wasAltered=function(){return this.__altered},Ut.prototype.__iterator=function(t,e){return new Gt(this,t,e)},Ut.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},Ut.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?$t(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Ut.isMap=Ft;var Kt,Ht="@@__IMMUTABLE_MAP__@@",qt=Ut.prototype;function Yt(t,e){this.ownerID=t,this.entries=e}function Wt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function Qt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function Zt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function Vt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function Gt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Xt(t._root)}function Jt(t,e){return U(t,e[0],e[1])}function Xt(t,e){return{node:t,index:0,__prev:e}}function $t(t,e,n,r){var o=Object.create(qt);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function te(){return Kt||(Kt=$t(0))}function ee(t,e,n){var r,o;if(t._root){var i=w(_),a=w(S);if(r=ne(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===b?-1:1:0)}else{if(n===b)return t;o=1,r=new Yt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?$t(o,r):te()}function ne(t,e,n,r,o,i,a,s){return t?t.update(e,n,r,o,i,a,s):i===b?t:(M(s),M(a),new Vt(e,r,[o,i]))}function re(t){return t.constructor===Vt||t.constructor===Zt}function oe(t,e,n,r,o){if(t.keyHash===r)return new Zt(e,r,[t.entry,o]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&v,s=(0===n?r:r>>>n)&v;return new Wt(e,1<<a|1<<s,a===s?[oe(t,e,n+y,r,o)]:(i=new Vt(e,r,o),a<s?[t,i]:[i,t]))}function ie(t,e,n){for(var o=[],i=0;i<n.length;i++){var s=n[i],c=r(s);a(s)||(c=c.map((function(t){return ft(t)}))),o.push(c)}return ce(t,e,o)}function ae(t,e,n){return t&&t.mergeDeep&&a(e)?t.mergeDeep(e):yt(t,e)?t:e}function se(t){return function(e,n,r){if(e&&e.mergeDeepWith&&a(n))return e.mergeDeepWith(t,n);var o=t(e,n,r);return yt(e,o)?e:o}}function ce(t,e,n){return 0===(n=n.filter((function(t){return 0!==t.size}))).length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations((function(t){for(var r=e?function(n,r){t.update(r,b,(function(t){return t===b?n:e(t,n,r)}))}:function(e,n){t.set(n,e)},o=0;o<n.length;o++)n[o].forEach(r)})):t.constructor(n[0])}function ue(t,e,n,r){var o=t===b,i=e.next();if(i.done){var a=o?n:t,s=r(a);return s===a?t:s}bt(o||t&&t.set,"invalid keyPath");var c=i.value,u=o?b:t.get(c,b),l=ue(u,e,n,r);return l===u?t:l===b?t.remove(c):(o?te():t).set(c,l)}function le(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function pe(t,e,n,r){var o=r?t:k(t);return o[e]=n,o}qt[Ht]=!0,qt[g]=qt.remove,qt.removeIn=qt.deleteIn,Yt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(yt(n,o[i][0]))return o[i][1];return r},Yt.prototype.update=function(t,e,n,r,o,i,a){for(var s=o===b,c=this.entries,u=0,l=c.length;u<l&&!yt(r,c[u][0]);u++);var p=u<l;if(p?c[u][1]===o:s)return this;if(M(a),(s||!p)&&M(i),!s||1!==c.length){if(!p&&!s&&c.length>=fe)return function(t,e,n,r){t||(t=new E);for(var o=new Vt(t,Ct(n),[n,r]),i=0;i<e.length;i++){var a=e[i];o=o.update(t,0,void 0,a[0],a[1])}return o}(t,c,r,o);var f=t&&t===this.ownerID,d=f?c:k(c);return p?s?u===l-1?d.pop():d[u]=d.pop():d[u]=[r,o]:d.push([r,o]),f?(this.entries=d,this):new Yt(t,d)}},Wt.prototype.get=function(t,e,n,r){void 0===e&&(e=Ct(n));var o=1<<((0===t?e:e>>>t)&v),i=this.bitmap;return 0==(i&o)?r:this.nodes[le(i&o-1)].get(t+y,e,n,r)},Wt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=Ct(r));var s=(0===e?n:n>>>e)&v,c=1<<s,u=this.bitmap,l=0!=(u&c);if(!l&&o===b)return this;var p=le(u&c-1),f=this.nodes,d=l?f[p]:void 0,h=ne(d,t,e+y,n,r,o,i,a);if(h===d)return this;if(!l&&h&&f.length>=de)return function(t,e,n,r,o){for(var i=0,a=new Array(m),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[i++]:void 0;return a[r]=o,new Qt(t,i+1,a)}(t,f,u,s,h);if(l&&!h&&2===f.length&&re(f[1^p]))return f[1^p];if(l&&h&&1===f.length&&re(h))return h;var g=t&&t===this.ownerID,_=l?h?u:u^c:u|c,S=l?h?pe(f,p,h,g):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a<r;a++)a===e&&(i=1),o[a]=t[a+i];return o}(f,p,g):function(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(var i=new Array(o),a=0,s=0;s<o;s++)s===e?(i[s]=n,a=-1):i[s]=t[s+a];return i}(f,p,h,g);return g?(this.bitmap=_,this.nodes=S,this):new Wt(t,_,S)},Qt.prototype.get=function(t,e,n,r){void 0===e&&(e=Ct(n));var o=(0===t?e:e>>>t)&v,i=this.nodes[o];return i?i.get(t+y,e,n,r):r},Qt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=Ct(r));var s=(0===e?n:n>>>e)&v,c=o===b,u=this.nodes,l=u[s];if(c&&!l)return this;var p=ne(l,t,e+y,n,r,o,i,a);if(p===l)return this;var f=this.count;if(l){if(!p&&--f<he)return function(t,e,n,r){for(var o=0,i=0,a=new Array(n),s=0,c=1,u=e.length;s<u;s++,c<<=1){var l=e[s];void 0!==l&&s!==r&&(o|=c,a[i++]=l)}return new Wt(t,o,a)}(t,u,f,s)}else f++;var d=t&&t===this.ownerID,h=pe(u,s,p,d);return d?(this.count=f,this.nodes=h,this):new Qt(t,f,h)},Zt.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(yt(n,o[i][0]))return o[i][1];return r},Zt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=Ct(r));var s=o===b;if(n!==this.keyHash)return s?this:(M(a),M(i),oe(this,t,e,n,[r,o]));for(var c=this.entries,u=0,l=c.length;u<l&&!yt(r,c[u][0]);u++);var p=u<l;if(p?c[u][1]===o:s)return this;if(M(a),(s||!p)&&M(i),s&&2===l)return new Vt(t,this.keyHash,c[1^u]);var f=t&&t===this.ownerID,d=f?c:k(c);return p?s?u===l-1?d.pop():d[u]=d.pop():d[u]=[r,o]:d.push([r,o]),f?(this.entries=d,this):new Zt(t,this.keyHash,d)},Vt.prototype.get=function(t,e,n,r){return yt(n,this.entry[0])?this.entry[1]:r},Vt.prototype.update=function(t,e,n,r,o,i,a){var s=o===b,c=yt(r,this.entry[0]);return(c?o===this.entry[1]:s)?this:(M(a),s?void M(i):c?t&&t===this.ownerID?(this.entry[1]=o,this):new Vt(t,this.keyHash,[r,o]):(M(i),oe(this,t,e,Ct(r),[r,o])))},Yt.prototype.iterate=Zt.prototype.iterate=function(t,e){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===t(n[e?o-r:r]))return!1},Wt.prototype.iterate=Qt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[e?o-r:r];if(i&&!1===i.iterate(t,e))return!1}},Vt.prototype.iterate=function(t,e){return t(this.entry)},e(Gt,B),Gt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,o=e.index++;if(r.entry){if(0===o)return Jt(t,r.entry)}else if(r.entries){if(o<=(n=r.entries.length-1))return Jt(t,r.entries[this._reverse?n-o:o])}else if(o<=(n=r.nodes.length-1)){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return Jt(t,i.entry);e=this._stack=Xt(i,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var fe=m/4,de=m/2,he=m/4;function ge(t){var e=ke();if(null==t)return e;if(ye(t))return t;var n=o(t),r=n.size;return 0===r?e:(Bt(r),r>0&&r<m?Ee(0,r,y,null,new be(n.toArray())):e.withMutations((function(t){t.setSize(r),n.forEach((function(e,n){return t.set(n,e)}))})))}function ye(t){return!(!t||!t[me])}e(ge,Mt),ge.of=function(){return this(arguments)},ge.prototype.toString=function(){return this.__toString("List [","]")},ge.prototype.get=function(t,e){if((t=C(this,t))>=0&&t<this.size){var n=je(this,t+=this._origin);return n&&n.array[t&v]}return e},ge.prototype.set=function(t,e){return function(t,e,n){if((e=C(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?Oe(t,e).set(0,n):Oe(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,o=t._root,i=w(S);return e>=Ie(t._capacity)?r=xe(r,t.__ownerID,0,e,n,i):o=xe(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):Ee(t._origin,t._capacity,t._level,o,r):t}(this,t,e)},ge.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},ge.prototype.insert=function(t,e){return this.splice(t,0,e)},ge.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=y,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):ke()},ge.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){Oe(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])}))},ge.prototype.pop=function(){return Oe(this,0,-1)},ge.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){Oe(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])}))},ge.prototype.shift=function(){return Oe(this,1)},ge.prototype.merge=function(){return De(this,void 0,arguments)},ge.prototype.mergeWith=function(e){return De(this,e,t.call(arguments,1))},ge.prototype.mergeDeep=function(){return De(this,ae,arguments)},ge.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return De(this,se(e),n)},ge.prototype.setSize=function(t){return Oe(this,0,t)},ge.prototype.slice=function(t,e){var n=this.size;return O(t,e,n)?this:Oe(this,D(t,n),I(e,n))},ge.prototype.__iterator=function(t,e){var n=0,r=Me(this,e);return new B((function(){var e=r();return e===we?{value:void 0,done:!0}:U(t,n++,e)}))},ge.prototype.__iterate=function(t,e){for(var n,r=0,o=Me(this,e);(n=o())!==we&&!1!==t(n,r++,this););return r},ge.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ee(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},ge.isList=ye;var me="@@__IMMUTABLE_LIST__@@",ve=ge.prototype;function be(t,e){this.array=t,this.ownerID=e}ve[me]=!0,ve[g]=ve.remove,ve.setIn=qt.setIn,ve.deleteIn=ve.removeIn=qt.removeIn,ve.update=qt.update,ve.updateIn=qt.updateIn,ve.mergeIn=qt.mergeIn,ve.mergeDeepIn=qt.mergeDeepIn,ve.withMutations=qt.withMutations,ve.asMutable=qt.asMutable,ve.asImmutable=qt.asImmutable,ve.wasAltered=qt.wasAltered,be.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&v;if(r>=this.array.length)return new be([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-y,n))===a&&i)return this}if(i&&!o)return this;var s=Ce(this,t);if(!i)for(var c=0;c<r;c++)s.array[c]=void 0;return o&&(s.array[r]=o),s},be.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,o=n-1>>>e&v;if(o>=this.array.length)return this;if(e>0){var i=this.array[o];if((r=i&&i.removeAfter(t,e-y,n))===i&&o===this.array.length-1)return this}var a=Ce(this,t);return a.array.splice(o+1),r&&(a.array[o]=r),a};var _e,Se,we={};function Me(t,e){var n=t._origin,r=t._capacity,o=Ie(r),i=t._tail;return a(t._root,t._level,0);function a(t,s,c){return 0===s?function(t,a){var s=a===o?i&&i.array:t&&t.array,c=a>n?0:n-a,u=r-a;return u>m&&(u=m),function(){if(c===u)return we;var t=e?--u:c++;return s&&s[t]}}(t,c):function(t,o,i){var s,c=t&&t.array,u=i>n?0:n-i>>o,l=1+(r-i>>o);return l>m&&(l=m),function(){for(;;){if(s){var t=s();if(t!==we)return t;s=null}if(u===l)return we;var n=e?--l:u++;s=a(c&&c[n],o-y,i+(n<<o))}}}(t,s,c)}}function Ee(t,e,n,r,o,i,a){var s=Object.create(ve);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function ke(){return _e||(_e=Ee(0,0,y))}function xe(t,e,n,r,o,i){var a,s=r>>>n&v,c=t&&s<t.array.length;if(!c&&void 0===o)return t;if(n>0){var u=t&&t.array[s],l=xe(u,e,n-y,r,o,i);return l===u?t:((a=Ce(t,e)).array[s]=l,a)}return c&&t.array[s]===o?t:(M(i),a=Ce(t,e),void 0===o&&s===a.array.length-1?a.array.pop():a.array[s]=o,a)}function Ce(t,e){return e&&t&&e===t.ownerID?t:new be(t?t.array.slice():[],e)}function je(t,e){if(e>=Ie(t._capacity))return t._tail;if(e<1<<t._level+y){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&v],r-=y;return n}}function Oe(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new E,o=t._origin,i=t._capacity,a=o+e,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return t;if(a>=s)return t.clear();for(var c=t._level,u=t._root,l=0;a+l<0;)u=new be(u&&u.array.length?[void 0,u]:[],r),l+=1<<(c+=y);l&&(a+=l,o+=l,s+=l,i+=l);for(var p=Ie(i),f=Ie(s);f>=1<<c+y;)u=new be(u&&u.array.length?[u]:[],r),c+=y;var d=t._tail,h=f<p?je(t,s-1):f>p?new be([],r):d;if(d&&f>p&&a<i&&d.array.length){for(var g=u=Ce(u,r),m=c;m>y;m-=y){var b=p>>>m&v;g=g.array[b]=Ce(g.array[b],r)}g.array[p>>>y&v]=d}if(s<i&&(h=h&&h.removeAfter(r,0,s)),a>=f)a-=f,s-=f,c=y,u=null,h=h&&h.removeBefore(r,0,a);else if(a>o||f<p){for(l=0;u;){var _=a>>>c&v;if(_!==f>>>c&v)break;_&&(l+=(1<<c)*_),c-=y,u=u.array[_]}u&&a>o&&(u=u.removeBefore(r,c,a-l)),u&&f<p&&(u=u.removeAfter(r,c,f-l)),l&&(a-=l,s-=l)}return t.__ownerID?(t.size=s-a,t._origin=a,t._capacity=s,t._level=c,t._root=u,t._tail=h,t.__hash=void 0,t.__altered=!0,t):Ee(a,s,c,u,h)}function De(t,e,n){for(var r=[],i=0,s=0;s<n.length;s++){var c=n[s],u=o(c);u.size>i&&(i=u.size),a(c)||(u=u.map((function(t){return ft(t)}))),r.push(u)}return i>t.size&&(t=t.setSize(i)),ce(t,e,r)}function Ie(t){return t<m?0:t-1>>>y<<y}function Le(t){return null==t?Te():Ne(t)?t:Te().withMutations((function(e){var n=r(t);Bt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Ne(t){return Ft(t)&&l(t)}function Ae(t,e,n,r){var o=Object.create(Le.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o}function Te(){return Se||(Se=Ae(te(),ke()))}function ze(t,e,n){var r,o,i=t._map,a=t._list,s=i.get(e),c=void 0!==s;if(n===b){if(!c)return t;a.size>=m&&a.size>=2*i.size?(r=(o=a.filter((function(t,e){return void 0!==t&&s!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(r.__ownerID=o.__ownerID=t.__ownerID)):(r=i.remove(e),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(c){if(n===a.get(s)[1])return t;r=i,o=a.set(s,[e,n])}else r=i.set(e,a.size),o=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=o,t.__hash=void 0,t):Ae(r,o)}function Re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Pe(t){this._iter=t,this.size=t.size}function Be(t){this._iter=t,this.size=t.size}function Ue(t){this._iter=t,this.size=t.size}function Fe(t){var e=nn(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=rn,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(e===T){var r=t.__iterator(e,n);return new B((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(e===A?N:A,n)},e}function Ke(t,e,n){var r=nn(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,b);return i===b?o:e.call(n,i,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate((function(t,o,a){return!1!==r(e.call(n,t,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(T,o);return new B((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return U(r,s,e.call(n,a[1],s,t),o)}))},r}function He(t,e){var n=nn(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=Fe(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=rn,n.__iterate=function(e,n){var r=this;return t.__iterate((function(t,n){return e(t,n,r)}),!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function qe(t,e,n,r){var o=nn(t);return r&&(o.has=function(r){var o=t.get(r,b);return o!==b&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,b);return i!==b&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate((function(t,i,c){if(e.call(n,t,i,c))return s++,o(t,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(T,i),s=0;return new B((function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,u=c[0],l=c[1];if(e.call(n,l,u,t))return U(o,r?u:s++,l,i)}}))},o}function Ye(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n|=0),O(e,n,o))return t;var i=D(e,o),a=I(n,o);if(i!=i||a!=a)return Ye(t.toSeq().cacheResult(),e,n,r);var s,c=a-i;c==c&&(s=c<0?0:c);var u=nn(t);return u.size=0===s?s:t.size&&s||void 0,!r&&it(t)&&s>=0&&(u.get=function(e,n){return(e=C(this,e))>=0&&e<s?t.get(e+i,n):n}),u.__iterateUncached=function(e,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,c=!0,u=0;return t.__iterate((function(t,n){if(!c||!(c=a++<i))return u++,!1!==e(t,r?n:u-1,o)&&u!==s})),u},u.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);var o=0!==s&&t.__iterator(e,n),a=0,c=0;return new B((function(){for(;a++<i;)o.next();if(++c>s)return{value:void 0,done:!0};var t=o.next();return r||e===A?t:U(e,c-1,e===N?void 0:t.value[1],t)}))},u}function We(t,e,n,r){var o=nn(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return t.__iterate((function(t,i,u){if(!s||!(s=e.call(n,t,i,u)))return c++,o(t,r?i:c-1,a)})),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(T,i),c=!0,u=0;return new B((function(){var t,i,l;do{if((t=s.next()).done)return r||o===A?t:U(o,u++,o===N?void 0:t.value[1],t);var p=t.value;i=p[0],l=p[1],c&&(c=e.call(n,l,i,a))}while(c);return o===T?t:U(o,i,l,t)}))},o}function Qe(t,e,n){var r=nn(t);return r.__iterateUncached=function(r,o){var i=0,s=!1;return function t(c,u){var l=this;c.__iterate((function(o,c){return(!e||u<e)&&a(o)?t(o,u+1):!1===r(o,n?c:i++,l)&&(s=!0),!s}),o)}(t,0),i},r.__iteratorUncached=function(r,o){var i=t.__iterator(r,o),s=[],c=0;return new B((function(){for(;i;){var t=i.next();if(!1===t.done){var u=t.value;if(r===T&&(u=u[1]),e&&!(s.length<e)||!a(u))return n?t:U(r,c++,u,t);s.push(i),i=u.__iterator(r,o)}else i=s.pop()}return{value:void 0,done:!0}}))},r}function Ze(t,e,n){e||(e=on);var r=s(t),o=0,i=t.toSeq().map((function(e,r){return[r,e,o++,n?n(e,r,t):e]})).toArray();return i.sort((function(t,n){return e(t[3],n[3])||t[2]-n[2]})).forEach(r?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),r?Z(i):c(t)?V(i):G(i)}function Ve(t,e,n){if(e||(e=on),n){var r=t.toSeq().map((function(e,r){return[e,n(e,r,t)]})).reduce((function(t,n){return Ge(e,t[1],n[1])?n:t}));return r&&r[0]}return t.reduce((function(t,n){return Ge(e,t,n)?n:t}))}function Ge(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Je(t,e,r){var o=nn(t);return o.size=new et(r).map((function(t){return t.size})).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(A,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=r.map((function(t){return t=n(t),q(o?t.reverse():t)})),a=0,s=!1;return new B((function(){var n;return s||(n=i.map((function(t){return t.next()})),s=n.some((function(t){return t.done}))),s?{value:void 0,done:!0}:U(t,a++,e.apply(null,n.map((function(t){return t.value}))))}))},o}function Xe(t,e){return it(t)?e:t.constructor(e)}function $e(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function tn(t){return Bt(t.size),x(t)}function en(t){return s(t)?r:c(t)?o:i}function nn(t){return Object.create((s(t)?Z:c(t)?V:G).prototype)}function rn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Q.prototype.cacheResult.call(this)}function on(t,e){return t>e?1:t<e?-1:0}function an(t){var e=q(t);if(!e){if(!W(t))throw new TypeError("Expected iterable or array-like: "+t);e=q(n(t))}return e}function sn(t,e){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(t);(function(t,e){try{e.forEach(pn.bind(void 0,t))}catch(t){}})(o,a),o.size=a.length,o._name=e,o._keys=a,o._defaultValues=t}this._map=Ut(i)},o=r.prototype=Object.create(cn);return o.constructor=r,r}e(Le,Ut),Le.of=function(){return this(arguments)},Le.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Le.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Le.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Te()},Le.prototype.set=function(t,e){return ze(this,t,e)},Le.prototype.remove=function(t){return ze(this,t,b)},Le.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Le.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},Le.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Le.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?Ae(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Le.isOrderedMap=Ne,Le.prototype[h]=!0,Le.prototype[g]=Le.prototype.remove,e(Re,Z),Re.prototype.get=function(t,e){return this._iter.get(t,e)},Re.prototype.has=function(t){return this._iter.has(t)},Re.prototype.valueSeq=function(){return this._iter.valueSeq()},Re.prototype.reverse=function(){var t=this,e=He(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Re.prototype.map=function(t,e){var n=this,r=Ke(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},Re.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?tn(this):0,function(o){return t(o,e?--n:n++,r)}),e)},Re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(A,e),r=e?tn(this):0;return new B((function(){var o=n.next();return o.done?o:U(t,e?--r:r++,o.value,o)}))},Re.prototype[h]=!0,e(Pe,V),Pe.prototype.includes=function(t){return this._iter.includes(t)},Pe.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate((function(e){return t(e,r++,n)}),e)},Pe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(A,e),r=0;return new B((function(){var e=n.next();return e.done?e:U(t,r++,e.value,e)}))},e(Be,G),Be.prototype.has=function(t){return this._iter.includes(t)},Be.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){return t(e,e,n)}),e)},Be.prototype.__iterator=function(t,e){var n=this._iter.__iterator(A,e);return new B((function(){var e=n.next();return e.done?e:U(t,e.value,e.value,e)}))},e(Ue,Z),Ue.prototype.entrySeq=function(){return this._iter.toSeq()},Ue.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){if(e){$e(e);var r=a(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}}),e)},Ue.prototype.__iterator=function(t,e){var n=this._iter.__iterator(A,e);return new B((function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){$e(r);var o=a(r);return U(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}}))},Pe.prototype.cacheResult=Re.prototype.cacheResult=Be.prototype.cacheResult=Ue.prototype.cacheResult=rn,e(sn,wt),sn.prototype.toString=function(){return this.__toString(ln(this)+" {","}")},sn.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},sn.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},sn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=un(this,te()))},sn.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+ln(this));var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:un(this,n)},sn.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:un(this,e)},sn.prototype.wasAltered=function(){return this._map.wasAltered()},sn.prototype.__iterator=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterator(t,e)},sn.prototype.__iterate=function(t,e){var n=this;return r(this._defaultValues).map((function(t,e){return n.get(e)})).__iterate(t,e)},sn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?un(this,e,t):(this.__ownerID=t,this._map=e,this)};var cn=sn.prototype;function un(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function ln(t){return t._name||t.constructor.name||"Record"}function pn(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){bt(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function fn(t){return null==t?bn():dn(t)&&!l(t)?t:bn().withMutations((function(e){var n=i(t);Bt(n.size),n.forEach((function(t){return e.add(t)}))}))}function dn(t){return!(!t||!t[gn])}cn[g]=cn.remove,cn.deleteIn=cn.removeIn=qt.removeIn,cn.merge=qt.merge,cn.mergeWith=qt.mergeWith,cn.mergeIn=qt.mergeIn,cn.mergeDeep=qt.mergeDeep,cn.mergeDeepWith=qt.mergeDeepWith,cn.mergeDeepIn=qt.mergeDeepIn,cn.setIn=qt.setIn,cn.update=qt.update,cn.updateIn=qt.updateIn,cn.withMutations=qt.withMutations,cn.asMutable=qt.asMutable,cn.asImmutable=qt.asImmutable,e(fn,Et),fn.of=function(){return this(arguments)},fn.fromKeys=function(t){return this(r(t).keySeq())},fn.prototype.toString=function(){return this.__toString("Set {","}")},fn.prototype.has=function(t){return this._map.has(t)},fn.prototype.add=function(t){return mn(this,this._map.set(t,!0))},fn.prototype.remove=function(t){return mn(this,this._map.remove(t))},fn.prototype.clear=function(){return mn(this,this._map.clear())},fn.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(t){for(var n=0;n<e.length;n++)i(e[n]).forEach((function(e){return t.add(e)}))})):this.constructor(e[0])},fn.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return i(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.every((function(t){return t.includes(n)}))||t.remove(n)}))}))},fn.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map((function(t){return i(t)}));var n=this;return this.withMutations((function(t){n.forEach((function(n){e.some((function(t){return t.includes(n)}))&&t.remove(n)}))}))},fn.prototype.merge=function(){return this.union.apply(this,arguments)},fn.prototype.mergeWith=function(e){var n=t.call(arguments,1);return this.union.apply(this,n)},fn.prototype.sort=function(t){return _n(Ze(this,t))},fn.prototype.sortBy=function(t,e){return _n(Ze(this,e,t))},fn.prototype.wasAltered=function(){return this._map.wasAltered()},fn.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate((function(e,r){return t(r,r,n)}),e)},fn.prototype.__iterator=function(t,e){return this._map.map((function(t,e){return e})).__iterator(t,e)},fn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},fn.isSet=dn;var hn,gn="@@__IMMUTABLE_SET__@@",yn=fn.prototype;function mn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function vn(t,e){var n=Object.create(yn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function bn(){return hn||(hn=vn(te()))}function _n(t){return null==t?kn():Sn(t)?t:kn().withMutations((function(e){var n=i(t);Bt(n.size),n.forEach((function(t){return e.add(t)}))}))}function Sn(t){return dn(t)&&l(t)}yn[gn]=!0,yn[g]=yn.remove,yn.mergeDeep=yn.merge,yn.mergeDeepWith=yn.mergeWith,yn.withMutations=qt.withMutations,yn.asMutable=qt.asMutable,yn.asImmutable=qt.asImmutable,yn.__empty=bn,yn.__make=vn,e(_n,fn),_n.of=function(){return this(arguments)},_n.fromKeys=function(t){return this(r(t).keySeq())},_n.prototype.toString=function(){return this.__toString("OrderedSet {","}")},_n.isOrderedSet=Sn;var wn,Mn=_n.prototype;function En(t,e){var n=Object.create(Mn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function kn(){return wn||(wn=En(Te()))}function xn(t){return null==t?Ln():Cn(t)?t:Ln().unshiftAll(t)}function Cn(t){return!(!t||!t[On])}Mn[h]=!0,Mn.__empty=kn,Mn.__make=En,e(xn,Mt),xn.of=function(){return this(arguments)},xn.prototype.toString=function(){return this.__toString("Stack [","]")},xn.prototype.get=function(t,e){var n=this._head;for(t=C(this,t);n&&t--;)n=n.next;return n?n.value:e},xn.prototype.peek=function(){return this._head&&this._head.value},xn.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):In(t,e)},xn.prototype.pushAll=function(t){if(0===(t=o(t)).size)return this;Bt(t.size);var e=this.size,n=this._head;return t.reverse().forEach((function(t){e++,n={value:t,next:n}})),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):In(e,n)},xn.prototype.pop=function(){return this.slice(1)},xn.prototype.unshift=function(){return this.push.apply(this,arguments)},xn.prototype.unshiftAll=function(t){return this.pushAll(t)},xn.prototype.shift=function(){return this.pop.apply(this,arguments)},xn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Ln()},xn.prototype.slice=function(t,e){if(O(t,e,this.size))return this;var n=D(t,this.size);if(I(e,this.size)!==this.size)return Mt.prototype.slice.call(this,t,e);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):In(r,o)},xn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?In(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},xn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},xn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new B((function(){if(r){var e=r.value;return r=r.next,U(t,n++,e)}return{value:void 0,done:!0}}))},xn.isStack=Cn;var jn,On="@@__IMMUTABLE_STACK__@@",Dn=xn.prototype;function In(t,e,n,r){var o=Object.create(Dn);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Ln(){return jn||(jn=In(0))}function Nn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}Dn[On]=!0,Dn.withMutations=qt.withMutations,Dn.asMutable=qt.asMutable,Dn.asImmutable=qt.asImmutable,Dn.wasAltered=qt.wasAltered,n.Iterator=B,Nn(n,{toArray:function(){Bt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,n){t[n]=e})),t},toIndexedSeq:function(){return new Pe(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Re(this,!0)},toMap:function(){return Ut(this.toKeyedSeq())},toObject:function(){Bt(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t},toOrderedMap:function(){return Le(this.toKeyedSeq())},toOrderedSet:function(){return _n(s(this)?this.valueSeq():this)},toSet:function(){return fn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Be(this)},toSeq:function(){return c(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return xn(s(this)?this.valueSeq():this)},toList:function(){return ge(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Xe(this,function(t,e){var n=s(t),o=[t].concat(e).map((function(t){return a(t)?n&&(t=r(t)):t=n?st(t):ct(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===o.length)return t;if(1===o.length){var i=o[0];if(i===t||n&&s(i)||c(t)&&c(i))return i}var u=new et(o);return n?u=u.toKeyedSeq():c(t)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=o.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),u}(this,t.call(arguments,0)))},includes:function(t){return this.some((function(e){return yt(e,t)}))},entries:function(){return this.__iterator(T)},every:function(t,e){Bt(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1})),n},filter:function(t,e){return Xe(this,qe(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},findEntry:function(t,e){var n;return this.__iterate((function(r,o,i){if(t.call(e,r,o,i))return n=[o,r],!1})),n},findLastEntry:function(t,e){return this.toSeq().reverse().findEntry(t,e)},forEach:function(t,e){return Bt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Bt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(N)},map:function(t,e){return Xe(this,Ke(this,t,e))},reduce:function(t,e,n){var r,o;return Bt(this.size),arguments.length<2?o=!0:r=e,this.__iterate((function(e,i,a){o?(o=!1,r=e):r=t.call(n,r,e,i,a)})),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Xe(this,He(this,!0))},slice:function(t,e){return Xe(this,Ye(this,t,e,!0))},some:function(t,e){return!this.every(Pn(t),e)},sort:function(t){return Xe(this,Ze(this,t))},values:function(){return this.__iterator(A)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return x(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=Ut().asMutable();return t.__iterate((function(o,i){r.update(e.call(n,o,i,t),0,(function(t){return t+1}))})),r.asImmutable()}(this,t,e)},equals:function(t){return mt(this,t)},entrySeq:function(){var t=this;if(t._cache)return new et(t._cache);var e=t.toSeq().map(Rn).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Pn(t),e)},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},first:function(){return this.find(j)},flatMap:function(t,e){return Xe(this,function(t,e,n){var r=en(t);return t.toSeq().map((function(o,i){return r(e.call(n,o,i,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Xe(this,Qe(this,t,!0))},fromEntrySeq:function(){return new Ue(this)},get:function(t,e){return this.find((function(e,n){return yt(n,t)}),void 0,e)},getIn:function(t,e){for(var n,r=this,o=an(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,b):b)===b)return e}return r},groupBy:function(t,e){return function(t,e,n){var r=s(t),o=(l(t)?Le():Ut()).asMutable();t.__iterate((function(i,a){o.update(e.call(n,i,a,t),(function(t){return(t=t||[]).push(r?[a,i]:i),t}))}));var i=en(t);return o.map((function(e){return Xe(t,i(e))}))}(this,t,e)},has:function(t){return this.get(t,b)!==b},hasIn:function(t){return this.getIn(t,b)!==b},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keySeq:function(){return this.toSeq().map(zn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(t){return Ve(this,t)},maxBy:function(t,e){return Ve(this,e,t)},min:function(t){return Ve(this,t?Bn(t):Kn)},minBy:function(t,e){return Ve(this,e?Bn(e):Kn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Xe(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Xe(this,We(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Pn(t),e)},sortBy:function(t,e){return Xe(this,Ze(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Xe(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Xe(this,function(t,e,n){var r=nn(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate((function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(T,o),s=!0;return new B((function(){if(!s)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var o=t.value,c=o[0],u=o[1];return e.call(n,u,c,i)?r===T?t:U(r,c,u,t):(s=!1,{value:void 0,done:!0})}))},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Pn(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=l(t),n=s(t),r=e?1:0;return function(t,e){return e=kt(e,3432918353),e=kt(e<<15|e>>>-15,461845907),e=kt(e<<13|e>>>-13,5),e=kt((e=(e+3864292196|0)^t)^e>>>16,2246822507),xt((e=kt(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+Hn(Ct(t),Ct(e))|0}:function(t,e){r=r+Hn(Ct(t),Ct(e))|0}:e?function(t){r=31*r+Ct(t)|0}:function(t){r=r+Ct(t)|0}),r)}(this))}});var An=n.prototype;An[p]=!0,An[P]=An.values,An.__toJS=An.toArray,An.__toStringMapper=Un,An.inspect=An.toSource=function(){return this.toString()},An.chain=An.flatMap,An.contains=An.includes,function(){try{Object.defineProperty(An,"length",{get:function(){if(!n.noLengthWarning){var t;try{throw new Error}catch(e){t=e.stack}if(-1===t.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+t),this.size}}})}catch(t){}}(),Nn(r,{flip:function(){return Xe(this,Fe(this))},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLastKey:function(t,e){return this.toSeq().reverse().findKey(t,e)},keyOf:function(t){return this.findKey((function(e){return yt(e,t)}))},lastKeyOf:function(t){return this.findLastKey((function(e){return yt(e,t)}))},mapEntries:function(t,e){var n=this,r=0;return Xe(this,this.toSeq().map((function(o,i){return t.call(e,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Xe(this,this.toSeq().flip().map((function(r,o){return t.call(e,r,o,n)})).flip())}});var Tn=r.prototype;function zn(t,e){return e}function Rn(t,e){return[e,t]}function Pn(t){return function(){return!t.apply(this,arguments)}}function Bn(t){return function(){return-t.apply(this,arguments)}}function Un(t){return"string"==typeof t?JSON.stringify(t):t}function Fn(){return k(arguments)}function Kn(t,e){return t<e?1:t>e?-1:0}function Hn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return Tn[f]=!0,Tn[P]=An.entries,Tn.__toJS=An.toObject,Tn.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+Un(t)},Nn(o,{toKeyedSeq:function(){return new Re(this,!1)},filter:function(t,e){return Xe(this,qe(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.toKeyedSeq().keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.toKeyedSeq().reverse().keyOf(t);return void 0===e?-1:e},reverse:function(){return Xe(this,He(this,!1))},slice:function(t,e){return Xe(this,Ye(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=D(t,t<0?this.count():this.size);var r=this.slice(0,t);return Xe(this,1===n?r:r.concat(k(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.toKeyedSeq().findLastKey(t,e);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(t){return Xe(this,Qe(this,t,!1))},get:function(t,e){return(t=C(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=C(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Xe(this,function(t,e){var n=nn(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return t.__iterate((function(t,r){return(!i||!1!==n(e,i++,o))&&!1!==n(t,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=t.__iterator(A,r),a=0;return new B((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?U(n,a++,e):U(n,a++,o.value,o)}))},n}(this,t))},interleave:function(){var t=[this].concat(k(arguments)),e=Je(this.toSeq(),V.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Xe(this,n)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Xe(this,We(this,t,e,!1))},zip:function(){return Xe(this,Je(this,Fn,[this].concat(k(arguments))))},zipWith:function(t){var e=k(arguments);return e[0]=this,Xe(this,Je(this,t,e))}}),o.prototype[d]=!0,o.prototype[h]=!0,Nn(i,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),i.prototype.has=An.includes,Nn(Z,r.prototype),Nn(V,o.prototype),Nn(G,i.prototype),Nn(wt,r.prototype),Nn(Mt,o.prototype),Nn(Et,i.prototype),{Iterable:n,Seq:Q,Collection:St,Map:Ut,OrderedMap:Le,List:ge,Stack:xn,Set:fn,OrderedSet:_n,Record:sn,Range:_t,Repeat:vt,is:yt,fromJS:ft}}()},97880:(t,e,n)=>{"use strict";var r=n(31251),o=n(52344),i=n(97109),a=new RegExp("\r\n","g"),s={"text/rtf":1,"text/html":1};function c(t){if("file"==t.kind)return t.getAsFile()}var u=function(){function t(t){this.data=t,this.types=t.types?o(t.types):[]}var e=t.prototype;return e.isRichText=function(){return!(!this.getHTML()||!this.getText())||!this.isImage()&&this.types.some((function(t){return s[t]}))},e.getText=function(){var t;return this.data.getData&&(this.types.length?-1!=this.types.indexOf("text/plain")&&(t=this.data.getData("text/plain")):t=this.data.getData("Text")),t?t.replace(a,"\n"):null},e.getHTML=function(){if(this.data.getData){if(!this.types.length)return this.data.getData("Text");if(-1!=this.types.indexOf("text/html"))return this.data.getData("text/html")}},e.isLink=function(){return this.types.some((function(t){return-1!=t.indexOf("Url")||-1!=t.indexOf("text/uri-list")||t.indexOf("text/x-moz-url")}))},e.getLink=function(){return this.data.getData?-1!=this.types.indexOf("text/x-moz-url")?this.data.getData("text/x-moz-url").split("\n")[0]:-1!=this.types.indexOf("text/uri-list")?this.data.getData("text/uri-list"):this.data.getData("url"):null},e.isImage=function(){var t=this.types.some((function(t){return-1!=t.indexOf("application/x-moz-file")}));if(t)return!0;for(var e=this.getFiles(),n=0;n<e.length;n++){var o=e[n].type;if(!r.isImage(o))return!1}return!0},e.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},e.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(c).filter(i.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},e.hasFiles=function(){return this.getFiles().length>0},t}();t.exports=u},7482:t=>{"use strict";t.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},31251:t=>{"use strict";var e={isImage:function(t){return"image"===n(t)[0]},isJpeg:function(t){var r=n(t);return e.isImage(t)&&("jpeg"===r[1]||"pjpeg"===r[1])}};function n(t){return t.split("/")}t.exports=e},31675:t=>{"use strict";function e(t,e){return!!e&&(t===e.documentElement||t===e.body)}var n={getTop:function(t){var n=t.ownerDocument;return e(t,n)?n.body.scrollTop||n.documentElement.scrollTop:t.scrollTop},setTop:function(t,n){var r=t.ownerDocument;e(t,r)?r.body.scrollTop=r.documentElement.scrollTop=n:t.scrollTop=n},getLeft:function(t){var n=t.ownerDocument;return e(t,n)?n.body.scrollLeft||n.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,n){var r=t.ownerDocument;e(t,r)?r.body.scrollLeft=r.documentElement.scrollLeft=n:t.scrollLeft=n}};t.exports=n},99986:(t,e,n)=>{"use strict";function r(t,e){var n=o.get(t,e);return"auto"===n||"scroll"===n}var o={get:n(98773),getScrollParent:function(t){if(!t)return null;for(var e=t.ownerDocument;t&&t!==e.body;){if(r(t,"overflow")||r(t,"overflowY")||r(t,"overflowX"))return t;t=t.parentNode}return e.defaultView||e.parentWindow}};t.exports=o},59878:t=>{"use strict";t.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},2909:t=>{"use strict";var e=function(){function t(t){var e,n;n=void 0,(e="_uri")in this?Object.defineProperty(this,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):this[e]=n,this._uri=t}return t.prototype.toString=function(){return this._uri},t}();t.exports=e},35796:(t,e,n)=>{"use strict";var r=n(11021),o=n(73012),i="־׀׃׆-א-ת-ׯװ-ײ׳-״-߀-߉ߊ-ߪߴ-ߵߺ-߿ࠀ-ࠕࠚࠤࠨ-࠰-࠾ࡀ-ࡘ-࡞-࢟יִײַ-ﬨשׁ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﭏ",a="؈؋؍؛؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍ܐܒ-ܯ-ݍ-ޥޱ-ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-ﯓ-ﴽ﵀-﵏ﵐ-ﶏ-ﶒ-ﷇ-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴﹶ-ﻼ-",s=new RegExp("[A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ"+i+a+"]"),c=new RegExp("["+i+a+"]");function u(t){var e=s.exec(t);return null==e?null:e[0]}function l(t){var e=u(t);return null==e?r.NEUTRAL:c.exec(e)?r.RTL:r.LTR}function p(t,e){if(e=e||r.NEUTRAL,!t.length)return e;var n=l(t);return n===r.NEUTRAL?e:n}function f(t,e){return e||(e=r.getGlobalDir()),r.isStrong(e)||o(!1),p(t,e)}var d={firstStrongChar:u,firstStrongCharDir:l,resolveBlockDir:p,getDirection:f,isDirectionLTR:function(t,e){return f(t,e)===r.LTR},isDirectionRTL:function(t,e){return f(t,e)===r.RTL}};t.exports=d},11021:(t,e,n)=>{"use strict";var r=n(73012),o="LTR",i="RTL",a=null;function s(t){return t===o||t===i}function c(t){return s(t)||r(!1),t===o?"ltr":"rtl"}function u(t){a=t}var l={NEUTRAL:"NEUTRAL",LTR:o,RTL:i,isStrong:s,getHTMLDir:c,getHTMLDirIfDifferent:function(t,e){return s(t)||r(!1),s(e)||r(!1),t===e?null:c(t)},setGlobalDir:u,initGlobalDir:function(){u(o)},getGlobalDir:function(){return a||this.initGlobalDir(),a||r(!1),a}};t.exports=l},90209:(t,e,n)=>{"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(35796),i=n(11021),a=n(73012),s=function(){function t(t){r(this,"_defaultDir",void 0),r(this,"_lastDir",void 0),t?i.isStrong(t)||a(!1):t=i.getGlobalDir(),this._defaultDir=t,this.reset()}var e=t.prototype;return e.reset=function(){this._lastDir=this._defaultDir},e.getDirection=function(t){return this._lastDir=o.getDirection(t,this._lastDir),this._lastDir},t}();t.exports=s},13820:(t,e,n)=>{"use strict";var r=n(73012),o=55296,i=57343,a=/[\uD800-\uDFFF]/;function s(t){return o<=t&&t<=i}function c(t){return a.test(t)}function u(t,e){return 1+s(t.charCodeAt(e))}function l(t,e,n){if(e=e||0,n=void 0===n?1/0:n||0,!c(t))return t.substr(e,n);var r=t.length;if(r<=0||e>r||n<=0)return"";var o=0;if(e>0){for(;e>0&&o<r;e--)o+=u(t,o);if(o>=r)return""}else if(e<0){for(o=r;e<0&&0<o;e++)o-=u(t,o-1);o<0&&(o=0)}var i=r;if(n<r)for(i=o;n>0&&i<r;n--)i+=u(t,i);return t.substring(o,i)}var p={getCodePoints:function(t){for(var e=[],n=0;n<t.length;n+=u(t,n))e.push(t.codePointAt(n));return e},getUTF16Length:u,hasSurrogateUnit:c,isCodeUnitInSurrogateRange:s,isSurrogatePair:function(t,e){if(0<=e&&e<t.length||r(!1),e+1===t.length)return!1;var n=t.charCodeAt(e),a=t.charCodeAt(e+1);return o<=n&&n<=56319&&56320<=a&&a<=i},strlen:function(t){if(!c(t))return t.length;for(var e=0,n=0;n<t.length;n+=u(t,n))e++;return e},substring:function(t,e,n){(e=e||0)<0&&(e=0),(n=void 0===n?1/0:n||0)<0&&(n=0);var r=Math.abs(n-e);return l(t,e=e<n?e:n,r)},substr:l};t.exports=p},91355:(t,e,n)=>{"use strict";var r=n(21120),o=n(31503),i=n(95621),a=n(17786);function s(t,e,n,r){if(t===n)return!0;if(!n.startsWith(t))return!1;var i=n.slice(t.length);return!!e&&(i=r?r(i):i,o.contains(i,e))}function c(t){return"Windows"===r.platformName?t.replace(/^\s*NT/,""):t}var u={isBrowser:function(t){return s(r.browserName,r.browserFullVersion,t)},isBrowserArchitecture:function(t){return s(r.browserArchitecture,null,t)},isDevice:function(t){return s(r.deviceName,null,t)},isEngine:function(t){return s(r.engineName,r.engineVersion,t)},isPlatform:function(t){return s(r.platformName,r.platformFullVersion,t,c)},isPlatformArchitecture:function(t){return s(r.platformArchitecture,null,t)}};t.exports=i(u,a)},21120:(t,e,n)=>{"use strict";var r,o="Unknown",i=(new(n(52423))).getResult(),a=function(t){if(!t)return{major:"",minor:""};var e=t.split(".");return{major:e[0],minor:e[1]}}(i.browser.version),s={browserArchitecture:i.cpu.architecture||o,browserFullVersion:i.browser.version||o,browserMinorVersion:a.minor||o,browserName:i.browser.name||o,browserVersion:i.browser.major||o,deviceName:i.device.model||o,engineName:i.engine.name||o,engineVersion:i.engine.version||o,platformArchitecture:i.cpu.architecture||o,platformName:(r=i.os.name,{"Mac OS":"Mac OS X"}[r]||r||o),platformVersion:i.os.version||o,platformFullVersion:i.os.version||o};t.exports=s},31503:(t,e,n)=>{"use strict";var r=n(73012),o=/\./,i=/\|\|/,a=/\s+\-\s+/,s=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,c=/^(\d*)(.*)/;function u(t,e){if(""===(t=t.trim()))return!0;var n,r=e.split(o),i=f(t),a=i.modifier,s=i.rangeComponents;switch(a){case"<":return l(r,s);case"<=":return-1===(n=v(r,s))||0===n;case">=":return p(r,s);case">":return 1===v(r,s);case"~":case"~>":return function(t,e){var n=e.slice(),r=e.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);return d(i)&&(r[o]=i+1+""),p(t,n)&&l(t,r)}(r,s);default:return function(t,e){return 0===v(t,e)}(r,s)}}function l(t,e){return-1===v(t,e)}function p(t,e){var n=v(t,e);return 1===n||0===n}function f(t){var e=t.split(o),n=e[0].match(s);return n||r(!1),{modifier:n[1],rangeComponents:[n[2]].concat(e.slice(1))}}function d(t){return!isNaN(t)&&isFinite(t)}function h(t){return!f(t).modifier}function g(t,e){for(var n=t.length;n<e;n++)t[n]="0"}function y(t,e){var n=t.match(c)[1],r=e.match(c)[1],o=parseInt(n,10),i=parseInt(r,10);return d(o)&&d(i)&&o!==i?m(o,i):m(t,e)}function m(t,e){return typeof t!=typeof e&&r(!1),t>e?1:t<e?-1:0}function v(t,e){for(var n=function(t,e){g(t=t.slice(),(e=e.slice()).length);for(var n=0;n<e.length;n++){var r=e[n].match(/^[x*]$/i);if(r&&(e[n]=t[n]="0","*"===r[0]&&n===e.length-1))for(var o=n;o<t.length;o++)t[o]="0"}return g(e,t.length),[t,e]}(t,e),r=n[0],o=n[1],i=0;i<o.length;i++){var a=y(r[i],o[i]);if(a)return a}return 0}var b={contains:function(t,e){return function(t,e){var n=t.split(i);return n.length>1?n.some((function(t){return b.contains(t,e)})):function(t,e){var n=t.split(a);if(n.length>0&&n.length<=2||r(!1),1===n.length)return u(n[0],e);var o=n[0],i=n[1];return h(o)&&h(i)||r(!1),u(">="+o,e)&&u("<="+i,e)}(t=n[0].trim(),e)}(t.trim(),e.trim())}};t.exports=b},76458:t=>{"use strict";var e=/-(.)/g;t.exports=function(t){return t.replace(e,(function(t,e){return e.toUpperCase()}))}},61530:(t,e,n)=>{"use strict";var r=n(30854);t.exports=function t(e,n){return!(!e||!n)&&(e===n||!r(e)&&(r(n)?t(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}},52344:(t,e,n)=>{"use strict";var r=n(73012);t.exports=function(t){return function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}(t)?Array.isArray(t)?t.slice():function(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&r(!1),"number"!=typeof e&&r(!1),0===e||e-1 in t||r(!1),"function"==typeof t.callee&&r(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),o=0;o<e;o++)n[o]=t[o];return n}(t):[t]}},2775:t=>{"use strict";function e(t){return t.replace(/\//g,"-")}t.exports=function(t){return"object"==typeof t?Object.keys(t).filter((function(e){return t[e]})).map(e).join(" "):Array.prototype.map.call(arguments,e).join(" ")}},97109:t=>{"use strict";function e(t){return function(){return t}}var n=function(){};n.thatReturns=e,n.thatReturnsFalse=e(!1),n.thatReturnsTrue=e(!0),n.thatReturnsNull=e(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(t){return t},t.exports=n},16838:t=>{"use strict";t.exports=function(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}},35338:t=>{"use strict";var e="undefined"!=typeof navigator&&navigator.userAgent.indexOf("AppleWebKit")>-1;t.exports=function(t){return(t=t||document).scrollingElement?t.scrollingElement:e||"CSS1Compat"!==t.compatMode?t.body:t.documentElement}},87008:(t,e,n)=>{"use strict";var r=n(42624);t.exports=function(t){var e=r(t);return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}},42624:(t,e,n)=>{"use strict";var r=n(61530);t.exports=function(t){var e=t.ownerDocument.documentElement;if(!("getBoundingClientRect"in t)||!r(e,t))return{left:0,right:0,top:0,bottom:0};var n=t.getBoundingClientRect();return{left:Math.round(n.left)-e.clientLeft,right:Math.round(n.right)-e.clientLeft,top:Math.round(n.top)-e.clientTop,bottom:Math.round(n.bottom)-e.clientTop}}},51702:(t,e,n)=>{"use strict";var r=n(35338),o=n(79838);t.exports=function(t){var e=r(t.ownerDocument||t.document);t.Window&&t instanceof t.Window&&(t=e);var n=o(t),i=t===e?t.ownerDocument.documentElement:t,a=t.scrollWidth-i.clientWidth,s=t.scrollHeight-i.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}},98773:(t,e,n)=>{"use strict";var r=n(76458),o=n(84798);function i(t){return null==t?t:String(t)}t.exports=function(t,e){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(t,null)))return i(n.getPropertyValue(o(e)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(t,null))return i(n.getPropertyValue(o(e)));if("display"===e)return"none"}return t.currentStyle?i("float"===e?t.currentStyle.cssFloat||t.currentStyle.styleFloat:t.currentStyle[r(e)]):i(t.style&&t.style[r(e)])}},79838:t=>{"use strict";t.exports=function(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}},90333:t=>{"use strict";function e(){var t;return document.documentElement&&(t=document.documentElement.clientWidth),!t&&document.body&&(t=document.body.clientWidth),t||0}function n(){var t;return document.documentElement&&(t=document.documentElement.clientHeight),!t&&document.body&&(t=document.body.clientHeight),t||0}function r(){return{width:window.innerWidth||e(),height:window.innerHeight||n()}}r.withoutScrollbars=function(){return{width:e(),height:n()}},t.exports=r},84798:t=>{"use strict";var e=/([A-Z])/g;t.exports=function(t){return t.replace(e,"-$1").toLowerCase()}},73012:t=>{"use strict";t.exports=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];if(!t){var i;if(void 0===e)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;(i=new Error(e.replace(/%s/g,(function(){return String(r[a++])})))).name="Invariant Violation"}throw i.framesToPop=1,i}}},74201:t=>{"use strict";t.exports=function(t){var e=(t?t.ownerDocument||t:document).defaultView||window;return!(!t||!("function"==typeof e.Node?t instanceof e.Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}},30854:(t,e,n)=>{"use strict";var r=n(74201);t.exports=function(t){return r(t)&&3==t.nodeType}},52433:t=>{"use strict";t.exports=function(t){var e=t||"",n=arguments.length;if(n>1)for(var r=1;r<n;r++){var o=arguments[r];o&&(e=(e?e+" ":"")+o)}return e}},95621:t=>{"use strict";var e=Object.prototype.hasOwnProperty;t.exports=function(t,n,r){if(!t)return null;var o={};for(var i in t)e.call(t,i)&&(o[i]=n.call(r,t[i],i,t));return o}},17786:t=>{"use strict";t.exports=function(t){var e={};return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}}},98392:t=>{"use strict";t.exports=function(t){if(null!=t)return t;throw new Error("Got unexpected null or undefined")}},55060:(t,e,n)=>{"use strict";n(67257),t.exports=n.g.setImmediate},85806:(t,e,n)=>{"use strict";var r=n(97109);t.exports=r},11203:(t,e,n)=>{"use strict";n.r(e),n.d(e,{Collection:()=>k,Iterable:()=>jr,List:()=>un,Map:()=>Pe,OrderedMap:()=>Mn,OrderedSet:()=>lr,PairSorting:()=>gr,Range:()=>Qn,Record:()=>yr,Repeat:()=>Mr,Seq:()=>J,Set:()=>Un,Stack:()=>On,default:()=>Or,fromJS:()=>Er,get:()=>ce,getIn:()=>Zn,has:()=>se,hasIn:()=>Gn,hash:()=>mt,is:()=>dt,isAssociative:()=>E,isCollection:()=>b,isImmutable:()=>N,isIndexed:()=>M,isKeyed:()=>S,isList:()=>cn,isMap:()=>lt,isOrdered:()=>T,isOrderedMap:()=>pt,isOrderedSet:()=>zn,isPlainObject:()=>oe,isRecord:()=>L,isSeq:()=>D,isSet:()=>Tn,isStack:()=>jn,isValueObject:()=>ft,merge:()=>Ee,mergeDeep:()=>xe,mergeDeepWith:()=>Ce,mergeWith:()=>ke,remove:()=>le,removeIn:()=>ye,set:()=>pe,setIn:()=>he,update:()=>ve,updateIn:()=>fe,version:()=>Cr});var r="delete",o=5,i=1<<o,a=i-1,s={};function c(t){t&&(t.value=!0)}function u(){}function l(t){return void 0===t.size&&(t.size=t.__iterate(f)),t.size}function p(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?l(t)+e:e}function f(){return!0}function d(t,e,n){return(0===t&&!m(t)||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function h(t,e){return y(t,e,0)}function g(t,e){return y(t,e,e)}function y(t,e,n){return void 0===t?n:m(t)?e===1/0?e:0|Math.max(0,e+t):void 0===e||e===t?t:0|Math.min(e,t)}function m(t){return t<0||0===t&&1/t==-1/0}var v="@@__IMMUTABLE_ITERABLE__@@";function b(t){return Boolean(t&&t[v])}var _="@@__IMMUTABLE_KEYED__@@";function S(t){return Boolean(t&&t[_])}var w="@@__IMMUTABLE_INDEXED__@@";function M(t){return Boolean(t&&t[w])}function E(t){return S(t)||M(t)}var k=function(t){return b(t)?t:J(t)},x=function(t){function e(t){return S(t)?t:X(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(k),C=function(t){function e(t){return M(t)?t:$(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(k),j=function(t){function e(t){return b(t)&&!E(t)?t:tt(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(k);k.Keyed=x,k.Indexed=C,k.Set=j;var O="@@__IMMUTABLE_SEQ__@@";function D(t){return Boolean(t&&t[O])}var I="@@__IMMUTABLE_RECORD__@@";function L(t){return Boolean(t&&t[I])}function N(t){return b(t)||L(t)}var A="@@__IMMUTABLE_ORDERED__@@";function T(t){return Boolean(t&&t[A])}var z=0,R=1,P=2,B="function"==typeof Symbol&&Symbol.iterator,U="@@iterator",F=B||U,K=function(t){this.next=t};function H(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function q(){return{value:void 0,done:!0}}function Y(t){return!!Array.isArray(t)||!!Z(t)}function W(t){return t&&"function"==typeof t.next}function Q(t){var e=Z(t);return e&&e.call(t)}function Z(t){var e=t&&(B&&t[B]||t[U]);if("function"==typeof e)return e}K.prototype.toString=function(){return"[Iterator]"},K.KEYS=z,K.VALUES=R,K.ENTRIES=P,K.prototype.inspect=K.prototype.toSource=function(){return this.toString()},K.prototype[F]=function(){return this};var V=Object.prototype.hasOwnProperty;function G(t){return!(!Array.isArray(t)&&"string"!=typeof t)||t&&"object"==typeof t&&Number.isInteger(t.length)&&t.length>=0&&(0===t.length?1===Object.keys(t).length:t.hasOwnProperty(t.length-1))}var J=function(t){function e(t){return null==t?it():N(t)?t.toSeq():function(t){var e,n,r=ct(t);if(r)return(n=Z(e=t))&&n===e.entries?r.fromEntrySeq():function(t){var e=Z(t);return e&&e===t.keys}(t)?r.toSetSeq():r;if("object"==typeof t)return new nt(t);throw new TypeError("Expected Array or collection object of values, or keyed object: "+t)}(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq {","}")},e.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},e.prototype.__iterate=function(t,e){var n=this._cache;if(n){for(var r=n.length,o=0;o!==r;){var i=n[e?r-++o:o++];if(!1===t(i[1],i[0],this))break}return o}return this.__iterateUncached(t,e)},e.prototype.__iterator=function(t,e){var n=this._cache;if(n){var r=n.length,o=0;return new K((function(){if(o===r)return{value:void 0,done:!0};var i=n[e?r-++o:o++];return H(t,i[0],i[1])}))}return this.__iteratorUncached(t,e)},e}(k),X=function(t){function e(t){return null==t?it().toKeyedSeq():b(t)?S(t)?t.toSeq():t.fromEntrySeq():L(t)?t.toSeq():at(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toKeyedSeq=function(){return this},e}(J),$=function(t){function e(t){return null==t?it():b(t)?S(t)?t.entrySeq():t.toIndexedSeq():L(t)?t.toSeq().entrySeq():st(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toIndexedSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq [","]")},e}(J),tt=function(t){function e(t){return(b(t)&&!E(t)?t:$(t)).toSetSeq()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toSetSeq=function(){return this},e}(J);J.isSeq=D,J.Keyed=X,J.Set=tt,J.Indexed=$,J.prototype[O]=!0;var et=function(t){function e(t){this._array=t,this.size=t.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this.has(t)?this._array[p(this,t)]:e},e.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length,o=0;o!==r;){var i=e?r-++o:o++;if(!1===t(n[i],i,this))break}return o},e.prototype.__iterator=function(t,e){var n=this._array,r=n.length,o=0;return new K((function(){if(o===r)return{value:void 0,done:!0};var i=e?r-++o:o++;return H(t,i,n[i])}))},e}($),nt=function(t){function e(t){var e=Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]);this._object=t,this._keys=e,this.size=e.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},e.prototype.has=function(t){return V.call(this._object,t)},e.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length,i=0;i!==o;){var a=r[e?o-++i:i++];if(!1===t(n[a],a,this))break}return i},e.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length,i=0;return new K((function(){if(i===o)return{value:void 0,done:!0};var a=r[e?o-++i:i++];return H(t,a,n[a])}))},e}(X);nt.prototype[A]=!0;var rt,ot=function(t){function e(t){this._collection=t,this.size=t.length||t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=Q(this._collection),r=0;if(W(n))for(var o;!(o=n.next()).done&&!1!==t(o.value,r++,this););return r},e.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=Q(this._collection);if(!W(n))return new K(q);var r=0;return new K((function(){var e=n.next();return e.done?e:H(t,r++,e.value)}))},e}($);function it(){return rt||(rt=new et([]))}function at(t){var e=ct(t);if(e)return e.fromEntrySeq();if("object"==typeof t)return new nt(t);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+t)}function st(t){var e=ct(t);if(e)return e;throw new TypeError("Expected Array or collection object of values: "+t)}function ct(t){return G(t)?new et(t):Y(t)?new ot(t):void 0}var ut="@@__IMMUTABLE_MAP__@@";function lt(t){return Boolean(t&&t[ut])}function pt(t){return lt(t)&&T(t)}function ft(t){return Boolean(t&&"function"==typeof t.equals&&"function"==typeof t.hashCode)}function dt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!!(ft(t)&&ft(e)&&t.equals(e))}var ht="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function gt(t){return t>>>1&1073741824|3221225471&t}var yt=Object.prototype.valueOf;function mt(t){if(null==t)return vt(t);if("function"==typeof t.hashCode)return gt(t.hashCode(t));var e,n,r,o=(e=t).valueOf!==yt&&"function"==typeof e.valueOf?e.valueOf(e):e;if(null==o)return vt(o);switch(typeof o){case"boolean":return o?1108378657:1108378656;case"number":return function(t){if(t!=t||t===1/0)return 0;var e=0|t;for(e!==t&&(e^=4294967295*t);t>4294967295;)e^=t/=4294967295;return gt(e)}(o);case"string":return o.length>jt?(void 0===(r=It[n=o])&&(r=bt(n),Dt===Ot&&(Dt=0,It={}),Dt++,It[n]=r),r):bt(o);case"object":case"function":return function(t){var e;if(Et&&void 0!==(e=Mt.get(t)))return e;if(void 0!==(e=t[Ct]))return e;if(!St){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Ct]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=wt(),Et)Mt.set(t,e);else{if(void 0!==_t&&!1===_t(t))throw new Error("Non-extensible objects are not allowed as keys.");if(St)Object.defineProperty(t,Ct,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Ct]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Ct]=e}}return e}(o);case"symbol":return function(t){var e=kt[t];return void 0!==e||(e=wt(),kt[t]=e),e}(o);default:if("function"==typeof o.toString)return bt(o.toString());throw new Error("Value type "+typeof o+" cannot be hashed.")}}function vt(t){return null===t?1108378658:1108378659}function bt(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return gt(e)}var _t=Object.isExtensible,St=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();function wt(){var t=++xt;return 1073741824&xt&&(xt=0),t}var Mt,Et="function"==typeof WeakMap;Et&&(Mt=new WeakMap);var kt=Object.create(null),xt=0,Ct="__immutablehash__";"function"==typeof Symbol&&(Ct=Symbol(Ct));var jt=16,Ot=255,Dt=0,It={},Lt=function(t){function e(t,e){this._iter=t,this._useKeys=e,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this._iter.get(t,e)},e.prototype.has=function(t){return this._iter.has(t)},e.prototype.valueSeq=function(){return this._iter.valueSeq()},e.prototype.reverse=function(){var t=this,e=Pt(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},e.prototype.map=function(t,e){var n=this,r=Rt(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e,r){return t(e,r,n)}),e)},e.prototype.__iterator=function(t,e){return this._iter.__iterator(t,e)},e}(X);Lt.prototype[A]=!0;var Nt=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.includes=function(t){return this._iter.includes(t)},e.prototype.__iterate=function(t,e){var n=this,r=0;return e&&l(this),this._iter.__iterate((function(o){return t(o,e?n.size-++r:r++,n)}),e)},e.prototype.__iterator=function(t,e){var n=this,r=this._iter.__iterator(R,e),o=0;return e&&l(this),new K((function(){var i=r.next();return i.done?i:H(t,e?n.size-++o:o++,i.value,i)}))},e}($),At=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.has=function(t){return this._iter.includes(t)},e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){return t(e,e,n)}),e)},e.prototype.__iterator=function(t,e){var n=this._iter.__iterator(R,e);return new K((function(){var e=n.next();return e.done?e:H(t,e.value,e.value,e)}))},e}(tt),Tt=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.entrySeq=function(){return this._iter.toSeq()},e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate((function(e){if(e){Zt(e);var r=b(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}}),e)},e.prototype.__iterator=function(t,e){var n=this._iter.__iterator(R,e);return new K((function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Zt(r);var o=b(r);return H(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}}))},e}(X);function zt(t){var e=Gt(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Jt,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(e===P){var r=t.__iterator(e,n);return new K((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(e===R?z:R,n)},e}function Rt(t,e,n){var r=Gt(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,s);return i===s?o:e.call(n,i,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate((function(t,o,a){return!1!==r(e.call(n,t,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(P,o);return new K((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return H(r,s,e.call(n,a[1],s,t),o)}))},r}function Pt(t,e){var n=this,r=Gt(t);return r._iter=t,r.size=t.size,r.reverse=function(){return t},t.flip&&(r.flip=function(){var e=zt(t);return e.reverse=function(){return t.flip()},e}),r.get=function(n,r){return t.get(e?n:-1-n,r)},r.has=function(n){return t.has(e?n:-1-n)},r.includes=function(e){return t.includes(e)},r.cacheResult=Jt,r.__iterate=function(n,r){var o=this,i=0;return r&&l(t),t.__iterate((function(t,a){return n(t,e?a:r?o.size-++i:i++,o)}),!r)},r.__iterator=function(r,o){var i=0;o&&l(t);var a=t.__iterator(P,!o);return new K((function(){var t=a.next();if(t.done)return t;var s=t.value;return H(r,e?s[0]:o?n.size-++i:i++,s[1],t)}))},r}function Bt(t,e,n,r){var o=Gt(t);return r&&(o.has=function(r){var o=t.get(r,s);return o!==s&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,s);return i!==s&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate((function(t,i,c){if(e.call(n,t,i,c))return s++,o(t,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(P,i),s=0;return new K((function(){for(;;){var i=a.next();if(i.done)return i;var c=i.value,u=c[0],l=c[1];if(e.call(n,l,u,t))return H(o,r?u:s++,l,i)}}))},o}function Ut(t,e,n,r){var o=t.size;if(d(e,n,o))return t;var i=h(e,o),a=g(n,o);if(i!=i||a!=a)return Ut(t.toSeq().cacheResult(),e,n,r);var s,c=a-i;c==c&&(s=c<0?0:c);var u=Gt(t);return u.size=0===s?s:t.size&&s||void 0,!r&&D(t)&&s>=0&&(u.get=function(e,n){return(e=p(this,e))>=0&&e<s?t.get(e+i,n):n}),u.__iterateUncached=function(e,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,c=!0,u=0;return t.__iterate((function(t,n){if(!c||!(c=a++<i))return u++,!1!==e(t,r?n:u-1,o)&&u!==s})),u},u.__iteratorUncached=function(e,n){if(0!==s&&n)return this.cacheResult().__iterator(e,n);if(0===s)return new K(q);var o=t.__iterator(e,n),a=0,c=0;return new K((function(){for(;a++<i;)o.next();if(++c>s)return{value:void 0,done:!0};var t=o.next();return r||e===R||t.done?t:H(e,c-1,e===z?void 0:t.value[1],t)}))},u}function Ft(t,e,n,r){var o=Gt(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return t.__iterate((function(t,i,u){if(!s||!(s=e.call(n,t,i,u)))return c++,o(t,r?i:c-1,a)})),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(P,i),c=!0,u=0;return new K((function(){var t,i,l;do{if((t=s.next()).done)return r||o===R?t:H(o,u++,o===z?void 0:t.value[1],t);var p=t.value;i=p[0],l=p[1],c&&(c=e.call(n,l,i,a))}while(c);return o===P?t:H(o,i,l,t)}))},o}function Kt(t,e,n){var r=Gt(t);return r.__iterateUncached=function(o,i){if(i)return this.cacheResult().__iterate(o,i);var a=0,s=!1;return function t(c,u){c.__iterate((function(i,c){return(!e||u<e)&&b(i)?t(i,u+1):(a++,!1===o(i,n?c:a-1,r)&&(s=!0)),!s}),i)}(t,0),a},r.__iteratorUncached=function(r,o){if(o)return this.cacheResult().__iterator(r,o);var i=t.__iterator(r,o),a=[],s=0;return new K((function(){for(;i;){var t=i.next();if(!1===t.done){var c=t.value;if(r===P&&(c=c[1]),e&&!(a.length<e)||!b(c))return n?t:H(r,s++,c,t);a.push(i),i=c.__iterator(r,o)}else i=a.pop()}return{value:void 0,done:!0}}))},r}function Ht(t,e,n){e||(e=Xt);var r=S(t),o=0,i=t.toSeq().map((function(e,r){return[r,e,o++,n?n(e,r,t):e]})).valueSeq().toArray();return i.sort((function(t,n){return e(t[3],n[3])||t[2]-n[2]})).forEach(r?function(t,e){i[e].length=2}:function(t,e){i[e]=t[1]}),r?X(i):M(t)?$(i):tt(i)}function qt(t,e,n){if(e||(e=Xt),n){var r=t.toSeq().map((function(e,r){return[e,n(e,r,t)]})).reduce((function(t,n){return Yt(e,t[1],n[1])?n:t}));return r&&r[0]}return t.reduce((function(t,n){return Yt(e,t,n)?n:t}))}function Yt(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Wt(t,e,n,r){var o=Gt(t),i=new et(n).map((function(t){return t.size}));return o.size=r?i.max():i.min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(R,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=n.map((function(t){return t=k(t),Q(o?t.reverse():t)})),a=0,s=!1;return new K((function(){var n;return s||(n=i.map((function(t){return t.next()})),s=r?n.every((function(t){return t.done})):n.some((function(t){return t.done}))),s?{value:void 0,done:!0}:H(t,a++,e.apply(null,n.map((function(t){return t.value}))))}))},o}function Qt(t,e){return t===e?t:D(t)?e:t.constructor(e)}function Zt(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Vt(t){return S(t)?x:M(t)?C:j}function Gt(t){return Object.create((S(t)?X:M(t)?$:tt).prototype)}function Jt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):J.prototype.cacheResult.call(this)}function Xt(t,e){return void 0===t&&void 0===e?0:void 0===t?1:void 0===e?-1:t>e?1:t<e?-1:0}function $t(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),o=0;o<n;o++)r[o]=t[o+e];return r}function te(t,e){if(!t)throw new Error(e)}function ee(t){te(t!==1/0,"Cannot perform this action with an infinite size.")}function ne(t){if(G(t)&&"string"!=typeof t)return t;if(T(t))return t.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+t)}Nt.prototype.cacheResult=Lt.prototype.cacheResult=At.prototype.cacheResult=Tt.prototype.cacheResult=Jt;var re=Object.prototype.toString;function oe(t){if(!t||"object"!=typeof t||"[object Object]"!==re.call(t))return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var n=e,r=Object.getPrototypeOf(e);null!==r;)n=r,r=Object.getPrototypeOf(n);return n===e}function ie(t){return"object"==typeof t&&(N(t)||Array.isArray(t)||oe(t))}function ae(t){try{return"string"==typeof t?JSON.stringify(t):String(t)}catch(e){return JSON.stringify(t)}}function se(t,e){return N(t)?t.has(e):ie(t)&&V.call(t,e)}function ce(t,e,n){return N(t)?t.get(e,n):se(t,e)?"function"==typeof t.get?t.get(e):t[e]:n}function ue(t){if(Array.isArray(t))return $t(t);var e={};for(var n in t)V.call(t,n)&&(e[n]=t[n]);return e}function le(t,e){if(!ie(t))throw new TypeError("Cannot update non-data-structure value: "+t);if(N(t)){if(!t.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+t);return t.remove(e)}if(!V.call(t,e))return t;var n=ue(t);return Array.isArray(n)?n.splice(e,1):delete n[e],n}function pe(t,e,n){if(!ie(t))throw new TypeError("Cannot update non-data-structure value: "+t);if(N(t)){if(!t.set)throw new TypeError("Cannot update immutable value without .set() method: "+t);return t.set(e,n)}if(V.call(t,e)&&n===t[e])return t;var r=ue(t);return r[e]=n,r}function fe(t,e,n,r){r||(r=n,n=void 0);var o=de(N(t),t,ne(e),0,n,r);return o===s?n:o}function de(t,e,n,r,o,i){var a=e===s;if(r===n.length){var c=a?o:e,u=i(c);return u===c?e:u}if(!a&&!ie(e))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(ae)+"]: "+e);var l=n[r],p=a?s:ce(e,l,s),f=de(p===s?t:N(p),p,n,r+1,o,i);return f===p?e:f===s?le(e,l):pe(a?t?Ge():{}:e,l,f)}function he(t,e,n){return fe(t,e,s,(function(){return n}))}function ge(t,e){return he(this,t,e)}function ye(t,e){return fe(t,e,(function(){return s}))}function me(t){return ye(this,t)}function ve(t,e,n,r){return fe(t,[e],n,r)}function be(t,e,n){return 1===arguments.length?t(this):ve(this,t,e,n)}function _e(t,e,n){return fe(this,t,e,n)}function Se(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Me(this,t)}function we(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if("function"!=typeof t)throw new TypeError("Invalid merger function: "+t);return Me(this,e,t)}function Me(t,e,n){for(var r=[],o=0;o<e.length;o++){var i=x(e[o]);0!==i.size&&r.push(i)}return 0===r.length?t:0!==t.toSeq().size||t.__ownerID||1!==r.length?t.withMutations((function(t){for(var e=n?function(e,r){ve(t,r,s,(function(t){return t===s?e:n(t,e,r)}))}:function(e,n){t.set(n,e)},o=0;o<r.length;o++)r[o].forEach(e)})):t.constructor(r[0])}function Ee(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return Oe(t,e)}function ke(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return Oe(e,n,t)}function xe(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return je(t,e)}function Ce(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return je(e,n,t)}function je(t,e,n){return Oe(t,e,function(t){return function e(n,r,o){return ie(n)&&ie(r)&&(i=r,a=J(n),s=J(i),M(a)===M(s)&&S(a)===S(s))?Oe(n,[r],e):t?t(n,r,o):r;var i,a,s}}(n))}function Oe(t,e,n){if(!ie(t))throw new TypeError("Cannot merge into non-data-structure value: "+t);if(N(t))return"function"==typeof n&&t.mergeWith?t.mergeWith.apply(t,[n].concat(e)):t.merge?t.merge.apply(t,e):t.concat.apply(t,e);for(var r=Array.isArray(t),o=t,i=r?C:x,a=r?function(e){o===t&&(o=ue(o)),o.push(e)}:function(e,r){var i=V.call(o,r),a=i&&n?n(o[r],e,r):e;i&&a===o[r]||(o===t&&(o=ue(o)),o[r]=a)},s=0;s<e.length;s++)i(e[s]).forEach(a);return o}function De(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return je(this,t)}function Ie(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return je(this,e,t)}function Le(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return fe(this,t,Ge(),(function(t){return Oe(t,e)}))}function Ne(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return fe(this,t,Ge(),(function(t){return je(t,e)}))}function Ae(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this}function Te(){return this.__ownerID?this:this.__ensureOwner(new u)}function ze(){return this.__ensureOwner()}function Re(){return this.__altered}var Pe=function(t){function e(e){return null==e?Ge():lt(e)&&!T(e)?e:Ge().withMutations((function(n){var r=t(e);ee(r.size),r.forEach((function(t,e){return n.set(e,t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Ge().withMutations((function(e){for(var n=0;n<t.length;n+=2){if(n+1>=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}}))},e.prototype.toString=function(){return this.__toString("Map {","}")},e.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},e.prototype.set=function(t,e){return Je(this,t,e)},e.prototype.remove=function(t){return Je(this,t,s)},e.prototype.deleteAll=function(t){var e=k(t);return 0===e.size?this:this.withMutations((function(t){e.forEach((function(e){return t.remove(e)}))}))},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ge()},e.prototype.sort=function(t){return Mn(Ht(this,t))},e.prototype.sortBy=function(t,e){return Mn(Ht(this,e,t))},e.prototype.map=function(t,e){var n=this;return this.withMutations((function(r){r.forEach((function(o,i){r.set(i,t.call(e,o,i,n))}))}))},e.prototype.__iterator=function(t,e){return new We(this,t,e)},e.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ve(this.size,this._root,t,this.__hash):0===this.size?Ge():(this.__ownerID=t,this.__altered=!1,this)},e}(x);Pe.isMap=lt;var Be=Pe.prototype;Be[ut]=!0,Be[r]=Be.remove,Be.removeAll=Be.deleteAll,Be.setIn=ge,Be.removeIn=Be.deleteIn=me,Be.update=be,Be.updateIn=_e,Be.merge=Be.concat=Se,Be.mergeWith=we,Be.mergeDeep=De,Be.mergeDeepWith=Ie,Be.mergeIn=Le,Be.mergeDeepIn=Ne,Be.withMutations=Ae,Be.wasAltered=Re,Be.asImmutable=ze,Be["@@transducer/init"]=Be.asMutable=Te,Be["@@transducer/step"]=function(t,e){return t.set(e[0],e[1])},Be["@@transducer/result"]=function(t){return t.asImmutable()};var Ue=function(t,e){this.ownerID=t,this.entries=e};Ue.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(dt(n,o[i][0]))return o[i][1];return r},Ue.prototype.update=function(t,e,n,r,o,i,a){for(var l=o===s,p=this.entries,f=0,d=p.length;f<d&&!dt(r,p[f][0]);f++);var h=f<d;if(h?p[f][1]===o:l)return this;if(c(a),(l||!h)&&c(i),!l||1!==p.length){if(!h&&!l&&p.length>=rn)return function(t,e,n,r){t||(t=new u);for(var o=new qe(t,mt(n),[n,r]),i=0;i<e.length;i++){var a=e[i];o=o.update(t,0,void 0,a[0],a[1])}return o}(t,p,r,o);var g=t&&t===this.ownerID,y=g?p:$t(p);return h?l?f===d-1?y.pop():y[f]=y.pop():y[f]=[r,o]:y.push([r,o]),g?(this.entries=y,this):new Ue(t,y)}};var Fe=function(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n};Fe.prototype.get=function(t,e,n,r){void 0===e&&(e=mt(n));var i=1<<((0===t?e:e>>>t)&a),s=this.bitmap;return 0==(s&i)?r:this.nodes[en(s&i-1)].get(t+o,e,n,r)},Fe.prototype.update=function(t,e,n,r,c,u,l){void 0===n&&(n=mt(r));var p=(0===e?n:n>>>e)&a,f=1<<p,d=this.bitmap,h=0!=(d&f);if(!h&&c===s)return this;var g=en(d&f-1),y=this.nodes,m=h?y[g]:void 0,v=Xe(m,t,e+o,n,r,c,u,l);if(v===m)return this;if(!h&&v&&y.length>=on)return function(t,e,n,r,o){for(var a=0,s=new Array(i),c=0;0!==n;c++,n>>>=1)s[c]=1&n?e[a++]:void 0;return s[r]=o,new Ke(t,a+1,s)}(t,y,d,p,v);if(h&&!v&&2===y.length&&$e(y[1^g]))return y[1^g];if(h&&v&&1===y.length&&$e(v))return v;var b=t&&t===this.ownerID,_=h?v?d:d^f:d|f,S=h?v?nn(y,g,v,b):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var o=new Array(r),i=0,a=0;a<r;a++)a===e&&(i=1),o[a]=t[a+i];return o}(y,g,b):function(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(var i=new Array(o),a=0,s=0;s<o;s++)s===e?(i[s]=n,a=-1):i[s]=t[s+a];return i}(y,g,v,b);return b?(this.bitmap=_,this.nodes=S,this):new Fe(t,_,S)};var Ke=function(t,e,n){this.ownerID=t,this.count=e,this.nodes=n};Ke.prototype.get=function(t,e,n,r){void 0===e&&(e=mt(n));var i=(0===t?e:e>>>t)&a,s=this.nodes[i];return s?s.get(t+o,e,n,r):r},Ke.prototype.update=function(t,e,n,r,i,c,u){void 0===n&&(n=mt(r));var l=(0===e?n:n>>>e)&a,p=i===s,f=this.nodes,d=f[l];if(p&&!d)return this;var h=Xe(d,t,e+o,n,r,i,c,u);if(h===d)return this;var g=this.count;if(d){if(!h&&--g<an)return function(t,e,n,r){for(var o=0,i=0,a=new Array(n),s=0,c=1,u=e.length;s<u;s++,c<<=1){var l=e[s];void 0!==l&&s!==r&&(o|=c,a[i++]=l)}return new Fe(t,o,a)}(t,f,g,l)}else g++;var y=t&&t===this.ownerID,m=nn(f,l,h,y);return y?(this.count=g,this.nodes=m,this):new Ke(t,g,m)};var He=function(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n};He.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(dt(n,o[i][0]))return o[i][1];return r},He.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=mt(r));var u=o===s;if(n!==this.keyHash)return u?this:(c(a),c(i),tn(this,t,e,n,[r,o]));for(var l=this.entries,p=0,f=l.length;p<f&&!dt(r,l[p][0]);p++);var d=p<f;if(d?l[p][1]===o:u)return this;if(c(a),(u||!d)&&c(i),u&&2===f)return new qe(t,this.keyHash,l[1^p]);var h=t&&t===this.ownerID,g=h?l:$t(l);return d?u?p===f-1?g.pop():g[p]=g.pop():g[p]=[r,o]:g.push([r,o]),h?(this.entries=g,this):new He(t,this.keyHash,g)};var qe=function(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n};qe.prototype.get=function(t,e,n,r){return dt(n,this.entry[0])?this.entry[1]:r},qe.prototype.update=function(t,e,n,r,o,i,a){var u=o===s,l=dt(r,this.entry[0]);return(l?o===this.entry[1]:u)?this:(c(a),u?void c(i):l?t&&t===this.ownerID?(this.entry[1]=o,this):new qe(t,this.keyHash,[r,o]):(c(i),tn(this,t,e,mt(r),[r,o])))},Ue.prototype.iterate=He.prototype.iterate=function(t,e){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===t(n[e?o-r:r]))return!1},Fe.prototype.iterate=Ke.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[e?o-r:r];if(i&&!1===i.iterate(t,e))return!1}},qe.prototype.iterate=function(t,e){return t(this.entry)};var Ye,We=function(t){function e(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Ze(t._root)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n=e.node,r=e.index++,o=void 0;if(n.entry){if(0===r)return Qe(t,n.entry)}else if(n.entries){if(r<=(o=n.entries.length-1))return Qe(t,n.entries[this._reverse?o-r:r])}else if(r<=(o=n.nodes.length-1)){var i=n.nodes[this._reverse?o-r:r];if(i){if(i.entry)return Qe(t,i.entry);e=this._stack=Ze(i,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}},e}(K);function Qe(t,e){return H(t,e[0],e[1])}function Ze(t,e){return{node:t,index:0,__prev:e}}function Ve(t,e,n,r){var o=Object.create(Be);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Ge(){return Ye||(Ye=Ve(0))}function Je(t,e,n){var r,o;if(t._root){var i={value:!1},a={value:!1};if(r=Xe(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===s?-1:1:0)}else{if(n===s)return t;o=1,r=new Ue(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?Ve(o,r):Ge()}function Xe(t,e,n,r,o,i,a,u){return t?t.update(e,n,r,o,i,a,u):i===s?t:(c(u),c(a),new qe(e,r,[o,i]))}function $e(t){return t.constructor===qe||t.constructor===He}function tn(t,e,n,r,i){if(t.keyHash===r)return new He(e,r,[t.entry,i]);var s,c=(0===n?t.keyHash:t.keyHash>>>n)&a,u=(0===n?r:r>>>n)&a,l=c===u?[tn(t,e,n+o,r,i)]:(s=new qe(e,r,i),c<u?[t,s]:[s,t]);return new Fe(e,1<<c|1<<u,l)}function en(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,127&(t+=t>>8)+(t>>16)}function nn(t,e,n,r){var o=r?t:$t(t);return o[e]=n,o}var rn=i/4,on=i/2,an=i/4,sn="@@__IMMUTABLE_LIST__@@";function cn(t){return Boolean(t&&t[sn])}var un=function(t){function e(e){var n=yn();if(null==e)return n;if(cn(e))return e;var r=t(e),a=r.size;return 0===a?n:(ee(a),a>0&&a<i?gn(0,a,o,null,new pn(r.toArray())):n.withMutations((function(t){t.setSize(a),r.forEach((function(e,n){return t.set(n,e)}))})))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("List [","]")},e.prototype.get=function(t,e){if((t=p(this,t))>=0&&t<this.size){var n=bn(this,t+=this._origin);return n&&n.array[t&a]}return e},e.prototype.set=function(t,e){return function(t,e,n){if((e=p(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations((function(t){e<0?_n(t,e).set(0,n):_n(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,o=t._root,i={value:!1};return e>=Sn(t._capacity)?r=mn(r,t.__ownerID,0,e,n,i):o=mn(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):gn(t._origin,t._capacity,t._level,o,r):t}(this,t,e)},e.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},e.prototype.insert=function(t,e){return this.splice(t,0,e)},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=o,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):yn()},e.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations((function(n){_n(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])}))},e.prototype.pop=function(){return _n(this,0,-1)},e.prototype.unshift=function(){var t=arguments;return this.withMutations((function(e){_n(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])}))},e.prototype.shift=function(){return _n(this,1)},e.prototype.concat=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++){var o=e[r],i=t("string"!=typeof o&&Y(o)?o:[o]);0!==i.size&&n.push(i)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(t){n.forEach((function(e){return e.forEach((function(e){return t.push(e)}))}))})):this.constructor(n[0])},e.prototype.setSize=function(t){return _n(this,0,t)},e.prototype.map=function(t,e){var n=this;return this.withMutations((function(r){for(var o=0;o<n.size;o++)r.set(o,t.call(e,r.get(o),o,n))}))},e.prototype.slice=function(t,e){var n=this.size;return d(t,e,n)?this:_n(this,h(t,n),g(e,n))},e.prototype.__iterator=function(t,e){var n=e?this.size:0,r=hn(this,e);return new K((function(){var o=r();return o===dn?{value:void 0,done:!0}:H(t,e?--n:n++,o)}))},e.prototype.__iterate=function(t,e){for(var n,r=e?this.size:0,o=hn(this,e);(n=o())!==dn&&!1!==t(n,e?--r:r++,this););return r},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?gn(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):0===this.size?yn():(this.__ownerID=t,this.__altered=!1,this)},e}(C);un.isList=cn;var ln=un.prototype;ln[sn]=!0,ln[r]=ln.remove,ln.merge=ln.concat,ln.setIn=ge,ln.deleteIn=ln.removeIn=me,ln.update=be,ln.updateIn=_e,ln.mergeIn=Le,ln.mergeDeepIn=Ne,ln.withMutations=Ae,ln.wasAltered=Re,ln.asImmutable=ze,ln["@@transducer/init"]=ln.asMutable=Te,ln["@@transducer/step"]=function(t,e){return t.push(e)},ln["@@transducer/result"]=function(t){return t.asImmutable()};var pn=function(t,e){this.array=t,this.ownerID=e};pn.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&a;if(r>=this.array.length)return new pn([],t);var i,s=0===r;if(e>0){var c=this.array[r];if((i=c&&c.removeBefore(t,e-o,n))===c&&s)return this}if(s&&!i)return this;var u=vn(this,t);if(!s)for(var l=0;l<r;l++)u.array[l]=void 0;return i&&(u.array[r]=i),u},pn.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,i=n-1>>>e&a;if(i>=this.array.length)return this;if(e>0){var s=this.array[i];if((r=s&&s.removeAfter(t,e-o,n))===s&&i===this.array.length-1)return this}var c=vn(this,t);return c.array.splice(i+1),r&&(c.array[i]=r),c};var fn,dn={};function hn(t,e){var n=t._origin,r=t._capacity,a=Sn(r),s=t._tail;return function t(c,u,l){return 0===u?function(t,o){var c=o===a?s&&s.array:t&&t.array,u=o>n?0:n-o,l=r-o;return l>i&&(l=i),function(){if(u===l)return dn;var t=e?--l:u++;return c&&c[t]}}(c,l):function(a,s,c){var u,l=a&&a.array,p=c>n?0:n-c>>s,f=1+(r-c>>s);return f>i&&(f=i),function(){for(;;){if(u){var n=u();if(n!==dn)return n;u=null}if(p===f)return dn;var r=e?--f:p++;u=t(l&&l[r],s-o,c+(r<<s))}}}(c,u,l)}(t._root,t._level,0)}function gn(t,e,n,r,o,i,a){var s=Object.create(ln);return s.size=e-t,s._origin=t,s._capacity=e,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function yn(){return fn||(fn=gn(0,0,o))}function mn(t,e,n,r,i,s){var u,l=r>>>n&a,p=t&&l<t.array.length;if(!p&&void 0===i)return t;if(n>0){var f=t&&t.array[l],d=mn(f,e,n-o,r,i,s);return d===f?t:((u=vn(t,e)).array[l]=d,u)}return p&&t.array[l]===i?t:(s&&c(s),u=vn(t,e),void 0===i&&l===u.array.length-1?u.array.pop():u.array[l]=i,u)}function vn(t,e){return e&&t&&e===t.ownerID?t:new pn(t?t.array.slice():[],e)}function bn(t,e){if(e>=Sn(t._capacity))return t._tail;if(e<1<<t._level+o){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&a],r-=o;return n}}function _n(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new u,i=t._origin,s=t._capacity,c=i+e,l=void 0===n?s:n<0?s+n:i+n;if(c===i&&l===s)return t;if(c>=l)return t.clear();for(var p=t._level,f=t._root,d=0;c+d<0;)f=new pn(f&&f.array.length?[void 0,f]:[],r),d+=1<<(p+=o);d&&(c+=d,i+=d,l+=d,s+=d);for(var h=Sn(s),g=Sn(l);g>=1<<p+o;)f=new pn(f&&f.array.length?[f]:[],r),p+=o;var y=t._tail,m=g<h?bn(t,l-1):g>h?new pn([],r):y;if(y&&g>h&&c<s&&y.array.length){for(var v=f=vn(f,r),b=p;b>o;b-=o){var _=h>>>b&a;v=v.array[_]=vn(v.array[_],r)}v.array[h>>>o&a]=y}if(l<s&&(m=m&&m.removeAfter(r,0,l)),c>=g)c-=g,l-=g,p=o,f=null,m=m&&m.removeBefore(r,0,c);else if(c>i||g<h){for(d=0;f;){var S=c>>>p&a;if(S!==g>>>p&a)break;S&&(d+=(1<<p)*S),p-=o,f=f.array[S]}f&&c>i&&(f=f.removeBefore(r,p,c-d)),f&&g<h&&(f=f.removeAfter(r,p,g-d)),d&&(c-=d,l-=d)}return t.__ownerID?(t.size=l-c,t._origin=c,t._capacity=l,t._level=p,t._root=f,t._tail=m,t.__hash=void 0,t.__altered=!0,t):gn(c,l,p,f,m)}function Sn(t){return t<i?0:t-1>>>o<<o}var wn,Mn=function(t){function e(t){return null==t?kn():pt(t)?t:kn().withMutations((function(e){var n=x(t);ee(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("OrderedMap {","}")},e.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this.__altered=!0,this):kn()},e.prototype.set=function(t,e){return xn(this,t,e)},e.prototype.remove=function(t){return xn(this,t,s)},e.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate((function(e){return e&&t(e[1],e[0],n)}),e)},e.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},e.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?En(e,n,t,this.__hash):0===this.size?kn():(this.__ownerID=t,this.__altered=!1,this._map=e,this._list=n,this)},e}(Pe);function En(t,e,n,r){var o=Object.create(Mn.prototype);return o.size=t?t.size:0,o._map=t,o._list=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function kn(){return wn||(wn=En(Ge(),yn()))}function xn(t,e,n){var r,o,a=t._map,c=t._list,u=a.get(e),l=void 0!==u;if(n===s){if(!l)return t;c.size>=i&&c.size>=2*a.size?(r=(o=c.filter((function(t,e){return void 0!==t&&u!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(r.__ownerID=o.__ownerID=t.__ownerID)):(r=a.remove(e),o=u===c.size-1?c.pop():c.set(u,void 0))}else if(l){if(n===c.get(u)[1])return t;r=a,o=c.set(u,[e,n])}else r=a.set(e,c.size),o=c.set(c.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=o,t.__hash=void 0,t.__altered=!0,t):En(r,o)}Mn.isOrderedMap=pt,Mn.prototype[A]=!0,Mn.prototype[r]=Mn.prototype.remove;var Cn="@@__IMMUTABLE_STACK__@@";function jn(t){return Boolean(t&&t[Cn])}var On=function(t){function e(t){return null==t?Nn():jn(t)?t:Nn().pushAll(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("Stack [","]")},e.prototype.get=function(t,e){var n=this._head;for(t=p(this,t);n&&t--;)n=n.next;return n?n.value:e},e.prototype.peek=function(){return this._head&&this._head.value},e.prototype.push=function(){var t=arguments;if(0===arguments.length)return this;for(var e=this.size+arguments.length,n=this._head,r=arguments.length-1;r>=0;r--)n={value:t[r],next:n};return this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Ln(e,n)},e.prototype.pushAll=function(e){if(0===(e=t(e)).size)return this;if(0===this.size&&jn(e))return e;ee(e.size);var n=this.size,r=this._head;return e.__iterate((function(t){n++,r={value:t,next:r}}),!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):Ln(n,r)},e.prototype.pop=function(){return this.slice(1)},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Nn()},e.prototype.slice=function(e,n){if(d(e,n,this.size))return this;var r=h(e,this.size);if(g(n,this.size)!==this.size)return t.prototype.slice.call(this,e,n);for(var o=this.size-r,i=this._head;r--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):Ln(o,i)},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Ln(this.size,this._head,t,this.__hash):0===this.size?Nn():(this.__ownerID=t,this.__altered=!1,this)},e.prototype.__iterate=function(t,e){var n=this;if(e)return new et(this.toArray()).__iterate((function(e,r){return t(e,r,n)}),e);for(var r=0,o=this._head;o&&!1!==t(o.value,r++,this);)o=o.next;return r},e.prototype.__iterator=function(t,e){if(e)return new et(this.toArray()).__iterator(t,e);var n=0,r=this._head;return new K((function(){if(r){var e=r.value;return r=r.next,H(t,n++,e)}return{value:void 0,done:!0}}))},e}(C);On.isStack=jn;var Dn,In=On.prototype;function Ln(t,e,n,r){var o=Object.create(In);return o.size=t,o._head=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Nn(){return Dn||(Dn=Ln(0))}In[Cn]=!0,In.shift=In.pop,In.unshift=In.push,In.unshiftAll=In.pushAll,In.withMutations=Ae,In.wasAltered=Re,In.asImmutable=ze,In["@@transducer/init"]=In.asMutable=Te,In["@@transducer/step"]=function(t,e){return t.unshift(e)},In["@@transducer/result"]=function(t){return t.asImmutable()};var An="@@__IMMUTABLE_SET__@@";function Tn(t){return Boolean(t&&t[An])}function zn(t){return Tn(t)&&T(t)}function Rn(t,e){if(t===e)return!0;if(!b(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||S(t)!==S(e)||M(t)!==M(e)||T(t)!==T(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!E(t);if(T(t)){var r=t.entries();return e.every((function(t,e){var o=r.next().value;return o&&dt(o[1],t)&&(n||dt(o[0],e))}))&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var i=t;t=e,e=i}var a=!0,c=e.__iterate((function(e,r){if(n?!t.has(e):o?!dt(e,t.get(r,s)):!dt(t.get(r,s),e))return a=!1,!1}));return a&&t.size===c}function Pn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}function Bn(t){if(!t||"object"!=typeof t)return t;if(!b(t)){if(!ie(t))return t;t=J(t)}if(S(t)){var e={};return t.__iterate((function(t,n){e[n]=Bn(t)})),e}var n=[];return t.__iterate((function(t){n.push(Bn(t))})),n}var Un=function(t){function e(e){return null==e?Yn():Tn(e)&&!T(e)?e:Yn().withMutations((function(n){var r=t(e);ee(r.size),r.forEach((function(t){return n.add(t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(t){return this(x(t).keySeq())},e.intersect=function(t){return(t=k(t).toArray()).length?Kn.intersect.apply(e(t.pop()),t):Yn()},e.union=function(t){return(t=k(t).toArray()).length?Kn.union.apply(e(t.pop()),t):Yn()},e.prototype.toString=function(){return this.__toString("Set {","}")},e.prototype.has=function(t){return this._map.has(t)},e.prototype.add=function(t){return Hn(this,this._map.set(t,t))},e.prototype.remove=function(t){return Hn(this,this._map.remove(t))},e.prototype.clear=function(){return Hn(this,this._map.clear())},e.prototype.map=function(t,e){var n=this,r=!1,o=Hn(this,this._map.mapEntries((function(o){var i=o[1],a=t.call(e,i,i,n);return a!==i&&(r=!0),[a,a]}),e));return r?o:this},e.prototype.union=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return 0===(e=e.filter((function(t){return 0!==t.size}))).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations((function(n){for(var r=0;r<e.length;r++)"string"==typeof e[r]?n.add(e[r]):t(e[r]).forEach((function(t){return n.add(t)}))})):this.constructor(e[0])},e.prototype.intersect=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(0===e.length)return this;e=e.map((function(e){return t(e)}));var r=[];return this.forEach((function(t){e.every((function(e){return e.includes(t)}))||r.push(t)})),this.withMutations((function(t){r.forEach((function(e){t.remove(e)}))}))},e.prototype.subtract=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(0===e.length)return this;e=e.map((function(e){return t(e)}));var r=[];return this.forEach((function(t){e.some((function(e){return e.includes(t)}))&&r.push(t)})),this.withMutations((function(t){r.forEach((function(e){t.remove(e)}))}))},e.prototype.sort=function(t){return lr(Ht(this,t))},e.prototype.sortBy=function(t,e){return lr(Ht(this,e,t))},e.prototype.wasAltered=function(){return this._map.wasAltered()},e.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate((function(e){return t(e,e,n)}),e)},e.prototype.__iterator=function(t,e){return this._map.__iterator(t,e)},e.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):0===this.size?this.__empty():(this.__ownerID=t,this._map=e,this)},e}(j);Un.isSet=Tn;var Fn,Kn=Un.prototype;function Hn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function qn(t,e){var n=Object.create(Kn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Yn(){return Fn||(Fn=qn(Ge()))}Kn[An]=!0,Kn[r]=Kn.remove,Kn.merge=Kn.concat=Kn.union,Kn.withMutations=Ae,Kn.asImmutable=ze,Kn["@@transducer/init"]=Kn.asMutable=Te,Kn["@@transducer/step"]=function(t,e){return t.add(e)},Kn["@@transducer/result"]=function(t){return t.asImmutable()},Kn.__empty=Yn,Kn.__make=qn;var Wn,Qn=function(t){function e(t,n,r){if(!(this instanceof e))return new e(t,n,r);if(te(0!==r,"Cannot step a Range by 0"),t=t||0,void 0===n&&(n=1/0),r=void 0===r?1:Math.abs(r),n<t&&(r=-r),this._start=t,this._end=n,this._step=r,this.size=Math.max(0,Math.ceil((n-t)/r-1)+1),0===this.size){if(Wn)return Wn;Wn=this}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},e.prototype.get=function(t,e){return this.has(t)?this._start+p(this,t)*this._step:e},e.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},e.prototype.slice=function(t,n){return d(t,n,this.size)?this:(t=h(t,this.size),(n=g(n,this.size))<=t?new e(0,0):new e(this.get(t,this._end),this.get(n,this._end),this._step))},e.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},e.prototype.lastIndexOf=function(t){return this.indexOf(t)},e.prototype.__iterate=function(t,e){for(var n=this.size,r=this._step,o=e?this._start+(n-1)*r:this._start,i=0;i!==n&&!1!==t(o,e?n-++i:i++,this);)o+=e?-r:r;return i},e.prototype.__iterator=function(t,e){var n=this.size,r=this._step,o=e?this._start+(n-1)*r:this._start,i=0;return new K((function(){if(i===n)return{value:void 0,done:!0};var a=o;return o+=e?-r:r,H(t,e?n-++i:i++,a)}))},e.prototype.equals=function(t){return t instanceof e?this._start===t._start&&this._end===t._end&&this._step===t._step:Rn(this,t)},e}($);function Zn(t,e,n){for(var r=ne(e),o=0;o!==r.length;)if((t=ce(t,r[o++],s))===s)return n;return t}function Vn(t,e){return Zn(this,t,e)}function Gn(t,e){return Zn(t,e,s)!==s}function Jn(){ee(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t}k.isIterable=b,k.isKeyed=S,k.isIndexed=M,k.isAssociative=E,k.isOrdered=T,k.Iterator=K,Pn(k,{toArray:function(){ee(this.size);var t=new Array(this.size||0),e=S(this),n=0;return this.__iterate((function(r,o){t[n++]=e?[o,r]:r})),t},toIndexedSeq:function(){return new Nt(this)},toJS:function(){return Bn(this)},toKeyedSeq:function(){return new Lt(this,!0)},toMap:function(){return Pe(this.toKeyedSeq())},toObject:Jn,toOrderedMap:function(){return Mn(this.toKeyedSeq())},toOrderedSet:function(){return lr(S(this)?this.valueSeq():this)},toSet:function(){return Un(S(this)?this.valueSeq():this)},toSetSeq:function(){return new At(this)},toSeq:function(){return M(this)?this.toIndexedSeq():S(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return On(S(this)?this.valueSeq():this)},toList:function(){return un(S(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Qt(this,function(t,e){var n=S(t),r=[t].concat(e).map((function(t){return b(t)?n&&(t=x(t)):t=n?at(t):st(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===r.length)return t;if(1===r.length){var o=r[0];if(o===t||n&&S(o)||M(t)&&M(o))return o}var i=new et(r);return n?i=i.toKeyedSeq():M(t)||(i=i.toSetSeq()),(i=i.flatten(!0)).size=r.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),i}(this,t))},includes:function(t){return this.some((function(e){return dt(e,t)}))},entries:function(){return this.__iterator(P)},every:function(t,e){ee(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1})),n},filter:function(t,e){return Qt(this,Bt(this,t,e,!0))},partition:function(t,e){return function(t,e,n){var r=S(t),o=[[],[]];t.__iterate((function(i,a){o[e.call(n,i,a,t)?1:0].push(r?[a,i]:i)}));var i=Vt(t);return o.map((function(e){return Qt(t,i(e))}))}(this,t,e)},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},forEach:function(t,e){return ee(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){ee(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(z)},map:function(t,e){return Qt(this,Rt(this,t,e))},reduce:function(t,e,n){return nr(this,t,e,n,arguments.length<2,!1)},reduceRight:function(t,e,n){return nr(this,t,e,n,arguments.length<2,!0)},reverse:function(){return Qt(this,Pt(this,!0))},slice:function(t,e){return Qt(this,Ut(this,t,e,!0))},some:function(t,e){ee(this.size);var n=!1;return this.__iterate((function(r,o,i){if(t.call(e,r,o,i))return n=!0,!1})),n},sort:function(t){return Qt(this,Ht(this,t))},values:function(){return this.__iterator(R)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return l(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=Pe().asMutable();return t.__iterate((function(o,i){r.update(e.call(n,o,i,t),0,(function(t){return t+1}))})),r.asImmutable()}(this,t,e)},equals:function(t){return Rn(this,t)},entrySeq:function(){var t=this;if(t._cache)return new et(t._cache);var e=t.toSeq().map(or).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(ir(t),e)},findEntry:function(t,e,n){var r=n;return this.__iterate((function(n,o,i){if(t.call(e,n,o,i))return r=[o,n],!1})),r},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(t){return this.find(f,null,t)},flatMap:function(t,e){return Qt(this,function(t,e,n){var r=Vt(t);return t.toSeq().map((function(o,i){return r(e.call(n,o,i,t))})).flatten(!0)}(this,t,e))},flatten:function(t){return Qt(this,Kt(this,t,!0))},fromEntrySeq:function(){return new Tt(this)},get:function(t,e){return this.find((function(e,n){return dt(n,t)}),void 0,e)},getIn:Vn,groupBy:function(t,e){return function(t,e,n){var r=S(t),o=(T(t)?Mn():Pe()).asMutable();t.__iterate((function(i,a){o.update(e.call(n,i,a,t),(function(t){return(t=t||[]).push(r?[a,i]:i),t}))}));var i=Vt(t);return o.map((function(e){return Qt(t,i(e))})).asImmutable()}(this,t,e)},has:function(t){return this.get(t,s)!==s},hasIn:function(t){return Gn(this,t)},isSubset:function(t){return t="function"==typeof t.includes?t:k(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:k(t)).isSubset(this)},keyOf:function(t){return this.findKey((function(e){return dt(e,t)}))},keySeq:function(){return this.toSeq().map(rr).toIndexedSeq()},last:function(t){return this.toSeq().reverse().first(t)},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return qt(this,t)},maxBy:function(t,e){return qt(this,e,t)},min:function(t){return qt(this,t?ar(t):cr)},minBy:function(t,e){return qt(this,e?ar(e):cr,t)},rest:function(){return this.slice(1)},skip:function(t){return 0===t?this:this.slice(Math.max(0,t))},skipLast:function(t){return 0===t?this:this.slice(0,-Math.max(0,t))},skipWhile:function(t,e){return Qt(this,Ft(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(ir(t),e)},sortBy:function(t,e){return Qt(this,Ht(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return this.slice(-Math.max(0,t))},takeWhile:function(t,e){return Qt(this,function(t,e,n){var r=Gt(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate((function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(P,o),s=!0;return new K((function(){if(!s)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var o=t.value,c=o[0],u=o[1];return e.call(n,u,c,i)?r===P?t:H(r,c,u,t):(s=!1,{value:void 0,done:!0})}))},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(ir(t),e)},update:function(t){return t(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=T(t),n=S(t),r=e?1:0;return function(t,e){return e=ht(e,3432918353),e=ht(e<<15|e>>>-15,461845907),e=ht(e<<13|e>>>-13,5),e=ht((e=(e+3864292196|0)^t)^e>>>16,2246822507),e=gt((e=ht(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+ur(mt(t),mt(e))|0}:function(t,e){r=r+ur(mt(t),mt(e))|0}:e?function(t){r=31*r+mt(t)|0}:function(t){r=r+mt(t)|0}),r)}(this))}});var Xn=k.prototype;Xn[v]=!0,Xn[F]=Xn.values,Xn.toJSON=Xn.toArray,Xn.__toStringMapper=ae,Xn.inspect=Xn.toSource=function(){return this.toString()},Xn.chain=Xn.flatMap,Xn.contains=Xn.includes,Pn(x,{flip:function(){return Qt(this,zt(this))},mapEntries:function(t,e){var n=this,r=0;return Qt(this,this.toSeq().map((function(o,i){return t.call(e,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Qt(this,this.toSeq().flip().map((function(r,o){return t.call(e,r,o,n)})).flip())}});var $n=x.prototype;$n[_]=!0,$n[F]=Xn.entries,$n.toJSON=Jn,$n.__toStringMapper=function(t,e){return ae(e)+": "+ae(t)},Pn(C,{toKeyedSeq:function(){return new Lt(this,!1)},filter:function(t,e){return Qt(this,Bt(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Qt(this,Pt(this,!1))},slice:function(t,e){return Qt(this,Ut(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(e||0,0),0===n||2===n&&!e)return this;t=h(t,t<0?this.count():this.size);var r=this.slice(0,t);return Qt(this,1===n?r:r.concat($t(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(t){return this.get(0,t)},flatten:function(t){return Qt(this,Kt(this,t,!1))},get:function(t,e){return(t=p(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=p(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Qt(this,function(t,e){var n=Gt(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return t.__iterate((function(t){return(!i||!1!==n(e,i++,o))&&!1!==n(t,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=t.__iterator(R,r),a=0;return new K((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?H(n,a++,e):H(n,a++,o.value,o)}))},n}(this,t))},interleave:function(){var t=[this].concat($t(arguments)),e=Wt(this.toSeq(),$.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Qt(this,n)},keySeq:function(){return Qn(0,this.size)},last:function(t){return this.get(-1,t)},skipWhile:function(t,e){return Qt(this,Ft(this,t,e,!1))},zip:function(){return Qt(this,Wt(this,sr,[this].concat($t(arguments))))},zipAll:function(){return Qt(this,Wt(this,sr,[this].concat($t(arguments)),!0))},zipWith:function(t){var e=$t(arguments);return e[0]=this,Qt(this,Wt(this,t,e))}});var tr=C.prototype;tr[w]=!0,tr[A]=!0,Pn(j,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}});var er=j.prototype;function nr(t,e,n,r,o,i){return ee(t.size),t.__iterate((function(t,i,a){o?(o=!1,n=t):n=e.call(r,n,t,i,a)}),i),n}function rr(t,e){return e}function or(t,e){return[e,t]}function ir(t){return function(){return!t.apply(this,arguments)}}function ar(t){return function(){return-t.apply(this,arguments)}}function sr(){return $t(arguments)}function cr(t,e){return t<e?1:t>e?-1:0}function ur(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}er.has=Xn.includes,er.contains=er.includes,er.keys=er.values,Pn(X,$n),Pn($,tr),Pn(tt,er);var lr=function(t){function e(t){return null==t?hr():zn(t)?t:hr().withMutations((function(e){var n=j(t);ee(n.size),n.forEach((function(t){return e.add(t)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(t){return this(x(t).keySeq())},e.prototype.toString=function(){return this.__toString("OrderedSet {","}")},e}(Un);lr.isOrderedSet=zn;var pr,fr=lr.prototype;function dr(t,e){var n=Object.create(fr);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function hr(){return pr||(pr=dr(kn()))}fr[A]=!0,fr.zip=tr.zip,fr.zipWith=tr.zipWith,fr.zipAll=tr.zipAll,fr.__empty=hr,fr.__make=dr;var gr={LeftThenRight:-1,RightThenLeft:1},yr=function(t,e){var n;!function(t){if(L(t))throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if(N(t))throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(null===t||"object"!=typeof t)throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}(t);var r=function(i){var a=this;if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var s=Object.keys(t),c=o._indices={};o._name=e,o._keys=s,o._defaultValues=t;for(var u=0;u<s.length;u++){var l=s[u];c[l]=u,o[l]?"object"==typeof console&&console.warn&&console.warn("Cannot define "+br(this)+' with property "'+l+'" since that property name is part of the Record API.'):Sr(o,l)}}return this.__ownerID=void 0,this._values=un().withMutations((function(t){t.setSize(a._keys.length),x(i).forEach((function(e,n){t.set(a._indices[n],e===a._defaultValues[n]?void 0:e)}))})),this},o=r.prototype=Object.create(mr);return o.constructor=r,e&&(r.displayName=e),r};yr.prototype.toString=function(){for(var t,e=br(this)+" { ",n=this._keys,r=0,o=n.length;r!==o;r++)e+=(r?", ":"")+(t=n[r])+": "+ae(this.get(t));return e+" }"},yr.prototype.equals=function(t){return this===t||L(t)&&_r(this).equals(_r(t))},yr.prototype.hashCode=function(){return _r(this).hashCode()},yr.prototype.has=function(t){return this._indices.hasOwnProperty(t)},yr.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._indices[t],r=this._values.get(n);return void 0===r?this._defaultValues[t]:r},yr.prototype.set=function(t,e){if(this.has(t)){var n=this._values.set(this._indices[t],e===this._defaultValues[t]?void 0:e);if(n!==this._values&&!this.__ownerID)return vr(this,n)}return this},yr.prototype.remove=function(t){return this.set(t)},yr.prototype.clear=function(){var t=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:vr(this,t)},yr.prototype.wasAltered=function(){return this._values.wasAltered()},yr.prototype.toSeq=function(){return _r(this)},yr.prototype.toJS=function(){return Bn(this)},yr.prototype.entries=function(){return this.__iterator(P)},yr.prototype.__iterator=function(t,e){return _r(this).__iterator(t,e)},yr.prototype.__iterate=function(t,e){return _r(this).__iterate(t,e)},yr.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._values.__ensureOwner(t);return t?vr(this,e,t):(this.__ownerID=t,this._values=e,this)},yr.isRecord=L,yr.getDescriptiveName=br;var mr=yr.prototype;function vr(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._values=e,r.__ownerID=n,r}function br(t){return t.constructor.displayName||t.constructor.name||"Record"}function _r(t){return at(t._keys.map((function(e){return[e,t.get(e)]})))}function Sr(t,e){try{Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){te(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}catch(t){}}mr[I]=!0,mr[r]=mr.remove,mr.deleteIn=mr.removeIn=me,mr.getIn=Vn,mr.hasIn=Xn.hasIn,mr.merge=Se,mr.mergeWith=we,mr.mergeIn=Le,mr.mergeDeep=De,mr.mergeDeepWith=Ie,mr.mergeDeepIn=Ne,mr.setIn=ge,mr.update=be,mr.updateIn=_e,mr.withMutations=Ae,mr.asMutable=Te,mr.asImmutable=ze,mr[F]=mr.entries,mr.toJSON=mr.toObject=Xn.toObject,mr.inspect=mr.toSource=function(){return this.toString()};var wr,Mr=function(t){function e(t,n){if(!(this instanceof e))return new e(t,n);if(this._value=t,this.size=void 0===n?1/0:Math.max(0,n),0===this.size){if(wr)return wr;wr=this}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},e.prototype.get=function(t,e){return this.has(t)?this._value:e},e.prototype.includes=function(t){return dt(this._value,t)},e.prototype.slice=function(t,n){var r=this.size;return d(t,n,r)?this:new e(this._value,g(n,r)-h(t,r))},e.prototype.reverse=function(){return this},e.prototype.indexOf=function(t){return dt(this._value,t)?0:-1},e.prototype.lastIndexOf=function(t){return dt(this._value,t)?this.size:-1},e.prototype.__iterate=function(t,e){for(var n=this.size,r=0;r!==n&&!1!==t(this._value,e?n-++r:r++,this););return r},e.prototype.__iterator=function(t,e){var n=this,r=this.size,o=0;return new K((function(){return o===r?{value:void 0,done:!0}:H(t,e?r-++o:o++,n._value)}))},e.prototype.equals=function(t){return t instanceof e?dt(this._value,t._value):Rn(t)},e}($);function Er(t,e){return kr([],e||xr,t,"",e&&e.length>2?[]:void 0,{"":t})}function kr(t,e,n,r,o,i){if("string"!=typeof n&&!N(n)&&(G(n)||Y(n)||oe(n))){if(~t.indexOf(n))throw new TypeError("Cannot convert circular structure to Immutable");t.push(n),o&&""!==r&&o.push(r);var a=e.call(i,r,J(n).map((function(r,i){return kr(t,e,r,i,o,n)})),o&&o.slice());return t.pop(),o&&o.pop(),a}return n}function xr(t,e){return M(e)?e.toList():S(e)?e.toMap():e.toSet()}var Cr="4.3.4",jr=k;const Or={version:Cr,Collection:k,Iterable:k,Seq:J,Map:Pe,OrderedMap:Mn,List:un,Stack:On,Set:Un,OrderedSet:lr,PairSorting:gr,Record:yr,Range:Qn,Repeat:Mr,is:dt,fromJS:Er,hash:mt,isImmutable:N,isCollection:b,isKeyed:S,isIndexed:M,isAssociative:E,isOrdered:T,isValueObject:ft,isPlainObject:oe,isSeq:D,isList:cn,isMap:lt,isOrderedMap:pt,isStack:jn,isSet:Tn,isOrderedSet:zn,isRecord:L,get:ce,getIn:Zn,has:se,hasIn:Gn,merge:Ee,mergeDeep:xe,mergeWith:ke,mergeDeepWith:Ce,remove:le,removeIn:ye,set:pe,setIn:he,update:ve,updateIn:fe}},54516:t=>{"use strict";var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,o){for(var i,a,s=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),c=1;c<arguments.length;c++){for(var u in i=Object(arguments[c]))n.call(i,u)&&(s[u]=i[u]);if(e){a=e(i);for(var l=0;l<a.length;l++)r.call(i,a[l])&&(s[a[l]]=i[a[l]])}}return s}},10671:(t,e,n)=>{window,t.exports=function(t,e,n){return i={},r.m=o=[function(t,e,n){t.exports=n(9)()},function(e,n){e.exports=t},function(t,e,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"==i||"number"==i)t.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&t.push(a)}else if("object"==i)for(var s in r)n.call(r,s)&&r[s]&&t.push(s)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},function(t,n){t.exports=e},function(t,e,n){function r(t){if(s[t])return s[t].exports;var e=s[t]={i:t,l:!1,exports:{}};return a[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var o,i,a,s;window,t.exports=(o=n(3),i=n(5),s={},r.m=a=[function(t,e){t.exports=o},function(t,e){t.exports=i},function(t,e,n){t.exports=n(3)},function(t,e,n){"use strict";n.r(e);var r=n(0),o=n(1);function i(t){var e=t.getSelection(),n=t.getCurrentContent(),r=e.getStartKey(),o=e.getEndKey(),i=n.getBlockMap();return i.toSeq().skipUntil((function(t,e){return e===r})).takeUntil((function(t,e){return e===o})).concat([[o,i.get(o)]])}function a(t){return i(t).toList()}function s(t){if(t)return a(t).get(0)}function c(t){if(t){var e=s(t),n=t.getCurrentContent().getBlockMap().toSeq().toList(),r=0;if(n.forEach((function(t,n){t.get("key")===e.get("key")&&(r=n-1)})),-1<r)return n.get(r)}}function u(t){return t?t.getCurrentContent().getBlockMap().toList():new o.List}function l(t){var e=a(t);if(!e.some((function(t){return t.type!==e.get(0).type})))return e.get(0).type}function p(t){var e=r.RichUtils.tryToRemoveBlockStyle(t);return e?r.EditorState.push(t,e,"change-block-type"):t}function f(t){var e="",n=t.getSelection(),r=n.getAnchorOffset(),o=n.getFocusOffset(),i=a(t);if(0<i.size){if(n.getIsBackward()){var s=r;r=o,o=s}for(var c=0;c<i.size;c+=1){var u=0===c?r:0,l=c===i.size-1?o:i.get(c).getText().length;e+=i.get(c).getText().slice(u,l)}}return e}function d(t){var e=t.getCurrentContent(),n=t.getSelection(),o=r.Modifier.removeRange(e,n,"forward"),i=o.getSelectionAfter(),a=o.getBlockForKey(i.getStartKey());return o=r.Modifier.insertText(o,i,"\n",a.getInlineStyleAt(i.getStartOffset()),null),r.EditorState.push(t,o,"insert-fragment")}function h(t){var e=r.Modifier.splitBlock(t.getCurrentContent(),t.getSelection());return p(r.EditorState.push(t,e,"split-block"))}function g(t){var e=t.getCurrentContent().getBlockMap().toList(),n=t.getSelection().merge({anchorKey:e.first().get("key"),anchorOffset:0,focusKey:e.last().get("key"),focusOffset:e.last().getLength()}),o=r.Modifier.removeRange(t.getCurrentContent(),n,"forward");return r.EditorState.push(t,o,"remove-range")}function y(t,e){var n=r.Modifier.setBlockData(t.getCurrentContent(),t.getSelection(),e);return r.EditorState.push(t,n,"change-block-data")}function m(t){var e=new o.Map({}),n=a(t);if(n&&0<n.size)for(var r=function(t){var r=n.get(t).getData();if(!r||0===r.size)return e=e.clear(),"break";if(0===t)e=r;else if(e.forEach((function(t,n){r.get(n)&&r.get(n)===t||(e=e.delete(n))})),0===e.size)return e=e.clear(),"break"},i=0;i<n.size&&"break"!==r(i);i+=1);return e}var v=Object(o.Map)({code:{element:"pre"}}),b=r.DefaultDraftBlockRenderMap.merge(v);function _(t){if(t){var e=t.getType();return"unordered-list-item"===e||"ordered-list-item"===e}return!1}function S(t,e,n){var o,a=t.getSelection();o=a.getIsBackward()?a.getFocusKey():a.getAnchorKey();var s=t.getCurrentContent(),c=s.getBlockForKey(o),u=c.getType();if("unordered-list-item"!==u&&"ordered-list-item"!==u)return t;var l=s.getBlockBefore(o);if(!l)return t;if(l.getType()!==u)return t;var p=c.getDepth();if(1===e&&p===n)return t;var f,d,h,g,y,m,v,b=Math.min(l.getDepth()+1,n),_=(d=e,h=b,g=(f=t).getSelection(),m=(y=f.getCurrentContent()).getBlockMap(),v=i(f).map((function(t){var e=t.getDepth()+d;return e=Math.max(0,Math.min(e,h)),t.set("depth",e)})),m=m.merge(v),y.merge({blockMap:m,selectionBefore:g,selectionAfter:g}));return r.EditorState.push(t,_,"adjust-depth")}function w(t,e){var n;return 13===(n=e).which&&(n.getModifierState("Shift")||n.getModifierState("Alt")||n.getModifierState("Control"))?t.getSelection().isCollapsed()?r.RichUtils.insertSoftNewline(t):d(t):function(t){var e=t.getSelection();if(e.isCollapsed()){var n=t.getCurrentContent(),r=e.getStartKey(),o=n.getBlockForKey(r);if(!_(o)&&"unstyled"!==o.getType()&&o.getLength()===e.getStartOffset())return h(t);if(_(o)&&0===o.getLength()){var i=o.getDepth();if(0===i)return p(t);if(0<i)return S(t,-1,i)}}}(t)}function M(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function k(t){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function x(t){var e=t.getSelection();if(e.isCollapsed()){var n={},r=t.getCurrentInlineStyle().toList().toJS();if(r)return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(t){n[t]=0<=r.indexOf(t)})),n}var o=e.getStartOffset(),i=e.getEndOffset(),s=a(t);if(0<s.size){var c=function(){for(var t={BOLD:!0,ITALIC:!0,UNDERLINE:!0,STRIKETHROUGH:!0,CODE:!0,SUPERSCRIPT:!0,SUBSCRIPT:!0},e=0;e<s.size;e+=1){var n=0===e?o:0,r=e===s.size-1?i:s.get(e).getText().length;n===r&&0===n?(n=1,r=2):n===r&&--n;for(var a=function(n){var r=s.get(e).getInlineStyleAt(n);["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","CODE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(e){t[e]=t[e]&&r.get(e)===e}))},c=n;c<r;c+=1)a(c)}return{v:t}}();if("object"===k(c))return c.v}return{}}function C(t){var e,n=t.getSelection(),r=n.getStartOffset(),o=n.getEndOffset();r===o&&0===r?o=1:r===o&&--r;for(var i=s(t),a=r;a<o;a+=1){var c=i.getEntityAt(a);if(!c){e=void 0;break}if(a===r)e=c;else if(e!==c){e=void 0;break}}return e}function j(t,e){var n,r=s(t);return r.findEntityRanges((function(t){return t.get("entity")===e}),(function(t,e){n={start:t,end:e,text:r.get("text").slice(t,e)}})),n}function O(t,e,n){I[t]["".concat(t.toLowerCase(),"-").concat(n)]=E({},"".concat(e),n)}function D(){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?M(Object(n),!0).forEach((function(e){E(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},I.color,{},I.bgcolor,{},I.fontSize,{},I.fontFamily,{CODE:I.CODE,SUPERSCRIPT:I.SUPERSCRIPT,SUBSCRIPT:I.SUBSCRIPT})}var I={color:{},bgcolor:{},fontSize:{},fontFamily:{},CODE:{fontFamily:"monospace",wordWrap:"break-word",background:"#f1f1f1",borderRadius:3,padding:"1px 3px"},SUPERSCRIPT:{fontSize:11,position:"relative",top:-8,display:"inline-flex"},SUBSCRIPT:{fontSize:11,position:"relative",bottom:-8,display:"inline-flex"}};function L(t,e,n){var o=t.getSelection(),i=Object.keys(I[e]).reduce((function(t,e){return r.Modifier.removeInlineStyle(t,o,e)}),t.getCurrentContent()),a=r.EditorState.push(t,i,"changeinline-style"),s=t.getCurrentInlineStyle();if(o.isCollapsed()&&(a=s.reduce((function(t,e){return r.RichUtils.toggleInlineStyle(t,e)}),a)),"SUPERSCRIPT"===e||"SUBSCRIPT"==e)s.has(n)||(a=r.RichUtils.toggleInlineStyle(a,n));else{var c="bgcolor"===e?"backgroundColor":e;s.has("".concat(c,"-").concat(n))||(a=r.RichUtils.toggleInlineStyle(a,"".concat(e.toLowerCase(),"-").concat(n)),O(e,c,n))}return a}function N(t){t&&t.getCurrentContent().getBlockMap().map((function(t){return t.get("characterList")})).toList().flatten().forEach((function(t){t&&0===t.indexOf("color-")?O("color","color",t.substr(6)):t&&0===t.indexOf("bgcolor-")?O("bgcolor","backgroundColor",t.substr(8)):t&&0===t.indexOf("fontsize-")?O("fontSize","fontSize",+t.substr(9)):t&&0===t.indexOf("fontfamily-")&&O("fontFamily","fontFamily",t.substr(11))}))}function A(t,e,n){var r=t.getInlineStyleAt(n).toList().filter((function(t){return t.startsWith(e.toLowerCase())}));if(r&&0<r.size)return r.get(0)}function T(t,e){if(t&&e&&0<e.length){var n=function(){var n=t.getSelection(),r={};if(n.isCollapsed())return e.forEach((function(e){r[e]=function(t,e){var n=t.getCurrentInlineStyle().toList().filter((function(t){return t.startsWith(e.toLowerCase())}));if(n&&0<n.size)return n.get(0)}(t,e)})),{v:r};var o=n.getStartOffset(),i=n.getEndOffset(),s=a(t);if(0<s.size){for(var c=function(t){var n=0===t?o:0,a=t===s.size-1?i:s.get(t).getText().length;n===a&&0===n?(n=1,a=2):n===a&&--n;for(var c=function(o){o===n?e.forEach((function(e){r[e]=A(s.get(t),e,o)})):e.forEach((function(e){r[e]&&r[e]!==A(s.get(t),e,o)&&(r[e]=void 0)}))},u=n;u<a;u+=1)c(u)},u=0;u<s.size;u+=1)c(u);return{v:r}}}();if("object"===k(n))return n.v}return{}}function z(t){var e=t.getCurrentInlineStyle(),n=t.getCurrentContent();return e.forEach((function(e){n=r.Modifier.removeInlineStyle(n,t.getSelection(),e)})),r.EditorState.push(t,n,"change-inline-style")}n.d(e,"isListBlock",(function(){return _})),n.d(e,"changeDepth",(function(){return S})),n.d(e,"handleNewLine",(function(){return w})),n.d(e,"getEntityRange",(function(){return j})),n.d(e,"getCustomStyleMap",(function(){return D})),n.d(e,"toggleCustomInlineStyle",(function(){return L})),n.d(e,"getSelectionEntity",(function(){return C})),n.d(e,"extractInlineStyle",(function(){return N})),n.d(e,"removeAllInlineStyles",(function(){return z})),n.d(e,"getSelectionInlineStyle",(function(){return x})),n.d(e,"getSelectionCustomInlineStyle",(function(){return T})),n.d(e,"getSelectedBlocksMap",(function(){return i})),n.d(e,"getSelectedBlocksList",(function(){return a})),n.d(e,"getSelectedBlock",(function(){return s})),n.d(e,"getBlockBeforeSelectedBlock",(function(){return c})),n.d(e,"getAllBlocks",(function(){return u})),n.d(e,"getSelectedBlocksType",(function(){return l})),n.d(e,"removeSelectedBlocksStyle",(function(){return p})),n.d(e,"getSelectionText",(function(){return f})),n.d(e,"addLineBreakRemovingSelection",(function(){return d})),n.d(e,"insertNewUnstyledBlock",(function(){return h})),n.d(e,"clearEditorContent",(function(){return g})),n.d(e,"setBlockData",(function(){return y})),n.d(e,"getSelectedBlocksMetadata",(function(){return m})),n.d(e,"blockRenderMap",(function(){return b}))}],r.c=s,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=2))},function(t,e){t.exports=n},function(t,e,n){function r(t){if(s[t])return s[t].exports;var e=s[t]={i:t,l:!1,exports:{}};return a[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var o,i,a,s;window,t.exports=(o=n(5),i=n(3),s={},r.m=a=[function(t,e){t.exports=o},function(t,e){t.exports=i},function(t,e,n){t.exports=n(3)},function(t,e,n){"use strict";n.r(e);var r=n(1),o=n(0),i=function(t,e,n){var r,i=t.textContent;return""===i.trim()?{chunk:(r=n,{text:" ",inlines:[new o.OrderedSet],entities:[r],blocks:[]})}:{chunk:{text:i,inlines:Array(i.length).fill(e),entities:Array(i.length).fill(n),blocks:[]}}},a=function(){return{text:"\n",inlines:[new o.OrderedSet],entities:new Array(1),blocks:[]}},s=function(t,e){return{text:"",inlines:[],entities:[],blocks:[{type:t,depth:0,data:e||new o.Map({})}]}},c=function(t,e,n){return{text:"\r",inlines:[],entities:[],blocks:[{type:t,depth:Math.max(0,Math.min(4,e)),data:n||new o.Map({})}]}},u=function(t){return{text:"\r ",inlines:[new o.OrderedSet],entities:[t],blocks:[{type:"atomic",depth:0,data:new o.Map({})}]}},l=function(t,e){return{text:t.text+e.text,inlines:t.inlines.concat(e.inlines),entities:t.entities.concat(e.entities),blocks:t.blocks.concat(e.blocks)}},p=new o.Map({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},"unordered-list-item":{element:"li",wrapper:"ul"},"ordered-list-item":{element:"li",wrapper:"ol"},blockquote:{element:"blockquote"},code:{element:"pre"},atomic:{element:"figure"},unstyled:{element:"p",aliasedElements:["div"]}}),f={code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",strong:"BOLD",ins:"UNDERLINE",sub:"SUBSCRIPT",sup:"SUPERSCRIPT"};function d(t){return t.style.textAlign?new o.Map({"text-align":t.style.textAlign}):t.style.marginLeft?new o.Map({"margin-left":t.style.marginLeft}):void 0}var h=function(t){var e=void 0;if(t instanceof HTMLAnchorElement){var n={};e=t.dataset&&void 0!==t.dataset.mention?(n.url=t.href,n.text=t.innerHTML,n.value=t.dataset.value,r.Entity.__create("MENTION","IMMUTABLE",n)):(n.url=t.getAttribute&&t.getAttribute("href")||t.href,n.title=t.innerHTML,n.targetOption=t.target,r.Entity.__create("LINK","MUTABLE",n))}return e};n.d(e,"default",(function(){return v}));var g=" ",y=new RegExp(" ","g"),m=!0;function v(t,e){var n,v,b=(n=e,(v=function(t){var e,n=null;return document.implementation&&document.implementation.createHTMLDocument&&((e=document.implementation.createHTMLDocument("foo")).documentElement.innerHTML=t,n=e.getElementsByTagName("body")[0]),n}(t.trim().replace(y,g)))?(m=!0,{chunk:function t(e,n,o,g,y,v){var b=e.nodeName.toLowerCase();if(v){var _=v(b,e);if(_){var S=r.Entity.__create(_.type,_.mutability,_.data||{});return{chunk:u(S)}}}if("#text"===b&&"\n"!==e.textContent)return i(e,n,y);if("br"===b)return{chunk:a()};if("img"===b&&e instanceof HTMLImageElement){var w={};w.src=e.getAttribute&&e.getAttribute("src")||e.src,w.alt=e.alt,w.height=e.style.height,w.width=e.style.width,e.style.float&&(w.alignment=e.style.float);var M=r.Entity.__create("IMAGE","MUTABLE",w);return{chunk:u(M)}}if("video"===b&&e instanceof HTMLVideoElement){var E={};E.src=e.getAttribute&&e.getAttribute("src")||e.src,E.alt=e.alt,E.height=e.style.height,E.width=e.style.width,e.style.float&&(E.alignment=e.style.float);var k=r.Entity.__create("VIDEO","MUTABLE",E);return{chunk:u(k)}}if("iframe"===b&&e instanceof HTMLIFrameElement){var x={};x.src=e.getAttribute&&e.getAttribute("src")||e.src,x.height=e.height,x.width=e.width;var C=r.Entity.__create("EMBEDDED_LINK","MUTABLE",x);return{chunk:u(C)}}var j,O=function(t,e){var n=p.filter((function(n){return n.element===t&&(!n.wrapper||n.wrapper===e)||n.wrapper===t||n.aliasedElements&&-1<n.aliasedElements.indexOf(t)})).keySeq().toSet().toArray();if(1===n.length)return n[0]}(b,g);O&&("ul"===b||"ol"===b?(g=b,o+=1):("unordered-list-item"!==O&&"ordered-list-item"!==O&&(g="",o=-1),m?(j=s(O,d(e)),m=!1):j=c(O,o,d(e)))),j=j||{text:"",inlines:[],entities:[],blocks:[]},n=function(t,e,n){var r,o=f[t];if(o)r=n.add(o).toOrderedSet();else if(e instanceof HTMLElement){var i=e;r=(r=n).withMutations((function(t){var e=i.style.color,n=i.style.backgroundColor,r=i.style.fontSize,o=i.style.fontFamily.replace(/^"|"$/g,""),a=i.style.fontWeight,s=i.style.textDecoration,c=i.style.fontStyle;e&&t.add("color-".concat(e.replace(/ /g,""))),n&&t.add("bgcolor-".concat(n.replace(/ /g,""))),r&&t.add("fontsize-".concat(r.replace(/px$/g,""))),o&&t.add("fontfamily-".concat(o)),"bold"===a&&t.add(f.strong),"underline"===s&&t.add(f.ins),"italic"===c&&t.add(f.em)})).toOrderedSet()}return r}(b,e,n);for(var D=e.firstChild;D;){var I=t(D,n,o,g,h(D)||y,v).chunk;j=l(j,I),D=D.nextSibling}return{chunk:j}}(v,new o.OrderedSet,-1,"",void 0,n).chunk}):null);if(b){var _=b.chunk,S=new o.OrderedMap({});_.entities&&_.entities.forEach((function(t){t&&(S=S.set(t,r.Entity.__get(t)))}));var w=0;return{contentBlocks:_.text.split("\r").map((function(t,e){var n=w+t.length,i=_&&_.inlines.slice(w,n),a=_&&_.entities.slice(w,n),s=new o.List(i.map((function(t,e){var n={style:t,entity:null};return a[e]&&(n.entity=a[e]),r.CharacterMetadata.create(n)})));return w=n,new r.ContentBlock({key:Object(r.genKey)(),type:_&&_.blocks[e]&&_.blocks[e].type||"unstyled",depth:_&&_.blocks[e]&&_.blocks[e].depth,data:_&&_.blocks[e]&&_.blocks[e].data||new o.Map({}),text:t,characterList:s})})),entityMap:S}}return null}}],r.c=s,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=2))},function(t,e,n){"use strict";function r(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){e&&Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t}function o(t){return Object.prototype.toString.call(t)}function i(t){return"[object Function]"===o(t)}function a(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},c={"http:":{validate:function(t,e,n){var r=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var r=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?3<=e&&":"===t[e-3]||3<=e&&"/"===t[e-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},u="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",l="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function p(t){var e=t.re=n(21)(t.__opts__),r=t.__tlds__.slice();function s(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||r.push(u),r.push(e.src_xn),e.src_tlds=r.join("|"),e.email_fuzzy=RegExp(s(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(s(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(s(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(s(e.tpl_host_fuzzy_test),"i");var c=[];function l(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach((function(e){var n=t.__schemas__[e];if(null!==n){var r,a={validate:null,link:null};if(t.__compiled__[e]=a,"[object Object]"===o(n))return"[object RegExp]"===o(n.validate)?a.validate=(r=n.validate,function(t,e){var n=t.slice(e);return r.test(n)?n.match(r)[0].length:0}):i(n.validate)?a.validate=n.validate:l(e,n),void(i(n.normalize)?a.normalize=n.normalize:n.normalize?l(e,n):a.normalize=function(t,e){e.normalize(t)});"[object String]"!==o(n)?l(e,n):c.push(e)}})),c.forEach((function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)})),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};var p,f=Object.keys(t.__compiled__).filter((function(e){return 0<e.length&&t.__compiled__[e]})).map(a).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+f+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+f+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),(p=t).__index__=-1,p.__text_cache__=""}function f(t,e){var n=t.__index__,r=t.__last_index__,o=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=o,this.text=o,this.url=o}function d(t,e){var n=new f(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function h(t,e){if(!(this instanceof h))return new h(t,e);var n;e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||s.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=r({},s,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},c,t),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},p(this)}h.prototype.add=function(t,e){return this.__schemas__[t]=e,p(this),this},h.prototype.set=function(t){return this.__opts__=r(this.__opts__,t),this},h.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var e,n,r,o,i,a,s,c;if(this.re.schema_test.test(t))for((s=this.re.schema_search).lastIndex=0;null!==(e=s.exec(t));)if(o=this.testSchemaAt(t,e[2],s.lastIndex)){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&0<=(c=t.search(this.re.host_fuzzy_test))&&(this.__index__<0||c<this.__index__)&&null!==(n=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&0<=t.indexOf("@")&&null!==(r=t.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),0<=this.__index__},h.prototype.pretest=function(t){return this.re.pretest.test(t)},h.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},h.prototype.match=function(t){var e=0,n=[];0<=this.__index__&&this.__text_cache__===t&&(n.push(d(this,e)),e=this.__last_index__);for(var r=e?t.slice(e):t;this.test(r);)n.push(d(this,e)),r=r.slice(this.__last_index__),e+=this.__last_index__;return n.length?n:null},h.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,e,n){return t!==n[e-1]})).reverse():(this.__tlds__=t.slice(),this.__tlds_replaced__=!0),p(this),this},h.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},h.prototype.onCompile=function(){},t.exports=h},function(t,e,n){t.exports=n(40)},function(t,e,n){"use strict";var r=n(10);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}var n={array:t.isRequired=t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";t.exports=function(t){var e={};e.src_Any=n(22).source,e.src_Cc=n(23).source,e.src_Z=n(24).source,e.src_P=n(25).source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");return e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+e.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+e.src_ZCc+").|\\!(?!"+e.src_ZCc+"|[!]).|\\?(?!"+e.src_ZCc+"|[?]).)+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}},function(t,e){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(t,e){t.exports=/[\0-\x1F\x7F-\x9F]/},function(t,e){t.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},function(t,e){t.exports=/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E44\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";n.r(e);var r=n(1),o=n.n(r),i=n(0),a=n.n(i),s=n(3),c=n(4),u=n(2),l=n.n(u);function p(){var t=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p),this.callBacks=[],this.suggestionCallback=void 0,this.editorFlag=!1,this.suggestionFlag=!1,this.closeAllModals=function(e){t.callBacks.forEach((function(t){t(e)}))},this.init=function(e){var n=document.getElementById(e);n&&n.addEventListener("click",(function(){t.editorFlag=!0})),document&&(document.addEventListener("click",(function(){t.editorFlag?t.editorFlag=!1:(t.closeAllModals(),t.suggestionCallback&&t.suggestionCallback())})),document.addEventListener("keydown",(function(e){"Escape"===e.key&&t.closeAllModals()})))},this.onEditorClick=function(){t.closeModals(),!t.suggestionFlag&&t.suggestionCallback?t.suggestionCallback():t.suggestionFlag=!1},this.closeModals=function(e){t.closeAllModals(e)},this.registerCallBack=function(e){t.callBacks.push(e)},this.deregisterCallBack=function(e){t.callBacks=t.callBacks.filter((function(t){return t!==e}))},this.setSuggestionCallback=function(e){t.suggestionCallback=e},this.removeSuggestionCallback=function(){t.suggestionCallback=void 0},this.onSuggestionClick=function(){t.suggestionFlag=!0}}function f(){var t=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),this.inputFocused=!1,this.editorMouseDown=!1,this.onEditorMouseDown=function(){t.editorFocused=!0},this.onInputMouseDown=function(){t.inputFocused=!0},this.isEditorBlur=function(e){return"INPUT"!==e.target.tagName&&"LABEL"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName||t.editorFocused?!("INPUT"===e.target.tagName&&"LABEL"===e.target.tagName&&"TEXTAREA"===e.target.tagName||t.inputFocused||(t.editorFocused=!1)):!(t.inputFocused=!1)},this.isEditorFocused=function(){return!t.inputFocused||(t.inputFocused=!1)},this.isToolbarFocused=function(){return!t.editorFocused||(t.editorFocused=!1)},this.isInputFocused=function(){return t.inputFocused}}var d,h=[],g={onKeyDown:function(t){h.forEach((function(e){e(t)}))},registerCallBack:function(t){h.push(t)},deregisterCallBack:function(t){h=h.filter((function(e){return e!==t}))}},y=function(){d=!0},m=function(){d=!1},v=function(){return d};function b(t){var e=t.getData()&&t.getData().get("text-align");return e?"rdw-".concat(e,"-aligned-block"):""}function _(t,e){if(t)for(var n in t)!{}.hasOwnProperty.call(t,n)||e(n,t[n])}function S(t,e){var n=!1;if(t)for(var r in t)if({}.hasOwnProperty.call(t,r)&&e===r){n=!0;break}return n}function w(t){t.stopPropagation()}function M(t){return t[t.options[0]].icon}function E(t,e){if(t&&void 0===e)return t;var n={};return _(t,(function(t,r){var o;o=r,"[object Object]"===Object.prototype.toString.call(o)?n[t]=E(r,e[t]):n[t]=void 0!==e[t]?e[t]:r})),n}var k=n(6),x=n.n(k),C=n(5);function j(t){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function D(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function I(t){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function L(t,e){return(L=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(11);var N=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==j(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=I(t)).call.apply(e,[this].concat(o)))).onClick=function(){var t=n.props,e=t.disabled,r=t.onClick,o=t.value;e||r(o)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&L(t,e)}(t,r.Component),e=t,(n=[{key:"render",value:function(){var t,e=this.props,n=e.children,r=e.className,i=e.activeClassName,a=e.active,s=e.disabled,c=e.title;return o.a.createElement("div",{className:l()("rdw-option-wrapper",r,(O(t={},"rdw-option-active ".concat(i),a),O(t,"rdw-option-disabled",s),t)),onClick:this.onClick,"aria-selected":a,title:c},n)}}])&&D(e.prototype,n),t}();function A(t){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function T(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function z(t){return(z=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function R(t,e){return(R=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}N.propTypes={onClick:a.a.func.isRequired,children:a.a.any,value:a.a.string,className:a.a.string,activeClassName:a.a.string,active:a.a.bool,disabled:a.a.bool,title:a.a.string},N.defaultProps={activeClassName:""},n(12);var P=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==A(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=z(t)).call.apply(e,[this].concat(o)))).state={highlighted:-1},n.onChange=function(t){var e=n.props.onChange;e&&e(t),n.toggleExpansion()},n.setHighlighted=function(t){n.setState({highlighted:t})},n.toggleExpansion=function(){var t=n.props,e=t.doExpand,r=t.doCollapse;t.expanded?r():e()},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.expanded;t.expanded&&!e&&this.setState({highlighted:-1})}},{key:"render",value:function(){var t=this,e=this.props,n=e.expanded,r=e.children,i=e.className,a=e.optionWrapperClassName,s=e.ariaLabel,c=e.onExpandEvent,u=e.title,p=this.state.highlighted,f=r.slice(1,r.length);return o.a.createElement("div",{className:l()("rdw-dropdown-wrapper",i),"aria-expanded":n,"aria-label":s||"rdw-dropdown"},o.a.createElement("a",{className:"rdw-dropdown-selectedtext",onClick:c,title:u},r[0],o.a.createElement("div",{className:l()({"rdw-dropdown-carettoclose":n,"rdw-dropdown-carettoopen":!n})})),n?o.a.createElement("ul",{className:l()("rdw-dropdown-optionwrapper",a),onClick:w},o.a.Children.map(f,(function(e,n){return e&&o.a.cloneElement(e,{onSelect:t.onChange,highlighted:p===n,setHighlighted:t.setHighlighted,index:n})}))):void 0)}}])&&T(e.prototype,n),t}();function B(t){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function F(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function K(t){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function H(t,e){return(H=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}P.propTypes={children:a.a.any,onChange:a.a.func,className:a.a.string,expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,optionWrapperClassName:a.a.string,ariaLabel:a.a.string,title:a.a.string},n(13);var q=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==B(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=K(t)).call.apply(e,[this].concat(o)))).onClick=function(t){var e=n.props,r=e.onSelect,o=e.onClick,i=e.value;e.disabled||(r&&r(i),o&&(t.stopPropagation(),o(i)))},n.setHighlighted=function(){var t=n.props;(0,t.setHighlighted)(t.index)},n.resetHighlighted=function(){(0,n.props.setHighlighted)(-1)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&H(t,e)}(t,r.Component),e=t,(n=[{key:"render",value:function(){var t,e=this.props,n=e.children,r=e.active,i=e.disabled,a=e.highlighted,s=e.className,c=e.activeClassName,u=e.disabledClassName,p=e.highlightedClassName,f=e.title;return o.a.createElement("li",{className:l()("rdw-dropdownoption-default",s,(U(t={},"rdw-dropdownoption-active ".concat(c),r),U(t,"rdw-dropdownoption-highlighted ".concat(p),a),U(t,"rdw-dropdownoption-disabled ".concat(u),i),t)),onMouseEnter:this.setHighlighted,onMouseLeave:this.resetHighlighted,onClick:this.onClick,title:f},n)}}])&&F(e.prototype,n),t}();function Y(t){return(Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function W(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Q(t){return(Q=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Z(t,e){return(Z=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}q.propTypes={children:a.a.any,value:a.a.any,onClick:a.a.func,onSelect:a.a.func,setHighlighted:a.a.func,index:a.a.number,disabled:a.a.bool,active:a.a.bool,highlighted:a.a.bool,className:a.a.string,activeClassName:a.a.string,disabledClassName:a.a.string,highlightedClassName:a.a.string,title:a.a.string},q.defaultProps={activeClassName:"",disabledClassName:"",highlightedClassName:""},n(14);var V=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){return!e||"object"!==Y(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,Q(t).apply(this,arguments))}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Z(t,e)}(t,r.Component),e=t,(n=[{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=t.currentState,r=t.onChange,i=t.translations;return o.a.createElement("div",{className:l()("rdw-inline-wrapper",e.className),"aria-label":"rdw-inline-control"},e.options.map((function(t,a){return o.a.createElement(N,{key:a,value:t,onClick:r,className:l()(e[t].className),active:!0===n[t]||"MONOSPACE"===t&&n.CODE,title:e[t].title||i["components.controls.inline.".concat(t)]},o.a.createElement("img",{alt:"",src:e[t].icon}))})))}},{key:"renderInDropDown",value:function(){var t=this.props,e=t.config,n=t.expanded,r=t.doExpand,i=t.onExpandEvent,a=t.doCollapse,s=t.currentState,c=t.onChange,u=t.translations,p=e.className,f=e.dropdownClassName,d=e.title;return o.a.createElement(P,{className:l()("rdw-inline-dropdown",p),optionWrapperClassName:l()(f),onChange:c,expanded:n,doExpand:r,doCollapse:a,onExpandEvent:i,"aria-label":"rdw-inline-control",title:d},o.a.createElement("img",{src:M(e),alt:""}),e.options.map((function(t,n){return o.a.createElement(q,{key:n,value:t,className:l()("rdw-inline-dropdownoption",e[t].className),active:!0===s[t]||"MONOSPACE"===t&&s.CODE,title:e[t].title||u["components.controls.inline.".concat(t)]},o.a.createElement("img",{src:e[t].icon,alt:""}))})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&W(e.prototype,n),t}();function G(t){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function J(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function X(t){return(X=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function $(t,e){return($=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}V.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var tt=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==G(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,X(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.toggleInlineStyle=function(t){var e="monospace"===t?"CODE":t.toUpperCase(),r=n.props,o=r.editorState,i=r.onChange,a=s.RichUtils.toggleInlineStyle(o,e);if("subscript"===t||"superscript"===t){var c="subscript"===t?"SUPERSCRIPT":"SUBSCRIPT",u=s.Modifier.removeInlineStyle(a.getCurrentContent(),a.getSelection(),c);a=s.EditorState.push(a,u,"change-inline-style")}a&&i(a)},n.changeKeys=function(t){if(t){var e={};return _(t,(function(t,n){e["CODE"===t?"monospace":t.toLowerCase()]=n})),e}},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})};var r=n.props,o=r.editorState,i=r.modalHandler;return n.state={currentStyles:o?n.changeKeys(Object(c.getSelectionInlineStyle)(o)):{}},i.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentStyles:this.changeKeys(Object(c.getSelectionInlineStyle)(e))})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentStyles,s=e.component||V;return o.a.createElement(s,{config:e,translations:n,currentState:a,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.toggleInlineStyle})}}])&&J(e.prototype,n),t}();function et(t){return(et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function rt(t){return(rt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ot(t,e){return(ot=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}tt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(15);var it=function(){function t(e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==et(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,rt(t).call(this,e))).getBlockTypes=function(t){return[{label:"Normal",displayName:t["components.controls.blocktype.normal"]},{label:"H1",displayName:t["components.controls.blocktype.h1"]},{label:"H2",displayName:t["components.controls.blocktype.h2"]},{label:"H3",displayName:t["components.controls.blocktype.h3"]},{label:"H4",displayName:t["components.controls.blocktype.h4"]},{label:"H5",displayName:t["components.controls.blocktype.h5"]},{label:"H6",displayName:t["components.controls.blocktype.h6"]},{label:"Blockquote",displayName:t["components.controls.blocktype.blockquote"]},{label:"Code",displayName:t["components.controls.blocktype.code"]}]},n.state={blockTypes:n.getBlockTypes(e.translations)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ot(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.translations;e!==t.translations&&this.setState({blockTypes:this.getBlockTypes(e)})}},{key:"renderFlat",value:function(t){var e=this.props,n=e.config.className,r=e.onChange,i=e.currentState.blockType;return o.a.createElement("div",{className:l()("rdw-inline-wrapper",n)},t.map((function(t,e){return o.a.createElement(N,{key:e,value:t.label,active:i===t.label,onClick:r},t.displayName)})))}},{key:"renderInDropdown",value:function(t){var e=this.props,n=e.config,r=n.className,i=n.dropdownClassName,a=n.title,s=e.currentState.blockType,c=e.expanded,u=e.doExpand,p=e.onExpandEvent,f=e.doCollapse,d=e.onChange,h=e.translations,g=this.state.blockTypes.filter((function(t){return t.label===s})),y=g&&g[0]&&g[0].displayName;return o.a.createElement("div",{className:"rdw-block-wrapper","aria-label":"rdw-block-control"},o.a.createElement(P,{className:l()("rdw-block-dropdown",r),optionWrapperClassName:l()(i),onChange:d,expanded:c,doExpand:u,doCollapse:f,onExpandEvent:p,title:a||h["components.controls.blocktype.blocktype"]},o.a.createElement("span",null,y||h["components.controls.blocktype.blocktype"]),t.map((function(t,e){return o.a.createElement(q,{active:s===t.label,value:t.label,key:e},t.displayName)}))))}},{key:"render",value:function(){var t=this.props.config,e=t.inDropdown,n=this.state.blockTypes.filter((function(e){var n=e.label;return-1<t.options.indexOf(n)}));return e?this.renderInDropdown(n):this.renderFlat(n)}}])&&nt(e.prototype,n),t}();it.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doExpand:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var at=it;function st(t){return(st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ct(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ut(t){return(ut=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function lt(t,e){return(lt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var pt=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==st(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,ut(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.blocksTypes=[{label:"Normal",style:"unstyled"},{label:"H1",style:"header-one"},{label:"H2",style:"header-two"},{label:"H3",style:"header-three"},{label:"H4",style:"header-four"},{label:"H5",style:"header-five"},{label:"H6",style:"header-six"},{label:"Blockquote",style:"blockquote"},{label:"Code",style:"code"}],n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleBlockType=function(t){var e=n.blocksTypes.find((function(e){return e.label===t})).style,r=n.props,o=r.editorState,i=r.onChange,a=s.RichUtils.toggleBlockType(o,e);a&&i(a)};var r=e.editorState,o=e.modalHandler;return n.state={expanded:!1,currentBlockType:r?Object(c.getSelectedBlocksType)(r):"unstyled"},o.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&<(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentBlockType:Object(c.getSelectedBlocksType)(e)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentBlockType,s=e.component||at,c=this.blocksTypes.find((function(t){return t.style===a}));return o.a.createElement(s,{config:e,translations:n,currentState:{blockType:c&&c.label},onChange:this.toggleBlockType,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&ct(e.prototype,n),t}();pt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var ft=pt;function dt(t){return(dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ht(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function gt(t){return(gt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function yt(t,e){return(yt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(16);var mt=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==dt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=gt(t)).call.apply(e,[this].concat(o)))).state={defaultFontSize:void 0},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){var t=document.getElementsByClassName("DraftEditor-root");if(t&&0<t.length){var e=window.getComputedStyle(t[0]).getPropertyValue("font-size");e=e.substring(0,e.length-2),this.setState({defaultFontSize:e})}}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.dropdownClassName,a=e.options,s=e.title,c=t.onChange,u=t.expanded,p=t.doCollapse,f=t.onExpandEvent,d=t.doExpand,h=t.translations,g=this.props.currentState.fontSize,y=this.state.defaultFontSize;return y=Number(y),g=g||a&&0<=a.indexOf(y)&&y,o.a.createElement("div",{className:"rdw-fontsize-wrapper","aria-label":"rdw-font-size-control"},o.a.createElement(P,{className:l()("rdw-fontsize-dropdown",r),optionWrapperClassName:l()(i),onChange:c,expanded:u,doExpand:d,doCollapse:p,onExpandEvent:f,title:s||h["components.controls.fontsize.fontsize"]},g?o.a.createElement("span",null,g):o.a.createElement("img",{src:n,alt:""}),a.map((function(t,e){return o.a.createElement(q,{className:"rdw-fontsize-option",active:g===t,value:t,key:e},t)}))))}}])&&ht(e.prototype,n),t}();function vt(t){return(vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function bt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _t(t){return(_t=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function St(t,e){return(St=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}mt.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doExpand:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var wt=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==vt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,_t(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleFontSize=function(t){var e=n.props,r=e.editorState,o=e.onChange,i=Object(c.toggleCustomInlineStyle)(r,"fontSize",t);i&&o(i)};var r=e.editorState,o=e.modalHandler;return n.state={expanded:void 0,currentFontSize:r?Object(c.getSelectionCustomInlineStyle)(r,["FONTSIZE"]).FONTSIZE:void 0},o.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&St(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentFontSize:Object(c.getSelectionCustomInlineStyle)(e,["FONTSIZE"]).FONTSIZE})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentFontSize,s=e.component||mt,c=a&&Number(a.substring(9));return o.a.createElement(s,{config:e,translations:n,currentState:{fontSize:c},onChange:this.toggleFontSize,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&bt(e.prototype,n),t}();function Mt(t){return(Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Et(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function kt(t){return(kt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function xt(t,e){return(xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}wt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(17);var Ct=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==Mt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=kt(t)).call.apply(e,[this].concat(o)))).state={defaultFontFamily:void 0},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){var t=document.getElementsByClassName("DraftEditor-root");if(t&&0<t.length){var e=window.getComputedStyle(t[0]).getPropertyValue("font-family");this.setState({defaultFontFamily:e})}}},{key:"render",value:function(){var t=this.state.defaultFontFamily,e=this.props,n=e.config,r=n.className,i=n.dropdownClassName,a=n.options,s=n.title,c=e.translations,u=e.onChange,p=e.expanded,f=e.doCollapse,d=e.onExpandEvent,h=e.doExpand,g=this.props.currentState.fontFamily;return g=g||a&&t&&a.some((function(e){return e.toLowerCase()===t.toLowerCase()}))&&t,o.a.createElement("div",{className:"rdw-fontfamily-wrapper","aria-label":"rdw-font-family-control"},o.a.createElement(P,{className:l()("rdw-fontfamily-dropdown",r),optionWrapperClassName:l()("rdw-fontfamily-optionwrapper",i),onChange:u,expanded:p,doExpand:h,doCollapse:f,onExpandEvent:d,title:s||c["components.controls.fontfamily.fontfamily"]},o.a.createElement("span",{className:"rdw-fontfamily-placeholder"},g||c["components.controls.fontfamily.fontfamily"]),a.map((function(t,e){return o.a.createElement(q,{active:g===t,value:t,key:e},t)}))))}}])&&Et(e.prototype,n),t}();Ct.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doExpand:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var jt=Ct;function Ot(t){return(Ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Dt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function It(t){return(It=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Lt(t,e){return(Lt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Nt=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==Ot(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,It(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleFontFamily=function(t){var e=n.props,r=e.editorState,o=e.onChange,i=Object(c.toggleCustomInlineStyle)(r,"fontFamily",t);i&&o(i)};var r=e.editorState,o=e.modalHandler;return n.state={expanded:void 0,currentFontFamily:r?Object(c.getSelectionCustomInlineStyle)(r,["FONTFAMILY"]).FONTFAMILY:void 0},o.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentFontFamily:Object(c.getSelectionCustomInlineStyle)(e,["FONTFAMILY"]).FONTFAMILY})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentFontFamily,s=e.component||jt,c=a&&a.substring(11);return o.a.createElement(s,{translations:n,config:e,currentState:{fontFamily:c},onChange:this.toggleFontFamily,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Dt(e.prototype,n),t}();function At(t){return(At="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Tt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function zt(t){return(zt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Rt(t,e){return(Rt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Nt.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(18);var Pt=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==At(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=zt(t)).call.apply(e,[this].concat(o)))).options=["unordered","ordered","indent","outdent"],n.toggleBlockType=function(t){(0,n.props.onChange)(t)},n.indent=function(){(0,n.props.onChange)("indent")},n.outdent=function(){(0,n.props.onChange)("outdent")},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rt(t,e)}(t,r.Component),e=t,(n=[{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=t.currentState.listType,r=t.translations,i=t.indentDisabled,a=t.outdentDisabled,s=e.options,c=e.unordered,u=e.ordered,p=e.indent,f=e.outdent,d=e.className;return o.a.createElement("div",{className:l()("rdw-list-wrapper",d),"aria-label":"rdw-list-control"},0<=s.indexOf("unordered")&&o.a.createElement(N,{value:"unordered",onClick:this.toggleBlockType,className:l()(c.className),active:"unordered"===n,title:c.title||r["components.controls.list.unordered"]},o.a.createElement("img",{src:c.icon,alt:""})),0<=s.indexOf("ordered")&&o.a.createElement(N,{value:"ordered",onClick:this.toggleBlockType,className:l()(u.className),active:"ordered"===n,title:u.title||r["components.controls.list.ordered"]},o.a.createElement("img",{src:u.icon,alt:""})),0<=s.indexOf("indent")&&o.a.createElement(N,{onClick:this.indent,disabled:i,className:l()(p.className),title:p.title||r["components.controls.list.indent"]},o.a.createElement("img",{src:p.icon,alt:""})),0<=s.indexOf("outdent")&&o.a.createElement(N,{onClick:this.outdent,disabled:a,className:l()(f.className),title:f.title||r["components.controls.list.outdent"]},o.a.createElement("img",{src:f.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var t=this,e=this.props,n=e.config,r=e.expanded,i=e.doCollapse,a=e.doExpand,s=e.onExpandEvent,c=e.onChange,u=e.currentState.listType,p=e.translations,f=n.options,d=n.className,h=n.dropdownClassName,g=n.title;return o.a.createElement(P,{className:l()("rdw-list-dropdown",d),optionWrapperClassName:l()(h),onChange:c,expanded:r,doExpand:a,doCollapse:i,onExpandEvent:s,"aria-label":"rdw-list-control",title:g||p["components.controls.list.list"]},o.a.createElement("img",{src:M(n),alt:""}),this.options.filter((function(t){return 0<=f.indexOf(t)})).map((function(e,r){return o.a.createElement(q,{key:r,value:e,disabled:t.props["".concat(e,"Disabled")],className:l()("rdw-list-dropdownOption",n[e].className),active:u===e,title:n[e].title||p["components.controls.list.".concat(e)]},o.a.createElement("img",{src:n[e].icon,alt:""}))})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Tt(e.prototype,n),t}();function Bt(t){return(Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ut(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ft(t){return(Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Kt(t,e){return(Kt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Pt.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object,indentDisabled:a.a.bool,outdentDisabled:a.a.bool};var Ht=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==Bt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,Ft(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.onChange=function(t){"unordered"===t?n.toggleBlockType("unordered-list-item"):"ordered"===t?n.toggleBlockType("ordered-list-item"):"indent"===t?n.adjustDepth(1):n.adjustDepth(-1)},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleBlockType=function(t){var e=n.props,r=e.onChange,o=e.editorState,i=s.RichUtils.toggleBlockType(o,t);i&&r(i)},n.adjustDepth=function(t){var e=n.props,r=e.onChange,o=e.editorState,i=Object(c.changeDepth)(o,t,4);i&&r(i)},n.isIndentDisabled=function(){var t=n.props.editorState,e=n.state.currentBlock,r=Object(c.getBlockBeforeSelectedBlock)(t);return!r||!Object(c.isListBlock)(e)||r.get("type")!==e.get("type")||r.get("depth")<e.get("depth")},n.isOutdentDisabled=function(){var t=n.state.currentBlock;return!t||!Object(c.isListBlock)(t)||t.get("depth")<=0};var r=n.props,o=r.editorState,i=r.modalHandler;return n.state={expanded:!1,currentBlock:o?Object(c.getSelectedBlock)(o):void 0},i.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentBlock:Object(c.getSelectedBlock)(e)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t,e=this.props,n=e.config,r=e.translations,i=this.state,a=i.expanded,s=i.currentBlock,c=n.component||Pt;"unordered-list-item"===s.get("type")?t="unordered":"ordered-list-item"===s.get("type")&&(t="ordered");var u=this.isIndentDisabled(),l=this.isOutdentDisabled();return o.a.createElement(c,{config:n,translations:r,currentState:{listType:t},expanded:a,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange,indentDisabled:u,outdentDisabled:l})}}])&&Ut(e.prototype,n),t}();function qt(t){return(qt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Yt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Wt(t){return(Wt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Qt(t,e){return(Qt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Ht.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(19);var Zt=function(){function t(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),function(t,e){return!e||"object"!==qt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,Wt(t).apply(this,arguments))}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qt(t,e)}(t,r.Component),e=t,(n=[{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=e.options,r=e.left,i=e.center,a=e.right,s=e.justify,c=e.className,u=t.onChange,p=t.currentState.textAlignment,f=t.translations;return o.a.createElement("div",{className:l()("rdw-text-align-wrapper",c),"aria-label":"rdw-textalign-control"},0<=n.indexOf("left")&&o.a.createElement(N,{value:"left",className:l()(r.className),active:"left"===p,onClick:u,title:r.title||f["components.controls.textalign.left"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("center")&&o.a.createElement(N,{value:"center",className:l()(i.className),active:"center"===p,onClick:u,title:i.title||f["components.controls.textalign.center"]},o.a.createElement("img",{src:i.icon,alt:""})),0<=n.indexOf("right")&&o.a.createElement(N,{value:"right",className:l()(a.className),active:"right"===p,onClick:u,title:a.title||f["components.controls.textalign.right"]},o.a.createElement("img",{src:a.icon,alt:""})),0<=n.indexOf("justify")&&o.a.createElement(N,{value:"justify",className:l()(s.className),active:"justify"===p,onClick:u,title:s.title||f["components.controls.textalign.justify"]},o.a.createElement("img",{src:s.icon,alt:""})))}},{key:"renderInDropDown",value:function(){var t=this.props,e=t.config,n=t.expanded,r=t.doExpand,i=t.onExpandEvent,a=t.doCollapse,s=t.currentState.textAlignment,c=t.onChange,u=t.translations,p=e.options,f=e.left,d=e.center,h=e.right,g=e.justify,y=e.className,m=e.dropdownClassName,v=e.title;return o.a.createElement(P,{className:l()("rdw-text-align-dropdown",y),optionWrapperClassName:l()(m),onChange:c,expanded:n,doExpand:r,doCollapse:a,onExpandEvent:i,"aria-label":"rdw-textalign-control",title:v||u["components.controls.textalign.textalign"]},o.a.createElement("img",{src:s&&e[s]&&e[s].icon||M(e),alt:""}),0<=p.indexOf("left")&&o.a.createElement(q,{value:"left",active:"left"===s,className:l()("rdw-text-align-dropdownOption",f.className),title:f.title||u["components.controls.textalign.left"]},o.a.createElement("img",{src:f.icon,alt:""})),0<=p.indexOf("center")&&o.a.createElement(q,{value:"center",active:"center"===s,className:l()("rdw-text-align-dropdownOption",d.className),title:d.title||u["components.controls.textalign.center"]},o.a.createElement("img",{src:d.icon,alt:""})),0<=p.indexOf("right")&&o.a.createElement(q,{value:"right",active:"right"===s,className:l()("rdw-text-align-dropdownOption",h.className),title:h.title||u["components.controls.textalign.right"]},o.a.createElement("img",{src:h.icon,alt:""})),0<=p.indexOf("justify")&&o.a.createElement(q,{value:"justify",active:"justify"===s,className:l()("rdw-text-align-dropdownOption",g.className),title:g.title||u["components.controls.textalign.justify"]},o.a.createElement("img",{src:g.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Yt(e.prototype,n),t}();function Vt(t){return(Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Gt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Jt(t){return(Jt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Xt(t,e){return(Xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Zt.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var $t=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==Vt(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,Jt(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.addBlockAlignmentData=function(t){var e=n.props,r=e.editorState;(0,e.onChange)(n.state.currentTextAlignment!==t?Object(c.setBlockData)(r,{"text-align":t}):Object(c.setBlockData)(r,{"text-align":void 0}))};var r=n.props.modalHandler;return n.state={currentTextAlignment:void 0},r.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xt(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e!==t.editorState&&this.setState({currentTextAlignment:Object(c.getSelectedBlocksMetadata)(e).get("text-align")})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.expanded,a=r.currentTextAlignment,s=e.component||Zt;return o.a.createElement(s,{config:e,translations:n,expanded:i,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{textAlignment:a},onChange:this.addBlockAlignmentData})}}])&&Gt(e.prototype,n),t}();function te(t){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ee(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ne(t){return(ne=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function re(t,e){return(re=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}$t.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(20);var oe=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(n=function(t,e){return!e||"object"!==te(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=ne(t)).call.apply(e,[this].concat(i)))).state={currentStyle:"color"},n.onChange=function(t){(0,n.props.onChange)(n.state.currentStyle,t)},n.setCurrentStyleColor=function(){n.setState({currentStyle:"color"})},n.setCurrentStyleBgcolor=function(){n.setState({currentStyle:"bgcolor"})},n.renderModal=function(){var t=n.props,e=t.config,r=e.popupClassName,i=e.colors,a=t.currentState,s=a.color,c=a.bgColor,u=t.translations,p=n.state.currentStyle,f="color"===p?s:c;return o.a.createElement("div",{className:l()("rdw-colorpicker-modal",r),onClick:w},o.a.createElement("span",{className:"rdw-colorpicker-modal-header"},o.a.createElement("span",{className:l()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"color"===p}),onClick:n.setCurrentStyleColor},u["components.controls.colorpicker.text"]),o.a.createElement("span",{className:l()("rdw-colorpicker-modal-style-label",{"rdw-colorpicker-modal-style-label-active":"bgcolor"===p}),onClick:n.setCurrentStyleBgcolor},u["components.controls.colorpicker.background"])),o.a.createElement("span",{className:"rdw-colorpicker-modal-options"},i.map((function(t,e){return o.a.createElement(N,{value:t,key:e,className:"rdw-colorpicker-option",activeClassName:"rdw-colorpicker-option-active",active:f===t,onClick:n.onChange},o.a.createElement("span",{style:{backgroundColor:t},className:"rdw-colorpicker-cube"}))}))))},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&re(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){this.props.expanded&&!t.expanded&&this.setState({currentStyle:"color"})}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.title,a=t.expanded,s=t.onExpandEvent,c=t.translations;return o.a.createElement("div",{className:"rdw-colorpicker-wrapper","aria-haspopup":"true","aria-expanded":a,"aria-label":"rdw-color-picker",title:i||c["components.controls.colorpicker.colorpicker"]},o.a.createElement(N,{onClick:s,className:l()(r)},o.a.createElement("img",{src:n,alt:""})),a?this.renderModal():void 0)}}])&&ee(e.prototype,n),t}();oe.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,onChange:a.a.func,config:a.a.object,currentState:a.a.object,translations:a.a.object};var ie=oe;function ae(t){return(ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function se(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ce(t){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ue(t,e){return(ue=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var le=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==ae(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,ce(t).call(this,e))).state={expanded:!1,currentColor:void 0,currentBgColor:void 0},n.onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.toggleColor=function(t,e){var r=n.props,o=r.editorState,i=r.onChange,a=Object(c.toggleCustomInlineStyle)(o,t,e);a&&i(a),n.doCollapse()};var r=e.editorState,o=e.modalHandler,i={expanded:!1,currentColor:void 0,currentBgColor:void 0};return r&&(i.currentColor=Object(c.getSelectionCustomInlineStyle)(r,["COLOR"]).COLOR,i.currentBgColor=Object(c.getSelectionCustomInlineStyle)(r,["BGCOLOR"]).BGCOLOR),n.state=i,o.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ue(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentColor:Object(c.getSelectionCustomInlineStyle)(e,["COLOR"]).COLOR,currentBgColor:Object(c.getSelectionCustomInlineStyle)(e,["BGCOLOR"]).BGCOLOR})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.currentColor,a=r.currentBgColor,s=r.expanded,c=e.component||ie,u=i&&i.substring(6),l=a&&a.substring(8);return o.a.createElement(c,{config:e,translations:n,onChange:this.toggleColor,expanded:s,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{color:u,bgColor:l}})}}])&&se(e.prototype,n),t}();le.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var pe=le,fe=n(7),de=n.n(fe);function he(t){return(he="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ge(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ye(t){return(ye=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function me(t,e){return(me=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(26);var ve=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==he(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=ye(t)).call.apply(e,[this].concat(o)))).state={showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:n.props.config.defaultTargetOption},n.removeLink=function(){(0,n.props.onChange)("unlink")},n.addLink=function(){var t=n.props.onChange,e=n.state;t("link",e.linkTitle,e.linkTarget,e.linkTargetOption)},n.updateValue=function(t){var e,r,o;n.setState((e={},r="".concat(t.target.name),o=t.target.value,r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e))},n.updateTargetOption=function(t){n.setState({linkTargetOption:t.target.checked?"_blank":"_self"})},n.hideModal=function(){n.setState({showModal:!1})},n.signalExpandShowModal=function(){var t=n.props,e=t.onExpandEvent,r=t.currentState,o=r.link,i=r.selectionText,a=n.state.linkTargetOption;e(),n.setState({showModal:!0,linkTarget:o&&o.target||"",linkTargetOption:o&&o.targetOption||a,linkTitle:o&&o.title||i})},n.forceExpandAndShowModal=function(){var t=n.props,e=t.doExpand,r=t.currentState,o=r.link,i=r.selectionText,a=n.state.linkTargetOption;e(),n.setState({showModal:!0,linkTarget:o&&o.target,linkTargetOption:o&&o.targetOption||a,linkTitle:o&&o.title||i})},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&me(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){t.expanded&&!this.props.expanded&&this.setState({showModal:!1,linkTarget:"",linkTitle:"",linkTargetOption:this.props.config.defaultTargetOption})}},{key:"renderAddLinkModal",value:function(){var t=this.props,e=t.config.popupClassName,n=t.doCollapse,r=t.translations,i=this.state,a=i.linkTitle,s=i.linkTarget,c=i.linkTargetOption;return o.a.createElement("div",{className:l()("rdw-link-modal",e),onClick:w},o.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTitle"},r["components.controls.link.linkTitle"]),o.a.createElement("input",{id:"linkTitle",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTitle",value:a}),o.a.createElement("label",{className:"rdw-link-modal-label",htmlFor:"linkTarget"},r["components.controls.link.linkTarget"]),o.a.createElement("input",{id:"linkTarget",className:"rdw-link-modal-input",onChange:this.updateValue,onBlur:this.updateValue,name:"linkTarget",value:s}),o.a.createElement("label",{className:"rdw-link-modal-target-option",htmlFor:"openLinkInNewWindow"},o.a.createElement("input",{id:"openLinkInNewWindow",type:"checkbox",defaultChecked:"_blank"===c,value:"_blank",onChange:this.updateTargetOption}),o.a.createElement("span",null,r["components.controls.link.linkTargetOption"])),o.a.createElement("span",{className:"rdw-link-modal-buttonsection"},o.a.createElement("button",{className:"rdw-link-modal-btn",onClick:this.addLink,disabled:!s||!a},r["generic.add"]),o.a.createElement("button",{className:"rdw-link-modal-btn",onClick:n},r["generic.cancel"])))}},{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=e.options,r=e.link,i=e.unlink,a=e.className,s=t.currentState,c=t.expanded,u=t.translations,p=this.state.showModal;return o.a.createElement("div",{className:l()("rdw-link-wrapper",a),"aria-label":"rdw-link-control"},0<=n.indexOf("link")&&o.a.createElement(N,{value:"unordered-list-item",className:l()(r.className),onClick:this.signalExpandShowModal,"aria-haspopup":"true","aria-expanded":p,title:r.title||u["components.controls.link.link"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("unlink")&&o.a.createElement(N,{disabled:!s.link,value:"ordered-list-item",className:l()(i.className),onClick:this.removeLink,title:i.title||u["components.controls.link.unlink"]},o.a.createElement("img",{src:i.icon,alt:""})),c&&p?this.renderAddLinkModal():void 0)}},{key:"renderInDropDown",value:function(){var t=this.props,e=t.expanded,n=t.onExpandEvent,r=t.doCollapse,i=t.doExpand,a=t.onChange,s=t.config,c=t.currentState,u=t.translations,p=s.options,f=s.link,d=s.unlink,h=s.className,g=s.dropdownClassName,y=s.title,m=this.state.showModal;return o.a.createElement("div",{className:"rdw-link-wrapper","aria-haspopup":"true","aria-label":"rdw-link-control","aria-expanded":e,title:y},o.a.createElement(P,{className:l()("rdw-link-dropdown",h),optionWrapperClassName:l()(g),onChange:a,expanded:e&&!m,doExpand:i,doCollapse:r,onExpandEvent:n},o.a.createElement("img",{src:M(s),alt:""}),0<=p.indexOf("link")&&o.a.createElement(q,{onClick:this.forceExpandAndShowModal,className:l()("rdw-link-dropdownoption",f.className),title:f.title||u["components.controls.link.link"]},o.a.createElement("img",{src:f.icon,alt:""})),0<=p.indexOf("unlink")&&o.a.createElement(q,{onClick:this.removeLink,disabled:!c.link,className:l()("rdw-link-dropdownoption",d.className),title:d.title||u["components.controls.link.unlink"]},o.a.createElement("img",{src:d.icon,alt:""}))),e&&m?this.renderAddLinkModal():void 0)}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&ge(e.prototype,n),t}();ve.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var be=ve;function _e(t){return(_e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Se(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function we(t){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Me(t,e){return(Me=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ee(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ke(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xe(t){var e=Ce.match(t.target);return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ee(Object(n),!0).forEach((function(e){ke(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t,{target:e&&e[0]&&e[0].url||t.target})}var Ce=de()(),je=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==_e(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,we(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.onChange=function(t,e,r,o){var i=n.props.config.linkCallback;if("link"===t){var a=(i||xe)({title:e,target:r,targetOption:o});n.addLink(a.title,a.target,a.targetOption)}else n.removeLink()},n.getCurrentValues=function(){var t=n.props.editorState,e=n.state.currentEntity,r=t.getCurrentContent(),o={};if(e&&"LINK"===r.getEntity(e).get("type")){o.link={};var i=e&&Object(c.getEntityRange)(t,e);o.link.target=e&&r.getEntity(e).get("data").url,o.link.targetOption=e&&r.getEntity(e).get("data").targetOption,o.link.title=i&&i.text}return o.selectionText=Object(c.getSelectionText)(t),o},n.doExpand=function(){n.setState({expanded:!0})},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doCollapse=function(){n.setState({expanded:!1})},n.removeLink=function(){var t=n.props,e=t.editorState,r=t.onChange,o=n.state.currentEntity,i=e.getSelection();if(o){var a=Object(c.getEntityRange)(e,o);i=i.getIsBackward()?i.merge({anchorOffset:a.end,focusOffset:a.start}):i.merge({anchorOffset:a.start,focusOffset:a.end}),r(s.RichUtils.toggleLink(e,i,null))}},n.addLink=function(t,e,r){var o=n.props,i=o.editorState,a=o.onChange,u=n.state.currentEntity,l=i.getSelection();if(u){var p=Object(c.getEntityRange)(i,u);l=l.getIsBackward()?l.merge({anchorOffset:p.end,focusOffset:p.start}):l.merge({anchorOffset:p.start,focusOffset:p.end})}var f=i.getCurrentContent().createEntity("LINK","MUTABLE",{url:e,targetOption:r}).getLastCreatedEntityKey(),d=s.Modifier.replaceText(i.getCurrentContent(),l,"".concat(t),i.getCurrentInlineStyle(),f),h=s.EditorState.push(i,d,"insert-characters");l=h.getSelection().merge({anchorOffset:l.get("anchorOffset")+t.length,focusOffset:l.get("anchorOffset")+t.length}),h=s.EditorState.acceptSelection(h,l),d=s.Modifier.insertText(h.getCurrentContent(),l," ",h.getCurrentInlineStyle(),void 0),a(s.EditorState.push(h,d,"insert-characters")),n.doCollapse()};var r=n.props,o=r.editorState,i=r.modalHandler;return n.state={expanded:!1,link:void 0,selectionText:void 0,currentEntity:o?Object(c.getSelectionEntity)(o):void 0},i.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Me(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&e!==t.editorState&&this.setState({currentEntity:Object(c.getSelectionEntity)(e)})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=this.getCurrentValues(),a=i.link,s=i.selectionText,c=e.component||be;return o.a.createElement(c,{config:e,translations:n,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,currentState:{link:a,selectionText:s},onChange:this.onChange})}}])&&Se(e.prototype,n),t}();je.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var Oe=je;function De(t){return(De="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ie(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Le(t){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ne(t,e){return(Ne=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(27);var Ae=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==De(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=Le(t)).call.apply(e,[this].concat(o)))).state={embeddedLink:"",height:n.props.config.defaultSize.height,width:n.props.config.defaultSize.width},n.onChange=function(){var t=n.props.onChange,e=n.state;t(e.embeddedLink,e.height,e.width)},n.updateValue=function(t){var e,r,o;n.setState((e={},r="".concat(t.target.name),o=t.target.value,r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e))},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ne(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.expanded,r=e.config;if(!n&&t.expanded){var o=r.defaultSize,i=o.height,a=o.width;this.setState({embeddedLink:"",height:i,width:a})}}},{key:"rendeEmbeddedLinkModal",value:function(){var t=this.state,e=t.embeddedLink,n=t.height,r=t.width,i=this.props,a=i.config.popupClassName,s=i.doCollapse,c=i.translations;return o.a.createElement("div",{className:l()("rdw-embedded-modal",a),onClick:w},o.a.createElement("div",{className:"rdw-embedded-modal-header"},o.a.createElement("span",{className:"rdw-embedded-modal-header-option"},c["components.controls.embedded.embeddedlink"],o.a.createElement("span",{className:"rdw-embedded-modal-header-label"}))),o.a.createElement("div",{className:"rdw-embedded-modal-link-section"},o.a.createElement("span",{className:"rdw-embedded-modal-link-input-wrapper"},o.a.createElement("input",{className:"rdw-embedded-modal-link-input",placeholder:c["components.controls.embedded.enterlink"],onChange:this.updateValue,onBlur:this.updateValue,value:e,name:"embeddedLink"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("div",{className:"rdw-embedded-modal-size"},o.a.createElement("span",null,o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:n,name:"height",className:"rdw-embedded-modal-size-input",placeholder:"Height"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("span",null,o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:r,name:"width",className:"rdw-embedded-modal-size-input",placeholder:"Width"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")))),o.a.createElement("span",{className:"rdw-embedded-modal-btn-section"},o.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:this.onChange,disabled:!e||!n||!r},c["generic.add"]),o.a.createElement("button",{type:"button",className:"rdw-embedded-modal-btn",onClick:s},c["generic.cancel"])))}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.title,a=t.expanded,s=t.onExpandEvent,c=t.translations;return o.a.createElement("div",{className:"rdw-embedded-wrapper","aria-haspopup":"true","aria-expanded":a,"aria-label":"rdw-embedded-control"},o.a.createElement(N,{className:l()(r),value:"unordered-list-item",onClick:s,title:i||c["components.controls.embedded.embedded"]},o.a.createElement("img",{src:n,alt:""})),a?this.rendeEmbeddedLinkModal():void 0)}}])&&Ie(e.prototype,n),t}();Ae.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,onChange:a.a.func,config:a.a.object,translations:a.a.object,doCollapse:a.a.func};var Te=Ae;function ze(t){return(ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Re(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Pe(t){return(Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Be(t,e){return(Be=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Ue=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==ze(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=Pe(t)).call.apply(e,[this].concat(o)))).state={expanded:!1},n.onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.addEmbeddedLink=function(t,e,r){var o=n.props,i=o.editorState,a=o.onChange,c=o.config.embedCallback,u=c?c(t):t,l=i.getCurrentContent().createEntity("EMBEDDED_LINK","MUTABLE",{src:u,height:e,width:r}).getLastCreatedEntityKey();a(s.AtomicBlockUtils.insertAtomicBlock(i,l," ")),n.doCollapse()},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Be(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=e.component||Te;return o.a.createElement(i,{config:e,translations:n,onChange:this.addEmbeddedLink,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&Re(e.prototype,n),t}();Ue.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var Fe=Ue;function Ke(t){return(Ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function He(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function qe(t){return(qe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ye(t,e){return(Ye=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(28);var We=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==Ke(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=qe(t)).call.apply(e,[this].concat(o)))).onChange=function(t){(0,n.props.onChange)(t.target.innerHTML)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ye(t,e)}(t,r.Component),e=t,(n=[{key:"renderEmojiModal",value:function(){var t=this,e=this.props.config,n=e.popupClassName,r=e.emojis;return o.a.createElement("div",{className:l()("rdw-emoji-modal",n),onClick:w},r.map((function(e,n){return o.a.createElement("span",{key:n,className:"rdw-emoji-icon",alt:"",onClick:t.onChange},e)})))}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.title,a=t.expanded,s=t.onExpandEvent,c=t.translations;return o.a.createElement("div",{className:"rdw-emoji-wrapper","aria-haspopup":"true","aria-label":"rdw-emoji-control","aria-expanded":a,title:i||c["components.controls.emoji.emoji"]},o.a.createElement(N,{className:l()(r),value:"unordered-list-item",onClick:s},o.a.createElement("img",{src:n,alt:""})),a?this.renderEmojiModal():void 0)}}])&&He(e.prototype,n),t}();We.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,onChange:a.a.func,config:a.a.object,translations:a.a.object};var Qe=We;function Ze(t){return(Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ve(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ge(t){return(Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Je(t,e){return(Je=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var Xe=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==Ze(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=Ge(t)).call.apply(e,[this].concat(o)))).state={expanded:!1},n.onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.addEmoji=function(t){var e=n.props,r=e.editorState,o=e.onChange,i=s.Modifier.replaceText(r.getCurrentContent(),r.getSelection(),t,r.getCurrentInlineStyle());o(s.EditorState.push(r,i,"insert-characters")),n.doCollapse()},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Je(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=e.component||Qe;return o.a.createElement(i,{config:e,translations:n,onChange:this.addEmoji,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onCollpase:this.closeModal})}}])&&Ve(e.prototype,n),t}();function $e(){return o.a.createElement("div",{className:"rdw-spinner"},o.a.createElement("div",{className:"rdw-bounce1"}),o.a.createElement("div",{className:"rdw-bounce2"}),o.a.createElement("div",{className:"rdw-bounce3"}))}function tn(t){return(tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function en(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nn(t){return(nn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function rn(t,e){return(rn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Xe.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object},n(29),n(30);var on=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==tn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=nn(t)).call.apply(e,[this].concat(o)))).state={imgSrc:"",dragEnter:!1,uploadHighlighted:n.props.config.uploadEnabled&&!!n.props.config.uploadCallback,showImageLoading:!1,height:n.props.config.defaultSize.height,width:n.props.config.defaultSize.width,alt:""},n.onDragEnter=function(t){n.stopPropagation(t),n.setState({dragEnter:!0})},n.onImageDrop=function(t){var e,r;t.preventDefault(),t.stopPropagation(),n.setState({dragEnter:!1}),r=t.dataTransfer.items?(e=t.dataTransfer.items,!0):(e=t.dataTransfer.files,!1);for(var o=0;o<e.length;o+=1)if((!r||"file"===e[o].kind)&&e[o].type.match("^image/")){var i=r?e[o].getAsFile():e[o];n.uploadImage(i)}},n.showImageUploadOption=function(){n.setState({uploadHighlighted:!0})},n.addImageFromState=function(){var t=n.state,e=t.imgSrc,r=t.alt,o=n.state,i=o.height,a=o.width,s=n.props.onChange;isNaN(i)||(i+="px"),isNaN(a)||(a+="px"),s(e,i,a,r)},n.showImageURLOption=function(){n.setState({uploadHighlighted:!1})},n.toggleShowImageLoading=function(){var t=!n.state.showImageLoading;n.setState({showImageLoading:t})},n.updateValue=function(t){var e,r,o;n.setState((e={},r="".concat(t.target.name),o=t.target.value,r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e))},n.selectImage=function(t){t.target.files&&0<t.target.files.length&&n.uploadImage(t.target.files[0])},n.uploadImage=function(t){n.toggleShowImageLoading(),(0,n.props.config.uploadCallback)(t).then((function(t){var e=t.data;n.setState({showImageLoading:!1,dragEnter:!1,imgSrc:e.link||e.url}),n.fileUpload=!1})).catch((function(){n.setState({showImageLoading:!1,dragEnter:!1})}))},n.fileUploadClick=function(t){n.fileUpload=!0,t.stopPropagation()},n.stopPropagation=function(t){n.fileUpload?n.fileUpload=!1:(t.preventDefault(),t.stopPropagation())},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rn(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.config;t.expanded&&!this.props.expanded?this.setState({imgSrc:"",dragEnter:!1,uploadHighlighted:e.uploadEnabled&&!!e.uploadCallback,showImageLoading:!1,height:e.defaultSize.height,width:e.defaultSize.width,alt:""}):e.uploadCallback===t.config.uploadCallback&&e.uploadEnabled===t.config.uploadEnabled||this.setState({uploadHighlighted:e.uploadEnabled&&!!e.uploadCallback})}},{key:"renderAddImageModal",value:function(){var t=this.state,e=t.imgSrc,n=t.uploadHighlighted,r=t.showImageLoading,i=t.dragEnter,a=t.height,s=t.width,c=t.alt,u=this.props,p=u.config,f=p.popupClassName,d=p.uploadCallback,h=p.uploadEnabled,g=p.urlEnabled,y=p.previewImage,m=p.inputAccept,v=p.alt,b=u.doCollapse,_=u.translations;return o.a.createElement("div",{className:l()("rdw-image-modal",f),onClick:this.stopPropagation},o.a.createElement("div",{className:"rdw-image-modal-header"},h&&d&&o.a.createElement("span",{onClick:this.showImageUploadOption,className:"rdw-image-modal-header-option"},_["components.controls.image.fileUpload"],o.a.createElement("span",{className:l()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":n})})),g&&o.a.createElement("span",{onClick:this.showImageURLOption,className:"rdw-image-modal-header-option"},_["components.controls.image.byURL"],o.a.createElement("span",{className:l()("rdw-image-modal-header-label",{"rdw-image-modal-header-label-highlighted":!n})}))),n?o.a.createElement("div",{onClick:this.fileUploadClick},o.a.createElement("div",{onDragEnter:this.onDragEnter,onDragOver:this.stopPropagation,onDrop:this.onImageDrop,className:l()("rdw-image-modal-upload-option",{"rdw-image-modal-upload-option-highlighted":i})},o.a.createElement("label",{htmlFor:"file",className:"rdw-image-modal-upload-option-label"},y&&e?o.a.createElement("img",{src:e,alt:e,className:"rdw-image-modal-upload-option-image-preview"}):e||_["components.controls.image.dropFileText"])),o.a.createElement("input",{type:"file",id:"file",accept:m,onChange:this.selectImage,className:"rdw-image-modal-upload-option-input"})):o.a.createElement("div",{className:"rdw-image-modal-url-section"},o.a.createElement("input",{className:"rdw-image-modal-url-input",placeholder:_["components.controls.image.enterlink"],name:"imgSrc",onChange:this.updateValue,onBlur:this.updateValue,value:e}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),v.present&&o.a.createElement("div",{className:"rdw-image-modal-size"},o.a.createElement("span",{className:"rdw-image-modal-alt-lbl"},"Alt Text"),o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:c,name:"alt",className:"rdw-image-modal-alt-input",placeholder:"alt"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},v.mandatory&&"*")),o.a.createElement("div",{className:"rdw-image-modal-size"},"↕ ",o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:a,name:"height",className:"rdw-image-modal-size-input",placeholder:"Height"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")," ↔ ",o.a.createElement("input",{onChange:this.updateValue,onBlur:this.updateValue,value:s,name:"width",className:"rdw-image-modal-size-input",placeholder:"Width"}),o.a.createElement("span",{className:"rdw-image-mandatory-sign"},"*")),o.a.createElement("span",{className:"rdw-image-modal-btn-section"},o.a.createElement("button",{className:"rdw-image-modal-btn",onClick:this.addImageFromState,disabled:!e||!a||!s||v.mandatory&&!c},_["generic.add"]),o.a.createElement("button",{className:"rdw-image-modal-btn",onClick:b},_["generic.cancel"])),r?o.a.createElement("div",{className:"rdw-image-modal-spinner"},o.a.createElement($e,null)):void 0)}},{key:"render",value:function(){var t=this.props,e=t.config,n=e.icon,r=e.className,i=e.title,a=t.expanded,s=t.onExpandEvent,c=t.translations;return o.a.createElement("div",{className:"rdw-image-wrapper","aria-haspopup":"true","aria-expanded":a,"aria-label":"rdw-image-control"},o.a.createElement(N,{className:l()(r),value:"unordered-list-item",onClick:s,title:i||c["components.controls.image.image"]},o.a.createElement("img",{src:n,alt:""})),a?this.renderAddImageModal():void 0)}}])&&en(e.prototype,n),t}();on.propTypes={expanded:a.a.bool,onExpandEvent:a.a.func,doCollapse:a.a.func,onChange:a.a.func,config:a.a.object,translations:a.a.object};var an=on;function sn(t){return(sn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function cn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function un(t){return(un=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ln(t,e){return(ln=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var pn=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==sn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,un(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.addImage=function(t,e,r,o){var i=n.props,a=i.editorState,c=i.onChange,u={src:t,height:e,width:r};i.config.alt.present&&(u.alt=o);var l=a.getCurrentContent().createEntity("IMAGE","MUTABLE",u).getLastCreatedEntityKey();c(s.AtomicBlockUtils.insertAtomicBlock(a,l," ")),n.doCollapse()};var r=n.props.modalHandler;return n.state={expanded:!1},r.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ln(t,e)}(t,r.Component),e=t,(n=[{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=e.component||an;return o.a.createElement(i,{config:e,translations:n,onChange:this.addImage,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse})}}])&&cn(e.prototype,n),t}();function fn(t){var e=t.config,n=t.onChange,r=t.translations,i=e.icon,a=e.className,s=e.title;return o.a.createElement("div",{className:"rdw-remove-wrapper","aria-label":"rdw-remove-control"},o.a.createElement(N,{className:l()(a),onClick:n,title:s||r["components.controls.remove.remove"]},o.a.createElement("img",{src:i,alt:""})))}pn.propTypes={editorState:a.a.object.isRequired,onChange:a.a.func.isRequired,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var dn=pn;n(31),fn.propTypes={onChange:a.a.func,config:a.a.object,translations:a.a.object};var hn=fn;function gn(t){return(gn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function yn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function mn(t){return(mn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function vn(t,e){return(vn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var bn=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==gn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=mn(t)).call.apply(e,[this].concat(o)))).state={expanded:!1},n.onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1},n.removeInlineStyles=function(){var t=n.props,e=t.editorState;(0,t.onChange)(n.removeAllInlineStyles(e))},n.removeAllInlineStyles=function(t){var e=t.getCurrentContent();return["BOLD","ITALIC","UNDERLINE","STRIKETHROUGH","MONOSPACE","SUPERSCRIPT","SUBSCRIPT"].forEach((function(n){e=s.Modifier.removeInlineStyle(e,t.getSelection(),n)})),_(Object(c.getSelectionCustomInlineStyle)(t,["FONTSIZE","FONTFAMILY","COLOR","BGCOLOR"]),(function(n,r){r&&(e=s.Modifier.removeInlineStyle(e,t.getSelection(),r))})),s.EditorState.push(t,e,"change-inline-style")},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vn(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){this.props.modalHandler.registerCallBack(this.expandCollapse)}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state.expanded,i=e.component||hn;return o.a.createElement(i,{config:e,translations:n,expanded:r,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.removeInlineStyles})}}])&&yn(e.prototype,n),t}();function _n(t){return(_n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Sn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function wn(t){return(wn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Mn(t,e){return(Mn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}bn.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object.isRequired,config:a.a.object,translations:a.a.object,modalHandler:a.a.object},n(32);var En=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==_n(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=wn(t)).call.apply(e,[this].concat(o)))).onChange=function(t){(0,n.props.onChange)(t)},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mn(t,e)}(t,r.Component),e=t,(n=[{key:"renderInDropDown",value:function(){var t=this.props,e=t.config,n=t.expanded,r=t.doExpand,i=t.onExpandEvent,a=t.doCollapse,s=t.currentState,c=s.undoDisabled,u=s.redoDisabled,p=t.translations,f=e.options,d=e.undo,h=e.redo,g=e.className,y=e.dropdownClassName,m=e.title;return o.a.createElement(P,{className:l()("rdw-history-dropdown",g),optionWrapperClassName:l()(y),expanded:n,doExpand:r,doCollapse:a,onExpandEvent:i,"aria-label":"rdw-history-control",title:m||p["components.controls.history.history"]},o.a.createElement("img",{src:M(e),alt:""}),0<=f.indexOf("undo")&&o.a.createElement(q,{value:"undo",onClick:this.onChange,disabled:c,className:l()("rdw-history-dropdownoption",d.className),title:d.title||p["components.controls.history.undo"]},o.a.createElement("img",{src:d.icon,alt:""})),0<=f.indexOf("redo")&&o.a.createElement(q,{value:"redo",onClick:this.onChange,disabled:u,className:l()("rdw-history-dropdownoption",h.className),title:h.title||p["components.controls.history.redo"]},o.a.createElement("img",{src:h.icon,alt:""})))}},{key:"renderInFlatList",value:function(){var t=this.props,e=t.config,n=e.options,r=e.undo,i=e.redo,a=e.className,s=t.currentState,c=s.undoDisabled,u=s.redoDisabled,p=t.translations;return o.a.createElement("div",{className:l()("rdw-history-wrapper",a),"aria-label":"rdw-history-control"},0<=n.indexOf("undo")&&o.a.createElement(N,{value:"undo",onClick:this.onChange,className:l()(r.className),disabled:c,title:r.title||p["components.controls.history.undo"]},o.a.createElement("img",{src:r.icon,alt:""})),0<=n.indexOf("redo")&&o.a.createElement(N,{value:"redo",onClick:this.onChange,className:l()(i.className),disabled:u,title:i.title||p["components.controls.history.redo"]},o.a.createElement("img",{src:i.icon,alt:""})))}},{key:"render",value:function(){return this.props.config.inDropdown?this.renderInDropDown():this.renderInFlatList()}}])&&Sn(e.prototype,n),t}();function kn(t){return(kn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function xn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Cn(t){return(Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function jn(t,e){return(jn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}En.propTypes={expanded:a.a.bool,doExpand:a.a.func,doCollapse:a.a.func,onExpandEvent:a.a.func,config:a.a.object,onChange:a.a.func,currentState:a.a.object,translations:a.a.object};var On=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==kn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,Cn(t).call(this,e))).onExpandEvent=function(){n.signalExpanded=!n.state.expanded},n.onChange=function(t){var e=n.props,r=e.editorState,o=e.onChange,i=s.EditorState[t](r);i&&o(i)},n.doExpand=function(){n.setState({expanded:!0})},n.doCollapse=function(){n.setState({expanded:!1})};var r={expanded:!(n.expandCollapse=function(){n.setState({expanded:n.signalExpanded}),n.signalExpanded=!1}),undoDisabled:!1,redoDisabled:!1},o=e.editorState,i=e.modalHandler;return o&&(r.undoDisabled=0===o.getUndoStack().size,r.redoDisabled=0===o.getRedoStack().size),n.state=r,i.registerCallBack(n.expandCollapse),n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jn(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidUpdate",value:function(t){var e=this.props.editorState;e&&t.editorState!==e&&this.setState({undoDisabled:0===e.getUndoStack().size,redoDisabled:0===e.getRedoStack().size})}},{key:"componentWillUnmount",value:function(){this.props.modalHandler.deregisterCallBack(this.expandCollapse)}},{key:"render",value:function(){var t=this.props,e=t.config,n=t.translations,r=this.state,i=r.undoDisabled,a=r.redoDisabled,s=r.expanded,c=e.component||En;return o.a.createElement(c,{config:e,translations:n,currentState:{undoDisabled:i,redoDisabled:a},expanded:s,onExpandEvent:this.onExpandEvent,doExpand:this.doExpand,doCollapse:this.doCollapse,onChange:this.onChange})}}])&&xn(e.prototype,n),t}();On.propTypes={onChange:a.a.func.isRequired,editorState:a.a.object,modalHandler:a.a.object,config:a.a.object,translations:a.a.object};var Dn={inline:tt,blockType:ft,fontSize:wt,fontFamily:Nt,list:Ht,textAlign:$t,colorPicker:pe,link:Oe,embedded:Fe,emoji:Xe,image:dn,remove:bn,history:On};function In(t){return(In="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ln(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Nn(t){return(Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function An(t,e){return(An=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Tn(t,e,n){t.findEntityRanges((function(t){var e=t.getEntity();return null!==e&&"LINK"===n.getEntity(e).getType()}),e)}function zn(t){var e,n,i=t.showOpenOptionOnHover;return n=e=function(){function t(){var e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=function(t,e){return!e||"object"!==In(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=Nn(t)).call.apply(e,[this].concat(o)))).state={showPopOver:!1},n.openLink=function(){var t=n.props,e=t.entityKey,r=t.contentState.getEntity(e).getData().url,o=window.open(r,"blank");o&&o.focus()},n.toggleShowPopOver=function(){var t=!n.state.showPopOver;n.setState({showPopOver:t})},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&An(t,e)}(t,r.Component),e=t,(n=[{key:"render",value:function(){var t=this.props,e=t.children,n=t.entityKey,r=t.contentState.getEntity(n).getData(),a=r.url,s=r.targetOption,c=this.state.showPopOver;return o.a.createElement("span",{className:"rdw-link-decorator-wrapper",onMouseEnter:this.toggleShowPopOver,onMouseLeave:this.toggleShowPopOver},o.a.createElement("a",{href:a,target:s},e),c&&i?o.a.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuMDcyIDBIOC45MTVhLjkyNS45MjUgMCAwIDAgMCAxLjg0OWgyLjkyNUw2Ljk2MSA2LjcyN2EuOTE4LjkxOCAwIDAgMC0uMjcuNjU0YzAgLjI0Ny4wOTUuNDguMjcuNjU0YS45MTguOTE4IDAgMCAwIC42NTQuMjcuOTE4LjkxOCAwIDAgMCAuNjUzLS4yN2w0Ljg4LTQuODh2Mi45MjZhLjkyNS45MjUgMCAwIDAgMS44NDggMFYuOTI0QS45MjUuOTI1IDAgMCAwIDE0LjA3MiAweiIvPjxwYXRoIGQ9Ik0xMC42MjMgMTMuNDExSDEuNTg1VjQuMzcyaDYuNzk4bDEuNTg0LTEuNTg0SC43OTJBLjc5Mi43OTIgMCAwIDAgMCAzLjU4djEwLjYyNGMwIC40MzcuMzU1Ljc5Mi43OTIuNzkyaDEwLjYyNGEuNzkyLjc5MiAwIDAgMCAuNzkyLS43OTJWNS4wMjlsLTEuNTg1IDEuNTg0djYuNzk4eiIvPjwvZz48L3N2Zz4=",alt:"",onClick:this.openLink,className:"rdw-link-decorator-icon"}):void 0)}}])&&Ln(e.prototype,n),t}(),e.propTypes={entityKey:a.a.string.isRequired,children:a.a.array,contentState:a.a.object},n}function Rn(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,Rn),this.getMentionComponent=function(){function t(t){var e=t.entityKey,r=t.children,i=t.contentState.getEntity(e).getData(),a=i.url,s=i.value;return o.a.createElement("a",{href:a||s,className:l()("rdw-mention-link",n)},r)}var n=e.className;return t.propTypes={entityKey:a.a.number,children:a.a.array,contentState:a.a.object},t},this.getMentionDecorator=function(){return{strategy:e.findMentionEntities,component:e.getMentionComponent()}},this.className=t}n(33),n(34),Rn.prototype.findMentionEntities=function(t,e,n){t.findEntityRanges((function(t){var e=t.getEntity();return null!==e&&"MENTION"===n.getEntity(e).getType()}),e)};var Pn=Rn;function Bn(t){return(Bn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Un(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Fn(t){return(Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Kn(t,e){return(Kn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Hn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n(35);var qn=function t(e){var n=this;Hn(this,t),this.findSuggestionEntities=function(t,e){if(n.config.getEditorState()){var r=n.config,o=r.separator,i=r.trigger,a=r.getSuggestions,s=(0,r.getEditorState)().getSelection();if(s.get("anchorKey")===t.get("key")&&s.get("anchorKey")===s.get("focusKey")){var c=t.getText(),u=(c=c.substr(0,s.get("focusOffset")===c.length-1?c.length:s.get("focusOffset")+1)).lastIndexOf(o+i),l=o+i;if((void 0===u||u<0)&&c[0]===i&&(u=0,l=i),0<=u){var p=c.substr(u+l.length,c.length);a().some((function(t){return!!t.value&&(n.config.caseSensitive?0<=t.value.indexOf(p):0<=t.value.toLowerCase().indexOf(p&&p.toLowerCase()))}))&&e(0===u?0:u+1,c.length)}}}},this.getSuggestionComponent=function(){var t,e,n=this.config;return e=t=function(){function t(){var e,r;Hn(this,t);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=function(t,e){return!e||"object"!==Bn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(e=Fn(t)).call.apply(e,[this].concat(i)))).state={style:{left:15},activeOption:-1,showSuggestions:!0},r.onEditorKeyDown=function(t){var e=r.state.activeOption,n={};"ArrowDown"===t.key?(t.preventDefault(),e===r.filteredSuggestions.length-1?n.activeOption=0:n.activeOption=e+1):"ArrowUp"===t.key?n.activeOption=e<=0?r.filteredSuggestions.length-1:e-1:"Escape"===t.key?(n.showSuggestions=!1,m()):"Enter"===t.key&&r.addMention(),r.setState(n)},r.onOptionMouseEnter=function(t){var e=t.target.getAttribute("data-index");r.setState({activeOption:e})},r.onOptionMouseLeave=function(){r.setState({activeOption:-1})},r.setSuggestionReference=function(t){r.suggestion=t},r.setDropdownReference=function(t){r.dropdown=t},r.closeSuggestionDropdown=function(){r.setState({showSuggestions:!1})},r.filteredSuggestions=[],r.filterSuggestions=function(t){var e=t.children[0].props.text.substr(1),o=n.getSuggestions();r.filteredSuggestions=o&&o.filter((function(t){return!e||0===e.length||(n.caseSensitive?0<=t.value.indexOf(e):0<=t.value.toLowerCase().indexOf(e&&e.toLowerCase()))}))},r.addMention=function(){var t=r.state.activeOption,e=n.getEditorState(),o=n.onChange,i=n.separator,a=n.trigger,u=r.filteredSuggestions[t];u&&function(t,e,n,r,o){var i=o.value,a=o.url,u=t.getCurrentContent().createEntity("MENTION","IMMUTABLE",{text:"".concat(r).concat(i),value:i,url:a}).getLastCreatedEntityKey(),l=Object(c.getSelectedBlock)(t).getText(),p=t.getSelection().focusOffset,f=(l.lastIndexOf(n+r,p)||0)+1,d=!1;l.length===f+1&&(p=l.length)," "===l[p]&&(d=!0);var h=t.getSelection().merge({anchorOffset:f,focusOffset:p}),g=s.EditorState.acceptSelection(t,h),y=s.Modifier.replaceText(g.getCurrentContent(),h,"".concat(r).concat(i),g.getCurrentInlineStyle(),u);g=s.EditorState.push(g,y,"insert-characters"),d||(h=g.getSelection().merge({anchorOffset:f+i.length+r.length,focusOffset:f+i.length+r.length}),g=s.EditorState.acceptSelection(g,h),y=s.Modifier.insertText(g.getCurrentContent(),h," ",g.getCurrentInlineStyle(),void 0)),e(s.EditorState.push(g,y,"insert-characters"))}(e,o,i,a,u)},r}var e,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kn(t,e)}(t,r.Component),e=t,(i=[{key:"componentDidMount",value:function(){var t,e,r,o=n.getWrapperRef().getBoundingClientRect(),i=this.suggestion.getBoundingClientRect(),a=this.dropdown.getBoundingClientRect();o.width<i.left-o.left+a.width?e=15:t=15,o.bottom<a.bottom&&(r=0),this.setState({style:{left:t,right:e,bottom:r}}),g.registerCallBack(this.onEditorKeyDown),y(),n.modalHandler.setSuggestionCallback(this.closeSuggestionDropdown),this.filterSuggestions(this.props)}},{key:"componentDidUpdate",value:function(t){this.props.children!==t.children&&(this.filterSuggestions(t),this.setState({showSuggestions:!0}))}},{key:"componentWillUnmount",value:function(){g.deregisterCallBack(this.onEditorKeyDown),m(),n.modalHandler.removeSuggestionCallback()}},{key:"render",value:function(){var t=this,e=this.props.children,r=this.state,i=r.activeOption,a=r.showSuggestions,s=n.dropdownClassName,c=n.optionClassName;return o.a.createElement("span",{className:"rdw-suggestion-wrapper",ref:this.setSuggestionReference,onClick:n.modalHandler.onSuggestionClick,"aria-haspopup":"true","aria-label":"rdw-suggestion-popup"},o.a.createElement("span",null,e),a&&o.a.createElement("span",{className:l()("rdw-suggestion-dropdown",s),contentEditable:"false",suppressContentEditableWarning:!0,style:this.state.style,ref:this.setDropdownReference},this.filteredSuggestions.map((function(e,n){return o.a.createElement("span",{key:n,spellCheck:!1,onClick:t.addMention,"data-index":n,onMouseEnter:t.onOptionMouseEnter,onMouseLeave:t.onOptionMouseLeave,className:l()("rdw-suggestion-option",c,{"rdw-suggestion-option-active":n===i})},e.text)}))))}}])&&Un(e.prototype,i),t}(),t.propTypes={children:a.a.array},e}.bind(this),this.getSuggestionDecorator=function(){return{strategy:n.findSuggestionEntities,component:n.getSuggestionComponent()}};var i=e.separator,u=e.trigger,p=e.getSuggestions,f=e.onChange,d=e.getEditorState,h=e.getWrapperRef,v=e.caseSensitive,b=e.dropdownClassName,_=e.optionClassName,S=e.modalHandler;this.config={separator:i,trigger:u,getSuggestions:p,onChange:f,getEditorState:d,getWrapperRef:h,caseSensitive:v,dropdownClassName:b,optionClassName:_,modalHandler:S}};function Yn(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,Yn),this.getHashtagComponent=function(){function t(t){var e=t.children,r=e[0].props.text;return o.a.createElement("a",{href:r,className:l()("rdw-hashtag-link",n)},e)}var n=e.className;return t.propTypes={children:a.a.object},t},this.findHashtagEntities=function(t,n){for(var r=t.getText(),o=0,i=0;0<r.length&&0<=o;)if(r[0]===e.hashCharacter?(i=o=0,r=r.substr(e.hashCharacter.length)):0<=(o=r.indexOf(e.separator+e.hashCharacter))&&(r=r.substr(o+(e.separator+e.hashCharacter).length),i+=o+e.separator.length),0<=o){var a=0<=r.indexOf(e.separator)?r.indexOf(e.separator):r.length,s=r.substr(0,a);s&&0<s.length&&(n(i,i+s.length+e.hashCharacter.length),i+=e.hashCharacter.length)}},this.getHashtagDecorator=function(){return{strategy:e.findHashtagEntities,component:e.getHashtagComponent()}},this.className=t.className,this.hashCharacter=t.hashCharacter||"#",this.separator=t.separator||" "}function Wn(t){var e=t.block,n=t.contentState.getEntity(e.getEntityAt(0)).getData(),r=n.src,i=n.height,a=n.width;return o.a.createElement("iframe",{height:i,width:a,src:r,frameBorder:"0",allowFullScreen:!0,title:"Wysiwyg Embedded Content"})}n(36);Wn.propTypes={block:a.a.object,contentState:a.a.object};var Qn=Wn;function Zn(t){return(Zn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Vn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Gn(t){return(Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Jn(t,e){return(Jn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(37);var Xn=function(t){var e,n;return n=e=function(){function e(){var n,r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=function(t,e){return!e||"object"!==Zn(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,(n=Gn(e)).call.apply(n,[this].concat(i)))).state={hovered:!1},r.setEntityAlignmentLeft=function(){r.setEntityAlignment("left")},r.setEntityAlignmentRight=function(){r.setEntityAlignment("right")},r.setEntityAlignmentCenter=function(){r.setEntityAlignment("none")},r.setEntityAlignment=function(e){var n=r.props,o=n.block,i=n.contentState,a=o.getEntityAt(0);i.mergeEntityData(a,{alignment:e}),t.onChange(s.EditorState.push(t.getEditorState(),i,"change-block-data")),r.setState({dummy:!0})},r.toggleHovered=function(){var t=!r.state.hovered;r.setState({hovered:t})},r}var n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jn(t,e)}(e,r.Component),n=e,(i=[{key:"renderAlignmentOptions",value:function(t){return o.a.createElement("div",{className:l()("rdw-image-alignment-options-popup",{"rdw-image-alignment-options-popup-right":"right"===t})},o.a.createElement(N,{onClick:this.setEntityAlignmentLeft,className:"rdw-image-alignment-option"},"L"),o.a.createElement(N,{onClick:this.setEntityAlignmentCenter,className:"rdw-image-alignment-option"},"C"),o.a.createElement(N,{onClick:this.setEntityAlignmentRight,className:"rdw-image-alignment-option"},"R"))}},{key:"render",value:function(){var e=this.props,n=e.block,r=e.contentState,i=this.state.hovered,a=t.isReadOnly,s=t.isImageAlignmentEnabled,c=r.getEntity(n.getEntityAt(0)).getData(),u=c.src,p=c.alignment,f=c.height,d=c.width,h=c.alt;return o.a.createElement("span",{onMouseEnter:this.toggleHovered,onMouseLeave:this.toggleHovered,className:l()("rdw-image-alignment",{"rdw-image-left":"left"===p,"rdw-image-right":"right"===p,"rdw-image-center":!p||"none"===p})},o.a.createElement("span",{className:"rdw-image-imagewrapper"},o.a.createElement("img",{src:u,alt:h,style:{height:f,width:d}}),!a()&&i&&s()?this.renderAlignmentOptions(p):void 0))}}])&&Vn(n.prototype,i),e}(),e.propTypes={block:a.a.object,contentState:a.a.object},n},$n={options:["inline","blockType","fontSize","fontFamily","list","textAlign","colorPicker","link","embedded","emoji","image","remove","history"],inline:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["bold","italic","underline","strikethrough","monospace","superscript","subscript"],bold:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuMjM2IDBjMS42NTIgMCAyLjk0LjI5OCAzLjg2Ni44OTMuOTI1LjU5NSAxLjM4OCAxLjQ4NSAxLjM4OCAyLjY2OSAwIC42MDEtLjE3MyAxLjEzOS0uNTE2IDEuNjEtLjM0My40NzQtLjg0NC44My0xLjQ5OSAxLjA2OC44NDMuMTY3IDEuNDc0LjUyMyAxLjg5NSAxLjA3MS40MTkuNTUuNjMgMS4xODMuNjMgMS45MDMgMCAxLjI0NS0uNDQ0IDIuMTg3LTEuMzMgMi44MjUtLjg4Ni42NDEtMi4xNDQuOTYxLTMuNzY5Ljk2MUgwdi0yLjE2N2gxLjQ5NFYyLjE2N0gwVjBoNi4yMzZ6TTQuMzA4IDUuNDQ2aDIuMDI0Yy43NTIgMCAxLjMzLS4xNDMgMS43MzQtLjQzLjQwNS0uMjg1LjYwOC0uNzAxLjYwOC0xLjI1IDAtLjYtLjIwNC0xLjA0NC0uNjEyLTEuMzMtLjQwOC0uMjg2LTEuMDE2LS40MjctMS44MjYtLjQyN0g0LjMwOHYzLjQzN3ptMCAxLjgwNFYxMWgyLjU5M2MuNzQ3IDAgMS4zMTQtLjE1MiAxLjcwNy0uNDUyLjM5LS4zLjU4OC0uNzQ1LjU4OC0xLjMzNCAwLS42MzYtLjE2OC0xLjEyNC0uNS0xLjQ2LS4zMzYtLjMzNS0uODY0LS41MDQtMS41ODItLjUwNEg0LjMwOHoiIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==",className:void 0,title:void 0},italic:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTcgM1YyaDR2MUg5Ljc1M2wtMyAxMEg4djFINHYtMWgxLjI0N2wzLTEwSDd6Ii8+PC9zdmc+",className:void 0,title:void 0},underline:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZD0iTTYuMDQ1IDJ2Ljk5Mkw0Ljc4NSAzdjUuMTcyYzAgLjg1OS4yNDMgMS41MTIuNzI3IDEuOTU3czEuMTI0LjY2OCAxLjkxOC42NjhjLjgzNiAwIDEuNTA5LS4yMjEgMi4wMTktLjY2NC41MTEtLjQ0Mi43NjYtMS4wOTYuNzY2LTEuOTYxVjNsLTEuMjYtLjAwOFYySDEzdi45OTJMMTEuNzM5IDN2NS4xNzJjMCAxLjIzNC0uMzk4IDIuMTgxLTEuMTk1IDIuODQtLjc5Ny42NTktMS44MzUuOTg4LTMuMTE0Ljk4OC0xLjI0MiAwLTIuMjQ4LS4zMjktMy4wMTctLjk4OC0uNzY5LS42NTktMS4xNTItMS42MDUtMS4xNTItMi44NFYzTDIgMi45OTJWMmg0LjA0NXpNMiAxM2gxMXYxSDJ6Ii8+PC9zdmc+",className:void 0,title:void 0},strikethrough:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNC4wNCA1Ljk1NGg2LjIxNWE3LjQxMiA3LjQxMiAwIDAgMC0uNzk1LS40MzggMTEuOTA3IDExLjkwNyAwIDAgMC0xLjQ0Ny0uNTU3Yy0xLjE4OC0uMzQ4LTEuOTY2LS43MTEtMi4zMzQtMS4wODgtLjM2OC0uMzc3LS41NTItLjc3LS41NTItMS4xODEgMC0uNDk1LjE4Ny0uOTA2LjU2LTEuMjMyLjM4LS4zMzEuODg3LS40OTcgMS41MjMtLjQ5Ny42OCAwIDEuMjY2LjI1NSAxLjc1Ny43NjcuMjk1LjMxNS41ODIuODkxLjg2MSAxLjczbC4xMTcuMDE2LjcwMy4wNS4xLS4wMjRjLjAyOC0uMTUyLjA0Mi0uMjc5LjA0Mi0uMzggMC0uMzM3LS4wMzktLjg1Mi0uMTE3LTEuNTQ0YTkuMzc0IDkuMzc0IDAgMCAwLS4xNzYtLjk5NUM5Ljg4LjM3OSA5LjM4NS4yNDQgOS4wMTcuMTc2IDguMzY1LjA3IDcuODk5LjAxNiA3LjYyLjAxNmMtMS40NSAwLTIuNTQ1LjM1Ny0zLjI4NyAxLjA3MS0uNzQ3LjcyLTEuMTIgMS41ODktMS4xMiAyLjYwNyAwIC41MTEuMTMzIDEuMDQuNCAxLjU4Ni4xMjkuMjUzLjI3LjQ3OC40MjcuNjc0ek04LjI4IDguMTE0Yy41NzUuMjM2Ljk1Ny40MzYgMS4xNDcuNTk5LjQ1MS40MS42NzcuODUyLjY3NyAxLjMyNCAwIC4zODMtLjEzLjc0NS0uMzkzIDEuMDg4LS4yNS4zMzgtLjU5LjU4LTEuMDIuNzI2YTMuNDE2IDMuNDE2IDAgMCAxLTEuMTYzLjIyOGMtLjQwNyAwLS43NzUtLjA2Mi0xLjEwNC0uMTg2YTIuNjk2IDIuNjk2IDAgMCAxLS44NzgtLjQ4IDMuMTMzIDMuMTMzIDAgMCAxLS42Ny0uNzk0IDEuNTI3IDEuNTI3IDAgMCAxLS4xMDQtLjIyNyA1Ny41MjMgNTcuNTIzIDAgMCAwLS4xODgtLjQ3MyAyMS4zNzEgMjEuMzcxIDAgMCAwLS4yNTEtLjU5OWwtLjg1My4wMTd2LjM3MWwtLjAxNy4zMTNhOS45MiA5LjkyIDAgMCAwIDAgLjU3M2MuMDExLjI3LjAxNy43MDkuMDE3IDEuMzE2di4xMWMwIC4wNzkuMDIyLjE0LjA2Ny4xODUuMDgzLjA2OC4yODQuMTQ3LjYwMi4yMzdsMS4xNy4zMzdjLjQ1Mi4xMy45OTYuMTk0IDEuNjMyLjE5NC42ODYgMCAxLjI1Mi0uMDU5IDEuNjk4LS4xNzdhNC42OTQgNC42OTQgMCAwIDAgMS4yOC0uNTU3Yy40MDEtLjI1OS43MDUtLjQ4Ni45MTEtLjY4My4yNjgtLjI3Ni40NjYtLjU2OC41OTQtLjg3OGE0Ljc0IDQuNzQgMCAwIDAgLjM0My0xLjc4OGMwLS4yOTgtLjAyLS41NTctLjA1OC0uNzc2SDguMjgxek0xNC45MTQgNi41N2EuMjYuMjYgMCAwIDAtLjE5My0uMDc2SC4yNjhhLjI2LjI2IDAgMCAwLS4xOTMuMDc2LjI2NC4yNjQgMCAwIDAtLjA3NS4xOTR2LjU0YzAgLjA3OS4wMjUuMTQzLjA3NS4xOTRhLjI2LjI2IDAgMCAwIC4xOTMuMDc2SDE0LjcyYS4yNi4yNiAwIDAgMCAuMTkzLS4wNzYuMjY0LjI2NCAwIDAgMCAuMDc1LS4xOTR2LS41NGEuMjY0LjI2NCAwIDAgMC0uMDc1LS4xOTR6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},monospace:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzQ0NCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS4wMjEgMi45MDZjLjE4NiAxLjIxOS4zNzIgMS41LjM3MiAyLjcxOUMxLjM5MyA2LjM3NSAwIDcuMDMxIDAgNy4wMzF2LjkzOHMxLjM5My42NTYgMS4zOTMgMS40MDZjMCAxLjIxOS0uMTg2IDEuNS0uMzcyIDIuNzE5Qy43NDMgMTQuMDYzIDEuNzY0IDE1IDIuNjkzIDE1aDEuOTV2LTEuODc1cy0xLjY3Mi4xODgtMS42NzItLjkzOGMwLS44NDMuMTg2LS44NDMuMzcyLTIuNzE4LjA5My0uODQ0LS40NjQtMS41LTEuMDIyLTEuOTY5LjU1OC0uNDY5IDEuMTE1LTEuMDMxIDEuMDIyLTEuODc1QzMuMDY0IDMuNzUgMi45NyAzLjc1IDIuOTcgMi45MDZjMC0xLjEyNSAxLjY3Mi0xLjAzMSAxLjY3Mi0xLjAzMVYwaC0xLjk1QzEuNjcgMCAuNzQzLjkzOCAxLjAyIDIuOTA2ek0xMS45NzkgMi45MDZjLS4xODYgMS4yMTktLjM3MiAxLjUtLjM3MiAyLjcxOSAwIC43NSAxLjM5MyAxLjQwNiAxLjM5MyAxLjQwNnYuOTM4cy0xLjM5My42NTYtMS4zOTMgMS40MDZjMCAxLjIxOS4xODYgMS41LjM3MiAyLjcxOS4yNzggMS45NjktLjc0MyAyLjkwNi0xLjY3MiAyLjkwNmgtMS45NXYtMS44NzVzMS42NzIuMTg4IDEuNjcyLS45MzhjMC0uODQzLS4xODYtLjg0My0uMzcyLTIuNzE4LS4wOTMtLjg0NC40NjQtMS41IDEuMDIyLTEuOTY5LS41NTgtLjQ2OS0xLjExNS0xLjAzMS0xLjAyMi0xLjg3NS4xODYtMS44NzUuMzcyLTEuODc1LjM3Mi0yLjcxOSAwLTEuMTI1LTEuNjcyLTEuMDMxLTEuNjcyLTEuMDMxVjBoMS45NWMxLjAyMiAwIDEuOTUuOTM4IDEuNjcyIDIuOTA2eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},superscript:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcuMzA1IDEwLjE2NUwxMS44NjUgMTVIOS4wNTdsLTMuMTkyLTMuNTM2TDIuNzQ2IDE1SDBsNC41MjMtNC44MzVMLjIxOCA1LjYwM2gyLjc3TDUuOTg2IDguOTEgOS4wMSA1LjYwM2gyLjY0OWwtNC4zNTQgNC41NjJ6bTYuMjM0LTMuMjY5bDEuODc5LTEuMzA2Yy42NC0uNDE2IDEuMDYyLS44MDEgMS4yNjQtMS4xNTcuMjAxLS4zNTYuMzAyLS43MzguMzAyLTEuMTQ4IDAtLjY2OS0uMjM3LTEuMjEtLjcxLTEuNjItLjQ3NC0uNDExLTEuMDk3LS42MTctMS44NjgtLjYxNy0uNzQ0IDAtMS4zNC4yMDgtMS43ODUuNjI0LS40NDcuNDE2LS42NyAxLjA0My0uNjcgMS44ODFoMS40MzZjMC0uNS4wOTQtLjg0Ni4yODEtMS4wMzguMTg4LS4xOTEuNDQ1LS4yODcuNzcyLS4yODdzLjU4NS4wOTcuNzc3LjI5MmMuMTkuMTk1LjI4Ni40MzcuMjg2LjcyNiAwIC4yOS0uMDg5LjU1LS4yNjYuNzg1cy0uNjcuNjI4LTEuNDc5IDEuMTg0Yy0uNjkxLjQ3Ny0xLjYyNy45MjctMS45MDggMS4zNWwuMDE0IDEuNTY5SDE3VjYuODk2aC0zLjQ2MXoiLz48L3N2Zz4=",className:void 0,title:void 0},subscript:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjg2NiAxMS42NDZIOS4wNkw1Ljg2NyA3Ljk0MmwtMy4xMjEgMy43MDRIMGw0LjUyNC01LjA2NEwuMjE4IDEuODA0aDIuNzdsMyAzLjQ2NCAzLjAyMy0zLjQ2NGgyLjY1TDcuMzA2IDYuNTgybDQuNTYgNS4wNjR6bTEuNzI1IDIuMDU4bDEuODI3LTEuMzY4Yy42NC0uNDM1IDEuMDYyLS44NCAxLjI2NC0xLjIxMi4yMDItLjM3Mi4zMDItLjc3My4zMDItMS4yMDIgMC0uNy0uMjM3LTEuMjY2LS43MS0xLjY5Ni0uNDc0LS40MzEtMS4wOTctLjY0Ni0xLjg2OS0uNjQ2LS43NDQgMC0xLjM0LjIxOC0xLjc4NS42NTMtLjQ0Ni40MzYtLjY3IDEuMDkyLS42NyAxLjk3aDEuNDM2YzAtLjUyNC4wOTQtLjg4Ni4yODEtMS4wODcuMTg4LS4yLjQ0NS0uMzAxLjc3Mi0uMzAxcy41ODYuMTAyLjc3Ny4zMDZjLjE5LjIwNC4yODYuNDU4LjI4Ni43NiAwIC4zMDMtLjA4OC41NzctLjI2Ni44MjItLjE3Ny4yNDUtLjY3LjY1OC0xLjQ3OCAxLjI0LS42OTIuNS0xLjYyOC45NzEtMS45MSAxLjQxM0wxMS44NjQgMTVIMTd2LTEuMjk2aC0zLjQxeiIvPjwvc3ZnPg==",className:void 0,title:void 0}},blockType:{inDropdown:!0,options:["Normal","H1","H2","H3","H4","H5","H6","Blockquote","Code"],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},fontSize:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuOTIxIDMuMTE5YS40MjcuNDI3IDAgMCAwIC4zMzUuMTY0aC45N2EuNDI2LjQyNiAwIDAgMCAuMzA0LS4xMy40NDEuNDQxIDAgMCAwIC4xMjUtLjMxbC4wMDItMi40MWEuNDM0LjQzNCAwIDAgMC0uNDMtLjQzMkguNDNBLjQzNC40MzQgMCAwIDAgMCAuNDR2Mi40MDZjMCAuMjQyLjE5Mi40MzguNDMuNDM4aC45N2MuMTMgMCAuMjU0LS4wNi4zMzUtLjE2NWwuNzMtLjkzSDUuNTR2MTEuMzZjMCAuMjQxLjE5Mi40MzcuNDMuNDM3aDEuNzE3Yy4yMzcgMCAuNDMtLjE5Ni40My0uNDM3VjIuMTg4aDMuMDdsLjczNC45MzF6TTEzLjg5OCAxMS4yNjNhLjQyNS40MjUgMCAwIDAtLjQ4Mi0uMTQ2bC0uNTQ3LjE5NFY5LjYxN2EuNDQyLjQ0MiAwIDAgMC0uMTI2LS4zMS40MjYuNDI2IDAgMCAwLS4zMDQtLjEyN2gtLjQyOWEuNDM0LjQzNCAwIDAgMC0uNDMuNDM3djEuNjk0bC0uNTQ3LS4xOTRhLjQyNS40MjUgMCAwIDAtLjQ4MS4xNDYuNDQ0LjQ0NCAwIDAgMC0uMDE2LjUxMmwxLjMzMiAyLjAxN2EuNDI3LjQyNyAwIDAgMCAuNzEzIDBsMS4zMzMtMi4wMTdhLjQ0NC40NDQgMCAwIDAtLjAxNi0uNTEyeiIvPjwvZz48L3N2Zz4=",options:[8,9,10,11,12,14,16,18,24,30,36,48,60,72,96],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},fontFamily:{options:["Arial","Georgia","Impact","Tahoma","Times New Roman","Verdana"],className:void 0,component:void 0,dropdownClassName:void 0,title:void 0},list:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["unordered","ordered","indent","outdent"],unordered:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMS43MiAzLjQyN2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3LjAxIDEuNzIuMDFDLjc3LjAwOCAwIC43NzUgMCAxLjcxNWMwIC45NC43NzQgMS43MTEgMS43MiAxLjcxMXptMC0yLjYyNWMuNTEgMCAuOTIyLjQxMi45MjIuOTE0YS45Mi45MiAwIDAgMS0xLjg0MiAwIC45Mi45MiAwIDAgMSAuOTItLjkxNHpNMS43MiA4LjcwM2MuOTUxIDAgMS43MjItLjc2OCAxLjcyMi0xLjcwOFMyLjY3IDUuMjg3IDEuNzIgNS4yODdDLjc3IDUuMjg3IDAgNi4wNTIgMCA2Ljk5NXMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjJjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAwIDEtMS44NDIgMGMwLS41MDUuNDE1LS45MTQuOTItLjkxNHpNMS43MiAxMy45ODJjLjk1MSAwIDEuNzIyLS43NjggMS43MjItMS43MDggMC0uOTQzLS43NzQtMS43MDgtMS43MjEtMS43MDgtLjk0NyAwLTEuNzIxLjc2OC0xLjcyMSAxLjcwOHMuNzc0IDEuNzA4IDEuNzIgMS43MDh6bTAtMi42MjVjLjUxIDAgLjkyMi40MTIuOTIyLjkxNGEuOTIuOTIgMCAxIDEtMS44NDIgMCAuOTIuOTIgMCAwIDEgLjkyLS45MTR6TTUuNzQ0IDIuMTE1aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOTlINS43NDRhLjQuNCAwIDAgMC0uNDAyLjM5OS40LjQgMCAwIDAgLjQwMi4zOTl6TTUuNzQ0IDcuMzk0aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOThINS43NDRhLjQuNCAwIDAgMC0uNDAyLjM5OC40LjQgMCAwIDAgLjQwMi4zOTl6TTUuNzQ0IDEyLjY3aDkuODQ1YS40LjQgMCAwIDAgLjQwMS0uMzk5LjQuNCAwIDAgMC0uNDAxLS4zOTlINS43NDRhLjQuNCAwIDAgMC0uNDAyLjQuNC40IDAgMCAwIC40MDIuMzk4eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},ordered:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNC4yMDIgMS40NjZoOC4xNWMuMzM4IDAgLjYxMi0uMzIyLjYxMi0uNzIgMC0uMzk3LS4yNzQtLjcyLS42MTItLjcyaC04LjE1Yy0uMzM4IDAtLjYxMS4zMjMtLjYxMS43MiAwIC4zOTguMjczLjcyLjYxLjcyek0xMi4zNTIgNS43ODNoLTguMTVjLS4zMzggMC0uNjExLjMyMi0uNjExLjcyIDAgLjM5Ny4yNzMuNzIuNjEuNzJoOC4xNTFjLjMzOCAwIC42MTItLjMyMy42MTItLjcyIDAtLjM5OC0uMjc0LS43Mi0uNjEyLS43MnpNMTIuMzUyIDExLjU0aC04LjE1Yy0uMzM4IDAtLjYxMS4zMjItLjYxMS43MiAwIC4zOTYuMjczLjcxOS42MS43MTloOC4xNTFjLjMzOCAwIC42MTItLjMyMy42MTItLjcyIDAtLjM5Ny0uMjc0LS43Mi0uNjEyLS43MnpNLjc2NyAxLjI0OXYxLjgwMmMwIC4xOTUuMTM2LjM0My4zMTUuMzQzLjE3NiAwIC4zMTUtLjE1LjMxNS0uMzQzVi4zNTZjMC0uMTktLjEzMy0uMzM5LS4zMDItLjMzOS0uMTQ4IDAtLjIyMy4xMTgtLjI0Ny4xNTZhLjIyOC4yMjggMCAwIDAtLjAwMy4wMDVMLjU3OS42MjFhLjQ3NC40NzQgMCAwIDAtLjA5OC4yNzNjMCAuMTk0LjEyOC4zNTEuMjg2LjM1NXpNLjM1MiA4LjE5SDEuNTVjLjE1NyAwIC4yODUtLjE2Mi4yODUtLjM2MiAwLS4xOTgtLjEyOC0uMzU5LS4yODUtLjM1OUguNjh2LS4wMDZjMC0uMTA3LjIxLS4yODEuMzc4LS40MjIuMzM2LS4yNzguNzUzLS42MjUuNzUzLTEuMjI2IDAtLjU3LS4zNzYtMS0uODc0LTEtLjQ3NyAwLS44MzYuMzg1LS44MzYuODk3IDAgLjI5Ny4xNjQuNDAyLjMwNS40MDIuMiAwIC4zMjEtLjE3Ni4zMjEtLjM0NiAwLS4xMDYuMDIzLS4yMjguMjA0LS4yMjguMjQzIDAgLjI1LjI1NC4yNS4yODMgMCAuMjI4LS4yNTIuNDQyLS40OTUuNjQ5LS4zMDEuMjU1LS42NDIuNTQ0LS42NDIuOTkydi4zODRjMCAuMjA1LjE1OS4zNDMuMzA4LjM0M3pNMS43NyAxMC41NDNjMC0uNTkyLS4yOTYtLjkzMS0uODE0LS45MzEtLjY4IDAtLjg1OS41Ny0uODU5Ljg3MiAwIC4zNTEuMjIyLjM5LjMxOC4zOS4xODUgMCAuMzEtLjE0OC4zMS0uMzY2IDAtLjA4NC4wMjYtLjE4MS4yMjQtLjE4MS4xNDIgMCAuMi4wMjQuMi4yNjcgMCAuMjM3LS4wNDMuMjYzLS4yMTMuMjYzLS4xNjQgMC0uMjg4LjE1Mi0uMjg4LjM1NCAwIC4yLjEyNS4zNS4yOTEuMzUuMjI1IDAgLjI3LjEwOC4yNy4yODN2LjA3NWMwIC4yOTQtLjA5Ny4zNS0uMjc3LjM1LS4yNDggMC0uMjY3LS4xNS0uMjY3LS4xOTcgMC0uMTc0LS4wOTgtLjM1LS4zMTctLjM1LS4xOTIgMC0uMzA3LjE0MS0uMzA3LjM3OCAwIC40My4zMTMuODg4Ljg5NS44ODguNTY0IDAgLjkwMS0uNC45MDEtMS4wN3YtLjA3NGMwLS4yNzQtLjA3NC0uNTAyLS4yMTQtLjY2Ni4wOTYtLjE2My4xNDgtLjM4LjE0OC0uNjM1eiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},indent:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNS43MTYgMy4yMTFIMTd2MS4xOTdINS43MTZ6TTAgLjAyaDE3djEuMTk3SDB6TTAgMTIuNzgzaDE3djEuMTk3SDB6TTUuNzE2IDkuNTkzSDE3djEuMTk3SDUuNzE2ek01LjcxNiA2LjQwMkgxN3YxLjE5N0g1LjcxNnpNLjE4NyA5LjQ5MUwyLjUyIDcgLjE4NyA0LjUwOXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},outdent:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNNS4zOTYgMy4xOTNoMTAuNTczVjQuMzlINS4zOTZ6TS4wMzkuMDAzaDE1LjkzVjEuMkguMDM5ek0uMDM5IDEyLjc2NmgxNS45M3YxLjE5N0guMDM5ek01LjM5NiA5LjU3NWgxMC41NzN2MS4xOTdINS4zOTZ6TTUuMzk2IDYuMzg0aDEwLjU3M3YxLjE5N0g1LjM5NnpNMi4xODcgNC40OTFMMCA2Ljk4M2wyLjE4NyAyLjQ5MXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},title:void 0},textAlign:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["left","center","right","justify"],left:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNOC40OTMgMTQuODg3SC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDguMTY3YS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjE4IDEwLjE2MkguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1M2gxNC4yOTJhLjMyNi4zMjYgMCAwIDEgMCAuNjUzek04LjQ5MyA1LjQzNUguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1Mmg4LjE2N2EuMzI2LjMyNiAwIDAgMSAwIC42NTJ6TTE0LjYxOC43MDlILjMyNmEuMzI2LjMyNiAwIDAgMSAwLS42NTJoMTQuMjkyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},center:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNTU2IDE0Ljg4N0gzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTggMTAuMTYySC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUzaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6TTExLjU1NiA1LjQzNUgzLjM4OGEuMzI2LjMyNiAwIDAgMSAwLS42NTJoOC4xNjdhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42MTguNzA5SC4zMjZhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDE0LjI5MmEuMzI2LjMyNiAwIDAgMSAwIC42NTJ6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},right:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNjE4IDE0Ljg4N0g2LjQ1YS4zMjYuMzI2IDAgMCAxIDAtLjY1Mmg4LjE2N2EuMzI2LjMyNiAwIDAgMSAwIC42NTJ6TTE0LjYxOCAxMC4xNjJILjMyNmEuMzI2LjMyNiAwIDAgMSAwLS42NTNoMTQuMjkyYS4zMjYuMzI2IDAgMCAxIDAgLjY1M3pNMTQuNjE4IDUuNDM1SDYuNDVhLjMyNi4zMjYgMCAwIDEgMC0uNjUyaDguMTY3YS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjE4LjcwOUguMzI2YS4zMjYuMzI2IDAgMCAxIDAtLjY1MmgxNC4yOTJhLjMyNi4zMjYgMCAwIDEgMCAuNjUyeiIvPjwvZz48L3N2Zz4=",className:void 0,title:void 0},justify:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNjIgMTQuODg4SC4zMjVhLjMyNi4zMjYgMCAwIDEgMC0uNjUySDE0LjYyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjIgMTAuMTYySC4zMjVhLjMyNi4zMjYgMCAwIDEgMC0uNjUySDE0LjYyYS4zMjYuMzI2IDAgMCAxIDAgLjY1MnpNMTQuNjIgNS40MzZILjMyNWEuMzI2LjMyNiAwIDAgMSAwLS42NTJIMTQuNjJhLjMyNi4zMjYgMCAwIDEgMCAuNjUyek0xNC42Mi43MUguMzI1YS4zMjYuMzI2IDAgMCAxIDAtLjY1M0gxNC42MmEuMzI2LjMyNiAwIDAgMSAwIC42NTN6Ii8+PC9nPjwvc3ZnPg==",className:void 0,title:void 0},title:void 0},colorPicker:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNDA2LjU4NWExLjk5OCAxLjk5OCAwIDAgMC0yLjgyNSAwbC0uNTQuNTRhLjc0MS43NDEgMCAxIDAtMS4wNDggMS4wNDhsLjE3NS4xNzUtNS44MjYgNS44MjUtMi4wMjIgMi4wMjNhLjkxLjkxIDAgMCAwLS4yNjYuNjAybC0uMDA1LjEwOHYuMDAybC0uMDgxIDEuODI5YS4zMDIuMzAyIDAgMCAwIC4zMDIuMzE2aC4wMTNsLjk3LS4wNDQuNTkyLS4wMjYuMjY4LS4wMTJjLjI5Ny0uMDEzLjU3OS0uMTM3Ljc5LS4zNDdsNy43Ny03Ljc3LjE0Ni4xNDRhLjc0Ljc0IDAgMCAwIDEuMDQ4IDBjLjI5LS4yOS4yOS0uNzU5IDAtMS4wNDhsLjU0LS41NGMuNzgtLjc4Ljc4LTIuMDQ0IDAtMi44MjV6TTguNzk1IDcuMzMzbC0yLjczLjUxNSA0LjQ1Mi00LjQ1MiAxLjEwOCAxLjEwNy0yLjgzIDIuODN6TTIuMDggMTMuNjczYy0xLjE0OCAwLTIuMDguMjk1LTIuMDguNjYgMCAuMzYzLjkzMi42NTggMi4wOC42NTggMS4xNSAwIDIuMDgtLjI5NCAyLjA4LS42NTkgMC0uMzY0LS45My0uNjU5LTIuMDgtLjY1OXoiLz48L2c+PC9zdmc+",className:void 0,component:void 0,popupClassName:void 0,colors:["rgb(97,189,109)","rgb(26,188,156)","rgb(84,172,210)","rgb(44,130,201)","rgb(147,101,184)","rgb(71,85,119)","rgb(204,204,204)","rgb(65,168,95)","rgb(0,168,133)","rgb(61,142,185)","rgb(41,105,176)","rgb(85,57,130)","rgb(40,50,78)","rgb(0,0,0)","rgb(247,218,100)","rgb(251,160,38)","rgb(235,107,86)","rgb(226,80,65)","rgb(163,143,132)","rgb(239,239,239)","rgb(255,255,255)","rgb(250,197,28)","rgb(243,121,52)","rgb(209,72,65)","rgb(184,49,47)","rgb(124,112,107)","rgb(209,213,216)"],title:void 0},link:{inDropdown:!1,className:void 0,component:void 0,popupClassName:void 0,dropdownClassName:void 0,showOpenOptionOnHover:!0,defaultTargetOption:"_self",options:["link","unlink"],link:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEzLjk2Ny45NUEzLjIyNiAzLjIyNiAwIDAgMCAxMS42Ny4wMDJjLS44NyAwLTEuNjg2LjMzNy0yLjI5Ny45NDhMNy4xMDUgMy4yMThBMy4yNDcgMy4yNDcgMCAwIDAgNi4yNCA2LjI0YTMuMjI1IDMuMjI1IDAgMCAwLTMuMDIyLjg2NUwuOTUgOS4zNzNhMy4yNTMgMy4yNTMgMCAwIDAgMCA0LjU5NCAzLjIyNiAzLjIyNiAwIDAgMCAyLjI5Ny45NDhjLjg3IDAgMS42ODYtLjMzNiAyLjI5OC0uOTQ4TDcuODEyIDExLjdhMy4yNDcgMy4yNDcgMCAwIDAgLjg2NS0zLjAyMyAzLjIyNSAzLjIyNSAwIDAgMCAzLjAyMi0uODY1bDIuMjY4LTIuMjY3YTMuMjUyIDMuMjUyIDAgMCAwIDAtNC41OTV6TTcuMTA1IDEwLjk5M0w0LjgzNyAxMy4yNmEyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LjY1NSAyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LS42NTUgMi4yNTIgMi4yNTIgMCAwIDEgMC0zLjE4bDIuMjY4LTIuMjY4YTIuMjMyIDIuMjMyIDAgMCAxIDEuNTktLjY1NWMuNDMgMCAuODQxLjEyIDEuMTk1LjM0M0w0Ljc3MiA5LjQzOGEuNS41IDAgMSAwIC43MDcuNzA3bDEuOTM5LTEuOTM4Yy41NDUuODY4LjQ0MiAyLjAzLS4zMTMgMi43ODV6bTYuMTU1LTYuMTU1bC0yLjI2OCAyLjI2N2EyLjIzMyAyLjIzMyAwIDAgMS0xLjU5LjY1NWMtLjQzMSAwLS44NDEtLjEyLTEuMTk1LS4zNDNsMS45MzgtMS45MzhhLjUuNSAwIDEgMC0uNzA3LS43MDdMNy40OTkgNi43MWEyLjI1MiAyLjI1MiAwIDAgMSAuMzEzLTIuNzg1bDIuMjY3LTIuMjY4YTIuMjMzIDIuMjMzIDAgMCAxIDEuNTktLjY1NSAyLjIzMyAyLjIzMyAwIDAgMSAyLjI0NiAyLjI0NWMwIC42MDMtLjIzMiAxLjE2OC0uNjU1IDEuNTl6IiBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=",className:void 0,title:void 0},unlink:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTMuOTU2IDEuMDM3YTMuNTUgMy41NSAwIDAgMC01LjAxNCAwTDYuNDM2IDMuNTQ0YS41NDUuNTQ1IDAgMSAwIC43Ny43N2wyLjUwOC0yLjUwNmEyLjQzOCAyLjQzOCAwIDAgMSAxLjczNS0uNzE1Yy42NTggMCAxLjI3NS4yNTQgMS43MzYuNzE1LjQ2LjQ2MS43MTUgMS4wNzguNzE1IDEuNzM2IDAgLjY1OC0uMjU0IDEuMjc0LS43MTUgMS43MzVMOS45MDcgOC41NThhMi40NTggMi40NTggMCAwIDEtMy40NzIgMCAuNTQ1LjU0NSAwIDEgMC0uNzcxLjc3MSAzLjUzNCAzLjUzNCAwIDAgMCAyLjUwNyAxLjAzN2MuOTA4IDAgMS44MTYtLjM0NiAyLjUwNy0xLjAzN2wzLjI3OC0zLjI3OGEzLjUyIDMuNTIgMCAwIDAgMS4wMzUtMi41MDdjMC0uOTUtLjM2Ny0xLjg0LTEuMDM1LTIuNTA3eiIvPjxwYXRoIGQ9Ik03LjQgMTEuMDY1bC0yLjEyMiAyLjEyYTIuNDM3IDIuNDM3IDAgMCAxLTEuNzM1LjcxNiAyLjQzNyAyLjQzNyAwIDAgMS0xLjczNi0uNzE1IDIuNDU3IDIuNDU3IDAgMCAxIDAtMy40NzFsMy4wODYtMy4wODZhMi40MzggMi40MzggMCAwIDEgMS43MzUtLjcxNWMuNjU4IDAgMS4yNzUuMjU0IDEuNzM2LjcxNWEuNTQ1LjU0NSAwIDEgMCAuNzcxLS43NzEgMy41NSAzLjU1IDAgMCAwLTUuMDE0IDBMMS4wMzYgOC45NDRBMy41MiAzLjUyIDAgMCAwIDAgMTEuNDVjMCAuOTUuMzY3IDEuODQgMS4wMzUgMi41MDdhMy41MiAzLjUyIDAgMCAwIDIuNTA2IDEuMDM1Yy45NSAwIDEuODQtLjM2OCAyLjUwNy0xLjAzNWwyLjEyMi0yLjEyMWEuNTQ1LjU0NSAwIDAgMC0uNzcxLS43NzF6TTkuMjc0IDEyLjAwMmEuNTQ2LjU0NiAwIDAgMC0uNTQ2LjU0NXYxLjYzN2EuNTQ2LjU0NiAwIDAgMCAxLjA5MSAwdi0xLjYzN2EuNTQ1LjU0NSAwIDAgMC0uNTQ1LS41NDV6TTExLjIzIDExLjYxNmEuNTQ1LjU0NSAwIDEgMC0uNzcyLjc3MmwxLjE1NyAxLjE1NmEuNTQzLjU0MyAwIDAgMCAuNzcxIDAgLjU0NS41NDUgMCAwIDAgMC0uNzdsLTEuMTU2LTEuMTU4ek0xMi41MzcgOS44MkgxMC45YS41NDYuNTQ2IDAgMCAwIDAgMS4wOTFoMS42MzdhLjU0Ni41NDYgMCAwIDAgMC0xLjA5ek00LjkxIDMuNTQ3YS41NDYuNTQ2IDAgMCAwIC41NDUtLjU0NVYxLjM2NmEuNTQ2LjU0NiAwIDAgMC0xLjA5IDB2MS42MzZjMCAuMzAxLjI0NC41NDUuNTQ1LjU0NXpNMi44ODggMy45MzNhLjU0My41NDMgMCAwIDAgLjc3MSAwIC41NDUuNTQ1IDAgMCAwIDAtLjc3MUwyLjUwMiAyLjAwNWEuNTQ1LjU0NSAwIDEgMC0uNzcxLjc3bDEuMTU3IDEuMTU4ek0xLjYyOCA1LjczaDEuNjM2YS41NDYuNTQ2IDAgMCAwIDAtMS4wOTJIMS42MjhhLjU0Ni41NDYgMCAwIDAgMCAxLjA5MXoiLz48L2c+PC9zdmc+",className:void 0,title:void 0},linkCallback:void 0},emoji:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHZpZXdCb3g9IjE1LjcyOSAyMi4wODIgMTcgMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI5LjcwOCAyNS4xMDRjLTMuMDIxLTMuMDIyLTcuOTM3LTMuMDIyLTEwLjk1OCAwLTMuMDIxIDMuMDItMy4wMiA3LjkzNiAwIDEwLjk1OCAzLjAyMSAzLjAyIDcuOTM3IDMuMDIgMTAuOTU4LS4wMDEgMy4wMi0zLjAyMSAzLjAyLTcuOTM2IDAtMTAuOTU3em0tLjg0NSAxMC4xMTJhNi41NiA2LjU2IDAgMCAxLTkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAtOS4yNjcgNi41NiA2LjU2IDAgMCAxIDkuMjY4IDAgNi41NiA2LjU2IDAgMCAxIDAgOS4yNjd6bS03LjUyNC02LjczYS45MDYuOTA2IDAgMSAxIDEuODExIDAgLjkwNi45MDYgMCAwIDEtMS44MTEgMHptNC4xMDYgMGEuOTA2LjkwNiAwIDEgMSAxLjgxMiAwIC45MDYuOTA2IDAgMCAxLTEuODEyIDB6bTIuMTQxIDMuNzA4Yy0uNTYxIDEuMjk4LTEuODc1IDIuMTM3LTMuMzQ4IDIuMTM3LTEuNTA1IDAtMi44MjctLjg0My0zLjM2OS0yLjE0N2EuNDM4LjQzOCAwIDAgMSAuODEtLjMzNmMuNDA1Ljk3NiAxLjQxIDEuNjA3IDIuNTU5IDEuNjA3IDEuMTIzIDAgMi4xMjEtLjYzMSAyLjU0NC0xLjYwOGEuNDM4LjQzOCAwIDAgMSAuODA0LjM0N3oiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,emojis:["😀","😁","😂","😃","😉","😋","😎","😍","😗","🤗","🤔","😣","😫","😴","😌","🤓","😛","😜","😠","😇","😷","😈","👻","😺","😸","😹","😻","😼","😽","🙀","🙈","🙉","🙊","👼","👮","🕵","💂","👳","🎅","👸","👰","👲","🙍","🙇","🚶","🏃","💃","⛷","🏂","🏌","🏄","🚣","🏊","⛹","🏋","🚴","👫","💪","👈","👉","👆","🖕","👇","🖖","🤘","🖐","👌","👍","👎","✊","👊","👏","🙌","🙏","🐵","🐶","🐇","🐥","🐸","🐌","🐛","🐜","🐝","🍉","🍄","🍔","🍤","🍨","🍪","🎂","🍰","🍾","🍷","🍸","🍺","🌍","🚑","⏰","🌙","🌝","🌞","⭐","🌟","🌠","🌨","🌩","⛄","🔥","🎄","🎈","🎉","🎊","🎁","🎗","🏀","🏈","🎲","🔇","🔈","📣","🔔","🎵","🎷","💰","🖊","📅","✅","❎","💯"],title:void 0},embedded:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNzA4IDYuNjE1YS40MzYuNDM2IDAgMCAwLS41NDMuMjkxbC0xLjgzIDYuMDQ1YS40MzYuNDM2IDAgMCAwIC44MzMuMjUyTDcgNy4xNmEuNDM2LjQzNiAwIDAgMC0uMjktLjU0NHpNOC45MzEgNi42MTVhLjQzNi40MzYgMCAwIDAtLjU0My4yOTFsLTEuODMgNi4wNDVhLjQzNi40MzYgMCAwIDAgLjgzNC4yNTJsMS44My02LjA0NGEuNDM2LjQzNiAwIDAgMC0uMjktLjU0NHoiLz48cGF0aCBkPSJNMTYuNTY0IDBILjQzNkEuNDM2LjQzNiAwIDAgMCAwIC40MzZ2MTYuMTI4YzAgLjI0LjE5NS40MzYuNDM2LjQzNmgxNi4xMjhjLjI0IDAgLjQzNi0uMTk1LjQzNi0uNDM2Vi40MzZBLjQzNi40MzYgMCAwIDAgMTYuNTY0IDB6TTMuNDg3Ljg3MmgxMC4wMjZ2MS43NDNIMy40ODdWLjg3MnptLTIuNjE1IDBoMS43NDN2MS43NDNILjg3MlYuODcyem0xNS4yNTYgMTUuMjU2SC44NzJWMy40ODhoMTUuMjU2djEyLjY0em0wLTEzLjUxM2gtMS43NDNWLjg3MmgxLjc0M3YxLjc0M3oiLz48Y2lyY2xlIGN4PSI5My44NjciIGN5PSIyNDUuMDY0IiByPSIxMy4xMjgiIHRyYW5zZm9ybT0ibWF0cml4KC4wMzMyIDAgMCAuMDMzMiAwIDApIi8+PGNpcmNsZSBjeD0iOTMuODY3IiBjeT0iMzYwLjU5MiIgcj0iMTMuMTI4IiB0cmFuc2Zvcm09Im1hdHJpeCguMDMzMiAwIDAgLjAzMzIgMCAwKSIvPjxwYXRoIGQ9Ik0xNC4yNTQgMTIuNjQxSDEwLjJhLjQzNi40MzYgMCAwIDAgMCAuODcyaDQuMDU0YS40MzYuNDM2IDAgMCAwIDAtLjg3MnoiLz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,embedCallback:void 0,defaultSize:{height:"auto",width:"auto"},title:void 0},image:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTQuNzQxIDBILjI2Qy4xMTYgMCAwIC4xMzYgMCAuMzA0djEzLjM5MmMwIC4xNjguMTE2LjMwNC4yNTkuMzA0SDE0Ljc0Yy4xNDMgMCAuMjU5LS4xMzYuMjU5LS4zMDRWLjMwNEMxNSAuMTM2IDE0Ljg4NCAwIDE0Ljc0MSAwem0tLjI1OCAxMy4zOTFILjUxN1YuNjFoMTMuOTY2VjEzLjM5eiIvPjxwYXRoIGQ9Ik00LjEzOCA2LjczOGMuNzk0IDAgMS40NC0uNzYgMS40NC0xLjY5NXMtLjY0Ni0xLjY5NS0xLjQ0LTEuNjk1Yy0uNzk0IDAtMS40NC43Ni0xLjQ0IDEuNjk1IDAgLjkzNC42NDYgMS42OTUgMS40NCAxLjY5NXptMC0yLjc4MWMuNTA5IDAgLjkyMy40ODcuOTIzIDEuMDg2IDAgLjU5OC0uNDE0IDEuMDg2LS45MjMgMS4wODYtLjUwOSAwLS45MjMtLjQ4Ny0uOTIzLTEuMDg2IDAtLjU5OS40MTQtMS4wODYuOTIzLTEuMDg2ek0xLjgxIDEyLjE3NGMuMDYgMCAuMTIyLS4wMjUuMTcxLS4wNzZMNi4yIDcuNzI4bDIuNjY0IDMuMTM0YS4yMzIuMjMyIDAgMCAwIC4zNjYgMCAuMzQzLjM0MyAwIDAgMCAwLS40M0w3Ljk4NyA4Ljk2OWwyLjM3NC0zLjA2IDIuOTEyIDMuMTQyYy4xMDYuMTEzLjI3LjEwNS4zNjYtLjAyYS4zNDMuMzQzIDAgMCAwLS4wMTYtLjQzbC0zLjEwNC0zLjM0N2EuMjQ0LjI0NCAwIDAgMC0uMTg2LS4wOC4yNDUuMjQ1IDAgMCAwLS4xOC4xTDcuNjIyIDguNTM3IDYuMzk0IDcuMDk0YS4yMzIuMjMyIDAgMCAwLS4zNTQtLjAxM2wtNC40IDQuNTZhLjM0My4zNDMgMCAwIDAtLjAyNC40My4yNDMuMjQzIDAgMCAwIC4xOTQuMTAzeiIvPjwvZz48L3N2Zz4=",className:void 0,component:void 0,popupClassName:void 0,urlEnabled:!0,uploadEnabled:!0,previewImage:!1,alignmentEnabled:!0,uploadCallback:void 0,inputAccept:"image/gif,image/jpeg,image/jpg,image/png,image/svg",alt:{present:!1,mandatory:!1},defaultSize:{height:"auto",width:"auto"},title:void 0},remove:{icon:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNSIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNOC4xIDE0bDYuNC03LjJjLjYtLjcuNi0xLjgtLjEtMi41bC0yLjctMi43Yy0uMy0uNC0uOC0uNi0xLjMtLjZIOC42Yy0uNSAwLTEgLjItMS40LjZMLjUgOS4yYy0uNi43LS42IDEuOS4xIDIuNWwyLjcgMi43Yy4zLjQuOC42IDEuMy42SDE2di0xSDguMXptLTEuMy0uMXMwLS4xIDAgMGwtMi43LTIuN2MtLjQtLjQtLjQtLjkgMC0xLjNMNy41IDZoLTFsLTMgMy4zYy0uNi43LS42IDEuNy4xIDIuNEw1LjkgMTRINC42Yy0uMiAwLS40LS4xLS42LS4yTDEuMiAxMWMtLjMtLjMtLjMtLjggMC0xLjFMNC43IDZoMS44TDEwIDJoMUw3LjUgNmwzLjEgMy43LTMuNSA0Yy0uMS4xLS4yLjEtLjMuMnoiLz48L3N2Zz4=",className:void 0,component:void 0,title:void 0},history:{inDropdown:!1,className:void 0,component:void 0,dropdownClassName:void 0,options:["undo","redo"],undo:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcgMTQuODc1YzIuNjcyIDAgNC44NDYtMi4xNDUgNC44NDYtNC43ODEgMC0yLjYzNy0yLjE3NC00Ljc4MS00Ljg0Ni00Ljc4MVY4LjVMMS42MTUgNC4yNSA3IDB2My4xODhjMy44NiAwIDcgMy4wOTggNyA2LjkwNlMxMC44NiAxNyA3IDE3cy03LTMuMDk4LTctNi45MDZoMi4xNTRjMCAyLjYzNiAyLjE3NCA0Ljc4MSA0Ljg0NiA0Ljc4MXoiIGZpbGw9IiMwMDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==",className:void 0,title:void 0},redo:{icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNTA0IDEzLjk3N2E0LjQ5NyA0LjQ5NyAwIDAgMS00LjQ5Mi00LjQ5MiA0LjQ5NyA0LjQ5NyAwIDAgMSA0LjQ5Mi00LjQ5M3YyLjk5NWw0Ljk5LTMuOTkzTDYuNTA0IDB2Mi45OTVhNi40OTYgNi40OTYgMCAwIDAtNi40ODggNi40OWMwIDMuNTc4IDIuOTEgNi40OSA2LjQ4OCA2LjQ5YTYuNDk2IDYuNDk2IDAgMCAwIDYuNDg3LTYuNDloLTEuOTk2YTQuNDk3IDQuNDk3IDAgMCAxLTQuNDkxIDQuNDkyeiIgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+",className:void 0,title:void 0},title:void 0}},tr={en:{"generic.add":"Add","generic.cancel":"Cancel","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Block Type","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Color Picker","components.controls.colorpicker.text":"Text","components.controls.colorpicker.background":"Highlight","components.controls.embedded.embedded":"Embedded","components.controls.embedded.embeddedlink":"Embedded Link","components.controls.embedded.enterlink":"Enter link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Font","components.controls.fontsize.fontsize":"Font Size","components.controls.history.history":"History","components.controls.history.undo":"Undo","components.controls.history.redo":"Redo","components.controls.image.image":"Image","components.controls.image.fileUpload":"File Upload","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop the file or click to upload","components.controls.inline.bold":"Bold","components.controls.inline.italic":"Italic","components.controls.inline.underline":"Underline","components.controls.inline.strikethrough":"Strikethrough","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Superscript","components.controls.inline.subscript":"Subscript","components.controls.link.linkTitle":"Link Title","components.controls.link.linkTarget":"Link Target","components.controls.link.linkTargetOption":"Open link in new window","components.controls.link.link":"Link","components.controls.link.unlink":"Unlink","components.controls.list.list":"List","components.controls.list.unordered":"Unordered","components.controls.list.ordered":"Ordered","components.controls.list.indent":"Indent","components.controls.list.outdent":"Outdent","components.controls.remove.remove":"Remove","components.controls.textalign.textalign":"Text Align","components.controls.textalign.left":"Left","components.controls.textalign.center":"Center","components.controls.textalign.right":"Right","components.controls.textalign.justify":"Justify"},fr:{"generic.add":"Ok","generic.cancel":"Annuler","components.controls.blocktype.h1":"Titre 1","components.controls.blocktype.h2":"Titre 2","components.controls.blocktype.h3":"Titre 3","components.controls.blocktype.h4":"Titre 4","components.controls.blocktype.h5":"Titre 5","components.controls.blocktype.h6":"Titre 6","components.controls.blocktype.blockquote":"Citation","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Type bloc","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Palette de couleur","components.controls.colorpicker.text":"Texte","components.controls.colorpicker.background":"Fond","components.controls.embedded.embedded":"Embedded","components.controls.embedded.embeddedlink":"Lien iFrame","components.controls.embedded.enterlink":"Entrer le lien","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Police","components.controls.fontsize.fontsize":"Taille de police","components.controls.history.history":"Historique","components.controls.history.undo":"Précédent","components.controls.history.redo":"Suivant","components.controls.image.image":"Image","components.controls.image.fileUpload":"Téléchargement","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Glisser une image ou cliquer pour télécharger","components.controls.inline.bold":"Gras","components.controls.inline.italic":"Italique","components.controls.inline.underline":"Souligner","components.controls.inline.strikethrough":"Barrer","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Exposant","components.controls.inline.subscript":"Indice","components.controls.link.linkTitle":"Titre du lien","components.controls.link.linkTarget":"Cible du lien","components.controls.link.linkTargetOption":"Ouvrir le lien dans une nouvelle fenêtre","components.controls.link.link":"Lier","components.controls.link.unlink":"Délier","components.controls.list.list":"Liste","components.controls.list.unordered":"Désordonnée","components.controls.list.ordered":"Ordonnée","components.controls.list.indent":"Augmenter le retrait","components.controls.list.outdent":"Diminuer le retrait","components.controls.remove.remove":"Supprimer","components.controls.textalign.textalign":"Alignement du texte","components.controls.textalign.left":"Gauche","components.controls.textalign.center":"Centre","components.controls.textalign.right":"Droite","components.controls.textalign.justify":"Justifier"},zh:{"generic.add":"添加","generic.cancel":"取消","components.controls.blocktype.h1":"标题1","components.controls.blocktype.h2":"标题2","components.controls.blocktype.h3":"标题3","components.controls.blocktype.h4":"标题4","components.controls.blocktype.h5":"标题5","components.controls.blocktype.h6":"标题6","components.controls.blocktype.blockquote":"引用","components.controls.blocktype.code":"源码","components.controls.blocktype.blocktype":"样式","components.controls.blocktype.normal":"正文","components.controls.colorpicker.colorpicker":"选色器","components.controls.colorpicker.text":"文字","components.controls.colorpicker.background":"背景","components.controls.embedded.embedded":"内嵌","components.controls.embedded.embeddedlink":"内嵌网页","components.controls.embedded.enterlink":"输入网页地址","components.controls.emoji.emoji":"表情符号","components.controls.fontfamily.fontfamily":"字体","components.controls.fontsize.fontsize":"字号","components.controls.history.history":"历史","components.controls.history.undo":"撤销","components.controls.history.redo":"恢复","components.controls.image.image":"图片","components.controls.image.fileUpload":"来自文件","components.controls.image.byURL":"在线图片","components.controls.image.dropFileText":"点击或者拖拽文件上传","components.controls.inline.bold":"粗体","components.controls.inline.italic":"斜体","components.controls.inline.underline":"下划线","components.controls.inline.strikethrough":"删除线","components.controls.inline.monospace":"等宽字体","components.controls.inline.superscript":"上标","components.controls.inline.subscript":"下标","components.controls.link.linkTitle":"超链接","components.controls.link.linkTarget":"输入链接地址","components.controls.link.linkTargetOption":"在新窗口中打开链接","components.controls.link.link":"链接","components.controls.link.unlink":"删除链接","components.controls.list.list":"列表","components.controls.list.unordered":"项目符号","components.controls.list.ordered":"编号","components.controls.list.indent":"增加缩进量","components.controls.list.outdent":"减少缩进量","components.controls.remove.remove":"清除格式","components.controls.textalign.textalign":"文本对齐","components.controls.textalign.left":"文本左对齐","components.controls.textalign.center":"居中","components.controls.textalign.right":"文本右对齐","components.controls.textalign.justify":"两端对齐"},ru:{"generic.add":"Добавить","generic.cancel":"Отменить","components.controls.blocktype.h1":"Заголовок 1","components.controls.blocktype.h2":"Заголовок 2","components.controls.blocktype.h3":"Заголовок 3","components.controls.blocktype.h4":"Заголовок 4","components.controls.blocktype.h5":"Заголовок 5","components.controls.blocktype.h6":"Заголовок 6","components.controls.blocktype.blockquote":"Цитата","components.controls.blocktype.code":"Код","components.controls.blocktype.blocktype":"Форматирование","components.controls.blocktype.normal":"Обычный","components.controls.colorpicker.colorpicker":"Выбор цвета","components.controls.colorpicker.text":"Текст","components.controls.colorpicker.background":"Фон","components.controls.embedded.embedded":"Встраивание","components.controls.embedded.embeddedlink":"Ссылка в iFrame","components.controls.embedded.enterlink":"Вставьте ссылку","components.controls.emoji.emoji":"Эмодзи","components.controls.fontfamily.fontfamily":"Шрифт","components.controls.fontsize.fontsize":"Размер шрифта","components.controls.history.history":"История","components.controls.history.undo":"Отменить","components.controls.history.redo":"Вернуть","components.controls.image.image":"Изображение","components.controls.image.fileUpload":"Файлы","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Переместите в эту область файлы или кликните для загрузки","components.controls.inline.bold":"Жирный","components.controls.inline.italic":"Курсив","components.controls.inline.underline":"Подчеркивание","components.controls.inline.strikethrough":"Зачеркивание","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Верхний индекс","components.controls.inline.subscript":"Нижний индекс","components.controls.link.linkTitle":"Текст","components.controls.link.linkTarget":"Адрес ссылки","components.controls.link.linkTargetOption":"Открывать в новом окне","components.controls.link.link":"Ссылка","components.controls.link.unlink":"Убрать ссылку","components.controls.list.list":"Список","components.controls.list.unordered":"Неупорядоченный","components.controls.list.ordered":"Упорядоченный","components.controls.list.indent":"Отступ","components.controls.list.outdent":"Выступ","components.controls.remove.remove":"Удалить","components.controls.textalign.textalign":"Выравнивание текста","components.controls.textalign.left":"Слева","components.controls.textalign.center":"По центру","components.controls.textalign.right":"Справа","components.controls.textalign.justify":"Выравнить"},pt:{"generic.add":"Ok","generic.cancel":"Cancelar","components.controls.blocktype.h1":"Título 1","components.controls.blocktype.h2":"Título 2","components.controls.blocktype.h3":"Título 3","components.controls.blocktype.h4":"Título 4","components.controls.blocktype.h5":"Título 5","components.controls.blocktype.h6":"Título 6","components.controls.blocktype.blockquote":"Citação","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Estilo","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Paleta de cores","components.controls.colorpicker.text":"Texto","components.controls.colorpicker.background":"Fundo","components.controls.embedded.embedded":"Embarcado","components.controls.embedded.embeddedlink":"Link embarcado","components.controls.embedded.enterlink":"Coloque o link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fonte","components.controls.fontsize.fontsize":"Tamanho da Fonte","components.controls.history.history":"Histórico","components.controls.history.undo":"Desfazer","components.controls.history.redo":"Refazer","components.controls.image.image":"Imagem","components.controls.image.fileUpload":"Carregar arquivo","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Arraste uma imagem aqui ou clique para carregar","components.controls.inline.bold":"Negrito","components.controls.inline.italic":"Itálico","components.controls.inline.underline":"Sublinhado","components.controls.inline.strikethrough":"Strikethrough","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Sobrescrito","components.controls.inline.subscript":"Subscrito","components.controls.link.linkTitle":"Título do link","components.controls.link.linkTarget":"Alvo do link","components.controls.link.linkTargetOption":"Abrir link em outra janela","components.controls.link.link":"Adicionar Link","components.controls.link.unlink":"Remover link","components.controls.list.list":"Lista","components.controls.list.unordered":"Sem ordenção","components.controls.list.ordered":"Ordenada","components.controls.list.indent":"Aumentar recuo","components.controls.list.outdent":"Diminuir recuo","components.controls.remove.remove":"Remover","components.controls.textalign.textalign":"Alinhamento do texto","components.controls.textalign.left":"À Esquerda","components.controls.textalign.center":"Centralizado","components.controls.textalign.right":"À Direita","components.controls.textalign.justify":"Justificado"},ko:{"generic.add":"입력","generic.cancel":"취소","components.controls.blocktype.h1":"제목1","components.controls.blocktype.h2":"제목2","components.controls.blocktype.h3":"제목3","components.controls.blocktype.h4":"제목4","components.controls.blocktype.h5":"제목5","components.controls.blocktype.h6":"제목6","components.controls.blocktype.blockquote":"인용","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"블록","components.controls.blocktype.normal":"표준","components.controls.colorpicker.colorpicker":"색상 선택","components.controls.colorpicker.text":"글꼴색","components.controls.colorpicker.background":"배경색","components.controls.embedded.embedded":"임베드","components.controls.embedded.embeddedlink":"임베드 링크","components.controls.embedded.enterlink":"주소를 입력하세요","components.controls.emoji.emoji":"이모지","components.controls.fontfamily.fontfamily":"글꼴","components.controls.fontsize.fontsize":"글꼴 크기","components.controls.history.history":"히스토리","components.controls.history.undo":"실행 취소","components.controls.history.redo":"다시 실행","components.controls.image.image":"이미지","components.controls.image.fileUpload":"파일 업로드","components.controls.image.byURL":"주소","components.controls.image.dropFileText":"클릭하거나 파일을 드롭하여 업로드하세요","components.controls.inline.bold":"굵게","components.controls.inline.italic":"기울임꼴","components.controls.inline.underline":"밑줄","components.controls.inline.strikethrough":"취소선","components.controls.inline.monospace":"고정 너비","components.controls.inline.superscript":"위 첨자","components.controls.inline.subscript":"아래 첨자","components.controls.link.linkTitle":"링크 제목","components.controls.link.linkTarget":"링크 타겟","components.controls.link.linkTargetOption":"새창으로 열기","components.controls.link.link":"링크","components.controls.link.unlink":"링크 제거","components.controls.list.list":"리스트","components.controls.list.unordered":"일반 리스트","components.controls.list.ordered":"순서 리스트","components.controls.list.indent":"들여쓰기","components.controls.list.outdent":"내어쓰기","components.controls.remove.remove":"삭제","components.controls.textalign.textalign":"텍스트 정렬","components.controls.textalign.left":"왼쪽","components.controls.textalign.center":"중앙","components.controls.textalign.right":"오른쪽","components.controls.textalign.justify":"양쪽"},it:{"generic.add":"Aggiungi","generic.cancel":"Annulla","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Citazione","components.controls.blocktype.code":"Codice","components.controls.blocktype.blocktype":"Stili","components.controls.blocktype.normal":"Normale","components.controls.colorpicker.colorpicker":"Colore testo","components.controls.colorpicker.text":"Testo","components.controls.colorpicker.background":"Evidenziazione","components.controls.embedded.embedded":"Incorpora","components.controls.embedded.embeddedlink":"Incorpora link","components.controls.embedded.enterlink":"Inserisci link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Carattere","components.controls.fontsize.fontsize":"Dimensione carattere","components.controls.history.history":"Modifiche","components.controls.history.undo":"Annulla","components.controls.history.redo":"Ripristina","components.controls.image.image":"Immagine","components.controls.image.fileUpload":"Carica immagine","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Trascina il file o clicca per caricare","components.controls.inline.bold":"Grassetto","components.controls.inline.italic":"Corsivo","components.controls.inline.underline":"Sottolineato","components.controls.inline.strikethrough":"Barrato","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Apice","components.controls.inline.subscript":"Pedice","components.controls.link.linkTitle":"Testo","components.controls.link.linkTarget":"Link","components.controls.link.linkTargetOption":"Apri link in una nuova finestra","components.controls.link.link":"Inserisci link","components.controls.link.unlink":"Rimuovi link","components.controls.list.list":"Lista","components.controls.list.unordered":"Elenco puntato","components.controls.list.ordered":"Elenco numerato","components.controls.list.indent":"Indent","components.controls.list.outdent":"Outdent","components.controls.remove.remove":"Rimuovi formattazione","components.controls.textalign.textalign":"Allineamento del testo","components.controls.textalign.left":"Allinea a sinistra","components.controls.textalign.center":"Allinea al centro","components.controls.textalign.right":"Allinea a destra","components.controls.textalign.justify":"Giustifica"},nl:{"generic.add":"Toevoegen","generic.cancel":"Annuleren","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Code","components.controls.blocktype.blocktype":"Blocktype","components.controls.blocktype.normal":"Normaal","components.controls.colorpicker.colorpicker":"Kleurkiezer","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Achtergrond","components.controls.embedded.embedded":"Ingevoegd","components.controls.embedded.embeddedlink":"Ingevoegde link","components.controls.embedded.enterlink":"Voeg link toe","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Lettertype","components.controls.fontsize.fontsize":"Lettergrootte","components.controls.history.history":"Geschiedenis","components.controls.history.undo":"Ongedaan maken","components.controls.history.redo":"Opnieuw","components.controls.image.image":"Afbeelding","components.controls.image.fileUpload":"Bestand uploaden","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop het bestand hier of klik om te uploaden","components.controls.inline.bold":"Dikgedrukt","components.controls.inline.italic":"Schuingedrukt","components.controls.inline.underline":"Onderstrepen","components.controls.inline.strikethrough":"Doorstrepen","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Superscript","components.controls.inline.subscript":"Subscript","components.controls.link.linkTitle":"Linktitel","components.controls.link.linkTarget":"Link bestemming","components.controls.link.linkTargetOption":"Open link in een nieuw venster","components.controls.link.link":"Link","components.controls.link.unlink":"Unlink","components.controls.list.list":"Lijst","components.controls.list.unordered":"Ongeordend","components.controls.list.ordered":"Geordend","components.controls.list.indent":"Inspringen","components.controls.list.outdent":"Inspringen verkleinen","components.controls.remove.remove":"Verwijderen","components.controls.textalign.textalign":"Tekst uitlijnen","components.controls.textalign.left":"Links","components.controls.textalign.center":"Gecentreerd","components.controls.textalign.right":"Rechts","components.controls.textalign.justify":"Uitgelijnd"},de:{"generic.add":"Hinzufügen","generic.cancel":"Abbrechen","components.controls.blocktype.h1":"Überschrift 1","components.controls.blocktype.h2":"Überschrift 2","components.controls.blocktype.h3":"Überschrift 3","components.controls.blocktype.h4":"Überschrift 4","components.controls.blocktype.h5":"Überschrift 5","components.controls.blocktype.h6":"Überschrift 6","components.controls.blocktype.blockquote":"Zitat","components.controls.blocktype.code":"Quellcode","components.controls.blocktype.blocktype":"Blocktyp","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Farbauswahl","components.controls.colorpicker.text":"Text","components.controls.colorpicker.background":"Hintergrund","components.controls.embedded.embedded":"Eingebettet","components.controls.embedded.embeddedlink":"Eingebetteter Link","components.controls.embedded.enterlink":"Link eingeben","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Schriftart","components.controls.fontsize.fontsize":"Schriftgröße","components.controls.history.history":"Historie","components.controls.history.undo":"Zurücknehmen","components.controls.history.redo":"Wiederholen","components.controls.image.image":"Bild","components.controls.image.fileUpload":"Datei-Upload","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Dateien ziehen und ablegen, oder klicken zum Hochladen","components.controls.inline.bold":"Fett","components.controls.inline.italic":"Kursiv","components.controls.inline.underline":"Unterstreichen","components.controls.inline.strikethrough":"Durchstreichen","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Hochgestellt","components.controls.inline.subscript":"Tiefgestellt","components.controls.link.linkTitle":"Link-Titel","components.controls.link.linkTarget":"Link-Ziel","components.controls.link.linkTargetOption":"Link in neuem Fenster öffnen","components.controls.link.link":"Link","components.controls.link.unlink":"Aufheben","components.controls.list.list":"Liste","components.controls.list.unordered":"Aufzählung","components.controls.list.ordered":"Nummerierte Liste","components.controls.list.indent":"Einzug vergrößern","components.controls.list.outdent":"Einzug reduzieren","components.controls.remove.remove":"Entfernen","components.controls.textalign.textalign":"Textausrichtung","components.controls.textalign.left":"Linksbündig","components.controls.textalign.center":"Zentrieren","components.controls.textalign.right":"Rechtsbündig","components.controls.textalign.justify":"Blocksatz"},da:{"generic.add":"Tilføj","generic.cancel":"Annuller","components.controls.blocktype.h1":"Overskrift 1","components.controls.blocktype.h2":"Overskrift 2","components.controls.blocktype.h3":"Overskrift 3","components.controls.blocktype.h4":"Overskrift 4","components.controls.blocktype.h5":"Overskrift 5","components.controls.blocktype.h6":"Overskrift 6","components.controls.blocktype.blockquote":"Blokcitat","components.controls.blocktype.code":"Kode","components.controls.blocktype.blocktype":"Blok Type","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Farver","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Baggrund","components.controls.embedded.embedded":"Indlejre","components.controls.embedded.embeddedlink":"Indlejre Link","components.controls.embedded.enterlink":"Indtast link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fonttype","components.controls.fontsize.fontsize":"Fontstørrelser","components.controls.history.history":"Historie","components.controls.history.undo":"Fortryd","components.controls.history.redo":"Gendan","components.controls.image.image":"Billede","components.controls.image.fileUpload":"Filoverførsel","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Drop filen eller klik for at uploade","components.controls.inline.bold":"Fed","components.controls.inline.italic":"Kursiv","components.controls.inline.underline":"Understrege","components.controls.inline.strikethrough":"Gennemstreget","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Hævet","components.controls.inline.subscript":"Sænket","components.controls.link.linkTitle":"Link Titel","components.controls.link.linkTarget":"Link Mål","components.controls.link.linkTargetOption":"Åbn link i nyt vindue","components.controls.link.link":"Link","components.controls.link.unlink":"Fjern link","components.controls.list.list":"Liste","components.controls.list.unordered":"Uordnet","components.controls.list.ordered":"Ordnet","components.controls.list.indent":"Indrykning","components.controls.list.outdent":"Udrykning","components.controls.remove.remove":"Fjern","components.controls.textalign.textalign":"Tekstjustering","components.controls.textalign.left":"Venstre","components.controls.textalign.center":"Center","components.controls.textalign.right":"Højre","components.controls.textalign.justify":"Margener"},zh_tw:{"generic.add":"新增","generic.cancel":"取消","components.controls.blocktype.h1":"標題1","components.controls.blocktype.h2":"標題2","components.controls.blocktype.h3":"標題3","components.controls.blocktype.h4":"標題4","components.controls.blocktype.h5":"標題5","components.controls.blocktype.h6":"標題6","components.controls.blocktype.blockquote":"引用","components.controls.blocktype.code":"程式碼","components.controls.blocktype.blocktype":"樣式","components.controls.blocktype.normal":"正文","components.controls.colorpicker.colorpicker":"選色器","components.controls.colorpicker.text":"文字","components.controls.colorpicker.background":"背景","components.controls.embedded.embedded":"內嵌","components.controls.embedded.embeddedlink":"內嵌網頁","components.controls.embedded.enterlink":"輸入網頁地址","components.controls.emoji.emoji":"表情符號","components.controls.fontfamily.fontfamily":"字體","components.controls.fontsize.fontsize":"字體大小","components.controls.history.history":"歷史紀錄","components.controls.history.undo":"復原","components.controls.history.redo":"重做","components.controls.image.image":"圖片","components.controls.image.fileUpload":"檔案上傳","components.controls.image.byURL":"網址","components.controls.image.dropFileText":"點擊或拖曳檔案上傳","components.controls.inline.bold":"粗體","components.controls.inline.italic":"斜體","components.controls.inline.underline":"底線","components.controls.inline.strikethrough":"刪除線","components.controls.inline.monospace":"等寬字體","components.controls.inline.superscript":"上標","components.controls.inline.subscript":"下標","components.controls.link.linkTitle":"超連結","components.controls.link.linkTarget":"輸入連結位址","components.controls.link.linkTargetOption":"在新視窗打開連結","components.controls.link.link":"連結","components.controls.link.unlink":"刪除連結","components.controls.list.list":"列表","components.controls.list.unordered":"項目符號","components.controls.list.ordered":"編號","components.controls.list.indent":"增加縮排","components.controls.list.outdent":"減少縮排","components.controls.remove.remove":"清除格式","components.controls.textalign.textalign":"文字對齊","components.controls.textalign.left":"文字向左對齊","components.controls.textalign.center":"文字置中","components.controls.textalign.right":"文字向右對齊","components.controls.textalign.justify":"兩端對齊"},pl:{"generic.add":"Dodaj","generic.cancel":"Anuluj","components.controls.blocktype.h1":"Nagłówek 1","components.controls.blocktype.h2":"Nagłówek 2","components.controls.blocktype.h3":"Nagłówek 3","components.controls.blocktype.h4":"Nagłówek 4","components.controls.blocktype.h5":"Nagłówek 5","components.controls.blocktype.h6":"Nagłówek 6","components.controls.blocktype.blockquote":"Cytat","components.controls.blocktype.code":"Kod","components.controls.blocktype.blocktype":"Format","components.controls.blocktype.normal":"Normalny","components.controls.colorpicker.colorpicker":"Kolor","components.controls.colorpicker.text":"Tekst","components.controls.colorpicker.background":"Tło","components.controls.embedded.embedded":"Osadź","components.controls.embedded.embeddedlink":"Osadź odnośnik","components.controls.embedded.enterlink":"Wprowadź odnośnik","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Krój czcionki","components.controls.fontsize.fontsize":"Rozmiar czcionki","components.controls.history.history":"Historia","components.controls.history.undo":"Cofnij","components.controls.history.redo":"Ponów","components.controls.image.image":"Obrazek","components.controls.image.fileUpload":"Prześlij plik","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Upuść plik lub kliknij, aby przesłać","components.controls.inline.bold":"Pogrubienie","components.controls.inline.italic":"Kursywa","components.controls.inline.underline":"Podkreślenie","components.controls.inline.strikethrough":"Przekreślenie","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Indeks górny","components.controls.inline.subscript":"Indeks dolny","components.controls.link.linkTitle":"Tytuł odnośnika","components.controls.link.linkTarget":"Adres odnośnika","components.controls.link.linkTargetOption":"Otwórz odnośnik w nowej karcie","components.controls.link.link":"Wstaw odnośnik","components.controls.link.unlink":"Usuń odnośnik","components.controls.list.list":"Lista","components.controls.list.unordered":"Lista nieuporządkowana","components.controls.list.ordered":"Lista uporządkowana","components.controls.list.indent":"Zwiększ wcięcie","components.controls.list.outdent":"Zmniejsz wcięcie","components.controls.remove.remove":"Usuń","components.controls.textalign.textalign":"Wyrównaj tekst","components.controls.textalign.left":"Do lewej","components.controls.textalign.center":"Do środka","components.controls.textalign.right":"Do prawej","components.controls.textalign.justify":"Wyjustuj"},es:{"generic.add":"Añadir","generic.cancel":"Cancelar","components.controls.blocktype.h1":"H1","components.controls.blocktype.h2":"H2","components.controls.blocktype.h3":"H3","components.controls.blocktype.h4":"H4","components.controls.blocktype.h5":"H5","components.controls.blocktype.h6":"H6","components.controls.blocktype.blockquote":"Blockquote","components.controls.blocktype.code":"Código","components.controls.blocktype.blocktype":"Tipo de bloque","components.controls.blocktype.normal":"Normal","components.controls.colorpicker.colorpicker":"Seleccionar color","components.controls.colorpicker.text":"Texto","components.controls.colorpicker.background":"Subrayado","components.controls.embedded.embedded":"Adjuntar","components.controls.embedded.embeddedlink":"Adjuntar Link","components.controls.embedded.enterlink":"Introducir link","components.controls.emoji.emoji":"Emoji","components.controls.fontfamily.fontfamily":"Fuente","components.controls.fontsize.fontsize":"Tamaño de fuente","components.controls.history.history":"Histórico","components.controls.history.undo":"Deshacer","components.controls.history.redo":"Rehacer","components.controls.image.image":"Imagen","components.controls.image.fileUpload":"Subir archivo","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"Arrastra el archivo o haz click para subirlo","components.controls.inline.bold":"Negrita","components.controls.inline.italic":"Cursiva","components.controls.inline.underline":"Subrayado","components.controls.inline.strikethrough":"Tachado","components.controls.inline.monospace":"Monospace","components.controls.inline.superscript":"Sobreíndice","components.controls.inline.subscript":"Subíndice","components.controls.link.linkTitle":"Título del enlace","components.controls.link.linkTarget":"Objetivo del enlace","components.controls.link.linkTargetOption":"Abrir en nueva ventana","components.controls.link.link":"Enlazar","components.controls.link.unlink":"Desenlazar","components.controls.list.list":"Lista","components.controls.list.unordered":"Desordenada","components.controls.list.ordered":"Ordenada","components.controls.list.indent":"Indentada","components.controls.list.outdent":"Dentada","components.controls.remove.remove":"Eliminar","components.controls.textalign.textalign":"Alineación del texto","components.controls.textalign.left":"Izquierda","components.controls.textalign.center":"Centrado","components.controls.textalign.right":"Derecha","components.controls.textalign.justify":"Justificado"},ja:{"generic.add":"追加","generic.cancel":"キャンセル","components.controls.blocktype.h1":"見出し1","components.controls.blocktype.h2":"見出し2","components.controls.blocktype.h3":"見出し3","components.controls.blocktype.h4":"見出し4","components.controls.blocktype.h5":"見出し5","components.controls.blocktype.h6":"見出し6","components.controls.blocktype.blockquote":"引用","components.controls.blocktype.code":"コード","components.controls.blocktype.blocktype":"スタイル","components.controls.blocktype.normal":"標準テキスト","components.controls.colorpicker.colorpicker":"テキストの色","components.controls.colorpicker.text":"テキスト","components.controls.colorpicker.background":"ハイライト","components.controls.embedded.embedded":"埋め込み","components.controls.embedded.embeddedlink":"埋め込みリンク","components.controls.embedded.enterlink":"リンクを入力してください","components.controls.emoji.emoji":"絵文字","components.controls.fontfamily.fontfamily":"フォント","components.controls.fontsize.fontsize":"フォントサイズ","components.controls.history.history":"履歴","components.controls.history.undo":"元に戻す","components.controls.history.redo":"やり直し","components.controls.image.image":"画像","components.controls.image.fileUpload":"ファイルをアップロード","components.controls.image.byURL":"URL","components.controls.image.dropFileText":"ここに画像をドラッグするか、クリックしてください","components.controls.inline.bold":"太字","components.controls.inline.italic":"斜体","components.controls.inline.underline":"下線","components.controls.inline.strikethrough":"取り消し線","components.controls.inline.monospace":"等幅フォント","components.controls.inline.superscript":"上付き文字","components.controls.inline.subscript":"下付き文字","components.controls.link.linkTitle":"リンクタイトル","components.controls.link.linkTarget":"リンク対象","components.controls.link.linkTargetOption":"新しいウィンドウで開く","components.controls.link.link":"リンク","components.controls.link.unlink":"リンクを解除","components.controls.list.list":"リスト","components.controls.list.unordered":"箇条書き","components.controls.list.ordered":"番号付き","components.controls.list.indent":"インデント増","components.controls.list.outdent":"インデント減","components.controls.remove.remove":"書式をクリア","components.controls.textalign.textalign":"整列","components.controls.textalign.left":"左揃え","components.controls.textalign.center":"中央揃え","components.controls.textalign.right":"右揃え","components.controls.textalign.justify":"両端揃え"}};function er(t){return(er="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nr(){return(nr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function rr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function or(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?rr(Object(n),!0).forEach((function(e){ir(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):rr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ir(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ar(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function sr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function cr(t){return(cr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ur(t,e){return(ur=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n(38),n(39);var lr=function(){function t(e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(t,e){return!e||"object"!==er(e)&&"function"!=typeof e?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(t):e}(this,cr(t).call(this,e))).onEditorBlur=function(){n.setState({editorFocused:!1})},n.onEditorFocus=function(t){var e=n.props.onFocus;n.setState({editorFocused:!0});var r=n.focusHandler.isEditorFocused();e&&r&&e(t)},n.onEditorMouseDown=function(){n.focusHandler.onEditorMouseDown()},n.keyBindingFn=function(t){if("Tab"!==t.key)return"ArrowUp"!==t.key&&"ArrowDown"!==t.key||v()&&t.preventDefault(),Object(s.getDefaultKeyBinding)(t);var e=n.props.onTab;if(!e||!e(t)){var r=Object(c.changeDepth)(n.state.editorState,t.shiftKey?-1:1,4);r&&r!==n.state.editorState&&(n.onChange(r),t.preventDefault())}return null},n.onToolbarFocus=function(t){var e=n.props.onFocus;e&&n.focusHandler.isToolbarFocused()&&e(t)},n.onWrapperBlur=function(t){var e=n.props.onBlur;e&&n.focusHandler.isEditorBlur(t)&&e(t,n.getEditorState())},n.onChange=function(t){var e=n.props,r=e.readOnly,o=e.onEditorStateChange;r||"atomic"===Object(c.getSelectedBlocksType)(t)&&t.getSelection().isCollapsed||(o&&o(t,n.props.wrapperId),S(n.props,"editorState")?n.afterChange(t):n.setState({editorState:t},n.afterChange(t)))},n.setWrapperReference=function(t){n.wrapper=t},n.setEditorReference=function(t){n.props.editorRef&&n.props.editorRef(t),n.editor=t},n.getCompositeDecorator=function(t){var e=[].concat(ar(n.props.customDecorators),[{strategy:Tn,component:zn({showOpenOptionOnHover:t.link.showOpenOptionOnHover})}]);return n.props.mention&&e.push.apply(e,ar(function(t){return[new Pn(t.mentionClassName).getMentionDecorator(),new qn(t).getSuggestionDecorator()]}(or({},n.props.mention,{onChange:n.onChange,getEditorState:n.getEditorState,getSuggestions:n.getSuggestions,getWrapperRef:n.getWrapperRef,modalHandler:n.modalHandler})))),n.props.hashtag&&e.push(function(t){return new Yn(t).getHashtagDecorator()}(n.props.hashtag)),new s.CompositeDecorator(e)},n.getWrapperRef=function(){return n.wrapper},n.getEditorState=function(){return n.state?n.state.editorState:null},n.getSuggestions=function(){return n.props.mention&&n.props.mention.suggestions},n.afterChange=function(t){setTimeout((function(){var e=n.props,r=e.onChange,o=e.onContentStateChange;r&&r(Object(s.convertToRaw)(t.getCurrentContent())),o&&o(Object(s.convertToRaw)(t.getCurrentContent()))}))},n.isReadOnly=function(){return n.props.readOnly},n.isImageAlignmentEnabled=function(){return n.state.toolbar.image.alignmentEnabled},n.createEditorState=function(t){var e;if(S(n.props,"editorState"))n.props.editorState&&(e=s.EditorState.set(n.props.editorState,{decorator:t}));else if(S(n.props,"defaultEditorState"))n.props.defaultEditorState&&(e=s.EditorState.set(n.props.defaultEditorState,{decorator:t}));else if(S(n.props,"contentState")){if(n.props.contentState){var r=Object(s.convertFromRaw)(n.props.contentState);e=s.EditorState.createWithContent(r,t),e=s.EditorState.moveSelectionToEnd(e)}}else if(S(n.props,"defaultContentState")||S(n.props,"initialContentState")){var o=n.props.defaultContentState||n.props.initialContentState;o&&(o=Object(s.convertFromRaw)(o),e=s.EditorState.createWithContent(o,t),e=s.EditorState.moveSelectionToEnd(e))}return e||s.EditorState.createEmpty(t)},n.filterEditorProps=function(t){return e=t,n=["onChange","onEditorStateChange","onContentStateChange","initialContentState","defaultContentState","contentState","editorState","defaultEditorState","locale","localization","toolbarOnFocus","toolbar","toolbarCustomButtons","toolbarClassName","editorClassName","toolbarHidden","wrapperClassName","toolbarStyle","editorStyle","wrapperStyle","uploadCallback","onFocus","onBlur","onTab","mention","hashtag","ariaLabel","customBlockRenderFunc","customDecorators","handlePastedText","customStyleMap"],r=Object.keys(e).filter((function(t){return n.indexOf(t)<0})),o={},r&&0<r.length&&r.forEach((function(t){o[t]=e[t]})),o;var e,n,r,o},n.getStyleMap=function(t){return or({},Object(c.getCustomStyleMap)(),{},t.customStyleMap)},n.changeEditorState=function(t){var e=Object(s.convertFromRaw)(t),r=n.state.editorState;return r=s.EditorState.push(r,e,"insert-characters"),s.EditorState.moveSelectionToEnd(r)},n.focusEditor=function(){setTimeout((function(){n.editor.focus()}))},n.handleKeyCommand=function(t){var e=n.state,r=e.editorState,o=e.toolbar.inline;if(o&&0<=o.options.indexOf(t)){var i=s.RichUtils.handleKeyCommand(r,t);if(i)return n.onChange(i),!0}return!1},n.handleReturn=function(t){if(v())return!0;var e=n.state.editorState,r=Object(c.handleNewLine)(e,t);return!!r&&(n.onChange(r),!0)},n.handlePastedTextFn=function(t,e){var r=n.state.editorState,o=n.props,i=o.handlePastedText,a=o.stripPastedStyles;return i?i(t,e,r,n.onChange):!a&&function(t,e,n,r){var o=Object(c.getSelectedBlock)(n);if(o&&"code"===o.type){var i=s.Modifier.replaceText(n.getCurrentContent(),n.getSelection(),t,n.getCurrentInlineStyle());return r(s.EditorState.push(n,i,"insert-characters")),!0}if(e){var a=x()(e),u=n.getCurrentContent();return a.entityMap.forEach((function(t,e){u=u.mergeEntityData(e,t)})),u=s.Modifier.replaceWithFragment(u,n.getSelection(),new C.List(a.contentBlocks)),r(s.EditorState.push(n,u,"insert-characters")),!0}return!1}(t,e,r,n.onChange)},n.preventDefault=function(t){"INPUT"===t.target.tagName||"LABEL"===t.target.tagName||"TEXTAREA"===t.target.tagName?n.focusHandler.onInputMouseDown():t.preventDefault()};var r=E($n,e.toolbar),o=e.wrapperId?e.wrapperId:Math.floor(1e4*Math.random());n.wrapperId="rdw-wrapper-".concat(o),n.modalHandler=new p,n.focusHandler=new f,n.blockRendererFn=function(t,e){return function(n){if("function"==typeof e){var r=e(n,t,t.getEditorState);if(r)return r}if("atomic"===n.getType()){var o=t.getEditorState().getCurrentContent().getEntity(n.getEntityAt(0));if(o&&"IMAGE"===o.type)return{component:Xn(t),editable:!1};if(o&&"EMBEDDED_LINK"===o.type)return{component:Qn,editable:!1}}}}({isReadOnly:n.isReadOnly,isImageAlignmentEnabled:n.isImageAlignmentEnabled,getEditorState:n.getEditorState,onChange:n.onChange},e.customBlockRenderFunc),n.editorProps=n.filterEditorProps(e),n.customStyleMap=n.getStyleMap(e),n.compositeDecorator=n.getCompositeDecorator(r);var i=n.createEditorState(n.compositeDecorator);return Object(c.extractInlineStyle)(i),n.state={editorState:i,editorFocused:!1,toolbar:r},n}var e,n;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ur(t,e)}(t,r.Component),e=t,(n=[{key:"componentDidMount",value:function(){this.modalHandler.init(this.wrapperId)}},{key:"componentDidUpdate",value:function(t){if(t!==this.props){var e={},n=this.props,r=n.editorState,o=n.contentState;if(!this.state.toolbar){var i=E($n,i);e.toolbar=i}if(S(this.props,"editorState")&&r!==t.editorState)e.editorState=r?s.EditorState.set(r,{decorator:this.compositeDecorator}):s.EditorState.createEmpty(this.compositeDecorator);else if(S(this.props,"contentState")&&o!==t.contentState)if(o){var a=this.changeEditorState(o);a&&(e.editorState=a)}else e.editorState=s.EditorState.createEmpty(this.compositeDecorator);t.editorState===r&&t.contentState===o||Object(c.extractInlineStyle)(e.editorState),Object.keys(e).length&&this.setState(e),this.editorProps=this.filterEditorProps(this.props),this.customStyleMap=this.getStyleMap(this.props)}}},{key:"render",value:function(){var t=this.state,e=t.editorState,n=t.editorFocused,r=t.toolbar,i=this.props,a=i.locale,u=i.localization,p=u.locale,f=u.translations,d=i.toolbarCustomButtons,h=i.toolbarOnFocus,y=i.toolbarClassName,m=i.toolbarHidden,v=i.editorClassName,_=i.wrapperClassName,S=i.toolbarStyle,w=i.editorStyle,M=i.wrapperStyle,E=i.uploadCallback,k=i.ariaLabel,x={modalHandler:this.modalHandler,editorState:e,onChange:this.onChange,translations:or({},tr[a||p],{},f)},C=n||this.focusHandler.isInputFocused()||!h;return o.a.createElement("div",{id:this.wrapperId,className:l()(_,"rdw-editor-wrapper"),style:M,onClick:this.modalHandler.onEditorClick,onBlur:this.onWrapperBlur,"aria-label":"rdw-wrapper"},!m&&o.a.createElement("div",{className:l()("rdw-editor-toolbar",y),style:or({visibility:C?"visible":"hidden"},S),onMouseDown:this.preventDefault,"aria-label":"rdw-toolbar","aria-hidden":(!n&&h).toString(),onFocus:this.onToolbarFocus},r.options.map((function(t,e){var n=Dn[t],i=r[t];return"image"===t&&E&&(i.uploadCallback=E),o.a.createElement(n,nr({key:e},x,{config:i}))})),d&&d.map((function(t,e){return o.a.cloneElement(t,or({key:e},x))}))),o.a.createElement("div",{ref:this.setWrapperReference,className:l()(v,"rdw-editor-main"),style:w,onClick:this.focusEditor,onFocus:this.onEditorFocus,onBlur:this.onEditorBlur,onKeyDown:g.onKeyDown,onMouseDown:this.onEditorMouseDown},o.a.createElement(s.Editor,nr({ref:this.setEditorReference,keyBindingFn:this.keyBindingFn,editorState:e,onChange:this.onChange,blockStyleFn:b,customStyleMap:this.getStyleMap(this.props),handleReturn:this.handleReturn,handlePastedText:this.handlePastedTextFn,blockRendererFn:this.blockRendererFn,handleKeyCommand:this.handleKeyCommand,ariaLabel:k||"rdw-editor",blockRenderMap:c.blockRenderMap},this.editorProps))))}}])&&sr(e.prototype,n),t}();lr.propTypes={onChange:a.a.func,onEditorStateChange:a.a.func,onContentStateChange:a.a.func,initialContentState:a.a.object,defaultContentState:a.a.object,contentState:a.a.object,editorState:a.a.object,defaultEditorState:a.a.object,toolbarOnFocus:a.a.bool,spellCheck:a.a.bool,stripPastedStyles:a.a.bool,toolbar:a.a.object,toolbarCustomButtons:a.a.array,toolbarClassName:a.a.string,toolbarHidden:a.a.bool,locale:a.a.string,localization:a.a.object,editorClassName:a.a.string,wrapperClassName:a.a.string,toolbarStyle:a.a.object,editorStyle:a.a.object,wrapperStyle:a.a.object,uploadCallback:a.a.func,onFocus:a.a.func,onBlur:a.a.func,onTab:a.a.func,mention:a.a.object,hashtag:a.a.object,textAlignment:a.a.string,readOnly:a.a.bool,tabIndex:a.a.number,placeholder:a.a.string,ariaLabel:a.a.string,ariaOwneeID:a.a.string,ariaActiveDescendantID:a.a.string,ariaAutoComplete:a.a.string,ariaDescribedBy:a.a.string,ariaExpanded:a.a.string,ariaHasPopup:a.a.string,customBlockRenderFunc:a.a.func,wrapperId:a.a.number,customDecorators:a.a.array,editorRef:a.a.func,handlePastedText:a.a.func},lr.defaultProps={toolbarOnFocus:!1,toolbarHidden:!1,stripPastedStyles:!1,localization:{locale:"en",translations:{}},customDecorators:[]};var pr=lr;n.d(e,"Editor",(function(){return pr}))}],r.c=i,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=8);function r(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{}};return o[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var o,i}(n(32735),n(6880),n(11203))},56108:(t,e,n)=>{"use strict";n.d(e,{Z:()=>g});var r=n(20011),o=n(66017),i=n(32735);const a=i.useLayoutEffect;var s=function(t,e){"function"!=typeof t?t.current=e:t(e)};var c={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},u=function(t){Object.keys(c).forEach((function(e){t.style.setProperty(e,c[e],"important")}))},l=null,p=function(){},f=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width"],d=!!document.documentElement.currentStyle,h=function(t,e){var n=t.cacheMeasurements,c=t.maxRows,h=t.minRows,g=t.onChange,y=void 0===g?p:g,m=t.onHeightChange,v=void 0===m?p:m,b=(0,o.Z)(t,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]),_=void 0!==b.value,S=(0,i.useRef)(null),w=function(t,e){var n=(0,i.useRef)();return(0,i.useCallback)((function(r){t.current=r,n.current&&s(n.current,null),n.current=e,e&&s(e,r)}),[e])}(S,e),M=(0,i.useRef)(0),E=(0,i.useRef)(),k=function(){var t=S.current,e=n&&E.current?E.current:function(t){var e=window.getComputedStyle(t);if(null===e)return null;var n,r=(n=e,f.reduce((function(t,e){return t[e]=n[e],t}),{})),o=r.boxSizing;return""===o?null:(d&&"border-box"===o&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px"),{sizingStyle:r,paddingSize:parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),borderSize:parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth)})}(t);if(e){E.current=e;var r=function(t,e,n,r){void 0===n&&(n=1),void 0===r&&(r=1/0),l||((l=document.createElement("textarea")).setAttribute("tab-index","-1"),l.setAttribute("aria-hidden","true"),u(l)),null===l.parentNode&&document.body.appendChild(l);var o=t.paddingSize,i=t.borderSize,a=t.sizingStyle,s=a.boxSizing;Object.keys(a).forEach((function(t){var e=t;l.style[e]=a[e]})),u(l),l.value=e;var c=function(t,e){var n=t.scrollHeight;return"border-box"===e.sizingStyle.boxSizing?n+e.borderSize:n-e.paddingSize}(l,t);l.value="x";var p=l.scrollHeight-o,f=p*n;"border-box"===s&&(f=f+o+i),c=Math.max(f,c);var d=p*r;return"border-box"===s&&(d=d+o+i),[c=Math.min(d,c),p]}(e,t.value||t.placeholder||"x",h,c),o=r[0],i=r[1];M.current!==o&&(M.current=o,t.style.setProperty("height",o+"px","important"),v(o,{rowHeight:i}))}};return(0,i.useLayoutEffect)(k),function(t){var e,n,r=(e=t,n=i.useRef(e),a((function(){n.current=e})),n);(0,i.useLayoutEffect)((function(){var t=function(t){r.current(t)};return window.addEventListener("resize",t),function(){window.removeEventListener("resize",t)}}),[])}(k),(0,i.createElement)("textarea",(0,r.Z)({},b,{onChange:function(t){_||k(),y(t)},ref:w}))};const g=(0,i.forwardRef)(h)},67257:function(t,e,n){!function(t,e){"use strict";if(!t.setImmediate){var n,r,o,i,a,s=1,c={},u=!1,l=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?n=function(t){process.nextTick((function(){d(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?(i="setImmediate$"+Math.random()+"$",a=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(i)&&d(+e.data.slice(i.length))},t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a),n=function(e){t.postMessage(i+e,"*")}):t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){d(t.data)},n=function(t){o.port2.postMessage(t)}):l&&"onreadystatechange"in l.createElement("script")?(r=l.documentElement,n=function(t){var e=l.createElement("script");e.onreadystatechange=function(){d(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):n=function(t){setTimeout(d,0,t)},p.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),r=0;r<e.length;r++)e[r]=arguments[r+1];var o={callback:t,args:e};return c[s]=o,n(s),s++},p.clearImmediate=f}function f(t){delete c[t]}function d(t){if(u)setTimeout(d,0,t);else{var e=c[t];if(e){u=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(undefined,n)}}(e)}finally{f(t),u=!1}}}}}("undefined"==typeof self?void 0===n.g?this:n.g:self)},4234:(t,e,n)=>{"use strict";n.d(e,{Z:()=>x});var r=n(32735),o=n(60216),i=n.n(o),a=(n(15296),n(94386),n(48868),n(96609),n(92274),n(68268),n(81874),n(31341),n(54861),n(50200)),s=n.n(a),c=n(40001),u=n.n(c),l=n(98511),p=n.n(l),f=n(54006),d=n(15206),h=n.n(d),g=(n(82937),n(66403),n(42295),n(52963),n(34994),null),y=null;function m(){if(null===g){if("undefined"==typeof document)return g=0;var t=document.body,e=document.createElement("div");e.classList.add("simplebar-hide-scrollbar"),t.appendChild(e);var n=e.getBoundingClientRect().right;t.removeChild(e),g=n}return g}function v(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}function b(t){return t&&t.ownerDocument?t.ownerDocument:document}h()&&window.addEventListener("resize",(function(){y!==window.devicePixelRatio&&(y=window.devicePixelRatio,g=null)}));var _=function(){function t(e,n){var r=this;this.onScroll=function(){var t=v(r.el);r.scrollXTicking||(t.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(t.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0)},this.scrollX=function(){r.axis.x.isOverflowing&&(r.showScrollbar("x"),r.positionScrollbar("x")),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&(r.showScrollbar("y"),r.positionScrollbar("y")),r.scrollYTicking=!1},this.onMouseEnter=function(){r.showScrollbar("x"),r.showScrollbar("y")},this.onMouseMove=function(t){r.mouseX=t.clientX,r.mouseY=t.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this.onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.hideScrollbars=function(){r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.track.rect)||(r.axis.y.scrollbar.el.classList.remove(r.classNames.visible),r.axis.y.isVisible=!1),r.isWithinBounds(r.axis.x.track.rect)||(r.axis.x.scrollbar.el.classList.remove(r.classNames.visible),r.axis.x.isVisible=!1)},this.onPointerEvent=function(t){var e,n;r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(e=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(n=r.isWithinBounds(r.axis.y.track.rect)),(e||n)&&(t.preventDefault(),t.stopPropagation(),"mousedown"===t.type&&(e&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(t,"x"):r.onTrackClick(t,"x")),n&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(t,"y"):r.onTrackClick(t,"y"))))},this.drag=function(e){var n=r.axis[r.draggedAxis].track,o=n.rect[r.axis[r.draggedAxis].sizeAttr],i=r.axis[r.draggedAxis].scrollbar,a=r.contentWrapperEl[r.axis[r.draggedAxis].scrollSizeAttr],s=parseInt(r.elStyles[r.axis[r.draggedAxis].sizeAttr],10);e.preventDefault(),e.stopPropagation();var c=(("y"===r.draggedAxis?e.pageY:e.pageX)-n.rect[r.axis[r.draggedAxis].offsetAttr]-r.axis[r.draggedAxis].dragOffset)/(o-i.size)*(a-s);"x"===r.draggedAxis&&(c=r.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c-(o+i.size):c,c=r.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-c:c),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=c},this.onEndDrag=function(t){var e=b(r.el),n=v(r.el);t.preventDefault(),t.stopPropagation(),r.el.classList.remove(r.classNames.dragging),e.removeEventListener("mousemove",r.drag,!0),e.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=n.setTimeout((function(){e.removeEventListener("click",r.preventClick,!0),e.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null}))},this.preventClick=function(t){t.preventDefault(),t.stopPropagation()},this.el=e,this.minScrollbarWidth=20,this.options=Object.assign({},t.defaultOptions,{},n),this.classNames=Object.assign({},t.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,t.instances.has(this.el)||(this.recalculate=s()(this.recalculate.bind(this),64),this.onMouseMove=s()(this.onMouseMove.bind(this),64),this.hideScrollbars=u()(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=u()(this.onWindowResize.bind(this),64,{leading:!0}),t.getRtlHelpers=p()(t.getRtlHelpers),this.init())}t.getRtlHelpers=function(){var e=document.createElement("div");e.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var n=e.firstElementChild;document.body.appendChild(n);var r=n.firstElementChild;n.scrollLeft=0;var o=t.getOffset(n),i=t.getOffset(r);n.scrollLeft=999;var a=t.getOffset(r);return{isRtlScrollingInverted:o.left!==i.left&&i.left-a.left!=0,isRtlScrollbarInverted:o.left!==i.left}},t.getOffset=function(t){var e=t.getBoundingClientRect(),n=b(t),r=v(t);return{top:e.top+(r.pageYOffset||n.documentElement.scrollTop),left:e.left+(r.pageXOffset||n.documentElement.scrollLeft)}};var e=t.prototype;return e.init=function(){t.instances.set(this.el,this),h()&&(this.initDOM(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.initDOM=function(){var t=this;if(Array.prototype.filter.call(this.el.children,(function(e){return e.classList.contains(t.classNames.wrapper)})).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var e=document.createElement("div"),n=document.createElement("div");e.classList.add(this.classNames.track),n.classList.add(this.classNames.scrollbar),e.appendChild(n),this.axis.x.track.el=e.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=e.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},e.initListeners=function(){var t=this,e=v(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(e){t.el.addEventListener(e,t.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(e){t.el.addEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})})),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),e.addEventListener("resize",this.onWindowResize);var n=!1,r=e.ResizeObserver||f.Z;this.resizeObserver=new r((function(){n&&t.recalculate()})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),e.requestAnimationFrame((function(){n=!0})),this.mutationObserver=new e.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},e.recalculate=function(){var t=v(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var e=this.heightAutoObserverEl.offsetHeight<=1,n=this.heightAutoObserverEl.offsetWidth<=1,r=this.contentEl.offsetWidth,o=this.contentWrapperEl.offsetWidth,i=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var s=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=e?"auto":"100%",this.placeholderEl.style.width=n?r+"px":"auto",this.placeholderEl.style.height=s+"px";var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=c>r,this.axis.y.isOverflowing=s>u,this.axis.x.isOverflowing="hidden"!==i&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var l=this.axis.x.isOverflowing?this.scrollbarWidth:0,p=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>o-p,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&s>u-l,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},e.getScrollbarSize=function(t){if(void 0===t&&(t="y"),!this.axis[t].isOverflowing)return 0;var e,n=this.contentEl[this.axis[t].scrollSizeAttr],r=this.axis[t].track.el[this.axis[t].offsetSizeAttr],o=r/n;return e=Math.max(~~(o*r),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(e=Math.min(e,this.options.scrollbarMaxSize)),e},e.positionScrollbar=function(e){if(void 0===e&&(e="y"),this.axis[e].isOverflowing){var n=this.contentWrapperEl[this.axis[e].scrollSizeAttr],r=this.axis[e].track.el[this.axis[e].offsetSizeAttr],o=parseInt(this.elStyles[this.axis[e].sizeAttr],10),i=this.axis[e].scrollbar,a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],s=(a="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-a:a)/(n-o),c=~~((r-i.size)*s);c="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c+(r-i.size):c,i.el.style.transform="x"===e?"translate3d("+c+"px, 0, 0)":"translate3d(0, "+c+"px, 0)"}},e.toggleTrackVisibility=function(t){void 0===t&&(t="y");var e=this.axis[t].track.el,n=this.axis[t].scrollbar.el;this.axis[t].isOverflowing||this.axis[t].forceVisible?(e.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll"):(e.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden"),this.axis[t].isOverflowing?n.style.display="block":n.style.display="none"},e.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},e.onMouseMoveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.rect=this.axis[t].track.el.getBoundingClientRect(),this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[t].scrollbar.rect)?this.axis[t].scrollbar.el.classList.add(this.classNames.hover):this.axis[t].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[t].track.rect)?(this.showScrollbar(t),this.axis[t].track.el.classList.add(this.classNames.hover)):this.axis[t].track.el.classList.remove(this.classNames.hover)},e.onMouseLeaveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.el.classList.remove(this.classNames.hover),this.axis[t].scrollbar.el.classList.remove(this.classNames.hover)},e.showScrollbar=function(t){void 0===t&&(t="y");var e=this.axis[t].scrollbar.el;this.axis[t].isVisible||(e.classList.add(this.classNames.visible),this.axis[t].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},e.onDragStart=function(t,e){void 0===e&&(e="y");var n=b(this.el),r=v(this.el),o=this.axis[e].scrollbar,i="y"===e?t.pageY:t.pageX;this.axis[e].dragOffset=i-o.rect[this.axis[e].offsetAttr],this.draggedAxis=e,this.el.classList.add(this.classNames.dragging),n.addEventListener("mousemove",this.drag,!0),n.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(n.addEventListener("click",this.preventClick,!0),n.addEventListener("dblclick",this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.onTrackClick=function(t,e){var n=this;if(void 0===e&&(e="y"),this.options.clickOnTrack){var r=v(this.el);this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect();var o=this.axis[e].scrollbar.rect[this.axis[e].offsetAttr],i=parseInt(this.elStyles[this.axis[e].sizeAttr],10),a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],s=("y"===e?this.mouseY-o:this.mouseX-o)<0?-1:1,c=-1===s?a-i:a+i;!function t(){var o,i;-1===s?a>c&&(a-=n.options.clickOnTrackSpeed,n.contentWrapperEl.scrollTo(((o={})[n.axis[e].offsetAttr]=a,o)),r.requestAnimationFrame(t)):a<c&&(a+=n.options.clickOnTrackSpeed,n.contentWrapperEl.scrollTo(((i={})[n.axis[e].offsetAttr]=a,i)),r.requestAnimationFrame(t))}()}},e.getContentElement=function(){return this.contentEl},e.getScrollElement=function(){return this.contentWrapperEl},e.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:m()}catch(t){return m()}},e.removeListeners=function(){var t=this,e=v(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(e){t.el.removeEventListener(e,t.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(e){t.el.removeEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})})),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},e.unMount=function(){this.removeListeners(),t.instances.delete(this.el)},e.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.findChild=function(t,e){var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,(function(t){return n.call(t,e)}))[0]},t}();_.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},_.instances=new WeakMap;const S=_;function w(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function M(){return M=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},M.apply(this,arguments)}function E(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var k=r.forwardRef((function(t,e){var n,o=t.children,i=t.scrollableNodeProps,a=void 0===i?{}:i,s=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,["children","scrollableNodeProps"]),c=(0,r.useRef)(),u=(0,r.useRef)(),l=(0,r.useRef)(),p={},f={},d=[];return Object.keys(s).forEach((function(t){Object.prototype.hasOwnProperty.call(S.defaultOptions,t)?p[t]=s[t]:t.match(/data-simplebar-(.+)/)&&"data-simplebar-direction"!==t?d.push({name:t,value:s[t]}):f[t]=s[t]})),d.length&&console.warn("simplebar-react: this way of passing options is deprecated. Pass it like normal props instead:\n 'data-simplebar-auto-hide=\"false\"' —> 'autoHide=\"false\"'\n "),(0,r.useEffect)((function(){var t;return c=a.ref||c,u.current&&(n=new S(u.current,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?E(n,!0).forEach((function(e){w(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):E(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(t=d,Array.prototype.reduce.call(t,(function(t,e){var n=e.name.match(/data-simplebar-(.+)/);if(n){var r=n[1].replace(/\W+(.)/g,(function(t,e){return e.toUpperCase()}));switch(e.value){case"true":t[r]=!0;break;case"false":t[r]=!1;break;case void 0:t[r]=!0;break;default:t[r]=e.value}}return t}),{})),{},p,{},c&&{scrollableNode:c.current},{},l.current&&{contentNode:l.current})),e&&(e.current=n)),function(){n.unMount(),n=null}}),[]),r.createElement("div",M({ref:u,"data-simplebar":!0},f),r.createElement("div",{className:"simplebar-wrapper"},r.createElement("div",{className:"simplebar-height-auto-observer-wrapper"},r.createElement("div",{className:"simplebar-height-auto-observer"})),r.createElement("div",{className:"simplebar-mask"},r.createElement("div",{className:"simplebar-offset"},"function"==typeof o?o({scrollableNodeRef:c,contentNodeRef:l}):r.createElement("div",M({},a,{className:"simplebar-content-wrapper".concat(a.className?" ".concat(a.className):"")}),r.createElement("div",{className:"simplebar-content"},o)))),r.createElement("div",{className:"simplebar-placeholder"})),r.createElement("div",{className:"simplebar-track simplebar-horizontal"},r.createElement("div",{className:"simplebar-scrollbar"})),r.createElement("div",{className:"simplebar-track simplebar-vertical"},r.createElement("div",{className:"simplebar-scrollbar"})))}));k.displayName="SimpleBar",k.propTypes={children:i().oneOfType([i().node,i().func]),scrollableNodeProps:i().object};const x=k},52423:function(t,e,n){var r;!function(o,i){"use strict";var a="function",s="undefined",c="object",u="string",l="major",p="model",f="name",d="type",h="vendor",g="version",y="architecture",m="console",v="mobile",b="tablet",_="smarttv",S="wearable",w="embedded",M="Amazon",E="Apple",k="ASUS",x="BlackBerry",C="Browser",j="Chrome",O="Firefox",D="Google",I="Huawei",L="LG",N="Microsoft",A="Motorola",T="Opera",z="Samsung",R="Sharp",P="Sony",B="Xiaomi",U="Zebra",F="Facebook",K="Chromium OS",H="Mac OS",q=function(t){for(var e={},n=0;n<t.length;n++)e[t[n].toUpperCase()]=t[n];return e},Y=function(t,e){return typeof t===u&&-1!==W(e).indexOf(W(t))},W=function(t){return t.toLowerCase()},Q=function(t,e){if(typeof t===u)return t=t.replace(/^\s\s*/,""),typeof e===s?t:t.substring(0,350)},Z=function(t,e){for(var n,r,o,s,u,l,p=0;p<e.length&&!u;){var f=e[p],d=e[p+1];for(n=r=0;n<f.length&&!u&&f[n];)if(u=f[n++].exec(t))for(o=0;o<d.length;o++)l=u[++r],typeof(s=d[o])===c&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):i:this[s[0]]=l?s[1].call(this,l,s[2]):i:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):i):this[s]=l||i;p+=2}},V=function(t,e){for(var n in e)if(typeof e[n]===c&&e[n].length>0){for(var r=0;r<e[n].length;r++)if(Y(e[n][r],t))return"?"===n?i:n}else if(Y(e[n],t))return"?"===n?i:n;return t},G={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},J={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,g],[/opios[\/ ]+([\w\.]+)/i],[g,[f,T+" Mini"]],[/\bopr\/([\w\.]+)/i],[g,[f,T]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,g],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[f,"UC"+C]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[g,[f,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[g,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[f,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+C],g],[/\bfocus\/([\w\.]+)/i],[g,[f,O+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[f,T+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[f,T+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[f,"MIUI "+C]],[/fxios\/([-\w\.]+)/i],[g,[f,O]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360 "+C]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 "+C],g],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[f,g],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,F],g],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[g,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[f,j+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,j+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[f,"Android "+C]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[g,V,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[f,O+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[f,g],[/(cobalt)\/([\w\.]+)/i],[f,[g,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,W]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,"",W]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,W]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[p,[h,z],[d,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[p,[h,z],[d,v]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[p,[h,E],[d,v]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[p,[h,E],[d,b]],[/(macintosh);/i],[p,[h,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[p,[h,R],[d,v]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[p,[h,I],[d,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[p,[h,I],[d,v]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[p,/_/g," "],[h,B],[d,v]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[p,/_/g," "],[h,B],[d,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[p,[h,"OPPO"],[d,v]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[p,[h,"Vivo"],[d,v]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[p,[h,"Realme"],[d,v]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[p,[h,A],[d,v]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[p,[h,A],[d,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[p,[h,L],[d,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[p,[h,L],[d,v]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[p,[h,"Lenovo"],[d,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[p,/_/g," "],[h,"Nokia"],[d,v]],[/(pixel c)\b/i],[p,[h,D],[d,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[p,[h,D],[d,v]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[p,[h,P],[d,v]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[p,"Xperia Tablet"],[h,P],[d,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[p,[h,"OnePlus"],[d,v]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[p,[h,M],[d,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[p,/(.+)/g,"Fire Phone $1"],[h,M],[d,v]],[/(playbook);[-\w\),; ]+(rim)/i],[p,h,[d,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[p,[h,x],[d,v]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[p,[h,k],[d,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[p,[h,k],[d,v]],[/(nexus 9)/i],[p,[h,"HTC"],[d,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[p,/_/g," "],[d,v]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[p,[h,"Acer"],[d,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[p,[h,"Meizu"],[d,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,p,[d,v]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,p,[d,b]],[/(surface duo)/i],[p,[h,N],[d,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[p,[h,"Fairphone"],[d,v]],[/(u304aa)/i],[p,[h,"AT&T"],[d,v]],[/\bsie-(\w*)/i],[p,[h,"Siemens"],[d,v]],[/\b(rct\w+) b/i],[p,[h,"RCA"],[d,b]],[/\b(venue[\d ]{2,7}) b/i],[p,[h,"Dell"],[d,b]],[/\b(q(?:mv|ta)\w+) b/i],[p,[h,"Verizon"],[d,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[p,[h,"Barnes & Noble"],[d,b]],[/\b(tm\d{3}\w+) b/i],[p,[h,"NuVision"],[d,b]],[/\b(k88) b/i],[p,[h,"ZTE"],[d,b]],[/\b(nx\d{3}j) b/i],[p,[h,"ZTE"],[d,v]],[/\b(gen\d{3}) b.+49h/i],[p,[h,"Swiss"],[d,v]],[/\b(zur\d{3}) b/i],[p,[h,"Swiss"],[d,b]],[/\b((zeki)?tb.*\b) b/i],[p,[h,"Zeki"],[d,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],p,[d,b]],[/\b(ns-?\w{0,9}) b/i],[p,[h,"Insignia"],[d,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[p,[h,"NextBook"],[d,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],p,[d,v]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],p,[d,v]],[/\b(ph-1) /i],[p,[h,"Essential"],[d,v]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[p,[h,"Envizen"],[d,b]],[/\b(trio[-\w\. ]+) b/i],[p,[h,"MachSpeed"],[d,b]],[/\btu_(1491) b/i],[p,[h,"Rotor"],[d,b]],[/(shield[\w ]+) b/i],[p,[h,"Nvidia"],[d,b]],[/(sprint) (\w+)/i],[h,p,[d,v]],[/(kin\.[onetw]{3})/i],[[p,/\./g," "],[h,N],[d,v]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[p,[h,U],[d,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[p,[h,U],[d,v]],[/smart-tv.+(samsung)/i],[h,[d,_]],[/hbbtv.+maple;(\d+)/i],[[p,/^/,"SmartTV"],[h,z],[d,_]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,L],[d,_]],[/(apple) ?tv/i],[h,[p,E+" TV"],[d,_]],[/crkey/i],[[p,j+"cast"],[h,D],[d,_]],[/droid.+aft(\w+)( bui|\))/i],[p,[h,M],[d,_]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[p,[h,R],[d,_]],[/(bravia[\w ]+)( bui|\))/i],[p,[h,P],[d,_]],[/(mitv-\w{5}) bui/i],[p,[h,B],[d,_]],[/Hbbtv.*(technisat) (.*);/i],[h,p,[d,_]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,Q],[p,Q],[d,_]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,_]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,p,[d,m]],[/droid.+; (shield) bui/i],[p,[h,"Nvidia"],[d,m]],[/(playstation [345portablevi]+)/i],[p,[h,P],[d,m]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[p,[h,N],[d,m]],[/((pebble))app/i],[h,p,[d,S]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[p,[h,E],[d,S]],[/droid.+; (glass) \d/i],[p,[h,D],[d,S]],[/droid.+; (wt63?0{2,3})\)/i],[p,[h,U],[d,S]],[/(quest( 2| pro)?)/i],[p,[h,F],[d,S]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[d,w]],[/(aeobc)\b/i],[p,[h,M],[d,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[p,[d,v]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[p,[d,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,v]],[/(android[-\w\. ]{0,9});.+buil/i],[p,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,g],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,g],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[f,[g,V,G]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[f,"Windows"],[g,V,G]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,H],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,g],[/\(bb(10);/i],[g,[f,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[g,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[f,O+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[g,[f,j+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,K],g],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,g],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,g]]},X=function(t,e){if(typeof t===c&&(e=t,t=i),!(this instanceof X))return new X(t,e).getResult();var n=typeof o!==s&&o.navigator?o.navigator:i,r=t||(n&&n.userAgent?n.userAgent:""),m=n&&n.userAgentData?n.userAgentData:i,_=e?function(t,e){var n={};for(var r in t)e[r]&&e[r].length%2==0?n[r]=e[r].concat(t[r]):n[r]=t[r];return n}(J,e):J,S=n&&n.userAgent==r;return this.getBrowser=function(){var t,e={};return e[f]=i,e[g]=i,Z.call(e,r,_.browser),e[l]=typeof(t=e[g])===u?t.replace(/[^\d\.]/g,"").split(".")[0]:i,S&&n&&n.brave&&typeof n.brave.isBrave==a&&(e[f]="Brave"),e},this.getCPU=function(){var t={};return t[y]=i,Z.call(t,r,_.cpu),t},this.getDevice=function(){var t={};return t[h]=i,t[p]=i,t[d]=i,Z.call(t,r,_.device),S&&!t[d]&&m&&m.mobile&&(t[d]=v),S&&"Macintosh"==t[p]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(t[p]="iPad",t[d]=b),t},this.getEngine=function(){var t={};return t[f]=i,t[g]=i,Z.call(t,r,_.engine),t},this.getOS=function(){var t={};return t[f]=i,t[g]=i,Z.call(t,r,_.os),S&&!t[f]&&m&&"Unknown"!=m.platform&&(t[f]=m.platform.replace(/chrome os/i,K).replace(/macos/i,H)),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(t){return r=typeof t===u&&t.length>350?Q(t,350):t,this},this.setUA(r),this};X.VERSION="0.7.36",X.BROWSER=q([f,g,l]),X.CPU=q([y]),X.DEVICE=q([p,h,d,m,v,_,b,S,w]),X.ENGINE=X.OS=q([f,g]),typeof e!==s?(t.exports&&(e=t.exports=X),e.UAParser=X):n.amdO?(r=function(){return X}.call(e,n,e,t))===i||(t.exports=r):typeof o!==s&&(o.UAParser=X);var $=typeof o!==s&&(o.jQuery||o.Zepto);if($&&!$.ua){var tt=new X;$.ua=tt.getResult(),$.ua.get=function(){return tt.getUA()},$.ua.set=function(t){tt.setUA(t);var e=tt.getResult();for(var n in e)$.ua[n]=e[n]}}}("object"==typeof window?window:this)},37017:(t,e,n)=>{"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,{Z:()=>r})},21930:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(37017),o=n(49139);function i(t){return function(t){if(Array.isArray(t))return(0,r.Z)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||(0,o.Z)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},36655:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}n.d(e,{Z:()=>r})},49139:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(37017);function o(t,e){if(t){if("string"==typeof t)return(0,r.Z)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(t,e):void 0}}}}]);
|