@bee-hole/admin 1.10.0 → 1.10.2
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/css/lang-ar-EG~31ecd969.c8d2c718.css +28 -0
- package/dist/css/lang-ar-EG~31ecd969.c8d2c718.css.gz +0 -0
- package/dist/index.html +1 -1
- package/dist/js/app~f075b844.bce8c512.js +13 -0
- package/dist/js/app~f075b844.bce8c512.js.gz +0 -0
- package/dist/js/lang-ar-EG~31ecd969.ade3ba7e.js +37 -0
- package/dist/js/lang-ar-EG~31ecd969.ade3ba7e.js.gz +0 -0
- package/package.json +1 -1
- package/dist/css/chunk-00637b36.0769db83.css +0 -1
- package/dist/css/chunk-00aa8852.3235cd8d.css +0 -1
- package/dist/css/chunk-00ac2b64.4d8735d7.css +0 -1
- package/dist/css/chunk-00cf1977.ae806ef3.css +0 -1
- package/dist/css/chunk-025beb3e.df44a955.css +0 -1
- package/dist/css/chunk-025beb3e.df44a955.css.gz +0 -0
- package/dist/css/chunk-0260d235.a4c7153d.css +0 -1
- package/dist/css/chunk-027ab66b.1d6d2454.css +0 -1
- package/dist/css/chunk-028fc182.7e69986b.css +0 -1
- package/dist/css/chunk-0306de3d.0769db83.css +0 -1
- package/dist/css/chunk-04d7c8ea.9d41499e.css +0 -1
- package/dist/css/chunk-04d7c8ea.9d41499e.css.gz +0 -0
- package/dist/css/chunk-04e7ec55.84b3d0eb.css +0 -26
- package/dist/css/chunk-04e7ec55.84b3d0eb.css.gz +0 -0
- package/dist/css/chunk-04f41878.504602d0.css +0 -1
- package/dist/css/chunk-05ab4d6d.3a09c127.css +0 -1
- package/dist/css/chunk-05ab4d6d.3a09c127.css.gz +0 -0
- package/dist/css/chunk-05d923ed.73095e5e.css +0 -26
- package/dist/css/chunk-05d923ed.73095e5e.css.gz +0 -0
- package/dist/css/chunk-06c91ca0.01505e8b.css +0 -1
- package/dist/css/chunk-0794d767.8c357042.css +0 -1
- package/dist/css/chunk-07b77151.593e0701.css +0 -1
- package/dist/css/chunk-07baf687.ff01cedb.css +0 -1
- package/dist/css/chunk-084aa476.593e0701.css +0 -1
- package/dist/css/chunk-08eabfd1.282b96f7.css +0 -28
- package/dist/css/chunk-08eabfd1.282b96f7.css.gz +0 -0
- package/dist/css/chunk-0b0bfb5c.b74a1d7f.css +0 -1
- package/dist/css/chunk-0b6c9d7d.0769db83.css +0 -1
- package/dist/css/chunk-0cf6ec02.01505e8b.css +0 -1
- package/dist/css/chunk-0d60091a.e2a29ada.css +0 -1
- package/dist/css/chunk-0ed2d86c.665ea207.css +0 -1
- package/dist/css/chunk-0ed2d86c.665ea207.css.gz +0 -0
- package/dist/css/chunk-10537549.3d2f64ef.css +0 -28
- package/dist/css/chunk-10537549.3d2f64ef.css.gz +0 -0
- package/dist/css/chunk-135f9d26.b6d1ca43.css +0 -1
- package/dist/css/chunk-1429bb31.020e7cf7.css +0 -28
- package/dist/css/chunk-1429bb31.020e7cf7.css.gz +0 -0
- package/dist/css/chunk-145e10eb.b99cdda7.css +0 -1
- package/dist/css/chunk-14941724.f988e602.css +0 -26
- package/dist/css/chunk-14941724.f988e602.css.gz +0 -0
- package/dist/css/chunk-14c108f7.9e778826.css +0 -1
- package/dist/css/chunk-14c6aeb6.8c6c4f7e.css +0 -1
- package/dist/css/chunk-14c6aeb6.8c6c4f7e.css.gz +0 -0
- package/dist/css/chunk-1545d184.75673b0c.css +0 -1
- package/dist/css/chunk-1767f4f1.7deb482e.css +0 -1
- package/dist/css/chunk-179aeb4c.94afb985.css +0 -1
- package/dist/css/chunk-179d29ae.4e9189ac.css +0 -1
- package/dist/css/chunk-179d29ae.4e9189ac.css.gz +0 -0
- package/dist/css/chunk-17bcde6e.739a4200.css +0 -1
- package/dist/css/chunk-18004190.01505e8b.css +0 -1
- package/dist/css/chunk-18ad0950.fc8fd463.css +0 -1
- package/dist/css/chunk-1950598a.a56ec319.css +0 -1
- package/dist/css/chunk-1a7b8c39.df44a955.css +0 -1
- package/dist/css/chunk-1a7b8c39.df44a955.css.gz +0 -0
- package/dist/css/chunk-1a9eefe8.73095e5e.css +0 -26
- package/dist/css/chunk-1a9eefe8.73095e5e.css.gz +0 -0
- package/dist/css/chunk-1b10afdc.3350f847.css +0 -1
- package/dist/css/chunk-1c1845ac.78f81b06.css +0 -1
- package/dist/css/chunk-20958293.04c3ac9c.css +0 -28
- package/dist/css/chunk-20958293.04c3ac9c.css.gz +0 -0
- package/dist/css/chunk-22d847c3.90d9235e.css +0 -1
- package/dist/css/chunk-23884b83.54b7edfe.css +0 -1
- package/dist/css/chunk-265c3b50.b99cdda7.css +0 -1
- package/dist/css/chunk-26955ff4.35604df2.css +0 -1
- package/dist/css/chunk-26fdb856.de2d7b59.css +0 -1
- package/dist/css/chunk-26fdb856.de2d7b59.css.gz +0 -0
- package/dist/css/chunk-272047c5.b375bfa8.css +0 -1
- package/dist/css/chunk-28a7b892.90d9235e.css +0 -1
- package/dist/css/chunk-2921ed26.5382a738.css +0 -1
- package/dist/css/chunk-2a14e329.c111f384.css +0 -1
- package/dist/css/chunk-2a4cc50f.90d9235e.css +0 -1
- package/dist/css/chunk-2aa1a24a.dce8f395.css +0 -1
- package/dist/css/chunk-2adfca70.d1abe38c.css +0 -1
- package/dist/css/chunk-2d0c1ec5.48b9f257.css +0 -1
- package/dist/css/chunk-2fde7ddd.01505e8b.css +0 -1
- package/dist/css/chunk-3074ae58.59ec3ab3.css +0 -1
- package/dist/css/chunk-314e252e.7e69986b.css +0 -1
- package/dist/css/chunk-322a512a.9e0392bb.css +0 -1
- package/dist/css/chunk-326897d9.59988499.css +0 -1
- package/dist/css/chunk-3275d67e.01505e8b.css +0 -1
- package/dist/css/chunk-32ca08dd.60ddc6d8.css +0 -1
- package/dist/css/chunk-32ce59e6.3fc48fd2.css +0 -1
- package/dist/css/chunk-33569830.c4fd7e0b.css +0 -1
- package/dist/css/chunk-3493352c.e1ad4310.css +0 -1
- package/dist/css/chunk-34959660.593e0701.css +0 -1
- package/dist/css/chunk-36aa0dfc.27c5f45b.css +0 -1
- package/dist/css/chunk-3a4e27b8.14470b0b.css +0 -1
- package/dist/css/chunk-3b5e1ab4.30c8a03b.css +0 -1
- package/dist/css/chunk-3c17c044.93055624.css +0 -1
- package/dist/css/chunk-3f066b18.df44a955.css +0 -1
- package/dist/css/chunk-3f066b18.df44a955.css.gz +0 -0
- package/dist/css/chunk-4076bc2a.90d9235e.css +0 -1
- package/dist/css/chunk-40aa4c28.c614fa6a.css +0 -1
- package/dist/css/chunk-412997a0.9cb721a3.css +0 -1
- package/dist/css/chunk-412997a0.9cb721a3.css.gz +0 -0
- package/dist/css/chunk-43044724.f864e687.css +0 -1
- package/dist/css/chunk-4378fa9c.b375bfa8.css +0 -1
- package/dist/css/chunk-4452a926.5189519b.css +0 -1
- package/dist/css/chunk-44a8258a.963cbd10.css +0 -28
- package/dist/css/chunk-44a8258a.963cbd10.css.gz +0 -0
- package/dist/css/chunk-44fc565e.f010a639.css +0 -1
- package/dist/css/chunk-465b2920.295d3cc4.css +0 -1
- package/dist/css/chunk-47d8a588.90d9235e.css +0 -1
- package/dist/css/chunk-4863dfb3.90d9235e.css +0 -1
- package/dist/css/chunk-4a483645.779f6b22.css +0 -26
- package/dist/css/chunk-4a483645.779f6b22.css.gz +0 -0
- package/dist/css/chunk-4ab199b7.29a33db9.css +0 -1
- package/dist/css/chunk-4b26ab75.90d9235e.css +0 -1
- package/dist/css/chunk-4b2f58b4.19280d09.css +0 -1
- package/dist/css/chunk-4b7874ba.093e4bdd.css +0 -26
- package/dist/css/chunk-4b7874ba.093e4bdd.css.gz +0 -0
- package/dist/css/chunk-4c971fb4.90d9235e.css +0 -1
- package/dist/css/chunk-4edbedb6.dd160891.css +0 -1
- package/dist/css/chunk-518edff9.1264c4ce.css +0 -1
- package/dist/css/chunk-51a24b4e.90d9235e.css +0 -1
- package/dist/css/chunk-51a45b96.b2225007.css +0 -1
- package/dist/css/chunk-51a45b96.b2225007.css.gz +0 -0
- package/dist/css/chunk-52046674.a4556e83.css +0 -1
- package/dist/css/chunk-531f52c6.e25e2b3a.css +0 -1
- package/dist/css/chunk-54de4156.648e112c.css +0 -1
- package/dist/css/chunk-5997b5f8.90d9235e.css +0 -1
- package/dist/css/chunk-5ce7006a.14470b0b.css +0 -1
- package/dist/css/chunk-5d41c45a.eec091e5.css +0 -1
- package/dist/css/chunk-5d8b6fcc.01505e8b.css +0 -1
- package/dist/css/chunk-5e6b06db.3211bdc9.css +0 -1
- package/dist/css/chunk-5f95f84f.0769db83.css +0 -1
- package/dist/css/chunk-5fb5ca59.90d9235e.css +0 -1
- package/dist/css/chunk-606ebf13.32e9eba9.css +0 -26
- package/dist/css/chunk-606ebf13.32e9eba9.css.gz +0 -0
- package/dist/css/chunk-60df832f.1ef5e9ff.css +0 -1
- package/dist/css/chunk-60df832f.1ef5e9ff.css.gz +0 -0
- package/dist/css/chunk-612943ae.c1b56856.css +0 -26
- package/dist/css/chunk-612943ae.c1b56856.css.gz +0 -0
- package/dist/css/chunk-615b59af.0769db83.css +0 -1
- package/dist/css/chunk-617f2d54.3ee2df05.css +0 -1
- package/dist/css/chunk-61c1aab3.62383767.css +0 -1
- package/dist/css/chunk-61c1aab3.62383767.css.gz +0 -0
- package/dist/css/chunk-628807dc.c635c538.css +0 -1
- package/dist/css/chunk-62cca384.247fd522.css +0 -1
- package/dist/css/chunk-62e82f90.01505e8b.css +0 -1
- package/dist/css/chunk-632a3278.3d72673d.css +0 -1
- package/dist/css/chunk-63e021fe.e1d1d245.css +0 -1
- package/dist/css/chunk-6409d53d.ccbe049e.css +0 -1
- package/dist/css/chunk-645b3c42.9f9c142f.css +0 -1
- package/dist/css/chunk-64a37036.d60f1fab.css +0 -1
- package/dist/css/chunk-6775583a.bcadad58.css +0 -1
- package/dist/css/chunk-683b08c6.27c5f45b.css +0 -1
- package/dist/css/chunk-6884476e.90d9235e.css +0 -1
- package/dist/css/chunk-691a95ff.b937c873.css +0 -1
- package/dist/css/chunk-69e38838.d6306245.css +0 -1
- package/dist/css/chunk-6aa81580.1ad5fb80.css +0 -1
- package/dist/css/chunk-6ab7a670.cdf49dc4.css +0 -28
- package/dist/css/chunk-6ab7a670.cdf49dc4.css.gz +0 -0
- package/dist/css/chunk-6b0be232.90d9235e.css +0 -1
- package/dist/css/chunk-6c246dbc.dde9c210.css +0 -1
- package/dist/css/chunk-6c3fad0b.4d17f86f.css +0 -1
- package/dist/css/chunk-6c3fad0b.4d17f86f.css.gz +0 -0
- package/dist/css/chunk-6f044d45.0769db83.css +0 -1
- package/dist/css/chunk-709af334.498320e9.css +0 -1
- package/dist/css/chunk-7120cdb0.bb18031d.css +0 -1
- package/dist/css/chunk-71ec99d7.5f05dd6c.css +0 -1
- package/dist/css/chunk-71ec99d7.5f05dd6c.css.gz +0 -0
- package/dist/css/chunk-7222b372.b99cdda7.css +0 -1
- package/dist/css/chunk-73c2ecc9.90d9235e.css +0 -1
- package/dist/css/chunk-73c863bf.498afba1.css +0 -28
- package/dist/css/chunk-73c863bf.498afba1.css.gz +0 -0
- package/dist/css/chunk-7459c046.78f40eae.css +0 -1
- package/dist/css/chunk-746ea30c.62383767.css +0 -1
- package/dist/css/chunk-746ea30c.62383767.css.gz +0 -0
- package/dist/css/chunk-771c542f.6bf2003b.css +0 -1
- package/dist/css/chunk-771c542f.6bf2003b.css.gz +0 -0
- package/dist/css/chunk-77734c0c.de3ab1f7.css +0 -1
- package/dist/css/chunk-78e96e4e.0a822988.css +0 -1
- package/dist/css/chunk-79c45464.ae806ef3.css +0 -1
- package/dist/css/chunk-7cba06ee.73095e5e.css +0 -26
- package/dist/css/chunk-7cba06ee.73095e5e.css.gz +0 -0
- package/dist/css/chunk-80461734.4910bc4c.css +0 -1
- package/dist/css/chunk-8149fcb2.2def9366.css +0 -26
- package/dist/css/chunk-8149fcb2.2def9366.css.gz +0 -0
- package/dist/css/chunk-88e03ca2.e839be74.css +0 -1
- package/dist/css/chunk-8cd7803c.a9a28e08.css +0 -28
- package/dist/css/chunk-8cd7803c.a9a28e08.css.gz +0 -0
- package/dist/css/chunk-8d59aa52.dce8f395.css +0 -1
- package/dist/css/chunk-92afdb06.cb7a1488.css +0 -1
- package/dist/css/chunk-96bd6b48.4d8735d7.css +0 -1
- package/dist/css/chunk-9cf8c078.75c48f34.css +0 -1
- package/dist/css/chunk-9cf8c078.75c48f34.css.gz +0 -0
- package/dist/css/chunk-9fa2669c.bf878e79.css +0 -1
- package/dist/css/chunk-a5594d12.2e3ecc8f.css +0 -1
- package/dist/css/chunk-aadf0b4e.30c8a03b.css +0 -1
- package/dist/css/chunk-ac5b10a4.f0551347.css +0 -1
- package/dist/css/chunk-ac5b10a4.f0551347.css.gz +0 -0
- package/dist/css/chunk-ae173228.097323e1.css +0 -1
- package/dist/css/chunk-ae173228.097323e1.css.gz +0 -0
- package/dist/css/chunk-b3134102.c2330f8f.css +0 -1
- package/dist/css/chunk-b3134102.c2330f8f.css.gz +0 -0
- package/dist/css/chunk-b57923a6.b937c873.css +0 -1
- package/dist/css/chunk-ba6e068e.cae1cbef.css +0 -1
- package/dist/css/chunk-ba6e068e.cae1cbef.css.gz +0 -0
- package/dist/css/chunk-c008239a.9b167cfd.css +0 -1
- package/dist/css/chunk-c4c12730.8b4afb71.css +0 -1
- package/dist/css/chunk-c98d4f92.90d9235e.css +0 -1
- package/dist/css/chunk-dc2556ea.79d17c4e.css +0 -26
- package/dist/css/chunk-dc2556ea.79d17c4e.css.gz +0 -0
- package/dist/css/chunk-deb31548.a9bfff4f.css +0 -26
- package/dist/css/chunk-deb31548.a9bfff4f.css.gz +0 -0
- package/dist/css/chunk-e0a7833e.3200af57.css +0 -1
- package/dist/css/chunk-e29f1146.90d9235e.css +0 -1
- package/dist/css/chunk-e5b937d0.df44a955.css +0 -1
- package/dist/css/chunk-e5b937d0.df44a955.css.gz +0 -0
- package/dist/css/chunk-e740208a.dd4aca6a.css +0 -1
- package/dist/css/chunk-eb0b417a.4d8735d7.css +0 -1
- package/dist/css/chunk-f7b89db8.bc8f1bfe.css +0 -1
- package/dist/css/chunk-f806bdf6.0769db83.css +0 -1
- package/dist/css/chunk-f8f2012c.779f6b22.css +0 -26
- package/dist/css/chunk-f8f2012c.779f6b22.css.gz +0 -0
- package/dist/css/chunk-fa7bd882.5e24bcf4.css +0 -1
- package/dist/css/chunk-fd5487da.504602d0.css +0 -1
- package/dist/js/app~f075b844.05aea2f1.js +0 -1
- package/dist/js/app~f075b844.05aea2f1.js.gz +0 -0
- package/dist/js/chunk-0029928c.882a226c.js +0 -1
- package/dist/js/chunk-00637b36.8fef3010.js +0 -7
- package/dist/js/chunk-00637b36.8fef3010.js.gz +0 -0
- package/dist/js/chunk-00aa8852.6771dc43.js +0 -9
- package/dist/js/chunk-00aa8852.6771dc43.js.gz +0 -0
- package/dist/js/chunk-00ac2b64.a75c90c0.js +0 -7
- package/dist/js/chunk-00ac2b64.a75c90c0.js.gz +0 -0
- package/dist/js/chunk-00cf1977.87573cb5.js +0 -7
- package/dist/js/chunk-00cf1977.87573cb5.js.gz +0 -0
- package/dist/js/chunk-025beb3e.cf9c9f91.js +0 -1
- package/dist/js/chunk-025beb3e.cf9c9f91.js.gz +0 -0
- package/dist/js/chunk-0260d235.4ecbc0cb.js +0 -7
- package/dist/js/chunk-0260d235.4ecbc0cb.js.gz +0 -0
- package/dist/js/chunk-027ab66b.37fa30a8.js +0 -1
- package/dist/js/chunk-027ab66b.37fa30a8.js.gz +0 -0
- package/dist/js/chunk-028fc182.f7db6d0f.js +0 -9
- package/dist/js/chunk-028fc182.f7db6d0f.js.gz +0 -0
- package/dist/js/chunk-02e91501.50409988.js +0 -1
- package/dist/js/chunk-0306de3d.feb31576.js +0 -7
- package/dist/js/chunk-0306de3d.feb31576.js.gz +0 -0
- package/dist/js/chunk-03981299.a80073d9.js +0 -1
- package/dist/js/chunk-04d7c8ea.10111927.js +0 -1
- package/dist/js/chunk-04e7ec55.90501f6a.js +0 -1
- package/dist/js/chunk-04e7ec55.90501f6a.js.gz +0 -0
- package/dist/js/chunk-04f41878.87e33a6a.js +0 -7
- package/dist/js/chunk-04f41878.87e33a6a.js.gz +0 -0
- package/dist/js/chunk-05ab4d6d.d2e73b2e.js +0 -3
- package/dist/js/chunk-05ab4d6d.d2e73b2e.js.gz +0 -0
- package/dist/js/chunk-05d923ed.b83927bb.js +0 -1
- package/dist/js/chunk-05d923ed.b83927bb.js.gz +0 -0
- package/dist/js/chunk-06c91ca0.d53c4a92.js +0 -1
- package/dist/js/chunk-06c91ca0.d53c4a92.js.gz +0 -0
- package/dist/js/chunk-0794d767.51e6d393.js +0 -1
- package/dist/js/chunk-07b77151.9124b7b0.js +0 -7
- package/dist/js/chunk-07b77151.9124b7b0.js.gz +0 -0
- package/dist/js/chunk-07baf687.9334dc90.js +0 -1
- package/dist/js/chunk-07baf687.9334dc90.js.gz +0 -0
- package/dist/js/chunk-084aa476.5c3acd34.js +0 -7
- package/dist/js/chunk-084aa476.5c3acd34.js.gz +0 -0
- package/dist/js/chunk-08eabfd1.7f4f85bc.js +0 -7
- package/dist/js/chunk-08eabfd1.7f4f85bc.js.gz +0 -0
- package/dist/js/chunk-0b0bfb5c.590b953d.js +0 -7
- package/dist/js/chunk-0b0bfb5c.590b953d.js.gz +0 -0
- package/dist/js/chunk-0b6c9d7d.d96dcd67.js +0 -7
- package/dist/js/chunk-0b6c9d7d.d96dcd67.js.gz +0 -0
- package/dist/js/chunk-0cf6ec02.cbc24b5d.js +0 -1
- package/dist/js/chunk-0d60091a.4353734a.js +0 -9
- package/dist/js/chunk-0d60091a.4353734a.js.gz +0 -0
- package/dist/js/chunk-0ed2d86c.f49e209f.js +0 -1
- package/dist/js/chunk-10537549.c7261192.js +0 -7
- package/dist/js/chunk-10537549.c7261192.js.gz +0 -0
- package/dist/js/chunk-135f9d26.40d6d0b9.js +0 -7
- package/dist/js/chunk-135f9d26.40d6d0b9.js.gz +0 -0
- package/dist/js/chunk-1429bb31.d3244fd2.js +0 -7
- package/dist/js/chunk-1429bb31.d3244fd2.js.gz +0 -0
- package/dist/js/chunk-145e10eb.88e1385e.js +0 -1
- package/dist/js/chunk-14941724.0d64b69f.js +0 -7
- package/dist/js/chunk-14941724.0d64b69f.js.gz +0 -0
- package/dist/js/chunk-14c108f7.59b3eae4.js +0 -1
- package/dist/js/chunk-14c6aeb6.42c0ac8d.js +0 -1
- package/dist/js/chunk-14c6aeb6.42c0ac8d.js.gz +0 -0
- package/dist/js/chunk-15313d04.686e3b80.js +0 -1
- package/dist/js/chunk-15375d1d.2a03f137.js +0 -1
- package/dist/js/chunk-1545d184.b21070fb.js +0 -7
- package/dist/js/chunk-1545d184.b21070fb.js.gz +0 -0
- package/dist/js/chunk-15c027b2.e6337d75.js +0 -1
- package/dist/js/chunk-15c652ba.2076808e.js +0 -1
- package/dist/js/chunk-15c652ba.2076808e.js.gz +0 -0
- package/dist/js/chunk-16bc18bf.ad48645f.js +0 -1
- package/dist/js/chunk-1767f4f1.93f0ba37.js +0 -1
- package/dist/js/chunk-179aeb4c.c8ab310e.js +0 -7
- package/dist/js/chunk-179aeb4c.c8ab310e.js.gz +0 -0
- package/dist/js/chunk-179d29ae.ef3892b4.js +0 -7
- package/dist/js/chunk-179d29ae.ef3892b4.js.gz +0 -0
- package/dist/js/chunk-17bcde6e.d8ab138f.js +0 -1
- package/dist/js/chunk-17bcde6e.d8ab138f.js.gz +0 -0
- package/dist/js/chunk-18004190.81ef3451.js +0 -1
- package/dist/js/chunk-18ad0950.d3e67b0d.js +0 -7
- package/dist/js/chunk-18ad0950.d3e67b0d.js.gz +0 -0
- package/dist/js/chunk-1950598a.cb2ced4f.js +0 -1
- package/dist/js/chunk-1950598a.cb2ced4f.js.gz +0 -0
- package/dist/js/chunk-1a7b0b04.3313bb47.js +0 -1
- package/dist/js/chunk-1a7b8c39.8013af83.js +0 -1
- package/dist/js/chunk-1a7b8c39.8013af83.js.gz +0 -0
- package/dist/js/chunk-1a8df447.0458d29e.js +0 -1
- package/dist/js/chunk-1a9eefe8.267e673a.js +0 -1
- package/dist/js/chunk-1a9eefe8.267e673a.js.gz +0 -0
- package/dist/js/chunk-1b10afdc.c0523de8.js +0 -7
- package/dist/js/chunk-1b10afdc.c0523de8.js.gz +0 -0
- package/dist/js/chunk-1b5fb657.0d980da0.js +0 -1
- package/dist/js/chunk-1bccde7d.78bc3486.js +0 -1
- package/dist/js/chunk-1c1845ac.021677a4.js +0 -7
- package/dist/js/chunk-1c1845ac.021677a4.js.gz +0 -0
- package/dist/js/chunk-20148377.aa343878.js +0 -1
- package/dist/js/chunk-20452b85.48b94e3c.js +0 -1
- package/dist/js/chunk-208c2446.64ce3c18.js +0 -1
- package/dist/js/chunk-20958293.becd27d4.js +0 -7
- package/dist/js/chunk-20958293.becd27d4.js.gz +0 -0
- package/dist/js/chunk-2154d948.05e207b5.js +0 -1
- package/dist/js/chunk-21b69688.95e7f124.js +0 -1
- package/dist/js/chunk-22d847c3.859dcf05.js +0 -7
- package/dist/js/chunk-22d847c3.859dcf05.js.gz +0 -0
- package/dist/js/chunk-23884b83.e3c9396a.js +0 -7
- package/dist/js/chunk-23884b83.e3c9396a.js.gz +0 -0
- package/dist/js/chunk-25c8b034.634527de.js +0 -1
- package/dist/js/chunk-25c8b034.634527de.js.gz +0 -0
- package/dist/js/chunk-265c3b50.bb7bde77.js +0 -1
- package/dist/js/chunk-265c3b50.bb7bde77.js.gz +0 -0
- package/dist/js/chunk-2669fb9c.7a16b9c7.js +0 -1
- package/dist/js/chunk-26955ff4.ca3c0778.js +0 -1
- package/dist/js/chunk-26955ff4.ca3c0778.js.gz +0 -0
- package/dist/js/chunk-2695b454.f2f4c2ad.js +0 -1
- package/dist/js/chunk-26d652e1.8c59024f.js +0 -31
- package/dist/js/chunk-26d652e1.8c59024f.js.gz +0 -0
- package/dist/js/chunk-26fdb856.b029dbb9.js +0 -7
- package/dist/js/chunk-26fdb856.b029dbb9.js.gz +0 -0
- package/dist/js/chunk-272047c5.9cf2dbb7.js +0 -1
- package/dist/js/chunk-2760dcce.95e71d8d.js +0 -1
- package/dist/js/chunk-28437d6c.cc996312.js +0 -1
- package/dist/js/chunk-28a7b892.b340f666.js +0 -7
- package/dist/js/chunk-28a7b892.b340f666.js.gz +0 -0
- package/dist/js/chunk-2921ed26.e7e18ba8.js +0 -7
- package/dist/js/chunk-2921ed26.e7e18ba8.js.gz +0 -0
- package/dist/js/chunk-2a14e329.24ba17bb.js +0 -7
- package/dist/js/chunk-2a14e329.24ba17bb.js.gz +0 -0
- package/dist/js/chunk-2a4cc50f.f72f9b2e.js +0 -7
- package/dist/js/chunk-2a4cc50f.f72f9b2e.js.gz +0 -0
- package/dist/js/chunk-2aa1a24a.ae585b4b.js +0 -7
- package/dist/js/chunk-2aa1a24a.ae585b4b.js.gz +0 -0
- package/dist/js/chunk-2adfca70.336913d6.js +0 -1
- package/dist/js/chunk-2bb397ad.c45b4fe3.js +0 -1
- package/dist/js/chunk-2d0af7cb.a764e34c.js +0 -1
- package/dist/js/chunk-2d0b345c.d7a536b9.js +0 -1
- package/dist/js/chunk-2d0b6eba.12901899.js +0 -1
- package/dist/js/chunk-2d0b723f.6b89ca2a.js +0 -1
- package/dist/js/chunk-2d0c19b2.17897343.js +0 -1
- package/dist/js/chunk-2d0c1ec5.37f0c0f1.js +0 -7
- package/dist/js/chunk-2d0c1ec5.37f0c0f1.js.gz +0 -0
- package/dist/js/chunk-2d0c77ad.dad72004.js +0 -1
- package/dist/js/chunk-2d0c8da8.12fd0a72.js +0 -1
- package/dist/js/chunk-2d0c8e07.722daa3f.js +0 -1
- package/dist/js/chunk-2d0c91d2.c2e12396.js +0 -1
- package/dist/js/chunk-2d0cb6e8.ed2cf479.js +0 -1
- package/dist/js/chunk-2d0cb752.41cffd40.js +0 -1
- package/dist/js/chunk-2d0ccbb9.618e24a5.js +0 -1
- package/dist/js/chunk-2d0cf305.8cf88245.js +0 -1
- package/dist/js/chunk-2d0cf38d.50c5aed6.js +0 -1
- package/dist/js/chunk-2d0cf3a1.640ef851.js +0 -1
- package/dist/js/chunk-2d0d38b1.9a958a2a.js +0 -1
- package/dist/js/chunk-2d0da6a8.c87e119f.js +0 -1
- package/dist/js/chunk-2d0dace4.e5717f1a.js +0 -1
- package/dist/js/chunk-2d0dd7ae.7086a79b.js +0 -1
- package/dist/js/chunk-2d0e48bf.08ceab18.js +0 -1
- package/dist/js/chunk-2d0e4c7d.721c5f7d.js +0 -1
- package/dist/js/chunk-2d0e5ed4.6e2f6aa7.js +0 -1
- package/dist/js/chunk-2d0e95df.14079d78.js +0 -1
- package/dist/js/chunk-2d0f1177.5c542735.js +0 -1
- package/dist/js/chunk-2d20978b.013b5c3a.js +0 -1
- package/dist/js/chunk-2d20f006.91ba6434.js +0 -1
- package/dist/js/chunk-2d21080d.e6246d99.js +0 -1
- package/dist/js/chunk-2d213e4d.5b47005d.js +0 -1
- package/dist/js/chunk-2d21a7e7.36375b02.js +0 -1
- package/dist/js/chunk-2d21ad2b.2d717a5c.js +0 -1
- package/dist/js/chunk-2d21d4f1.db71bab9.js +0 -1
- package/dist/js/chunk-2d221c57.b7966e31.js +0 -1
- package/dist/js/chunk-2d2221d4.7520e7c3.js +0 -1
- package/dist/js/chunk-2d2253ae.53618c72.js +0 -1
- package/dist/js/chunk-2d2293ba.ec18440c.js +0 -1
- package/dist/js/chunk-2d22ce73.791e6f0f.js +0 -1
- package/dist/js/chunk-2d231252.d2aa115f.js +0 -1
- package/dist/js/chunk-2dae1426.e00abcc7.js +0 -1
- package/dist/js/chunk-2fde7ddd.d67fa7fd.js +0 -1
- package/dist/js/chunk-3074ae58.0e43a5f4.js +0 -7
- package/dist/js/chunk-3074ae58.0e43a5f4.js.gz +0 -0
- package/dist/js/chunk-314e252e.c377bfe1.js +0 -9
- package/dist/js/chunk-314e252e.c377bfe1.js.gz +0 -0
- package/dist/js/chunk-322a512a.b5cdb9dd.js +0 -1
- package/dist/js/chunk-326897d9.34c2aa94.js +0 -1
- package/dist/js/chunk-3275d67e.4ef16fdd.js +0 -1
- package/dist/js/chunk-3275d67e.4ef16fdd.js.gz +0 -0
- package/dist/js/chunk-32ca08dd.924f07d8.js +0 -1
- package/dist/js/chunk-32ce59e6.c0d1010a.js +0 -1
- package/dist/js/chunk-33569830.a63e7d15.js +0 -1
- package/dist/js/chunk-33569830.a63e7d15.js.gz +0 -0
- package/dist/js/chunk-3493352c.0761ef8d.js +0 -1
- package/dist/js/chunk-3493352c.0761ef8d.js.gz +0 -0
- package/dist/js/chunk-34959660.5341605b.js +0 -7
- package/dist/js/chunk-34959660.5341605b.js.gz +0 -0
- package/dist/js/chunk-36aa0dfc.9c35a6b7.js +0 -7
- package/dist/js/chunk-36aa0dfc.9c35a6b7.js.gz +0 -0
- package/dist/js/chunk-37918441.6a66ecce.js +0 -1
- package/dist/js/chunk-38770562.7961463a.js +0 -1
- package/dist/js/chunk-3a4e27b8.8f236f13.js +0 -7
- package/dist/js/chunk-3a4e27b8.8f236f13.js.gz +0 -0
- package/dist/js/chunk-3b5e1ab4.17acefaa.js +0 -7
- package/dist/js/chunk-3b5e1ab4.17acefaa.js.gz +0 -0
- package/dist/js/chunk-3c17c044.3733baa0.js +0 -7
- package/dist/js/chunk-3c17c044.3733baa0.js.gz +0 -0
- package/dist/js/chunk-3c99f505.51897659.js +0 -1
- package/dist/js/chunk-3f066b18.ec8374fb.js +0 -1
- package/dist/js/chunk-3f066b18.ec8374fb.js.gz +0 -0
- package/dist/js/chunk-3f12c38a.6768b247.js +0 -1
- package/dist/js/chunk-3f50a5d2.756365a3.js +0 -1
- package/dist/js/chunk-4076bc2a.acac4df5.js +0 -7
- package/dist/js/chunk-4076bc2a.acac4df5.js.gz +0 -0
- package/dist/js/chunk-40aa4c28.54debe35.js +0 -1
- package/dist/js/chunk-40aa4c28.54debe35.js.gz +0 -0
- package/dist/js/chunk-412997a0.18e3f16c.js +0 -1
- package/dist/js/chunk-4270cea6.325686c9.js +0 -3
- package/dist/js/chunk-4270cea6.325686c9.js.gz +0 -0
- package/dist/js/chunk-43044724.74a26f7e.js +0 -1
- package/dist/js/chunk-4378fa9c.92a096bb.js +0 -1
- package/dist/js/chunk-4452a926.26c15924.js +0 -9
- package/dist/js/chunk-4452a926.26c15924.js.gz +0 -0
- package/dist/js/chunk-44a8258a.8fbf0b4e.js +0 -7
- package/dist/js/chunk-44a8258a.8fbf0b4e.js.gz +0 -0
- package/dist/js/chunk-44e47eda.b2e58b27.js +0 -1
- package/dist/js/chunk-44fc565e.121af2d2.js +0 -7
- package/dist/js/chunk-44fc565e.121af2d2.js.gz +0 -0
- package/dist/js/chunk-465b2920.7a958537.js +0 -7
- package/dist/js/chunk-465b2920.7a958537.js.gz +0 -0
- package/dist/js/chunk-47d8a588.ce31519d.js +0 -7
- package/dist/js/chunk-47d8a588.ce31519d.js.gz +0 -0
- package/dist/js/chunk-48107224.045909bd.js +0 -1
- package/dist/js/chunk-48107224.045909bd.js.gz +0 -0
- package/dist/js/chunk-4863dfb3.e1019de7.js +0 -7
- package/dist/js/chunk-4863dfb3.e1019de7.js.gz +0 -0
- package/dist/js/chunk-4a483645.7995d219.js +0 -7
- package/dist/js/chunk-4a483645.7995d219.js.gz +0 -0
- package/dist/js/chunk-4ab199b7.e73ee162.js +0 -7
- package/dist/js/chunk-4ab199b7.e73ee162.js.gz +0 -0
- package/dist/js/chunk-4b26ab75.6642d98f.js +0 -7
- package/dist/js/chunk-4b26ab75.6642d98f.js.gz +0 -0
- package/dist/js/chunk-4b2f58b4.34f1c2fb.js +0 -7
- package/dist/js/chunk-4b2f58b4.34f1c2fb.js.gz +0 -0
- package/dist/js/chunk-4b7874ba.b29d0b94.js +0 -1
- package/dist/js/chunk-4b7874ba.b29d0b94.js.gz +0 -0
- package/dist/js/chunk-4c971fb4.aa5f4e15.js +0 -7
- package/dist/js/chunk-4c971fb4.aa5f4e15.js.gz +0 -0
- package/dist/js/chunk-4edbedb6.f1218a75.js +0 -7
- package/dist/js/chunk-4edbedb6.f1218a75.js.gz +0 -0
- package/dist/js/chunk-518edff9.3cd91f3a.js +0 -7
- package/dist/js/chunk-518edff9.3cd91f3a.js.gz +0 -0
- package/dist/js/chunk-51a24b4e.25927e7e.js +0 -7
- package/dist/js/chunk-51a24b4e.25927e7e.js.gz +0 -0
- package/dist/js/chunk-51a45b96.595f969f.js +0 -1
- package/dist/js/chunk-51a45b96.595f969f.js.gz +0 -0
- package/dist/js/chunk-52046674.818740bd.js +0 -9
- package/dist/js/chunk-52046674.818740bd.js.gz +0 -0
- package/dist/js/chunk-531f52c6.ae682007.js +0 -9
- package/dist/js/chunk-531f52c6.ae682007.js.gz +0 -0
- package/dist/js/chunk-538c0af2.51db4cba.js +0 -1
- package/dist/js/chunk-54de4156.e57a2317.js +0 -7
- package/dist/js/chunk-54de4156.e57a2317.js.gz +0 -0
- package/dist/js/chunk-56f9cb62.c6e71bbe.js +0 -1
- package/dist/js/chunk-57e2d66e.5b104fa9.js +0 -1
- package/dist/js/chunk-58fc8143.29f452a5.js +0 -1
- package/dist/js/chunk-59885e33.dce23e70.js +0 -1
- package/dist/js/chunk-59885e33.dce23e70.js.gz +0 -0
- package/dist/js/chunk-5997b5f8.61100dbd.js +0 -7
- package/dist/js/chunk-5997b5f8.61100dbd.js.gz +0 -0
- package/dist/js/chunk-5ce7006a.0e814351.js +0 -7
- package/dist/js/chunk-5ce7006a.0e814351.js.gz +0 -0
- package/dist/js/chunk-5d41c45a.9704fd58.js +0 -7
- package/dist/js/chunk-5d41c45a.9704fd58.js.gz +0 -0
- package/dist/js/chunk-5d8b6fcc.f38e234b.js +0 -1
- package/dist/js/chunk-5d8b6fcc.f38e234b.js.gz +0 -0
- package/dist/js/chunk-5e6b06db.91116db7.js +0 -1
- package/dist/js/chunk-5f95f84f.fd400834.js +0 -7
- package/dist/js/chunk-5f95f84f.fd400834.js.gz +0 -0
- package/dist/js/chunk-5fb5ca59.01b1690f.js +0 -7
- package/dist/js/chunk-5fb5ca59.01b1690f.js.gz +0 -0
- package/dist/js/chunk-60523790.a8a289b2.js +0 -1
- package/dist/js/chunk-606ebf13.082fbf8b.js +0 -1
- package/dist/js/chunk-606ebf13.082fbf8b.js.gz +0 -0
- package/dist/js/chunk-60d1f006.eed3de9f.js +0 -1
- package/dist/js/chunk-60df832f.33021b86.js +0 -1
- package/dist/js/chunk-60df832f.33021b86.js.gz +0 -0
- package/dist/js/chunk-612943ae.4cb137d6.js +0 -7
- package/dist/js/chunk-612943ae.4cb137d6.js.gz +0 -0
- package/dist/js/chunk-615b59af.913a910e.js +0 -7
- package/dist/js/chunk-615b59af.913a910e.js.gz +0 -0
- package/dist/js/chunk-617f2d54.4e4c1930.js +0 -7
- package/dist/js/chunk-617f2d54.4e4c1930.js.gz +0 -0
- package/dist/js/chunk-61c1aab3.fbf5541f.js +0 -1
- package/dist/js/chunk-61c1aab3.fbf5541f.js.gz +0 -0
- package/dist/js/chunk-628807dc.776f6cae.js +0 -7
- package/dist/js/chunk-628807dc.776f6cae.js.gz +0 -0
- package/dist/js/chunk-62cca384.19616603.js +0 -7
- package/dist/js/chunk-62cca384.19616603.js.gz +0 -0
- package/dist/js/chunk-62e82f90.3167e093.js +0 -1
- package/dist/js/chunk-632a3278.4be00683.js +0 -7
- package/dist/js/chunk-632a3278.4be00683.js.gz +0 -0
- package/dist/js/chunk-63e021fe.7045726d.js +0 -7
- package/dist/js/chunk-63e021fe.7045726d.js.gz +0 -0
- package/dist/js/chunk-6409d53d.f6b30db9.js +0 -7
- package/dist/js/chunk-6409d53d.f6b30db9.js.gz +0 -0
- package/dist/js/chunk-645b3c42.f7e6ce6c.js +0 -1
- package/dist/js/chunk-64a37036.eb87e283.js +0 -9
- package/dist/js/chunk-64a37036.eb87e283.js.gz +0 -0
- package/dist/js/chunk-6775583a.2c7ef792.js +0 -7
- package/dist/js/chunk-6775583a.2c7ef792.js.gz +0 -0
- package/dist/js/chunk-683b08c6.34fae74b.js +0 -7
- package/dist/js/chunk-683b08c6.34fae74b.js.gz +0 -0
- package/dist/js/chunk-6884476e.74d3d97a.js +0 -7
- package/dist/js/chunk-6884476e.74d3d97a.js.gz +0 -0
- package/dist/js/chunk-691a95ff.05e3708f.js +0 -9
- package/dist/js/chunk-691a95ff.05e3708f.js.gz +0 -0
- package/dist/js/chunk-69e38838.929cea9c.js +0 -7
- package/dist/js/chunk-69e38838.929cea9c.js.gz +0 -0
- package/dist/js/chunk-6aa81580.87b710db.js +0 -7
- package/dist/js/chunk-6aa81580.87b710db.js.gz +0 -0
- package/dist/js/chunk-6ab7a670.e3a4fecc.js +0 -7
- package/dist/js/chunk-6ab7a670.e3a4fecc.js.gz +0 -0
- package/dist/js/chunk-6b0be232.1f41b644.js +0 -7
- package/dist/js/chunk-6b0be232.1f41b644.js.gz +0 -0
- package/dist/js/chunk-6b819fb3.bea90923.js +0 -1
- package/dist/js/chunk-6bc76225.30ef6dc2.js +0 -1
- package/dist/js/chunk-6c246dbc.0a8ad75e.js +0 -9
- package/dist/js/chunk-6c246dbc.0a8ad75e.js.gz +0 -0
- package/dist/js/chunk-6c3fad0b.4f19a893.js +0 -1
- package/dist/js/chunk-6d7092e8.1681e6e9.js +0 -1
- package/dist/js/chunk-6f044d45.278811e5.js +0 -7
- package/dist/js/chunk-6f044d45.278811e5.js.gz +0 -0
- package/dist/js/chunk-6fcd23e8.e16a4535.js +0 -1
- package/dist/js/chunk-709af334.6cca1525.js +0 -1
- package/dist/js/chunk-709af334.6cca1525.js.gz +0 -0
- package/dist/js/chunk-70e35ebc.68a57ac4.js +0 -1
- package/dist/js/chunk-7120cdb0.8762aff9.js +0 -1
- package/dist/js/chunk-71ec99d7.f35bfd0d.js +0 -1
- package/dist/js/chunk-71ec99d7.f35bfd0d.js.gz +0 -0
- package/dist/js/chunk-7222b372.1a4f3631.js +0 -1
- package/dist/js/chunk-73c2ecc9.f860ce6b.js +0 -7
- package/dist/js/chunk-73c2ecc9.f860ce6b.js.gz +0 -0
- package/dist/js/chunk-73c863bf.4af077e8.js +0 -7
- package/dist/js/chunk-73c863bf.4af077e8.js.gz +0 -0
- package/dist/js/chunk-7459c046.15b887e4.js +0 -1
- package/dist/js/chunk-746ea30c.b435fa70.js +0 -1
- package/dist/js/chunk-7491adef.fa019f0d.js +0 -1
- package/dist/js/chunk-771c542f.ac56acf9.js +0 -1
- package/dist/js/chunk-77734c0c.1fdb8b9c.js +0 -7
- package/dist/js/chunk-77734c0c.1fdb8b9c.js.gz +0 -0
- package/dist/js/chunk-78e0bdc8.dc0e7aea.js +0 -1
- package/dist/js/chunk-78e1f4a0.80a1052a.js +0 -1
- package/dist/js/chunk-78e96e4e.95608704.js +0 -9
- package/dist/js/chunk-78e96e4e.95608704.js.gz +0 -0
- package/dist/js/chunk-798c91b3.1845f3c4.js +0 -1
- package/dist/js/chunk-79c31fbc.f9f01806.js +0 -1
- package/dist/js/chunk-79c45464.975b63cf.js +0 -7
- package/dist/js/chunk-79c45464.975b63cf.js.gz +0 -0
- package/dist/js/chunk-7a0ac240.6fc5d306.js +0 -1
- package/dist/js/chunk-7c464ad6.3e689e0f.js +0 -1
- package/dist/js/chunk-7cba06ee.3a4aaa41.js +0 -1
- package/dist/js/chunk-80461734.cf70e6b0.js +0 -1
- package/dist/js/chunk-80461734.cf70e6b0.js.gz +0 -0
- package/dist/js/chunk-8149fcb2.682fe6f1.js +0 -1
- package/dist/js/chunk-8149fcb2.682fe6f1.js.gz +0 -0
- package/dist/js/chunk-88e03ca2.ae1f2496.js +0 -1
- package/dist/js/chunk-88e03ca2.ae1f2496.js.gz +0 -0
- package/dist/js/chunk-8a8da754.ee577fbd.js +0 -1
- package/dist/js/chunk-8c3ae402.176e09da.js +0 -1
- package/dist/js/chunk-8c3ae402.176e09da.js.gz +0 -0
- package/dist/js/chunk-8c428098.1333e153.js +0 -1
- package/dist/js/chunk-8cd7803c.051b74f1.js +0 -7
- package/dist/js/chunk-8cd7803c.051b74f1.js.gz +0 -0
- package/dist/js/chunk-8d59aa52.fa1a574b.js +0 -7
- package/dist/js/chunk-8d59aa52.fa1a574b.js.gz +0 -0
- package/dist/js/chunk-92afdb06.b5b613b2.js +0 -7
- package/dist/js/chunk-92afdb06.b5b613b2.js.gz +0 -0
- package/dist/js/chunk-96bd6b48.3e54f24c.js +0 -7
- package/dist/js/chunk-96bd6b48.3e54f24c.js.gz +0 -0
- package/dist/js/chunk-9916031a.6d7de0ac.js +0 -1
- package/dist/js/chunk-9cf8c078.e0f0bceb.js +0 -7
- package/dist/js/chunk-9cf8c078.e0f0bceb.js.gz +0 -0
- package/dist/js/chunk-9fa2669c.465c4e9f.js +0 -1
- package/dist/js/chunk-a5594d12.4b4c2d6c.js +0 -1
- package/dist/js/chunk-a5594d12.4b4c2d6c.js.gz +0 -0
- package/dist/js/chunk-aadf0b4e.a564fbc2.js +0 -7
- package/dist/js/chunk-aadf0b4e.a564fbc2.js.gz +0 -0
- package/dist/js/chunk-ac5b10a4.f0ff8d93.js +0 -1
- package/dist/js/chunk-ae173228.dc4881de.js +0 -7
- package/dist/js/chunk-ae173228.dc4881de.js.gz +0 -0
- package/dist/js/chunk-b3134102.f8483ea7.js +0 -1
- package/dist/js/chunk-b3134102.f8483ea7.js.gz +0 -0
- package/dist/js/chunk-b57923a6.9cc22a38.js +0 -9
- package/dist/js/chunk-b57923a6.9cc22a38.js.gz +0 -0
- package/dist/js/chunk-b70d73a0.93c5cb35.js +0 -1
- package/dist/js/chunk-b70d73a0.93c5cb35.js.gz +0 -0
- package/dist/js/chunk-b859d0fa.8b9090a1.js +0 -1
- package/dist/js/chunk-b98924f0.d2c0aa47.js +0 -1
- package/dist/js/chunk-ba6e068e.a7ed55e6.js +0 -1
- package/dist/js/chunk-c008239a.cf28544b.js +0 -1
- package/dist/js/chunk-c4c12730.0d9a428b.js +0 -3
- package/dist/js/chunk-c4c12730.0d9a428b.js.gz +0 -0
- package/dist/js/chunk-c524c184.13518257.js +0 -1
- package/dist/js/chunk-c98d4f92.9b1ab8f0.js +0 -7
- package/dist/js/chunk-c98d4f92.9b1ab8f0.js.gz +0 -0
- package/dist/js/chunk-cb6504e4.dd3a9f2b.js +0 -1
- package/dist/js/chunk-cb8a3a5a.8e4ed080.js +0 -1
- package/dist/js/chunk-cb8dcf46.2fb1bc43.js +0 -1
- package/dist/js/chunk-d4b52208.991fc16c.js +0 -1
- package/dist/js/chunk-d724421a.511ea926.js +0 -1
- package/dist/js/chunk-d7a91332.cb67cd6c.js +0 -1
- package/dist/js/chunk-d7a91332.cb67cd6c.js.gz +0 -0
- package/dist/js/chunk-dc2556ea.b1afe2fd.js +0 -1
- package/dist/js/chunk-dc2556ea.b1afe2fd.js.gz +0 -0
- package/dist/js/chunk-deb31548.fbe79c89.js +0 -1
- package/dist/js/chunk-deb31548.fbe79c89.js.gz +0 -0
- package/dist/js/chunk-df6d6910.b77172b2.js +0 -1
- package/dist/js/chunk-e0a7833e.c3c0df6c.js +0 -7
- package/dist/js/chunk-e0a7833e.c3c0df6c.js.gz +0 -0
- package/dist/js/chunk-e29f1146.7aeb910c.js +0 -7
- package/dist/js/chunk-e29f1146.7aeb910c.js.gz +0 -0
- package/dist/js/chunk-e42343f0.29c8560f.js +0 -1
- package/dist/js/chunk-e5b937d0.92a9ee94.js +0 -1
- package/dist/js/chunk-e5b937d0.92a9ee94.js.gz +0 -0
- package/dist/js/chunk-e740208a.0f484e77.js +0 -7
- package/dist/js/chunk-e740208a.0f484e77.js.gz +0 -0
- package/dist/js/chunk-eb0b417a.7740d696.js +0 -7
- package/dist/js/chunk-eb0b417a.7740d696.js.gz +0 -0
- package/dist/js/chunk-f7b89db8.f17fe0d2.js +0 -7
- package/dist/js/chunk-f7b89db8.f17fe0d2.js.gz +0 -0
- package/dist/js/chunk-f806bdf6.e21ae8c9.js +0 -7
- package/dist/js/chunk-f806bdf6.e21ae8c9.js.gz +0 -0
- package/dist/js/chunk-f8f2012c.69f04241.js +0 -7
- package/dist/js/chunk-f8f2012c.69f04241.js.gz +0 -0
- package/dist/js/chunk-fa7bd882.c44a3d1f.js +0 -7
- package/dist/js/chunk-fa7bd882.c44a3d1f.js.gz +0 -0
- package/dist/js/chunk-fd5487da.991dca04.js +0 -7
- package/dist/js/chunk-fd5487da.991dca04.js.gz +0 -0
- package/dist/js/chunk-vendors~2a42e354.9d8c77b4.js +0 -13
- package/dist/js/chunk-vendors~2a42e354.9d8c77b4.js.gz +0 -0
- package/dist/js/lang-ar-EG-appSetting~138e116e.fea0732c.js +0 -1
- package/dist/js/lang-ar-EG-appSetting~138e116e.fea0732c.js.gz +0 -0
- package/dist/js/lang-ar-EG-benefitcode~d3e64cdd.f397eb95.js +0 -1
- package/dist/js/lang-ar-EG-benefitcode~d3e64cdd.f397eb95.js.gz +0 -0
- package/dist/js/lang-ar-EG-gangwei~02e0f22f.fac24036.js +0 -1
- package/dist/js/lang-ar-EG-homeData~2b0cc2db.4b4a9287.js +0 -1
- package/dist/js/lang-ar-EG-itemSkuList~85af1dc1.525a2382.js +0 -1
- package/dist/js/lang-ar-EG-item~38dea207.459a9de0.js +0 -1
- package/dist/js/lang-ar-EG-login~2a001faa.19154296.js +0 -1
- package/dist/js/lang-ar-EG-memberConfig~c0f53b16.faffd198.js +0 -1
- package/dist/js/lang-ar-EG-orderlist~7d6aa440.d61f1cb0.js +0 -1
- package/dist/js/lang-ar-EG-postfee~211f19a2.bad2d5c8.js +0 -1
- package/dist/js/lang-ar-EG-pushConfig~2a3f5e51.cce20284.js +0 -1
- package/dist/js/lang-ar-EG-setting~fc12c2b6.31d18c64.js +0 -1
- package/dist/js/lang-ar-EG-shopConfig~b6e36a08.a291a22a.js +0 -1
- package/dist/js/lang-ar-EG-shopConfig~b6e36a08.a291a22a.js.gz +0 -0
- package/dist/js/lang-ar-EG-wareHouse~f0e457e3.6c38d0d2.js +0 -1
- package/dist/js/lang-ar-EG~31ecd969.d6aeda84.js +0 -3
- package/dist/js/lang-ar-EG~31ecd969.d6aeda84.js.gz +0 -0
- package/dist/js/lang-bn-BD-appSetting~8e32e43d.faf48d0e.js +0 -1
- package/dist/js/lang-bn-BD-appSetting~8e32e43d.faf48d0e.js.gz +0 -0
- package/dist/js/lang-bn-BD-benefitcode~7d2ace10.5be579a9.js +0 -1
- package/dist/js/lang-bn-BD-benefitcode~7d2ace10.5be579a9.js.gz +0 -0
- package/dist/js/lang-bn-BD-gangwei~bf8ba5e3.22635a52.js +0 -1
- package/dist/js/lang-bn-BD-homeData~331b3f8e.ea5fbf12.js +0 -1
- package/dist/js/lang-bn-BD-itemSkuList~2e759b28.7d981f04.js +0 -1
- package/dist/js/lang-bn-BD-item~7508e6e0.a3e229a5.js +0 -1
- package/dist/js/lang-bn-BD-item~7508e6e0.a3e229a5.js.gz +0 -0
- package/dist/js/lang-bn-BD-login~291d097b.b609a464.js +0 -1
- package/dist/js/lang-bn-BD-memberConfig~266d3ef2.819eaa97.js +0 -1
- package/dist/js/lang-bn-BD-orderlist~d399ef83.33dc52fc.js +0 -1
- package/dist/js/lang-bn-BD-postfee~2b8525c9.516fb5dd.js +0 -1
- package/dist/js/lang-bn-BD-pushConfig~e62c6d9c.9acf4666.js +0 -1
- package/dist/js/lang-bn-BD-setting~87ea29e0.f64c9f75.js +0 -1
- package/dist/js/lang-bn-BD-setting~87ea29e0.f64c9f75.js.gz +0 -0
- package/dist/js/lang-bn-BD-shopConfig~3350de8c.9d7d565d.js +0 -1
- package/dist/js/lang-bn-BD-shopConfig~3350de8c.9d7d565d.js.gz +0 -0
- package/dist/js/lang-bn-BD-wareHouse~5050965b.bbff3fce.js +0 -1
- package/dist/js/lang-bn-BD~ede72586.0c3dcef1.js +0 -1
- package/dist/js/lang-bn-BD~ede72586.0c3dcef1.js.gz +0 -0
- package/dist/js/lang-de-DE-appSetting~aeab7f41.8a32c31c.js +0 -1
- package/dist/js/lang-de-DE-appSetting~aeab7f41.8a32c31c.js.gz +0 -0
- package/dist/js/lang-de-DE-benefitcode~6d340d77.fc6f4e38.js +0 -1
- package/dist/js/lang-de-DE-benefitcode~6d340d77.fc6f4e38.js.gz +0 -0
- package/dist/js/lang-de-DE-gangwei~b1d88075.8f3d5bb2.js +0 -1
- package/dist/js/lang-de-DE-homeData~1094049d.3e8a0662.js +0 -1
- package/dist/js/lang-de-DE-itemSkuList~b255b61f.36786cd8.js +0 -1
- package/dist/js/lang-de-DE-item~fd6ac383.21fd910f.js +0 -1
- package/dist/js/lang-de-DE-login~8d7e771f.a67e9248.js +0 -1
- package/dist/js/lang-de-DE-memberConfig~628909f0.92576895.js +0 -1
- package/dist/js/lang-de-DE-orderlist~2e7144a1.dae73031.js +0 -1
- package/dist/js/lang-de-DE-postfee~344327c3.01575378.js +0 -1
- package/dist/js/lang-de-DE-pushConfig~ac20e252.2af7fcda.js +0 -1
- package/dist/js/lang-de-DE-setting~b89584d9.126044a9.js +0 -1
- package/dist/js/lang-de-DE-shopConfig~ffe535e6.3284a84b.js +0 -1
- package/dist/js/lang-de-DE-shopConfig~ffe535e6.3284a84b.js.gz +0 -0
- package/dist/js/lang-de-DE-wareHouse~ae8c1396.3a9074cb.js +0 -1
- package/dist/js/lang-de-DE~31ecd969.abc23f96.js +0 -3
- package/dist/js/lang-de-DE~31ecd969.abc23f96.js.gz +0 -0
- package/dist/js/lang-en-US-appSetting~96a61b06.36662489.js +0 -1
- package/dist/js/lang-en-US-appSetting~96a61b06.36662489.js.gz +0 -0
- package/dist/js/lang-en-US-benefitcode~3039cba8.1b25276f.js +0 -1
- package/dist/js/lang-en-US-gangwei~b3234cef.d99406cd.js +0 -1
- package/dist/js/lang-en-US-homeData~45349588.63e6c09f.js +0 -1
- package/dist/js/lang-en-US-itemSkuList~9a325c7f.0eed9fb7.js +0 -1
- package/dist/js/lang-en-US-item~aa2590c6.d873c894.js +0 -1
- package/dist/js/lang-en-US-login~7a87c136.81f62f49.js +0 -1
- package/dist/js/lang-en-US-memberConfig~5cd4e7f7.e3165bad.js +0 -1
- package/dist/js/lang-en-US-orderlist~8e9a8dbe.c6942588.js +0 -1
- package/dist/js/lang-en-US-postfee~7e2063ce.275fc9eb.js +0 -1
- package/dist/js/lang-en-US-pushConfig~4d9a19a0.8730d26a.js +0 -1
- package/dist/js/lang-en-US-setting~a4ccea0d.412dbee2.js +0 -1
- package/dist/js/lang-en-US-shopConfig~fe758c5c.4a7efe18.js +0 -1
- package/dist/js/lang-en-US-shopConfig~fe758c5c.4a7efe18.js.gz +0 -0
- package/dist/js/lang-en-US-wareHouse~6d248fd9.2f145636.js +0 -1
- package/dist/js/lang-en-US~31ecd969.1bae19c2.js +0 -3
- package/dist/js/lang-en-US~31ecd969.1bae19c2.js.gz +0 -0
- package/dist/js/lang-es-ES-appSetting~a95c6f7c.7ea7ac01.js +0 -1
- package/dist/js/lang-es-ES-appSetting~a95c6f7c.7ea7ac01.js.gz +0 -0
- package/dist/js/lang-es-ES-benefitcode~449c1c72.20bb1671.js +0 -1
- package/dist/js/lang-es-ES-benefitcode~449c1c72.20bb1671.js.gz +0 -0
- package/dist/js/lang-es-ES-gangwei~628c6812.daa2b022.js +0 -1
- package/dist/js/lang-es-ES-homeData~a8854283.05487846.js +0 -1
- package/dist/js/lang-es-ES-itemSkuList~9d658bb5.f491c015.js +0 -1
- package/dist/js/lang-es-ES-item~3cb087f4.840125db.js +0 -1
- package/dist/js/lang-es-ES-login~67a84eba.dea000c7.js +0 -1
- package/dist/js/lang-es-ES-memberConfig~9ea6965b.20785190.js +0 -1
- package/dist/js/lang-es-ES-orderlist~d3f20f42.0ac434b0.js +0 -1
- package/dist/js/lang-es-ES-postfee~c58226a3.ed3fa8d9.js +0 -1
- package/dist/js/lang-es-ES-pushConfig~4b658aa5.7bbf138e.js +0 -1
- package/dist/js/lang-es-ES-setting~1cd22015.0979d8e8.js +0 -1
- package/dist/js/lang-es-ES-shopConfig~3b2ddde6.0a3e15f0.js +0 -1
- package/dist/js/lang-es-ES-shopConfig~3b2ddde6.0a3e15f0.js.gz +0 -0
- package/dist/js/lang-es-ES-wareHouse~28d1b905.40e01791.js +0 -1
- package/dist/js/lang-es-ES~31ecd969.10af78a4.js +0 -3
- package/dist/js/lang-es-ES~31ecd969.10af78a4.js.gz +0 -0
- package/dist/js/lang-fr-FR-appSetting~3e3e04e0.826e49ce.js +0 -1
- package/dist/js/lang-fr-FR-appSetting~3e3e04e0.826e49ce.js.gz +0 -0
- package/dist/js/lang-fr-FR-benefitcode~759f9459.fac0193a.js +0 -1
- package/dist/js/lang-fr-FR-benefitcode~759f9459.fac0193a.js.gz +0 -0
- package/dist/js/lang-fr-FR-gangwei~dd3d6f6c.20221232.js +0 -1
- package/dist/js/lang-fr-FR-homeData~3c020af9.424df74b.js +0 -1
- package/dist/js/lang-fr-FR-itemSkuList~e03f0f30.a29c0d56.js +0 -1
- package/dist/js/lang-fr-FR-item~dc1b1722.7daac1c4.js +0 -1
- package/dist/js/lang-fr-FR-login~4190ebd5.34d25f54.js +0 -1
- package/dist/js/lang-fr-FR-memberConfig~fa67e764.0ad37490.js +0 -1
- package/dist/js/lang-fr-FR-orderlist~b431e551.bdc74d98.js +0 -1
- package/dist/js/lang-fr-FR-postfee~7b645352.3656c79a.js +0 -1
- package/dist/js/lang-fr-FR-pushConfig~a4ce0e48.a3711c97.js +0 -1
- package/dist/js/lang-fr-FR-setting~71a7b02d.53913b94.js +0 -1
- package/dist/js/lang-fr-FR-shopConfig~c31f3d24.f7b17d15.js +0 -1
- package/dist/js/lang-fr-FR-shopConfig~c31f3d24.f7b17d15.js.gz +0 -0
- package/dist/js/lang-fr-FR-wareHouse~3ca639b5.f80721ce.js +0 -1
- package/dist/js/lang-fr-FR~31ecd969.05bda49e.js +0 -3
- package/dist/js/lang-fr-FR~31ecd969.05bda49e.js.gz +0 -0
- package/dist/js/lang-hi-IN-appSetting~ca94e36f.fb591b71.js +0 -1
- package/dist/js/lang-hi-IN-appSetting~ca94e36f.fb591b71.js.gz +0 -0
- package/dist/js/lang-hi-IN-benefitcode~1e0a0ff3.71dbb643.js +0 -1
- package/dist/js/lang-hi-IN-benefitcode~1e0a0ff3.71dbb643.js.gz +0 -0
- package/dist/js/lang-hi-IN-gangwei~b05d594f.4488f449.js +0 -1
- package/dist/js/lang-hi-IN-homeData~f9aaf29d.d3d8bc83.js +0 -1
- package/dist/js/lang-hi-IN-itemSkuList~13a2bf08.4ced46ef.js +0 -1
- package/dist/js/lang-hi-IN-item~64fa35af.cee9f075.js +0 -1
- package/dist/js/lang-hi-IN-item~64fa35af.cee9f075.js.gz +0 -0
- package/dist/js/lang-hi-IN-login~9ebd3502.5dd2db83.js +0 -1
- package/dist/js/lang-hi-IN-memberConfig~e39b89a6.516a21e6.js +0 -1
- package/dist/js/lang-hi-IN-orderlist~8e21af3e.2d5e5a03.js +0 -1
- package/dist/js/lang-hi-IN-postfee~1bf7b749.7c8f6b1c.js +0 -1
- package/dist/js/lang-hi-IN-pushConfig~3c4f2b19.7705dde0.js +0 -1
- package/dist/js/lang-hi-IN-setting~4671e964.399bacc8.js +0 -1
- package/dist/js/lang-hi-IN-setting~4671e964.399bacc8.js.gz +0 -0
- package/dist/js/lang-hi-IN-shopConfig~9340e9e0.5afb5399.js +0 -1
- package/dist/js/lang-hi-IN-shopConfig~9340e9e0.5afb5399.js.gz +0 -0
- package/dist/js/lang-hi-IN-wareHouse~468ee6b5.b187ca53.js +0 -1
- package/dist/js/lang-hi-IN~31ecd969.7e3f6b14.js +0 -3
- package/dist/js/lang-hi-IN~31ecd969.7e3f6b14.js.gz +0 -0
- package/dist/js/lang-it-IT-appSetting~11c663e5.3d89a9eb.js +0 -1
- package/dist/js/lang-it-IT-appSetting~11c663e5.3d89a9eb.js.gz +0 -0
- package/dist/js/lang-it-IT-benefitcode~4578ae2c.b763fdc2.js +0 -1
- package/dist/js/lang-it-IT-benefitcode~4578ae2c.b763fdc2.js.gz +0 -0
- package/dist/js/lang-it-IT-gangwei~07fd3d80.d2026ce3.js +0 -1
- package/dist/js/lang-it-IT-homeData~3efc6257.62e99e60.js +0 -1
- package/dist/js/lang-it-IT-itemSkuList~6e779c51.3282d8b9.js +0 -1
- package/dist/js/lang-it-IT-item~42b1d832.a8684278.js +0 -1
- package/dist/js/lang-it-IT-login~884d249f.0f39f666.js +0 -1
- package/dist/js/lang-it-IT-memberConfig~409918be.e8c0527f.js +0 -1
- package/dist/js/lang-it-IT-orderlist~7b04322a.02fbb97e.js +0 -1
- package/dist/js/lang-it-IT-postfee~3d4ef0d5.02084b15.js +0 -1
- package/dist/js/lang-it-IT-pushConfig~c29c3348.66a13f9a.js +0 -1
- package/dist/js/lang-it-IT-setting~10679479.43be3b80.js +0 -1
- package/dist/js/lang-it-IT-shopConfig~a627f0a4.ca8999e7.js +0 -1
- package/dist/js/lang-it-IT-shopConfig~a627f0a4.ca8999e7.js.gz +0 -0
- package/dist/js/lang-it-IT-wareHouse~94a43271.b3035562.js +0 -1
- package/dist/js/lang-it-IT~31ecd969.0c83f688.js +0 -3
- package/dist/js/lang-it-IT~31ecd969.0c83f688.js.gz +0 -0
- package/dist/js/lang-ja-JP-appSetting~ae9f0188.4e3e2f70.js +0 -1
- package/dist/js/lang-ja-JP-appSetting~ae9f0188.4e3e2f70.js.gz +0 -0
- package/dist/js/lang-ja-JP-benefitcode~b8337b27.a3c78a22.js +0 -1
- package/dist/js/lang-ja-JP-benefitcode~b8337b27.a3c78a22.js.gz +0 -0
- package/dist/js/lang-ja-JP-gangwei~ebf99fdc.6f0af393.js +0 -1
- package/dist/js/lang-ja-JP-homeData~5497631e.6e9f3f6b.js +0 -1
- package/dist/js/lang-ja-JP-itemSkuList~2debd0a5.23ee1896.js +0 -1
- package/dist/js/lang-ja-JP-item~24a732fe.205fe03f.js +0 -1
- package/dist/js/lang-ja-JP-login~05f3be30.6bff052e.js +0 -1
- package/dist/js/lang-ja-JP-memberConfig~b5e43733.7fec5158.js +0 -1
- package/dist/js/lang-ja-JP-orderlist~aa5ab7b4.a90a7fa2.js +0 -1
- package/dist/js/lang-ja-JP-postfee~6bf31e09.135960e8.js +0 -1
- package/dist/js/lang-ja-JP-pushConfig~942d0fe4.004c00f4.js +0 -1
- package/dist/js/lang-ja-JP-setting~a928db49.308fb02f.js +0 -1
- package/dist/js/lang-ja-JP-shopConfig~643f0056.a7590c5d.js +0 -1
- package/dist/js/lang-ja-JP-shopConfig~643f0056.a7590c5d.js.gz +0 -0
- package/dist/js/lang-ja-JP-wareHouse~1827dd11.c997b439.js +0 -1
- package/dist/js/lang-ja-JP~31ecd969.5fa0cb52.js +0 -3
- package/dist/js/lang-ja-JP~31ecd969.5fa0cb52.js.gz +0 -0
- package/dist/js/lang-ko-KR-appSetting~5802c68f.3ff18a92.js +0 -1
- package/dist/js/lang-ko-KR-appSetting~5802c68f.3ff18a92.js.gz +0 -0
- package/dist/js/lang-ko-KR-benefitcode~724351f1.945893d1.js +0 -1
- package/dist/js/lang-ko-KR-benefitcode~724351f1.945893d1.js.gz +0 -0
- package/dist/js/lang-ko-KR-gangwei~c23b6bfa.a74aecac.js +0 -1
- package/dist/js/lang-ko-KR-homeData~8177b2f9.a5e6c23a.js +0 -1
- package/dist/js/lang-ko-KR-itemSkuList~93212994.cd9fbe27.js +0 -1
- package/dist/js/lang-ko-KR-item~03ddc21d.1de80998.js +0 -1
- package/dist/js/lang-ko-KR-login~c40651ef.a38e7497.js +0 -1
- package/dist/js/lang-ko-KR-memberConfig~33252ba7.1ac00b3e.js +0 -1
- package/dist/js/lang-ko-KR-orderlist~f45a5432.6e2a66f9.js +0 -1
- package/dist/js/lang-ko-KR-postfee~5c9f1ba2.f2a4e729.js +0 -1
- package/dist/js/lang-ko-KR-pushConfig~44295df1.01788cc9.js +0 -1
- package/dist/js/lang-ko-KR-setting~179f8518.47e5bbab.js +0 -1
- package/dist/js/lang-ko-KR-shopConfig~0a07afb9.e45350da.js +0 -1
- package/dist/js/lang-ko-KR-shopConfig~0a07afb9.e45350da.js.gz +0 -0
- package/dist/js/lang-ko-KR-wareHouse~0f1a364f.d576a8fa.js +0 -1
- package/dist/js/lang-ko-KR~326cee4f.88fcf54d.js +0 -1
- package/dist/js/lang-ko-KR~326cee4f.88fcf54d.js.gz +0 -0
- package/dist/js/lang-package~4e34e71e.ce93f1a9.js +0 -1
- package/dist/js/lang-pt-PT-appSetting~c7c9c399.bec96001.js +0 -1
- package/dist/js/lang-pt-PT-appSetting~c7c9c399.bec96001.js.gz +0 -0
- package/dist/js/lang-pt-PT-benefitcode~1348f37a.b38d12ea.js +0 -1
- package/dist/js/lang-pt-PT-benefitcode~1348f37a.b38d12ea.js.gz +0 -0
- package/dist/js/lang-pt-PT-gangwei~78f2b6e2.7709ec4c.js +0 -1
- package/dist/js/lang-pt-PT-homeData~8beafe06.6835222f.js +0 -1
- package/dist/js/lang-pt-PT-itemSkuList~7c433c99.ca2fa7b5.js +0 -1
- package/dist/js/lang-pt-PT-item~531e2bd7.e660da93.js +0 -1
- package/dist/js/lang-pt-PT-login~831a2b7a.374474ee.js +0 -1
- package/dist/js/lang-pt-PT-memberConfig~10075423.159620e2.js +0 -1
- package/dist/js/lang-pt-PT-orderlist~82a6af87.5b9f9064.js +0 -1
- package/dist/js/lang-pt-PT-postfee~465fd2c7.c579193a.js +0 -1
- package/dist/js/lang-pt-PT-pushConfig~d9472cc6.466a6cfe.js +0 -1
- package/dist/js/lang-pt-PT-setting~b4befe8f.556f068f.js +0 -1
- package/dist/js/lang-pt-PT-shopConfig~44669bfa.287fdc0f.js +0 -1
- package/dist/js/lang-pt-PT-shopConfig~44669bfa.287fdc0f.js.gz +0 -0
- package/dist/js/lang-pt-PT-wareHouse~816c6580.89a4d664.js +0 -1
- package/dist/js/lang-pt-PT~31ecd969.051a0883.js +0 -3
- package/dist/js/lang-pt-PT~31ecd969.051a0883.js.gz +0 -0
- package/dist/js/lang-ru-RU-appSetting~c4c842c9.6e96be13.js +0 -1
- package/dist/js/lang-ru-RU-appSetting~c4c842c9.6e96be13.js.gz +0 -0
- package/dist/js/lang-ru-RU-benefitcode~108857c5.b5a8502e.js +0 -1
- package/dist/js/lang-ru-RU-benefitcode~108857c5.b5a8502e.js.gz +0 -0
- package/dist/js/lang-ru-RU-gangwei~699df835.e7993268.js +0 -1
- package/dist/js/lang-ru-RU-homeData~1b009f09.fc9a5497.js +0 -1
- package/dist/js/lang-ru-RU-itemSkuList~e7f86138.95ebd2f9.js +0 -1
- package/dist/js/lang-ru-RU-item~7b5ab22d.5a1c4e11.js +0 -1
- package/dist/js/lang-ru-RU-login~d6c09d59.31033ad8.js +0 -1
- package/dist/js/lang-ru-RU-memberConfig~6da4bc25.c41f6345.js +0 -1
- package/dist/js/lang-ru-RU-orderlist~7b03e7de.3a757484.js +0 -1
- package/dist/js/lang-ru-RU-postfee~c773550f.74d54856.js +0 -1
- package/dist/js/lang-ru-RU-pushConfig~f817a1ad.c9ea3dcb.js +0 -1
- package/dist/js/lang-ru-RU-setting~66652fca.c6d3c507.js +0 -1
- package/dist/js/lang-ru-RU-setting~66652fca.c6d3c507.js.gz +0 -0
- package/dist/js/lang-ru-RU-shopConfig~05ea19a6.5b4093b7.js +0 -1
- package/dist/js/lang-ru-RU-shopConfig~05ea19a6.5b4093b7.js.gz +0 -0
- package/dist/js/lang-ru-RU-wareHouse~fb94cd28.3fa10f4a.js +0 -1
- package/dist/js/lang-ru-RU~31ecd969.6b91f46e.js +0 -3
- package/dist/js/lang-ru-RU~31ecd969.6b91f46e.js.gz +0 -0
- package/dist/js/lang-th-TH-appSetting~fb831ec8.35c32a5a.js +0 -1
- package/dist/js/lang-th-TH-appSetting~fb831ec8.35c32a5a.js.gz +0 -0
- package/dist/js/lang-th-TH-benefitcode~b93816a5.2134272e.js +0 -1
- package/dist/js/lang-th-TH-benefitcode~b93816a5.2134272e.js.gz +0 -0
- package/dist/js/lang-th-TH-gangwei~880529ae.f6e207ce.js +0 -1
- package/dist/js/lang-th-TH-homeData~801faefb.4faf6fb1.js +0 -1
- package/dist/js/lang-th-TH-itemSkuList~e7d2b457.0e5974ac.js +0 -1
- package/dist/js/lang-th-TH-item~5356b0aa.9c8b9e74.js +0 -1
- package/dist/js/lang-th-TH-item~5356b0aa.9c8b9e74.js.gz +0 -0
- package/dist/js/lang-th-TH-login~38f34f63.26326bb2.js +0 -1
- package/dist/js/lang-th-TH-memberConfig~6cc9ee5b.bfd93736.js +0 -1
- package/dist/js/lang-th-TH-orderlist~3e79ece6.c16cded2.js +0 -1
- package/dist/js/lang-th-TH-postfee~1094ba31.b99d4d35.js +0 -1
- package/dist/js/lang-th-TH-pushConfig~056ffd8e.e70e9bcb.js +0 -1
- package/dist/js/lang-th-TH-setting~8f146b82.6715a7fa.js +0 -1
- package/dist/js/lang-th-TH-setting~8f146b82.6715a7fa.js.gz +0 -0
- package/dist/js/lang-th-TH-shopConfig~b302229a.b62f2ac7.js +0 -1
- package/dist/js/lang-th-TH-shopConfig~b302229a.b62f2ac7.js.gz +0 -0
- package/dist/js/lang-th-TH-wareHouse~5c19240b.c5510d24.js +0 -1
- package/dist/js/lang-th-TH~31ecd969.3a24f779.js +0 -3
- package/dist/js/lang-th-TH~31ecd969.3a24f779.js.gz +0 -0
- package/dist/js/lang-trans~748942c6.6192b7fc.js +0 -3
- package/dist/js/lang-trans~748942c6.6192b7fc.js.gz +0 -0
- package/dist/js/lang-zh-TW-appSetting~0753415b.cc1105ba.js +0 -1
- package/dist/js/lang-zh-TW-appSetting~0753415b.cc1105ba.js.gz +0 -0
- package/dist/js/lang-zh-TW-benefitcode~a66a9c8a.17a0dab3.js +0 -1
- package/dist/js/lang-zh-TW-gangwei~c2bcc734.118bb605.js +0 -1
- package/dist/js/lang-zh-TW-homeData~4ffcfae2.98878b57.js +0 -1
- package/dist/js/lang-zh-TW-itemSkuList~e03bfd2b.5f9dd4d9.js +0 -1
- package/dist/js/lang-zh-TW-item~a20dc21a.462aebbd.js +0 -1
- package/dist/js/lang-zh-TW-login~890ac64b.a267fd6c.js +0 -1
- package/dist/js/lang-zh-TW-memberConfig~604bd757.20db4c00.js +0 -1
- package/dist/js/lang-zh-TW-orderlist~bae2bc91.7f6789fb.js +0 -1
- package/dist/js/lang-zh-TW-postfee~0e532de0.5e79435b.js +0 -1
- package/dist/js/lang-zh-TW-pushConfig~5f76eaf8.eec6cbdc.js +0 -1
- package/dist/js/lang-zh-TW-setting~ef104b11.7158a835.js +0 -1
- package/dist/js/lang-zh-TW-shopConfig~59b700b3.b7f5dd8e.js +0 -1
- package/dist/js/lang-zh-TW-shopConfig~59b700b3.b7f5dd8e.js.gz +0 -0
- package/dist/js/lang-zh-TW-wareHouse~ac70b093.7130a8a5.js +0 -1
- package/dist/js/lang-zh-TW~925e2721.0eac7d3a.js +0 -1
- package/dist/js/lang-zh-TW~925e2721.0eac7d3a.js.gz +0 -0
- /package/dist/css/{app~f075b844.e62a4c11.css → app~f075b844.428946ed.css} +0 -0
- /package/dist/css/{app~f075b844.e62a4c11.css.gz → app~f075b844.428946ed.css.gz} +0 -0
- /package/dist/css/{chunk-vendors~7e79ec10.f0c0395f.css → chunk-vendors~7e79ec10.1a544ca3.css} +0 -0
- /package/dist/css/{chunk-vendors~7e79ec10.f0c0395f.css.gz → chunk-vendors~7e79ec10.1a544ca3.css.gz} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a5594d12"],{"1b6c":function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r=n("5530"),o=n("bf0f");function i(e,t){return function(){return Object(o["b"])(e,Object(r["a"])({},t))}}function a(e,t){return Object(o["b"])(e,Object(r["a"])({},t))}},"2c595":function(e,t,n){"use strict";n("a7e2")},"3f42":function(e,t,n){"use strict";n("b0c0");var r=function(){var e=this,t=e._self._c;return t("a-upload",{attrs:{name:"file",multiple:!0,action:e.url,data:e.getData,headers:e.headers,showUploadList:!1,"before-upload":e.beforeUpload,accept:"image/*,video/*"},on:{change:e.handleChange}},[t("a-button",[t("a-icon",{attrs:{type:"upload"}}),e._v(" "+e._s(e.name?e.name:e.$t("compoent.attachlist.btn.uploadImg"))+" ")],1)],1)},o=[],i=n("5530"),a=(n("99af"),n("9fb0")),u=n("2f62"),c=n("a5e7"),s={name:"attachUpload",props:{params:{value:{}},name:{value:""}},computed:Object(i["a"])({},Object(u["c"])({shop_id:"shopId"})),data:function(){return{headers:{Authorization:"Bearer "+sessionStorage.getItem(a["a"])},url:"/admin"+c["a"].attachAdd,fileList:[]}},methods:{getData:function(e){var t={};return this.shop_id&&(t.shop_id=this.shop_id,t.tmp_id=parseInt(Math.floor((Math.random()+Math.floor(9*Math.random()+1))*Math.pow(10,9))),this.params.good_id&&(t.good_id=this.params.good_id)),t},handleChange:function(e){e.file.status,"done"===e.file.status?(e.file.response.data?(this.$set(this,"fileList",[]),this.$emit("uploadBack",e.file.response.data)):this.$message.error("".concat(e.file.name," ").concat(e.file.response.message," ")),this.$message.success("".concat(e.file.name," file uploaded successfully"))):"error"===e.file.status&&this.$message.error("".concat(e.file.name," file upload failed."))},beforeUpload:function(e){var t=e.size/1024/1024<5;return t||this.$message.error("file must smaller than 5MB!"),t}}},l=Object(i["a"])({},s),f=l,d=n("2877"),m=Object(d["a"])(f,r,o,!1,null,null,null);t["a"]=m.exports},"4e58":function(e,t,n){},"50af":function(e,t,n){"use strict";var r=function(){var e=this,t=e._self._c;return e.hiddenIcon?e._e():t("a-tooltip",[t("template",{slot:"title"},[e._v(" "+e._s(e.$t("view.test.form.add.message.aiButton"))+" ")]),t("Icon-robot-one",{class:{disableCursor:e.disabled},attrs:{theme:"outline",size:"24",fill:e.fcolor},on:{click:e.translate}})],2)},o=[],i=n("5530"),a=n("c7eb"),u=n("1da1"),c=n("b775"),s={aiTs:"/ai/trans"};function l(e){return Object(c["b"])({url:s.aiTs,method:"post",data:e})}var f={name:"ts",data:function(){return{tsIn:!1}},props:{value:"",lang:"",type:{default:"txt"},hiddenIcon:{default:!1},disabled:{default:!1}},computed:{fcolor:function(){return this.disabled?"#ccc":"#1890ff"}},methods:{translate:function(){var e=this;return Object(u["a"])(Object(a["a"])().mark((function t(){var n,r;return Object(a["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.disabled){t.next=2;break}return t.abrupt("return",!1);case 2:if(!e.tsIn){t.next=5;break}return e.$message.error(e.$t("view.test.form.add.message.aiUpdate")),t.abrupt("return",!1);case 5:return e.tsIn=!0,e.$emit("update:loadding",e.tsIn),e.$emit("changeStatus",e.tsIn),t.prev=8,t.next=11,l({text:e.value,type:e.type,lang:e.lang});case 11:n=t.sent,r=n.text,e.tsIn=!1,e.$emit("update:value",r),e.$emit("update:loadding",e.tsIn),e.$emit("changeStatus",e.tsIn),t.next=25;break;case 19:t.prev=19,t.t0=t["catch"](8),e.tsIn=!1,e.$emit("update:loadding",e.tsIn),e.$emit("changeStatus",e.tsIn),e.$message.error(e.$t("view.test.form.add.message.aiError"));case 25:case"end":return t.stop()}}),t,null,[[8,19]])})))()}}},d=Object(i["a"])({},f),m=d,p=(n("553c"),n("2877")),g=Object(p["a"])(m,r,o,!1,null,null,null);t["a"]=g.exports},"553c":function(e,t,n){"use strict";n("4e58")},"5ac8":function(e,t,n){"use strict";var r=function(){var e=this,t=e._self._c;return t("div",[t("attach-list",{ref:"attachList",attrs:{hiddenBtn:!0},on:{change:e.addImg}}),t("aiTs",{ref:"tsAi",attrs:{disabled:e.disabled,value:e.htmlContext,type:"html",lang:e.lang,loadding:e.aiTsUpdate,hiddenIcon:!0},on:{"update:value":function(t){e.htmlContext=t},"update:loadding":function(t){e.aiTsUpdate=t}}}),t("textarea",{attrs:{id:"tinymceId"}})],1)},o=[],i=n("5530"),a=n("c7eb"),u=n("1da1"),c=(n("99af"),n("2f62")),s=n("50af"),l=n("fb04"),f=n("e562"),d=n.n(f);n("0342"),n("ec27"),n("fd8a"),n("4ea8"),n("4237"),n("64d8"),n("07d1"),n("3154"),n("78e4");n("7abb"),n("c019"),n("d03a");var m={name:"VDitor",components:{AttachList:l["a"],aiTs:s["a"]},computed:Object(i["a"])({},Object(c["c"])({shopId:"shopId",Lang:"lang"})),data:function(){return{contentEditorEdit:null,contentEditor:null,vditorToolbar:[],tinymceVal:"",einit:{height:300},aiTsUpdate:!1,htmlContext:"",langs:{"zh-CN":"zh-CN","fr-FR":"fr-FR","de-DE":"de-DE","en-US":"en-US"}}},props:{value:"",good_id:null,lang:"",disabled:{default:!1}},mounted:function(){var e=this;setTimeout((function(){e.contentEditorEdit=null,e.edinit(e.value)}),100)},beforeDestroy:function(){this.contentEditor&&this.contentEditor.remove()},watch:{value:function(e){this.edinit(this.value)},aiTsUpdate:function(){this.$emit("update:updateStatus",this.aiTsUpdate),this.aiTsUpdate?this.contentEditor.setMode("readonly"):(this.edinit(this.htmlContext),this.contentEditor.setMode("design"))},disabled:function(){this.disabled?this.contentEditor.setMode("readonly"):this.contentEditor.setMode("design")}},created:function(){},methods:{clickAttachList:function(){var e=this;this.$nextTick((function(){return e.$refs.attachList.openAttachList()}))},edinit:function(e){var t=this;t.contentEditor=d.a.get("tinymceId"),t.contentEditor||(d.a.init({selector:"#tinymceId",plugins:"code fullscreen image link table textpattern",toolbar1:"code fullscreen undo redo restoredraft | alignleft aligncenter alignright | link table | bold italic forecolor backcolor",toolbar2:"styleselect | image | myImageButton AIts",height:500,language:t.langs[t.Lang]||"en",toolbar_drawer:"sliding",toolbar_sticky:!0,convert_urls:!1,content_css:"/cp/tiny-grid.min.css",setup:function(e){e.ui.registry.addIcon("IRobotones",'<svg width="24" height="24" viewBox="0 0 48 48" fill="none"><rect x="9" y="18" width="30" height="24" rx="2" fill="none" stroke="'.concat(t.disabled?"rgba(34,47,62,.5)":"#333",'" stroke-width="4"></rect><circle cx="17" cy="26" r="2" fill="').concat(t.disabled?"rgba(34,47,62,.5)":"#333",'"></circle><circle cx="31" cy="26" r="2" fill="').concat(t.disabled?"rgba(34,47,62,.5)":"#333",'"></circle><path d="M20 32C18.8954 32 18 32.8954 18 34C18 35.1046 18.8954 36 20 36V32ZM28 36C29.1046 36 30 35.1046 30 34C30 32.8954 29.1046 32 28 32V36ZM20 36H28V32H20V36Z" fill="').concat(t.disabled?"rgba(34,47,62,.5)":"#333",'"></path><path d="M24 10V18" stroke="').concat(t.disabled?"rgba(34,47,62,.5)":"#333",'" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M4 26V34" stroke="').concat(t.disabled?"rgba(34,47,62,.5)":"#333",'" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M44 26V34" stroke="').concat(t.disabled?"rgba(34,47,62,.5)":"#333",'" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><circle cx="24" cy="8" r="2" stroke="').concat(t.disabled?"rgba(34,47,62,.5)":"#333",'" stroke-width="4"></circle></svg>')),e.ui.registry.addButton("myImageButton",{icon:"upload",tooltip:t.$t("view.test.form.add.message.uploadButton"),onAction:function(){t.$refs.attachList.openAttachList()}}),e.ui.registry.addButton("AIts",{icon:"IRobotones",tooltip:t.$t("view.test.form.add.message.aiButton"),onAction:function(){var e=Object(u["a"])(Object(a["a"])().mark((function e(){return Object(a["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.contentEditor.getContent();case 2:t.htmlContext=e.sent,setTimeout((function(){t.$refs.tsAi.translate()}),500);case 4:case"end":return e.stop()}}),e)})));function n(){return e.apply(this,arguments)}return n}()})},textpattern_patterns:[{start:"*",end:"*",format:"italic"},{start:"**",end:"**",format:"bold"},{start:"#",format:"h1"},{start:"##",format:"h2"},{start:"###",format:"h3"},{start:"####",format:"h4"},{start:"#####",format:"h5"},{start:"######",format:"h6"},{start:"row2",replacement:'<div class="row"><div class="col-lg-6 col-md-6">This is a column</div><div class= "col-lg-6 col-md-6"> This is another column</div></div>'},{start:"row3",replacement:'<div class="row"><div class="col-lg-4 col-md-4">This is a column</div><div class= "col-lg-4 col-md-4"> This is another column</div><div class= "col-lg-4 col-md-4"> This is another column</div></div>'},{start:"roww2*2",replacement:'<div class="row"><div class="col-lg-6 col-md-6 "><div>This is a column</div></div><div class= "col-lg-6 col-md-6 "> This is another column</div><div class= "col-lg-6 col-md-6 "> This is another column</div><div class= "col-lg-6 col-md-6"> This is another column</div></div>'},{start:"row4",replacement:'<div class="row"><div class="col-lg-3 col-md-3 "><div>This is a column</div></div><div class= "col-lg-3 col-md-3 "> This is another column</div><div class= "col-lg-3 col-md-3 "> This is another column</div><div class= "col-lg-3 col-md-3"> This is another column</div></div>'},{start:"row2-text-image",replacement:'<div class="row"><div class="col-lg-6 col-md-6">This is a column</div><div class= "col-lg-6 col-md-6"> <img src="https://img.alicdn.com/imgextra/i3/20841398/TB2Si6IgRDH8KJjy1zeXXXjepXa-20841398.png" style="width: 100%;" /></div></div>'},{start:"row3-image",replacement:'<div class="row"><div class= "col-lg-4 col-md-4"> <img src="https://img.alicdn.com/imgextra/i3/20841398/TB2Si6IgRDH8KJjy1zeXXXjepXa-20841398.png" style="width: 100%;" /></div><div class= "col-lg-4 col-md-4"> <img src="https://img.alicdn.com/imgextra/i3/20841398/TB2Si6IgRDH8KJjy1zeXXXjepXa-20841398.png" style="width: 100%;" /></div><div class= "col-lg-4 col-md-4"> <img src="https://img.alicdn.com/imgextra/i3/20841398/TB2Si6IgRDH8KJjy1zeXXXjepXa-20841398.png" style="width: 100%;" /></div></div>'}]}),t.contentEditor=d.a.get("tinymceId")),t.contentEditor&&(t.contentEditor.setContent(e),this.disabled&&t.contentEditor.setMode("readonly"))},addImg:function(e){var t=e[0],n='<img src="'.concat(t,'" style="width: 100%;"/> ');this.contentEditor&&this.contentEditor.insertContent(n)},getValue1:function(){var e;this.contentEditor&&(e=this.contentEditor.getContent()),this.$emit("update:value",e)}}},p=Object(i["a"])({},m),g=p,h=n("2877"),v=Object(h["a"])(g,r,o,!1,null,null,null);t["a"]=v.exports},"7abb":function(e,t,n){"use strict";n.r(t);var r=n("e562"),o=n.n(r);o.a.addI18n("fr-FR",{Redo:"Rétablir",Undo:"Annuler",Cut:"Couper",Copy:"Copier",Paste:"Coller","Select all":"Sélectionner tout","New document":"Nouveau document",Ok:"OK",Cancel:"Annuler","Visual aids":"Aides visuelles",Bold:"Gras",Italic:"Italique",Underline:"Souligné",Strikethrough:"Barré",Superscript:"Exposant",Subscript:"Indice","Clear formatting":"Effacer la mise en forme",Remove:"Retiré","Align left":"Aligner à gauche","Align center":"Centrer","Align right":"Aligner à droite","No alignment":"Aucun alignement",Justify:"Justifier","Bullet list":"Liste à puces","Numbered list":"Liste numérotée","Decrease indent":"Réduire le retrait","Increase indent":"Augmenter le retrait",Close:"Fermer",Formats:"Formats","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.":"Votre navigateur ne supporte pas l’accès direct au presse-papiers. Merci d'utiliser les raccourcis clavier Ctrl+X/C/V.",Headings:"Titres","Heading 1":"Titre 1","Heading 2":"Titre 2","Heading 3":"Titre 3","Heading 4":"Titre 4","Heading 5":"Titre 5","Heading 6":"Titre 6",Preformatted:"Préformaté",Div:"Div",Pre:"Préformaté",Code:"Code",Paragraph:"Paragraphe",Blockquote:"Bloc de citation",Inline:"En ligne",Blocks:"Blocs","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":"Le collage est maintenant en mode texte brut. Les contenus seront collés sans retenir les formatages jusqu'à ce que vous désactivez cette option.",Fonts:"Polices","Font sizes":"Tailles de police",Class:"Classe","Browse for an image":"Rechercher une image",OR:"OU","Drop an image here":"Déposer une image ici",Upload:"Télécharger","Uploading image":"Téléversement d'une image",Block:"Bloc",Align:"Aligner",Default:"Par défaut",Circle:"Cercle",Disc:"Disque",Square:"Carré","Lower Alpha":"Alphabet en minuscules","Lower Greek":"Alphabet grec en minuscules","Lower Roman":"Chiffre romain inférieur","Upper Alpha":"Alphabet en majuscules","Upper Roman":"Chiffre romain supérieur","Anchor...":"Ancre...",Anchor:"Ancre",Name:"Nom",ID:"ID","ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.":"L'ID doit commencer par une lettre, suivie uniquement par des lettres, numéros, tirets, points, deux-points et underscores.","You have unsaved changes are you sure you want to navigate away?":"Vous avez des modifications non enregistrées, êtes-vous sûr de vouloir quitter la page ?","Restore last draft":"Restaurer le dernier brouillon","Special character...":"Caractère spécial...","Special Character":"Caractère spécial","Source code":"Code source","Insert/Edit code sample":"Insérer / modifier un bloc de code",Language:"Langue","Code sample...":"Exemple de code...","Left to right":"De gauche à droite","Right to left":"De droite à gauche",Title:"Titre",Fullscreen:"Plein écran",Action:"Action",Shortcut:"Raccourci",Help:"Aide",Address:"Adresse","Focus to menubar":"Mettre le focus sur la barre de menu","Focus to toolbar":"Mettre le focus sur la barre d'outils","Focus to element path":"Mettre le focus sur le chemin vers l'élément","Focus to contextual toolbar":"Mettre le focus sur la barre d'outils contextuelle","Insert link (if link plugin activated)":"Insérer un lien (si le plug-in link est activé)","Save (if save plugin activated)":"Enregistrer (si le plug-in save est activé)","Find (if searchreplace plugin activated)":"Rechercher (si le plug-in searchreplace est activé)","Plugins installed ({0}):":"Plug-ins installés ({0}) :","Premium plugins:":"Plug-ins premium :","Learn more...":"En savoir plus...","You are using {0}":"Vous utilisez {0}",Plugins:"Plug-ins","Handy Shortcuts":"Raccourcis utiles","Horizontal line":"Ligne horizontale","Insert/edit image":"Insérer/modifier image","Alternative description":"Description alternative",Accessibility:"Accessibilité","Image is decorative":"L'image est décorative",Source:"Source",Dimensions:"Dimensions","Constrain proportions":"Limiter les proportions",General:"Général",Advanced:"Options avancées",Style:"Style","Vertical space":"Espace vertical","Horizontal space":"Espace horizontal",Border:"Bordure","Insert image":"Insérer une image","Image...":"Image...","Image list":"Liste des images",Resize:"Redimensionner","Insert date/time":"Insérer date/heure","Date/time":"Date/heure","Insert/edit link":"Insérer/modifier lien","Text to display":"Texte à afficher",Url:"URL","Open link in...":"Ouvrir le lien dans...","Current window":"Fenêtre active",None:"Aucun","New window":"Nouvelle fenêtre","Open link":"Ouvrir le lien","Remove link":"Enlever le lien",Anchors:"Ancres","Link...":"Lien...","Paste or type a link":"Coller ou taper un lien","The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?":"L'URL que vous avez saisi semble être une adresse e-mail. Souhaitez-vous y ajouter le préfixe requis mailto: ?","The URL you entered seems to be an external link. Do you want to add the required http:// prefix?":"L'URL que vous avez saisi semble être un lien externe. Souhaitez-vous y ajouter le préfixe requis mailto: ?","The URL you entered seems to be an external link. Do you want to add the required https:// prefix?":"L'URL que vous avez saisie semble être un lien externe. Voulez-vous ajouter le préfixe https:// requis ?","Link list":"Liste des liens","Insert video":"Insérer une vidéo","Insert/edit video":"Insérer/modifier une vidéo","Insert/edit media":"Insérer/modifier un média","Alternative source":"Source alternative","Alternative source URL":"URL de la source alternative","Media poster (Image URL)":"Affiche de média (URL de l'image)","Paste your embed code below:":"Collez votre code incorporé ci-dessous :",Embed:"Incorporer","Media...":"Média...","Nonbreaking space":"Espace insécable","Page break":"Saut de page","Paste as text":"Coller comme texte",Preview:"Aperçu",Print:"Imprimer","Print...":"Imprimer...",Save:"Enregistrer",Find:"Rechercher","Replace with":"Remplacer par",Replace:"Remplacer","Replace all":"Remplacer tout",Previous:"Précédente",Next:"Suivante","Find and Replace":"Trouver et remplacer","Find and replace...":"Trouver et remplacer...","Could not find the specified string.":"Impossible de trouver la chaîne spécifiée.","Match case":"Respecter la casse","Find whole words only":"Mot entier","Find in selection":"Trouver dans la sélection","Insert table":"Insérer un tableau","Table properties":"Propriétés du tableau","Delete table":"Supprimer le tableau",Cell:"Cellule",Row:"Ligne",Column:"Colonne","Cell properties":"Propriétés de la cellule","Merge cells":"Fusionner les cellules","Split cell":"Diviser la cellule","Insert row before":"Insérer une ligne avant","Insert row after":"Insérer une ligne après","Delete row":"Supprimer la ligne","Row properties":"Propriétés de la ligne","Cut row":"Couper la ligne","Cut column":"Couper la colonne","Copy row":"Copier la ligne","Copy column":"Copier la colonne","Paste row before":"Coller la ligne avant","Paste column before":"Coller la colonne avant","Paste row after":"Coller la ligne après","Paste column after":"Coller la colonne après","Insert column before":"Insérer une colonne avant","Insert column after":"Insérer une colonne après","Delete column":"Supprimer la colonne",Cols:"Colonnes",Rows:"Lignes",Width:"Largeur",Height:"Hauteur","Cell spacing":"Espacement entre les cellules","Cell padding":"Marge intérieure des cellules","Row clipboard actions":"Actions du presse-papiers des lignes","Column clipboard actions":"Actions du presse-papiers des colonnes","Table styles":"Style tableau","Cell styles":"Type de cellule","Column header":"En-tête de colonne","Row header":"En-tête de ligne","Table caption":"Légende de tableau",Caption:"Légende","Show caption":"Afficher une légende",Left:"Gauche",Center:"Centre",Right:"Droite","Cell type":"Type de cellule",Scope:"Étendue",Alignment:"Alignement","Horizontal align":"Alignement horizontal","Vertical align":"Alignement vertical",Top:"En haut",Middle:"Au milieu",Bottom:"En bas","Header cell":"Cellule d'en-tête","Row group":"Groupe de lignes","Column group":"Groupe de colonnes","Row type":"Type de ligne",Header:"En-tête",Body:"Corps",Footer:"Pied de page","Border color":"Couleur de bordure",Solid:"Trait continu",Dotted:"Pointillé",Dashed:"Tirets",Double:"Deux traits continus",Groove:"Sculpté",Ridge:"Extrudé",Inset:"Incrusté",Outset:"Relief",Hidden:"Masqué","Insert template...":"Insérer un modèle...",Templates:"Modèles",Template:"Modèle","Insert Template":"Insérer le modèle","Text color":"Couleur du texte","Background color":"Couleur d'arrière-plan","Custom...":"Personnalisée...","Custom color":"Couleur personnalisée","No color":"Aucune couleur","Remove color":"Supprimer la couleur","Show blocks":"Afficher les blocs","Show invisible characters":"Afficher les caractères invisibles","Word count":"Nombre de mots",Count:"Total",Document:"Document",Selection:"Sélection",Words:"Mots","Words: {0}":"Mots : {0}","{0} words":"{0} mots",File:"Fichier",Edit:"Modifier",Insert:"Insérer",View:"Afficher",Format:"Format",Table:"Tableau",Tools:"Outils","Powered by {0}":"Avec {0}","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"Zone de Texte Riche. Appuyez sur ALT-F9 pour le menu. Appuyez sur ALT-F10 pour la barre d'outils. Appuyez sur ALT-0 pour l'aide","Image title":"Titre d'image","Border width":"Épaisseur de la bordure","Border style":"Style de la bordure",Error:"Erreur",Warn:"Avertir",Valid:"Valide","To open the popup, press Shift+Enter":"Pour ouvrir la popup, appuyez sur Maj+Entrée","Rich Text Area":"Zone de Texte Riche","Rich Text Area. Press ALT-0 for help.":"Zone de Texte Riche. Appuyez sur ALT-0 pour l'aide.","System Font":"Police système","Failed to upload image: {0}":"Échec d'envoi de l'image : {0}","Failed to load plugin: {0} from url {1}":"Échec de chargement du plug-in : {0} à partir de l’URL {1}","Failed to load plugin url: {0}":"Échec de chargement de l'URL du plug-in : {0}","Failed to initialize plugin: {0}":"Échec d'initialisation du plug-in : {0}",example:"exemple",Search:"Rechercher",All:"Tout",Currency:"Devise",Text:"Texte",Quotations:"Citations",Mathematical:"Opérateurs mathématiques","Extended Latin":"Latin étendu",Symbols:"Symboles",Arrows:"Flèches","User Defined":"Défini par l'utilisateur","dollar sign":"Symbole dollar","currency sign":"Symbole devise","euro-currency sign":"Symbole euro","colon sign":"Symbole colón","cruzeiro sign":"Symbole cruzeiro","french franc sign":"Symbole franc français","lira sign":"Symbole lire","mill sign":"Symbole millième","naira sign":"Symbole naira","peseta sign":"Symbole peseta","rupee sign":"Symbole roupie","won sign":"Symbole won","new sheqel sign":"Symbole nouveau chékel","dong sign":"Symbole dong","kip sign":"Symbole kip","tugrik sign":"Symbole tougrik","drachma sign":"Symbole drachme","german penny symbol":"Symbole pfennig","peso sign":"Symbole peso","guarani sign":"Symbole guarani","austral sign":"Symbole austral","hryvnia sign":"Symbole hryvnia","cedi sign":"Symbole cedi","livre tournois sign":"Symbole livre tournois","spesmilo sign":"Symbole spesmilo","tenge sign":"Symbole tenge","indian rupee sign":"Symbole roupie indienne","turkish lira sign":"Symbole lire turque","nordic mark sign":"Symbole du mark nordique","manat sign":"Symbole manat","ruble sign":"Symbole rouble","yen character":"Sinogramme Yen","yuan character":"Sinogramme Yuan","yuan character, in hong kong and taiwan":"Sinogramme Yuan, Hong Kong et Taiwan","yen/yuan character variant one":"Sinogramme Yen/Yuan, première variante",Emojis:"Émojis","Emojis...":"Émojis...","Loading emojis...":"Chargement des emojis...","Could not load emojis":"Impossible de charger les emojis",People:"Personnes","Animals and Nature":"Animaux & nature","Food and Drink":"Nourriture & boissons",Activity:"Activité","Travel and Places":"Voyages & lieux",Objects:"Objets",Flags:"Drapeaux",Characters:"Caractères","Characters (no spaces)":"Caractères (espaces non compris)","{0} characters":"{0} caractères","Error: Form submit field collision.":"Erreur : conflit de champs lors de la soumission du formulaire.","Error: No form element found.":"Erreur : aucun élément de formulaire trouvé.","Color swatch":"Échantillon de couleurs","Color Picker":"Sélecteur de couleurs","Invalid hex color code: {0}":"Code couleur hexadécimal invalide : {0}","Invalid input":"Entrée invalide",R:"R","Red component":"Composant rouge",G:"V","Green component":"Composant vert",B:"B","Blue component":"Composant bleu","#":"#","Hex color code":"Code couleur hexadécimal","Range 0 to 255":"Plage de 0 à 255",Turquoise:"Turquoise",Green:"Vert",Blue:"Bleu",Purple:"Violet","Navy Blue":"Bleu marine","Dark Turquoise":"Turquoise foncé","Dark Green":"Vert foncé","Medium Blue":"Bleu moyen","Medium Purple":"Violet moyen","Midnight Blue":"Bleu de minuit",Yellow:"Jaune",Orange:"Orange",Red:"Rouge","Light Gray":"Gris clair",Gray:"Gris","Dark Yellow":"Jaune foncé","Dark Orange":"Orange foncé","Dark Red":"Rouge foncé","Medium Gray":"Gris moyen","Dark Gray":"Gris foncé","Light Green":"Vert clair","Light Yellow":"Jaune clair","Light Red":"Rouge clair","Light Purple":"Violet clair","Light Blue":"Bleu clair","Dark Purple":"Violet foncé","Dark Blue":"Bleu foncé",Black:"Noir",White:"Blanc","Switch to or from fullscreen mode":"Passer en ou quitter le mode plein écran","Open help dialog":"Ouvrir la boîte de dialogue d'aide",history:"historique",styles:"styles",formatting:"mise en forme",alignment:"alignement",indentation:"retrait",Font:"Police",Size:"Taille","More...":"Plus...","Select...":"Sélectionner...",Preferences:"Préférences",Yes:"Oui",No:"Non","Keyboard Navigation":"Navigation au clavier",Version:"Version","Code view":"Affichage du code","Open popup menu for split buttons":"Ouvrir le menu contextuel pour les boutons partagés","List Properties":"Propriétés de la liste","List properties...":"Lister les propriétés...","Start list at number":"Liste de départ au numéro","Line height":"Hauteur de la ligne","Dropped file type is not supported":"Le type de fichier déposé n'est pas pris en charge","Loading...":"Chargement...","ImageProxy HTTP error: Rejected request":"Erreur HTTP d'ImageProxy : Requête rejetée","ImageProxy HTTP error: Could not find Image Proxy":"Erreur HTTP d'ImageProxy : Impossible de trouver ImageProxy","ImageProxy HTTP error: Incorrect Image Proxy URL":"Erreur HTTP d'ImageProxy : URL de ImageProxy incorrecte","ImageProxy HTTP error: Unknown ImageProxy error":"Erreur HTTP d'ImageProxy : Erreur ImageProxy inconnue"})},"9b82d":function(e,t,n){"use strict";var r=function(){var e=this,t=e._self._c;return t("div",[e.shopList&&e.shopList.length?t("a-select",{attrs:{placeholder:"请选择","allow-clear":"",getPopupContainer:function(e){return e.parentNode}},on:{change:e.back},model:{value:e.checkedShopId,callback:function(t){e.checkedShopId=t},expression:"checkedShopId"}},e._l(e.shopList,(function(n,r){return t("a-select-option",{key:r,attrs:{value:n.shop_id}},[e._v(e._s(n.title))])})),1):e._e()],1)},o=[],i=n("5530"),a=n("a7b6"),u={name:"ShopSelect",props:{shopId:{default:""}},data:function(){return{shopList:[],checkedShopId:this.shopId}},created:function(){this.initLit()},methods:{initLit:function(){var e=this,t={limit:50,page:1};Object(a["f"])(t).then((function(t){e.shopList=t.list,e.shopId&&""!==e.shopId||(e.checkedShopId=e.shopList[0].shop_id,e.back())}))},back:function(){this.$emit("change",this.checkedShopId)}}},c=Object(i["a"])({},u),s=c,l=n("2877"),f=Object(l["a"])(s,r,o,!1,null,null,null);t["a"]=f.exports},a5e7:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return u}));var r=n("b775"),o={attachAdd:"/upload/file",attachList:"/upload/file/list",attachDel:"/upload/file/delete"},i=o;function a(e){return Object(r["b"])({url:o.attachList,method:"post",params:e})}function u(e){return Object(r["b"])({url:o.attachDel,method:"post",params:e})}},a7e2:function(e,t,n){},c019:function(e,t,n){"use strict";n.r(t);var r=n("e562"),o=n.n(r);o.a.addI18n("zh-CN",{Redo:"重做",Undo:"撤销",Cut:"剪切",Copy:"复制",Paste:"粘贴","Select all":"全选","New document":"新建文档",Ok:"确定",Cancel:"取消","Visual aids":"网格线",Bold:"粗体",Italic:"斜体",Underline:"下划线",Strikethrough:"删除线",Superscript:"上标",Subscript:"下标","Clear formatting":"清除格式",Remove:"移除","Align left":"左对齐","Align center":"居中对齐","Align right":"右对齐","No alignment":"未对齐",Justify:"两端对齐","Bullet list":"无序列表","Numbered list":"有序列表","Decrease indent":"减少缩进","Increase indent":"增加缩进",Close:"关闭",Formats:"格式","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.":"你的浏览器不支持打开剪贴板,请使用Ctrl+X/C/V等快捷键。",Headings:"标题","Heading 1":"一级标题","Heading 2":"二级标题","Heading 3":"三级标题","Heading 4":"四级标题","Heading 5":"五级标题","Heading 6":"六级标题",Preformatted:"预先格式化的",Div:"Div",Pre:"前言",Code:"代码",Paragraph:"段落",Blockquote:"引文区块",Inline:"文本",Blocks:"样式","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":"当前为纯文本粘贴模式,再次点击可以回到普通粘贴模式。",Fonts:"字体","Font sizes":"字体大小",Class:"类型","Browse for an image":"浏览图像",OR:"或","Drop an image here":"拖放一张图像至此",Upload:"上传","Uploading image":"上传图片",Block:"块",Align:"对齐",Default:"预设",Circle:"空心圆",Disc:"实心圆",Square:"实心方块","Lower Alpha":"小写英文字母","Lower Greek":"小写希腊字母","Lower Roman":"小写罗马数字","Upper Alpha":"大写英文字母","Upper Roman":"大写罗马数字","Anchor...":"锚点...",Anchor:"锚点",Name:"名称",ID:"ID","ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.":"ID应该以英文字母开头,后面只能有英文字母、数字、破折号、点、冒号或下划线。","You have unsaved changes are you sure you want to navigate away?":"你还有文档尚未保存,确定要离开?","Restore last draft":"恢复上次的草稿","Special character...":"特殊字符...","Special Character":"特殊字符","Source code":"源代码","Insert/Edit code sample":"插入/编辑代码示例",Language:"语言","Code sample...":"示例代码...","Left to right":"由左到右","Right to left":"由右到左",Title:"标题",Fullscreen:"全屏",Action:"动作",Shortcut:"快捷方式",Help:"帮助",Address:"地址","Focus to menubar":"移动焦点到菜单栏","Focus to toolbar":"移动焦点到工具栏","Focus to element path":"移动焦点到元素路径","Focus to contextual toolbar":"移动焦点到上下文菜单","Insert link (if link plugin activated)":"插入链接 (如果链接插件已激活)","Save (if save plugin activated)":"保存(如果保存插件已激活)","Find (if searchreplace plugin activated)":"查找(如果查找替换插件已激活)","Plugins installed ({0}):":"已安装插件 ({0}):","Premium plugins:":"优秀插件:","Learn more...":"了解更多...","You are using {0}":"你正在使用 {0}",Plugins:"插件","Handy Shortcuts":"快捷键","Horizontal line":"水平分割线","Insert/edit image":"插入/编辑图片","Alternative description":"替代描述",Accessibility:"辅助功能","Image is decorative":"图像是装饰性的",Source:"源",Dimensions:"尺寸","Constrain proportions":"保持比例",General:"一般",Advanced:"高级",Style:"样式","Vertical space":"垂直间距","Horizontal space":"水平间距",Border:"框线","Insert image":"插入图片","Image...":"图片...","Image list":"图片清单",Resize:"调整大小","Insert date/time":"插入日期/时间","Date/time":"日期/时间","Insert/edit link":"插入/编辑链接","Text to display":"要显示的文本",Url:"地址","Open link in...":"链接打开位置...","Current window":"当前窗口",None:"无","New window":"新窗口","Open link":"打开链接","Remove link":"移除链接",Anchors:"锚点","Link...":"链接...","Paste or type a link":"粘贴或输入链接","The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?":"你所填写的URL地址为邮件地址,需要加上mailto: 前缀吗?","The URL you entered seems to be an external link. Do you want to add the required http:// prefix?":"你所填写的URL地址属于外部链接,需要加上http:// 前缀吗?","The URL you entered seems to be an external link. Do you want to add the required https:// prefix?":"您输入的 URL 似乎是一个外部链接。您想添加所需的 https:// 前缀吗?","Link list":"链接清单","Insert video":"插入视频","Insert/edit video":"插入/编辑视频","Insert/edit media":"插入/编辑媒体","Alternative source":"镜像","Alternative source URL":"替代来源网址","Media poster (Image URL)":"封面(图片地址)","Paste your embed code below:":"将内嵌代码粘贴在下面:",Embed:"内嵌","Media...":"多媒体...","Nonbreaking space":"不间断空格","Page break":"分页符","Paste as text":"粘贴为文本",Preview:"预览",Print:"打印","Print...":"打印...",Save:"保存",Find:"寻找","Replace with":"替换为",Replace:"替换","Replace all":"替换全部",Previous:"上一个",Next:"下一个","Find and Replace":"查找和替换","Find and replace...":"查找并替换...","Could not find the specified string.":"未找到搜索内容。","Match case":"大小写匹配","Find whole words only":"全字匹配","Find in selection":"在选区中查找","Insert table":"插入表格","Table properties":"表格属性","Delete table":"删除表格",Cell:"单元格",Row:"行",Column:"栏目","Cell properties":"单元格属性","Merge cells":"合并单元格","Split cell":"拆分单元格","Insert row before":"在上方插入行","Insert row after":"在下方插入行","Delete row":"删除行","Row properties":"行属性","Cut row":"剪切行","Cut column":"剪切列","Copy row":"复制行","Copy column":"复制列","Paste row before":"粘贴行到上方","Paste column before":"粘贴此列前","Paste row after":"粘贴行到下方","Paste column after":"粘贴后面的列","Insert column before":"在左侧插入列","Insert column after":"在右侧插入列","Delete column":"删除列",Cols:"列",Rows:"行数",Width:"宽度",Height:"高度","Cell spacing":"单元格外间距","Cell padding":"单元格内边距","Row clipboard actions":"行剪贴板操作","Column clipboard actions":"列剪贴板操作","Table styles":"表格样式","Cell styles":"单元格样式","Column header":"列标题","Row header":"行头","Table caption":"表格标题",Caption:"标题","Show caption":"显示标题",Left:"左",Center:"居中",Right:"右","Cell type":"储存格别",Scope:"范围",Alignment:"对齐","Horizontal align":"水平对齐","Vertical align":"垂直对齐",Top:"上方对齐",Middle:"居中对齐",Bottom:"下方对齐","Header cell":"表头单元格","Row group":"行组","Column group":"列组","Row type":"行类型",Header:"表头",Body:"表体",Footer:"表尾","Border color":"框线颜色",Solid:"实线",Dotted:"虚线",Dashed:"虚线",Double:"双精度",Groove:"凹槽",Ridge:"海脊座",Inset:"嵌入",Outset:"外置",Hidden:"隐藏","Insert template...":"插入模板...",Templates:"模板",Template:"模板","Insert Template":"插入模板","Text color":"文本颜色","Background color":"背景颜色","Custom...":"自定义......","Custom color":"自定义颜色","No color":"无","Remove color":"移除颜色","Show blocks":"显示区块边框","Show invisible characters":"显示不可见字符","Word count":"字数",Count:"计数",Document:"文档",Selection:"选择",Words:"单词","Words: {0}":"字数:{0}","{0} words":"{0} 字",File:"文件",Edit:"编辑",Insert:"插入",View:"查看",Format:"格式",Table:"表格",Tools:"工具","Powered by {0}":"由{0}驱动","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"编辑区。按ALT-F9打开菜单,按ALT-F10打开工具栏,按ALT-0查看帮助","Image title":"图片标题","Border width":"边框宽度","Border style":"边框样式",Error:"错误",Warn:"警告",Valid:"有效","To open the popup, press Shift+Enter":"按Shitf+Enter键打开对话框","Rich Text Area":"富文本区域","Rich Text Area. Press ALT-0 for help.":"编辑区。按Alt+0键打开帮助。","System Font":"系统字体","Failed to upload image: {0}":"图片上传失败: {0}","Failed to load plugin: {0} from url {1}":"插件加载失败: {0} 来自链接 {1}","Failed to load plugin url: {0}":"插件加载失败 链接: {0}","Failed to initialize plugin: {0}":"插件初始化失败: {0}",example:"示例",Search:"搜索",All:"全部",Currency:"货币",Text:"文字",Quotations:"引用",Mathematical:"数学","Extended Latin":"拉丁语扩充",Symbols:"符号",Arrows:"箭头","User Defined":"自定义","dollar sign":"美元符号","currency sign":"货币符号","euro-currency sign":"欧元符号","colon sign":"冒号","cruzeiro sign":"克鲁赛罗币符号","french franc sign":"法郎符号","lira sign":"里拉符号","mill sign":"密尔符号","naira sign":"奈拉符号","peseta sign":"比塞塔符号","rupee sign":"卢比符号","won sign":"韩元符号","new sheqel sign":"新谢克尔符号","dong sign":"越南盾符号","kip sign":"老挝基普符号","tugrik sign":"图格里克符号","drachma sign":"德拉克马符号","german penny symbol":"德国便士符号","peso sign":"比索符号","guarani sign":"瓜拉尼符号","austral sign":"澳元符号","hryvnia sign":"格里夫尼亚符号","cedi sign":"塞地符号","livre tournois sign":"里弗弗尔符号","spesmilo sign":"spesmilo符号","tenge sign":"坚戈符号","indian rupee sign":"印度卢比","turkish lira sign":"土耳其里拉","nordic mark sign":"北欧马克","manat sign":"马纳特符号","ruble sign":"卢布符号","yen character":"日元字样","yuan character":"人民币元字样","yuan character, in hong kong and taiwan":"元字样(港台地区)","yen/yuan character variant one":"元字样(大写)",Emojis:"Emojis","Emojis...":"Emojis...","Loading emojis...":"正在加载Emojis...","Could not load emojis":"无法加载Emojis",People:"人类","Animals and Nature":"动物和自然","Food and Drink":"食物和饮品",Activity:"活动","Travel and Places":"旅游和地点",Objects:"物件",Flags:"旗帜",Characters:"字符","Characters (no spaces)":"字符(无空格)","{0} characters":"{0} 个字符","Error: Form submit field collision.":"错误: 表单提交字段冲突。","Error: No form element found.":"错误: 没有表单控件。","Color swatch":"颜色样本","Color Picker":"选色器","Invalid hex color code: {0}":"十六进制颜色代码无效: {0}","Invalid input":"无效输入",R:"R","Red component":"红色部分",G:"G","Green component":"绿色部分",B:"B","Blue component":"白色部分","#":"#","Hex color code":"十六进制颜色代码","Range 0 to 255":"范围0至255",Turquoise:"青绿色",Green:"绿色",Blue:"蓝色",Purple:"紫色","Navy Blue":"海军蓝","Dark Turquoise":"深蓝绿色","Dark Green":"深绿色","Medium Blue":"中蓝色","Medium Purple":"中紫色","Midnight Blue":"深蓝色",Yellow:"黄色",Orange:"橙色",Red:"红色","Light Gray":"浅灰色",Gray:"灰色","Dark Yellow":"暗黄色","Dark Orange":"深橙色","Dark Red":"深红色","Medium Gray":"中灰色","Dark Gray":"深灰色","Light Green":"浅绿色","Light Yellow":"浅黄色","Light Red":"浅红色","Light Purple":"浅紫色","Light Blue":"浅蓝色","Dark Purple":"深紫色","Dark Blue":"深蓝色",Black:"黑色",White:"白色","Switch to or from fullscreen mode":"切换全屏模式","Open help dialog":"打开帮助对话框",history:"历史",styles:"样式",formatting:"格式化",alignment:"对齐",indentation:"缩进",Font:"字体",Size:"字号","More...":"更多...","Select...":"选择...",Preferences:"首选项",Yes:"是",No:"否","Keyboard Navigation":"键盘指引",Version:"版本","Code view":"代码视图","Open popup menu for split buttons":"打开弹出式菜单,用于拆分按钮","List Properties":"列表属性","List properties...":"标题字体属性","Start list at number":"以数字开始列表","Line height":"行高","Dropped file type is not supported":"此文件类型不支持拖放","Loading...":"加载中...","ImageProxy HTTP error: Rejected request":"图片代理请求错误:请求被拒绝","ImageProxy HTTP error: Could not find Image Proxy":"图片代理请求错误:无法找到图片代理","ImageProxy HTTP error: Incorrect Image Proxy URL":"图片代理请求错误:图片代理地址错误","ImageProxy HTTP error: Unknown ImageProxy error":"图片代理请求错误:未知的图片代理错误"})},d03a:function(e,t,n){"use strict";n.r(t);var r=n("e562"),o=n.n(r);o.a.addI18n("de-DE",{Redo:"Wiederholen",Undo:"Rückgängig machen",Cut:"Ausschneiden",Copy:"Kopieren",Paste:"Einfügen","Select all":"Alles auswählen","New document":"Neues Dokument",Ok:"Ok",Cancel:"Abbrechen","Visual aids":"Visuelle Hilfen",Bold:"Fett",Italic:"Kursiv",Underline:"Unterstrichen",Strikethrough:"Durchgestrichen",Superscript:"Hochgestellt",Subscript:"Tiefgestellt","Clear formatting":"Formatierung entfernen",Remove:"Entfernen","Align left":"Linksbündig ausrichten","Align center":"Zentrieren","Align right":"Rechtsbündig ausrichten","No alignment":"Keine Ausrichtung",Justify:"Blocksatz","Bullet list":"Aufzählung","Numbered list":"Nummerierte Liste","Decrease indent":"Einzug verkleinern","Increase indent":"Einzug vergrößern",Close:"Schließen",Formats:"Formate","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.":"Ihr Browser unterstützt leider keinen direkten Zugriff auf die Zwischenablage. Bitte benutzen Sie die Tastenkombinationen Strg+X/C/V.",Headings:"Überschriften","Heading 1":"Überschrift 1","Heading 2":"Überschrift 2","Heading 3":"Überschrift 3","Heading 4":"Überschrift 4","Heading 5":"Überschrift 5","Heading 6":"Überschrift 6",Preformatted:"Vorformatiert",Div:"Div",Pre:"Pre",Code:"Code",Paragraph:"Absatz",Blockquote:"Blockzitat",Inline:"Zeichenformate",Blocks:"Blöcke","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":"Einfügen ist nun im unformatierten Textmodus. Inhalte werden ab jetzt als unformatierter Text eingefügt, bis Sie diese Einstellung wieder deaktivieren.",Fonts:"Schriftarten","Font sizes":"Schriftgrößen",Class:"Klasse","Browse for an image":"Bild...",OR:"ODER","Drop an image here":"Bild hier ablegen",Upload:"Hochladen","Uploading image":"Bild wird hochgeladen",Block:"Blocksatz",Align:"Ausrichtung",Default:"Standard",Circle:"Kreis",Disc:"Scheibe",Square:"Rechteck","Lower Alpha":"Lateinisches Alphabet in Kleinbuchstaben","Lower Greek":"Griechische Kleinbuchstaben","Lower Roman":"Kleiner römischer Buchstabe","Upper Alpha":"Lateinisches Alphabet in Großbuchstaben","Upper Roman":"Großer römischer Buchstabe","Anchor...":"Textmarke",Anchor:"Anker",Name:"Name",ID:"ID","ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.":"Die ID muss mit einem Buchstaben beginnen gefolgt von Buchstaben, Zahlen, Bindestrichen, Punkten, Doppelpunkten oder Unterstrichen.","You have unsaved changes are you sure you want to navigate away?":"Die Änderungen wurden noch nicht gespeichert. Sind Sie sicher, dass Sie diese Seite verlassen wollen?","Restore last draft":"Letzten Entwurf wiederherstellen","Special character...":"Sonderzeichen...","Special Character":"Sonderzeichen","Source code":"Quellcode","Insert/Edit code sample":"Codebeispiel einfügen/bearbeiten",Language:"Sprache","Code sample...":"Codebeispiel...","Left to right":"Von links nach rechts","Right to left":"Von rechts nach links",Title:"Titel",Fullscreen:"Vollbild",Action:"Aktion",Shortcut:"Tastenkombination",Help:"Hilfe",Address:"Adresse","Focus to menubar":"Fokus auf Menüleiste","Focus to toolbar":"Fokus auf Symbolleiste","Focus to element path":"Fokus auf Elementpfad","Focus to contextual toolbar":"Fokus auf kontextbezogene Symbolleiste","Insert link (if link plugin activated)":"Link einfügen (wenn Link-Plugin aktiviert ist)","Save (if save plugin activated)":"Speichern (wenn Save-Plugin aktiviert ist)","Find (if searchreplace plugin activated)":"Suchen (wenn Suchen/Ersetzen-Plugin aktiviert ist)","Plugins installed ({0}):":"Installierte Plugins ({0}):","Premium plugins:":"Premium-Plugins:","Learn more...":"Erfahren Sie mehr dazu...","You are using {0}":"Sie verwenden {0}",Plugins:"Plugins","Handy Shortcuts":"Praktische Tastenkombinationen","Horizontal line":"Horizontale Linie","Insert/edit image":"Bild einfügen/bearbeiten","Alternative description":"Alternative Beschreibung",Accessibility:"Barrierefreiheit","Image is decorative":"Bild ist dekorativ",Source:"Quelle",Dimensions:"Abmessungen","Constrain proportions":"Seitenverhältnis beibehalten",General:"Allgemein",Advanced:"Erweitert",Style:"Formatvorlage","Vertical space":"Vertikaler Raum","Horizontal space":"Horizontaler Raum",Border:"Rahmen","Insert image":"Bild einfügen","Image...":"Bild...","Image list":"Bildliste",Resize:"Skalieren","Insert date/time":"Datum/Uhrzeit einfügen","Date/time":"Datum/Uhrzeit","Insert/edit link":"Link einfügen/bearbeiten","Text to display":"Anzuzeigender Text",Url:"URL","Open link in...":"Link öffnen in...","Current window":"Aktuelles Fenster",None:"Keine","New window":"Neues Fenster","Open link":"Link öffnen","Remove link":"Link entfernen",Anchors:"Anker","Link...":"Link...","Paste or type a link":"Link einfügen oder eingeben","The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?":"Diese URL scheint eine E-Mail-Adresse zu sein. Möchten Sie das dazu benötigte mailto: voranstellen?","The URL you entered seems to be an external link. Do you want to add the required http:// prefix?":"Diese URL scheint ein externer Link zu sein. Möchten Sie das dazu benötigte http:// voranstellen?","The URL you entered seems to be an external link. Do you want to add the required https:// prefix?":"Die eingegebene URL scheint ein externer Link zu sein. Soll das fehlende https:// davor ergänzt werden?","Link list":"Linkliste","Insert video":"Video einfügen","Insert/edit video":"Video einfügen/bearbeiten","Insert/edit media":"Medien einfügen/bearbeiten","Alternative source":"Alternative Quelle","Alternative source URL":"URL der alternativen Quelle","Media poster (Image URL)":"Medienposter (Bild-URL)","Paste your embed code below:":"Fügen Sie Ihren Einbettungscode unten ein:",Embed:"Einbettung","Media...":"Medien...","Nonbreaking space":"Geschütztes Leerzeichen","Page break":"Seitenumbruch","Paste as text":"Als Text einfügen",Preview:"Vorschau",Print:"Drucken","Print...":"Drucken...",Save:"Speichern",Find:"Suchen","Replace with":"Ersetzen durch",Replace:"Ersetzen","Replace all":"Alle ersetzen",Previous:"Vorherige",Next:"Nächste","Find and Replace":"Suchen und Ersetzen","Find and replace...":"Suchen und ersetzen...","Could not find the specified string.":"Die angegebene Zeichenfolge wurde nicht gefunden.","Match case":"Groß-/Kleinschreibung beachten","Find whole words only":"Nur ganze Wörter suchen","Find in selection":"In Auswahl suchen","Insert table":"Tabelle einfügen","Table properties":"Tabelleneigenschaften","Delete table":"Tabelle löschen",Cell:"Zelle",Row:"Zeile",Column:"Spalte","Cell properties":"Zelleigenschaften","Merge cells":"Zellen verbinden","Split cell":"Zelle aufteilen","Insert row before":"Neue Zeile davor einfügen","Insert row after":"Neue Zeile danach einfügen","Delete row":"Zeile löschen","Row properties":"Zeileneigenschaften","Cut row":"Zeile ausschneiden","Cut column":"Spalte ausschneiden","Copy row":"Zeile kopieren","Copy column":"Spalte kopieren","Paste row before":"Zeile davor einfügen","Paste column before":"Spalte davor einfügen","Paste row after":"Zeile danach einfügen","Paste column after":"Spalte danach einfügen","Insert column before":"Neue Spalte davor einfügen","Insert column after":"Neue Spalte danach einfügen","Delete column":"Spalte löschen",Cols:"Spalten",Rows:"Zeilen",Width:"Breite",Height:"Höhe","Cell spacing":"Zellenabstand","Cell padding":"Zelleninnenabstand","Row clipboard actions":"Zeilen-Zwischenablage-Aktionen","Column clipboard actions":"Spalten-Zwischenablage-Aktionen","Table styles":"Tabellenstil","Cell styles":"Zellstil","Column header":"Spaltenkopf","Row header":"Zeilenkopf","Table caption":"Tabellenbeschriftung",Caption:"Beschriftung","Show caption":"Beschriftung anzeigen",Left:"Links",Center:"Zentriert",Right:"Rechts","Cell type":"Zelltyp",Scope:"Bereich",Alignment:"Ausrichtung","Horizontal align":"Horizontal ausrichten","Vertical align":"Vertikal ausrichten",Top:"Oben",Middle:"Mitte",Bottom:"Unten","Header cell":"Kopfzelle","Row group":"Zeilengruppe","Column group":"Spaltengruppe","Row type":"Zeilentyp",Header:"Kopfzeile",Body:"Inhalt",Footer:"Fußzeile","Border color":"Rahmenfarbe",Solid:"Durchgezogen",Dotted:"Gepunktet",Dashed:"Gestrichelt",Double:"Doppelt",Groove:"Gekantet",Ridge:"Eingeritzt",Inset:"Eingelassen",Outset:"Hervorstehend",Hidden:"Unsichtbar","Insert template...":"Vorlage einfügen...",Templates:"Vorlagen",Template:"Vorlage","Insert Template":"Vorlage einfügen","Text color":"Textfarbe","Background color":"Hintergrundfarbe","Custom...":"Benutzerdefiniert...","Custom color":"Benutzerdefinierte Farbe","No color":"Keine Farbe","Remove color":"Farbauswahl aufheben","Show blocks":"Blöcke anzeigen","Show invisible characters":"Unsichtbare Zeichen anzeigen","Word count":"Anzahl der Wörter",Count:"Anzahl",Document:"Dokument",Selection:"Auswahl",Words:"Wörter","Words: {0}":"Wortzahl: {0}","{0} words":"{0} Wörter",File:"Datei",Edit:"Bearbeiten",Insert:"Einfügen",View:"Ansicht",Format:"Format",Table:"Tabelle",Tools:"Werkzeuge","Powered by {0}":"Betrieben von {0}","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"Rich-Text-Bereich. Drücken Sie Alt+F9 für das Menü. Drücken Sie Alt+F10 für die Symbolleiste. Drücken Sie Alt+0 für Hilfe.","Image title":"Bildtitel","Border width":"Rahmenbreite","Border style":"Rahmenstil",Error:"Fehler",Warn:"Warnung",Valid:"Gültig","To open the popup, press Shift+Enter":"Drücken Sie Umschalt+Eingabe, um das Popup-Fenster zu öffnen.","Rich Text Area":"Rich-Text-Area","Rich Text Area. Press ALT-0 for help.":"Rich-Text-Bereich. Drücken Sie Alt+0 für Hilfe.","System Font":"Betriebssystemschriftart","Failed to upload image: {0}":"Bild konnte nicht hochgeladen werden: {0}","Failed to load plugin: {0} from url {1}":"Plugin konnte nicht geladen werden: {0} von URL {1}","Failed to load plugin url: {0}":"Plugin-URL konnte nicht geladen werden: {0}","Failed to initialize plugin: {0}":"Plugin konnte nicht initialisiert werden: {0}",example:"Beispiel",Search:"Suchen",All:"Alle",Currency:"Währung",Text:"Text",Quotations:"Anführungszeichen",Mathematical:"Mathematisch","Extended Latin":"Erweitertes Latein",Symbols:"Symbole",Arrows:"Pfeile","User Defined":"Benutzerdefiniert","dollar sign":"Dollarzeichen","currency sign":"Währungssymbol","euro-currency sign":"Eurozeichen","colon sign":"Doppelpunkt","cruzeiro sign":"Cruzeirozeichen","french franc sign":"Franczeichen","lira sign":"Lirezeichen","mill sign":"Millzeichen","naira sign":"Nairazeichen","peseta sign":"Pesetazeichen","rupee sign":"Rupiezeichen","won sign":"Wonzeichen","new sheqel sign":"Schekelzeichen","dong sign":"Dongzeichen","kip sign":"Kipzeichen","tugrik sign":"Tugrikzeichen","drachma sign":"Drachmezeichen","german penny symbol":"Pfennigzeichen","peso sign":"Pesozeichen","guarani sign":"Guaranizeichen","austral sign":"Australzeichen","hryvnia sign":"Hrywnjazeichen","cedi sign":"Cedizeichen","livre tournois sign":"Livrezeichen","spesmilo sign":"Spesmilozeichen","tenge sign":"Tengezeichen","indian rupee sign":"Indisches Rupiezeichen","turkish lira sign":"Türkisches Lirazeichen","nordic mark sign":"Zeichen nordische Mark","manat sign":"Manatzeichen","ruble sign":"Rubelzeichen","yen character":"Yenzeichen","yuan character":"Yuanzeichen","yuan character, in hong kong and taiwan":"Yuanzeichen in Hongkong und Taiwan","yen/yuan character variant one":"Yen-/Yuanzeichen Variante 1",Emojis:"Emojis","Emojis...":"Emojis...","Loading emojis...":"Lade Emojis...","Could not load emojis":"Emojis konnten nicht geladen werden",People:"Menschen","Animals and Nature":"Tiere und Natur","Food and Drink":"Essen und Trinken",Activity:"Aktivität","Travel and Places":"Reisen und Orte",Objects:"Objekte",Flags:"Flaggen",Characters:"Zeichen","Characters (no spaces)":"Zeichen (ohne Leerzeichen)","{0} characters":"{0} Zeichen","Error: Form submit field collision.":"Fehler: Kollision der Formularbestätigungsfelder.","Error: No form element found.":"Fehler: Kein Formularelement gefunden.","Color swatch":"Farbpalette","Color Picker":"Farbwahl","Invalid hex color code: {0}":"Ungültiger Hexadezimal-Farbwert: {0}","Invalid input":"Ungültige Eingabe",R:"R","Red component":"Rotanteil",G:"G","Green component":"Grünanteil",B:"B","Blue component":"Blauanteil","#":"#","Hex color code":"Hexadezimal-Farbwert","Range 0 to 255":"Spanne 0 bis 255",Turquoise:"Türkis",Green:"Grün",Blue:"Blau",Purple:"Violett","Navy Blue":"Marineblau","Dark Turquoise":"Dunkeltürkis","Dark Green":"Dunkelgrün","Medium Blue":"Mittleres Blau","Medium Purple":"Mittelviolett","Midnight Blue":"Mitternachtsblau",Yellow:"Gelb",Orange:"Orange",Red:"Rot","Light Gray":"Hellgrau",Gray:"Grau","Dark Yellow":"Dunkelgelb","Dark Orange":"Dunkelorange","Dark Red":"Dunkelrot","Medium Gray":"Mittelgrau","Dark Gray":"Dunkelgrau","Light Green":"Hellgrün","Light Yellow":"Hellgelb","Light Red":"Hellrot","Light Purple":"Helllila","Light Blue":"Hellblau","Dark Purple":"Dunkellila","Dark Blue":"Dunkelblau",Black:"Schwarz",White:"Weiß","Switch to or from fullscreen mode":"Vollbildmodus umschalten","Open help dialog":"Hilfe-Dialog öffnen",history:"Historie",styles:"Stile",formatting:"Formatierung",alignment:"Ausrichtung",indentation:"Einrückungen",Font:"Schriftart",Size:"Schriftgröße","More...":"Mehr...","Select...":"Auswahl...",Preferences:"Einstellungen",Yes:"Ja",No:"Nein","Keyboard Navigation":"Tastaturnavigation",Version:"Version","Code view":"Code Ansicht","Open popup menu for split buttons":"Öffne Popup Menge um Buttons zu trennen","List Properties":"Liste Eigenschaften","List properties...":"Liste Eigenschaften","Start list at number":"Beginne Liste mit Nummer","Line height":"Liniendicke","Dropped file type is not supported":"Hereingezogener Dateityp wird nicht unterstützt","Loading...":"Wird geladen...","ImageProxy HTTP error: Rejected request":"Image Proxy HTTP Fehler: Abgewiesene Anfrage","ImageProxy HTTP error: Could not find Image Proxy":"Image Proxy HTTP Fehler: Kann Image Proxy nicht finden","ImageProxy HTTP error: Incorrect Image Proxy URL":"Image Proxy HTTP Fehler: Falsche Image Proxy URL","ImageProxy HTTP error: Unknown ImageProxy error":"Image Proxy HTTP Fehler: Unbekannter Image Proxy Fehler"})},e562:function(e,t,n){(function(t){(function(){"use strict";var n=function(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;return"object"===t&&(Array.prototype.isPrototypeOf(e)||e.constructor&&"Array"===e.constructor.name)?"array":"object"===t&&(String.prototype.isPrototypeOf(e)||e.constructor&&"String"===e.constructor.name)?"string":t},r=function(e){return-1!==["undefined","boolean","number","string","function","xml","null"].indexOf(e)},o=function(e,t){var n=Array.prototype.slice.call(e);return n.sort(t)},i=function(e,t){return a((function(n,r){return e.eq(t(n),t(r))}))},a=function(e){return{eq:e}},u=a((function(e,t){return e===t})),c=u,s=function(e){return a((function(t,n){if(t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e.eq(t[o],n[o]))return!1;return!0}))},l=function(e,t){return i(s(e),(function(e){return o(e,t)}))},f=function(e){return a((function(t,n){var r=Object.keys(t),o=Object.keys(n);if(!l(c).eq(r,o))return!1;for(var i=r.length,a=0;a<i;a++){var u=r[a];if(!e.eq(t[u],n[u]))return!1}return!0}))},d=a((function(e,t){if(e===t)return!0;var o=n(e),i=n(t);return o===i&&(r(o)?e===t:"array"===o?s(d).eq(e,t):"object"===o&&f(d).eq(e,t))})),m=function(){},p=function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e(t.apply(null,n))}},g=function(e,t){return function(n){return e(t(n))}},h=function(e){return function(){return e}},v=function(e){return e};function b(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=t.concat(n);return e.apply(null,o)}}var y=function(e){return function(t){return!e(t)}},C=function(e){return function(){throw new Error(e)}},w=function(e){return e()},x=function(e){e()},k=h(!1),S=h(!0),E=function(){return N},N=function(){var e=function(e){return e.isNone()},t=function(e){return e()},n=function(e){return e},r={fold:function(e,t){return e()},is:k,isSome:k,isNone:S,getOr:n,getOrThunk:t,getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:h(null),getOrUndefined:h(void 0),or:n,orThunk:t,map:E,each:m,bind:E,exists:k,forall:S,filter:E,equals:e,equals_:e,toArray:function(){return[]},toString:h("none()")};return r}(),T=function(e){var t=h(e),n=function(){return o},r=function(t){return t(e)},o={fold:function(t,n){return n(e)},is:function(t){return e===t},isSome:S,isNone:k,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){return T(t(e))},each:function(t){t(e)},bind:r,exists:r,forall:r,filter:function(t){return t(e)?o:N},toArray:function(){return[e]},toString:function(){return"some("+e+")"},equals:function(t){return t.is(e)},equals_:function(t,n){return t.fold(k,(function(t){return n(e,t)}))}};return o},A=function(e){return null===e||void 0===e?N:T(e)},R={some:T,none:E,from:A},_=function(e){var t=typeof e;return null===e?"null":"object"===t&&(Array.prototype.isPrototypeOf(e)||e.constructor&&"Array"===e.constructor.name)?"array":"object"===t&&(String.prototype.isPrototypeOf(e)||e.constructor&&"String"===e.constructor.name)?"string":t},D=function(e){return function(t){return _(t)===e}},P=function(e){return function(t){return typeof t===e}},B=function(e){return function(t){return e===t}},O=D("string"),L=D("object"),I=D("array"),F=B(null),M=P("boolean"),z=B(void 0),U=function(e){return null===e||void 0===e},H=function(e){return!U(e)},j=P("function"),V=P("number"),q=Array.prototype.slice,$=Array.prototype.indexOf,W=Array.prototype.push,K=function(e,t){return $.call(e,t)},G=function(e,t){var n=K(e,t);return-1===n?R.none():R.some(n)},X=function(e,t){return K(e,t)>-1},Y=function(e,t){for(var n=0,r=e.length;n<r;n++){var o=e[n];if(t(o,n))return!0}return!1},Z=function(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++){var i=e[o];r[o]=t(i,o)}return r},J=function(e,t){for(var n=0,r=e.length;n<r;n++){var o=e[n];t(o,n)}},Q=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];t(r,n)}},ee=function(e,t){for(var n=[],r=[],o=0,i=e.length;o<i;o++){var a=e[o],u=t(a,o)?n:r;u.push(a)}return{pass:n,fail:r}},te=function(e,t){for(var n=[],r=0,o=e.length;r<o;r++){var i=e[r];t(i,r)&&n.push(i)}return n},ne=function(e,t,n){return Q(e,(function(e){n=t(n,e)})),n},re=function(e,t,n){return J(e,(function(e){n=t(n,e)})),n},oe=function(e,t,n){for(var r=0,o=e.length;r<o;r++){var i=e[r];if(t(i,r))return R.some(i);if(n(i,r))break}return R.none()},ie=function(e,t){return oe(e,t,k)},ae=function(e,t){for(var n=0,r=e.length;n<r;n++){var o=e[n];if(t(o,n))return R.some(n)}return R.none()},ue=function(e){for(var t=[],n=0,r=e.length;n<r;++n){if(!I(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);W.apply(t,e[n])}return t},ce=function(e,t){return ue(Z(e,t))},se=function(e,t){for(var n=0,r=e.length;n<r;++n){var o=e[n];if(!0!==t(o,n))return!1}return!0},le=function(e){var t=q.call(e,0);return t.reverse(),t},fe=function(e,t){return te(e,(function(e){return!X(t,e)}))},de=function(e,t){for(var n={},r=0,o=e.length;r<o;r++){var i=e[r];n[String(i)]=t(i,r)}return n},me=function(e,t){var n=q.call(e,0);return n.sort(t),n},pe=function(e,t){return t>=0&&t<e.length?R.some(e[t]):R.none()},ge=function(e){return pe(e,0)},he=function(e){return pe(e,e.length-1)},ve=j(Array.from)?Array.from:function(e){return q.call(e)},be=function(e,t){for(var n=0;n<e.length;n++){var r=t(e[n],n);if(r.isSome())return r}return R.none()},ye=Object.keys,Ce=Object.hasOwnProperty,we=function(e,t){for(var n=ye(e),r=0,o=n.length;r<o;r++){var i=n[r],a=e[i];t(a,i)}},xe=function(e,t){return ke(e,(function(e,n){return{k:n,v:t(e,n)}}))},ke=function(e,t){var n={};return we(e,(function(e,r){var o=t(e,r);n[o.k]=o.v})),n},Se=function(e){return function(t,n){e[n]=t}},Ee=function(e,t,n,r){var o={};return we(e,(function(e,o){(t(e,o)?n:r)(e,o)})),o},Ne=function(e,t){var n={},r={};return Ee(e,t,Se(n),Se(r)),{t:n,f:r}},Te=function(e,t){var n={};return Ee(e,t,Se(n),m),n},Ae=function(e,t){var n=[];return we(e,(function(e,r){n.push(t(e,r))})),n},Re=function(e){return Ae(e,(function(e){return e}))},_e=function(e,t){return De(e,t)?R.from(e[t]):R.none()},De=function(e,t){return Ce.call(e,t)},Pe=function(e,t){return De(e,t)&&void 0!==e[t]&&null!==e[t]},Be=function(e,t,n){return void 0===n&&(n=d),f(n).eq(e,t)},Oe=Array.isArray,Le=function(e){if(Oe(e))return e;for(var t=[],n=0,r=e.length;n<r;n++)t[n]=e[n];return t},Ie=function(e,t,n){var r,o;if(!e)return!1;if(n=n||e,void 0!==e.length){for(r=0,o=e.length;r<o;r++)if(!1===t.call(n,e[r],r,e))return!1}else for(r in e)if(e.hasOwnProperty(r)&&!1===t.call(n,e[r],r,e))return!1;return!0},Fe=function(e,t){var n=[];return Ie(e,(function(r,o){n.push(t(r,o,e))})),n},Me=function(e,t){var n=[];return Ie(e,(function(r,o){t&&!t(r,o,e)||n.push(r)})),n},ze=function(e,t){if(e)for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Ue=function(e,t,n,r){for(var o=z(n)?e[0]:n,i=0;i<e.length;i++)o=t.call(r,o,e[i],i);return o},He=function(e,t,n){var r,o;for(r=0,o=e.length;r<o;r++)if(t.call(n,e[r],r,e))return r;return-1},je=function(e){return e[e.length-1]},Ve=function(){return Ve=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ve.apply(this,arguments)};function qe(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function $e(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,u=i.length;a<u;a++,o++)r[o]=i[a];return r}var We=function(e){var t,n=!1;return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return n||(n=!0,t=e.apply(null,r)),t}},Ke=function(e,t,n,r){var o=e.isiOS()&&!0===/ipad/i.test(n),i=e.isiOS()&&!o,a=e.isiOS()||e.isAndroid(),u=a||r("(pointer:coarse)"),c=o||!i&&a&&r("(min-device-width:768px)"),s=i||a&&!c,l=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(n),f=!s&&!c&&!l;return{isiPad:h(o),isiPhone:h(i),isTablet:h(c),isPhone:h(s),isTouch:h(u),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:h(l),isDesktop:h(f)}},Ge=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.test(t))return r}},Xe=function(e,t){var n=Ge(e,t);if(!n)return{major:0,minor:0};var r=function(e){return Number(t.replace(n,"$"+e))};return Je(r(1),r(2))},Ye=function(e,t){var n=String(t).toLowerCase();return 0===e.length?Ze():Xe(e,n)},Ze=function(){return Je(0,0)},Je=function(e,t){return{major:e,minor:t}},Qe={nu:Je,detect:Ye,unknown:Ze},et=function(e,t){var n=String(t).toLowerCase();return ie(e,(function(e){return e.search(n)}))},tt=function(e,t){return et(e,t).map((function(e){var n=Qe.detect(e.versionRegexes,t);return{current:e.name,version:n}}))},nt=function(e,t){return et(e,t).map((function(e){var n=Qe.detect(e.versionRegexes,t);return{current:e.name,version:n}}))},rt={detectBrowser:tt,detectOs:nt},ot=function(e,t){return e.substring(t)},it=function(e,t,n){return""===t||e.length>=t.length&&e.substr(n,n+t.length)===t},at=function(e,t){return ct(e,t)?ot(e,t.length):e},ut=function(e,t){return-1!==e.indexOf(t)},ct=function(e,t){return it(e,t,0)},st=function(e){return function(t){return t.replace(e,"")}},lt=st(/^\s+|\s+$/g),ft=st(/^\s+/g),dt=st(/\s+$/g),mt=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,pt=function(e){return function(t){return ut(t,e)}},gt=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(e){return ut(e,"edge/")&&ut(e,"chrome")&&ut(e,"safari")&&ut(e,"applewebkit")}},{name:"Chrome",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,mt],search:function(e){return ut(e,"chrome")&&!ut(e,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(e){return ut(e,"msie")||ut(e,"trident")}},{name:"Opera",versionRegexes:[mt,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:pt("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:pt("firefox")},{name:"Safari",versionRegexes:[mt,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(e){return(ut(e,"safari")||ut(e,"mobile/"))&&ut(e,"applewebkit")}}],ht=[{name:"Windows",search:pt("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(e){return ut(e,"iphone")||ut(e,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:pt("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:pt("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:pt("linux"),versionRegexes:[]},{name:"Solaris",search:pt("sunos"),versionRegexes:[]},{name:"FreeBSD",search:pt("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:pt("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],vt={browsers:h(gt),oses:h(ht)},bt="Edge",yt="Chrome",Ct="IE",wt="Opera",xt="Firefox",kt="Safari",St=function(){return Et({current:void 0,version:Qe.unknown()})},Et=function(e){var t=e.current,n=e.version,r=function(e){return function(){return t===e}};return{current:t,version:n,isEdge:r(bt),isChrome:r(yt),isIE:r(Ct),isOpera:r(wt),isFirefox:r(xt),isSafari:r(kt)}},Nt={unknown:St,nu:Et,edge:h(bt),chrome:h(yt),ie:h(Ct),opera:h(wt),firefox:h(xt),safari:h(kt)},Tt="Windows",At="iOS",Rt="Android",_t="Linux",Dt="OSX",Pt="Solaris",Bt="FreeBSD",Ot="ChromeOS",Lt=function(){return It({current:void 0,version:Qe.unknown()})},It=function(e){var t=e.current,n=e.version,r=function(e){return function(){return t===e}};return{current:t,version:n,isWindows:r(Tt),isiOS:r(At),isAndroid:r(Rt),isOSX:r(Dt),isLinux:r(_t),isSolaris:r(Pt),isFreeBSD:r(Bt),isChromeOS:r(Ot)}},Ft={unknown:Lt,nu:It,windows:h(Tt),ios:h(At),android:h(Rt),linux:h(_t),osx:h(Dt),solaris:h(Pt),freebsd:h(Bt),chromeos:h(Ot)},Mt=function(e,t){var n=vt.browsers(),r=vt.oses(),o=rt.detectBrowser(n,e).fold(Nt.unknown,Nt.nu),i=rt.detectOs(r,e).fold(Ft.unknown,Ft.nu),a=Ke(i,o,e,t);return{browser:o,os:i,deviceType:a}},zt={detect:Mt},Ut=function(e){return window.matchMedia(e).matches},Ht=We((function(){return zt.detect(navigator.userAgent,Ut)})),jt=function(){return Ht()},Vt=navigator.userAgent,qt=jt(),$t=qt.browser,Wt=qt.os,Kt=qt.deviceType,Gt=/WebKit/.test(Vt)&&!$t.isEdge(),Xt="FormData"in window&&"FileReader"in window&&"URL"in window&&!!URL.createObjectURL,Yt=-1!==Vt.indexOf("Windows Phone"),Zt={opera:$t.isOpera(),webkit:Gt,ie:!(!$t.isIE()&&!$t.isEdge())&&$t.version.major,gecko:$t.isFirefox(),mac:Wt.isOSX()||Wt.isiOS(),iOS:Kt.isiPad()||Kt.isiPhone(),android:Wt.isAndroid(),contentEditable:!0,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:!0,range:window.getSelection&&"Range"in window,documentMode:$t.isIE()?document.documentMode||7:10,fileApi:Xt,ceFalse:!0,cacheSuffix:null,container:null,experimentalShadowDom:!1,canHaveCSP:!$t.isIE(),desktop:Kt.isDesktop(),windowsPhone:Yt,browser:{current:$t.current,version:$t.version,isChrome:$t.isChrome,isEdge:$t.isEdge,isFirefox:$t.isFirefox,isIE:$t.isIE,isOpera:$t.isOpera,isSafari:$t.isSafari},os:{current:Wt.current,version:Wt.version,isAndroid:Wt.isAndroid,isChromeOS:Wt.isChromeOS,isFreeBSD:Wt.isFreeBSD,isiOS:Wt.isiOS,isLinux:Wt.isLinux,isOSX:Wt.isOSX,isSolaris:Wt.isSolaris,isWindows:Wt.isWindows},deviceType:{isDesktop:Kt.isDesktop,isiPad:Kt.isiPad,isiPhone:Kt.isiPhone,isPhone:Kt.isPhone,isTablet:Kt.isTablet,isTouch:Kt.isTouch,isWebView:Kt.isWebView}},Jt=/^\s*|\s*$/g,Qt=function(e){return null===e||void 0===e?"":(""+e).replace(Jt,"")},en=function(e,t){return t?!("array"!==t||!Oe(e))||typeof e===t:void 0!==e},tn=function(e,t,n){var r;e=e||[],t=t||",","string"===typeof e&&(e=e.split(t)),n=n||{},r=e.length;while(r--)n[e[r]]={};return n},nn=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},rn=function(e,t,n){var r,o,i,a=this,u=0;e=/^((static) )?([\w.]+)(:([\w.]+))?/.exec(e);var c=e[3].match(/(^|\.)(\w+)$/i)[2],s=a.createNS(e[3].replace(/\.\w+$/,""),n);if(!s[c]){if("static"===e[2])return s[c]=t,void(this.onCreate&&this.onCreate(e[2],e[3],s[c]));t[c]||(t[c]=m,u=1),s[c]=t[c],a.extend(s[c].prototype,t),e[5]&&(r=a.resolve(e[5]).prototype,o=e[5].match(/\.(\w+)$/i)[1],i=s[c],s[c]=u?function(){return r[o].apply(this,arguments)}:function(){return this.parent=r[o],i.apply(this,arguments)},s[c].prototype[c]=s[c],a.each(r,(function(e,t){s[c].prototype[t]=r[t]})),a.each(t,(function(e,t){r[t]?s[c].prototype[t]=function(){return this.parent=r[t],e.apply(this,arguments)}:t!==c&&(s[c].prototype[t]=e)}))),a.each(t.static,(function(e,t){s[c][t]=e}))}},on=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++){var o=t[r];for(var i in o)if(o.hasOwnProperty(i)){var a=o[i];void 0!==a&&(e[i]=a)}}return e},an=function(e,t,n,r){r=r||this,e&&(n&&(e=e[n]),Ie(e,(function(e,o){if(!1===t.call(r,e,o,n))return!1;an(e,t,n,r)})))},un=function(e,t){var n,r;for(t=t||window,e=e.split("."),n=0;n<e.length;n++)r=e[n],t[r]||(t[r]={}),t=t[r];return t},cn=function(e,t){var n,r;for(t=t||window,e=e.split("."),n=0,r=e.length;n<r;n++)if(t=t[e[n]],!t)break;return t},sn=function(e,t){return!e||en(e,"array")?e:Fe(e.split(t||","),Qt)},ln=function(e){var t=Zt.cacheSuffix;return t&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e},fn={trim:Qt,isArray:Oe,is:en,toArray:Le,makeMap:tn,each:Ie,map:Fe,grep:Me,inArray:ze,hasOwn:nn,extend:on,create:rn,walk:an,createNS:un,resolve:cn,explode:sn,_addCacheSuffix:ln},dn=function(e,t){var n=t||document,r=n.createElement("div");if(r.innerHTML=e,!r.hasChildNodes()||r.childNodes.length>1)throw console.error("HTML does not have a single root node",e),new Error("HTML must have a single root node");return gn(r.childNodes[0])},mn=function(e,t){var n=t||document,r=n.createElement(e);return gn(r)},pn=function(e,t){var n=t||document,r=n.createTextNode(e);return gn(r)},gn=function(e){if(null===e||void 0===e)throw new Error("Node cannot be null or undefined");return{dom:e}},hn=function(e,t,n){return R.from(e.dom.elementFromPoint(t,n)).map(gn)},vn={fromHtml:dn,fromTag:mn,fromText:pn,fromDom:gn,fromPoint:hn},bn=function(e,t){var n=[],r=function(e){return n.push(e),t(e)},o=t(e);do{o=o.bind(r)}while(o.isSome());return n},yn=function(e,t,n){return 0!==(e.compareDocumentPosition(t)&n)},Cn=function(e,t){return yn(e,t,Node.DOCUMENT_POSITION_CONTAINED_BY)},wn=8,xn=9,kn=11,Sn=1,En=3,Nn=function(e,t){var n=e.dom;if(n.nodeType!==Sn)return!1;var r=n;if(void 0!==r.matches)return r.matches(t);if(void 0!==r.msMatchesSelector)return r.msMatchesSelector(t);if(void 0!==r.webkitMatchesSelector)return r.webkitMatchesSelector(t);if(void 0!==r.mozMatchesSelector)return r.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")},Tn=function(e){return e.nodeType!==Sn&&e.nodeType!==xn&&e.nodeType!==kn||0===e.childElementCount},An=function(e,t){var n=void 0===t?document:t.dom;return Tn(n)?[]:Z(n.querySelectorAll(e),vn.fromDom)},Rn=function(e,t){var n=void 0===t?document:t.dom;return Tn(n)?R.none():R.from(n.querySelector(e)).map(vn.fromDom)},_n=function(e,t){return e.dom===t.dom},Dn=function(e,t){var n=e.dom,r=t.dom;return n!==r&&n.contains(r)},Pn=function(e,t){return Cn(e.dom,t.dom)},Bn=function(e,t){return jt().browser.isIE()?Pn(e,t):Dn(e,t)},On=("undefined"!==typeof window?window:Function("return this;")(),function(e){var t=e.dom.nodeName;return t.toLowerCase()}),Ln=function(e){return e.dom.nodeType},In=function(e){return function(t){return Ln(t)===e}},Fn=function(e){return Ln(e)===wn||"#comment"===On(e)},Mn=In(Sn),zn=In(En),Un=In(xn),Hn=In(kn),jn=function(e){return vn.fromDom(e.dom.ownerDocument)},Vn=function(e){return Un(e)?e:jn(e)},qn=function(e){return vn.fromDom(Vn(e).dom.documentElement)},$n=function(e){return vn.fromDom(Vn(e).dom.defaultView)},Wn=function(e){return R.from(e.dom.parentNode).map(vn.fromDom)},Kn=function(e,t){var n=j(t)?t:k,r=e.dom,o=[];while(null!==r.parentNode&&void 0!==r.parentNode){var i=r.parentNode,a=vn.fromDom(i);if(o.push(a),!0===n(a))break;r=i}return o},Gn=function(e){var t=function(t){return te(t,(function(t){return!_n(e,t)}))};return Wn(e).map(Qn).map(t).getOr([])},Xn=function(e){return R.from(e.dom.previousSibling).map(vn.fromDom)},Yn=function(e){return R.from(e.dom.nextSibling).map(vn.fromDom)},Zn=function(e){return le(bn(e,Xn))},Jn=function(e){return bn(e,Yn)},Qn=function(e){return Z(e.dom.childNodes,vn.fromDom)},er=function(e,t){var n=e.dom.childNodes;return R.from(n[t]).map(vn.fromDom)},tr=function(e){return er(e,0)},nr=function(e){return er(e,e.dom.childNodes.length-1)},rr=function(e){return e.dom.childNodes.length},or=function(e){var t=e.dom.head;if(null===t||void 0===t)throw new Error("Head is not available yet");return vn.fromDom(t)},ir=function(e){return Hn(e)&&H(e.dom.host)},ar=j(Element.prototype.attachShadow)&&j(Node.prototype.getRootNode),ur=h(ar),cr=ar?function(e){return vn.fromDom(e.dom.getRootNode())}:Vn,sr=function(e){return ir(e)?e:or(Vn(e))},lr=function(e){var t=cr(e);return ir(t)?R.some(t):R.none()},fr=function(e){return vn.fromDom(e.dom.host)},dr=function(e){if(ur()&&H(e.target)){var t=vn.fromDom(e.target);if(Mn(t)&&mr(t)&&e.composed&&e.composedPath){var n=e.composedPath();if(n)return ge(n)}}return R.from(e.target)},mr=function(e){return H(e.dom.shadowRoot)},pr=function(e,t){var n=Wn(e);n.each((function(n){n.dom.insertBefore(t.dom,e.dom)}))},gr=function(e,t){var n=Yn(e);n.fold((function(){var n=Wn(e);n.each((function(e){vr(e,t)}))}),(function(e){pr(e,t)}))},hr=function(e,t){var n=tr(e);n.fold((function(){vr(e,t)}),(function(n){e.dom.insertBefore(t.dom,n.dom)}))},vr=function(e,t){e.dom.appendChild(t.dom)},br=function(e,t){pr(e,t),vr(t,e)},yr=function(e,t){J(t,(function(t){pr(e,t)}))},Cr=function(e,t){J(t,(function(t){vr(e,t)}))},wr=function(e){e.dom.textContent="",J(Qn(e),(function(e){xr(e)}))},xr=function(e){var t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},kr=function(e){var t=Qn(e);t.length>0&&yr(e,t),xr(e)},Sr=function(e){var t=zn(e)?e.dom.parentNode:e.dom;if(void 0===t||null===t||null===t.ownerDocument)return!1;var n=t.ownerDocument;return lr(vn.fromDom(t)).fold((function(){return n.body.contains(t)}),g(Sr,fr))},Er=function(e,t){var n=function(n,r){return Er(e+n,t+r)};return{left:e,top:t,translate:n}},Nr=Er,Tr=function(e){var t=e.getBoundingClientRect();return Nr(t.left,t.top)},Ar=function(e,t){return void 0!==e?e:void 0!==t?t:0},Rr=function(e){var t=e.dom.ownerDocument,n=t.body,r=t.defaultView,o=t.documentElement;if(n===e.dom)return Nr(n.offsetLeft,n.offsetTop);var i=Ar(null===r||void 0===r?void 0:r.pageYOffset,o.scrollTop),a=Ar(null===r||void 0===r?void 0:r.pageXOffset,o.scrollLeft),u=Ar(o.clientTop,n.clientTop),c=Ar(o.clientLeft,n.clientLeft);return _r(e).translate(a-c,i-u)},_r=function(e){var t=e.dom,n=t.ownerDocument,r=n.body;return r===t?Nr(r.offsetLeft,r.offsetTop):Sr(e)?Tr(t):Nr(0,0)},Dr=function(e){var t=void 0!==e?e.dom:document,n=t.body.scrollLeft||t.documentElement.scrollLeft,r=t.body.scrollTop||t.documentElement.scrollTop;return Nr(n,r)},Pr=function(e,t,n){var r=void 0!==n?n.dom:document,o=r.defaultView;o&&o.scrollTo(e,t)},Br=function(e,t){var n=jt().browser.isSafari();n&&j(e.dom.scrollIntoViewIfNeeded)?e.dom.scrollIntoViewIfNeeded(!1):e.dom.scrollIntoView(t)},Or=function(e){var t=void 0===e?window:e;return R.from(t["visualViewport"])},Lr=function(e,t,n,r){return{x:e,y:t,width:n,height:r,right:e+n,bottom:t+r}},Ir=function(e){var t=void 0===e?window:e,n=t.document,r=Dr(vn.fromDom(n));return Or(t).fold((function(){var e=t.document.documentElement,n=e.clientWidth,o=e.clientHeight;return Lr(r.left,r.top,n,o)}),(function(e){return Lr(Math.max(e.pageLeft,r.left),Math.max(e.pageTop,r.top),e.width,e.height)}))},Fr=function(e){return function(t){return!!t&&t.nodeType===e}},Mr=function(e){return!!e&&!Object.getPrototypeOf(e)},zr=Fr(1),Ur=function(e){var t=e.map((function(e){return e.toLowerCase()}));return function(e){if(e&&e.nodeName){var n=e.nodeName.toLowerCase();return X(t,n)}return!1}},Hr=function(e,t){var n=t.toLowerCase().split(" ");return function(t){var r,o;if(zr(t))for(r=0;r<n.length;r++){var i=t.ownerDocument.defaultView.getComputedStyle(t,null);if(o=i?i.getPropertyValue(e):null,o===n[r])return!0}return!1}},jr=function(e){return function(t){return zr(t)&&t.hasAttribute(e)}},Vr=function(e,t){return function(n){return zr(n)&&n.getAttribute(e)===t}},qr=function(e){return zr(e)&&e.hasAttribute("data-mce-bogus")},$r=function(e){return zr(e)&&"all"===e.getAttribute("data-mce-bogus")},Wr=function(e){return zr(e)&&"TABLE"===e.tagName},Kr=function(e){return function(t){if(zr(t)){if(t.contentEditable===e)return!0;if(t.getAttribute("data-mce-contenteditable")===e)return!0}return!1}},Gr=Ur(["textarea","input"]),Xr=Fr(3),Yr=Fr(8),Zr=Fr(9),Jr=Fr(11),Qr=Ur(["br"]),eo=Ur(["img"]),to=Kr("true"),no=Kr("false"),ro=Ur(["td","th"]),oo=Ur(["video","audio","object","embed"]),io=function(e){return void 0!==e.style&&j(e.style.getPropertyValue)},ao=function(e,t,n){if(!(O(n)||M(n)||V(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")},uo=function(e,t,n){ao(e.dom,t,n)},co=function(e,t){var n=e.dom;we(t,(function(e,t){ao(n,t,e)}))},so=function(e,t){var n=e.dom.getAttribute(t);return null===n?void 0:n},lo=function(e,t){return R.from(so(e,t))},fo=function(e,t){var n=e.dom;return!(!n||!n.hasAttribute)&&n.hasAttribute(t)},mo=function(e,t){e.dom.removeAttribute(t)},po=function(e){return re(e.dom.attributes,(function(e,t){return e[t.name]=t.value,e}),{})},go=function(e,t,n){if(!O(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);io(e)&&e.style.setProperty(t,n)},ho=function(e,t){var n=e.dom;we(t,(function(e,t){go(n,t,e)}))},vo=function(e,t){var n=e.dom,r=window.getComputedStyle(n),o=r.getPropertyValue(t);return""!==o||Sr(e)?o:bo(n,t)},bo=function(e,t){return io(e)?e.style.getPropertyValue(t):""},yo=function(e,t){var n=e.dom,r=bo(n,t);return R.from(r).filter((function(e){return e.length>0}))},Co=function(e){var t={},n=e.dom;if(io(n))for(var r=0;r<n.style.length;r++){var o=n.style.item(r);t[o]=n.style[o]}return t},wo=function(e){return e.dom.offsetWidth},xo=jt().browser,ko=function(e){return ie(e,Mn)},So=function(e){return xo.isFirefox()&&"table"===On(e)?ko(Qn(e)).filter((function(e){return"caption"===On(e)})).bind((function(e){return ko(Jn(e)).map((function(t){var n=t.dom.offsetTop,r=e.dom.offsetTop,o=e.dom.offsetHeight;return n<=r?-o:0}))})).getOr(0):0},Eo=function(e,t){return e.children&&X(e.children,t)},No=function(e,t,n){var r,o,i=0,a=0,u=e.ownerDocument;if(n=n||e,t){if(n===e&&t.getBoundingClientRect&&"static"===vo(vn.fromDom(e),"position"))return o=t.getBoundingClientRect(),i=o.left+(u.documentElement.scrollLeft||e.scrollLeft)-u.documentElement.clientLeft,a=o.top+(u.documentElement.scrollTop||e.scrollTop)-u.documentElement.clientTop,{x:i,y:a};r=t;while(r&&r!==n&&r.nodeType&&!Eo(r,n))i+=r.offsetLeft||0,a+=r.offsetTop||0,r=r.offsetParent;r=t.parentNode;while(r&&r!==n&&r.nodeType&&!Eo(r,n))i-=r.scrollLeft||0,a-=r.scrollTop||0,r=r.parentNode;a+=So(vn.fromDom(t))}return{x:i,y:a}},To={},Ao={exports:To};(function(e,n,r,o){(function(o){if("object"===typeof n&&"undefined"!==typeof r)r.exports=o();else if("function"===typeof e&&e.amd)e([],o);else{var i;i="undefined"!==typeof window?window:"undefined"!==typeof t?t:"undefined"!==typeof self?self:this,i.EphoxContactWrapper=o()}})((function(){return function(){function e(t,n,r){function i(u,c){if(!n[u]){if(!t[u]){var s="function"==typeof o&&o;if(!c&&s)return s(u,!0);if(a)return a(u,!0);var l=new Error("Cannot find module '"+u+"'");throw l.code="MODULE_NOT_FOUND",l}var f=n[u]={exports:{}};t[u][0].call(f.exports,(function(e){var n=t[u][1][e];return i(n||e)}),f,f.exports,e,t,n,r)}return n[u].exports}for(var a="function"==typeof o&&o,u=0;u<r.length;u++)i(r[u]);return i}return e}()({1:[function(e,t,n){var r,o,i=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}function s(e){if(o===clearTimeout)return clearTimeout(e);if((o===u||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{return o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(function(){try{r="function"===typeof setTimeout?setTimeout:a}catch(e){r=a}try{o="function"===typeof clearTimeout?clearTimeout:u}catch(e){o=u}})();var l,f=[],d=!1,m=-1;function p(){d&&l&&(d=!1,l.length?f=l.concat(f):m=-1,f.length&&g())}function g(){if(!d){var e=c(p);d=!0;var t=f.length;while(t){l=f,f=[];while(++m<t)l&&l[m].run();m=-1,t=f.length}l=null,d=!1,s(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];f.push(new h(e,t)),1!==f.length||d||c(g)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},{}],2:[function(e,t,n){(function(e){(function(n){var r=setTimeout;function o(){}function i(e,t){return function(){e.apply(t,arguments)}}function a(e){if("object"!==typeof this)throw new TypeError("Promises must be constructed via new");if("function"!==typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(e,this)}function u(e,t){while(3===e._state)e=e._value;0!==e._state?(e._handled=!0,a._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(o){return void s(t.promise,o)}c(t.promise,r)}else(1===e._state?c:s)(t.promise,e._value)}))):e._deferreds.push(t)}function c(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===typeof t||"function"===typeof t)){var n=t.then;if(t instanceof a)return e._state=3,e._value=t,void l(e);if("function"===typeof n)return void d(i(n,t),e)}e._state=1,e._value=t,l(e)}catch(r){s(e,r)}}function s(e,t){e._state=2,e._value=t,l(e)}function l(e){2===e._state&&0===e._deferreds.length&&a._immediateFn((function(){e._handled||a._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)u(e,e._deferreds[t]);e._deferreds=null}function f(e,t,n){this.onFulfilled="function"===typeof e?e:null,this.onRejected="function"===typeof t?t:null,this.promise=n}function d(e,t){var n=!1;try{e((function(e){n||(n=!0,c(t,e))}),(function(e){n||(n=!0,s(t,e))}))}catch(r){if(n)return;n=!0,s(t,r)}}a.prototype["catch"]=function(e){return this.then(null,e)},a.prototype.then=function(e,t){var n=new this.constructor(o);return u(this,new f(e,t,n)),n},a.all=function(e){var t=Array.prototype.slice.call(e);return new a((function(e,n){if(0===t.length)return e([]);var r=t.length;function o(i,a){try{if(a&&("object"===typeof a||"function"===typeof a)){var u=a.then;if("function"===typeof u)return void u.call(a,(function(e){o(i,e)}),n)}t[i]=a,0===--r&&e(t)}catch(c){n(c)}}for(var i=0;i<t.length;i++)o(i,t[i])}))},a.resolve=function(e){return e&&"object"===typeof e&&e.constructor===a?e:new a((function(t){t(e)}))},a.reject=function(e){return new a((function(t,n){n(e)}))},a.race=function(e){return new a((function(t,n){for(var r=0,o=e.length;r<o;r++)e[r].then(t,n)}))},a._immediateFn="function"===typeof e?function(t){e(t)}:function(e){r(e,0)},a._unhandledRejectionFn=function(e){"undefined"!==typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},a._setImmediateFn=function(e){a._immediateFn=e},a._setUnhandledRejectionFn=function(e){a._unhandledRejectionFn=e},"undefined"!==typeof t&&t.exports?t.exports=a:n.Promise||(n.Promise=a)})(this)}).call(this,e("timers").setImmediate)},{timers:3}],3:[function(e,t,n){(function(t,r){var o=e("process/browser.js").nextTick,i=Function.prototype.apply,a=Array.prototype.slice,u={},c=0;function s(e,t){this._id=e,this._clearFn=t}n.setTimeout=function(){return new s(i.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new s(i.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(e){e.close()},s.prototype.unref=s.prototype.ref=function(){},s.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},n.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},n._unrefActive=n.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n.setImmediate="function"===typeof t?t:function(e){var t=c++,r=!(arguments.length<2)&&a.call(arguments,1);return u[t]=!0,o((function(){u[t]&&(r?e.apply(null,r):e.call(null),n.clearImmediate(t))})),t},n.clearImmediate="function"===typeof r?r:function(e){delete u[e]}}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":1,timers:3}],4:[function(e,t,n){var r=e("promise-polyfill"),o=function(){return"undefined"!==typeof window?window:Function("return this;")()}();t.exports={boltExport:o.Promise||r}},{"promise-polyfill":2}]},{},[4])(4)}))})(void 0,To,Ao,void 0);var Ro=Ao.exports.boltExport,_o=function(e){var t=R.none(),n=[],r=function(e){return _o((function(t){o((function(n){t(e(n))}))}))},o=function(e){a()?c(e):n.push(e)},i=function(e){a()||(t=R.some(e),u(n),n=[])},a=function(){return t.isSome()},u=function(e){J(e,c)},c=function(e){t.each((function(t){setTimeout((function(){e(t)}),0)}))};return e(i),{get:o,map:r,isReady:a}},Do=function(e){return _o((function(t){t(e)}))},Po={nu:_o,pure:Do},Bo=function(e){setTimeout((function(){throw e}),0)},Oo=function(e){var t=function(t){e().then(t,Bo)},n=function(t){return Oo((function(){return e().then(t)}))},r=function(t){return Oo((function(){return e().then((function(e){return t(e).toPromise()}))}))},o=function(t){return Oo((function(){return e().then((function(){return t.toPromise()}))}))},i=function(){return Po.nu(t)},a=function(){var t=null;return Oo((function(){return null===t&&(t=e()),t}))},u=e;return{map:n,bind:r,anonBind:o,toLazy:i,toCached:a,toPromise:u,get:t}},Lo=function(e){return Oo((function(){return new Ro(e)}))},Io=function(e){return Oo((function(){return Ro.resolve(e)}))},Fo={nu:Lo,pure:Io},Mo=function(e,t){return t((function(t){var n=[],r=0,o=function(o){return function(i){n[o]=i,r++,r>=e.length&&t(n)}};0===e.length?t([]):J(e,(function(e,t){e.get(o(t))}))}))},zo=function(e){return Mo(e,Fo.nu)},Uo=function(e){var t=function(t){return e===t},n=function(t){return Uo(e)},r=function(t){return Uo(e)},o=function(t){return Uo(t(e))},i=function(t){return Uo(e)},a=function(t){t(e)},u=function(t){return t(e)},c=function(t,n){return n(e)},s=function(t){return t(e)},l=function(t){return t(e)},f=function(){return R.some(e)};return{is:t,isValue:S,isError:k,getOr:h(e),getOrThunk:h(e),getOrDie:h(e),or:n,orThunk:r,fold:c,map:o,mapError:i,each:a,bind:u,exists:s,forall:l,toOptional:f}},Ho=function(e){var t=function(e){return e()},n=function(){return C(String(e))()},r=function(e){return e},o=function(e){return e()},i=function(t){return Ho(e)},a=function(t){return Ho(t(e))},u=function(t){return Ho(e)},c=function(t,n){return t(e)};return{is:k,isValue:k,isError:S,getOr:v,getOrThunk:t,getOrDie:n,or:r,orThunk:o,fold:c,map:i,mapError:a,each:m,bind:u,exists:k,forall:S,toOptional:R.none}},jo=function(e,t){return e.fold((function(){return Ho(t)}),Uo)},Vo={value:Uo,error:Ho,fromOption:jo},qo=function(e){if(!I(e))throw new Error("cases must be an array");if(0===e.length)throw new Error("there must be at least one case");var t=[],n={};return J(e,(function(r,o){var i=ye(r);if(1!==i.length)throw new Error("one and only one name per case");var a=i[0],u=r[a];if(void 0!==n[a])throw new Error("duplicate key detected:"+a);if("cata"===a)throw new Error("cannot have a case named cata (sorry)");if(!I(u))throw new Error("case arguments must be an array");t.push(a),n[a]=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=n.length;if(i!==u.length)throw new Error("Wrong number of arguments to case "+a+". Expected "+u.length+" ("+u+"), got "+i);var c=function(e){var r=ye(e);if(t.length!==r.length)throw new Error("Wrong number of arguments to match. Expected: "+t.join(",")+"\nActual: "+r.join(","));var o=se(t,(function(e){return X(r,e)}));if(!o)throw new Error("Not all branches were specified when using match. Specified: "+r.join(", ")+"\nRequired: "+t.join(", "));return e[a].apply(null,n)};return{fold:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];if(t.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+t.length);var i=t[o];return i.apply(null,n)},match:c,log:function(e){console.log(e,{constructors:t,constructor:a,params:n})}}}})),n},$o={generate:qo},Wo=($o.generate([{bothErrors:["error1","error2"]},{firstError:["error1","value2"]},{secondError:["value1","error2"]},{bothValues:["value1","value2"]}]),function(e){return e.fold(v,v)});function Ko(e,t,n,r,o){return e(n,r)?R.some(n):j(o)&&o(n)?R.none():t(n,r,o)}var Go,Xo,Yo,Zo,Jo,Qo,ei,ti,ni,ri,oi,ii,ai,ui,ci,si,li,fi,di,mi=function(e,t,n){var r=e.dom,o=j(n)?n:k;while(r.parentNode){r=r.parentNode;var i=vn.fromDom(r);if(t(i))return R.some(i);if(o(i))break}return R.none()},pi=function(e,t,n){var r=function(e,t){return t(e)};return Ko(r,mi,e,t,n)},gi=function(e,t){var n=e.dom;return n.parentNode?hi(vn.fromDom(n.parentNode),(function(n){return!_n(e,n)&&t(n)})):R.none()},hi=function(e,t){var n=function(e){return t(vn.fromDom(e))},r=ie(e.dom.childNodes,n);return r.map(vn.fromDom)},vi=function(e,t,n){return mi(e,(function(e){return Nn(e,t)}),n)},bi=function(e,t){return Rn(t,e)},yi=function(e,t,n){var r=function(e,t){return Nn(e,t)};return Ko(r,vi,e,t,n)},Ci=function(){var e=function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];e.apply(t,n)}},t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},n=function(t){if("object"!==typeof this)throw new TypeError("Promises must be constructed via new");if("function"!==typeof t)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],s(t,e(i,this),e(a,this))},r=n.immediateFn||"function"===typeof setImmediate&&setImmediate||function(e){return setTimeout(e,1)};function o(e){var t=this;null!==this._state?r((function(){var n=t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(o){return void e.reject(o)}e.resolve(r)}else(t._state?e.resolve:e.reject)(t._value)})):this._deferreds.push(e)}function i(t){try{if(t===this)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===typeof t||"function"===typeof t)){var n=t.then;if("function"===typeof n)return void s(e(n,t),e(i,this),e(a,this))}this._state=!0,this._value=t,u.call(this)}catch(r){a.call(this,r)}}function a(e){this._state=!1,this._value=e,u.call(this)}function u(){for(var e=0,t=this._deferreds.length;e<t;e++)o.call(this,this._deferreds[e]);this._deferreds=null}function c(e,t,n,r){this.onFulfilled="function"===typeof e?e:null,this.onRejected="function"===typeof t?t:null,this.resolve=n,this.reject=r}var s=function(e,t,n){var r=!1;try{e((function(e){r||(r=!0,t(e))}),(function(e){r||(r=!0,n(e))}))}catch(o){if(r)return;r=!0,n(o)}};return n.prototype.catch=function(e){return this.then(null,e)},n.prototype.then=function(e,t){var r=this;return new n((function(n,i){o.call(r,new c(e,t,n,i))}))},n.all=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var o=Array.prototype.slice.call(1===e.length&&t(e[0])?e[0]:e);return new n((function(e,t){if(0===o.length)return e([]);for(var n=o.length,r=function(i,a){try{if(a&&("object"===typeof a||"function"===typeof a)){var u=a.then;if("function"===typeof u)return void u.call(a,(function(e){r(i,e)}),t)}o[i]=a,0===--n&&e(o)}catch(c){t(c)}},i=0;i<o.length;i++)r(i,o[i])}))},n.resolve=function(e){return e&&"object"===typeof e&&e.constructor===n?e:new n((function(t){t(e)}))},n.reject=function(e){return new n((function(t,n){n(e)}))},n.race=function(e){return new n((function(t,n){for(var r=0,o=e.length;r<o;r++)e[r].then(t,n)}))},n},wi=window.Promise?window.Promise:Ci(),xi=function(e,t){for(var n=window.requestAnimationFrame,r=["ms","moz","webkit"],o=function(e){window.setTimeout(e,0)},i=0;i<r.length&&!n;i++)n=window[r[i]+"RequestAnimationFrame"];n||(n=o),n(e,t)},ki=function(e,t){return"number"!==typeof t&&(t=0),setTimeout(e,t)},Si=function(e,t){return"number"!==typeof t&&(t=1),setInterval(e,t)},Ei=function(e){return clearTimeout(e)},Ni=function(e){return clearInterval(e)},Ti=function(e,t){var n,r=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];clearTimeout(n),n=ki((function(){e.apply(this,r)}),t)};return r.stop=function(){clearTimeout(n)},r},Ai={requestAnimationFrame:function(e,t){Go?Go.then(e):Go=new wi((function(e){t||(t=document.body),xi(e,t)})).then(e)},setTimeout:ki,setInterval:Si,setEditorTimeout:function(e,t,n){return ki((function(){e.removed||t()}),n)},setEditorInterval:function(e,t,n){var r=Si((function(){e.removed?clearInterval(r):t()}),n);return r},debounce:Ti,throttle:Ti,clearInterval:Ni,clearTimeout:Ei},Ri=function(e,t){void 0===t&&(t={});var n=0,r={},o=vn.fromDom(e),i=Vn(o),a=t.maxLoadTime||5e3,u=function(e){t.referrerPolicy=e},c=function(e){vr(sr(o),e)},s=function(e){var t=sr(o);bi(t,"#"+e).each(xr)},l=function(e){return _e(r,e).getOrThunk((function(){return{id:"mce-u"+n++,passed:[],failed:[],count:0}}))},f=function(n,o,u){var s,f=fn._addCacheSuffix(n),d=l(f);r[f]=d,d.count++;var m=function(e,t){var n=e.length;while(n--)e[n]();d.status=t,d.passed=[],d.failed=[],s&&(s.onload=null,s.onerror=null,s=null)},p=function(){return m(d.passed,2)},g=function(){return m(d.failed,3)},h=function(e,t){e()||(Date.now()-y<a?Ai.setTimeout(t):g())},v=function(){h((function(){var t=e.styleSheets,n=t.length;while(n--){var r=t[n],o=r.ownerNode;if(o&&o.id===s.id)return p(),!0}return!1}),v)};if(o&&d.passed.push(o),u&&d.failed.push(u),1!==d.status)if(2!==d.status)if(3!==d.status){d.status=1;var b=vn.fromTag("link",i.dom);co(b,{rel:"stylesheet",type:"text/css",id:d.id});var y=Date.now();t.contentCssCors&&uo(b,"crossOrigin","anonymous"),t.referrerPolicy&&uo(b,"referrerpolicy",t.referrerPolicy),s=b.dom,s.onload=v,s.onerror=g,c(b),uo(b,"href",f)}else g();else p()},d=function(e){return Fo.nu((function(t){f(e,p(t,h(Vo.value(e))),p(t,h(Vo.error(e))))}))},m=function(e,t,n){zo(Z(e,d)).get((function(e){var r=ee(e,(function(e){return e.isValue()}));r.fail.length>0?n(r.fail.map(Wo)):t(r.pass.map(Wo))}))},g=function(e){var t=fn._addCacheSuffix(e);_e(r,t).each((function(e){var n=--e.count;0===n&&(delete r[t],s(e.id))}))},v=function(e){J(e,(function(e){g(e)}))};return{load:f,loadAll:m,unload:g,unloadAll:v,_setReferrerPolicy:u}},_i=function(){var e=new WeakMap,t=function(t,n){var r=cr(t),o=r.dom;return R.from(e.get(o)).getOrThunk((function(){var t=Ri(o,n);return e.set(o,t),t}))};return{forElement:t}},Di=_i(),Pi=function(){function e(e,t){this.node=e,this.rootNode=t,this.current=this.current.bind(this),this.next=this.next.bind(this),this.prev=this.prev.bind(this),this.prev2=this.prev2.bind(this)}return e.prototype.current=function(){return this.node},e.prototype.next=function(e){return this.node=this.findSibling(this.node,"firstChild","nextSibling",e),this.node},e.prototype.prev=function(e){return this.node=this.findSibling(this.node,"lastChild","previousSibling",e),this.node},e.prototype.prev2=function(e){return this.node=this.findPreviousNode(this.node,"lastChild","previousSibling",e),this.node},e.prototype.findSibling=function(e,t,n,r){var o,i;if(e){if(!r&&e[t])return e[t];if(e!==this.rootNode){if(o=e[n],o)return o;for(i=e.parentNode;i&&i!==this.rootNode;i=i.parentNode)if(o=i[n],o)return o}}},e.prototype.findPreviousNode=function(e,t,n,r){var o,i,a;if(e){if(o=e[n],this.rootNode&&o===this.rootNode)return;if(o){if(!r)for(a=o[t];a;a=a[t])if(!a[t])return a;return o}if(i=e.parentNode,i&&i!==this.rootNode)return i}},e}(),Bi=["article","aside","details","div","dt","figcaption","footer","form","fieldset","header","hgroup","html","main","nav","section","summary","body","p","dl","multicol","dd","figure","address","center","blockquote","h1","h2","h3","h4","h5","h6","listing","xmp","pre","plaintext","menu","dir","ul","ol","li","hr","table","tbody","thead","tfoot","th","tr","td","caption"],Oi=["td","th"],Li=["thead","tbody","tfoot"],Ii=["h1","h2","h3","h4","h5","h6","p","div","address","pre","form","blockquote","center","dir","fieldset","header","footer","article","section","hgroup","aside","nav","figure"],Fi=["h1","h2","h3","h4","h5","h6"],Mi=["li","dd","dt"],zi=["ul","ol","dl"],Ui=["pre","script","textarea","style"],Hi=function(e){var t;return function(n){return t=t||de(e,S),t.hasOwnProperty(On(n))}},ji=Hi(Fi),Vi=Hi(Bi),qi=function(e){return"table"===On(e)},$i=function(e){return Mn(e)&&!Vi(e)},Wi=function(e){return Mn(e)&&"br"===On(e)},Ki=Hi(Ii),Gi=Hi(zi),Xi=Hi(Mi),Yi=Hi(Li),Zi=Hi(Oi),Ji=Hi(Ui),Qi=function(e,t,n){return vi(e,t,n).isSome()},ea="\ufeff",ta=" ",na=function(e){return e===ea},ra=function(e){return e.replace(/\uFEFF/g,"")},oa=ea,ia=na,aa=ra,ua=zr,ca=Xr,sa=function(e){return ca(e)&&(e=e.parentNode),ua(e)&&e.hasAttribute("data-mce-caret")},la=function(e){return ca(e)&&ia(e.data)},fa=function(e){return sa(e)||la(e)},da=function(e){return e.firstChild!==e.lastChild||!Qr(e.firstChild)},ma=function(e,t){var n,r=e.ownerDocument,o=r.createTextNode(oa),i=e.parentNode;if(t){if(n=e.previousSibling,ca(n)){if(fa(n))return n;if(ya(n))return n.splitText(n.data.length-1)}i.insertBefore(o,e)}else{if(n=e.nextSibling,ca(n)){if(fa(n))return n;if(ba(n))return n.splitText(1),n}e.nextSibling?i.insertBefore(o,e.nextSibling):i.appendChild(o)}return o},pa=function(e){var t=e.container();return!!Xr(t)&&(t.data.charAt(e.offset())===oa||e.isAtStart()&&la(t.previousSibling))},ga=function(e){var t=e.container();return!!Xr(t)&&(t.data.charAt(e.offset()-1)===oa||e.isAtEnd()&&la(t.nextSibling))},ha=function(){var e=document.createElement("br");return e.setAttribute("data-mce-bogus","1"),e},va=function(e,t,n){var r=t.ownerDocument,o=r.createElement(e);o.setAttribute("data-mce-caret",n?"before":"after"),o.setAttribute("data-mce-bogus","all"),o.appendChild(ha());var i=t.parentNode;return n?i.insertBefore(o,t):t.nextSibling?i.insertBefore(o,t.nextSibling):i.appendChild(o),o},ba=function(e){return ca(e)&&e.data[0]===oa},ya=function(e){return ca(e)&&e.data[e.data.length-1]===oa},Ca=function(e){var t=e.getElementsByTagName("br"),n=t[t.length-1];qr(n)&&n.parentNode.removeChild(n)},wa=function(e){return e&&e.hasAttribute("data-mce-caret")?(Ca(e),e.removeAttribute("data-mce-caret"),e.removeAttribute("data-mce-bogus"),e.removeAttribute("style"),e.removeAttribute("_moz_abspos"),e):null},xa=function(e){return sa(e.startContainer)},ka=to,Sa=no,Ea=Qr,Na=Xr,Ta=Ur(["script","style","textarea"]),Aa=Ur(["img","input","textarea","hr","iframe","video","audio","object","embed"]),Ra=Ur(["table"]),_a=fa,Da=function(e){return!_a(e)&&(Na(e)?!Ta(e.parentNode):Aa(e)||Ea(e)||Ra(e)||Ba(e))},Pa=function(e){return zr(e)&&"true"===e.getAttribute("unselectable")},Ba=function(e){return!1===Pa(e)&&Sa(e)},Oa=function(e,t){for(e=e.parentNode;e&&e!==t;e=e.parentNode){if(Ba(e))return!1;if(ka(e))return!0}return!0},La=function(e){return!!Ba(e)&&!0!==re(ve(e.getElementsByTagName("*")),(function(e,t){return e||ka(t)}),!1)},Ia=function(e){return Aa(e)||La(e)},Fa=function(e,t){return Da(e)&&Oa(e,t)},Ma=/^[ \t\r\n]*$/,za=function(e){return Ma.test(e)},Ua=function(e,t){var n=vn.fromDom(t),r=vn.fromDom(e);return Qi(r,"pre,code",b(_n,n))},Ha=function(e,t){return Xr(e)&&za(e.data)&&!1===Ua(e,t)},ja=function(e){return zr(e)&&"A"===e.nodeName&&!e.hasAttribute("href")&&(e.hasAttribute("name")||e.hasAttribute("id"))},Va=function(e,t){return Da(e)&&!1===Ha(e,t)||ja(e)||qa(e)},qa=jr("data-mce-bookmark"),$a=jr("data-mce-bogus"),Wa=Vr("data-mce-bogus","all"),Ka=function(e,t){var n,r=0;if(Va(e,e))return!1;if(n=e.firstChild,!n)return!0;var o=new Pi(n,e);do{if(t){if(Wa(n)){n=o.next(!0);continue}if($a(n)){n=o.next();continue}}if(Qr(n))r++,n=o.next();else{if(Va(n,e))return!1;n=o.next()}}while(n);return r<=1},Ga=function(e,t){return void 0===t&&(t=!0),Ka(e.dom,t)},Xa=function(e){return"span"===e.nodeName.toLowerCase()},Ya=function(e,t){return H(e)&&(Va(e,t)||$i(vn.fromDom(e)))},Za=function(e,t){var n=new Pi(e,t).prev(!1),r=new Pi(e,t).next(!1),o=z(n)||Ya(n,t),i=z(r)||Ya(r,t);return o&&i},Ja=function(e){return Xa(e)&&"bookmark"===e.getAttribute("data-mce-type")},Qa=function(e,t){return Xr(e)&&e.data.length>0&&Za(e,t)},eu=function(e){return!!zr(e)&&e.childNodes.length>0},tu=function(e){return Jr(e)||Zr(e)},nu=function(e,t,n){var r=n||t;if(zr(t)&&Ja(t))return t;for(var o=t.childNodes,i=o.length-1;i>=0;i--)nu(e,o[i],r);if(zr(t)){var a=t.childNodes;1===a.length&&Ja(a[0])&&t.parentNode.insertBefore(a[0],t)}return tu(t)||Va(t,r)||eu(t)||Qa(t,r)||e.remove(t),t},ru=fn.makeMap,ou=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,iu=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,au=/[<>&\"\']/g,uu=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,cu={128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},su={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},lu={"<":"<",">":">","&":"&",""":'"',"'":"'"},fu=function(e){var t=vn.fromTag("div").dom;return t.innerHTML=e,t.textContent||t.innerText||e},du=function(e,t){var n,r,o,i={};if(e){for(e=e.split(","),t=t||10,n=0;n<e.length;n+=2)r=String.fromCharCode(parseInt(e[n],t)),su[r]||(o="&"+e[n+1]+";",i[r]=o,i[o]=r);return i}},mu=du("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32),pu=function(e,t){return e.replace(t?ou:iu,(function(e){return su[e]||e}))},gu=function(e){return(""+e).replace(au,(function(e){return su[e]||e}))},hu=function(e,t){return e.replace(t?ou:iu,(function(e){return e.length>1?"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";":su[e]||"&#"+e.charCodeAt(0)+";"}))},vu=function(e,t,n){return n=n||mu,e.replace(t?ou:iu,(function(e){return su[e]||n[e]||e}))},bu=function(e,t){var n=du(t)||mu,r=function(e,t){return e.replace(t?ou:iu,(function(e){return void 0!==su[e]?su[e]:void 0!==n[e]?n[e]:e.length>1?"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";":"&#"+e.charCodeAt(0)+";"}))},o=function(e,t){return vu(e,t,n)},i=ru(e.replace(/\+/g,","));return i.named&&i.numeric?r:i.named?t?o:vu:i.numeric?hu:pu},yu=function(e){return e.replace(uu,(function(e,t){return t?(t="x"===t.charAt(0).toLowerCase()?parseInt(t.substr(1),16):parseInt(t,10),t>65535?(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))):cu[t]||String.fromCharCode(t)):lu[e]||mu[e]||fu(e)}))},Cu={encodeRaw:pu,encodeAllRaw:gu,encodeNumeric:hu,encodeNamed:vu,getEncodeFunc:bu,decode:yu},wu={},xu={},ku=fn.makeMap,Su=fn.each,Eu=fn.extend,Nu=fn.explode,Tu=fn.inArray,Au=function(e,t){return e=fn.trim(e),e?e.split(t||" "):[]},Ru=function(e){var t,n,r,o,i,a,u={},c=function(e,n,r){var o,i,a,c=function(e,t){var n,r,o={};for(n=0,r=e.length;n<r;n++)o[e[n]]=t||{};return o};r=r||[],n=n||"","string"===typeof r&&(r=Au(r));var s=Au(e);o=s.length;while(o--)i=Au([t,n].join(" ")),a={attributes:c(i),attributesOrder:i,children:c(r,xu)},u[s[o]]=a},s=function(e,t){var n,r,o,i,a=Au(e);n=a.length;var c=Au(t);while(n--)for(r=u[a[n]],o=0,i=c.length;o<i;o++)r.attributes[c[o]]={},r.attributesOrder.push(c[o])};return wu[e]?wu[e]:(t="id accesskey class dir lang style tabindex title role",n="address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul",r="a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment","html4"!==e&&(t+=" contenteditable contextmenu draggable dropzone hidden spellcheck translate",n+=" article aside details dialog figure main header footer hgroup section nav",r+=" audio canvas command datalist mark meter output picture progress time wbr video ruby bdi keygen"),"html5-strict"!==e&&(t+=" xml:lang",a="acronym applet basefont big font strike tt",r=[r,a].join(" "),Su(Au(a),(function(e){c(e,"",r)})),i="center dir isindex noframes",n=[n,i].join(" "),o=[n,r].join(" "),Su(Au(i),(function(e){c(e,"",o)}))),o=o||[n,r].join(" "),c("html","manifest","head body"),c("head","","base command link meta noscript script style title"),c("title hr noscript br"),c("base","href target"),c("link","href rel media hreflang type sizes hreflang"),c("meta","name http-equiv content charset"),c("style","media type scoped"),c("script","src async defer type charset"),c("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",o),c("address dt dd div caption","",o),c("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",r),c("blockquote","cite",o),c("ol","reversed start type","li"),c("ul","","li"),c("li","value",o),c("dl","","dt dd"),c("a","href target rel media hreflang type",r),c("q","cite",r),c("ins del","cite datetime",o),c("img","src sizes srcset alt usemap ismap width height"),c("iframe","src name width height",o),c("embed","src type width height"),c("object","data type typemustmatch name usemap form width height",[o,"param"].join(" ")),c("param","name value"),c("map","name",[o,"area"].join(" ")),c("area","alt coords shape href target rel media hreflang type"),c("table","border","caption colgroup thead tfoot tbody tr"+("html4"===e?" col":"")),c("colgroup","span","col"),c("col","span"),c("tbody thead tfoot","","tr"),c("tr","","td th"),c("td","colspan rowspan headers",o),c("th","colspan rowspan headers scope abbr",o),c("form","accept-charset action autocomplete enctype method name novalidate target",o),c("fieldset","disabled form name",[o,"legend"].join(" ")),c("label","form for",r),c("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width"),c("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value","html4"===e?o:r),c("select","disabled form multiple name required size","option optgroup"),c("optgroup","disabled label","option"),c("option","disabled label selected value"),c("textarea","cols dirname disabled form maxlength name readonly required rows wrap"),c("menu","type label",[o,"li"].join(" ")),c("noscript","",o),"html4"!==e&&(c("wbr"),c("ruby","",[r,"rt rp"].join(" ")),c("figcaption","",o),c("mark rt rp summary bdi","",r),c("canvas","width height",o),c("video","src crossorigin poster preload autoplay mediagroup loop muted controls width height buffered",[o,"track source"].join(" ")),c("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",[o,"track source"].join(" ")),c("picture","","img source"),c("source","src srcset type media sizes"),c("track","kind src srclang label default"),c("datalist","",[r,"option"].join(" ")),c("article section nav aside main header footer","",o),c("hgroup","","h1 h2 h3 h4 h5 h6"),c("figure","",[o,"figcaption"].join(" ")),c("time","datetime",r),c("dialog","open",o),c("command","type label icon disabled checked radiogroup command"),c("output","for form name",r),c("progress","value max",r),c("meter","value min max low high optimum",r),c("details","open",[o,"summary"].join(" ")),c("keygen","autofocus challenge disabled form keytype name")),"html5-strict"!==e&&(s("script","language xml:space"),s("style","xml:space"),s("object","declare classid code codebase codetype archive standby align border hspace vspace"),s("embed","align name hspace vspace"),s("param","valuetype type"),s("a","charset name rev shape coords"),s("br","clear"),s("applet","codebase archive code object alt name width height align hspace vspace"),s("img","name longdesc align border hspace vspace"),s("iframe","longdesc frameborder marginwidth marginheight scrolling align"),s("font basefont","size color face"),s("input","usemap align"),s("select"),s("textarea"),s("h1 h2 h3 h4 h5 h6 div p legend caption","align"),s("ul","type compact"),s("li","type"),s("ol dl menu dir","compact"),s("pre","width xml:space"),s("hr","align noshade size width"),s("isindex","prompt"),s("table","summary width frame rules cellspacing cellpadding align bgcolor"),s("col","width align char charoff valign"),s("colgroup","width align char charoff valign"),s("thead","align char charoff valign"),s("tr","align char charoff valign bgcolor"),s("th","axis align char charoff valign nowrap bgcolor width height"),s("form","accept"),s("td","abbr axis scope align char charoff valign nowrap bgcolor width height"),s("tfoot","align char charoff valign"),s("tbody","align char charoff valign"),s("area","nohref"),s("body","background bgcolor text link vlink alink")),"html4"!==e&&(s("input button select textarea","autofocus"),s("input textarea","placeholder"),s("a","download"),s("link script img","crossorigin"),s("img","loading"),s("iframe","sandbox seamless allowfullscreen loading")),Su(Au("a form meter progress dfn"),(function(e){u[e]&&delete u[e].children[e]})),delete u.caption.children.table,delete u.script,wu[e]=u,u)},_u=function(e,t){var n;return e&&(n={},"string"===typeof e&&(e={"*":e}),Su(e,(function(e,r){n[r]=n[r.toUpperCase()]="map"===t?ku(e,/[, ]/):Nu(e,/[, ]/)}))),n},Du=function(e){var t={},n={},r=[],o={},i={},a=function(t,n,r){var o=e[t];return o?o=ku(o,/[, ]/,ku(o.toUpperCase(),/[, ]/)):(o=wu[t],o||(o=ku(n," ",ku(n.toUpperCase()," ")),o=Eu(o,r),wu[t]=o)),o};e=e||{};var u=Ru(e.schema);!1===e.verify_html&&(e.valid_elements="*[*]");var c=_u(e.valid_styles),s=_u(e.invalid_styles,"map"),l=_u(e.valid_classes,"map"),f=a("whitespace_elements","pre script noscript style textarea video audio iframe object code"),d=a("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr"),m=a("short_ended_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track"),p=a("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls"),g="td th iframe video audio object script code",h=a("non_empty_elements",g+" pre",m),v=a("move_caret_before_on_enter_elements",g+" table",m),b=a("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"),y=a("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary",b),C=a("text_inline_elements","span strong b em i font strike u var cite dfn code mark q sup sub samp");Su((e.special||"script noscript iframe noframes noembed title style textarea xmp").split(" "),(function(e){i[e]=new RegExp("</"+e+"[^>]*>","gi")}));var w=function(e){return new RegExp("^"+e.replace(/([?+*])/g,".$1")+"$")},x=function(e){var n,o,i,a,u,c,s,l,f,d,m,p,g,h,v,b,y,C,x=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)])?$/,k=/^([!\-])?(\w+[\\:]:\w+|[^=:<]+)?(?:([=:<])(.*))?$/,S=/[*?+]/;if(e){var E=Au(e,",");for(t["@"]&&(b=t["@"].attributes,y=t["@"].attributesOrder),n=0,o=E.length;n<o;n++)if(u=x.exec(E[n]),u){if(h=u[1],f=u[2],v=u[3],l=u[5],p={},g=[],c={attributes:p,attributesOrder:g},"#"===h&&(c.paddEmpty=!0),"-"===h&&(c.removeEmpty=!0),"!"===u[4]&&(c.removeEmptyAttrs=!0),b&&(we(b,(function(e,t){p[t]=e})),g.push.apply(g,y)),l)for(l=Au(l,"|"),i=0,a=l.length;i<a;i++)if(u=k.exec(l[i]),u){if(s={},m=u[1],d=u[2].replace(/[\\:]:/g,":"),h=u[3],C=u[4],"!"===m&&(c.attributesRequired=c.attributesRequired||[],c.attributesRequired.push(d),s.required=!0),"-"===m){delete p[d],g.splice(Tu(g,d),1);continue}h&&("="===h&&(c.attributesDefault=c.attributesDefault||[],c.attributesDefault.push({name:d,value:C}),s.defaultValue=C),":"===h&&(c.attributesForced=c.attributesForced||[],c.attributesForced.push({name:d,value:C}),s.forcedValue=C),"<"===h&&(s.validValues=ku(C,"?"))),S.test(d)?(c.attributePatterns=c.attributePatterns||[],s.pattern=w(d),c.attributePatterns.push(s)):(p[d]||g.push(d),p[d]=s)}b||"@"!==f||(b=p,y=g),v&&(c.outputName=f,t[v]=c),S.test(f)?(c.pattern=w(f),r.push(c)):t[f]=c}}},k=function(e){t={},r=[],x(e),Su(u,(function(e,t){n[t]=e.children}))},S=function(e){var r=/^(~)?(.+)$/;e&&(wu.text_block_elements=wu.block_elements=null,Su(Au(e,","),(function(e){var i=r.exec(e),a="~"===i[1],u=a?"span":"div",c=i[2];if(n[c]=n[u],o[c]=u,a||(y[c.toUpperCase()]={},y[c]={}),!t[c]){var s=t[u];s=Eu({},s),delete s.removeEmptyAttrs,delete s.removeEmpty,t[c]=s}Su(n,(function(e,t){e[u]&&(n[t]=e=Eu({},n[t]),e[c]=e[u])}))})))},E=function(t){var r=/^([+\-]?)([A-Za-z0-9_\-.\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]+)\[([^\]]+)]$/;wu[e.schema]=null,t&&Su(Au(t,","),(function(e){var t,o,i=r.exec(e);i&&(o=i[1],t=o?n[i[2]]:n[i[2]]={"#comment":{}},t=n[i[2]],Su(Au(i[3],"|"),(function(e){"-"===o?delete t[e]:t[e]={}})))}))},N=function(e){var n,o=t[e];if(o)return o;n=r.length;while(n--)if(o=r[n],o.pattern.test(e))return o};e.valid_elements?k(e.valid_elements):(Su(u,(function(e,r){t[r]={attributes:e.attributes,attributesOrder:e.attributesOrder},n[r]=e.children})),"html5"!==e.schema&&Su(Au("strong/b em/i"),(function(e){var n=Au(e,"/");t[n[1]].outputName=n[0]})),Su(Au("ol ul sub sup blockquote span font a table tbody strong em b i"),(function(e){t[e]&&(t[e].removeEmpty=!0)})),Su(Au("p h1 h2 h3 h4 h5 h6 th td pre div address caption li"),(function(e){t[e].paddEmpty=!0})),Su(Au("span"),(function(e){t[e].removeEmptyAttrs=!0}))),S(e.custom_elements),E(e.valid_children),x(e.extended_valid_elements),E("+ol[ul|ol],+ul[ul|ol]"),Su({dd:"dl",dt:"dl",li:"ul ol",td:"tr",th:"tr",tr:"tbody thead tfoot",tbody:"table",thead:"table",tfoot:"table",legend:"fieldset",area:"map",param:"video audio object"},(function(e,n){t[n]&&(t[n].parentsRequired=Au(e))})),e.invalid_elements&&Su(Nu(e.invalid_elements),(function(e){t[e]&&delete t[e]})),N("span")||x("span[!data-mce-type|*]");var T=function(){return c},A=function(){return s},R=function(){return l},_=function(){return p},D=function(){return y},P=function(){return b},B=function(){return C},O=function(){return m},L=function(){return d},I=function(){return h},F=function(){return v},M=function(){return f},z=function(){return i},U=function(e,t){var r=n[e.toLowerCase()];return!(!r||!r[t.toLowerCase()])},H=function(e,t){var n,r,o=N(e);if(o){if(!t)return!0;if(o.attributes[t])return!0;if(n=o.attributePatterns,n){r=n.length;while(r--)if(n[r].pattern.test(e))return!0}}return!1},j=function(){return o};return{children:n,elements:t,getValidStyles:T,getValidClasses:R,getBlockElements:D,getInvalidStyles:A,getShortEndedElements:O,getTextBlockElements:P,getTextInlineElements:B,getBoolAttrs:_,getElementRule:N,getSelfClosingElements:L,getNonEmptyElements:I,getMoveCaretBeforeOnEnterElements:F,getWhiteSpaceElements:M,getSpecialElements:z,isValidChild:U,isValid:H,getCustomElements:j,addValidElements:x,setValidElements:k,addCustomElements:S,addValidChildren:E}},Pu=function(e,t,n,r){var o=function(e){return e=parseInt(e,10).toString(16),e.length>1?e:"0"+e};return"#"+o(t)+o(n)+o(r)},Bu=function(e,t){var n,r,o,i=this,a=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,u=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,c=/\s*([^:]+):\s*([^;]+);?/g,s=/\s+$/,l={},f=ea;e=e||{},t&&(r=t.getValidStyles(),o=t.getInvalidStyles());var d=("\\\" \\' \\; \\: ; : "+f).split(" ");for(n=0;n<d.length;n++)l[d[n]]=f+n,l[f+n]=d[n];return{toHex:function(e){return e.replace(a,Pu)},parse:function(t){var r,o,d,m,p={},g=e.url_converter,h=e.url_converter_scope||i,v=function(e,t,r){var o=p[e+"-top"+t];if(o){var i=p[e+"-right"+t];if(i){var a=p[e+"-bottom"+t];if(a){var u=p[e+"-left"+t];if(u){var c=[o,i,a,u];n=c.length-1;while(n--)if(c[n]!==c[n+1])break;n>-1&&r||(p[e+t]=-1===n?c[0]:c.join(" "),delete p[e+"-top"+t],delete p[e+"-right"+t],delete p[e+"-bottom"+t],delete p[e+"-left"+t])}}}}},b=function(e){var t,n=p[e];if(n){n=n.split(" "),t=n.length;while(t--)if(n[t]!==n[0])return!1;return p[e]=n[0],!0}},y=function(e,t,n,r){b(t)&&b(n)&&b(r)&&(p[e]=p[t]+" "+p[n]+" "+p[r],delete p[t],delete p[n],delete p[r])},C=function(e){return m=!0,l[e]},w=function(e,t){return m&&(e=e.replace(/\uFEFF[0-9]/g,(function(e){return l[e]}))),t||(e=e.replace(/\\([\'\";:])/g,"$1")),e},x=function(e){return String.fromCharCode(parseInt(e.slice(1),16))},k=function(e){return e.replace(/\\[0-9a-f]+/gi,x)},S=function(t,n,r,o,i,a){if(i=i||a,i)return i=w(i),"'"+i.replace(/\'/g,"\\'")+"'";if(n=w(n||r||o),!e.allow_script_urls){var u=n.replace(/[\s\r\n]+/g,"");if(/(java|vb)script:/i.test(u))return"";if(!e.allow_svg_data_urls&&/^data:image\/svg/i.test(u))return""}return g&&(n=g.call(h,n,"style")),"url('"+n.replace(/\'/g,"\\'")+"')"};if(t){t=t.replace(/[\u0000-\u001F]/g,""),t=t.replace(/\\[\"\';:\uFEFF]/g,C).replace(/\"[^\"]+\"|\'[^\']+\'/g,(function(e){return e.replace(/[;:]/g,C)}));while(r=c.exec(t))if(c.lastIndex=r.index+r[0].length,o=r[1].replace(s,"").toLowerCase(),d=r[2].replace(s,""),o&&d){if(o=k(o),d=k(d),-1!==o.indexOf(f)||-1!==o.indexOf('"'))continue;if(!e.allow_script_urls&&("behavior"===o||/expression\s*\(|\/\*|\*\//.test(d)))continue;"font-weight"===o&&"700"===d?d="bold":"color"!==o&&"background-color"!==o||(d=d.toLowerCase()),d=d.replace(a,Pu),d=d.replace(u,S),p[o]=m?w(d,!0):d}v("border","",!0),v("border","-width"),v("border","-color"),v("border","-style"),v("padding",""),v("margin",""),y("border","border-width","border-style","border-color"),"medium none"===p.border&&delete p.border,"none"===p["border-image"]&&delete p["border-image"]}return p},serialize:function(e,t){var n="",i=function(t){var o,i=r[t];if(i)for(var a=0,u=i.length;a<u;a++)t=i[a],o=e[t],o&&(n+=(n.length>0?" ":"")+t+": "+o+";")},a=function(e,t){var n=o["*"];return(!n||!n[e])&&(n=o[t],!(n&&n[e]))};return t&&r?(i("*"),i(t)):we(e,(function(e,r){!e||o&&!a(r,t)||(n+=(n.length>0?" ":"")+r+": "+e+";")})),n}}},Ou="mce-data-",Lu=/^(?:mouse|contextmenu)|click/,Iu={keyLocation:1,layerX:1,layerY:1,returnValue:1,webkitMovementX:1,webkitMovementY:1,keyIdentifier:1,mozPressure:1},Fu=function(e){return e.isDefaultPrevented===zu||e.isDefaultPrevented===Mu},Mu=k,zu=S,Uu=function(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r||!1):e.attachEvent&&e.attachEvent("on"+t,n)},Hu=function(e,t,n,r){e.removeEventListener?e.removeEventListener(t,n,r||!1):e.detachEvent&&e.detachEvent("on"+t,n)},ju=function(e){return Lu.test(e.type)},Vu=function(e,t){var n,r=t||{};for(n in e)Iu[n]||(r[n]=e[n]);if(r.target||(r.target=r.srcElement||document),r.composedPath&&(r.composedPath=function(){return e.composedPath()}),e&&ju(e)&&void 0===e.pageX&&void 0!==e.clientX){var o=r.target.ownerDocument||document,i=o.documentElement,a=o.body;r.pageX=e.clientX+(i&&i.scrollLeft||a&&a.scrollLeft||0)-(i&&i.clientLeft||a&&a.clientLeft||0),r.pageY=e.clientY+(i&&i.scrollTop||a&&a.scrollTop||0)-(i&&i.clientTop||a&&a.clientTop||0)}return r.preventDefault=function(){r.defaultPrevented=!0,r.isDefaultPrevented=zu,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},r.stopPropagation=function(){r.cancelBubble=!0,r.isPropagationStopped=zu,e&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)},r.stopImmediatePropagation=function(){r.isImmediatePropagationStopped=zu,r.stopPropagation()},!1===Fu(r)&&(r.isDefaultPrevented=!0===r.defaultPrevented?zu:Mu,r.isPropagationStopped=!0===r.cancelBubble?zu:Mu,r.isImmediatePropagationStopped=Mu),"undefined"===typeof r.metaKey&&(r.metaKey=!1),r},qu=function(e,t,n){var r=e.document,o={type:"ready"};if(n.domLoaded)t(o);else{var i=function(){return"complete"===r.readyState||"interactive"===r.readyState&&r.body},a=function(){Hu(e,"DOMContentLoaded",a),Hu(e,"load",a),n.domLoaded||(n.domLoaded=!0,t(o)),e=null};i()?a():Uu(e,"DOMContentLoaded",a),n.domLoaded||Uu(e,"load",a)}},$u=function(){function e(){this.domLoaded=!1,this.events={},this.count=1,this.expando=Ou+(+new Date).toString(32),this.hasMouseEnterLeave="onmouseenter"in document.documentElement,this.hasFocusIn="onfocusin"in document.documentElement,this.count=1}return e.prototype.bind=function(e,t,n,r){var o,i,a,u,c,s,l,f=this,d=window,m=function(e){f.executeHandlers(Vu(e||d.event),o)};if(e&&3!==e.nodeType&&8!==e.nodeType){e[f.expando]?o=e[f.expando]:(o=f.count++,e[f.expando]=o,f.events[o]={}),r=r||e;var p=t.split(" ");a=p.length;while(a--)u=p[a],s=m,c=l=!1,"DOMContentLoaded"===u&&(u="ready"),f.domLoaded&&"ready"===u&&"complete"===e.readyState?n.call(r,Vu({type:u})):(f.hasMouseEnterLeave||(c=f.mouseEnterLeave[u],c&&(s=function(e){var t=e.currentTarget,n=e.relatedTarget;if(n&&t.contains)n=t.contains(n);else while(n&&n!==t)n=n.parentNode;n||(e=Vu(e||d.event),e.type="mouseout"===e.type?"mouseleave":"mouseenter",e.target=t,f.executeHandlers(e,o))})),f.hasFocusIn||"focusin"!==u&&"focusout"!==u||(l=!0,c="focusin"===u?"focus":"blur",s=function(e){e=Vu(e||d.event),e.type="focus"===e.type?"focusin":"focusout",f.executeHandlers(e,o)}),i=f.events[o][u],i?"ready"===u&&f.domLoaded?n(Vu({type:u})):i.push({func:n,scope:r}):(f.events[o][u]=i=[{func:n,scope:r}],i.fakeName=c,i.capture=l,i.nativeHandler=s,"ready"===u?qu(e,s,f):Uu(e,c||u,s,l)));return e=i=null,n}},e.prototype.unbind=function(e,t,n){var r,o,i,a,u;if(!e||3===e.nodeType||8===e.nodeType)return this;var c=e[this.expando];if(c){if(u=this.events[c],t){var s=t.split(" ");o=s.length;while(o--)if(a=s[o],r=u[a],r){if(n){i=r.length;while(i--)if(r[i].func===n){var l=r.nativeHandler,f=r.fakeName,d=r.capture;r=r.slice(0,i).concat(r.slice(i+1)),r.nativeHandler=l,r.fakeName=f,r.capture=d,u[a]=r}}n&&0!==r.length||(delete u[a],Hu(e,r.fakeName||a,r.nativeHandler,r.capture))}}else we(u,(function(t,n){Hu(e,t.fakeName||n,t.nativeHandler,t.capture)})),u={};for(a in u)if(De(u,a))return this;delete this.events[c];try{delete e[this.expando]}catch(m){e[this.expando]=null}}return this},e.prototype.fire=function(e,t,n){var r;if(!e||3===e.nodeType||8===e.nodeType)return this;var o=Vu(null,n);o.type=t,o.target=e;do{r=e[this.expando],r&&this.executeHandlers(o,r),e=e.parentNode||e.ownerDocument||e.defaultView||e.parentWindow}while(e&&!o.isPropagationStopped());return this},e.prototype.clean=function(e){var t,n;if(!e||3===e.nodeType||8===e.nodeType)return this;if(e[this.expando]&&this.unbind(e),e.getElementsByTagName||(e=e.document),e&&e.getElementsByTagName){this.unbind(e),n=e.getElementsByTagName("*"),t=n.length;while(t--)e=n[t],e[this.expando]&&this.unbind(e)}return this},e.prototype.destroy=function(){this.events={}},e.prototype.cancel=function(e){return e&&(e.preventDefault(),e.stopImmediatePropagation()),!1},e.prototype.executeHandlers=function(e,t){var n=this.events[t],r=n&&n[e.type];if(r)for(var o=0,i=r.length;o<i;o++){var a=r[o];if(a&&!1===a.func.call(a.scope,e)&&e.preventDefault(),e.isImmediatePropagationStopped())return}},e.Event=new e,e}(),Wu="sizzle"+-new Date,Ku=window.document,Gu=0,Xu=0,Yu=_c(),Zu=_c(),Ju=_c(),Qu=function(e,t){return e===t&&(oi=!0),0},ec="undefined",tc=1<<31,nc={}.hasOwnProperty,rc=[],oc=rc.pop,ic=rc.push,ac=rc.push,uc=rc.slice,cc=rc.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},sc="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",lc="[\\x20\\t\\r\\n\\f]",fc="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",dc="\\["+lc+"*("+fc+")(?:"+lc+"*([*^$|!~]?=)"+lc+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+fc+"))|)"+lc+"*\\]",mc=":("+fc+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+dc+")*)|.*)\\)|)",pc=new RegExp("^"+lc+"+|((?:^|[^\\\\])(?:\\\\.)*)"+lc+"+$","g"),gc=new RegExp("^"+lc+"*,"+lc+"*"),hc=new RegExp("^"+lc+"*([>+~]|"+lc+")"+lc+"*"),vc=new RegExp("="+lc+"*([^\\]'\"]*?)"+lc+"*\\]","g"),bc=new RegExp(mc),yc=new RegExp("^"+fc+"$"),Cc={ID:new RegExp("^#("+fc+")"),CLASS:new RegExp("^\\.("+fc+")"),TAG:new RegExp("^("+fc+"|[*])"),ATTR:new RegExp("^"+dc),PSEUDO:new RegExp("^"+mc),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+lc+"*(even|odd|(([+-]|)(\\d*)n|)"+lc+"*(?:([+-]|)"+lc+"*(\\d+)|))"+lc+"*\\)|)","i"),bool:new RegExp("^(?:"+sc+")$","i"),needsContext:new RegExp("^"+lc+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+lc+"*((?:-\\d)?\\d*)"+lc+"*\\)|)(?=[^-]|$)","i")},wc=/^(?:input|select|textarea|button)$/i,xc=/^h\d$/i,kc=/^[^{]+\{\s*\[native \w/,Sc=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ec=/[+~]/,Nc=/'|\\/g,Tc=new RegExp("\\\\([\\da-f]{1,6}"+lc+"?|("+lc+")|.)","ig"),Ac=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{ac.apply(rc=uc.call(Ku.childNodes),Ku.childNodes),rc[Ku.childNodes.length].nodeType}catch(hU){ac={apply:rc.length?function(e,t){ic.apply(e,uc.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}var Rc=function(e,t,n,r){var o,i,a,u,c,s,l,f,d,m;if((t?t.ownerDocument||t:Ku)!==ai&&ii(t),t=t||ai,n=n||[],!e||"string"!==typeof e)return n;if(1!==(u=t.nodeType)&&9!==u)return[];if(ci&&!r){if(o=Sc.exec(e))if(a=o[1]){if(9===u){if(i=t.getElementById(a),!i||!i.parentNode)return n;if(i.id===a)return n.push(i),n}else if(t.ownerDocument&&(i=t.ownerDocument.getElementById(a))&&di(t,i)&&i.id===a)return n.push(i),n}else{if(o[2])return ac.apply(n,t.getElementsByTagName(e)),n;if((a=o[3])&&Xo.getElementsByClassName)return ac.apply(n,t.getElementsByClassName(a)),n}if(Xo.qsa&&(!si||!si.test(e))){if(f=l=Wu,d=t,m=9===u&&e,1===u&&"object"!==t.nodeName.toLowerCase()){s=Qo(e),(l=t.getAttribute("id"))?f=l.replace(Nc,"\\$&"):t.setAttribute("id",f),f="[id='"+f+"'] ",c=s.length;while(c--)s[c]=f+Mc(s[c]);d=Ec.test(e)&&Ic(t.parentNode)||t,m=s.join(",")}if(m)try{return ac.apply(n,d.querySelectorAll(m)),n}catch(p){}finally{l||t.removeAttribute("id")}}}return ti(e.replace(pc,"$1"),t,n,r)};function _c(){var e=[];function t(n,r){return e.push(n+" ")>Yo.cacheLength&&delete t[e.shift()],t[n+" "]=r}return t}function Dc(e){return e[Wu]=!0,e}function Pc(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||tc)-(~e.sourceIndex||tc);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function Bc(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function Oc(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function Lc(e){return Dc((function(t){return t=+t,Dc((function(n,r){var o,i=e([],n.length,t),a=i.length;while(a--)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function Ic(e){return e&&typeof e.getElementsByTagName!==ec&&e}function Fc(){}function Mc(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function zc(e,t,n){var r=t.dir,o=n&&"parentNode"===r,i=Xu++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,a){var u,c,s=[Gu,i];if(a){while(t=t[r])if((1===t.nodeType||o)&&e(t,n,a))return!0}else while(t=t[r])if(1===t.nodeType||o){if(c=t[Wu]||(t[Wu]={}),(u=c[r])&&u[0]===Gu&&u[1]===i)return s[2]=u[2];if(c[r]=s,s[2]=e(t,n,a))return!0}}}function Uc(e){return e.length>1?function(t,n,r){var o=e.length;while(o--)if(!e[o](t,n,r))return!1;return!0}:e[0]}function Hc(e,t,n){for(var r=0,o=t.length;r<o;r++)Rc(e,t[r],n);return n}function jc(e,t,n,r,o){for(var i,a=[],u=0,c=e.length,s=null!=t;u<c;u++)(i=e[u])&&(n&&!n(i,r,o)||(a.push(i),s&&t.push(u)));return a}function Vc(e,t,n,r,o,i){return r&&!r[Wu]&&(r=Vc(r)),o&&!o[Wu]&&(o=Vc(o,i)),Dc((function(i,a,u,c){var s,l,f,d=[],m=[],p=a.length,g=i||Hc(t||"*",u.nodeType?[u]:u,[]),h=!e||!i&&t?g:jc(g,d,e,u,c),v=n?o||(i?e:p||r)?[]:a:h;if(n&&n(h,v,u,c),r){s=jc(v,m),r(s,[],u,c),l=s.length;while(l--)(f=s[l])&&(v[m[l]]=!(h[m[l]]=f))}if(i){if(o||e){if(o){s=[],l=v.length;while(l--)(f=v[l])&&s.push(h[l]=f);o(null,v=[],s,c)}l=v.length;while(l--)(f=v[l])&&(s=o?cc.call(i,f):d[l])>-1&&(i[s]=!(a[s]=f))}}else v=jc(v===a?v.splice(p,v.length):v),o?o(null,a,v,c):ac.apply(a,v)}))}function qc(e){for(var t,n,r,o=e.length,i=Yo.relative[e[0].type],a=i||Yo.relative[" "],u=i?1:0,c=zc((function(e){return e===t}),a,!0),s=zc((function(e){return cc.call(t,e)>-1}),a,!0),l=[function(e,n,r){var o=!i&&(r||n!==ni)||((t=n).nodeType?c(e,n,r):s(e,n,r));return t=null,o}];u<o;u++)if(n=Yo.relative[e[u].type])l=[zc(Uc(l),n)];else{if(n=Yo.filter[e[u].type].apply(null,e[u].matches),n[Wu]){for(r=++u;r<o;r++)if(Yo.relative[e[r].type])break;return Vc(u>1&&Uc(l),u>1&&Mc(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(pc,"$1"),n,u<r&&qc(e.slice(u,r)),r<o&&qc(e=e.slice(r)),r<o&&Mc(e))}l.push(n)}return Uc(l)}function $c(e,t){var n=t.length>0,r=e.length>0,o=function(o,i,a,u,c){var s,l,f,d=0,m="0",p=o&&[],g=[],h=ni,v=o||r&&Yo.find.TAG("*",c),b=Gu+=null==h?1:Math.random()||.1,y=v.length;for(c&&(ni=i!==ai&&i);m!==y&&null!=(s=v[m]);m++){if(r&&s){l=0;while(f=e[l++])if(f(s,i,a)){u.push(s);break}c&&(Gu=b)}n&&((s=!f&&s)&&d--,o&&p.push(s))}if(d+=m,n&&m!==d){l=0;while(f=t[l++])f(p,g,i,a);if(o){if(d>0)while(m--)p[m]||g[m]||(g[m]=oc.call(u));g=jc(g)}ac.apply(u,g),c&&!o&&g.length>0&&d+t.length>1&&Rc.uniqueSort(u)}return c&&(Gu=b,ni=h),p};return n?Dc(o):o}Xo=Rc.support={},Jo=Rc.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},ii=Rc.setDocument=function(e){var t,n=e?e.ownerDocument||e:Ku,r=n.defaultView;function o(e){try{return e.top}catch(t){}return null}return n!==ai&&9===n.nodeType&&n.documentElement?(ai=n,ui=n.documentElement,ci=!Jo(n),r&&r!==o(r)&&(r.addEventListener?r.addEventListener("unload",(function(){ii()}),!1):r.attachEvent&&r.attachEvent("onunload",(function(){ii()}))),Xo.attributes=!0,Xo.getElementsByTagName=!0,Xo.getElementsByClassName=kc.test(n.getElementsByClassName),Xo.getById=!0,Yo.find.ID=function(e,t){if(typeof t.getElementById!==ec&&ci){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},Yo.filter.ID=function(e){var t=e.replace(Tc,Ac);return function(e){return e.getAttribute("id")===t}},Yo.find.TAG=Xo.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==ec)return t.getElementsByTagName(e)}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){while(n=i[o++])1===n.nodeType&&r.push(n);return r}return i},Yo.find.CLASS=Xo.getElementsByClassName&&function(e,t){if(ci)return t.getElementsByClassName(e)},li=[],si=[],Xo.disconnectedMatch=!0,si=si.length&&new RegExp(si.join("|")),li=li.length&&new RegExp(li.join("|")),t=kc.test(ui.compareDocumentPosition),di=t||kc.test(ui.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},Qu=t?function(e,t){if(e===t)return oi=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&r||!Xo.sortDetached&&t.compareDocumentPosition(e)===r?e===n||e.ownerDocument===Ku&&di(Ku,e)?-1:t===n||t.ownerDocument===Ku&&di(Ku,t)?1:ri?cc.call(ri,e)-cc.call(ri,t):0:4&r?-1:1)}:function(e,t){if(e===t)return oi=!0,0;var r,o=0,i=e.parentNode,a=t.parentNode,u=[e],c=[t];if(!i||!a)return e===n?-1:t===n?1:i?-1:a?1:ri?cc.call(ri,e)-cc.call(ri,t):0;if(i===a)return Pc(e,t);r=e;while(r=r.parentNode)u.unshift(r);r=t;while(r=r.parentNode)c.unshift(r);while(u[o]===c[o])o++;return o?Pc(u[o],c[o]):u[o]===Ku?-1:c[o]===Ku?1:0},n):ai},Rc.matches=function(e,t){return Rc(e,null,null,t)},Rc.matchesSelector=function(e,t){if((e.ownerDocument||e)!==ai&&ii(e),t=t.replace(vc,"='$1']"),Xo.matchesSelector&&ci&&(!li||!li.test(t))&&(!si||!si.test(t)))try{var n=fi.call(e,t);if(n||Xo.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(hU){}return Rc(t,ai,null,[e]).length>0},Rc.contains=function(e,t){return(e.ownerDocument||e)!==ai&&ii(e),di(e,t)},Rc.attr=function(e,t){(e.ownerDocument||e)!==ai&&ii(e);var n=Yo.attrHandle[t.toLowerCase()],r=n&&nc.call(Yo.attrHandle,t.toLowerCase())?n(e,t,!ci):void 0;return void 0!==r?r:Xo.attributes||!ci?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},Rc.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},Rc.uniqueSort=function(e){var t,n=[],r=0,o=0;if(oi=!Xo.detectDuplicates,ri=!Xo.sortStable&&e.slice(0),e.sort(Qu),oi){while(t=e[o++])t===e[o]&&(r=n.push(o));while(r--)e.splice(n[r],1)}return ri=null,e},Zo=Rc.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"===typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=Zo(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=Zo(t);return n},Yo=Rc.selectors={cacheLength:50,createPseudo:Dc,match:Cc,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Tc,Ac),e[3]=(e[3]||e[4]||e[5]||"").replace(Tc,Ac),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Rc.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Rc.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Cc.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&bc.test(n)&&(t=Qo(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Tc,Ac).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=Yu[e+" "];return t||(t=new RegExp("(^|"+lc+")"+e+"("+lc+"|$)"))&&Yu(e,(function(e){return t.test("string"===typeof e.className&&e.className||typeof e.getAttribute!==ec&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=Rc.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),u="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,c){var s,l,f,d,m,p,g=i!==a?"nextSibling":"previousSibling",h=t.parentNode,v=u&&t.nodeName.toLowerCase(),b=!c&&!u;if(h){if(i){while(g){f=t;while(f=f[g])if(u?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?h.firstChild:h.lastChild],a&&b){l=h[Wu]||(h[Wu]={}),s=l[e]||[],m=s[0]===Gu&&s[1],d=s[0]===Gu&&s[2],f=m&&h.childNodes[m];while(f=++m&&f&&f[g]||(d=m=0)||p.pop())if(1===f.nodeType&&++d&&f===t){l[e]=[Gu,m,d];break}}else if(b&&(s=(t[Wu]||(t[Wu]={}))[e])&&s[0]===Gu)d=s[1];else while(f=++m&&f&&f[g]||(d=m=0)||p.pop())if((u?f.nodeName.toLowerCase()===v:1===f.nodeType)&&++d&&(b&&((f[Wu]||(f[Wu]={}))[e]=[Gu,d]),f===t))break;return d-=o,d===r||d%r===0&&d/r>=0}}},PSEUDO:function(e,t){var n,r=Yo.pseudos[e]||Yo.setFilters[e.toLowerCase()]||Rc.error("unsupported pseudo: "+e);return r[Wu]?r(t):r.length>1?(n=[e,e,"",t],Yo.setFilters.hasOwnProperty(e.toLowerCase())?Dc((function(e,n){var o,i=r(e,t),a=i.length;while(a--)o=cc.call(e,i[a]),e[o]=!(n[o]=i[a])})):function(e){return r(e,0,n)}):r}},pseudos:{not:Dc((function(e){var t=[],n=[],r=ei(e.replace(pc,"$1"));return r[Wu]?Dc((function(e,t,n,o){var i,a=r(e,null,o,[]),u=e.length;while(u--)(i=a[u])&&(e[u]=!(t[u]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:Dc((function(e){return function(t){return Rc(e,t).length>0}})),contains:Dc((function(e){return e=e.replace(Tc,Ac),function(t){return(t.textContent||t.innerText||Zo(t)).indexOf(e)>-1}})),lang:Dc((function(e){return yc.test(e||"")||Rc.error("unsupported lang: "+e),e=e.replace(Tc,Ac).toLowerCase(),function(t){var n;do{if(n=ci?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=window.location&&window.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===ui},focus:function(e){return e===ai.activeElement&&(!ai.hasFocus||ai.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!Yo.pseudos.empty(e)},header:function(e){return xc.test(e.nodeName)},input:function(e){return wc.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:Lc((function(){return[0]})),last:Lc((function(e,t){return[t-1]})),eq:Lc((function(e,t,n){return[n<0?n+t:n]})),even:Lc((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:Lc((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:Lc((function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e})),gt:Lc((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},Yo.pseudos.nth=Yo.pseudos.eq,J(["radio","checkbox","file","password","image"],(function(e){Yo.pseudos[e]=Bc(e)})),J(["submit","reset"],(function(e){Yo.pseudos[e]=Oc(e)})),Fc.prototype=Yo.filters=Yo.pseudos,Yo.setFilters=new Fc,Qo=Rc.tokenize=function(e,t){var n,r,o,i,a,u,c,s=Zu[e+" "];if(s)return t?0:s.slice(0);a=e,u=[],c=Yo.preFilter;while(a){for(i in n&&!(r=gc.exec(a))||(r&&(a=a.slice(r[0].length)||a),u.push(o=[])),n=!1,(r=hc.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(pc," ")}),a=a.slice(n.length)),Yo.filter)Yo.filter.hasOwnProperty(i)&&(!(r=Cc[i].exec(a))||c[i]&&!(r=c[i](r))||(n=r.shift(),o.push({value:n,type:i,matches:r}),a=a.slice(n.length)));if(!n)break}return t?a.length:a?Rc.error(e):Zu(e,u).slice(0)},ei=Rc.compile=function(e,t){var n,r=[],o=[],i=Ju[e+" "];if(!i){t||(t=Qo(e)),n=t.length;while(n--)i=qc(t[n]),i[Wu]?r.push(i):o.push(i);i=Ju(e,$c(o,r)),i.selector=e}return i},ti=Rc.select=function(e,t,n,r){var o,i,a,u,c,s="function"===typeof e&&e,l=!r&&Qo(e=s.selector||e);if(n=n||[],1===l.length){if(i=l[0]=l[0].slice(0),i.length>2&&"ID"===(a=i[0]).type&&Xo.getById&&9===t.nodeType&&ci&&Yo.relative[i[1].type]){if(t=(Yo.find.ID(a.matches[0].replace(Tc,Ac),t)||[])[0],!t)return n;s&&(t=t.parentNode),e=e.slice(i.shift().value.length)}o=Cc.needsContext.test(e)?0:i.length;while(o--){if(a=i[o],Yo.relative[u=a.type])break;if((c=Yo.find[u])&&(r=c(a.matches[0].replace(Tc,Ac),Ec.test(i[0].type)&&Ic(t.parentNode)||t))){if(i.splice(o,1),e=r.length&&Mc(i),!e)return ac.apply(n,r),n;break}}}return(s||ei(e,l))(r,t,!ci,n,Ec.test(e)&&Ic(t.parentNode)||t),n},Xo.sortStable=Wu.split("").sort(Qu).join("")===Wu,Xo.detectDuplicates=!!oi,ii(),Xo.sortDetached=!0;var Wc=document,Kc=Array.prototype.push,Gc=Array.prototype.slice,Xc=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,Yc=$u.Event,Zc=fn.makeMap("children,contents,next,prev"),Jc=function(e){return"undefined"!==typeof e},Qc=function(e){return"string"===typeof e},es=function(e){return e&&e===e.window},ts=function(e,t){t=t||Wc;var n,r=t.createElement("div"),o=t.createDocumentFragment();r.innerHTML=e;while(n=r.firstChild)o.appendChild(n);return o},ns=function(e,t,n,r){var o;if(Qc(t))t=ts(t,vs(e[0]));else if(t.length&&!t.nodeType){if(t=ws.makeArray(t),r)for(o=t.length-1;o>=0;o--)ns(e,t[o],n,r);else for(o=0;o<t.length;o++)ns(e,t[o],n,r);return e}if(t.nodeType){o=e.length;while(o--)n.call(e[o],t)}return e},rs=function(e,t){return e&&t&&-1!==(" "+e.className+" ").indexOf(" "+t+" ")},os=function(e,t,n){var r,o;return t=ws(t)[0],e.each((function(){var e=this;n&&r===e.parentNode||(r=e.parentNode,o=t.cloneNode(!1),e.parentNode.insertBefore(o,e)),o.appendChild(e)})),e},is=fn.makeMap("fillOpacity fontWeight lineHeight opacity orphans widows zIndex zoom"," "),as=fn.makeMap("checked compact declare defer disabled ismap multiple nohref noshade nowrap readonly selected"," "),us={for:"htmlFor",class:"className",readonly:"readOnly"},cs={float:"cssFloat"},ss={},ls={},fs=function(e,t){return new ws.fn.init(e,t)},ds=function(e,t){var n;if(t.indexOf)return t.indexOf(e);n=t.length;while(n--)if(t[n]===e)return n;return-1},ms=/^\s*|\s*$/g,ps=function(e){return null===e||void 0===e?"":(""+e).replace(ms,"")},gs=function(e,t){var n,r,o,i;if(e)if(n=e.length,void 0===n){for(r in e)if(e.hasOwnProperty(r)&&(i=e[r],!1===t.call(i,r,i)))break}else for(o=0;o<n;o++)if(i=e[o],!1===t.call(i,o,i))break;return e},hs=function(e,t){var n=[];return gs(e,(function(e,r){t(r,e)&&n.push(r)})),n},vs=function(e){return e?9===e.nodeType?e:e.ownerDocument:Wc};fs.fn=fs.prototype={constructor:fs,selector:"",context:null,length:0,init:function(e,t){var n,r,o=this;if(!e)return o;if(e.nodeType)return o.context=o[0]=e,o.length=1,o;if(t&&t.nodeType)o.context=t;else{if(t)return ws(e).attr(t);o.context=t=document}if(Qc(e)){if(o.selector=e,n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:Xc.exec(e),!n)return ws(t).find(e);if(n[1]){r=ts(e,vs(t)).firstChild;while(r)Kc.call(o,r),r=r.nextSibling}else{if(r=vs(t).getElementById(n[2]),!r)return o;if(r.id!==n[2])return o.find(e);o.length=1,o[0]=r}}else this.add(e,!1);return o},toArray:function(){return fn.toArray(this)},add:function(e,t){var n,r,o=this;if(Qc(e))return o.add(ws(e));if(!1!==t)for(n=ws.unique(o.toArray().concat(ws.makeArray(e))),o.length=n.length,r=0;r<n.length;r++)o[r]=n[r];else Kc.apply(o,ws.makeArray(e));return o},attr:function(e,t){var n,r=this;if("object"===typeof e)gs(e,(function(e,t){r.attr(e,t)}));else{if(!Jc(t)){if(r[0]&&1===r[0].nodeType){if(n=ss[e],n&&n.get)return n.get(r[0],e);if(as[e])return r.prop(e)?e:void 0;t=r[0].getAttribute(e,2),null===t&&(t=void 0)}return t}this.each((function(){var n;if(1===this.nodeType){if(n=ss[e],n&&n.set)return void n.set(this,t);null===t?this.removeAttribute(e,2):this.setAttribute(e,t,2)}}))}return r},removeAttr:function(e){return this.attr(e,null)},prop:function(e,t){var n=this;if(e=us[e]||e,"object"===typeof e)gs(e,(function(e,t){n.prop(e,t)}));else{if(!Jc(t))return n[0]&&n[0].nodeType&&e in n[0]?n[0][e]:t;this.each((function(){1===this.nodeType&&(this[e]=t)}))}return n},css:function(e,t){var n,r,o=this,i=function(e){return e.replace(/-(\D)/g,(function(e,t){return t.toUpperCase()}))},a=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e}))};if("object"===typeof e)gs(e,(function(e,t){o.css(e,t)}));else if(Jc(t))e=i(e),"number"!==typeof t||is[e]||(t=t.toString()+"px"),o.each((function(){var n=this.style;if(r=ls[e],r&&r.set)r.set(this,t);else{try{this.style[cs[e]||e]=t}catch(o){}null!==t&&""!==t||(n.removeProperty?n.removeProperty(a(e)):n.removeAttribute(e))}}));else{if(n=o[0],r=ls[e],r&&r.get)return r.get(n);if(!n.ownerDocument.defaultView)return n.currentStyle?n.currentStyle[i(e)]:"";try{return n.ownerDocument.defaultView.getComputedStyle(n,null).getPropertyValue(a(e))}catch(u){return}}return o},remove:function(){var e,t=this,n=this.length;while(n--)e=t[n],Yc.clean(e),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){var e,t=this,n=this.length;while(n--){e=t[n];while(e.firstChild)e.removeChild(e.firstChild)}return this},html:function(e){var t,n=this;if(Jc(e)){t=n.length;try{while(t--)n[t].innerHTML=e}catch(r){ws(n[t]).empty().append(e)}return n}return n[0]?n[0].innerHTML:""},text:function(e){var t,n=this;if(Jc(e)){t=n.length;while(t--)"innerText"in n[t]?n[t].innerText=e:n[0].textContent=e;return n}return n[0]?n[0].innerText||n[0].textContent:""},append:function(){return ns(this,arguments,(function(e){(1===this.nodeType||this.host&&1===this.host.nodeType)&&this.appendChild(e)}))},prepend:function(){return ns(this,arguments,(function(e){(1===this.nodeType||this.host&&1===this.host.nodeType)&&this.insertBefore(e,this.firstChild)}),!0)},before:function(){var e=this;return e[0]&&e[0].parentNode?ns(e,arguments,(function(e){this.parentNode.insertBefore(e,this)})):e},after:function(){var e=this;return e[0]&&e[0].parentNode?ns(e,arguments,(function(e){this.parentNode.insertBefore(e,this.nextSibling)}),!0):e},appendTo:function(e){return ws(e).append(this),this},prependTo:function(e){return ws(e).prepend(this),this},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){return os(this,e)},wrapAll:function(e){return os(this,e,!0)},wrapInner:function(e){return this.each((function(){ws(this).contents().wrapAll(e)})),this},unwrap:function(){return this.parent().each((function(){ws(this).replaceWith(this.childNodes)}))},clone:function(){var e=[];return this.each((function(){e.push(this.cloneNode(!0))})),ws(e)},addClass:function(e){return this.toggleClass(e,!0)},removeClass:function(e){return this.toggleClass(e,!1)},toggleClass:function(e,t){var n=this;return"string"!==typeof e||(-1!==e.indexOf(" ")?gs(e.split(" "),(function(){n.toggleClass(this,t)})):n.each((function(n,r){var o=rs(r,e);if(o!==t){var i=r.className;o?r.className=ps((" "+i+" ").replace(" "+e+" "," ")):r.className+=i?" "+e:e}}))),n},hasClass:function(e){return rs(this[0],e)},each:function(e){return gs(this,e)},on:function(e,t){return this.each((function(){Yc.bind(this,e,t)}))},off:function(e,t){return this.each((function(){Yc.unbind(this,e,t)}))},trigger:function(e){return this.each((function(){"object"===typeof e?Yc.fire(this,e.type,e):Yc.fire(this,e)}))},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},slice:function(){return ws(Gc.apply(this,arguments))},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},find:function(e){var t,n,r=[];for(t=0,n=this.length;t<n;t++)ws.find(e,this[t],r);return ws(r)},filter:function(e){return ws("function"===typeof e?hs(this.toArray(),(function(t,n){return e(n,t)})):ws.filter(e,this.toArray()))},closest:function(e){var t=[];return e instanceof ws&&(e=e[0]),this.each((function(n,r){while(r){if("string"===typeof e&&ws(r).is(e)){t.push(r);break}if(r===e){t.push(r);break}r=r.parentNode}})),ws(t)},offset:function(e){var t,n,r,o,i=0,a=0;return e?this.css(e):(t=this[0],t&&(n=t.ownerDocument,r=n.documentElement,t.getBoundingClientRect&&(o=t.getBoundingClientRect(),i=o.left+(r.scrollLeft||n.body.scrollLeft)-r.clientLeft,a=o.top+(r.scrollTop||n.body.scrollTop)-r.clientTop)),{left:i,top:a})},push:Kc,sort:Array.prototype.sort,splice:Array.prototype.splice},fn.extend(fs,{extend:fn.extend,makeArray:function(e){return es(e)||e.nodeType?[e]:fn.toArray(e)},inArray:ds,isArray:fn.isArray,each:gs,trim:ps,grep:hs,find:Rc,expr:Rc.selectors,unique:Rc.uniqueSort,text:Rc.getText,contains:Rc.contains,filter:function(e,t,n){var r=t.length;n&&(e=":not("+e+")");while(r--)1!==t[r].nodeType&&t.splice(r,1);return t=1===t.length?ws.find.matchesSelector(t[0],e)?[t[0]]:[]:ws.find.matches(e,t),t}});var bs=function(e,t,n){var r=[],o=e[t];"string"!==typeof n&&n instanceof ws&&(n=n[0]);while(o&&9!==o.nodeType){if(void 0!==n){if(o===n)break;if("string"===typeof n&&ws(o).is(n))break}1===o.nodeType&&r.push(o),o=o[t]}return r},ys=function(e,t,n,r){var o=[];for(r instanceof ws&&(r=r[0]);e;e=e[t])if(!n||e.nodeType===n){if(void 0!==r){if(e===r)break;if("string"===typeof r&&ws(e).is(r))break}o.push(e)}return o},Cs=function(e,t,n){for(e=e[t];e;e=e[t])if(e.nodeType===n)return e;return null};gs({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return bs(e,"parentNode")},next:function(e){return Cs(e,"nextSibling",1)},prev:function(e){return Cs(e,"previousSibling",1)},children:function(e){return ys(e.firstChild,"nextSibling",1)},contents:function(e){return fn.toArray(("iframe"===e.nodeName?e.contentDocument||e.contentWindow.document:e).childNodes)}},(function(e,t){fs.fn[e]=function(n){var r=this,o=[];r.each((function(){var e=t.call(o,this,n,o);e&&(ws.isArray(e)?o.push.apply(o,e):o.push(e))})),this.length>1&&(Zc[e]||(o=ws.unique(o)),0===e.indexOf("parents")&&(o=o.reverse()));var i=ws(o);return n?i.filter(n):i}})),gs({parentsUntil:function(e,t){return bs(e,"parentNode",t)},nextUntil:function(e,t){return ys(e,"nextSibling",1,t).slice(1)},prevUntil:function(e,t){return ys(e,"previousSibling",1,t).slice(1)}},(function(e,t){fs.fn[e]=function(n,r){var o=this,i=[];o.each((function(){var e=t.call(i,this,n,i);e&&(ws.isArray(e)?i.push.apply(i,e):i.push(e))})),this.length>1&&(i=ws.unique(i),0!==e.indexOf("parents")&&"prevUntil"!==e||(i=i.reverse()));var a=ws(i);return r?a.filter(r):a}})),fs.fn.is=function(e){return!!e&&this.filter(e).length>0},fs.fn.init.prototype=fs.fn,fs.overrideDefaults=function(e){var t,n=function(r,o){return t=t||e(),0===arguments.length&&(r=t.element),o||(o=t.context),new n.fn.init(r,o)};return ws.extend(n,this),n},fs.attrHooks=ss,fs.cssHooks=ls;var ws=fs,xs=fn.each,ks=fn.grep,Ss=Zt.ie,Es=/^([a-z0-9],?)+$/i,Ns=function(e,t,n){var r=t.keep_values,o={set:function(e,r,o){t.url_converter&&(r=t.url_converter.call(t.url_converter_scope||n(),r,o,e[0])),e.attr("data-mce-"+o,r).attr(o,r)},get:function(e,t){return e.attr("data-mce-"+t)||e.attr(t)}},i={style:{set:function(t,n){null===n||"object"!==typeof n?(r&&t.attr("data-mce-style",n),null!==n&&"string"===typeof n?(t.removeAttr("style"),t.css(e.parse(n))):t.attr("style",n)):t.css(n)},get:function(t){var n=t.attr("data-mce-style")||t.attr("style");return n=e.serialize(e.parse(n),t[0].nodeName),n}}};return r&&(i.href=i.src=o),i},Ts=function(e,t){var n=t.attr("style"),r=e.serialize(e.parse(n),t[0].nodeName);r||(r=null),t.attr("data-mce-style",r)},As=function(e,t){var n,r,o=0;if(e)for(n=e.nodeType,e=e.previousSibling;e;e=e.previousSibling)r=e.nodeType,(!t||3!==r||r!==n&&e.nodeValue.length)&&(o++,n=r);return o},Rs=function(e,t){void 0===t&&(t={});var n={},r=window,o={},i=0,a=!0,u=!0,c=Di.forElement(vn.fromDom(e),{contentCssCors:t.contentCssCors,referrerPolicy:t.referrerPolicy}),s=[],l=t.schema?t.schema:Du({}),f=Bu({url_converter:t.url_converter,url_converter_scope:t.url_converter_scope},t.schema),d=t.ownEvents?new $u:$u.Event,p=l.getBlockElements(),g=ws.overrideDefaults((function(){return{context:e,element:_e.getRoot()}})),h=function(e){if("string"===typeof e)return!!p[e];if(e){var t=e.nodeType;if(t)return!(1!==t||!p[e.nodeName])}return!1},v=function(t){return t&&e&&O(t)?e.getElementById(t):t},b=function(e){return g("string"===typeof e?v(e):e)},y=function(e,t,n){var r,o,i=b(e);return i.length&&(r=De[t],o=r&&r.get?r.get(i,t):i.attr(t)),"undefined"===typeof o&&(o=n||""),o},C=function(e){var t=v(e);return t?t.attributes:[]},w=function(e,n,r){""===r&&(r=null);var o=b(e),i=o.attr(n);if(o.length){var a=De[n];a&&a.set?a.set(o,r,n):o.attr(n,r),i!==r&&t.onSetAttrib&&t.onSetAttrib({attrElm:o,attrName:n,attrValue:r})}},x=function(t,n){if(!Ss||1!==t.nodeType||n)return t.cloneNode(n);var r=e.createElement(t.nodeName);return xs(C(t),(function(e){w(r,e.nodeName,y(t,e.nodeName))})),r},k=function(){return t.root_element||e.body},S=function(e){var t=Ir(e);return{x:t.x,y:t.y,w:t.width,h:t.height}},E=function(t,n){return No(e.body,v(t),n)},N=function(e,n,r){var o=O(n)?b(e).css(n,r):b(e).css(n);t.update_styles&&Ts(f,o)},T=function(e,n){var r=b(e).css(n);t.update_styles&&Ts(f,r)},A=function(e,t,n){var r=b(e);return n?r.css(t):(t=t.replace(/-(\D)/g,(function(e,t){return t.toUpperCase()})),"float"===t&&(t=Zt.browser.isIE()?"styleFloat":"cssFloat"),r[0]&&r[0].style?r[0].style[t]:void 0)},R=function(e){var t,n;return e=v(e),t=A(e,"width"),n=A(e,"height"),-1===t.indexOf("px")&&(t=0),-1===n.indexOf("px")&&(n=0),{w:parseInt(t,10)||e.offsetWidth||e.clientWidth,h:parseInt(n,10)||e.offsetHeight||e.clientHeight}},_=function(e){e=v(e);var t=E(e),n=R(e);return{x:t.x,y:t.y,w:n.w,h:n.h}},D=function(e,t){var n;if(!e)return!1;if(!Array.isArray(e)){if("*"===t)return 1===e.nodeType;if(Es.test(t)){var r=t.toLowerCase().split(/,/),o=e.nodeName.toLowerCase();for(n=r.length-1;n>=0;n--)if(r[n]===o)return!0;return!1}if(e.nodeType&&1!==e.nodeType)return!1}var i=Array.isArray(e)?e:[e];return Rc(t,i[0].ownerDocument||i[0],null,i).length>0},P=function(e,t,n,r){var o,i=[],a=v(e);r=void 0===r,n=n||("BODY"!==k().nodeName?k().parentNode:null),fn.is(t,"string")&&(o=t,t="*"===t?function(e){return 1===e.nodeType}:function(e){return D(e,o)});while(a){if(a===n||U(a.nodeType)||Zr(a)||Jr(a))break;if(!t||"function"===typeof t&&t(a)){if(!r)return[a];i.push(a)}a=a.parentNode}return r?i:null},B=function(e,t,n){var r=P(e,t,n,!1);return r&&r.length>0?r[0]:null},L=function(e,t,n){var r=t;if(e)for("string"===typeof t&&(r=function(e){return D(e,t)}),e=e[n];e;e=e[n])if("function"===typeof r&&r(e))return e;return null},I=function(e,t){return L(e,t,"nextSibling")},F=function(e,t){return L(e,t,"previousSibling")},M=function(n,r){return Rc(n,v(r)||t.root_element||e,[])},z=function(e,t,n){var r,o="string"===typeof e?v(e):e;if(!o)return!1;if(fn.isArray(o)&&(o.length||0===o.length))return r=[],xs(o,(function(e,o){e&&r.push(t.call(n,"string"===typeof e?v(e):e,o))})),r;var i=n||this;return t.call(i,o)},H=function(e,t){b(e).each((function(e,n){xs(t,(function(e,t){w(n,t,e)}))}))},j=function(e,t){var n=b(e);Ss?n.each((function(e,n){if(!1!==n.canHaveHTML){while(n.firstChild)n.removeChild(n.firstChild);try{n.innerHTML="<br>"+t,n.removeChild(n.firstChild)}catch(r){ws("<div></div>").html("<br>"+t).contents().slice(1).appendTo(n)}return t}})):n.html(t)},V=function(t,n,r,o,i){return z(t,(function(t){var a="string"===typeof n?e.createElement(n):n;return H(a,r),o&&("string"!==typeof o&&o.nodeType?a.appendChild(o):"string"===typeof o&&j(a,o)),i?a:t.appendChild(a)}))},q=function(t,n,r){return V(e.createElement(t),t,n,r,!0)},$=Cu.decode,W=Cu.encodeAllRaw,K=function(e,t,n){var r,o="";for(r in o+="<"+e,t)t.hasOwnProperty(r)&&null!==t[r]&&"undefined"!==typeof t[r]&&(o+=" "+r+'="'+W(t[r])+'"');return"undefined"!==typeof n?o+">"+n+"</"+e+">":o+" />"},G=function(t){var n,r=e.createElement("div"),o=e.createDocumentFragment();o.appendChild(r),t&&(r.innerHTML=t);while(n=r.firstChild)o.appendChild(n);return o.removeChild(r),o},X=function(e,t){var n=b(e);return t?n.each((function(){var e;while(e=this.firstChild)3===e.nodeType&&0===e.data.length?this.removeChild(e):this.parentNode.insertBefore(e,this)})).remove():n.remove(),n.length>1?n.toArray():n[0]},Y=function(e){return z(e,(function(e){var t,n=e.attributes;for(t=n.length-1;t>=0;t--)e.removeAttributeNode(n.item(t))}))},Z=function(e){return f.parse(e)},Q=function(e,t){return f.serialize(e,t)},ee=function(t){var r,o;if(_e!==Rs.DOM&&e===document){if(n[t])return;n[t]=!0}o=e.getElementById("mceDefaultStyles"),o||(o=e.createElement("style"),o.id="mceDefaultStyles",o.type="text/css",r=e.getElementsByTagName("head")[0],r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o)),o.styleSheet?o.styleSheet.cssText+=t:o.appendChild(e.createTextNode(t))},te=function(e){e||(e=""),J(e.split(","),(function(e){o[e]=!0,c.load(e,m)}))},ne=function(e,t,n){b(e).toggleClass(t,n).each((function(){""===this.className&&ws(this).attr("class",null)}))},re=function(e,t){b(e).addClass(t)},oe=function(e,t){ne(e,t,!1)},ie=function(e,t){return b(e).hasClass(t)},ae=function(e){b(e).show()},ue=function(e){b(e).hide()},ce=function(e){return"none"===b(e).css("display")},se=function(e){return(e||"mce_")+i++},le=function(e){var t="string"===typeof e?v(e):e;return zr(t)?t.outerHTML:ws("<div></div>").append(ws(t).clone()).html()},fe=function(e,t){b(e).each((function(){try{if("outerHTML"in this)return void(this.outerHTML=t)}catch(e){}X(ws(this).html(t),!0)}))},de=function(e,t){var n=v(t);return z(e,(function(e){var t=n.parentNode,r=n.nextSibling;return r?t.insertBefore(e,r):t.appendChild(e),e}))},me=function(e,t,n){return z(t,(function(t){return fn.is(t,"array")&&(e=e.cloneNode(!0)),n&&xs(ks(t.childNodes),(function(t){e.appendChild(t)})),t.parentNode.replaceChild(e,t)}))},pe=function(e,t){var n;return e.nodeName!==t.toUpperCase()&&(n=q(t),xs(C(e),(function(t){w(n,t.nodeName,y(e,t.nodeName))})),me(n,e,!0)),n||e},ge=function(e,t){var n,r=e;while(r){n=t;while(n&&r!==n)n=n.parentNode;if(r===n)break;r=r.parentNode}return!r&&e.ownerDocument?e.ownerDocument.documentElement:r},he=function(e){return f.toHex(fn.trim(e))},ve=function(e){if(zr(e)){var t="a"===e.nodeName.toLowerCase()&&!y(e,"href")&&y(e,"id");if(y(e,"name")||y(e,"data-mce-bookmark")||t)return!0}return!1},be=function(e,t){var n,r,o=0;if(ve(e))return!1;if(e=e.firstChild,e){var i=new Pi(e,e.parentNode),a=l?l.getWhiteSpaceElements():{};t=t||(l?l.getNonEmptyElements():null);do{if(n=e.nodeType,zr(e)){var u=e.getAttribute("data-mce-bogus");if(u){e=i.next("all"===u);continue}if(r=e.nodeName.toLowerCase(),t&&t[r]){if("br"===r){o++,e=i.next();continue}return!1}if(ve(e))return!1}if(8===n)return!1;if(3===n&&!za(e.nodeValue))return!1;if(3===n&&e.parentNode&&a[e.parentNode.nodeName]&&za(e.nodeValue))return!1;e=i.next()}while(e)}return o<=1},ye=function(){return e.createRange()},Ce=function(e,t,n){var r,o,i,a=ye();if(e&&t)return a.setStart(e.parentNode,As(e)),a.setEnd(t.parentNode,As(t)),r=a.extractContents(),a=ye(),a.setStart(t.parentNode,As(t)+1),a.setEnd(e.parentNode,As(e)+1),o=a.extractContents(),i=e.parentNode,i.insertBefore(nu(_e,r),e),n?i.insertBefore(n,e):i.insertBefore(t,e),i.insertBefore(nu(_e,o),e),X(e),n||t},xe=function(n,o,i,a){if(fn.isArray(n)){var u=n.length,c=[];while(u--)c[u]=xe(n[u],o,i,a);return c}!t.collect||n!==e&&n!==r||s.push([n,o,i,a]);var l=d.bind(n,o,i,a||_e);return l},ke=function(t,n,o){if(fn.isArray(t)){var i=t.length,a=[];while(i--)a[i]=ke(t[i],n,o);return a}if(s.length>0&&(t===e||t===r)){i=s.length;while(i--){var u=s[i];t!==u[0]||n&&n!==u[1]||o&&o!==u[2]||d.unbind(u[0],u[1],u[2])}}return d.unbind(t,n,o)},Se=function(e,t,n){return d.fire(e,t,n)},Ee=function(e){if(e&&zr(e)){var t=e.getAttribute("data-mce-contenteditable");return t&&"inherit"!==t?t:"inherit"!==e.contentEditable?e.contentEditable:null}return null},Ne=function(e){for(var t=k(),n=null;e&&e!==t;e=e.parentNode)if(n=Ee(e),null!==n)break;return n},Te=function(){if(s.length>0){var e=s.length;while(e--){var t=s[e];d.unbind(t[0],t[1],t[2])}}we(o,(function(e,t){c.unload(t),delete o[t]})),Rc.setDocument&&Rc.setDocument()},Ae=function(e,t){while(e){if(t===e)return!0;e=e.parentNode}return!1},Re=function(e){return"startContainer: "+e.startContainer.nodeName+", startOffset: "+e.startOffset+", endContainer: "+e.endContainer.nodeName+", endOffset: "+e.endOffset},_e={doc:e,settings:t,win:r,files:o,stdMode:a,boxModel:u,styleSheetLoader:c,boundEvents:s,styles:f,schema:l,events:d,isBlock:h,$:g,$$:b,root:null,clone:x,getRoot:k,getViewPort:S,getRect:_,getSize:R,getParent:B,getParents:P,get:v,getNext:I,getPrev:F,select:M,is:D,add:V,create:q,createHTML:K,createFragment:G,remove:X,setStyle:N,getStyle:A,setStyles:T,removeAllAttribs:Y,setAttrib:w,setAttribs:H,getAttrib:y,getPos:E,parseStyle:Z,serializeStyle:Q,addStyle:ee,loadCSS:te,addClass:re,removeClass:oe,hasClass:ie,toggleClass:ne,show:ae,hide:ue,isHidden:ce,uniqueId:se,setHTML:j,getOuterHTML:le,setOuterHTML:fe,decode:$,encode:W,insertAfter:de,replace:me,rename:pe,findCommonAncestor:ge,toHex:he,run:z,getAttribs:C,isEmpty:be,createRng:ye,nodeIndex:As,split:Ce,bind:xe,unbind:ke,fire:Se,getContentEditable:Ee,getContentEditableParent:Ne,destroy:Te,isChildOf:Ae,dumpRng:Re},De=Ns(f,t,(function(){return _e}));return _e};Rs.DOM=Rs(document),Rs.nodeIndex=As;var _s=Rs.DOM,Ds=fn.each,Ps=fn.grep,Bs=0,Os=1,Ls=2,Is=3,Fs=function(){function e(e){void 0===e&&(e={}),this.states={},this.queue=[],this.scriptLoadedCallbacks={},this.queueLoadedCallbacks=[],this.loading=0,this.settings=e}return e.prototype._setReferrerPolicy=function(e){this.settings.referrerPolicy=e},e.prototype.loadScript=function(e,t,n){var r,o=_s,i=function(){o.remove(c),r&&(r.onerror=r.onload=r=null)},a=function(){i(),t()},u=function(){i(),j(n)?n():"undefined"!==typeof console&&console.log&&console.log("Failed to load script: "+e)},c=o.uniqueId();r=document.createElement("script"),r.id=c,r.type="text/javascript",r.src=fn._addCacheSuffix(e),this.settings.referrerPolicy&&o.setAttrib(r,"referrerpolicy",this.settings.referrerPolicy),r.onload=a,r.onerror=u,(document.getElementsByTagName("head")[0]||document.body).appendChild(r)},e.prototype.isDone=function(e){return this.states[e]===Ls},e.prototype.markDone=function(e){this.states[e]=Ls},e.prototype.add=function(e,t,n,r){var o=this.states[e];this.queue.push(e),void 0===o&&(this.states[e]=Bs),t&&(this.scriptLoadedCallbacks[e]||(this.scriptLoadedCallbacks[e]=[]),this.scriptLoadedCallbacks[e].push({success:t,failure:r,scope:n||this}))},e.prototype.load=function(e,t,n,r){return this.add(e,t,n,r)},e.prototype.remove=function(e){delete this.states[e],delete this.scriptLoadedCallbacks[e]},e.prototype.loadQueue=function(e,t,n){this.loadScripts(this.queue,e,t,n)},e.prototype.loadScripts=function(e,t,n,r){var o=this,i=[],a=function(e,t){Ds(o.scriptLoadedCallbacks[t],(function(t){j(t[e])&&t[e].call(t.scope)})),o.scriptLoadedCallbacks[t]=void 0};o.queueLoadedCallbacks.push({success:t,failure:r,scope:n||this});var u=function(){var t=Ps(e);if(e.length=0,Ds(t,(function(e){o.states[e]!==Ls?o.states[e]!==Is?o.states[e]!==Os&&(o.states[e]=Os,o.loading++,o.loadScript(e,(function(){o.states[e]=Ls,o.loading--,a("success",e),u()}),(function(){o.states[e]=Is,o.loading--,i.push(e),a("failure",e),u()}))):a("failure",e):a("success",e)})),!o.loading){var n=o.queueLoadedCallbacks.slice(0);o.queueLoadedCallbacks.length=0,Ds(n,(function(e){0===i.length?j(e.success)&&e.success.call(e.scope):j(e.failure)&&e.failure.call(e.scope,i)}))}};u()},e.ScriptLoader=new e,e}(),Ms=function(e){var t=e,n=function(){return t},r=function(e){t=e};return{get:n,set:r}},zs=function(e){return L(e)&&De(e,"raw")},Us=function(e){return I(e)&&e.length>1},Hs={},js=Ms("en"),Vs=function(){return _e(Hs,js.get())},qs=function(){return xe(Hs,(function(e){return Ve({},e)}))},$s=function(e){e&&js.set(e)},Ws=function(){return js.get()},Ks=function(e,t){var n=Hs[e];n||(Hs[e]=n={}),we(t,(function(e,t){n[t.toLowerCase()]=e}))},Gs=function(e){var t=Vs().getOr({}),n=function(e){return j(e)?Object.prototype.toString.call(e):r(e)?"":""+e},r=function(e){return""===e||null===e||void 0===e},o=function(e){var r=n(e);return _e(t,r.toLowerCase()).map(n).getOr(r)},i=function(e){return e.replace(/{context:\w+}$/,"")};if(r(e))return"";if(zs(e))return n(e.raw);if(Us(e)){var a=e.slice(1),u=o(e[0]).replace(/\{([0-9]+)\}/g,(function(e,t){return De(a,t)?n(a[t]):e}));return i(u)}return i(o(e))},Xs=function(){return Vs().bind((function(e){return _e(e,"_dir")})).exists((function(e){return"rtl"===e}))},Ys=function(e){return De(Hs,e)},Zs={getData:qs,setCode:$s,getCode:Ws,add:Ks,translate:Gs,isRtl:Xs,hasCode:Ys},Js=function(){var e=[],t={},n={},r=[],o=function(e,t){var n=te(r,(function(n){return n.name===e&&n.state===t}));J(n,(function(e){return e.callback()}))},i=function(e){if(n[e])return n[e].instance},a=function(e){var t;return n[e]&&(t=n[e].dependencies),t||[]},u=function(e,n){!1!==Js.languageLoad&&p(e,(function(){var r=Zs.getCode(),o=","+(n||"")+",";!r||n&&-1===o.indexOf(","+r+",")||Fs.ScriptLoader.add(t[e]+"/langs/"+r+".js")}),"loaded")},c=function(t,r,i){var a=r;return e.push(a),n[t]={instance:a,dependencies:i},o(t,"added"),a},s=function(e){delete t[e],delete n[e]},l=function(e,t){return"object"===typeof t?t:"string"===typeof e?{prefix:"",resource:t,suffix:""}:{prefix:e.prefix,resource:t,suffix:e.suffix}},f=function(e,n){var r=t[e];J(n,(function(e){Fs.ScriptLoader.add(r+"/"+e)}))},d=function(e,t,n,r){var o=a(e);J(o,(function(e){var n=l(t,e);m(n.resource,n,void 0,void 0)})),n&&(r?n.call(r):n.call(Fs))},m=function(e,r,i,a,u){if(!t[e]){var c="string"===typeof r?r:r.prefix+r.resource+r.suffix;0!==c.indexOf("/")&&-1===c.indexOf("://")&&(c=Js.baseURL+"/"+c),t[e]=c.substring(0,c.lastIndexOf("/"));var s=function(){o(e,"loaded"),d(e,r,i,a)};n[e]?s():Fs.ScriptLoader.add(c,s,a,u)}},p=function(e,o,i){void 0===i&&(i="added"),De(n,e)&&"added"===i||De(t,e)&&"loaded"===i?o():r.push({name:e,state:i,callback:o})};return{items:e,urls:t,lookup:n,_listeners:r,get:i,dependencies:a,requireLangPack:u,add:c,remove:s,createUrl:l,addComponents:f,load:m,waitFor:p}};Js.languageLoad=!0,Js.baseURL="",Js.PluginManager=Js(),Js.ThemeManager=Js();var Qs=function(e,t){var n=null,r=function(){null!==n&&(clearTimeout(n),n=null)},o=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];null===n&&(n=setTimeout((function(){e.apply(null,r),n=null}),t))};return{cancel:r,throttle:o}},el=function(e,t){var n=null,r=function(){null!==n&&(clearTimeout(n),n=null)},o=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];null!==n&&clearTimeout(n),n=setTimeout((function(){e.apply(null,r),n=null}),t)};return{cancel:r,throttle:o}},tl=function(e,t){var n=so(e,t);return void 0===n||""===n?[]:n.split(" ")},nl=function(e,t,n){var r=tl(e,t),o=r.concat([n]);return uo(e,t,o.join(" ")),!0},rl=function(e,t,n){var r=te(tl(e,t),(function(e){return e!==n}));return r.length>0?uo(e,t,r.join(" ")):mo(e,t),!1},ol=function(e){return void 0!==e.dom.classList},il=function(e){return tl(e,"class")},al=function(e,t){return nl(e,"class",t)},ul=function(e,t){return rl(e,"class",t)},cl=function(e,t){ol(e)?e.dom.classList.add(t):al(e,t)},sl=function(e){var t=ol(e)?e.dom.classList:il(e);0===t.length&&mo(e,"class")},ll=function(e,t){if(ol(e)){var n=e.dom.classList;n.remove(t)}else ul(e,t);sl(e)},fl=function(e,t){return ol(e)&&e.dom.classList.contains(t)},dl=function(e,t){var n=[];return J(Qn(e),(function(e){t(e)&&(n=n.concat([e])),n=n.concat(dl(e,t))})),n},ml=function(e,t){return An(t,e)},pl=h("mce-annotation"),gl=h("data-mce-annotation"),hl=h("data-mce-annotation-uid"),vl=function(e,t){var n=e.selection.getRng(),r=vn.fromDom(n.startContainer),o=vn.fromDom(e.getBody()),i=t.fold((function(){return"."+pl()}),(function(e){return"["+gl()+'="'+e+'"]'})),a=er(r,n.startOffset).getOr(r),u=yi(a,i,(function(e){return _n(e,o)})),c=function(e,t){return fo(e,t)?R.some(so(e,t)):R.none()};return u.bind((function(t){return c(t,""+hl()).bind((function(n){return c(t,""+gl()).map((function(t){var r=yl(e,n);return{uid:n,name:t,elements:r}}))}))}))},bl=function(e){return Mn(e)&&fl(e,pl())},yl=function(e,t){var n=vn.fromDom(e.getBody());return ml(n,"["+hl()+'="'+t+'"]')},Cl=function(e,t){var n=vn.fromDom(e.getBody()),r=ml(n,"["+gl()+'="'+t+'"]'),o={};return J(r,(function(e){var t=so(e,hl()),n=o.hasOwnProperty(t)?o[t]:[];o[t]=n.concat([e])})),o},wl=function(e,t){var n=Ms({}),r=function(){return{listeners:[],previous:Ms(R.none())}},o=function(e,t){i(e,(function(e){return t(e),e}))},i=function(e,t){var o=n.get(),i=o.hasOwnProperty(e)?o[e]:r(),a=t(i);o[e]=a,n.set(o)},a=function(e,t,n){o(e,(function(r){J(r.listeners,(function(r){return r(!0,e,{uid:t,nodes:Z(n,(function(e){return e.dom}))})}))}))},u=function(e){o(e,(function(t){J(t.listeners,(function(t){return t(!1,e)}))}))},c=el((function(){var t=n.get(),r=me(ye(t));J(r,(function(t){i(t,(function(n){var r=n.previous.get();return vl(e,R.some(t)).fold((function(){r.isSome()&&(u(t),n.previous.set(R.none()))}),(function(e){var t=e.uid,o=e.name,i=e.elements;r.is(t)||(a(o,t,i),n.previous.set(R.some(t)))})),{previous:n.previous,listeners:n.listeners}}))}))}),30);e.on("remove",(function(){c.cancel()})),e.on("NodeChange",(function(){c.throttle()}));var s=function(e,t){i(e,(function(e){return{previous:e.previous,listeners:e.listeners.concat([t])}}))};return{addListener:s}},xl=function(e,t){var n=function(e){return R.from(e.attr(gl())).bind(t.lookup)};e.on("init",(function(){e.serializer.addNodeFilter("span",(function(e){J(e,(function(e){n(e).each((function(t){!1===t.persistent&&e.unwrap()}))}))}))}))},kl=function(){var e={},t=function(t,n){e[t]={name:t,settings:n}},n=function(t){return e.hasOwnProperty(t)?R.from(e[t]).map((function(e){return e.settings})):R.none()};return{register:t,lookup:n}},Sl=0,El=function(e){var t=new Date,n=t.getTime(),r=Math.floor(1e9*Math.random());return Sl++,e+"_"+r+Sl+String(n)},Nl=function(e,t){J(t,(function(t){cl(e,t)}))},Tl=function(e,t){var n=t||document,r=n.createElement("div");return r.innerHTML=e,Qn(vn.fromDom(r))},Al=function(e){return e.dom.innerHTML},Rl=function(e,t){var n=jn(e),r=n.dom,o=vn.fromDom(r.createDocumentFragment()),i=Tl(t,r);Cr(o,i),wr(e),vr(e,o)},_l=function(e,t){return vn.fromDom(e.dom.cloneNode(t))},Dl=function(e){return _l(e,!1)},Pl=function(e){return _l(e,!0)},Bl=function(e,t,n){void 0===n&&(n=k);var r=new Pi(e,t),o=function(e){var t;do{t=r[e]()}while(t&&!Xr(t)&&!n(t));return R.from(t).filter(Xr)};return{current:function(){return R.from(r.current()).filter(Xr)},next:function(){return o("next")},prev:function(){return o("prev")},prev2:function(){return o("prev2")}}},Ol=function(e,t){var n=t||function(t){return e.isBlock(t)||Qr(t)||no(t)},r=function(e,t,n,o){if(Xr(e)){var i=o(e,t,e.data);if(-1!==i)return R.some({container:e,offset:i})}return n().bind((function(e){return r(e.container,e.offset,n,o)}))},o=function(e,t,o,i){var a=Bl(e,i,n);return r(e,t,(function(){return a.prev().map((function(e){return{container:e,offset:e.length}}))}),o).getOrNull()},i=function(e,t,o,i){var a=Bl(e,i,n);return r(e,t,(function(){return a.next().map((function(e){return{container:e,offset:0}}))}),o).getOrNull()};return{backwards:o,forwards:i}},Ll=function(e){for(var t=[],n=function(e){t.push(e)},r=0;r<e.length;r++)e[r].each(n);return t},Il=function(e,t,n){return e.isSome()&&t.isSome()?R.some(n(e.getOrDie(),t.getOrDie())):R.none()},Fl=function(e,t,n,r){return e.isSome()&&t.isSome()&&n.isSome()?R.some(r(e.getOrDie(),t.getOrDie(),n.getOrDie())):R.none()},Ml=function(e,t){return e?R.some(t):R.none()},zl=Math.round,Ul=function(e){return e?{left:zl(e.left),top:zl(e.top),bottom:zl(e.bottom),right:zl(e.right),width:zl(e.width),height:zl(e.height)}:{left:0,top:0,bottom:0,right:0,width:0,height:0}},Hl=function(e,t){return e=Ul(e),t||(e.left=e.left+e.width),e.right=e.left,e.width=0,e},jl=function(e,t){return e.left===t.left&&e.top===t.top&&e.bottom===t.bottom&&e.right===t.right},Vl=function(e,t,n){return e>=0&&e<=Math.min(t.height,n.height)/2},ql=function(e,t){var n=Math.min(t.height/2,e.height/2);return e.bottom-n<t.top||!(e.top>t.bottom)&&Vl(t.top-e.bottom,e,t)},$l=function(e,t){return e.top>t.bottom||!(e.bottom<t.top)&&Vl(t.bottom-e.top,e,t)},Wl=function(e,t,n){return t>=e.left&&t<=e.right&&n>=e.top&&n<=e.bottom},Kl=function(e){var t=e.startContainer,n=e.startOffset;return t.hasChildNodes()&&e.endOffset===n+1?t.childNodes[n]:null},Gl=function(e,t){return 1===e.nodeType&&e.hasChildNodes()&&(t>=e.childNodes.length&&(t=e.childNodes.length-1),e=e.childNodes[t]),e},Xl=new RegExp("[̀-ͯ҃-҇҈-҉֑-ֽֿׁ-ׂׄ-ׇׅؐ-ًؚ-ٰٟۖ-ۜ۟-ۤۧ-۪ۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣣ-ंऺ़ु-ै्॑-ॗॢ-ॣঁ়াু-ৄ্ৗৢ-ৣਁ-ਂ਼ੁ-ੂੇ-ੈੋ-੍ੑੰ-ੱੵઁ-ં઼ુ-ૅે-ૈ્ૢ-ૣଁ଼ାିୁ-ୄ୍ୖୗୢ-ୣஂாீ்ௗఀా-ీె-ైొ-్ౕ-ౖౢ-ౣಁ಼ಿೂೆೌ-್ೕ-ೖೢ-ೣഁാു-ൄ്ൗൢ-ൣ්ාි-ුූෟัิ-ฺ็-๎ັິ-ູົ-ຼ່-ໍ༘-ཱ༹༙༵༷-ཾྀ-྄྆-྇ྍ-ྗྙ-ྼ࿆ိ-ူဲ-့္-်ွ-ှၘ-ၙၞ-ၠၱ-ၴႂႅ-ႆႍႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒ-ᝓᝲ-ᝳ឴-឵ិ-ួំ៉-៓៝᠋-᠍ᢩᤠ-ᤢᤧ-ᤨᤲ᤹-᤻ᨗ-ᨘᨛᩖᩘ-ᩞ᩠ᩢᩥ-ᩬᩳ-᩿᩼᪰-᪽᪾ᬀ-ᬃ᬴ᬶ-ᬺᬼᭂ᭫-᭳ᮀ-ᮁᮢ-ᮥᮨ-ᮩ᮫-ᮭ᯦ᯨ-ᯩᯭᯯ-ᯱᰬ-ᰳᰶ-᰷᳐-᳔᳒-᳢᳠-᳨᳭᳴᳸-᳹᷀-᷵᷼-᷿-⃐-⃜⃝-⃠⃡⃢-⃤⃥-⃰⳯-⵿⳱ⷠ-〪ⷿ-〭〮-゙〯-゚꙯꙰-꙲ꙴ-꙽ꚞ-ꚟ꛰-꛱ꠂ꠆ꠋꠥ-ꠦ꣄꣠-꣱ꤦ-꤭ꥇ-ꥑꦀ-ꦂ꦳ꦶ-ꦹꦼꧥꨩ-ꨮꨱ-ꨲꨵ-ꨶꩃꩌꩼꪰꪲ-ꪴꪷ-ꪸꪾ-꪿꫁ꫬ-ꫭ꫶ꯥꯨ꯭ﬞ︀-️︠-゙︯-゚]"),Yl=function(e){return"string"===typeof e&&e.charCodeAt(0)>=768&&Xl.test(e)},Zl=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){for(var n=0;n<e.length;n++)if(e[n](t))return!0;return!1}},Jl=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){for(var n=0;n<e.length;n++)if(!e[n](t))return!1;return!0}},Ql=zr,ef=Da,tf=Hr("display","block table"),nf=Hr("float","left right"),rf=Jl(Ql,ef,y(nf)),of=y(Hr("white-space","pre pre-line pre-wrap")),af=Xr,uf=Qr,cf=Rs.nodeIndex,sf=Gl,lf=function(e){return"createRange"in e?e.createRange():Rs.DOM.createRng()},ff=function(e){return e&&/[\r\n\t ]/.test(e)},df=function(e){return!!e.setStart&&!!e.setEnd},mf=function(e){var t,n=e.startContainer,r=e.startOffset;return!!(ff(e.toString())&&of(n.parentNode)&&Xr(n)&&(t=n.data,ff(t[r-1])||ff(t[r+1])))},pf=function(e){var t=e.ownerDocument,n=lf(t),r=t.createTextNode(ta),o=e.parentNode;o.insertBefore(r,e),n.setStart(r,0),n.setEnd(r,1);var i=Ul(n.getBoundingClientRect());return o.removeChild(r),i},gf=function(e){var t=e.startContainer,n=e.endContainer,r=e.startOffset,o=e.endOffset;if(t===n&&Xr(n)&&0===r&&1===o){var i=e.cloneRange();return i.setEndAfter(n),vf(i)}return null},hf=function(e){return 0===e.left&&0===e.right&&0===e.top&&0===e.bottom},vf=function(e){var t,n=e.getClientRects();return t=n.length>0?Ul(n[0]):Ul(e.getBoundingClientRect()),!df(e)&&uf(e)&&hf(t)?pf(e):hf(t)&&df(e)?gf(e):t},bf=function(e,t){var n=Hl(e,t);return n.width=1,n.right=n.left+1,n},yf=function(e){var t,n,r=[],o=function(e){0!==e.height&&(r.length>0&&jl(e,r[r.length-1])||r.push(e))},i=function(e,t){var n=lf(e.ownerDocument);if(t<e.data.length){if(Yl(e.data[t]))return r;if(Yl(e.data[t-1])&&(n.setStart(e,t),n.setEnd(e,t+1),!mf(n)))return o(bf(vf(n),!1)),r}t>0&&(n.setStart(e,t-1),n.setEnd(e,t),mf(n)||o(bf(vf(n),!1))),t<e.data.length&&(n.setStart(e,t),n.setEnd(e,t+1),mf(n)||o(bf(vf(n),!0)))};if(af(e.container()))return i(e.container(),e.offset()),r;if(Ql(e.container()))if(e.isAtEnd())n=sf(e.container(),e.offset()),af(n)&&i(n,n.data.length),rf(n)&&!uf(n)&&o(bf(vf(n),!1));else{if(n=sf(e.container(),e.offset()),af(n)&&i(n,0),rf(n)&&e.isAtEnd())return o(bf(vf(n),!1)),r;t=sf(e.container(),e.offset()-1),rf(t)&&!uf(t)&&(tf(t)||tf(n)||!rf(n))&&o(bf(vf(t),!1)),rf(n)&&o(bf(vf(n),!0))}return r},Cf=function(e,t,n){var r=function(){return af(e),0===t},o=function(){return af(e)?t>=e.data.length:t>=e.childNodes.length},i=function(){var n=lf(e.ownerDocument);return n.setStart(e,t),n.setEnd(e,t),n},a=function(){return n||(n=yf(Cf(e,t))),n},u=function(){return a().length>0},c=function(n){return n&&e===n.container()&&t===n.offset()},s=function(n){return sf(e,n?t-1:t)};return{container:h(e),offset:h(t),toRange:i,getClientRects:a,isVisible:u,isAtStart:r,isAtEnd:o,isEqual:c,getNode:s}};Cf.fromRangeStart=function(e){return Cf(e.startContainer,e.startOffset)},Cf.fromRangeEnd=function(e){return Cf(e.endContainer,e.endOffset)},Cf.after=function(e){return Cf(e.parentNode,cf(e)+1)},Cf.before=function(e){return Cf(e.parentNode,cf(e))},Cf.isAbove=function(e,t){return Il(ge(t.getClientRects()),he(e.getClientRects()),ql).getOr(!1)},Cf.isBelow=function(e,t){return Il(he(t.getClientRects()),ge(e.getClientRects()),$l).getOr(!1)},Cf.isAtStart=function(e){return!!e&&e.isAtStart()},Cf.isAtEnd=function(e){return!!e&&e.isAtEnd()},Cf.isTextPosition=function(e){return!!e&&Xr(e.container())},Cf.isElementPosition=function(e){return!1===Cf.isTextPosition(e)};var wf,xf=function(e,t){Xr(t)&&0===t.data.length&&e.remove(t)},kf=function(e,t,n){t.insertNode(n),xf(e,n.previousSibling),xf(e,n.nextSibling)},Sf=function(e,t,n){var r=R.from(n.firstChild),o=R.from(n.lastChild);t.insertNode(n),r.each((function(t){return xf(e,t.previousSibling)})),o.each((function(t){return xf(e,t.nextSibling)}))},Ef=function(e,t,n){Jr(n)?Sf(e,t,n):kf(e,t,n)},Nf=Xr,Tf=qr,Af=Rs.nodeIndex,Rf=function(e){var t=e.parentNode;return Tf(t)?Rf(t):t},_f=function(e){return e?Ue(e.childNodes,(function(e,t){return Tf(t)&&"BR"!==t.nodeName?e=e.concat(_f(t)):e.push(t),e}),[]):[]},Df=function(e,t){while(e=e.previousSibling){if(!Nf(e))break;t+=e.data.length}return t},Pf=function(e){return function(t){return e===t}},Bf=function(e){var t,n;t=_f(Rf(e)),n=He(t,Pf(e),e),t=t.slice(0,n+1);var r=Ue(t,(function(e,n,r){return Nf(n)&&Nf(t[r-1])&&e++,e}),0);return t=Me(t,Ur([e.nodeName])),n=He(t,Pf(e),e),n-r},Of=function(e){var t;return t=Nf(e)?"text()":e.nodeName.toLowerCase(),t+"["+Bf(e)+"]"},Lf=function(e,t,n){var r=[];for(t=t.parentNode;t!==e;t=t.parentNode){if(n&&n(t))break;r.push(t)}return r},If=function(e,t){var n,r,o,i,a,u=[];return n=t.container(),r=t.offset(),Nf(n)?o=Df(n,r):(i=n.childNodes,r>=i.length?(o="after",r=i.length-1):o="before",n=i[r]),u.push(Of(n)),a=Lf(e,n),a=Me(a,y(qr)),u=u.concat(Fe(a,(function(e){return Of(e)}))),u.reverse().join("/")+","+o},Ff=function(e,t,n){var r=_f(e);return r=Me(r,(function(e,t){return!Nf(e)||!Nf(r[t-1])})),r=Me(r,Ur([t])),r[n]},Mf=function(e,t){var n,r=e,o=0;while(Nf(r)){if(n=r.data.length,t>=o&&t<=o+n){e=r,t-=o;break}if(!Nf(r.nextSibling)){e=r,t=n;break}o+=n,r=r.nextSibling}return Nf(e)&&t>e.data.length&&(t=e.data.length),Cf(e,t)},zf=function(e,t){var n;if(!t)return null;var r=t.split(","),o=r[0].split("/");n=r.length>1?r[1]:"before";var i=Ue(o,(function(e,t){var n=/([\w\-\(\)]+)\[([0-9]+)\]/.exec(t);return n?("text()"===n[1]&&(n[1]="#text"),Ff(e,n[1],parseInt(n[2],10))):null}),e);return i?Nf(i)?Mf(i,parseInt(n,10)):(n="after"===n?Af(i)+1:Af(i),Cf(i.parentNode,n)):null},Uf=no,Hf=function(e,t,n){var r,o;for(o=e(t.data.slice(0,n)).length,r=t.previousSibling;r&&Xr(r);r=r.previousSibling)o+=e(r.data).length;return o},jf=function(e,t,n,r,o){var i,a=r[o?"startContainer":"endContainer"],u=r[o?"startOffset":"endOffset"],c=[],s=0,l=e.getRoot();for(Xr(a)?c.push(n?Hf(t,a,u):u):(i=a.childNodes,u>=i.length&&i.length&&(s=1,u=Math.max(0,i.length-1)),c.push(e.nodeIndex(i[u],n)+s));a&&a!==l;a=a.parentNode)c.push(e.nodeIndex(a,n));return c},Vf=function(e,t,n,r){var o=t.dom,i={};return i.start=jf(o,e,n,r,!0),t.isCollapsed()||(i.end=jf(o,e,n,r,!1)),i},qf=function(e,t,n){var r=0;return fn.each(e.select(t),(function(e){if("all"!==e.getAttribute("data-mce-bogus"))return e!==n&&void r++})),r},$f=function(e,t){var n,r,o,i=t?"start":"end";n=e[i+"Container"],r=e[i+"Offset"],zr(n)&&"TR"===n.nodeName&&(o=n.childNodes,n=o[Math.min(t?r:r-1,o.length-1)],n&&(r=t?0:n.childNodes.length,e["set"+(t?"Start":"End")](n,r)))},Wf=function(e){return $f(e,!0),$f(e,!1),e},Kf=function(e,t){var n;if(zr(e)&&(e=Gl(e,t),Uf(e)))return e;if(fa(e)){if(Xr(e)&&sa(e)&&(e=e.parentNode),n=e.previousSibling,Uf(n))return n;if(n=e.nextSibling,Uf(n))return n}},Gf=function(e){return Kf(e.startContainer,e.startOffset)||Kf(e.endContainer,e.endOffset)},Xf=function(e,t,n){var r=n.getNode(),o=r?r.nodeName:null,i=n.getRng();if(Uf(r)||"IMG"===o)return{name:o,index:qf(n.dom,o,r)};var a=Gf(i);return a?(o=a.tagName,{name:o,index:qf(n.dom,o,a)}):Vf(e,n,t,i)},Yf=function(e){var t=e.getRng();return{start:If(e.dom.getRoot(),Cf.fromRangeStart(t)),end:If(e.dom.getRoot(),Cf.fromRangeEnd(t))}},Zf=function(e){return{rng:e.getRng()}},Jf=function(e,t,n){var r={"data-mce-type":"bookmark",id:t,style:"overflow:hidden;line-height:0px"};return n?e.create("span",r,""):e.create("span",r)},Qf=function(e,t){var n=e.dom,r=e.getRng(),o=n.uniqueId(),i=e.isCollapsed(),a=e.getNode(),u=a.nodeName;if("IMG"===u)return{name:u,index:qf(n,u,a)};var c=Wf(r.cloneRange());if(!i){c.collapse(!1);var s=Jf(n,o+"_end",t);Ef(n,c,s)}r=Wf(r),r.collapse(!0);var l=Jf(n,o+"_start",t);return Ef(n,r,l),e.moveToBookmark({id:o,keep:!0}),{id:o}},ed=function(e,t,n){return 2===t?Xf(aa,n,e):3===t?Yf(e):t?Zf(e):Qf(e,!1)},td=b(Xf,v,!0),nd=Rs.DOM,rd="font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow",od=function(e,t,n){var r=e.getParam(t,n);if(-1!==r.indexOf("=")){var o=e.getParam(t,"","hash");return o.hasOwnProperty(e.id)?o[e.id]:n}return r},id=function(e){return e.getParam("iframe_attrs",{})},ad=function(e){return e.getParam("doctype","<!DOCTYPE html>")},ud=function(e){return e.getParam("document_base_url","")},cd=function(e){return od(e,"body_id","tinymce")},sd=function(e){return od(e,"body_class","")},ld=function(e){return e.getParam("content_security_policy","")},fd=function(e){return e.getParam("br_in_pre",!0)},dd=function(e){if(e.getParam("force_p_newlines",!1))return"p";var t=e.getParam("forced_root_block","p");return!1===t?"":!0===t?"p":t},md=function(e){return e.getParam("forced_root_block_attrs",{})},pd=function(e){return e.getParam("br_newline_selector",".mce-toc h2,figcaption,caption")},gd=function(e){return e.getParam("no_newline_selector","")},hd=function(e){return e.getParam("keep_styles",!0)},vd=function(e){return e.getParam("end_container_on_empty_block",!1)},bd=function(e){return fn.explode(e.getParam("font_size_style_values","xx-small,x-small,small,medium,large,x-large,xx-large"))},yd=function(e){return fn.explode(e.getParam("font_size_classes",""))},Cd=function(e){return e.getParam("images_dataimg_filter",S,"function")},wd=function(e){return e.getParam("automatic_uploads",!0,"boolean")},xd=function(e){return e.getParam("images_reuse_filename",!1,"boolean")},kd=function(e){return e.getParam("images_replace_blob_uris",!0,"boolean")},Sd=function(e){return e.getParam("icons","","string")},Ed=function(e){return e.getParam("icons_url","","string")},Nd=function(e){return e.getParam("images_upload_url","","string")},Td=function(e){return e.getParam("images_upload_base_path","","string")},Ad=function(e){return e.getParam("images_upload_credentials",!1,"boolean")},Rd=function(e){return e.getParam("images_upload_handler",null,"function")},_d=function(e){return e.getParam("content_css_cors",!1,"boolean")},Dd=function(e){return e.getParam("referrer_policy","","string")},Pd=function(e){return e.getParam("language","en","string")},Bd=function(e){return e.getParam("language_url","","string")},Od=function(e){return e.getParam("indent_use_margin",!1)},Ld=function(e){return e.getParam("indentation","40px","string")},Id=function(e){var t=e.getParam("content_css");return O(t)?Z(t.split(","),lt):I(t)?t:!1===t||e.inline?[]:["default"]},Fd=function(e){var t=e.getParam("font_css",[]);return I(t)?t:Z(t.split(","),lt)},Md=function(e){return e.getParam("directionality",Zs.isRtl()?"rtl":void 0)},zd=function(e){return e.getParam("inline_boundaries_selector","a[href],code,.mce-annotation","string")},Ud=function(e){var t=e.getParam("object_resizing");return!1!==t&&!Zt.iOS&&(O(t)?t:"table,img,figure.image,div,video,iframe")},Hd=function(e){return e.getParam("resize_img_proportional",!0,"boolean")},jd=function(e){return e.getParam("placeholder",nd.getAttrib(e.getElement(),"placeholder"),"string")},Vd=function(e){return e.getParam("event_root")},qd=function(e){return e.getParam("service_message")},$d=function(e){return e.getParam("theme")},Wd=function(e){return e.getParam("validate")},Kd=function(e){return!1!==e.getParam("inline_boundaries")},Gd=function(e){return e.getParam("formats")},Xd=function(e){var t=e.getParam("preview_styles",rd);return O(t)?t:""},Yd=function(e){return e.getParam("format_empty_lines",!1,"boolean")},Zd=function(e){return e.getParam("custom_ui_selector","","string")},Jd=function(e){return e.getParam("theme_url")},Qd=function(e){return e.getParam("inline")},em=function(e){return e.getParam("hidden_input")},tm=function(e){return e.getParam("submit_patch")},nm=function(e){return"xml"===e.getParam("encoding")},rm=function(e){return e.getParam("add_form_submit_trigger")},om=function(e){return e.getParam("add_unload_trigger")},im=function(e){return""!==dd(e)},am=function(e){return e.getParam("custom_undo_redo_levels",0,"number")},um=function(e){return e.getParam("disable_nodechange")},cm=function(e){return e.getParam("readonly")},sm=function(e){return e.getParam("content_css_cors")},lm=function(e){return e.getParam("plugins","","string")},fm=function(e){return e.getParam("external_plugins")},dm=function(e){return e.getParam("block_unsupported_drop",!0,"boolean")},mm=function(e){return e.getParam("visual",!0,"boolean")},pm=function(e){return e.getParam("visual_table_class","mce-item-table","string")},gm=function(e){return e.getParam("visual_anchor_class","mce-item-anchor","string")},hm=zr,vm=Xr,bm=function(e){var t=e.parentNode;t&&t.removeChild(e)},ym=function(e){var t=aa(e);return{count:e.length-t.length,text:t}},Cm=function(e){var t;while(-1!==(t=e.data.lastIndexOf(oa)))e.deleteData(t,1)},wm=function(e,t){return Tm(e),t},xm=function(e,t){var n=ym(e.data.substr(0,t.offset())),r=ym(e.data.substr(t.offset())),o=n.text+r.text;return o.length>0?(Cm(e),Cf(e,t.offset()-n.count)):t},km=function(e,t){var n=t.container(),r=G(ve(n.childNodes),e).map((function(e){return e<t.offset()?Cf(n,t.offset()-1):t})).getOr(t);return Tm(e),r},Sm=function(e,t){return vm(e)&&t.container()===e?xm(e,t):wm(e,t)},Em=function(e,t){return t.container()===e.parentNode?km(e,t):wm(e,t)},Nm=function(e,t){return Cf.isTextPosition(t)?Sm(e,t):Em(e,t)},Tm=function(e){hm(e)&&fa(e)&&(da(e)?e.removeAttribute("data-mce-caret"):bm(e)),vm(e)&&(Cm(e),0===e.data.length&&bm(e))},Am=jt().browser,Rm=no,_m=oo,Dm=ro,Pm="*[contentEditable=false],video,audio,embed,object",Bm=function(e,t,n){var r,o,i,a,u,c=Hl(t.getBoundingClientRect(),n);return"BODY"===e.tagName?(r=e.ownerDocument.documentElement,o=e.scrollLeft||r.scrollLeft,i=e.scrollTop||r.scrollTop):(u=e.getBoundingClientRect(),o=e.scrollLeft-u.left,i=e.scrollTop-u.top),c.left+=o,c.right+=o,c.top+=i,c.bottom+=i,c.width=1,a=t.offsetWidth-t.clientWidth,a>0&&(n&&(a*=-1),c.left+=a,c.right+=a),c},Om=function(e){for(var t=ml(vn.fromDom(e),Pm),n=0;n<t.length;n++){var r=t[n].dom,o=r.previousSibling;if(ya(o)){var i=o.data;1===i.length?o.parentNode.removeChild(o):o.deleteData(i.length-1,1)}if(o=r.nextSibling,ba(o)){i=o.data;1===i.length?o.parentNode.removeChild(o):o.deleteData(0,1)}}},Lm=function(e,t,n,r){var o,i,a=Ms(R.none()),u=dd(e),c=u.length>0?u:"p",s=function(e,r){var o,u;if(l(),Dm(r))return null;if(!n(r))return i=ma(r,e),u=r.ownerDocument.createRange(),Fm(i.nextSibling)?(u.setStart(i,0),u.setEnd(i,0)):(u.setStart(i,1),u.setEnd(i,1)),u;i=va(c,r,e),o=Bm(t,r,e),ws(i).css("top",o.top);var s=ws('<div class="mce-visual-caret" data-mce-bogus="all"></div>').css(o).appendTo(t)[0];return a.set(R.some({caret:s,element:r,before:e})),a.get().each((function(t){e&&ws(t.caret).addClass("mce-visual-caret-before")})),f(),u=r.ownerDocument.createRange(),u.setStart(i,0),u.setEnd(i,0),u},l=function(){Om(t),i&&(Tm(i),i=null),a.get().each((function(e){ws(e.caret).remove(),a.set(R.none())})),o&&(Ai.clearInterval(o),o=null)},f=function(){o=Ai.setInterval((function(){r()?ws("div.mce-visual-caret",t).toggleClass("mce-visual-caret-hidden"):ws("div.mce-visual-caret",t).addClass("mce-visual-caret-hidden")}),500)},d=function(){a.get().each((function(e){var n=Bm(t,e.element,e.before);ws(e.caret).css(Ve({},n))}))},m=function(){return Ai.clearInterval(o)},p=function(){return".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}"};return{show:s,hide:l,getCss:p,reposition:d,destroy:m}},Im=function(){return Am.isIE()||Am.isEdge()||Am.isFirefox()},Fm=function(e){return Rm(e)||_m(e)},Mm=function(e){return Fm(e)||Wr(e)&&Im()},zm=no,Um=oo,Hm=Hr("display","block table table-cell table-caption list-item"),jm=fa,Vm=sa,qm=zr,$m=Da,Wm=function(e){return e>0},Km=function(e){return e<0},Gm=function(e,t){var n;while(n=e(t))if(!Vm(n))return n;return null},Xm=function(e,t,n,r,o){var i=new Pi(e,r),a=zm(e)||Vm(e);if(Km(t)){if(a&&(e=Gm(i.prev.bind(i),!0),n(e)))return e;while(e=Gm(i.prev.bind(i),o))if(n(e))return e}if(Wm(t)){if(a&&(e=Gm(i.next.bind(i),!0),n(e)))return e;while(e=Gm(i.next.bind(i),o))if(n(e))return e}return null},Ym=function(e,t){while(e&&e!==t){if(Hm(e))return e;e=e.parentNode}return null},Zm=function(e,t,n){return Ym(e.container(),n)===Ym(t.container(),n)},Jm=function(e,t){if(!t)return null;var n=t.container(),r=t.offset();return qm(n)?n.childNodes[r+e]:null},Qm=function(e,t){var n=t.ownerDocument.createRange();return e?(n.setStartBefore(t),n.setEndBefore(t)):(n.setStartAfter(t),n.setEndAfter(t)),n},ep=function(e,t,n){return Ym(t,e)===Ym(n,e)},tp=function(e,t,n){var r,o;o=e?"previousSibling":"nextSibling";while(n&&n!==t){if(r=n[o],jm(r)&&(r=r[o]),zm(r)||Um(r)){if(ep(t,r,n))return r;break}if($m(r))break;n=n.parentNode}return null},np=b(Qm,!0),rp=b(Qm,!1),op=function(e,t,n){var r,o,i,a=b(tp,!0,t),u=b(tp,!1,t);o=n.startContainer;var c=n.startOffset;if(sa(o)){if(qm(o)||(o=o.parentNode),i=o.getAttribute("data-mce-caret"),"before"===i&&(r=o.nextSibling,Mm(r)))return np(r);if("after"===i&&(r=o.previousSibling,Mm(r)))return rp(r)}if(!n.collapsed)return n;if(Xr(o)){if(jm(o)){if(1===e){if(r=u(o),r)return np(r);if(r=a(o),r)return rp(r)}if(-1===e){if(r=a(o),r)return rp(r);if(r=u(o),r)return np(r)}return n}if(ya(o)&&c>=o.data.length-1)return 1===e&&(r=u(o),r)?np(r):n;if(ba(o)&&c<=1)return-1===e&&(r=a(o),r)?rp(r):n;if(c===o.data.length)return r=u(o),r?np(r):n;if(0===c)return r=a(o),r?rp(r):n}return n},ip=function(e,t){return R.from(Jm(e?0:-1,t)).filter(zm)},ap=function(e,t,n){var r=op(e,t,n);return-1===e?Cf.fromRangeStart(r):Cf.fromRangeEnd(r)},up=function(e){return R.from(e.getNode()).map(vn.fromDom)},cp=function(e){return R.from(e.getNode(!0)).map(vn.fromDom)},sp=function(e,t){while(t=e(t))if(t.isVisible())return t;return t},lp=function(e,t){var n=Zm(e,t);return!(n||!Qr(e.getNode()))||n};(function(e){e[e["Backwards"]=-1]="Backwards",e[e["Forwards"]=1]="Forwards"})(wf||(wf={}));var fp=no,dp=Xr,mp=zr,pp=Qr,gp=Da,hp=Ia,vp=Fa,bp=function(e,t){var n=[];while(e&&e!==t)n.push(e),e=e.parentNode;return n},yp=function(e,t){return e.hasChildNodes()&&t<e.childNodes.length?e.childNodes[t]:null},Cp=function(e,t){if(Wm(e)){if(gp(t.previousSibling)&&!dp(t.previousSibling))return Cf.before(t);if(dp(t))return Cf(t,0)}if(Km(e)){if(gp(t.nextSibling)&&!dp(t.nextSibling))return Cf.after(t);if(dp(t))return Cf(t,t.data.length)}return Km(e)?pp(t)?Cf.before(t):Cf.after(t):Cf.before(t)},wp=function(e,t){var n=t.nextSibling;return n&&gp(n)?dp(n)?Cf(n,0):Cf.before(n):xp(wf.Forwards,Cf.after(t),e)},xp=function(e,t,n){var r,o,i,a;if(!mp(n)||!t)return null;if(t.isEqual(Cf.after(n))&&n.lastChild){if(a=Cf.after(n.lastChild),Km(e)&&gp(n.lastChild)&&mp(n.lastChild))return pp(n.lastChild)?Cf.before(n.lastChild):a}else a=t;var u=a.container(),c=a.offset();if(dp(u)){if(Km(e)&&c>0)return Cf(u,--c);if(Wm(e)&&c<u.length)return Cf(u,++c);r=u}else{if(Km(e)&&c>0&&(o=yp(u,c-1),gp(o)))return!hp(o)&&(i=Xm(o,e,vp,o),i)?dp(i)?Cf(i,i.data.length):Cf.after(i):dp(o)?Cf(o,o.data.length):Cf.before(o);if(Wm(e)&&c<u.childNodes.length&&(o=yp(u,c),gp(o)))return pp(o)?wp(n,o):!hp(o)&&(i=Xm(o,e,vp,o),i)?dp(i)?Cf(i,0):Cf.before(i):dp(o)?Cf(o,0):Cf.after(o);r=o||a.getNode()}if((Wm(e)&&a.isAtEnd()||Km(e)&&a.isAtStart())&&(r=Xm(r,e,S,n,!0),vp(r,n)))return Cp(e,r);o=Xm(r,e,vp,n);var s=je(te(bp(u,n),fp));return!s||o&&s.contains(o)?o?Cp(e,o):null:(a=Wm(e)?Cf.after(s):Cf.before(s),a)},kp=function(e){return{next:function(t){return xp(wf.Forwards,t,e)},prev:function(t){return xp(wf.Backwards,t,e)}}},Sp=function(e,t,n){var r=e?Cf.before(n):Cf.after(n);return Dp(e,t,r)},Ep=function(e){return Qr(e)?Cf.before(e):Cf.after(e)},Np=function(e){return Cf.isTextPosition(e)?0===e.offset():Da(e.getNode())},Tp=function(e){if(Cf.isTextPosition(e)){var t=e.container();return e.offset()===t.data.length}return Da(e.getNode(!0))},Ap=function(e,t){return!Cf.isTextPosition(e)&&!Cf.isTextPosition(t)&&e.getNode()===t.getNode(!0)},Rp=function(e){return!Cf.isTextPosition(e)&&Qr(e.getNode())},_p=function(e,t,n){return e?!Ap(t,n)&&!Rp(t)&&Tp(t)&&Np(n):!Ap(n,t)&&Np(t)&&Tp(n)},Dp=function(e,t,n){var r=kp(t);return R.from(e?r.next(n):r.prev(n))},Pp=function(e,t,n){return Dp(e,t,n).bind((function(r){return Zm(n,r,t)&&_p(e,n,r)?Dp(e,t,r):R.some(r)}))},Bp=function(e,t,n,r){return Pp(e,t,n).bind((function(n){return r(n)?Bp(e,t,n,r):R.some(n)}))},Op=function(e,t){var n=e?t.firstChild:t.lastChild;return Xr(n)?R.some(Cf(n,e?0:n.data.length)):n?Da(n)?R.some(e?Cf.before(n):Ep(n)):Sp(e,t,n):R.none()},Lp=b(Dp,!0),Ip=b(Dp,!1),Fp=b(Op,!0),Mp=b(Op,!1),zp="_mce_caret",Up=function(e){return zr(e)&&e.id===zp},Hp=function(e,t){while(t&&t!==e){if(t.id===zp)return t;t=t.parentNode}return null},jp=function(e){return O(e.start)},Vp=function(e){return e.hasOwnProperty("rng")},qp=function(e){return e.hasOwnProperty("id")},$p=function(e){return e.hasOwnProperty("name")},Wp=function(e){return fn.isArray(e.start)},Kp=function(e,t){return zr(t)&&e.isBlock(t)&&!t.innerHTML&&!Zt.ie&&(t.innerHTML='<br data-mce-bogus="1" />'),t},Gp=function(e,t){var n,r=e.createRng();return n=zf(e.getRoot(),t.start),r.setStart(n.container(),n.offset()),n=zf(e.getRoot(),t.end),r.setEnd(n.container(),n.offset()),r},Xp=function(e,t){var n=e.ownerDocument.createTextNode(oa);e.appendChild(n),t.setStart(n,0),t.setEnd(n,0)},Yp=function(e){return!1===e.hasChildNodes()},Zp=function(e,t){return Mp(e).fold(k,(function(e){return t.setStart(e.container(),e.offset()),t.setEnd(e.container(),e.offset()),!0}))},Jp=function(e,t,n){return!(!Yp(t)||!Hp(e,t))&&(Xp(t,n),!0)},Qp=function(e,t,n,r){var o,i,a,u,c=n[t?"start":"end"],s=e.getRoot();if(c){for(a=c[0],i=s,o=c.length-1;o>=1;o--){if(u=i.childNodes,Jp(s,i,r))return!0;if(c[o]>u.length-1)return!!Jp(s,i,r)||Zp(i,r);i=u[c[o]]}3===i.nodeType&&(a=Math.min(c[0],i.nodeValue.length)),1===i.nodeType&&(a=Math.min(c[0],i.childNodes.length)),t?r.setStart(i,a):r.setEnd(i,a)}return!0},eg=function(e){return Xr(e)&&e.data.length>0},tg=function(e,t,n){var r,o,i,a,u,c,s=e.get(n.id+"_"+t),l=n.keep;if(s){if(r=s.parentNode,"start"===t?(l?s.hasChildNodes()?(r=s.firstChild,o=1):eg(s.nextSibling)?(r=s.nextSibling,o=0):eg(s.previousSibling)?(r=s.previousSibling,o=s.previousSibling.data.length):(r=s.parentNode,o=e.nodeIndex(s)+1):o=e.nodeIndex(s),u=r,c=o):(l?s.hasChildNodes()?(r=s.firstChild,o=1):eg(s.previousSibling)?(r=s.previousSibling,o=s.previousSibling.data.length):(r=s.parentNode,o=e.nodeIndex(s)):o=e.nodeIndex(s),u=r,c=o),!l){a=s.previousSibling,i=s.nextSibling,fn.each(fn.grep(s.childNodes),(function(e){Xr(e)&&(e.nodeValue=e.nodeValue.replace(/\uFEFF/g,""))}));while(s=e.get(n.id+"_"+t))e.remove(s,!0);a&&i&&a.nodeType===i.nodeType&&Xr(a)&&!Zt.opera&&(o=a.nodeValue.length,a.appendData(i.nodeValue),e.remove(i),u=a,c=o)}return R.some(Cf(u,c))}return R.none()},ng=function(e,t){var n=e.createRng();return Qp(e,!0,t,n)&&Qp(e,!1,t,n)?R.some(n):R.none()},rg=function(e,t){var n=tg(e,"start",t),r=tg(e,"end",t);return Il(n,r.or(n),(function(t,n){var r=e.createRng();return r.setStart(Kp(e,t.container()),t.offset()),r.setEnd(Kp(e,n.container()),n.offset()),r}))},og=function(e,t){return R.from(e.select(t.name)[t.index]).map((function(t){var n=e.createRng();return n.selectNode(t),n}))},ig=function(e,t){var n=e.dom;if(t){if(Wp(t))return ng(n,t);if(jp(t))return R.some(Gp(n,t));if(qp(t))return rg(n,t);if($p(t))return og(n,t);if(Vp(t))return R.some(t.rng)}return R.none()},ag=function(e,t,n){return ed(e,t,n)},ug=function(e,t){ig(e,t).each((function(t){e.setRng(t)}))},cg=function(e){return zr(e)&&"SPAN"===e.tagName&&"bookmark"===e.getAttribute("data-mce-type")},sg=function(e){return function(t){return e===t}},lg=sg(ta),fg=function(e){return""!==e&&-1!==" \f\n\r\t\v".indexOf(e)},dg=function(e){return!fg(e)&&!lg(e)},mg=function(e){return!!e.nodeType},pg=function(e){return e&&/^(IMG)$/.test(e.nodeName)},gg=function(e,t,n){var r,o,i,a=n.startOffset,u=n.startContainer;if((n.startContainer!==n.endContainer||!pg(n.startContainer.childNodes[n.startOffset]))&&1===u.nodeType)for(i=u.childNodes,a<i.length?(u=i[a],r=new Pi(u,e.getParent(u,e.isBlock))):(u=i[i.length-1],r=new Pi(u,e.getParent(u,e.isBlock)),r.next(!0)),o=r.current();o;o=r.next())if(3===o.nodeType&&!yg(o))return n.setStart(o,0),void t.setRng(n)},hg=function(e,t,n){if(e){var r=t?"nextSibling":"previousSibling";for(e=n?e:e[r];e;e=e[r])if(1===e.nodeType||!yg(e))return e}},vg=function(e,t){return mg(t)&&(t=t.nodeName),!!e.schema.getTextBlockElements()[t.toLowerCase()]},bg=function(e,t,n){return e.schema.isValidChild(t,n)},yg=function(e,t){if(void 0===t&&(t=!1),H(e)&&Xr(e)){var n=t?e.data.replace(/ /g," "):e.data;return za(n)}return!1},Cg=function(e){return H(e)&&Xr(e)&&0===e.length},wg=function(e,t){return"string"!==typeof e?e=e(t):t&&(e=e.replace(/%(\w+)/g,(function(e,n){return t[n]||e}))),e},xg=function(e,t){return e=e||"",t=t||"",e=""+(e.nodeName||e),t=""+(t.nodeName||t),e.toLowerCase()===t.toLowerCase()},kg=function(e,t,n){return"color"!==n&&"backgroundColor"!==n||(t=e.toHex(t)),"fontWeight"===n&&700===t&&(t="bold"),"fontFamily"===n&&(t=t.replace(/[\'\"]/g,"").replace(/,\s+/g,",")),""+t},Sg=function(e,t,n){return kg(e,e.getStyle(t,n),n)},Eg=function(e,t){var n;return e.getParent(t,(function(t){return n=e.getStyle(t,"text-decoration"),n&&"none"!==n})),n},Ng=function(e,t,n){return e.getParents(t,n,e.getRoot())},Tg=function(e,t){var n=function(e){var t=function(e){return e.length>1&&"%"===e.charAt(0)};return Y(["styles","attributes"],(function(n){return _e(e,n).exists((function(e){var n=I(e)?e:Re(e);return Y(n,t)}))}))};return Y(e.formatter.get(t),n)},Ag=function(e,t,n){var r=["inline","block","selector","attributes","styles","classes"],o=function(e){return Te(e,(function(e,t){return Y(r,(function(e){return e===t}))}))};return Y(e.formatter.get(t),(function(t){var r=o(t);return Y(e.formatter.get(n),(function(e){var t=o(e);return Be(r,t)}))}))},Rg=function(e){return Pe(e,"block")},_g=function(e){return Pe(e,"selector")},Dg=function(e){return Pe(e,"inline")},Pg=cg,Bg=Ng,Og=yg,Lg=vg,Ig=function(e){return Qr(e)&&e.getAttribute("data-mce-bogus")&&!e.nextSibling},Fg=function(e,t){var n=t;while(n){if(zr(n)&&e.getContentEditable(n))return"false"===e.getContentEditable(n)?n:t;n=n.parentNode}return t},Mg=function(e,t,n,r){for(var o=t.data,i=n;e?i>=0:i<o.length;e?i--:i++)if(r(o.charAt(i)))return e?i+1:i;return-1},zg=function(e,t,n){return Mg(e,t,n,(function(e){return lg(e)||fg(e)}))},Ug=function(e,t,n){return Mg(e,t,n,dg)},Hg=function(e,t,n,r,o,i){var a,u=e.getParent(n,e.isBlock)||t,c=function(t,n,r){var i=Ol(e),c=o?i.backwards:i.forwards;return R.from(c(t,n,(function(e,t){return Pg(e.parentNode)?-1:(a=e,r(o,e,t))}),u))},s=c(n,r,zg);return s.bind((function(e){return i?c(e.container,e.offset+(o?-1:0),Ug):R.some(e)})).orThunk((function(){return a?R.some({container:a,offset:o?0:a.length}):R.none()}))},jg=function(e,t,n,r,o){Xr(r)&&0===r.nodeValue.length&&r[o]&&(r=r[o]);for(var i=Bg(e,r),a=0;a<i.length;a++)for(var u=0;u<t.length;u++){var c=t[u];if((!("collapsed"in c)||c.collapsed===n.collapsed)&&e.is(i[a],c.selector))return i[a]}return r},Vg=function(e,t,n,r){var o,i=e.dom,a=i.getRoot();if(t[0].wrapper||(o=i.getParent(n,t[0].block,a)),!o){var u=i.getParent(n,"LI,TD,TH");o=i.getParent(Xr(n)?n.parentNode:n,(function(t){return t!==a&&Lg(e,t)}),u)}if(o&&t[0].wrapper&&(o=Bg(i,o,"ul,ol").reverse()[0]||o),!o){o=n;while(o[r]&&!i.isBlock(o[r]))if(o=o[r],xg(o,"br"))break}return o||n},qg=function(e,t,n,r){var o=n.parentNode;return!H(n[r])&&(!(o!==t&&!U(o)&&!e.isBlock(o))||qg(e,t,o,r))},$g=function(e,t,n,r,o){var i,a=n,u=o?"previousSibling":"nextSibling",c=e.getRoot();if(Xr(n)&&!Og(n)&&(o?r>0:r<n.data.length))return n;while(1){if(!t[0].block_expand&&e.isBlock(a))return a;for(i=a[u];i;i=i[u]){var s=Xr(i)&&!qg(e,c,i,u);if(!Pg(i)&&!Ig(i)&&!Og(i,s))return a}if(a===c||a.parentNode===c){n=a;break}a=a.parentNode}return n},Wg=function(e){return Pg(e.parentNode)||Pg(e)},Kg=function(e,t,n,r){void 0===r&&(r=!1);var o=t.startContainer,i=t.startOffset,a=t.endContainer,u=t.endOffset,c=e.dom;if(zr(o)&&o.hasChildNodes()&&(o=Gl(o,i),Xr(o)&&(i=0)),zr(a)&&a.hasChildNodes()&&(a=Gl(a,t.collapsed?u:u-1),Xr(a)&&(u=a.nodeValue.length)),o=Fg(c,o),a=Fg(c,a),Wg(o)&&(o=Pg(o)?o:o.parentNode,o=t.collapsed?o.previousSibling||o:o.nextSibling||o,Xr(o)&&(i=t.collapsed?o.length:0)),Wg(a)&&(a=Pg(a)?a:a.parentNode,a=t.collapsed?a.nextSibling||a:a.previousSibling||a,Xr(a)&&(u=t.collapsed?0:a.length)),t.collapsed){var s=Hg(c,e.getBody(),o,i,!0,r);s.each((function(e){var t=e.container,n=e.offset;o=t,i=n}));var l=Hg(c,e.getBody(),a,u,!1,r);l.each((function(e){var t=e.container,n=e.offset;a=t,u=n}))}return(n[0].inline||n[0].block_expand)&&(n[0].inline&&Xr(o)&&0!==i||(o=$g(c,n,o,i,!0)),n[0].inline&&Xr(a)&&u!==a.nodeValue.length||(a=$g(c,n,a,u,!1))),n[0].selector&&!1!==n[0].expand&&!n[0].inline&&(o=jg(c,n,t,o,"previousSibling"),a=jg(c,n,t,a,"nextSibling")),(n[0].block||n[0].selector)&&(o=Vg(e,n,o,"previousSibling"),a=Vg(e,n,a,"nextSibling"),n[0].block&&(c.isBlock(o)||(o=$g(c,n,o,i,!0)),c.isBlock(a)||(a=$g(c,n,a,u,!1)))),zr(o)&&(i=c.nodeIndex(o),o=o.parentNode),zr(a)&&(u=c.nodeIndex(a)+1,a=a.parentNode),{startContainer:o,startOffset:i,endContainer:a,endOffset:u}},Gg=function(e,t){var n=e.childNodes;return t>=n.length?t=n.length-1:t<0&&(t=0),n[t]||e},Xg=function(e,t){return Gg(e,t-1)},Yg=function(e,t,n){var r=t.startContainer,o=t.startOffset,i=t.endContainer,a=t.endOffset,u=function(e){var t;return t=e[0],3===t.nodeType&&t===r&&o>=t.nodeValue.length&&e.splice(0,1),t=e[e.length-1],0===a&&e.length>0&&t===i&&3===t.nodeType&&e.splice(e.length-1,1),e},c=function(e,t,n){for(var r=[];e&&e!==n;e=e[t])r.push(e);return r},s=function(e,t){do{if(e.parentNode===t)return e;e=e.parentNode}while(e)},l=function(e,t,r){for(var o=r?"nextSibling":"previousSibling",i=e,a=i.parentNode;i&&i!==t;i=a){a=i.parentNode;var s=c(i===e?i:i[o],o);s.length&&(r||s.reverse(),n(u(s)))}};if(1===r.nodeType&&r.hasChildNodes()&&(r=Gg(r,o)),1===i.nodeType&&i.hasChildNodes()&&(i=Xg(i,a)),r===i)return n(u([r]));for(var f=e.findCommonAncestor(r,i),d=r;d;d=d.parentNode){if(d===i)return l(r,f,!0);if(d===f)break}for(d=i;d;d=d.parentNode){if(d===r)return l(i,f);if(d===f)break}var m=s(r,f)||r,p=s(i,f)||i;l(r,m,!0);var g=c(m===r?m:m.nextSibling,"nextSibling",p===i?p.nextSibling:p);g.length&&n(u(g)),l(i,p)},Zg=function(e){var t=[];if(e)for(var n=0;n<e.rangeCount;n++)t.push(e.getRangeAt(n));return t},Jg=function(e){return ce(e,(function(e){var t=Kl(e);return t?[vn.fromDom(t)]:[]}))},Qg=function(e){return Zg(e).length>1},eh=function(e){return te(Jg(e),Zi)},th=function(e){return ml(e,"td[data-mce-selected],th[data-mce-selected]")},nh=function(e,t){var n=th(t);return n.length>0?n:eh(e)},rh=function(e){return nh(Zg(e.selection.getSel()),vn.fromDom(e.getBody()))},oh=function(e){var t=e.startContainer,n=e.startOffset;return Xr(t)?0===n?R.some(vn.fromDom(t)):R.none():R.from(t.childNodes[n]).map(vn.fromDom)},ih=function(e){var t=e.endContainer,n=e.endOffset;return Xr(t)?n===t.data.length?R.some(vn.fromDom(t)):R.none():R.from(t.childNodes[n-1]).map(vn.fromDom)},ah=function(e){return tr(e).fold(h([e]),(function(t){return[e].concat(ah(t))}))},uh=function(e){return nr(e).fold(h([e]),(function(t){return"br"===On(t)?Xn(t).map((function(t){return[e].concat(uh(t))})).getOr([]):[e].concat(uh(t))}))},ch=function(e,t){return Il(oh(t),ih(t),(function(t,n){var r=ie(ah(e),b(_n,t)),o=ie(uh(e),b(_n,n));return r.isSome()&&o.isSome()})).getOr(!1)},sh=function(e,t,n,r){var o=n,i=new Pi(n,o),a=Te(e.schema.getMoveCaretBeforeOnEnterElements(),(function(e,t){return!X(["td","th","table"],t.toLowerCase())}));do{if(Xr(n)&&0!==fn.trim(n.nodeValue).length)return void(r?t.setStart(n,0):t.setEnd(n,n.nodeValue.length));if(a[n.nodeName])return void(r?t.setStartBefore(n):"BR"===n.nodeName?t.setEndBefore(n):t.setEndAfter(n))}while(n=r?i.next():i.prev());"BODY"===o.nodeName&&(r?t.setStart(o,0):t.setEnd(o,o.childNodes.length))},lh=function(e){var t=e.selection.getSel();return t&&t.rangeCount>0},fh=function(e,t){var n=rh(e);n.length>0?J(n,(function(n){var r=n.dom,o=e.dom.createRng();o.setStartBefore(r),o.setEndAfter(r),t(o,!0)})):t(e.selection.getRng(),!1)},dh=function(e,t,n){var r=Qf(e,t);n(r),e.moveToBookmark(r)},mh=function(e,t){var n=function(n){if(!e(n))throw new Error("Can only get "+t+" value of a "+t+" node");return r(n).getOr("")},r=function(t){return e(t)?R.from(t.dom.nodeValue):R.none()},o=function(n,r){if(!e(n))throw new Error("Can only set raw "+t+" value of a "+t+" node");n.dom.nodeValue=r};return{get:n,getOption:r,set:o}},ph=mh(zn,"text"),gh=function(e){return ph.get(e)},hh=function(e){return zn(e)&&gh(e)===oa},vh=function(e,t,n,r){return Wn(t).fold((function(){return"skipping"}),(function(o){return"br"===r||hh(t)?"valid":bl(t)?"existing":Up(t.dom)?"caret":bg(e,n,r)&&bg(e,On(o),n)?"valid":"invalid-child"}))},bh=function(e,t){var n=Kg(e,t,[{inline:!0}]);t.setStart(n.startContainer,n.startOffset),t.setEnd(n.endContainer,n.endOffset),e.selection.setRng(t)},yh=function(e,t,n,r){var o=t.uid,i=void 0===o?El("mce-annotation"):o,a=qe(t,["uid"]),u=vn.fromTag("span",e);cl(u,pl()),uo(u,""+hl(),i),uo(u,""+gl(),n);var c=r(i,a),s=c.attributes,l=void 0===s?{}:s,f=c.classes,d=void 0===f?[]:f;return co(u,l),Nl(u,d),u},Ch=function(e,t,n,r,o){var i=[],a=yh(e.getDoc(),o,n,r),u=Ms(R.none()),c=function(){u.set(R.none())},s=function(){return u.get().getOrThunk((function(){var e=Dl(a);return i.push(e),u.set(R.some(e)),e}))},l=function(e){J(e,f)},f=function(t){var n=vh(e,t,"span",On(t));switch(n){case"invalid-child":c();var r=Qn(t);l(r),c();break;case"valid":var o=s();br(t,o);break}},d=function(e){var t=Z(e,vn.fromDom);l(t)};return Yg(e.dom,t,(function(e){c(),d(e)})),i},wh=function(e,t,n,r){e.undoManager.transact((function(){var o=e.selection,i=o.getRng(),a=rh(e).length>0;if(i.collapsed&&!a&&bh(e,i),o.getRng().collapsed&&!a){var u=yh(e.getDoc(),r,t,n.decorate);Rl(u,ta),o.getRng().insertNode(u.dom),o.select(u.dom)}else dh(o,!1,(function(){fh(e,(function(o){Ch(e,o,t,n.decorate,r)}))}))}))},xh=function(e){var t=kl();xl(e,t);var n=wl(e);return{register:function(e,n){t.register(e,n)},annotate:function(n,r){t.lookup(n).each((function(t){wh(e,n,t,r)}))},annotationChanged:function(e,t){n.addListener(e,t)},remove:function(t){vl(e,R.some(t)).each((function(e){var t=e.elements;J(t,kr)}))},getAll:function(t){var n=Cl(e,t);return xe(n,(function(e){return Z(e,(function(e){return e.dom}))}))}}},kh=function(e){return{getBookmark:b(ag,e),moveToBookmark:b(ug,e)}};kh.isBookmarkNode=cg;var Sh=function(e,t){while(t&&t!==e){if(to(t)||no(t))return t;t=t.parentNode}return null},Eh=function(e,t,n){if(n.collapsed)return!1;if(Zt.browser.isIE()&&n.startOffset===n.endOffset-1&&n.startContainer===n.endContainer){var r=n.startContainer.childNodes[n.startOffset];if(zr(r))return Y(r.getClientRects(),(function(n){return Wl(n,e,t)}))}return Y(n.getClientRects(),(function(n){return Wl(n,e,t)}))},Nh=function(e,t){return e.fire("PreProcess",t)},Th=function(e,t){return e.fire("PostProcess",t)},Ah=function(e){return e.fire("remove")},Rh=function(e){return e.fire("detach")},_h=function(e,t){return e.fire("SwitchMode",{mode:t})},Dh=function(e,t,n,r,o){e.fire("ObjectResizeStart",{target:t,width:n,height:r,origin:o})},Ph=function(e,t,n,r,o){e.fire("ObjectResized",{target:t,width:n,height:r,origin:o})},Bh=function(e){return e.fire("PreInit")},Oh=function(e){return e.fire("PostRender")},Lh=function(e){return e.fire("Init")},Ih=function(e,t){return e.fire("PlaceholderToggle",{state:t})},Fh=function(e,t,n){return e.fire(t,n)},Mh={BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,END:35,HOME:36,modifierPressed:function(e){return e.shiftKey||e.ctrlKey||e.altKey||Mh.metaKeyPressed(e)},metaKeyPressed:function(e){return Zt.mac?e.metaKey:e.ctrlKey&&!e.altKey}},zh=no,Uh=function(e,t){var n,r,o,i,a,u,c,s,l,f,d,m,p,g,h,v,b,y="data-mce-selected",C=t.dom,w=fn.each,x=t.getDoc(),k=document,S=Math.abs,E=Math.round,N=t.getBody(),T={nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]},A=function(e){return e&&("IMG"===e.nodeName||t.dom.is(e,"figure.image"))},R=function(e){return oo(e)||C.hasClass(e,"mce-preview-object")},_=function(e,t){if("longpress"===e.type||0===e.type.indexOf("touch")){var n=e.touches[0];return A(e.target)&&!Eh(n.clientX,n.clientY,t)}return A(e.target)&&!Eh(e.clientX,e.clientY,t)},D=function(e){var n=e.target;_(e,t.selection.getRng())&&!e.isDefaultPrevented()&&t.selection.select(n)},P=function(e){return C.is(e,"figure.image")?e.querySelector("img"):C.hasClass(e,"mce-preview-object")&&H(e.firstElementChild)?e.firstElementChild:e},B=function(e){var n=Ud(t);return!!n&&("false"!==e.getAttribute("data-mce-resize")&&(e!==t.getBody()&&(C.hasClass(e,"mce-preview-object")?Nn(vn.fromDom(e.firstElementChild),n):Nn(vn.fromDom(e),n))))},O=function(e){return R(e)?C.create("img",{src:Zt.transparentSrc}):e.cloneNode(!0)},L=function(e,t,n){C.setStyles(P(e),{width:t,height:n})},I=function(e){var a,y,w,x,k;a=e.screenX-u,y=e.screenY-c,g=a*i[2]+f,h=y*i[3]+d,g=g<5?5:g,h=h<5?5:h,w=(A(n)||R(n))&&!1!==Hd(t)?!Mh.modifierPressed(e):Mh.modifierPressed(e),w&&(S(a)>S(y)?(h=E(g*m),g=E(h/m)):(g=E(h/m),h=E(g*m))),L(r,g,h),x=i.startPos.x+a,k=i.startPos.y+y,x=x>0?x:0,k=k>0?k:0,C.setStyles(o,{left:x,top:k,display:"block"}),o.innerHTML=g+" × "+h,i[2]<0&&r.clientWidth<=g&&C.setStyle(r,"left",s+(f-g)),i[3]<0&&r.clientHeight<=h&&C.setStyle(r,"top",l+(d-h)),a=N.scrollWidth-v,y=N.scrollHeight-b,a+y!==0&&C.setStyles(o,{left:x-a,top:k-y}),p||(Dh(t,n,f,d,"corner-"+i.name),p=!0)},F=function(){var e=p;p=!1;var u=function(e,r){if(r){var o=P(n);o.style[e]||!t.schema.isValid(o.nodeName.toLowerCase(),e)?C.setStyle(o,e,r):C.setAttrib(o,e,""+r)}};e&&(u("width",g),u("height",h)),C.unbind(x,"mousemove",I),C.unbind(x,"mouseup",F),k!==x&&(C.unbind(k,"mousemove",I),C.unbind(k,"mouseup",F)),C.remove(r),C.remove(o),C.remove(a),M(n),e&&(Ph(t,n,g,h,"corner-"+i.name),C.setAttrib(n,"style",C.getAttrib(n,"style"))),t.nodeChanged()},M=function(e){V();var s=C.getPos(e,N),l=s.x,p=s.y,S=e.getBoundingClientRect(),E=S.width||S.right-S.left,A=S.height||S.bottom-S.top;n!==e&&(z(),n=e,g=h=0);var R=t.fire("ObjectSelected",{target:e}),_=C.getAttrib(n,y,"1");B(e)&&!R.isDefaultPrevented()?w(T,(function(e,t){var s,g=function(s){u=s.screenX,c=s.screenY,f=P(n).clientWidth,d=P(n).clientHeight,m=d/f,i=e,i.name=t,i.startPos={x:E*e[0]+l,y:A*e[1]+p},v=N.scrollWidth,b=N.scrollHeight,a=C.add(N,"div",{class:"mce-resize-backdrop"}),C.setStyles(a,{position:"fixed",left:"0",top:"0",width:"100%",height:"100%"}),r=O(n),C.addClass(r,"mce-clonedresizable"),C.setAttrib(r,"data-mce-bogus","all"),r.contentEditable="false",C.setStyles(r,{left:l,top:p,margin:0}),L(r,E,A),r.removeAttribute(y),N.appendChild(r),C.bind(x,"mousemove",I),C.bind(x,"mouseup",F),k!==x&&(C.bind(k,"mousemove",I),C.bind(k,"mouseup",F)),o=C.add(N,"div",{class:"mce-resize-helper","data-mce-bogus":"all"},f+" × "+d)};s=C.get("mceResizeHandle"+t),s&&C.remove(s),s=C.add(N,"div",{id:"mceResizeHandle"+t,"data-mce-bogus":"all",class:"mce-resizehandle",unselectable:!0,style:"cursor:"+t+"-resize; margin:0; padding:0"}),11===Zt.ie&&(s.contentEditable=!1),C.bind(s,"mousedown",(function(e){e.stopImmediatePropagation(),e.preventDefault(),g(e)})),e.elm=s,C.setStyles(s,{left:E*e[0]+l-s.offsetWidth/2,top:A*e[1]+p-s.offsetHeight/2})})):z(),C.getAttrib(n,y)||n.setAttribute(y,_)},z=function(){V(),n&&n.removeAttribute(y),we(T,(function(e,t){var n=C.get("mceResizeHandle"+t);n&&(C.unbind(n),C.remove(n))}))},U=function(n){var r,o,i=function(e,t){if(e)do{if(e===t)return!0}while(e=e.parentNode)};p||t.removed||(w(C.select("img[data-mce-selected],hr[data-mce-selected]"),(function(e){e.removeAttribute(y)})),o="mousedown"===n.type?n.target:e.getNode(),o=C.$(o).closest("table,img,figure.image,hr,video,span.mce-preview-object")[0],i(o,N)&&(q(),r=e.getStart(!0),i(r,o)&&i(e.getEnd(!0),o))?M(o):z())},j=function(e){return zh(Sh(t.getBody(),e))},V=function(){we(T,(function(e){e.elm&&(C.unbind(e.elm),delete e.elm)}))},q=function(){try{t.getDoc().execCommand("enableObjectResizing",!1,"false")}catch(e){}};t.on("init",(function(){if(q(),Zt.browser.isIE()||Zt.browser.isEdge()){t.on("mousedown click",(function(e){var n=e.target,r=n.nodeName;p||!/^(TABLE|IMG|HR)$/.test(r)||j(n)||(2!==e.button&&t.selection.select(n,"TABLE"===r),"mousedown"===e.type&&t.nodeChanged())}));var e=function(e){var n=function(e){Ai.setEditorTimeout(t,(function(){return t.selection.select(e)}))};if(j(e.target)||oo(e.target))return e.preventDefault(),void n(e.target);/^(TABLE|IMG|HR)$/.test(e.target.nodeName)&&(e.preventDefault(),"IMG"===e.target.tagName&&n(e.target))};C.bind(N,"mscontrolselect",e),t.on("remove",(function(){return C.unbind(N,"mscontrolselect",e)}))}var r=Ai.throttle((function(e){t.composing||U(e)}));t.on("nodechange ResizeEditor ResizeWindow ResizeContent drop FullscreenStateChanged",r),t.on("keyup compositionend",(function(e){n&&"TABLE"===n.nodeName&&r(e)})),t.on("hide blur",z),t.on("contextmenu longpress",D,!0)})),t.on("remove",V);var $=function(){n=r=a=null};return{isResizable:B,showResizeRect:M,hideResizeRect:z,updateResizeRect:U,destroy:$}},Hh=function(e){return to(e)||no(e)},jh=function(e,t,n){while(e&&e!==t){if(n(e))return e;e=e.parentNode}return null},Vh=function(e,t,n){var r,o=n.elementFromPoint(e,t),i=n.body.createTextRange();if(o&&"HTML"!==o.tagName||(o=n.body),i.moveToElementText(o),r=fn.toArray(i.getClientRects()),r=r.sort((function(e,n){return e=Math.abs(Math.max(e.top-t,e.bottom-t)),n=Math.abs(Math.max(n.top-t,n.bottom-t)),e-n})),r.length>0){t=(r[0].bottom+r[0].top)/2;try{return i.moveToPoint(e,t),i.collapse(!0),i}catch(a){}}return null},qh=function(e,t){var n=e&&e.parentElement?e.parentElement():null;return no(jh(n,t,Hh))?null:e},$h=function(e,t,n){var r,o,i=n;if(i.caretPositionFromPoint)o=i.caretPositionFromPoint(e,t),o&&(r=n.createRange(),r.setStart(o.offsetNode,o.offset),r.collapse(!0));else if(n.caretRangeFromPoint)r=n.caretRangeFromPoint(e,t);else if(i.body.createTextRange){r=i.body.createTextRange();try{r.moveToPoint(e,t),r.collapse(!0)}catch(a){r=Vh(e,t,n)}return qh(r,n.body)}return r},Wh=function(e,t){return e&&t&&e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.endContainer&&e.endOffset===t.endOffset},Kh=function(e,t,n){while(e&&e!==t){if(n(e))return e;e=e.parentNode}return null},Gh=function(e,t,n){return null!==Kh(e,t,n)},Xh=function(e,t,n){return Gh(e,t,(function(e){return e.nodeName===n}))},Yh=function(e){return e&&"TABLE"===e.nodeName},Zh=function(e){return e&&/^(TD|TH|CAPTION)$/.test(e.nodeName)},Jh=function(e,t){return fa(e)&&!1===Gh(e,t,Up)},Qh=function(e,t,n){var r=new Pi(t,e.getParent(t.parentNode,e.isBlock)||e.getRoot());while(t=r[n?"prev":"next"]())if(Qr(t))return!0},ev=function(e,t){return e.previousSibling&&e.previousSibling.nodeName===t},tv=function(e,t){while(t&&t!==e){if(no(t))return!0;t=t.parentNode}return!1},nv=function(e,t,n,r,o){var i,a,u=e.getRoot(),c=e.schema.getNonEmptyElements(),s=e.getParent(o.parentNode,e.isBlock)||u;if(r&&Qr(o)&&t&&e.isEmpty(s))return R.some(Cf(o.parentNode,e.nodeIndex(o)));var l=new Pi(o,s);while(a=l[r?"prev":"next"]()){if("false"===e.getContentEditableParent(a)||Jh(a,u))return R.none();if(Xr(a)&&a.nodeValue.length>0)return!1===Xh(a,u,"A")?R.some(Cf(a,r?a.nodeValue.length:0)):R.none();if(e.isBlock(a)||c[a.nodeName.toLowerCase()])return R.none();i=a}return n&&i?R.some(Cf(i,0)):R.none()},rv=function(e,t,n,r){var o,i,a,u,c=e.getRoot(),s=!1;o=r[(n?"start":"end")+"Container"],i=r[(n?"start":"end")+"Offset"];var l=zr(o)&&i===o.childNodes.length,f=e.schema.getNonEmptyElements();if(u=n,fa(o))return R.none();if(zr(o)&&i>o.childNodes.length-1&&(u=!1),Zr(o)&&(o=c,i=0),o===c){if(u&&(a=o.childNodes[i>0?i-1:0],a)){if(fa(a))return R.none();if(f[a.nodeName]||Yh(a))return R.none()}if(o.hasChildNodes()){if(i=Math.min(!u&&i>0?i-1:i,o.childNodes.length-1),o=o.childNodes[i],i=Xr(o)&&l?o.data.length:0,!t&&o===c.lastChild&&Yh(o))return R.none();if(tv(c,o)||fa(o))return R.none();if(o.hasChildNodes()&&!1===Yh(o)){a=o;var d=new Pi(o,c);do{if(no(a)||fa(a)){s=!1;break}if(Xr(a)&&a.nodeValue.length>0){i=u?0:a.nodeValue.length,o=a,s=!0;break}if(f[a.nodeName.toLowerCase()]&&!Zh(a)){i=e.nodeIndex(a),o=a.parentNode,u||i++,s=!0;break}}while(a=u?d.next():d.prev())}}}return t&&(Xr(o)&&0===i&&nv(e,l,t,!0,o).each((function(e){o=e.container(),i=e.offset(),s=!0})),zr(o)&&(a=o.childNodes[i],a||(a=o.childNodes[i-1]),!a||!Qr(a)||ev(a,"A")||Qh(e,a,!1)||Qh(e,a,!0)||nv(e,l,t,!0,a).each((function(e){o=e.container(),i=e.offset(),s=!0})))),u&&!t&&Xr(o)&&i===o.nodeValue.length&&nv(e,l,t,!1,o).each((function(e){o=e.container(),i=e.offset(),s=!0})),s?R.some(Cf(o,i)):R.none()},ov=function(e,t){var n=t.collapsed,r=t.cloneRange(),o=Cf.fromRangeStart(t);return rv(e,n,!0,r).each((function(e){n&&Cf.isAbove(o,e)||r.setStart(e.container(),e.offset())})),n||rv(e,n,!1,r).each((function(e){r.setEnd(e.container(),e.offset())})),n&&r.collapse(!0),Wh(t,r)?R.none():R.some(r)},iv=function(e,t){return e.splitText(t)},av=function(e){var t=e.startContainer,n=e.startOffset,r=e.endContainer,o=e.endOffset;return t===r&&Xr(t)?n>0&&n<t.nodeValue.length&&(r=iv(t,n),t=r.previousSibling,o>n?(o-=n,t=r=iv(r,o).previousSibling,o=r.nodeValue.length,n=0):o=0):(Xr(t)&&n>0&&n<t.nodeValue.length&&(t=iv(t,n),n=0),Xr(r)&&o>0&&o<r.nodeValue.length&&(r=iv(r,o).previousSibling,o=r.nodeValue.length)),{startContainer:t,startOffset:n,endContainer:r,endOffset:o}},uv=function(e){var t=function(t,n){return Yg(e,t,n)},n=av,r=function(t){return ov(e,t).fold(k,(function(e){return t.setStart(e.startContainer,e.startOffset),t.setEnd(e.endContainer,e.endOffset),!0}))};return{walk:t,split:n,normalize:r}};uv.compareRanges=Wh,uv.getCaretRangeFromPoint=$h,uv.getSelectedNode=Kl,uv.getNode=Gl;var cv,sv=function(e,t){var n=function(t,n){if(!V(n)&&!n.match(/^[0-9]+$/))throw new Error(e+".set accepts only positive integer values. Value was "+n);var r=t.dom;io(r)&&(r.style[e]=n+"px")},r=function(n){var r=t(n);if(r<=0||null===r){var o=vo(n,e);return parseFloat(o)||0}return r},o=r,i=function(e,t){return re(t,(function(t,n){var r=vo(e,n),o=void 0===r?0:parseInt(r,10);return isNaN(o)?t:t+o}),0)},a=function(e,t,n){var r=i(e,n),o=t>r?t-r:0;return o};return{set:n,get:r,getOuter:o,aggregate:i,max:a}},lv=sv("height",(function(e){var t=e.dom;return Sr(e)?t.getBoundingClientRect().height:t.offsetHeight})),fv=function(e){return lv.get(e)},dv=function(e,t){var n=e.view(t);return n.fold(h([]),(function(t){var n=e.owner(t),r=dv(e,n);return[t].concat(r)}))},mv=function(e,t){var n=t.owner(e);return dv(t,n)},pv=function(e){var t,n=e.dom===document?R.none():R.from(null===(t=e.dom.defaultView)||void 0===t?void 0:t.frameElement);return n.map(vn.fromDom)},gv=function(e){return Vn(e)},hv=Object.freeze({__proto__:null,view:pv,owner:gv}),vv=function(e){var t=vn.fromDom(document),n=Dr(t),r=mv(e,hv),o=_r(e),i=ne(r,(function(e,t){var n=_r(t);return{left:e.left+n.left,top:e.top+n.top}}),{left:0,top:0});return Nr(i.left+o.left+n.left,i.top+o.top+n.top)},bv=function(e){return"textarea"===On(e)},yv=function(e,t){var n=e.fire("ScrollIntoView",t);return n.isDefaultPrevented()},Cv=function(e,t){e.fire("AfterScrollIntoView",t)},wv=function(e,t){var n=Qn(e);if(0===n.length||bv(e))return{element:e,offset:t};if(t<n.length&&!bv(n[t]))return{element:n[t],offset:0};var r=n[n.length-1];return bv(r)?{element:e,offset:t}:"img"===On(r)?{element:r,offset:1}:zn(r)?{element:r,offset:gh(r).length}:{element:r,offset:Qn(r).length}},xv=function(e,t){var n=Rr(e),r=fv(e);return{element:e,bottom:n.top+r,height:r,pos:n,cleanup:t}},kv=function(e,t){var n=wv(e,t),r=vn.fromHtml('<span data-mce-bogus="all">'+oa+"</span>");return pr(n.element,r),xv(r,(function(){return xr(r)}))},Sv=function(e){return xv(vn.fromDom(e),m)},Ev=function(e,t,n,r){Rv(e,(function(o,i){return Tv(e,t,n,r)}),n)},Nv=function(e,t,n,r,o){var i={elm:r.element.dom,alignToTop:o};if(!yv(e,i)){var a=Dr(t).top;n(t,a,r,o),Cv(e,i)}},Tv=function(e,t,n,r){var o=vn.fromDom(e.getBody()),i=vn.fromDom(e.getDoc());wo(o);var a=kv(vn.fromDom(n.startContainer),n.startOffset);Nv(e,i,t,a,r),a.cleanup()},Av=function(e,t,n,r){var o=vn.fromDom(e.getDoc());Nv(e,o,n,Sv(t),r)},Rv=function(e,t,n){var r=n.startContainer,o=n.startOffset,i=n.endContainer,a=n.endOffset;t(vn.fromDom(r),vn.fromDom(i));var u=e.dom.createRng();u.setStart(r,o),u.setEnd(i,a),e.selection.setRng(n)},_v=function(e,t,n,r){var o=e.pos;if(n)Pr(o.left,o.top,r);else{var i=o.top-t+e.height;Pr(o.left,i,r)}},Dv=function(e,t,n,r,o){var i=n+t,a=r.pos.top,u=r.bottom,c=u-a>=n;if(a<t)_v(r,n,!1!==o,e);else if(a>i){var s=c?!1!==o:!0===o;_v(r,n,s,e)}else u>i&&!c&&_v(r,n,!0===o,e)},Pv=function(e,t,n,r){var o=e.dom.defaultView.innerHeight;Dv(e,t,o,n,r)},Bv=function(e,t,n,r){var o=e.dom.defaultView.innerHeight;Dv(e,t,o,n,r);var i=vv(n.element),a=Ir(window);i.top<a.y?Br(n.element,!1!==r):i.top>a.bottom&&Br(n.element,!0===r)},Ov=function(e,t,n){return Ev(e,Pv,t,n)},Lv=function(e,t,n){return Av(e,t,Pv,n)},Iv=function(e,t,n){return Ev(e,Bv,t,n)},Fv=function(e,t,n){return Av(e,t,Bv,n)},Mv=function(e,t,n){var r=e.inline?Lv:Fv;r(e,t,n)},zv=function(e,t,n){var r=e.inline?Ov:Iv;r(e,t,n)},Uv=function(){return vn.fromDom(document)},Hv=function(e){return e.dom.focus()},jv=function(e){var t=cr(e).dom;return e.dom===t.activeElement},Vv=function(e){return void 0===e&&(e=Uv()),R.from(e.dom.activeElement).map(vn.fromDom)},qv=function(e){return Vv(cr(e)).filter((function(t){return e.dom.contains(t.dom)}))},$v=function(e,t,n,r){return{start:e,soffset:t,finish:n,foffset:r}},Wv={create:$v},Kv=$o.generate([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),Gv=function(e,t,n,r){return e.fold(t,n,r)},Xv=function(e){return e.fold(v,v,v)},Yv=Kv.before,Zv=Kv.on,Jv=Kv.after,Qv={before:Yv,on:Zv,after:Jv,cata:Gv,getStart:Xv},eb=$o.generate([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),tb=function(e){return eb.exact(e.start,e.soffset,e.finish,e.foffset)},nb=function(e){return e.match({domRange:function(e){return vn.fromDom(e.startContainer)},relative:function(e,t){return Qv.getStart(e)},exact:function(e,t,n,r){return e}})},rb=eb.domRange,ob=eb.relative,ib=eb.exact,ab=function(e){var t=nb(e);return $n(t)},ub=Wv.create,cb={domRange:rb,relative:ob,exact:ib,exactFromRange:tb,getWin:ab,range:ub},sb=jt().browser,lb=function(e,t){var n=zn(t)?gh(t).length:Qn(t).length+1;return e>n?n:e<0?0:e},fb=function(e){return cb.range(e.start,lb(e.soffset,e.start),e.finish,lb(e.foffset,e.finish))},db=function(e,t){return!Mr(t.dom)&&(Bn(e,t)||_n(e,t))},mb=function(e){return function(t){return db(e,t.start)&&db(e,t.finish)}},pb=function(e){return!0===e.inline||sb.isIE()},gb=function(e){return cb.range(vn.fromDom(e.startContainer),e.startOffset,vn.fromDom(e.endContainer),e.endOffset)},hb=function(e){var t=e.getSelection(),n=t&&0!==t.rangeCount?R.from(t.getRangeAt(0)):R.none();return n.map(gb)},vb=function(e){var t=$n(e);return hb(t.dom).filter(mb(e))},bb=function(e,t){return R.from(t).filter(mb(e)).map(fb)},yb=function(e){var t=document.createRange();try{return t.setStart(e.start.dom,e.soffset),t.setEnd(e.finish.dom,e.foffset),R.some(t)}catch(n){return R.none()}},Cb=function(e){var t=pb(e)?vb(vn.fromDom(e.getBody())):R.none();e.bookmark=t.isSome()?t:e.bookmark},wb=function(e,t){var n=vn.fromDom(e.getBody()),r=pb(e)?R.from(t):R.none(),o=r.map(gb).filter(mb(n));e.bookmark=o.isSome()?o:e.bookmark},xb=function(e){var t=e.bookmark?e.bookmark:R.none();return t.bind((function(t){return bb(vn.fromDom(e.getBody()),t)})).bind(yb)},kb=function(e){xb(e).each((function(t){return e.selection.setRng(t)}))},Sb=function(e){var t=e.className.toString();return-1!==t.indexOf("tox-")||-1!==t.indexOf("mce-")},Eb={isEditorUIElement:Sb},Nb=function(e){return"nodechange"===e.type&&e.selectionChange},Tb=function(e,t){var n=function(){t.throttle()};Rs.DOM.bind(document,"mouseup",n),e.on("remove",(function(){Rs.DOM.unbind(document,"mouseup",n)}))},Ab=function(e){e.on("focusout",(function(){Cb(e)}))},Rb=function(e,t){e.on("mouseup touchend",(function(e){t.throttle()}))},_b=function(e,t){var n=jt().browser;n.isIE()?Ab(e):Rb(e,t),e.on("keyup NodeChange",(function(t){Nb(t)||Cb(e)}))},Db=function(e){var t=Qs((function(){Cb(e)}),0);e.on("init",(function(){e.inline&&Tb(e,t),_b(e,t)})),e.on("remove",(function(){t.cancel()}))},Pb=Rs.DOM,Bb=function(e){return Eb.isEditorUIElement(e)},Ob=function(e){var t=e.classList;return void 0!==t&&(t.contains("tox-edit-area")||t.contains("tox-edit-area__iframe")||t.contains("mce-content-body"))},Lb=function(e,t){var n=Zd(e),r=Pb.getParent(t,(function(t){return Bb(t)||!!n&&e.dom.is(t,n)}));return null!==r},Ib=function(e){try{var t=cr(vn.fromDom(e.getElement()));return Vv(t).fold((function(){return document.body}),(function(e){return e.dom}))}catch(n){return document.body}},Fb=function(e,t){var n=t.editor;Db(n),n.on("focusin",(function(){var t=e.focusedEditor;t!==n&&(t&&t.fire("blur",{focusedEditor:n}),e.setActive(n),e.focusedEditor=n,n.fire("focus",{blurredEditor:t}),n.focus(!0))})),n.on("focusout",(function(){Ai.setEditorTimeout(n,(function(){var t=e.focusedEditor;Lb(n,Ib(n))||t!==n||(n.fire("blur",{focusedEditor:null}),e.focusedEditor=null)}))})),cv||(cv=function(t){var n=e.activeEditor;n&&dr(t).each((function(t){t.ownerDocument===document&&(t===document.body||Lb(n,t)||e.focusedEditor!==n||(n.fire("blur",{focusedEditor:null}),e.focusedEditor=null))}))},Pb.bind(document,"focusin",cv))},Mb=function(e,t){e.focusedEditor===t.editor&&(e.focusedEditor=null),e.activeEditor||(Pb.unbind(document,"focusin",cv),cv=null)},zb=function(e){e.on("AddEditor",b(Fb,e)),e.on("RemoveEditor",b(Mb,e))},Ub=function(e,t){return e.dom.getParent(t,(function(t){return"true"===e.dom.getContentEditable(t)}))},Hb=function(e){return e.collapsed?R.from(Gl(e.startContainer,e.startOffset)).map(vn.fromDom):R.none()},jb=function(e,t){return Hb(t).bind((function(t){return Yi(t)?R.some(t):!1===Bn(e,t)?R.some(e):R.none()}))},Vb=function(e,t){jb(vn.fromDom(e.getBody()),t).bind((function(e){return Fp(e.dom)})).fold((function(){e.selection.normalize()}),(function(t){return e.selection.setRng(t.toRange())}))},qb=function(e){if(e.setActive)try{e.setActive()}catch(t){e.focus()}else e.focus()},$b=function(e){return jv(e)||qv(e).isSome()},Wb=function(e){return e.iframeElement&&jv(vn.fromDom(e.iframeElement))},Kb=function(e){var t=e.getBody();return t&&$b(vn.fromDom(t))},Gb=function(e){var t=cr(vn.fromDom(e.getElement()));return Vv(t).filter((function(t){return!Ob(t.dom)&&Lb(e,t.dom)})).isSome()},Xb=function(e){return e.inline?Kb(e):Wb(e)},Yb=function(e){return Xb(e)||Gb(e)},Zb=function(e){var t=e.selection,n=e.getBody(),r=t.getRng();e.quirks.refreshContentEditable(),void 0!==e.bookmark&&!1===Xb(e)&&xb(e).each((function(t){e.selection.setRng(t),r=t}));var o=Ub(e,t.getNode());if(e.$.contains(n,o))return qb(o),Vb(e,r),void Jb(e);e.inline||(Zt.opera||qb(n),e.getWin().focus()),(Zt.gecko||e.inline)&&(qb(n),Vb(e,r)),Jb(e)},Jb=function(e){return e.editorManager.setActive(e)},Qb=function(e,t){e.removed||(t?Jb(e):Zb(e))},ey=function(e,t,n,r,o){var i=n?t.startContainer:t.endContainer,a=n?t.startOffset:t.endOffset;return R.from(i).map(vn.fromDom).map((function(e){return r&&t.collapsed?e:er(e,o(e,a)).getOr(e)})).bind((function(e){return Mn(e)?R.some(e):Wn(e).filter(Mn)})).map((function(e){return e.dom})).getOr(e)},ty=function(e,t,n){return ey(e,t,!0,n,(function(e,t){return Math.min(rr(e),t)}))},ny=function(e,t,n){return ey(e,t,!1,n,(function(e,t){return t>0?t-1:t}))},ry=function(e,t){var n=e;while(e&&Xr(e)&&0===e.length)e=t?e.nextSibling:e.previousSibling;return e||n},oy=function(e,t){var n,r,o;if(!t)return e;r=t.startContainer,o=t.endContainer;var i=t.startOffset,a=t.endOffset;return n=t.commonAncestorContainer,!t.collapsed&&(r===o&&a-i<2&&r.hasChildNodes()&&(n=r.childNodes[i]),3===r.nodeType&&3===o.nodeType&&(r=r.length===i?ry(r.nextSibling,!0):r.parentNode,o=0===a?ry(o.previousSibling,!1):o.parentNode,r&&r===o))?r:n&&3===n.nodeType?n.parentNode:n},iy=function(e,t,n,r){var o,i=[],a=e.getRoot();if(n=e.getParent(n||ty(a,t,t.collapsed),e.isBlock),r=e.getParent(r||ny(a,t,t.collapsed),e.isBlock),n&&n!==a&&i.push(n),n&&r&&n!==r){o=n;var u=new Pi(n,a);while((o=u.next())&&o!==r)e.isBlock(o)&&i.push(o)}return r&&n!==r&&r!==a&&i.push(r),i},ay=function(e,t,n){return R.from(t).map((function(t){var r=e.nodeIndex(t),o=e.createRng();return o.setStart(t.parentNode,r),o.setEnd(t.parentNode,r+1),n&&(sh(e,o,t,!0),sh(e,o,t,!1)),o}))},uy=function(e,t){return Z(t,(function(t){var n=e.fire("GetSelectionRange",{range:t});return n.range!==t?n.range:t}))},cy={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11},sy=function(e,t,n){var r=n?"lastChild":"firstChild",o=n?"prev":"next";if(e[r])return e[r];if(e!==t){var i=e[o];if(i)return i;for(var a=e.parent;a&&a!==t;a=a.parent)if(i=a[o],i)return i}},ly=function(e){if(!za(e.value))return!1;var t=e.parent;return!t||"span"===t.name&&!t.attr("style")||!/^[ ]+$/.test(e.value)},fy=function(e){var t="a"===e.name&&!e.attr("href")&&e.attr("id");return e.attr("name")||e.attr("id")&&!e.firstChild||e.attr("data-mce-bookmark")||t},dy=function(){function e(e,t){this.name=e,this.type=t,1===t&&(this.attributes=[],this.attributes.map={})}return e.create=function(t,n){var r=new e(t,cy[t]||1);return n&&we(n,(function(e,t){r.attr(t,e)})),r},e.prototype.replace=function(e){var t=this;return e.parent&&e.remove(),t.insert(e,t),t.remove(),t},e.prototype.attr=function(e,t){var n,r=this;if("string"!==typeof e)return void 0!==e&&null!==e&&we(e,(function(e,t){r.attr(t,e)})),r;if(n=r.attributes){if(void 0!==t){if(null===t){if(e in n.map){delete n.map[e];var o=n.length;while(o--)if(n[o].name===e)return n.splice(o,1),r}return r}if(e in n.map){o=n.length;while(o--)if(n[o].name===e){n[o].value=t;break}}else n.push({name:e,value:t});return n.map[e]=t,r}return n.map[e]}},e.prototype.clone=function(){var t,n=this,r=new e(n.name,n.type);if(t=n.attributes){var o=[];o.map={};for(var i=0,a=t.length;i<a;i++){var u=t[i];"id"!==u.name&&(o[o.length]={name:u.name,value:u.value},o.map[u.name]=u.value)}r.attributes=o}return r.value=n.value,r.shortEnded=n.shortEnded,r},e.prototype.wrap=function(e){var t=this;return t.parent.insert(e,t),e.append(t),t},e.prototype.unwrap=function(){for(var e=this,t=e.firstChild;t;){var n=t.next;e.insert(t,e,!0),t=n}e.remove()},e.prototype.remove=function(){var e=this,t=e.parent,n=e.next,r=e.prev;return t&&(t.firstChild===e?(t.firstChild=n,n&&(n.prev=null)):r.next=n,t.lastChild===e?(t.lastChild=r,r&&(r.next=null)):n.prev=r,e.parent=e.next=e.prev=null),e},e.prototype.append=function(e){var t=this;e.parent&&e.remove();var n=t.lastChild;return n?(n.next=e,e.prev=n,t.lastChild=e):t.lastChild=t.firstChild=e,e.parent=t,e},e.prototype.insert=function(e,t,n){e.parent&&e.remove();var r=t.parent||this;return n?(t===r.firstChild?r.firstChild=e:t.prev.next=e,e.prev=t.prev,e.next=t,t.prev=e):(t===r.lastChild?r.lastChild=e:t.next.prev=e,e.next=t.next,e.prev=t,t.next=e),e.parent=r,e},e.prototype.getAll=function(e){for(var t=this,n=[],r=t.firstChild;r;r=sy(r,t))r.name===e&&n.push(r);return n},e.prototype.empty=function(){var e=this;if(e.firstChild){for(var t=[],n=e.firstChild;n;n=sy(n,e))t.push(n);var r=t.length;while(r--){n=t[r];n.parent=n.firstChild=n.lastChild=n.next=n.prev=null}}return e.firstChild=e.lastChild=null,e},e.prototype.isEmpty=function(e,t,n){void 0===t&&(t={});var r=this,o=r.firstChild;if(fy(r))return!1;if(o)do{if(1===o.type){if(o.attr("data-mce-bogus"))continue;if(e[o.name])return!1;if(fy(o))return!1}if(8===o.type)return!1;if(3===o.type&&!ly(o))return!1;if(3===o.type&&o.parent&&t[o.parent.name]&&za(o.value))return!1;if(n&&n(o))return!1}while(o=sy(o,r));return!0},e.prototype.walk=function(e){return sy(this,null,e)},e}(),my=function(e){var t,n=/data:[^;]+;base64,([a-z0-9\+\/=]+)/gi,r=[],o={},i=El("img"),a=0,u=0;while(t=n.exec(e)){var c=t[0],s=i+"_"+u++;o[s]=c,a<t.index&&r.push(e.substr(a,t.index-a)),r.push(s),a=t.index+c.length}var l=new RegExp(i+"_[0-9]+","g");return 0===a?{prefix:i,uris:o,html:e,re:l}:(a<e.length&&r.push(e.substr(a)),{prefix:i,uris:o,html:r.join(""),re:l})},py=function(e,t){return e.replace(t.re,(function(e){return _e(t.uris,e).getOr(e)}))},gy=function(e){var t=/data:([^;]+);base64,([a-z0-9\+\/=]+)/i.exec(e);return t?R.some({type:t[1],data:decodeURIComponent(t[2])}):R.none()},hy=["img","video"],vy=function(e){return 0===e.indexOf("data-")||0===e.indexOf("aria-")},by=function(e,t){var n=U(e)?X(hy,t):e;return!n},yy=function(e,t,n){return!e.allow_html_data_urls&&(/^data:image\//i.test(t)?by(e.allow_svg_data_urls,n)&&/^data:image\/svg\+xml/i.test(t):/^data:/i.test(t))},Cy=function(e,t,n){var r,o,i=1,a=e.getShortEndedElements(),u=/<([!?\/])?([A-Za-z0-9\-_:.]+)(\s(?:[^'">]+(?:"[^"]*"|'[^']*'))*[^"'>]*(?:"[^">]*|'[^'>]*)?|\s*|\/)>/g;u.lastIndex=r=n;while(o=u.exec(t)){if(r=u.lastIndex,"/"===o[1])i--;else if(!o[1]){if(o[2]in a)continue;i++}if(0===i)break}return r},wy=function(e,t){return/^\s*\[if [\w\W]+\]>.*<!\[endif\](--!?)?>/.test(e.substr(t))},xy=function(e,t,n){void 0===n&&(n=0);var r=e.toLowerCase();if(-1!==r.indexOf("[if ",n)&&wy(r,n)){var o=r.indexOf("[endif]",n);return r.indexOf(">",o)}if(t){var i=r.indexOf(">",n);return-1!==i?i:r.length}var a=/--!?>/g;a.lastIndex=n;var u=a.exec(e);return u?u.index+u[0].length:r.length},ky=function(e,t){var n=e.exec(t);if(n){var r=n[1],o=n[2];return"string"===typeof r&&"data-mce-bogus"===r.toLowerCase()?o:null}return null},Sy=function(e,t){void 0===t&&(t=Du()),e=e||{},!1!==e.fix_self_closing&&(e.fix_self_closing=!0);var n=e.comment?e.comment:m,r=e.cdata?e.cdata:m,o=e.text?e.text:m,i=e.start?e.start:m,a=e.end?e.end:m,u=e.pi?e.pi:m,c=e.doctype?e.doctype:m,s=function(s,l){void 0===l&&(l="html");var f,d,m,p,g,h,v,b,y,C,w,x,k,S,E,N,T,A,R,_,D=s.html,P=0,B=[],O=0,L=Cu.decode,I=fn.makeMap("src,href,data,background,formaction,poster,xlink:href"),F=/((java|vb)script|mhtml):/i,M="html"===l?0:1,z=function(e){var t,n;t=B.length;while(t--)if(B[t].name===e)break;if(t>=0){for(n=B.length-1;n>=t;n--)e=B[n],e.valid&&a(e.name);B.length=t}},U=function(e,t){return o(py(e,s),t)},H=function(t){""!==t&&(">"===t.charAt(0)&&(t=" "+t),e.allow_conditional_comments||"[if"!==t.substr(0,3).toLowerCase()||(t=" "+t),n(py(t,s)))},j=function(e){return py(e,s)},V=function(e,t){var n=e||"",r=!ct(n,"--"),o=xy(D,r,t);return e=D.substr(t,o-t),H(r?n+e:e),o+1},q=function(t,n,r,o,i){var a,u,c=/[\s\u0000-\u001F]+/g;if(n=n.toLowerCase(),r=j(n in X?n:L(r||o||i||"")),Y&&!b&&!1===vy(n)){if(a=S[n],!a&&E){u=E.length;while(u--)if(a=E[u],a.pattern.test(n))break;-1===u&&(a=null)}if(!a)return;if(a.validValues&&!(r in a.validValues))return}if(I[n]&&!e.allow_script_urls){var s=r.replace(c,"");try{s=decodeURIComponent(s)}catch(l){s=unescape(s)}if(F.test(s))return;if(yy(e,s,t))return}b&&(n in I||0===n.indexOf("on"))||(p.map[n]=r,p.push({name:n,value:r}))},$=new RegExp("<(?:(?:!--([\\w\\W]*?)--!?>)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:![Dd][Oo][Cc][Tt][Yy][Pp][Ee]([\\w\\W]*?)>)|(?:!(--)?)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([A-Za-z][A-Za-z0-9\\-_\\:\\.]*)>)|(?:([A-Za-z][A-Za-z0-9\\-_:.]*)(\\s(?:[^'\">]+(?:\"[^\"]*\"|'[^']*'))*[^\"'>]*(?:\"[^\">]*|'[^'>]*)?|\\s*|\\/)>))","g"),W=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g,K=t.getShortEndedElements(),G=e.self_closing_elements||t.getSelfClosingElements(),X=t.getBoolAttrs(),Y=e.validate,Z=e.remove_internals,J=e.fix_self_closing,Q=t.getSpecialElements(),ee=D+">";while(f=$.exec(ee)){var te=f[0];if(P<f.index&&U(L(D.substr(P,f.index-P))),d=f[7])d=d.toLowerCase(),":"===d.charAt(0)&&(d=d.substr(1)),z(d);else if(d=f[8]){if(f.index+te.length>D.length){U(L(D.substr(f.index))),P=f.index+te.length;continue}d=d.toLowerCase(),":"===d.charAt(0)&&(d=d.substr(1)),y=d in K,J&&G[d]&&B.length>0&&B[B.length-1].name===d&&z(d);var ne=ky(W,f[9]);if(null!==ne){if("all"===ne){P=Cy(t,D,$.lastIndex),$.lastIndex=P;continue}w=!1}if(!Y||(C=t.getElementRule(d))){if(w=!0,Y&&(S=C.attributes,E=C.attributePatterns),(k=f[9])?(b=-1!==k.indexOf("data-mce-type"),b&&Z&&(w=!1),p=[],p.map={},k.replace(W,(function(e,t,n,r,o){return q(d,t,n,r,o),""}))):(p=[],p.map={}),Y&&!b){if(N=C.attributesRequired,T=C.attributesDefault,A=C.attributesForced,R=C.removeEmptyAttrs,R&&!p.length&&(w=!1),A){g=A.length;while(g--)x=A[g],v=x.name,_=x.value,"{$uid}"===_&&(_="mce_"+O++),p.map[v]=_,p.push({name:v,value:_})}if(T){g=T.length;while(g--)x=T[g],v=x.name,v in p.map||(_=x.value,"{$uid}"===_&&(_="mce_"+O++),p.map[v]=_,p.push({name:v,value:_}))}if(N){g=N.length;while(g--)if(N[g]in p.map)break;-1===g&&(w=!1)}if(x=p.map["data-mce-bogus"]){if("all"===x){P=Cy(t,D,$.lastIndex),$.lastIndex=P;continue}w=!1}}w&&i(d,p,y)}else w=!1;if(m=Q[d]){m.lastIndex=P=f.index+te.length,(f=m.exec(D))?(w&&(h=D.substr(P,f.index-P)),P=f.index+f[0].length):(h=D.substr(P),P=D.length),w&&(h.length>0&&U(h,!0),a(d)),$.lastIndex=P;continue}y||(k&&k.indexOf("/")===k.length-1?w&&a(d):B.push({name:d,valid:w}))}else if(d=f[1])H(d);else if(d=f[2]){var re=1===M||e.preserve_cdata||B.length>0&&t.isValidChild(B[B.length-1].name,"#cdata");if(!re){P=V("",f.index+2),$.lastIndex=P;continue}r(d)}else if(d=f[3])c(d);else{if((d=f[4])||"<!"===te){P=V(d,f.index+te.length),$.lastIndex=P;continue}if(d=f[5]){if(1!==M){P=V("?",f.index+2),$.lastIndex=P;continue}u(d,f[6])}}P=f.index+te.length}for(P<D.length&&U(L(D.substr(P))),g=B.length-1;g>=0;g--)d=B[g],d.valid&&a(d.name)},l=function(e,t){void 0===t&&(t="html"),s(my(e),t)};return{parse:l}};Sy.findEndTag=Cy;var Ey=function(e,t){var n=new RegExp(["\\s?("+e.join("|")+')="[^"]+"'].join("|"),"gi");return t.replace(n,"")},Ny=function(e,t){var n,r,o,i,a=t,u=/<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g,c=e.schema;a=Ey(e.getTempAttrs(),a);var s=c.getShortEndedElements();while(i=u.exec(a))r=u.lastIndex,o=i[0].length,n=s[i[1]]?r:Sy.findEndTag(c,a,r),a=a.substring(0,r-o)+a.substring(n),u.lastIndex=r-o;return aa(a)},Ty=Ny,Ay=function(e,t){var n=dd(e),r=new RegExp("^(<"+n+"[^>]*>( | |\\s| |<br \\/>|)<\\/"+n+">[\r\n]*|<br \\/>[\r\n]*)$");return t.replace(r,"")},Ry=function(e,t,n,r){var o;return t.format=n,t.get=!0,t.getInner=!0,t.no_events||e.fire("BeforeGetContent",t),o="raw"===t.format?fn.trim(Ty(e.serializer,r.innerHTML)):"text"===t.format?e.dom.isEmpty(r)?"":aa(r.innerText||r.textContent):"tree"===t.format?e.serializer.serialize(r,t):Ay(e,e.serializer.serialize(r,t)),X(["text","tree"],t.format)||Ji(vn.fromDom(r))?t.content=o:t.content=fn.trim(o),t.no_events||e.fire("GetContent",t),t.content},_y=function(e,t,n){return R.from(e.getBody()).fold(h("tree"===t.format?new dy("body",11):""),(function(r){return Ry(e,t,n,r)}))},Dy=fn.each,Py=function(e){var t=function(t,n){if(t.nodeName!==n.nodeName)return!1;var r=function(t){var n={};return Dy(e.getAttribs(t),(function(r){var o=r.nodeName.toLowerCase();0!==o.indexOf("_")&&"style"!==o&&0!==o.indexOf("data-")&&(n[o]=e.getAttrib(t,o))})),n},o=function(e,t){var n,r;for(r in e)if(e.hasOwnProperty(r)){if(n=t[r],"undefined"===typeof n)return!1;if(e[r]!==n)return!1;delete t[r]}for(r in t)if(t.hasOwnProperty(r))return!1;return!0};return!!o(r(t),r(n))&&(!!o(e.parseStyle(e.getAttrib(t,"style")),e.parseStyle(e.getAttrib(n,"style")))&&(!cg(t)&&!cg(n)))};return{compare:t}},By=fn.makeMap,Oy=function(e){var t=[];e=e||{};var n=e.indent,r=By(e.indent_before||""),o=By(e.indent_after||""),i=Cu.getEncodeFunc(e.entity_encoding||"raw",e.entities),a="html"===e.element_format;return{start:function(e,u,c){var s,l,f,d;if(n&&r[e]&&t.length>0&&(d=t[t.length-1],d.length>0&&"\n"!==d&&t.push("\n")),t.push("<",e),u)for(s=0,l=u.length;s<l;s++)f=u[s],t.push(" ",f.name,'="',i(f.value,!0),'"');t[t.length]=!c||a?">":" />",c&&n&&o[e]&&t.length>0&&(d=t[t.length-1],d.length>0&&"\n"!==d&&t.push("\n"))},end:function(e){var r;t.push("</",e,">"),n&&o[e]&&t.length>0&&(r=t[t.length-1],r.length>0&&"\n"!==r&&t.push("\n"))},text:function(e,n){e.length>0&&(t[t.length]=n?e:i(e))},cdata:function(e){t.push("<![CDATA[",e,"]]>")},comment:function(e){t.push("\x3c!--",e,"--\x3e")},pi:function(e,r){r?t.push("<?",e," ",i(r),"?>"):t.push("<?",e,"?>"),n&&t.push("\n")},doctype:function(e){t.push("<!DOCTYPE",e,">",n?"\n":"")},reset:function(){t.length=0},getContent:function(){return t.join("").replace(/\n$/,"")}}},Ly=function(e,t){void 0===t&&(t=Du());var n=Oy(e);e=e||{},e.validate=!("validate"in e)||e.validate;var r=function(r){var o=e.validate,i={3:function(e){n.text(e.value,e.raw)},8:function(e){n.comment(e.value)},7:function(e){n.pi(e.name,e.value)},10:function(e){n.doctype(e.value)},4:function(e){n.cdata(e.value)},11:function(e){if(e=e.firstChild)do{a(e)}while(e=e.next)}};n.reset();var a=function(e){var r,u,c,s,l,f,d,m,p,g=i[e.type];if(g)g(e);else{if(r=e.name,u=e.shortEnded,c=e.attributes,o&&c&&c.length>1&&(f=[],f.map={},p=t.getElementRule(e.name),p)){for(d=0,m=p.attributesOrder.length;d<m;d++)s=p.attributesOrder[d],s in c.map&&(l=c.map[s],f.map[s]=l,f.push({name:s,value:l}));for(d=0,m=c.length;d<m;d++)s=c[d].name,s in f.map||(l=c.map[s],f.map[s]=l,f.push({name:s,value:l}));c=f}if(n.start(e.name,c,u),!u){if(e=e.firstChild)do{a(e)}while(e=e.next);n.end(r)}}};return 1!==r.type||e.inner?i[11](r):a(r),n.getContent()};return{serialize:r}},Iy=function(e,t,n){return R.from(n.container()).filter(Xr).exists((function(r){var o=e?0:-1;return t(r.data.charAt(n.offset()+o))}))},Fy=b(Iy,!0,fg),My=b(Iy,!1,fg),zy=function(e){var t=e.container();return Xr(t)&&(0===t.data.length||ia(t.data)&&kh.isBookmarkNode(t.parentNode))},Uy=function(e,t){return function(n){return R.from(Jm(e?0:-1,n)).filter(t).isSome()}},Hy=function(e){return eo(e)&&"block"===vo(vn.fromDom(e),"display")},jy=function(e){return no(e)&&!$r(e)},Vy=Uy(!0,Hy),qy=Uy(!1,Hy),$y=Uy(!0,oo),Wy=Uy(!1,oo),Ky=Uy(!0,Wr),Gy=Uy(!1,Wr),Xy=Uy(!0,jy),Yy=Uy(!1,jy),Zy=function(e){var t=[],n=e.dom;while(n)t.push(vn.fromDom(n)),n=n.lastChild;return t},Jy=function(e){var t=ml(e,"br"),n=te(Zy(e).slice(-1),Wi);t.length===n.length&&J(n,xr)},Qy=function(e){wr(e),vr(e,vn.fromHtml('<br data-mce-bogus="1">'))},eC=function(e){nr(e).each((function(t){Xn(t).each((function(n){Vi(e)&&Wi(t)&&Vi(n)&&xr(t)}))}))},tC=function(e){return e.slice(0,-1)},nC=function(e,t,n){return Bn(t,e)?tC(Kn(e,(function(e){return n(e)||_n(e,t)}))):[]},rC=function(e,t){return nC(e,t,k)},oC=function(e,t){return[e].concat(rC(e,t))},iC=function(e,t,n){return Bp(e,t,n,zy)},aC=function(e,t){return ie(oC(vn.fromDom(t.container()),e),Vi)},uC=function(e,t,n){return iC(e,t.dom,n).forall((function(e){return aC(t,n).fold((function(){return!1===Zm(e,n,t.dom)}),(function(r){return!1===Zm(e,n,t.dom)&&Bn(r,vn.fromDom(e.container()))}))}))},cC=function(e,t,n){return aC(t,n).fold((function(){return iC(e,t.dom,n).forall((function(e){return!1===Zm(e,n,t.dom)}))}),(function(t){return iC(e,t.dom,n).isNone()}))},sC=b(cC,!1),lC=b(cC,!0),fC=b(uC,!1),dC=b(uC,!0),mC=function(e){return up(e).exists(Wi)},pC=function(e,t,n){var r=te(oC(vn.fromDom(n.container()),t),Vi),o=ge(r).getOr(t);return Dp(e,o.dom,n).filter(mC)},gC=function(e,t){return up(t).exists(Wi)||pC(!0,e,t).isSome()},hC=function(e,t){return cp(t).exists(Wi)||pC(!1,e,t).isSome()},vC=b(pC,!1),bC=b(pC,!0),yC=function(e){return Cf.isTextPosition(e)&&!e.isAtStart()&&!e.isAtEnd()},CC=function(e,t){var n=te(oC(vn.fromDom(t.container()),e),Vi);return ge(n).getOr(e)},wC=function(e,t){return yC(t)?My(t):My(t)||Ip(CC(e,t).dom,t).exists(My)},xC=function(e,t){return yC(t)?Fy(t):Fy(t)||Lp(CC(e,t).dom,t).exists(Fy)},kC=function(e){return X(["pre","pre-wrap"],e)},SC=function(e){return up(e).bind((function(e){return pi(e,Mn)})).exists((function(e){return kC(vo(e,"white-space"))}))},EC=function(e,t){return Ip(e.dom,t).isNone()},NC=function(e,t){return Lp(e.dom,t).isNone()},TC=function(e,t){return EC(e,t)||NC(e,t)||sC(e,t)||lC(e,t)||hC(e,t)||gC(e,t)},AC=function(e,t){return!SC(t)&&(TC(e,t)||wC(e,t)||xC(e,t))},RC=function(e,t){return!SC(t)&&(sC(e,t)||fC(e,t)||hC(e,t)||wC(e,t))},_C=function(e){var t=e.container(),n=e.offset();return Xr(t)&&n<t.data.length?Cf(t,n+1):e},DC=function(e,t){return!SC(t)&&(lC(e,t)||dC(e,t)||gC(e,t)||xC(e,t))},PC=function(e,t){return RC(e,t)||DC(e,_C(t))},BC=function(e,t){return lg(e.charAt(t))},OC=function(e){var t=e.container();return Xr(t)&&ut(t.data,ta)},LC=function(e){var t=e.split("");return Z(t,(function(e,n){return lg(e)&&n>0&&n<t.length-1&&dg(t[n-1])&&dg(t[n+1])?" ":e})).join("")},IC=function(e,t){var n=t.data,r=Cf(t,0);return!(!BC(n,0)||PC(e,r))&&(t.data=" "+n.slice(1),!0)},FC=function(e){var t=e.data,n=LC(t);return n!==t&&(e.data=n,!0)},MC=function(e,t){var n=t.data,r=Cf(t,n.length-1);return!(!BC(n,n.length-1)||PC(e,r))&&(t.data=n.slice(0,-1)+" ",!0)},zC=function(e,t){return R.some(t).filter(OC).bind((function(t){var n=t.container(),r=IC(e,n)||FC(n)||MC(e,n);return r?R.some(t):R.none()}))},UC=function(e){var t=vn.fromDom(e.getBody());e.selection.isCollapsed()&&zC(t,Cf.fromRangeStart(e.selection.getRng())).each((function(t){e.selection.setRng(t.toRange())}))},HC=function(e,t,n){var r=re(e,(function(r,o){return fg(o)||lg(o)?r.previousCharIsSpace||""===r.str&&t||r.str.length===e.length-1&&n?{previousCharIsSpace:!1,str:r.str+ta}:{previousCharIsSpace:!0,str:r.str+" "}:{previousCharIsSpace:!1,str:r.str+o}}),{previousCharIsSpace:!1,str:""});return r.str},jC=function(e,t,n){if(0!==n){var r=vn.fromDom(e),o=mi(r,Vi).getOr(r),i=e.data.slice(t,t+n),a=t+n>=e.data.length&&DC(o,Cf(e,e.data.length)),u=0===t&&RC(o,Cf(e,0));e.replaceData(t,n,HC(i,u,a))}},VC=function(e,t){var n=e.data.slice(t),r=n.length-ft(n).length;return jC(e,t,r)},qC=function(e,t){var n=e.data.slice(0,t),r=n.length-dt(n).length;return jC(e,t-r,r)},$C=function(e,t,n,r){void 0===r&&(r=!0);var o=dt(e.data).length,i=r?e:t,a=r?t:e;return r?i.appendData(a.data):i.insertData(0,a.data),xr(vn.fromDom(a)),n&&VC(i,o),i},WC=function(e,t){var n=e.container(),r=e.offset();return!1===Cf.isTextPosition(e)&&n===t.parentNode&&r>Cf.before(t).offset()},KC=function(e,t){return WC(t,e)?Cf(t.container(),t.offset()-1):t},GC=function(e){return Xr(e)?Cf(e,0):Cf.before(e)},XC=function(e){return Xr(e)?Cf(e,e.data.length):Cf.after(e)},YC=function(e){return Da(e.previousSibling)?R.some(XC(e.previousSibling)):e.previousSibling?Mp(e.previousSibling):R.none()},ZC=function(e){return Da(e.nextSibling)?R.some(GC(e.nextSibling)):e.nextSibling?Fp(e.nextSibling):R.none()},JC=function(e,t){var n=Cf.before(t.previousSibling?t.previousSibling:t.parentNode);return Ip(e,n).fold((function(){return Lp(e,Cf.after(t))}),R.some)},QC=function(e,t){return Lp(e,Cf.after(t)).fold((function(){return Ip(e,Cf.before(t))}),R.some)},ew=function(e,t){return YC(t).orThunk((function(){return ZC(t)})).orThunk((function(){return JC(e,t)}))},tw=function(e,t){return ZC(t).orThunk((function(){return YC(t)})).orThunk((function(){return QC(e,t)}))},nw=function(e,t,n){return e?tw(t,n):ew(t,n)},rw=function(e,t,n){return nw(e,t,n).map(b(KC,n))},ow=function(e,t,n){n.fold((function(){e.focus()}),(function(n){e.selection.setRng(n.toRange(),t)}))},iw=function(e){return function(t){return t.dom===e}},aw=function(e,t){return t&&De(e.schema.getBlockElements(),On(t))},uw=function(e){if(Ga(e)){var t=vn.fromHtml('<br data-mce-bogus="1">');return wr(e),vr(e,t),R.some(Cf.before(t.dom))}return R.none()},cw=function(e,t,n){var r=Xn(e).filter(zn),o=Yn(e).filter(zn);return xr(e),Fl(r,o,t,(function(e,t,r){var o=e.dom,i=t.dom,a=o.data.length;return $C(o,i,n),r.container()===i?Cf(o,a):r})).orThunk((function(){return n&&(r.each((function(e){return qC(e.dom,e.dom.length)})),o.each((function(e){return VC(e.dom,0)}))),t}))},sw=function(e,t){return De(e.schema.getTextInlineElements(),On(t))},lw=function(e,t,n,r){void 0===r&&(r=!0);var o=rw(t,e.getBody(),n.dom),i=mi(n,b(aw,e),iw(e.getBody())),a=cw(n,o,sw(e,n));e.dom.isEmpty(e.getBody())?(e.setContent(""),e.selection.setCursorLocation()):i.bind(uw).fold((function(){r&&ow(e,t,a)}),(function(n){r&&ow(e,t,R.some(n))}))},fw=function(e,t){return{start:e,end:t}},dw=function(e,t,n){return{rng:e,table:t,cells:n}},mw=$o.generate([{removeTable:["element"]},{emptyCells:["cells"]},{deleteCellSelection:["rng","cell"]}]),pw=function(e){return function(t){return _n(e,t)}},gw=function(e,t){return yi(vn.fromDom(e),"td,th",t)},hw=function(e,t){return vi(e,"table",t)},vw=function(e){return!_n(e.start,e.end)},bw=function(e,t){return hw(e.start,t).bind((function(n){return hw(e.end,t).bind((function(e){return Ml(_n(n,e),n)}))}))},yw=function(e,t){return!vw(e)&&bw(e,t).exists((function(e){var t=e.dom.rows;return 1===t.length&&1===t[0].cells.length}))},Cw=function(e){return ml(e,"td,th")},ww=function(e,t){var n=gw(e.startContainer,t),r=gw(e.endContainer,t);return Il(n,r,fw)},xw=function(e,t){return hw(e.start,t).bind((function(t){return he(Cw(t)).map((function(t){return fw(e.start,t)}))}))},kw=function(e,t){var n=gw(t.startContainer,e),r=gw(t.endContainer,e);return t.collapsed?R.none():Il(n,r,fw).fold((function(){return n.fold((function(){return r.bind((function(t){return hw(t,e).bind((function(e){return ge(Cw(e)).map((function(e){return fw(e,t)}))}))}))}),(function(t){return hw(t,e).bind((function(e){return he(Cw(e)).map((function(e){return fw(t,e)}))}))}))}),(function(t){return Sw(e,t)?R.none():xw(t,e)}))},Sw=function(e,t){return bw(t,e).isSome()},Ew=function(e,t){return bw(e,t).map((function(t){return dw(e,t,Cw(t))}))},Nw=function(e,t,n){return e.filter((function(e){return vw(e)&&Sw(n,e)})).orThunk((function(){return kw(n,t)})).bind((function(e){return Ew(e,n)}))},Tw=function(e,t){return ae(e,(function(e){return _n(e,t)}))},Aw=function(e){return Il(Tw(e.cells,e.rng.start),Tw(e.cells,e.rng.end),(function(t,n){return e.cells.slice(t,n+1)}))},Rw=function(e,t,n){return e.filter((function(e){return yw(e,n)&&ch(e.start,t)})).map((function(e){return e.start}))},_w=function(e){return Aw(e).map((function(t){var n=e.cells;return t.length===n.length?mw.removeTable(e.table):mw.emptyCells(t)}))},Dw=function(e,t){var n=pw(e),r=ww(t,n);return Rw(r,t,n).map((function(e){return mw.deleteCellSelection(t,e)})).orThunk((function(){return Nw(r,t,n).bind(_w)}))},Pw=function(e){var t=Fn(e)?Xn(e):nr(e);return t.bind(Pw).orThunk((function(){return R.some(e)}))},Bw=function(e,t){return J(t,Qy),e.selection.setCursorLocation(t[0].dom,0),!0},Ow=function(e,t,n){t.deleteContents();var r=Pw(n).getOr(n),o=vn.fromDom(e.dom.getParent(r.dom,e.dom.isBlock));if(Ga(o)&&(Qy(o),e.selection.setCursorLocation(o.dom,0)),!_n(n,o)){var i=Wn(o).is(n)?[]:Gn(o);J(i.concat(Qn(n)),(function(e){_n(e,o)||Bn(e,o)||xr(e)}))}return!0},Lw=function(e,t){return lw(e,!1,t),!0},Iw=function(e,t,n){return Dw(t,n).map((function(t){return t.fold(b(Lw,e),b(Bw,e),b(Ow,e))}))},Fw=function(e,t){return Vw(e,t)},Mw=function(e,t,n,r){return Hw(t,r).fold((function(){return Iw(e,t,n)}),(function(t){return Fw(e,t)})).getOr(!1)},zw=function(e,t){var n=vn.fromDom(e.getBody()),r=e.selection.getRng(),o=rh(e);return 0!==o.length?Bw(e,o):Mw(e,n,r,t)},Uw=function(e,t){return ie(oC(t,e),Zi)},Hw=function(e,t){return ie(oC(t,e),(function(e){return"caption"===On(e)}))},jw=function(e,t,n,r,o){return Pp(n,e.getBody(),o).bind((function(e){return Uw(t,vn.fromDom(e.getNode())).map((function(e){return!1===_n(e,r)}))}))},Vw=function(e,t){return Qy(t),e.selection.setCursorLocation(t.dom,0),R.some(!0)},qw=function(e,t,n,r){return Fp(e.dom).bind((function(o){return Mp(e.dom).map((function(e){return t?n.isEqual(o)&&r.isEqual(e):n.isEqual(e)&&r.isEqual(o)}))})).getOr(!0)},$w=function(e,t){return Vw(e,t)},Ww=function(e,t,n){return Hw(e,vn.fromDom(n.getNode())).map((function(e){return!1===_n(e,t)}))},Kw=function(e,t,n,r,o){return Pp(n,e.getBody(),o).bind((function(i){return qw(r,n,o,i)?$w(e,r):Ww(t,r,i)})).or(R.some(!0))},Gw=function(e,t,n,r){var o=Cf.fromRangeStart(e.selection.getRng());return Uw(n,r).bind((function(r){return Ga(r)?Vw(e,r):jw(e,n,t,r,o)})).getOr(!1)},Xw=function(e,t,n,r){var o=Cf.fromRangeStart(e.selection.getRng());return Ga(r)?Vw(e,r):Kw(e,n,t,r,o)},Yw=function(e,t){return e?Ky(t):Gy(t)},Zw=function(e,t){var n=Cf.fromRangeStart(e.selection.getRng());return Yw(t,n)||Dp(t,e.getBody(),n).exists((function(e){return Yw(t,e)}))},Jw=function(e,t,n){var r=vn.fromDom(e.getBody());return Hw(r,n).fold((function(){return Gw(e,t,r,n)||Zw(e,t)}),(function(n){return Xw(e,t,r,n).getOr(!1)}))},Qw=function(e,t){var n=vn.fromDom(e.selection.getStart(!0)),r=rh(e);return e.selection.isCollapsed()&&0===r.length?Jw(e,t,n):zw(e,n)},ex=function(e,t,n,r){var o=document.createRange();return o.setStart(e,t),o.setEnd(n,r),o},tx=function(e){var t=Cf.fromRangeStart(e),n=Cf.fromRangeEnd(e),r=e.commonAncestorContainer;return Dp(!1,r,n).map((function(o){return!Zm(t,n,r)&&Zm(t,o,r)?ex(t.container(),t.offset(),o.container(),o.offset()):e})).getOr(e)},nx=function(e){return e.collapsed?e:tx(e)},rx=function(e){return e.firstChild&&e.firstChild===e.lastChild},ox=function(e){return"br"===e.name||e.value===ta},ix=function(e,t){var n=e.getBlockElements();return n[t.name]&&rx(t)&&ox(t.firstChild)},ax=function(e,t){var n=e.getNonEmptyElements();return t&&(t.isEmpty(n)||ix(e,t))},ux=function(e,t){var n=t.firstChild,r=t.lastChild;return n&&"meta"===n.name&&(n=n.next),r&&"mce_marker"===r.attr("id")&&(r=r.prev),ax(e,r)&&(r=r.prev),!(!n||n!==r)&&("ul"===n.name||"ol"===n.name)},cx=function(e){var t=e.firstChild,n=e.lastChild;return t&&"META"===t.nodeName&&t.parentNode.removeChild(t),n&&"mce_marker"===n.id&&n.parentNode.removeChild(n),e},sx=function(e,t,n){var r=t.serialize(n),o=e.createFragment(r);return cx(o)},lx=function(e){return fn.grep(e.childNodes,(function(e){return"LI"===e.nodeName}))},fx=function(e){return e.data===ta||Qr(e)},dx=function(e){return e&&e.firstChild&&e.firstChild===e.lastChild&&fx(e.firstChild)},mx=function(e){return!e.firstChild||dx(e)},px=function(e){return e.length>0&&mx(e[e.length-1])?e.slice(0,-1):e},gx=function(e,t){var n=e.getParent(t,e.isBlock);return n&&"LI"===n.nodeName?n:null},hx=function(e,t){return!!gx(e,t)},vx=function(e,t){var n=t.cloneRange(),r=t.cloneRange();return n.setStartBefore(e),r.setEndAfter(e),[n.cloneContents(),r.cloneContents()]},bx=function(e,t){var n=Cf.before(e),r=kp(t),o=r.next(n);return o?o.toRange():null},yx=function(e,t){var n=Cf.after(e),r=kp(t),o=r.prev(n);return o?o.toRange():null},Cx=function(e,t,n,r){var o=vx(e,r),i=e.parentNode;return i.insertBefore(o[0],e),fn.each(t,(function(t){i.insertBefore(t,e)})),i.insertBefore(o[1],e),i.removeChild(e),yx(t[t.length-1],n)},wx=function(e,t,n){var r=e.parentNode;return fn.each(t,(function(t){r.insertBefore(t,e)})),bx(e,n)},xx=function(e,t,n,r){return r.insertAfter(t.reverse(),e),yx(t[0],n)},kx=function(e,t,n,r){var o=sx(t,e,r),i=gx(t,n.startContainer),a=px(lx(o.firstChild)),u=1,c=2,s=t.getRoot(),l=function(e){var r=Cf.fromRangeStart(n),o=kp(t.getRoot()),a=e===u?o.prev(r):o.next(r);return!a||gx(t,a.getNode())!==i};return l(u)?wx(i,a,s):l(c)?xx(i,a,s,t):Cx(i,a,s,n)},Sx=function(e,t,n){var r=vn.fromDom(e.getRoot());return n=RC(r,Cf.fromRangeStart(t))?n.replace(/^ /," "):n.replace(/^ /," "),n=DC(r,Cf.fromRangeEnd(t))?n.replace(/( | )(<br( \/)>)?$/," "):n.replace(/ (<br( \/)?>)?$/," "),n},Ex=ro,Nx=function(e,t,n){if(null!==n){var r=e.getParent(t.endContainer,Ex);return n===r&&ch(vn.fromDom(n),t)}return!1},Tx=function(e,t,n){if("all"===n.getAttribute("data-mce-bogus"))n.parentNode.insertBefore(e.dom.createFragment(t),n);else{var r=n.firstChild,o=n.lastChild;!r||r===o&&"BR"===r.nodeName?e.dom.setHTML(n,t):e.selection.setContent(t)}},Ax=function(e,t){R.from(e.getParent(t,"td,th")).map(vn.fromDom).each(eC)},Rx=function(e,t){var n=e.schema.getTextInlineElements(),r=e.dom;if(t){var o=e.getBody(),i=Py(r);fn.each(r.select("*[data-mce-fragment]"),(function(e){for(var t=e.parentNode;t&&t!==o;t=t.parentNode)n[e.nodeName.toLowerCase()]&&i.compare(t,e)&&r.remove(e,!0)}))}},_x=function(e){var t=e;while(t=t.walk())1===t.type&&t.attr("data-mce-fragment","1")},Dx=function(e){fn.each(e.getElementsByTagName("*"),(function(e){e.removeAttribute("data-mce-fragment")}))},Px=function(e){return!!e.getAttribute("data-mce-fragment")},Bx=function(e,t){return t&&!e.schema.getShortEndedElements()[t.nodeName]},Ox=function(e,t){var n,r,o=e.dom,i=e.selection,a=function(t){for(var n=e.getBody();t&&t!==n;t=t.parentNode)if("false"===o.getContentEditable(t))return t;return null};if(t){i.scrollIntoView(t);var u=a(t);if(u)return o.remove(t),void i.select(u);var c=o.createRng(),s=t.previousSibling;s&&3===s.nodeType?(c.setStart(s,s.nodeValue.length),Zt.ie||(r=t.nextSibling,r&&3===r.nodeType&&(s.appendData(r.data),r.parentNode.removeChild(r)))):(c.setStartBefore(t),c.setEndBefore(t));var l=function(t){var n=Cf.fromRangeStart(t),r=kp(e.getBody());if(n=r.next(n),n)return n.toRange()},f=o.getParent(t,o.isBlock);o.remove(t),f&&o.isEmpty(f)&&(e.$(f).empty(),c.setStart(f,0),c.setEnd(f,0),Ex(f)||Px(f)||!(n=l(c))?o.add(f,o.create("br",{"data-mce-bogus":"1"})):(c=n,o.remove(f))),i.setRng(c)}},Lx=function(e){var t=e.dom,n=nx(e.selection.getRng());e.selection.setRng(n);var r=t.getParent(n.startContainer,Ex);Nx(t,n,r)?Ow(e,n,vn.fromDom(r)):e.getDoc().execCommand("Delete",!1,null)},Ix=function(e,t,n){var r,o,i,a,u,c,s=e.selection,l=e.dom;/^ | $/.test(t)&&(t=Sx(l,s.getRng(),t));var f=e.parser,d=n.merge,m=Ly({validate:Wd(e)},e.schema),p='<span id="mce_marker" data-mce-type="bookmark"></span>';if(i={content:t,format:"html",selection:!0,paste:n.paste},i=e.fire("BeforeSetContent",i),i.isDefaultPrevented())e.fire("SetContent",{content:i.content,format:"html",selection:!0,paste:n.paste});else{t=i.content,-1===t.indexOf("{$caret}")&&(t+="{$caret}"),t=t.replace(/\{\$caret\}/,p),u=s.getRng();var g=u.startContainer||(u.parentElement?u.parentElement():null),h=e.getBody();g===h&&s.isCollapsed()&&l.isBlock(h.firstChild)&&Bx(e,h.firstChild)&&l.isEmpty(h.firstChild)&&(u=l.createRng(),u.setStart(h.firstChild,0),u.setEnd(h.firstChild,0),s.setRng(u)),s.isCollapsed()||Lx(e),r=s.getNode();var v={context:r.nodeName.toLowerCase(),data:n.data,insert:!0},b=f.parse(t,v);if(!0===n.paste&&ux(e.schema,b)&&hx(l,r))return u=kx(m,l,s.getRng(),b),s.setRng(u),void e.fire("SetContent",i);if(_x(b),c=b.lastChild,"mce_marker"===c.attr("id"))for(a=c,c=c.prev;c;c=c.walk(!0))if(3===c.type||!l.isBlock(c.name)){e.schema.isValidChild(c.parent.name,"span")&&c.parent.insert(a,c,"br"===c.name);break}if(e._selectionOverrides.showBlockCaretContainer(r),v.invalid){e.selection.setContent(p),r=s.getNode(),o=e.getBody(),9===r.nodeType?r=c=o:c=r;while(c!==o)r=c,c=c.parentNode;t=r===o?o.innerHTML:l.getOuterHTML(r),t=m.serialize(f.parse(t.replace(/<span (id="mce_marker"|id=mce_marker).+?<\/span>/i,(function(){return m.serialize(b)})))),r===o?l.setHTML(o,t):l.setOuterHTML(r,t)}else t=m.serialize(b),Tx(e,t,r);Rx(e,d),Ox(e,l.get("mce_marker")),Dx(e.getBody()),Ax(l,s.getStart()),e.fire("SetContent",i),e.addVisual()}},Fx=function(e,t){t(e),e.firstChild&&Fx(e.firstChild,t),e.next&&Fx(e.next,t)},Mx=function(e,t,n){var r={},o={},i=[];for(var a in n.firstChild&&Fx(n.firstChild,(function(n){J(e,(function(e){e.name===n.name&&(r[e.name]?r[e.name].nodes.push(n):r[e.name]={filter:e,nodes:[n]})})),J(t,(function(e){"string"===typeof n.attr(e.name)&&(o[e.name]?o[e.name].nodes.push(n):o[e.name]={filter:e,nodes:[n]})}))})),r)r.hasOwnProperty(a)&&i.push(r[a]);for(var u in o)o.hasOwnProperty(u)&&i.push(o[u]);return i},zx=function(e,t,n){var r=Mx(e,t,n);J(r,(function(e){J(e.filter.callbacks,(function(t){t(e.nodes,e.filter.name,{})}))}))},Ux="html",Hx=function(e){return e instanceof dy},jx=function(e){Xb(e)&&Fp(e.getBody()).each((function(t){var n=t.getNode(),r=Wr(n)?Fp(n).getOr(t):t;e.selection.setRng(r.toRange())}))},Vx=function(e,t){e.dom.setHTML(e.getBody(),t),jx(e)},qx=function(e,t,n,r){var o,i;return 0===n.length||/^\s+$/.test(n)?(i='<br data-mce-bogus="1">',"TABLE"===t.nodeName?n="<tr><td>"+i+"</td></tr>":/^(UL|OL)$/.test(t.nodeName)&&(n="<li>"+i+"</li>"),o=dd(e),o&&e.schema.isValidChild(t.nodeName.toLowerCase(),o.toLowerCase())?(n=i,n=e.dom.createHTML(o,md(e),n)):n||(n='<br data-mce-bogus="1">'),Vx(e,n),e.fire("SetContent",r)):("raw"!==r.format&&(n=Ly({validate:e.validate},e.schema).serialize(e.parser.parse(n,{isRootContent:!0,insert:!0}))),r.content=Ji(vn.fromDom(t))?n:fn.trim(n),Vx(e,r.content),r.no_events||e.fire("SetContent",r)),r.content},$x=function(e,t,n,r){zx(e.parser.getNodeFilters(),e.parser.getAttributeFilters(),n);var o=Ly({validate:e.validate},e.schema).serialize(n);return r.content=Ji(vn.fromDom(t))?o:fn.trim(o),Vx(e,r.content),r.no_events||e.fire("SetContent",r),n},Wx=function(e,t,n){return n.format=n.format?n.format:Ux,n.set=!0,n.content=Hx(t)?"":t,n.no_events||e.fire("BeforeSetContent",n),Hx(t)||(t=n.content),R.from(e.getBody()).fold(h(t),(function(r){return Hx(t)?$x(e,r,t,n):qx(e,r,t,n)}))},Kx=function(e,t){return gi(e,t).isSome()},Gx=function(e){return j(e)?e:k},Xx=function(e,t,n){var r=e.dom,o=Gx(n);while(r.parentNode){r=r.parentNode;var i=vn.fromDom(r),a=t(i);if(a.isSome())return a;if(o(i))break}return R.none()},Yx=function(e,t,n){var r=t(e),o=Gx(n);return r.orThunk((function(){return o(e)?R.none():Xx(e,t,o)}))},Zx=xg,Jx=function(e,t,n){var r=e.formatter.get(n);if(r)for(var o=0;o<r.length;o++)if(!1===r[o].inherit&&e.dom.is(t,r[o].selector))return!0;return!1},Qx=function(e,t,n,r){var o=e.dom.getRoot();return t!==o&&(t=e.dom.getParent(t,(function(t){return!!Jx(e,t,n)||(t.parentNode===o||!!nk(e,t,n,r,!0))})),nk(e,t,n,r))},ek=function(e,t,n){return!!Zx(t,n.inline)||(!!Zx(t,n.block)||(n.selector?1===t.nodeType&&e.is(t,n.selector):void 0))},tk=function(e,t,n,r,o,i){var a,u,c,s=n[r];if(n.onmatch)return n.onmatch(t,n,r);if(s)if("undefined"===typeof s.length){for(a in s)if(s.hasOwnProperty(a)){if(u="attributes"===r?e.getAttrib(t,a):Sg(e,t,a),o&&!u&&!n.exact)return;if((!o||n.exact)&&!Zx(u,kg(e,wg(s[a],i),a)))return}}else for(c=0;c<s.length;c++)if("attributes"===r?e.getAttrib(t,s[c]):Sg(e,t,s[c]))return n;return n},nk=function(e,t,n,r,o){var i,a,u,c,s=e.formatter.get(n),l=e.dom;if(s&&t)for(a=0;a<s.length;a++)if(i=s[a],ek(e.dom,t,i)&&tk(l,t,i,"attributes",o,r)&&tk(l,t,i,"styles",o,r)){if(c=i.classes)for(u=0;u<c.length;u++)if(!e.dom.hasClass(t,c[u]))return;return i}},rk=function(e,t,n,r){if(r)return Qx(e,r,t,n);if(r=e.selection.getNode(),Qx(e,r,t,n))return!0;var o=e.selection.getStart();return!(o===r||!Qx(e,o,t,n))},ok=function(e,t,n){var r=[],o={},i=e.selection.getStart();return e.dom.getParent(i,(function(i){for(var a=0;a<t.length;a++){var u=t[a];!o[u]&&nk(e,i,u,n)&&(o[u]=!0,r.push(u))}}),e.dom.getRoot()),r},ik=function(e,t){var n=function(t){return _n(t,vn.fromDom(e.getBody()))},r=function(t,n){return nk(e,t.dom,n)?R.some(n):R.none()};return R.from(e.selection.getStart(!0)).bind((function(e){return Yx(vn.fromDom(e),(function(e){return be(t,(function(t){return r(e,t)}))}),n)})).getOrNull()},ak=function(e,t){var n,r,o,i,a,u=e.formatter.get(t),c=e.dom;if(u)for(n=e.selection.getStart(),r=Ng(c,n),i=u.length-1;i>=0;i--){if(a=u[i].selector,!a||u[i].defaultBlock)return!0;for(o=r.length-1;o>=0;o--)if(c.is(r[o],a))return!0}return!1},uk=function(e,t,n){return re(n,(function(n,r){var o=Tg(e,r);return e.formatter.matchNode(t,r,{},o)?n.concat([r]):n}),[])},ck=oa,sk="_mce_caret",lk=function(e,t){return e.importNode(t,!0)},fk=function(e){var t=[];while(e){if(3===e.nodeType&&e.nodeValue!==ck||e.childNodes.length>1)return[];1===e.nodeType&&t.push(e),e=e.firstChild}return t},dk=function(e){return fk(e).length>0},mk=function(e){if(e){var t=new Pi(e,e);for(e=t.current();e;e=t.next())if(Xr(e))return e}return null},pk=function(e){var t=vn.fromTag("span");return co(t,{id:sk,"data-mce-bogus":"1","data-mce-type":"format-caret"}),e&&vr(t,vn.fromText(ck)),t},gk=function(e){var t=mk(e);return t&&t.nodeValue.charAt(0)===ck&&t.deleteData(0,1),t},hk=function(e,t,n){void 0===n&&(n=!0);var r=e.dom,o=e.selection;if(dk(t))lw(e,!1,vn.fromDom(t),n);else{var i=o.getRng(),a=r.getParent(t,r.isBlock),u=i.startContainer,c=i.startOffset,s=i.endContainer,l=i.endOffset,f=gk(t);r.remove(t,!0),u===f&&c>0&&i.setStart(f,c-1),s===f&&l>0&&i.setEnd(f,l-1),a&&r.isEmpty(a)&&Qy(vn.fromDom(a)),o.setRng(i)}},vk=function(e,t,n){void 0===n&&(n=!0);var r=e.dom,o=e.selection;if(t)hk(e,t,n);else if(t=Hp(e.getBody(),o.getStart()),!t)while(t=r.get(sk))hk(e,t,!1)},bk=function(e,t,n){var r=e.dom,o=r.getParent(n,b(vg,e));o&&r.isEmpty(o)?n.parentNode.replaceChild(t,n):(Jy(vn.fromDom(n)),r.isEmpty(n)?n.parentNode.replaceChild(t,n):r.insertAfter(t,n))},yk=function(e,t){return e.appendChild(t),t},Ck=function(e,t){var n=ne(e,(function(e,t){return yk(e,t.cloneNode(!1))}),t);return yk(n,n.ownerDocument.createTextNode(ck))},wk=function(e,t,n,r,o,i){var a=e.formatter,u=e.dom,c=te(ye(a.get()),(function(e){return e!==r&&!ut(e,"removeformat")})),s=uk(e,n,c),l=te(s,(function(t){return!Ag(e,t,r)}));if(l.length>0){var f=n.cloneNode(!1);return u.add(t,f),a.remove(r,o,f,i),u.remove(f),R.some(f)}return R.none()},xk=function(e,t,n){var r,o,i=e.selection,a=i.getRng(),u=a.startOffset,c=a.startContainer,s=c.nodeValue;r=Hp(e.getBody(),i.getStart()),r&&(o=mk(r));var l=/[^\s\u00a0\u00ad\u200b\ufeff]/;if(s&&u>0&&u<s.length&&l.test(s.charAt(u))&&l.test(s.charAt(u-1))){var f=i.getBookmark();a.collapse(!0);var d=Kg(e,a,e.formatter.get(t));d=av(d),e.formatter.apply(t,n,d),i.moveToBookmark(f)}else r&&o.nodeValue===ck||(r=lk(e.getDoc(),pk(!0).dom),o=r.firstChild,a.insertNode(r),u=1),e.formatter.apply(t,n,r),i.setCursorLocation(o,u)},kk=function(e,t,n,r){var o,i,a,u=e.dom,c=e.selection,s=[],l=c.getRng(),f=l.startContainer,d=l.startOffset;i=f,3===f.nodeType&&(d!==f.nodeValue.length&&(o=!0),i=i.parentNode);while(i){if(nk(e,i,t,n,r)){a=i;break}i.nextSibling&&(o=!0),s.push(i),i=i.parentNode}if(a)if(o){var m=c.getBookmark();l.collapse(!0);var p=Kg(e,l,e.formatter.get(t),!0);p=av(p),e.formatter.remove(t,n,p,r),c.moveToBookmark(m)}else{var g=Hp(e.getBody(),a),h=pk(!1).dom;bk(e,h,null!==g?g:a);var v=wk(e,h,a,t,n,r),b=Ck(s.concat(v.toArray()),h);hk(e,g,!1),c.setCursorLocation(b,1),u.isEmpty(a)&&u.remove(a)}},Sk=function(e,t){var n=e.selection,r=e.getBody();vk(e,null,!1),8!==t&&46!==t||!n.isCollapsed()||n.getStart().innerHTML!==ck||vk(e,Hp(r,n.getStart())),37!==t&&39!==t||vk(e,Hp(r,n.getStart()))},Ek=function(e){e.on("mouseup keydown",(function(t){Sk(e,t.keyCode)}))},Nk=function(e,t){var n=pk(!1),r=Ck(t,n.dom);return pr(vn.fromDom(e),n),xr(vn.fromDom(e)),Cf(r,0)},Tk=function(e,t){var n=e.schema.getTextInlineElements();return n.hasOwnProperty(On(t))&&!Up(t.dom)&&!qr(t.dom)},Ak=function(e){return Up(e.dom)&&dk(e.dom)},Rk={},_k=Me,Dk=Ie,Pk=function(e,t){var n=Rk[e];n||(Rk[e]=[]),Rk[e].push(t)},Bk=function(e,t){Dk(Rk[e],(function(e){e(t)}))};Pk("pre",(function(e){var t,n=e.selection.getRng(),r=function(e){return i(e.previousSibling)&&-1!==ze(t,e.previousSibling)},o=function(e,t){ws(t).remove(),ws(e).append("<br><br>").append(t.childNodes)},i=Ur(["pre"]);n.collapsed||(t=e.selection.getSelectedBlocks(),Dk(_k(_k(t,i),r),(function(e){o(e.previousSibling,e)})))}));var Ok=fn.each,Lk=function(e){return zr(e)&&!cg(e)&&!Up(e)&&!qr(e)},Ik=function(e,t){var n;for(n=e;n;n=n[t]){if(Xr(n)&&0!==n.nodeValue.length)return e;if(zr(n)&&!cg(n))return n}return e},Fk=function(e,t,n){var r,o,i=Py(e);if(t&&n&&(t=Ik(t,"previousSibling"),n=Ik(n,"nextSibling"),i.compare(t,n))){for(r=t.nextSibling;r&&r!==n;)o=r,r=r.nextSibling,t.appendChild(o);return e.remove(n),fn.each(fn.grep(n.childNodes),(function(e){t.appendChild(e)})),t}return n},Mk=function(e,t,n,r){if(r&&!1!==t.merge_siblings){var o=Fk(e,hg(r),r);Fk(e,o,hg(o,!0))}},zk=function(e,t,n){if(t.clear_child_styles){var r=t.links?"*:not(a)":"*";Ok(e.select(r,n),(function(n){Lk(n)&&Ok(t.styles,(function(t,r){e.setStyle(n,r,"")}))}))}},Uk=function(e,t,n){Ok(e.childNodes,(function(e){Lk(e)&&(t(e)&&n(e),e.hasChildNodes()&&Uk(e,t,n))}))},Hk=function(e,t){"SPAN"===t.nodeName&&0===e.getAttribs(t).length&&e.remove(t,!0)},jk=function(e,t){return function(n){return!(!n||!Sg(e,n,t))}},Vk=function(e,t,n){return function(r){e.setStyle(r,t,n),""===r.getAttribute("style")&&r.removeAttribute("style"),Hk(e,r)}},qk=$o.generate([{keep:[]},{rename:["name"]},{removed:[]}]),$k=/^(src|href|style)$/,Wk=fn.each,Kk=xg,Gk=function(e){return/^(TR|TH|TD)$/.test(e.nodeName)},Xk=function(e,t,n){return e.isChildOf(t,n)&&t!==n&&!e.isBlock(n)},Yk=function(e,t,n){var r,o;if(r=t[n?"startContainer":"endContainer"],o=t[n?"startOffset":"endOffset"],zr(r)){var i=r.childNodes.length-1;!n&&o&&o--,r=r.childNodes[o>i?i:o]}return Xr(r)&&n&&o>=r.nodeValue.length&&(r=new Pi(r,e.getBody()).next()||r),Xr(r)&&!n&&0===o&&(r=new Pi(r,e.getBody()).prev()||r),r},Zk=function(e,t){var n=t?"firstChild":"lastChild";if(Gk(e)&&e[n]){var r=e[n];return"TR"===e.nodeName&&r[n]||r}return e},Jk=function(e,t,n,r){var o=e.create(n,r);return t.parentNode.insertBefore(o,t),o.appendChild(t),o},Qk=function(e,t,n,r,o){var i=vn.fromDom(t),a=vn.fromDom(e.create(r,o)),u=n?Jn(i):Zn(i);return Cr(a,u),n?(pr(i,a),hr(a,i)):(gr(i,a),vr(a,i)),a.dom},eS=function(e,t,n){return!!Kk(t,n.inline)||(!!Kk(t,n.block)||(n.selector?zr(t)&&e.is(t,n.selector):void 0))},tS=function(e,t){return t.links&&"A"===e.nodeName},nS=function(e,t,n,r){return t=hg(t,n,r),!t||"BR"===t.nodeName||e.isBlock(t)},rS=function(e,t,n){var r,o=t.parentNode,i=e.dom,a=dd(e);n.block&&(a?o===i.getRoot()&&(n.list_block&&Kk(t,n.list_block)||J(ve(t.childNodes),(function(t){bg(e,a,t.nodeName.toLowerCase())?r?r.appendChild(t):(r=Jk(i,t,a),i.setAttribs(r,e.settings.forced_root_block_attrs)):r=0}))):i.isBlock(t)&&!i.isBlock(o)&&(nS(i,t,!1)||nS(i,t.firstChild,!0,!0)||t.insertBefore(i.create("br"),t.firstChild),nS(i,t,!0)||nS(i,t.lastChild,!1,!0)||t.appendChild(i.create("br")))),n.selector&&n.inline&&!Kk(n.inline,t)||i.remove(t,!0)},oS=function(e,t,n,r,o){var i,a=e.dom;if(!eS(a,r,t)&&!tS(r,t))return qk.keep();var u=r;if(t.inline&&"all"===t.remove&&I(t.preserve_attributes)){var c=te(a.getAttribs(u),(function(e){return X(t.preserve_attributes,e.name.toLowerCase())}));if(a.removeAllAttribs(u),J(c,(function(e){return a.setAttrib(u,e.name,e.value)})),c.length>0)return qk.rename("span")}if("all"!==t.remove){Wk(t.styles,(function(e,r){e=kg(a,wg(e,n),r+""),V(r)&&(r=e,o=null),(t.remove_similar||!o||Kk(Sg(a,o,r),e))&&a.setStyle(u,r,""),i=!0})),i&&""===a.getAttrib(u,"style")&&(u.removeAttribute("style"),u.removeAttribute("data-mce-style")),Wk(t.attributes,(function(e,r){var i;if(e=wg(e,n),V(r)&&(r=e,o=null),t.remove_similar||!o||Kk(a.getAttrib(o,r),e)){if("class"===r&&(e=a.getAttrib(u,r),e&&(i="",J(e.split(/\s+/),(function(e){/mce\-\w+/.test(e)&&(i+=(i?" ":"")+e)})),i)))return void a.setAttrib(u,r,i);"class"===r&&u.removeAttribute("className"),$k.test(r)&&u.removeAttribute("data-mce-"+r),u.removeAttribute(r)}})),Wk(t.classes,(function(e){e=wg(e,n),o&&!a.hasClass(o,e)||a.removeClass(u,e)}));for(var s=a.getAttribs(u),l=0;l<s.length;l++){var f=s[l].nodeName;if(0!==f.indexOf("_")&&0!==f.indexOf("data-"))return qk.keep()}}return"none"!==t.remove?(rS(e,u,t),qk.removed()):qk.keep()},iS=function(e,t,n,r,o){return oS(e,t,n,r,o).fold(k,(function(t){return e.dom.rename(r,t),!0}),S)},aS=function(e,t,n,r,o){var i;return J(Ng(e.dom,t.parentNode).reverse(),(function(t){if(!i&&"_start"!==t.id&&"_end"!==t.id){var a=nk(e,t,n,r,o);a&&!1!==a.split&&(i=t)}})),i},uS=function(e,t,n,r){return oS(e,t,n,r,r).fold(h(r),(function(t){var n=e.dom.createFragment();return n.appendChild(r),e.dom.rename(r,t)}),h(null))},cS=function(e,t,n,r,o,i,a,u){var c,s,l,f=e.dom;if(n){for(var d=n.parentNode,m=r.parentNode;m&&m!==d;m=m.parentNode){c=f.clone(m,!1);for(var p=0;p<t.length;p++)if(c=uS(e,t[p],u,c),null===c)break;c&&(s&&c.appendChild(s),l||(l=c),s=c)}!i||a.mixed&&f.isBlock(n)||(r=f.split(n,r)),s&&(o.parentNode.insertBefore(s,o),l.appendChild(o),a.inline&&Mk(f,a,u,s))}return r},sS=function(e,t,n,r,o){var i=e.formatter.get(t),a=i[0],u=!0,c=e.dom,s=e.selection,l=function(r){var u=aS(e,r,t,n,o);return cS(e,i,u,r,r,!0,a,n)},f=function(e){return cg(e)&&zr(e)&&("_start"===e.id||"_end"===e.id)},d=function(t){var r,o;zr(t)&&c.getContentEditable(t)&&(r=u,u="true"===c.getContentEditable(t),o=!0);var s=ve(t.childNodes);if(u&&!o)for(var l=0;l<i.length;l++)if(iS(e,i[l],n,t,t))break;if(a.deep&&s.length){for(l=0;l<s.length;l++)d(s[l]);o&&(u=r)}},m=function(e){var t=c.get(e?"_start":"_end"),n=t[e?"firstChild":"lastChild"];return f(n)&&(n=n[e?"firstChild":"lastChild"]),Xr(n)&&0===n.data.length&&(n=e?t.previousSibling||t.nextSibling:t.nextSibling||t.previousSibling),c.remove(t,!0),n},p=function(t){var n,r,o=Kg(e,t,i,t.collapsed);if(a.split){if(o=av(o),n=Yk(e,o,!0),r=Yk(e,o),n!==r){if(n=Zk(n,!0),r=Zk(r,!1),Xk(c,n,r)){var u=R.from(n.firstChild).getOr(n);return l(Qk(c,u,!0,"span",{id:"_start","data-mce-type":"bookmark"})),void m(!0)}if(Xk(c,r,n)){u=R.from(r.lastChild).getOr(r);return l(Qk(c,u,!1,"span",{id:"_end","data-mce-type":"bookmark"})),void m(!1)}n=Jk(c,n,"span",{id:"_start","data-mce-type":"bookmark"}),r=Jk(c,r,"span",{id:"_end","data-mce-type":"bookmark"});var s=c.createRng();s.setStartAfter(n),s.setEndBefore(r),Yg(c,s,(function(e){J(e,(function(e){cg(e)||cg(e.parentNode)||l(e)}))})),l(n),l(r),n=m(!0),r=m()}else n=r=l(n);o.startContainer=n.parentNode?n.parentNode:n,o.startOffset=c.nodeIndex(n),o.endContainer=r.parentNode?r.parentNode:r,o.endOffset=c.nodeIndex(r)+1}Yg(c,o,(function(t){J(t,(function(t){d(t);var n=["underline","line-through","overline"];J(n,(function(n){zr(t)&&e.dom.getStyle(t,"text-decoration")===n&&t.parentNode&&Eg(c,t.parentNode)===n&&iS(e,{deep:!1,exact:!0,inline:"span",styles:{textDecoration:n}},null,t)}))}))}))};if(r)if(mg(r)){var g=c.createRng();g.setStartBefore(r),g.setEndAfter(r),p(g)}else p(r);else if("false"!==c.getContentEditable(s.getNode()))s.isCollapsed()&&a.inline&&!rh(e).length?kk(e,t,n,o):(dh(s,!0,(function(){fh(e,p)})),a.inline&&rk(e,t,n,s.getStart())&&gg(c,s,s.getRng()),e.nodeChanged());else{r=s.getNode();for(var h=0;h<i.length;h++)if(i[h].ceFalseOverride&&iS(e,i[h],n,r,r))break}},lS=fn.each,fS=function(e,t,n,r){var o=function(t){if(1===t.nodeType&&t.parentNode&&1===t.parentNode.nodeType){var n=Eg(e,t.parentNode);e.getStyle(t,"color")&&n?e.setStyle(t,"text-decoration",n):e.getStyle(t,"text-decoration")===n&&e.setStyle(t,"text-decoration",null)}};t.styles&&(t.styles.color||t.styles.textDecoration)&&(fn.walk(r,o,"childNodes"),o(r))},dS=function(e,t,n,r){t.styles&&t.styles.backgroundColor&&Uk(r,jk(e,"fontSize"),Vk(e,"backgroundColor",wg(t.styles.backgroundColor,n)))},mS=function(e,t,n,r){"sub"!==t.inline&&"sup"!==t.inline||(Uk(r,jk(e,"fontSize"),Vk(e,"fontSize","")),e.remove(e.select("sup"===t.inline?"sub":"sup",r),!0))},pS=function(e,t,n,r){lS(t,(function(t){lS(e.dom.select(t.inline,r),(function(r){Lk(r)&&iS(e,t,n,r,t.exact?r:null)})),zk(e.dom,t,r)}))},gS=function(e,t,n,r,o){nk(e,o.parentNode,n,r)&&iS(e,t,r,o)||t.merge_with_parents&&e.dom.getParent(o.parentNode,(function(i){if(nk(e,i,n,r))return iS(e,t,r,o),!0}))},hS=fn.each,vS=function(e,t){return Pe(e,t)},bS=function(e){return e&&1===e.nodeType&&!cg(e)&&!Up(e)&&!qr(e)},yS=function(e,t,n,r){if(Yd(e)&&Dg(t)){var o=Ve(Ve({},e.schema.getTextBlockElements()),{td:{},th:{},li:{},dt:{},dd:{},figcaption:{},caption:{},details:{},summary:{}}),i=Kx(vn.fromDom(n),(function(e){return Up(e.dom)}));return Pe(o,r)&&Ga(vn.fromDom(n.parentNode),!1)&&!i}return!1},CS=function(e,t,n,r){var o=e.formatter.get(t),i=o[0],a=!r&&e.selection.isCollapsed(),u=e.dom,c=e.selection,s=function(e,t){if(t=t||i,e){if(t.onformat&&t.onformat(e,t,n,r),hS(t.styles,(function(t,r){u.setStyle(e,r,wg(t,n))})),t.styles){var o=u.getAttrib(e,"style");o&&u.setAttrib(e,"data-mce-style",o)}hS(t.attributes,(function(t,r){u.setAttrib(e,r,wg(t,n))})),hS(t.classes,(function(t){t=wg(t,n),u.hasClass(e,t)||u.addClass(e,t)}))}},l=function(e,t){var n=!1;return!!_g(i)&&(hS(e,(function(e){if(!("collapsed"in e)||e.collapsed===a)return u.is(t,e.selector)&&!Up(t)?(s(t,e),n=!0,!1):void 0})),n)},f=function(r,a,u,c){var f=[],d=!0,m=i.inline||i.block,p=r.create(m);s(p),Yg(r,a,(function(a){var u,g=function(a){var h=!1,v=d,b=a.nodeName.toLowerCase(),y=a.parentNode.nodeName.toLowerCase();if(zr(a)&&r.getContentEditable(a)&&(v=d,d="true"===r.getContentEditable(a),h=!0),Qr(a)&&!yS(e,i,a,y))return u=null,void(Rg(i)&&r.remove(a));if(i.wrapper&&nk(e,a,t,n))u=null;else{if(d&&!h&&Rg(i)&&!i.wrapper&&vg(e,b)&&bg(e,y,m)){var C=r.rename(a,m);return s(C),f.push(C),void(u=null)}if(_g(i)){var w=l(o,a);if(!vS(i,"inline")||w)return void(u=null)}!d||h||!bg(e,m,b)||!bg(e,y,m)||!c&&3===a.nodeType&&1===a.nodeValue.length&&65279===a.nodeValue.charCodeAt(0)||Up(a)||vS(i,"inline")&&r.isBlock(a)?(u=null,hS(fn.grep(a.childNodes),g),h&&(d=v),u=null):(u||(u=r.clone(p,!1),a.parentNode.insertBefore(u,a),f.push(u)),u.appendChild(a))}};hS(a,g)})),!0===i.links&&hS(f,(function(e){var t=function(e){"A"===e.nodeName&&s(e,i),hS(fn.grep(e.childNodes),t)};t(e)})),hS(f,(function(a){var u=function(e){var t=0;return hS(e.childNodes,(function(e){Cg(e)||cg(e)||t++})),t},c=function(e){var t=!1;return hS(e.childNodes,(function(e){if(bS(e))return t=e,!1})),t},l=function(e){var t,n=c(e);return n&&!cg(n)&&ek(r,n,i)&&(t=r.clone(n,!1),s(t),r.replace(t,e,!0),r.remove(n,!0)),t||e},d=u(a);!(f.length>1)&&r.isBlock(a)||0!==d?(Dg(i)||i.wrapper)&&(i.exact||1!==d||(a=l(a)),pS(e,o,n,a),gS(e,i,t,n,a),dS(r,i,n,a),fS(r,i,n,a),mS(r,i,n,a),Mk(r,i,n,a)):r.remove(a,!0)}))};if("false"!==u.getContentEditable(c.getNode())){if(i){if(r)if(mg(r)){if(!l(o,r)){var d=u.createRng();d.setStartBefore(r),d.setEndAfter(r),f(u,Kg(e,d,o),null,!0)}}else f(u,r,null,!0);else if(a&&Dg(i)&&!rh(e).length)xk(e,t,n);else{var m=c.getNode(),p=o[0];e.settings.forced_root_block||!p.defaultBlock||u.getParent(m,u.isBlock)||CS(e,p.defaultBlock),c.setRng(nx(c.getRng())),dh(c,!0,(function(t){fh(e,(function(t,n){var r=n?t:Kg(e,t,o);f(u,r)}))})),gg(u,c,c.getRng()),e.nodeChanged()}Bk(t,e)}}else{r=c.getNode();for(var g=0,h=o.length;g<h;g++){var v=o[g];if(v.ceFalseOverride&&_g(v)&&u.is(r,v.selector))return void s(r,v)}}},wS=function(e,t){var n=Ms({});e.set({}),t.on("NodeChange",(function(r){xS(t,r.element,n,e.get())}))},xS=function(e,t,n,r){var o=ye(n.get()),i={},a={},u=te(Ng(e.dom,t),(function(e){return 1===e.nodeType&&!e.getAttribute("data-mce-bogus")}));we(r,(function(t,n){fn.each(u,(function(r){return e.formatter.matchNode(r,n,{},t.similar)?(-1===o.indexOf(n)&&(J(t.callbacks,(function(e){e(!0,{node:r,format:n,parents:u})})),i[n]=t.callbacks),a[n]=t.callbacks,!1):!Jx(e,r,n)&&void 0}))}));var c=kS(n.get(),a,t,u);n.set(Ve(Ve({},i),c))},kS=function(e,t,n,r){return Ne(e,(function(e,o){return!!De(t,o)||(J(e,(function(e){e(!1,{node:n,format:o,parents:r})})),!1)})).t},SS=function(e,t,n,r){var o=e.get();J(t.split(","),(function(e){o[e]||(o[e]={similar:r,callbacks:[]}),o[e].callbacks.push(n)})),e.set(o)},ES=function(e,t,n){var r=e.get();J(t.split(","),(function(e){r[e].callbacks=te(r[e].callbacks,(function(e){return e!==n})),0===r[e].callbacks.length&&delete r[e]})),e.set(r)},NS=function(e,t,n,r,o){return null===t.get()&&wS(t,e),SS(t,n,r,o),{unbind:function(){return ES(t,n,r)}}},TS=function(e,t,n,r){var o=e.formatter.get(t);!rk(e,t,n,r)||"toggle"in o[0]&&!o[0].toggle?CS(e,t,n,r):sS(e,t,n,r)},AS=function(e,t){var n=t||document,r=n.createDocumentFragment();return J(e,(function(e){r.appendChild(e.dom)})),vn.fromDom(r)},RS=function(e,t,n){return{element:e,width:t,rows:n}},_S=function(e,t){return{element:e,cells:t}},DS=function(e,t){return{x:e,y:t}},PS=function(e,t){var n=parseInt(so(e,t),10);return isNaN(n)?1:n},BS=function(e,t,n,r,o){for(var i=PS(o,"rowspan"),a=PS(o,"colspan"),u=e.rows,c=n;c<n+i;c++){u[c]||(u[c]=_S(Pl(r),[]));for(var s=t;s<t+a;s++){var l=u[c].cells;l[s]=c===n&&s===t?o:Dl(o)}}},OS=function(e,t,n){var r=e.rows,o=r[n]?r[n].cells:[];return!!o[t]},LS=function(e,t,n){while(OS(e,t,n))t++;return t},IS=function(e){return re(e,(function(e,t){return t.cells.length>e?t.cells.length:e}),0)},FS=function(e,t){for(var n=e.rows,r=0;r<n.length;r++)for(var o=n[r].cells,i=0;i<o.length;i++)if(_n(o[i],t))return R.some(DS(i,r));return R.none()},MS=function(e,t,n,r,o){for(var i=[],a=e.rows,u=n;u<=o;u++){var c=a[u].cells,s=t<r?c.slice(t,r+1):c.slice(r,t+1);i.push(_S(a[u].element,s))}return i},zS=function(e,t,n){var r=t.x,o=t.y,i=n.x,a=n.y,u=o<a?MS(e,r,o,i,a):MS(e,r,a,i,o);return RS(e.element,IS(u),u)},US=function(e,t){var n=Dl(e.element),r=vn.fromTag("tbody");return Cr(r,t),vr(n,r),n},HS=function(e){return Z(e.rows,(function(e){var t=Z(e.cells,(function(e){var t=Pl(e);return mo(t,"colspan"),mo(t,"rowspan"),t})),n=Dl(e.element);return Cr(n,t),n}))},jS=function(e){var t=RS(Dl(e),0,[]);return J(ml(e,"tr"),(function(e,n){J(ml(e,"td,th"),(function(r,o){BS(t,LS(t,o,n),n,e,r)}))})),RS(t.element,IS(t.rows),t.rows)},VS=function(e){return US(e,HS(e))},qS=function(e,t,n){return FS(e,t).bind((function(t){return FS(e,n).map((function(n){return zS(e,t,n)}))}))},$S=function(e){return ie(e,(function(e){return"ul"===On(e)||"ol"===On(e)}))},WS=function(e,t){return ie(e,(function(e){return"li"===On(e)&&ch(e,t)})).fold(h([]),(function(t){return $S(e).map((function(e){var t=vn.fromTag(On(e)),n=Te(Co(e),(function(e,t){return ct(t,"list-style")}));return ho(t,n),[vn.fromTag("li"),t]})).getOr([])}))},KS=function(e,t){var n=re(t,(function(e,t){return vr(t,e),t}),e);return t.length>0?AS([n]):n},GS=function(e){return Xi(e)?Wn(e).filter(Gi).fold(h([]),(function(t){return[e,t]})):Gi(e)?[e]:[]},XS=function(e,t){var n=vn.fromDom(t.commonAncestorContainer),r=oC(n,e),o=te(r,(function(e){return $i(e)||ji(e)})),i=WS(r,t),a=o.concat(i.length?i:GS(n));return Z(a,Dl)},YS=function(){return AS([])},ZS=function(e,t){return KS(vn.fromDom(t.cloneContents()),XS(e,t))},JS=function(e,t){return vi(t,"table",b(_n,e))},QS=function(e,t){return JS(e,t[0]).bind((function(e){var n=t[0],r=t[t.length-1],o=jS(e);return qS(o,n,r).map((function(e){return AS([VS(e)])}))})).getOrThunk(YS)},eE=function(e,t){return t.length>0&&t[0].collapsed?YS():ZS(e,t[0])},tE=function(e,t){var n=nh(t,e);return n.length>0?QS(e,n):eE(e,t)},nE=function(e){return e.replace(/^[ \f\n\r\t\v]+/,"")},rE=function(e,t){return t>=0&&t<e.length&&fg(e.charAt(t))},oE=function(e,t){var n=aa(e.innerText);return t?nE(n):n},iE=function(e){return e.map((function(e){return e.nodeName})).getOr("div").toLowerCase()},aE=function(e){return R.from(e.selection.getRng()).map((function(t){var n=R.from(e.dom.getParent(t.commonAncestorContainer,e.dom.isBlock)),r=e.getBody(),o=iE(n),i=Zt.browser.isIE()&&"pre"!==o,a=e.dom.add(r,o,{"data-mce-bogus":"all",style:"overflow: hidden; opacity: 0;"},t.cloneContents()),u=oE(a,i),c=aa(a.textContent);if(e.dom.remove(a),rE(c,0)||rE(c,c.length-1)){var s=n.getOr(r),l=oE(s,i),f=l.indexOf(u);if(-1===f)return u;var d=rE(l,f-1),m=rE(l,f+u.length);return(d?" ":"")+u+(m?" ":"")}return u})).getOr("")},uE=function(e,t){var n=e.selection.getRng(),r=e.dom.create("body"),o=e.selection.getSel(),i=uy(e,Zg(o)),a=t.contextual?tE(vn.fromDom(e.getBody()),i).dom:n.cloneContents();return a&&r.appendChild(a),e.selection.serializer.serialize(r,t)},cE=function(e,t,n){if(void 0===n&&(n={}),n.get=!0,n.format=t,n.selection=!0,n=e.fire("BeforeGetContent",n),n.isDefaultPrevented())return e.fire("GetContent",n),n.content;if("text"===n.format)return aE(e);n.getInner=!0;var r=uE(e,n);return"tree"===n.format?r:(n.content=e.selection.isCollapsed()?"":r,e.fire("GetContent",n),n.content)},sE=0,lE=1,fE=2,dE=function(e,t){var n=e.length+t.length+2,r=new Array(n),o=new Array(n),i=function(e,t,n){return{start:e,end:t,diag:n}},a=function(n,r,o,i,u){var s=c(n,r,o,i);if(null===s||s.start===r&&s.diag===r-i||s.end===n&&s.diag===n-o){var l=n,f=o;while(l<r||f<i)l<r&&f<i&&e[l]===t[f]?(u.push([sE,e[l]]),++l,++f):r-n>i-o?(u.push([fE,e[l]]),++l):(u.push([lE,t[f]]),++f)}else{a(n,s.start,o,s.start-s.diag,u);for(var d=s.start;d<s.end;++d)u.push([sE,e[d]]);a(s.end,r,s.end-s.diag,i,u)}},u=function(n,r,o,a){var u=n;while(u-r<a&&u<o&&e[u]===t[u-r])++u;return i(n,u,r)},c=function(n,i,a,c){var s=i-n,l=c-a;if(0===s||0===l)return null;var f,d,m,p,g,h=s-l,v=l+s,b=(v%2===0?v:v+1)/2;for(r[1+b]=n,o[1+b]=i+1,f=0;f<=b;++f){for(d=-f;d<=f;d+=2){m=d+b,d===-f||d!==f&&r[m-1]<r[m+1]?r[m]=r[m+1]:r[m]=r[m-1]+1,p=r[m],g=p-n+a-d;while(p<i&&g<c&&e[p]===t[g])r[m]=++p,++g;if(h%2!==0&&h-f<=d&&d<=h+f&&o[m-h]<=r[m])return u(o[m-h],d+n-a,i,c)}for(d=h-f;d<=h+f;d+=2){m=d+b-h,d===h-f||d!==h+f&&o[m+1]<=o[m-1]?o[m]=o[m+1]-1:o[m]=o[m-1],p=o[m]-1,g=p-n+a-d;while(p>=n&&g>=a&&e[p]===t[g])o[m]=p--,g--;if(h%2===0&&-f<=d&&d<=f&&o[m]<=r[m+h])return u(o[m],d+n-a,i,c)}}},s=[];return a(0,e.length,0,t.length,s),s},mE=function(e){return zr(e)?e.outerHTML:Xr(e)?Cu.encodeRaw(e.data,!1):Yr(e)?"\x3c!--"+e.data+"--\x3e":""},pE=function(e){var t,n=document.createElement("div"),r=document.createDocumentFragment();e&&(n.innerHTML=e);while(t=n.firstChild)r.appendChild(t);return r},gE=function(e,t,n){var r=pE(t);if(e.hasChildNodes()&&n<e.childNodes.length){var o=e.childNodes[n];o.parentNode.insertBefore(r,o)}else e.appendChild(r)},hE=function(e,t){if(e.hasChildNodes()&&t<e.childNodes.length){var n=e.childNodes[t];n.parentNode.removeChild(n)}},vE=function(e,t){var n=0;J(e,(function(e){e[0]===sE?n++:e[0]===lE?(gE(t,e[1],n),n++):e[0]===fE&&hE(t,n)}))},bE=function(e){return te(Z(ve(e.childNodes),mE),(function(e){return e.length>0}))},yE=function(e,t){var n=Z(ve(t.childNodes),mE);return vE(dE(n,e),t),t},CE=Ms(R.none()),wE=function(){return CE.get().getOrThunk((function(){var e=document.implementation.createHTMLDocument("undo");return CE.set(R.some(e)),e}))},xE=function(e){return-1!==e.indexOf("</iframe>")},kE=function(e){return{type:"fragmented",fragments:e,content:"",bookmark:null,beforeBookmark:null}},SE=function(e){return{type:"complete",fragments:null,content:e,bookmark:null,beforeBookmark:null}},EE=function(e){var t=bE(e.getBody()),n=ce(t,(function(t){var n=Ny(e.serializer,t);return n.length>0?[n]:[]})),r=n.join("");return xE(r)?kE(n):SE(r)},NE=function(e,t,n){"fragmented"===t.type?yE(t.fragments,e.getBody()):e.setContent(t.content,{format:"raw"}),e.selection.moveToBookmark(n?t.beforeBookmark:t.bookmark)},TE=function(e){return"fragmented"===e.type?e.fragments.join(""):e.content},AE=function(e){var t=vn.fromTag("body",wE());return Rl(t,TE(e)),J(ml(t,"*[data-mce-bogus]"),kr),Al(t)},RE=function(e,t){return TE(e)===TE(t)},_E=function(e,t){return AE(e)===AE(t)},DE=function(e,t){return!(!e||!t)&&(!!RE(e,t)||_E(e,t))},PE=function(e){return 0===e.get()},BE=function(e,t,n){PE(n)&&(e.typing=t)},OE=function(e,t){e.typing&&(BE(e,!1,t),e.add())},LE=function(e){e.typing&&(e.typing=!1,e.add())},IE=function(e,t,n){PE(t)&&n.set(R.some(td(e.selection)))},FE=function(e,t,n,r,o,i,a){var u=EE(e);if(i=i||{},i=fn.extend(i,u),!1===PE(r)||e.removed)return null;var c=t.data[n.get()];if(e.fire("BeforeAddUndo",{level:i,lastLevel:c,originalEvent:a}).isDefaultPrevented())return null;if(c&&DE(c,i))return null;t.data[n.get()]&&o.get().each((function(e){t.data[n.get()].beforeBookmark=e}));var s=am(e);if(s&&t.data.length>s){for(var l=0;l<t.data.length-1;l++)t.data[l]=t.data[l+1];t.data.length--,n.set(t.data.length)}i.bookmark=td(e.selection),n.get()<t.data.length-1&&(t.data.length=n.get()+1),t.data.push(i),n.set(t.data.length-1);var f={level:i,lastLevel:c,originalEvent:a};return n.get()>0?(e.setDirty(!0),e.fire("AddUndo",f),e.fire("change",f)):e.fire("AddUndo",f),i},ME=function(e,t,n){t.data=[],n.set(0),t.typing=!1,e.fire("ClearUndos")},zE=function(e,t,n,r,o){if(t.transact(r)){var i=t.data[n.get()].bookmark,a=t.data[n.get()-1];NE(e,a,!0),t.transact(o)&&(t.data[n.get()-1].beforeBookmark=i)}},UE=function(e,t,n){var r;return t.get()<n.length-1&&(t.set(t.get()+1),r=n[t.get()],NE(e,r,!1),e.setDirty(!0),e.fire("Redo",{level:r})),r},HE=function(e,t,n,r){var o;return t.typing&&(t.add(),t.typing=!1,BE(t,!1,n)),r.get()>0&&(r.set(r.get()-1),o=t.data[r.get()],NE(e,o,!0),e.setDirty(!0),e.fire("Undo",{level:o})),o},jE=function(e){e.clear(),e.add()},VE=function(e,t,n){return n.get()>0||t.typing&&t.data[0]&&!DE(EE(e),t.data[0])},qE=function(e,t){return t.get()<e.data.length-1&&!e.typing},$E=function(e,t,n){return OE(e,t),e.beforeChange(),e.ignore(n),e.add()},WE=function(e,t){try{e.set(e.get()+1),t()}finally{e.set(e.get()-1)}},KE=function(e,t){var n=e.dom,r=H(t)?t:e.getBody();z(e.hasVisual)&&(e.hasVisual=mm(e)),J(n.select("table,a",r),(function(t){switch(t.nodeName){case"TABLE":var r=pm(e),o=n.getAttrib(t,"border");o&&"0"!==o||!e.hasVisual?n.removeClass(t,r):n.addClass(t,r);break;case"A":if(!n.getAttrib(t,"href")){var i=n.getAttrib(t,"name")||t.id,a=gm(e);i&&e.hasVisual?n.addClass(t,a):n.removeClass(t,a)}break}})),e.fire("VisualAid",{element:t,hasVisual:e.hasVisual})},GE=function(e){return{undoManager:{beforeChange:function(t,n){return IE(e,t,n)},addUndoLevel:function(t,n,r,o,i,a){return FE(e,t,n,r,o,i,a)},undo:function(t,n,r){return HE(e,t,n,r)},redo:function(t,n){return UE(e,t,n)},clear:function(t,n){return ME(e,t,n)},reset:function(e){return jE(e)},hasUndo:function(t,n){return VE(e,t,n)},hasRedo:function(e,t){return qE(e,t)},transact:function(e,t,n){return $E(e,t,n)},ignore:function(e,t){return WE(e,t)},extra:function(t,n,r,o){return zE(e,t,n,r,o)}},formatter:{match:function(t,n,r){return rk(e,t,n,r)},matchAll:function(t,n){return ok(e,t,n)},matchNode:function(t,n,r,o){return nk(e,t,n,r,o)},canApply:function(t){return ak(e,t)},closest:function(t){return ik(e,t)},apply:function(t,n,r){return CS(e,t,n,r)},remove:function(t,n,r,o){return sS(e,t,n,r,o)},toggle:function(t,n,r){return TS(e,t,n,r)},formatChanged:function(t,n,r,o){return NS(e,t,n,r,o)}},editor:{getContent:function(t,n){return _y(e,t,n)},setContent:function(t,n){return Wx(e,t,n)},insertContent:function(t,n){return Ix(e,t,n)},addVisual:function(t){return KE(e,t)}},selection:{getContent:function(t,n){return cE(e,t,n)}},raw:{getModel:function(){return R.none()}}}},XE=function(e){var t=function(e){return L(e)?e:{}},n=C("Unimplemented feature for rtc"),r=e.undoManager,o=e.formatter,i=e.editor,a=e.selection,u=e.raw,c=m;return{undoManager:{beforeChange:c,addUndoLevel:n,undo:function(){return r.undo()},redo:function(){return r.redo()},clear:function(){return r.clear()},reset:function(){return r.reset()},hasUndo:function(){return r.hasUndo()},hasRedo:function(){return r.hasRedo()},transact:function(e,t,n){return r.transact(n)},ignore:function(e,t){return r.ignore(t)},extra:function(e,t,n,o){return r.extra(n,o)}},formatter:{match:function(e,n,r){return o.match(e,t(n))},matchAll:n,matchNode:n,canApply:function(e){return o.canApply(e)},closest:function(e){return o.closest(e)},apply:function(e,n,r){return o.apply(e,t(n))},remove:function(e,n,r,i){return o.remove(e,t(n))},toggle:function(e,n,r){return o.toggle(e,t(n))},formatChanged:function(e,t,n,r){return o.formatChanged(t,n,r)}},editor:{getContent:function(e,t){return i.getContent(e)},setContent:function(e,t){return i.setContent(e,t)},insertContent:function(e,t){return i.insertContent(e)},addVisual:c},selection:{getContent:function(e,t){return a.getContent(t)}},raw:{getModel:function(){return R.some(u.getRawModel())}}}},YE=function(){var e=h(null),t=h("");return{undoManager:{beforeChange:m,addUndoLevel:e,undo:e,redo:e,clear:m,reset:m,hasUndo:k,hasRedo:k,transact:e,ignore:m,extra:m},formatter:{match:k,matchAll:h([]),matchNode:k,canApply:k,closest:t,apply:m,remove:m,toggle:m,formatChanged:h({unbind:m})},editor:{getContent:t,setContent:t,insertContent:m,addVisual:m},selection:{getContent:t},raw:{getModel:h(R.none())}}},ZE=function(e){return De(e.plugins,"rtc")},JE=function(e){var t=e;return _e(e.plugins,"rtc").fold((function(){return t.rtcInstance=GE(e),R.none()}),(function(e){return R.some(e.setup().then((function(e){return t.rtcInstance=XE(e),e.rtc.isRemote}),(function(e){return t.rtcInstance=YE(),wi.reject(e)})))}))},QE=function(e){return e.rtcInstance?e.rtcInstance:GE(e)},eN=function(e){var t=e.rtcInstance;if(t)return t;throw new Error("Failed to get RTC instance not yet initialized.")},tN=function(e,t,n){eN(e).undoManager.beforeChange(t,n)},nN=function(e,t,n,r,o,i,a){return eN(e).undoManager.addUndoLevel(t,n,r,o,i,a)},rN=function(e,t,n,r){return eN(e).undoManager.undo(t,n,r)},oN=function(e,t,n){return eN(e).undoManager.redo(t,n)},iN=function(e,t,n){eN(e).undoManager.clear(t,n)},aN=function(e,t){eN(e).undoManager.reset(t)},uN=function(e,t,n){return eN(e).undoManager.hasUndo(t,n)},cN=function(e,t,n){return eN(e).undoManager.hasRedo(t,n)},sN=function(e,t,n,r){return eN(e).undoManager.transact(t,n,r)},lN=function(e,t,n){eN(e).undoManager.ignore(t,n)},fN=function(e,t,n,r,o){eN(e).undoManager.extra(t,n,r,o)},dN=function(e,t,n,r){return eN(e).formatter.match(t,n,r)},mN=function(e,t,n){return eN(e).formatter.matchAll(t,n)},pN=function(e,t,n,r,o){return eN(e).formatter.matchNode(t,n,r,o)},gN=function(e,t){return eN(e).formatter.canApply(t)},hN=function(e,t){return eN(e).formatter.closest(t)},vN=function(e,t,n,r){eN(e).formatter.apply(t,n,r)},bN=function(e,t,n,r,o){eN(e).formatter.remove(t,n,r,o)},yN=function(e,t,n,r){eN(e).formatter.toggle(t,n,r)},CN=function(e,t,n,r,o){return void 0===o&&(o=!1),eN(e).formatter.formatChanged(t,n,r,o)},wN=function(e,t,n){return QE(e).editor.getContent(t,n)},xN=function(e,t,n){return QE(e).editor.setContent(t,n)},kN=function(e,t,n){return QE(e).editor.insertContent(t,n)},SN=function(e,t,n){return eN(e).selection.getContent(t,n)},EN=function(e,t){return eN(e).editor.addVisual(t)},NN=function(e,t){void 0===t&&(t={});var n=t.format?t.format:"html";return SN(e,n,t)},TN=function(e){return 0===e.dom.length?(xr(e),R.none()):R.some(e)},AN=function(e,t){return e.filter((function(e){return kh.isBookmarkNode(e.dom)})).bind(t?Yn:Xn)},RN=function(e,t,n,r){var o=e.dom,i=t.dom,a=r?o.length:i.length;r?($C(o,i,!1,!r),n.setStart(i,a)):($C(i,o,!1,!r),n.setEnd(i,a))},_N=function(e,t){Wn(e).each((function(n){var r=e.dom;t&&RC(n,Cf(r,0))?VC(r,0):!t&&DC(n,Cf(r,r.length))&&qC(r,r.length)}))},DN=function(e,t,n,r){e.bind((function(e){var o=r?qC:VC;return o(e.dom,r?e.dom.length:0),t.filter(zn).map((function(t){return RN(e,t,n,r)}))})).orThunk((function(){var e=AN(t,r).or(t).filter(zn);return e.map((function(e){return _N(e,r)}))}))},PN=function(e,t){var n=R.from(t.firstChild).map(vn.fromDom),r=R.from(t.lastChild).map(vn.fromDom);e.deleteContents(),e.insertNode(t);var o=n.bind(Xn).filter(zn).bind(TN),i=r.bind(Yn).filter(zn).bind(TN);DN(o,n,e,!0),DN(i,r,e,!1),e.collapse(!1)},BN=function(e,t){return Ve(Ve({format:"html"},e),{set:!0,selection:!0,content:t})},ON=function(e,t){if("raw"!==t.format){var n=e.selection.getRng(),r=e.dom.getParent(n.commonAncestorContainer,e.dom.isBlock),o=r?{context:r.nodeName.toLowerCase()}:{},i=e.parser.parse(t.content,Ve(Ve({isRootContent:!0,forced_root_block:!1},o),t));return Ly({validate:e.validate},e.schema).serialize(i)}return t.content},LN=function(e,t,n){void 0===n&&(n={});var r=BN(n,t);if(r.no_events||(r=e.fire("BeforeSetContent",r),!r.isDefaultPrevented())){n.content=ON(e,r);var o=e.selection.getRng();PN(o,o.createContextualFragment(n.content)),e.selection.setRng(o),zv(e,o),r.no_events||e.fire("SetContent",r)}else e.fire("SetContent",r)},IN=function(e,t,n){if(e&&e.hasOwnProperty(t)){var r=te(e[t],(function(e){return e!==n}));0===r.length?delete e[t]:e[t]=r}};function FN(e,t){var n,r;return{selectorChangedWithUnbind:function(o,i){return n||(n={},r={},t.on("NodeChange",(function(t){var o=t.element,i=e.getParents(o,null,e.getRoot()),a={};fn.each(n,(function(t,n){fn.each(i,(function(o){if(e.is(o,n))return r[n]||(fn.each(t,(function(e){e(!0,{node:o,selector:n,parents:i})})),r[n]=t),a[n]=t,!1}))})),fn.each(r,(function(e,t){a[t]||(delete r[t],fn.each(e,(function(e){e(!1,{node:o,selector:t,parents:i})})))}))}))),n[o]||(n[o]=[]),n[o].push(i),{unbind:function(){IN(n,o,i),IN(r,o,i)}}}}}var MN=function(e){return!!e.select},zN=function(e){return!(!e||!e.ownerDocument)&&Bn(vn.fromDom(e.ownerDocument),vn.fromDom(e))},UN=function(e){return!!e&&(!!MN(e)||zN(e.startContainer)&&zN(e.endContainer))},HN=function(e,t,n,r){var o,i,a=FN(e,r).selectorChangedWithUnbind,u=function(t,n){var o=e.createRng();H(t)&&H(n)?(o.setStart(t,n),o.setEnd(t,n),y(o),h(!1)):(sh(e,o,r.getBody(),!0),y(o))},c=function(e){return NN(r,e)},s=function(e,t){return LN(r,e,t)},l=function(e){return ty(r.getBody(),b(),e)},f=function(e){return ny(r.getBody(),b(),e)},d=function(e,t){return P.getBookmark(e,t)},m=function(e){return P.moveToBookmark(e)},p=function(t,n){return ay(e,t,n).each(y),t},g=function(){var e=b(),t=v();return!(!e||e.item)&&(e.compareEndPoints?0===e.compareEndPoints("StartToEnd",e):!t||e.collapsed)},h=function(e){var t=b();t.collapse(!!e),y(t)},v=function(){return t.getSelection?t.getSelection():t.document.selection},b=function(){var n,a,u,c=function(e,t,n){try{return t.compareBoundaryPoints(e,n)}catch(r){return-1}},s=t.document;if(void 0!==r.bookmark&&!1===Xb(r)){var l=xb(r);if(l.isSome())return l.map((function(e){return uy(r,[e])[0]})).getOr(s.createRange())}try{(n=v())&&!Mr(n.anchorNode)&&(a=n.rangeCount>0?n.getRangeAt(0):n.createRange?n.createRange():s.createRange(),a=uy(r,[a])[0])}catch(f){}return a||(a=s.createRange?s.createRange():s.body.createTextRange()),a.setStart&&9===a.startContainer.nodeType&&a.collapsed&&(u=e.getRoot(),a.setStart(u,0),a.setEnd(u,0)),o&&i&&(0===c(a.START_TO_START,a,o)&&0===c(a.END_TO_END,a,o)?a=i:(o=null,i=null)),a},y=function(e,t){var n;if(UN(e)){var a=MN(e)?e:null;if(a){i=null;try{a.select()}catch(s){}}else{var u=v(),c=r.fire("SetSelectionRange",{range:e,forward:t});if(e=c.range,u){i=e;try{u.removeAllRanges(),u.addRange(e)}catch(s){}!1===t&&u.extend&&(u.collapse(e.endContainer,e.endOffset),u.extend(e.startContainer,e.startOffset)),o=u.rangeCount>0?u.getRangeAt(0):null}e.collapsed||e.startContainer!==e.endContainer||!u.setBaseAndExtent||Zt.ie||e.endOffset-e.startOffset<2&&e.startContainer.hasChildNodes()&&(n=e.startContainer.childNodes[e.startOffset],n&&"IMG"===n.tagName&&(u.setBaseAndExtent(e.startContainer,e.startOffset,e.endContainer,e.endOffset),u.anchorNode===e.startContainer&&u.focusNode===e.endContainer||u.setBaseAndExtent(n,0,n,1))),r.fire("AfterSetSelectionRange",{range:e,forward:t})}}},C=function(t){return s(e.getOuterHTML(t)),t},w=function(){return oy(r.getBody(),b())},x=function(t,n){return iy(e,b(),t,n)},k=function(){var t=v(),n=null===t||void 0===t?void 0:t.anchorNode,r=null===t||void 0===t?void 0:t.focusNode;if(!t||!n||!r||Mr(n)||Mr(r))return!0;var o=e.createRng();o.setStart(n,t.anchorOffset),o.collapse(!0);var i=e.createRng();return i.setStart(r,t.focusOffset),i.collapse(!0),o.compareBoundaryPoints(o.START_TO_START,i)<=0},S=function(){var t=b(),n=v();if(!Qg(n)&&lh(r)){var o=ov(e,t);return o.each((function(e){y(e,k())})),o.getOr(t)}return t},E=function(e,t){return a(e,t),D},N=function(){var t,n=e.getRoot();while(n&&"BODY"!==n.nodeName){if(n.scrollHeight>n.clientHeight){t=n;break}n=n.parentNode}return t},T=function(e,t){return Mv(r,e,t)},A=function(e,t){return y($h(e,t,r.getDoc()))},R=function(){var e=b();return e.collapsed?Cf.fromRangeStart(e).getClientRects()[0]:e.getBoundingClientRect()},_=function(){t=o=i=null,B.destroy()},D={bookmarkManager:null,controlSelection:null,dom:e,win:t,serializer:n,editor:r,collapse:h,setCursorLocation:u,getContent:c,setContent:s,getBookmark:d,moveToBookmark:m,select:p,isCollapsed:g,isForward:k,setNode:C,getNode:w,getSel:v,setRng:y,getRng:b,getStart:l,getEnd:f,getSelectedBlocks:x,normalize:S,selectorChanged:E,selectorChangedWithUnbind:a,getScrollContainer:N,scrollIntoView:T,placeCaretAt:A,getBoundingClientRect:R,destroy:_},P=kh(D),B=Uh(D,r);return D.bookmarkManager=P,D.controlSelection=B,D},jN=function(e,t){J(t,(function(t){e.attr(t,null)}))},VN=function(e,t,n){e.addNodeFilter("font",(function(e){J(e,(function(e){var r=t.parse(e.attr("style")),o=e.attr("color"),i=e.attr("face"),a=e.attr("size");o&&(r.color=o),i&&(r["font-family"]=i),a&&(r["font-size"]=n[parseInt(e.attr("size"),10)-1]),e.name="span",e.attr("style",t.serialize(r)),jN(e,["color","face","size"])}))}))},qN=function(e,t){e.addNodeFilter("strike",(function(e){J(e,(function(e){var n=t.parse(e.attr("style"));n["text-decoration"]="line-through",e.name="span",e.attr("style",t.serialize(n))}))}))},$N=function(e,t){var n=Bu();t.convert_fonts_to_spans&&VN(e,n,fn.explode(t.font_size_legacy_values)),qN(e,n)},WN=function(e,t){t.inline_styles&&$N(e,t)},KN=function(e){return new wi((function(t,n){var r=function(){n("Cannot convert "+e+" to Blob. Resource might not exist or is inaccessible.")};try{var o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){200===o.status?t(o.response):r()},o.onerror=r,o.send()}catch(i){r()}}))},GN=function(e){var t,n=decodeURIComponent(e).split(","),r=/data:([^;]+)/.exec(n[0]);return r&&(t=r[1]),{type:t,data:n[1]}},XN=function(e,t){var n;try{n=atob(t)}catch(hU){return R.none()}for(var r=new Uint8Array(n.length),o=0;o<r.length;o++)r[o]=n.charCodeAt(o);return R.some(new Blob([r],{type:e}))},YN=function(e){return new wi((function(t){var n=GN(e),r=n.type,o=n.data;XN(r,o).fold((function(){return t(new Blob([]))}),t)}))},ZN=function(e){return 0===e.indexOf("blob:")?KN(e):0===e.indexOf("data:")?YN(e):null},JN=function(e){return new wi((function(t){var n=new FileReader;n.onloadend=function(){t(n.result)},n.readAsDataURL(e)}))},QN=0,eT=function(e){return(e||"blobid")+QN++},tT=function(e,t,n,r){var o,i;if(0===t.src.indexOf("blob:"))return i=e.getByUri(t.src),void(i?n({image:t,blobInfo:i}):ZN(t.src).then((function(r){JN(r).then((function(a){o=GN(a).data,i=e.create(eT(),r,o),e.add(i),n({image:t,blobInfo:i})}))}),(function(e){r(e)})));var a=GN(t.src),u=a.data,c=a.type;o=u,i=e.getByData(o,c),i?n({image:t,blobInfo:i}):ZN(t.src).then((function(r){i=e.create(eT(),r,o),e.add(i),n({image:t,blobInfo:i})}),(function(e){r(e)}))},nT=function(e){return e?ve(e.getElementsByTagName("img")):[]},rT=function(e,t){var n={},r=function(r,o){o||(o=S);var i=te(nT(r),(function(t){var n=t.src;return!!Zt.fileApi&&(!t.hasAttribute("data-mce-bogus")&&(!t.hasAttribute("data-mce-placeholder")&&(!(!n||n===Zt.transparentSrc)&&(0===n.indexOf("blob:")?!e.isUploaded(n)&&o(t):0===n.indexOf("data:")&&o(t)))))})),a=Z(i,(function(e){if(void 0!==n[e.src])return new wi((function(t){n[e.src].then((function(n){if("string"===typeof n)return n;t({image:e,blobInfo:n.blobInfo})}))}));var r=new wi((function(n,r){tT(t,e,n,r)})).then((function(e){return delete n[e.image.src],e})).catch((function(t){return delete n[e.src],t}));return n[e.src]=r,r}));return wi.all(a)};return{findAll:r}},oT=function(e,t,n,r){var o=e.padd_empty_with_br||t.insert;o&&n[r.name]?r.empty().append(new dy("br",1)).shortEnded=!0:r.empty().append(new dy("#text",3)).value=ta},iT=function(e){return aT(e,"#text")&&e.firstChild.value===ta},aT=function(e,t){return e&&e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.name===t},uT=function(e,t){var n=e.getElementRule(t.name);return n&&n.paddEmpty},cT=function(e,t,n,r){return r.isEmpty(t,n,(function(t){return uT(e,t)}))},sT=function(e,t){return e&&(t[e.name]||"br"===e.name)},lT=function(e){return e.attr("data-mce-bogus")},fT=function(e){return e.attr("src")===Zt.transparentSrc||e.attr("data-mce-placeholder")},dT=function(e,t){if(t.images_dataimg_filter){var n=new Image;return n.src=e.attr("src"),we(e.attributes.map,(function(e,t){n.setAttribute(t,e)})),t.images_dataimg_filter(n)}return!0},mT=function(e,t){var n=t.blob_cache,r=function(e){var r=e.attr("src");fT(e)||lT(e)||gy(r).filter((function(){return dT(e,t)})).bind((function(e){var t=e.type,r=e.data;return R.from(n.getByData(r,t)).orThunk((function(){return XN(t,r).map((function(e){var t=n.create(eT(),e,r);return n.add(t),t}))}))})).each((function(t){e.attr("src",t.blobUri())}))};n&&e.addAttributeFilter("src",(function(e){return J(e,r)}))},pT=function(e,t){var n=e.schema;t.remove_trailing_brs&&e.addNodeFilter("br",(function(e,r,o){var i,a,u,c,s,l,f,d,m=e.length,p=fn.extend({},n.getBlockElements()),g=n.getNonEmptyElements(),h=n.getWhiteSpaceElements();for(p.body=1,i=0;i<m;i++)if(a=e[i],u=a.parent,p[a.parent.name]&&a===u.lastChild){s=a.prev;while(s){if(l=s.name,"span"!==l||"bookmark"!==s.attr("data-mce-type")){"br"===l&&(a=null);break}s=s.prev}a&&(a.remove(),cT(n,g,h,u)&&(f=n.getElementRule(u.name),f&&(f.removeEmpty?u.remove():f.paddEmpty&&oT(t,o,p,u))))}else{c=a;while(u&&u.firstChild===c&&u.lastChild===c){if(c=u,p[u.name])break;u=u.parent}c===u&&!0!==t.padd_empty_with_br&&(d=new dy("#text",3),d.value=ta,a.replace(d))}})),e.addAttributeFilter("href",(function(e){var n=e.length,r=function(e){var t=e.split(" ").filter((function(e){return e.length>0}));return t.concat(["noopener"]).sort().join(" ")},o=function(e){var t=e?fn.trim(e):"";return/\b(noopener)\b/g.test(t)?t:r(t)};if(!t.allow_unsafe_link_target)while(n--){var i=e[n];"a"===i.name&&"_blank"===i.attr("target")&&i.attr("rel",o(i.attr("rel")))}})),t.allow_html_in_named_anchor||e.addAttributeFilter("id,name",(function(e){var t,n,r,o,i=e.length;while(i--)if(o=e[i],"a"===o.name&&o.firstChild&&!o.attr("href")){r=o.parent,t=o.lastChild;do{n=t.prev,r.insert(t,o),t=n}while(t)}})),t.fix_list_elements&&e.addNodeFilter("ul,ol",(function(e){var t,n,r=e.length;while(r--)if(t=e[r],n=t.parent,"ul"===n.name||"ol"===n.name)if(t.prev&&"li"===t.prev.name)t.prev.append(t);else{var o=new dy("li",1);o.attr("style","list-style-type: none"),t.wrap(o)}})),t.validate&&n.getValidClasses()&&e.addAttributeFilter("class",(function(e){var t,r,o,i,a,u,c,s=e.length,l=n.getValidClasses();while(s--){for(t=e[s],r=t.attr("class").split(" "),a="",o=0;o<r.length;o++)i=r[o],c=!1,u=l["*"],u&&u[i]&&(c=!0),u=l[t.name],!c&&u&&u[i]&&(c=!0),c&&(a&&(a+=" "),a+=i);a.length||(a=null),t.attr("class",a)}})),mT(e,t)},gT=fn.makeMap,hT=fn.each,vT=fn.explode,bT=fn.extend,yT=function(e,t){void 0===t&&(t=Du());var n={},r=[],o={},i={};e=e||{},e.validate=!("validate"in e)||e.validate,e.root_name=e.root_name||"body";var a=function(e){var n,r,o,i,a,c,s,l,f,d,m,p=gT("tr,td,th,tbody,thead,tfoot,table"),g=t.getNonEmptyElements(),h=t.getWhiteSpaceElements(),v=t.getTextBlockElements(),b=t.getSpecialElements();for(n=0;n<e.length;n++)if(r=e[n],r.parent&&!r.fixed)if(v[r.name]&&"li"===r.parent.name){d=r.next;while(d){if(!v[d.name])break;d.name="li",d.fixed=!0,r.parent.insert(d,r.parent),d=d.next}r.unwrap(r)}else{for(i=[r],o=r.parent;o&&!t.isValidChild(o.name,r.name)&&!p[o.name];o=o.parent)i.push(o);if(o&&i.length>1){for(i.reverse(),a=c=u(i[0].clone()),f=0;f<i.length-1;f++){for(t.isValidChild(c.name,i[f].name)?(s=u(i[f].clone()),c.append(s)):s=c,l=i[f].firstChild;l&&l!==i[f+1];)m=l.next,s.append(l),l=m;c=s}cT(t,g,h,a)?o.insert(r,i[0],!0):(o.insert(a,i[0],!0),o.insert(r,a)),o=i[0],(cT(t,g,h,o)||aT(o,"br"))&&o.empty().remove()}else if(r.parent){if("li"===r.name){if(d=r.prev,d&&("ul"===d.name||"ol"===d.name)){d.append(r);continue}if(d=r.next,d&&("ul"===d.name||"ol"===d.name)){d.insert(r,d.firstChild,!0);continue}r.wrap(u(new dy("ul",1)));continue}t.isValidChild(r.parent.name,"div")&&t.isValidChild("div",r.name)?r.wrap(u(new dy("div",1))):b[r.name]?r.empty().remove():r.unwrap()}}},u=function(e){var t,a,u;a=e.name,a in n&&(u=o[a],u?u.push(e):o[a]=[e]),t=r.length;while(t--)a=r[t].name,a in e.attributes.map&&(u=i[a],u?u.push(e):i[a]=[e]);return e},c=function(e,t){hT(vT(e),(function(e){var r=n[e];r||(n[e]=r=[]),r.push(t)}))},s=function(){var e=[];for(var t in n)n.hasOwnProperty(t)&&e.push({name:t,callbacks:n[t]});return e},l=function(e,t){hT(vT(e),(function(e){var n;for(n=0;n<r.length;n++)if(r[n].name===e)return void r[n].callbacks.push(t);r.push({name:e,callbacks:[t]})}))},f=function(){return[].concat(r)},d=function(u,c){var s,l,f,d,m,p,g,h,v,b=[],y=function(e){return!1===e?"":!0===e?"p":e};c=c||{},o={},i={};var C=bT(gT("script,style,head,html,body,title,meta,param"),t.getBlockElements()),w=t.getNonEmptyElements(),x=t.children,k=e.validate,S="forced_root_block"in c?c.forced_root_block:e.forced_root_block,E=y(S),N=t.getWhiteSpaceElements(),T=/^[ \t\r\n]+/,A=/[ \t\r\n]+$/,R=/[ \t\r\n]+/g,_=/^[ \t\r\n]+$/;h=N.hasOwnProperty(c.context)||N.hasOwnProperty(e.root_name);var D=function(){var n,r,o=I.firstChild,i=function(e){e&&(o=e.firstChild,o&&3===o.type&&(o.value=o.value.replace(T,"")),o=e.lastChild,o&&3===o.type&&(o.value=o.value.replace(A,"")))};if(t.isValidChild(I.name,E.toLowerCase())){while(o)n=o.next,3===o.type||1===o.type&&"p"!==o.name&&!C[o.name]&&!o.attr("data-mce-type")?(r||(r=P(E,1),r.attr(e.forced_root_block_attrs),I.insert(r,o)),r.append(o)):(i(r),r=null),o=n;i(r)}},P=function(e,t){var r,i=new dy(e,t);return e in n&&(r=o[e],r?r.push(i):o[e]=[i]),i},B=function(e){var n,r,o,i,a=t.getBlockElements();for(n=e.prev;n&&3===n.type;){if(o=n.value.replace(A,""),o.length>0)return void(n.value=o);if(r=n.next,r){if(3===r.type&&r.value.length){n=n.prev;continue}if(!a[r.name]&&"script"!==r.name&&"style"!==r.name){n=n.prev;continue}}i=n.prev,n.remove(),n=i}},O=function(e){var t,n={};for(t in e)"li"!==t&&"p"!==t&&(n[t]=e[t]);return n},L=Sy({validate:k,allow_html_data_urls:e.allow_html_data_urls,allow_svg_data_urls:e.allow_svg_data_urls,allow_script_urls:e.allow_script_urls,allow_conditional_comments:e.allow_conditional_comments,preserve_cdata:e.preserve_cdata,self_closing_elements:O(t.getSelfClosingElements()),cdata:function(e){v.append(P("#cdata",4)).value=e},text:function(e,t){var n;h||(e=e.replace(R," "),sT(v.lastChild,C)&&(e=e.replace(T,""))),0!==e.length&&(n=P("#text",3),n.raw=!!t,v.append(n).value=e)},comment:function(e){v.append(P("#comment",8)).value=e},pi:function(e,t){v.append(P(e,7)).value=t,B(v)},doctype:function(e){var t=v.append(P("#doctype",10));t.value=e,B(v)},start:function(e,n,o){var a,u,c,s,l=k?t.getElementRule(e):{};if(l){a=P(l.outputName||e,1),a.attributes=n,a.shortEnded=o,v.append(a),s=x[v.name],s&&x[a.name]&&!s[a.name]&&b.push(a),u=r.length;while(u--)c=r[u].name,c in n.map&&(p=i[c],p?p.push(a):i[c]=[a]);C[e]&&B(a),o||(v=a),!h&&N[e]&&(h=!0)}},end:function(n){var r,o,i,a,u=k?t.getElementRule(n):{};if(u){if(C[n]&&!h){if(r=v.firstChild,r&&3===r.type)if(o=r.value.replace(T,""),o.length>0)r.value=o,r=r.next;else{i=r.next,r.remove(),r=i;while(r&&3===r.type)o=r.value,i=r.next,(0===o.length||_.test(o))&&(r.remove(),r=i),r=i}if(r=v.lastChild,r&&3===r.type)if(o=r.value.replace(A,""),o.length>0)r.value=o,r=r.prev;else{i=r.prev,r.remove(),r=i;while(r&&3===r.type)o=r.value,i=r.prev,(0===o.length||_.test(o))&&(r.remove(),r=i),r=i}}if(h&&N[n]&&(h=!1),u.removeEmpty&&cT(t,w,N,v))return a=v.parent,C[v.name]?v.empty().remove():v.unwrap(),void(v=a);u.paddEmpty&&(iT(v)||cT(t,w,N,v))&&oT(e,c,C,v),v=v.parent}}},t),I=v=new dy(c.context||e.root_name,11);if(L.parse(u,c.format),k&&b.length&&(c.context?c.invalid=!0:a(b)),E&&("body"===I.name||c.isRootContent)&&D(),!c.invalid){for(g in o)if(o.hasOwnProperty(g)){p=n[g],s=o[g],d=s.length;while(d--)s[d].parent||s.splice(d,1);for(l=0,f=p.length;l<f;l++)p[l](s,g,c)}for(l=0,f=r.length;l<f;l++)if(p=r[l],p.name in i){s=i[p.name],d=s.length;while(d--)s[d].parent||s.splice(d,1);for(d=0,m=p.callbacks.length;d<m;d++)p.callbacks[d](s,p.name,c)}}return I},m={schema:t,addAttributeFilter:l,getAttributeFilters:f,addNodeFilter:c,getNodeFilters:s,filterNode:u,parse:d};return pT(m,e),WN(m,e),m},CT=function(e,t,n){e.addAttributeFilter("data-mce-tabindex",(function(e,t){var n,r=e.length;while(r--)n=e[r],n.attr("tabindex",n.attr("data-mce-tabindex")),n.attr(t,null)})),e.addAttributeFilter("src,href,style",(function(e,r){var o,i,a=e.length,u="data-mce-"+r,c=t.url_converter,s=t.url_converter_scope;while(a--)o=e[a],i=o.attr(u),void 0!==i?(o.attr(r,i.length>0?i:null),o.attr(u,null)):(i=o.attr(r),"style"===r?i=n.serializeStyle(n.parseStyle(i),o.name):c&&(i=c.call(s,i,r,o.name)),o.attr(r,i.length>0?i:null))})),e.addAttributeFilter("class",(function(e){var t,n,r=e.length;while(r--)t=e[r],n=t.attr("class"),n&&(n=t.attr("class").replace(/(?:^|\s)mce-item-\w+(?!\S)/g,""),t.attr("class",n.length>0?n:null))})),e.addAttributeFilter("data-mce-type",(function(e,t,n){var r,o=e.length;while(o--)if(r=e[o],"bookmark"===r.attr("data-mce-type")&&!n.cleanup){var i=R.from(r.firstChild).exists((function(e){return!ia(e.value)}));i?r.unwrap():r.remove()}})),e.addNodeFilter("noscript",(function(e){var t,n=e.length;while(n--)t=e[n].firstChild,t&&(t.value=Cu.decode(t.value))})),e.addNodeFilter("script,style",(function(e,n){var r,o,i,a=e.length,u=function(e){return e.replace(/(<!--\[CDATA\[|\]\]-->)/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*((<!--)?(\s*\/\/)?\s*<!\[CDATA\[|(<!--\s*)?\/\*\s*<!\[CDATA\[\s*\*\/|(\/\/)?\s*<!--|\/\*\s*<!--\s*\*\/)\s*[\r\n]*/gi,"").replace(/\s*(\/\*\s*\]\]>\s*\*\/(-->)?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")};while(a--)r=e[a],o=r.firstChild?r.firstChild.value:"","script"===n?(i=r.attr("type"),i&&r.attr("type","mce-no/type"===i?null:i.replace(/^mce\-/,"")),"xhtml"===t.element_format&&o.length>0&&(r.firstChild.value="// <![CDATA[\n"+u(o)+"\n// ]]>")):"xhtml"===t.element_format&&o.length>0&&(r.firstChild.value="\x3c!--\n"+u(o)+"\n--\x3e")})),e.addNodeFilter("#comment",(function(e){var r,o=e.length;while(o--)r=e[o],t.preserve_cdata&&0===r.value.indexOf("[CDATA[")?(r.name="#cdata",r.type=4,r.value=n.decode(r.value.replace(/^\[CDATA\[|\]\]$/g,""))):0===r.value.indexOf("mce:protected ")&&(r.name="#text",r.type=3,r.raw=!0,r.value=unescape(r.value).substr(14))})),e.addNodeFilter("xml:namespace,input",(function(e,t){var n,r=e.length;while(r--)n=e[r],7===n.type?n.remove():1===n.type&&("input"!==t||n.attr("type")||n.attr("type","text"))})),e.addAttributeFilter("data-mce-type",(function(t){J(t,(function(t){"format-caret"===t.attr("data-mce-type")&&(t.isEmpty(e.schema.getNonEmptyElements())?t.remove():t.unwrap())}))})),e.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-type,data-mce-resize,data-mce-placeholder",(function(e,t){var n=e.length;while(n--)e[n].attr(t,null)}))},wT=function(e){var t=function(e){return e&&"br"===e.name},n=e.lastChild;if(t(n)){var r=n.prev;t(r)&&(n.remove(),r.remove())}},xT=function(e,t,n){var r,o,i=e.dom;t=t.cloneNode(!0);var a=document.implementation;return a.createHTMLDocument&&(r=a.createHTMLDocument(""),fn.each("BODY"===t.nodeName?t.childNodes:[t],(function(e){r.body.appendChild(r.importNode(e,!0))})),t="BODY"!==t.nodeName?r.body.firstChild:r.body,o=i.doc,i.doc=r),Nh(e,Ve(Ve({},n),{node:t})),o&&(i.doc=o),t},kT=function(e,t){return e&&e.hasEventListeners("PreProcess")&&!t.no_events},ST=function(e,t,n){return kT(e,n)?xT(e,t,n):t},ET=function(e,t,n){-1===fn.inArray(t,n)&&(e.addAttributeFilter(n,(function(e,t){var n=e.length;while(n--)e[n].attr(t,null)})),t.push(n))},NT=function(e,t,n){if(!t.no_events&&e){var r=Th(e,Ve(Ve({},t),{content:n}));return r.content}return n},TT=function(e,t,n){var r=aa(n.getInner?t.innerHTML:e.getOuterHTML(t));return n.selection||Ji(vn.fromDom(t))?r:fn.trim(r)},AT=function(e,t,n){var r=n.selection?Ve({forced_root_block:!1},n):n,o=e.parse(t,r);return wT(o),o},RT=function(e,t,n){var r=Ly(e,t);return r.serialize(n)},_T=function(e,t,n,r,o){var i=RT(t,n,r);return NT(e,o,i)},DT=function(e,t){var n=["data-mce-selected"],r=t&&t.dom?t.dom:Rs.DOM,o=t&&t.schema?t.schema:Du(e);e.entity_encoding=e.entity_encoding||"named",e.remove_trailing_brs=!("remove_trailing_brs"in e)||e.remove_trailing_brs;var i=yT(e,o);CT(i,e,r);var a=function(n,a){void 0===a&&(a={});var u=Ve({format:"html"},a),c=ST(t,n,u),s=TT(r,c,u),l=AT(i,s,u);return"tree"===u.format?l:_T(t,e,o,l,u)};return{schema:o,addNodeFilter:i.addNodeFilter,addAttributeFilter:i.addAttributeFilter,serialize:a,addRules:function(e){o.addValidElements(e)},setRules:function(e){o.setValidElements(e)},addTempAttr:b(ET,i,n),getTempAttrs:h(n),getNodeFilters:i.getNodeFilters,getAttributeFilters:i.getAttributeFilters}},PT=function(e,t){var n=DT(e,t);return{schema:n.schema,addNodeFilter:n.addNodeFilter,addAttributeFilter:n.addAttributeFilter,serialize:n.serialize,addRules:n.addRules,setRules:n.setRules,addTempAttr:n.addTempAttr,getTempAttrs:n.getTempAttrs,getNodeFilters:n.getNodeFilters,getAttributeFilters:n.getAttributeFilters}},BT="html",OT=function(e,t){void 0===t&&(t={});var n=t.format?t.format:BT;return wN(e,t,n)},LT=function(e,t,n){return void 0===n&&(n={}),xN(e,t,n)},IT=Rs.DOM,FT=function(e){IT.setStyle(e.id,"display",e.orgDisplay)},MT=function(e){return R.from(e).each((function(e){return e.destroy()}))},zT=function(e){e.contentAreaContainer=e.formElement=e.container=e.editorContainer=null,e.bodyElement=e.contentDocument=e.contentWindow=null,e.iframeElement=e.targetElm=null,e.selection&&(e.selection=e.selection.win=e.selection.dom=e.selection.dom.doc=null)},UT=function(e){var t=e.formElement;t&&(t._mceOldSubmit&&(t.submit=t._mceOldSubmit,t._mceOldSubmit=null),IT.unbind(t,"submit reset",e.formEventDelegate))},HT=function(e){if(!e.removed){var t=e._selectionOverrides,n=e.editorUpload,r=e.getBody(),o=e.getElement();r&&e.save({is_removing:!0}),e.removed=!0,e.unbindAllNativeEvents(),e.hasHiddenInput&&o&&IT.remove(o.nextSibling),Ah(e),e.editorManager.remove(e),!e.inline&&r&&FT(e),Rh(e),IT.remove(e.getContainer()),MT(t),MT(n),e.destroy()}},jT=function(e,t){var n=e.selection,r=e.dom;e.destroyed||(t||e.removed?(t||(e.editorManager.off("beforeunload",e._beforeUnload),e.theme&&e.theme.destroy&&e.theme.destroy(),MT(n),MT(r)),UT(e),zT(e),e.destroyed=!0):e.remove())},VT=Object.prototype.hasOwnProperty,qT=function(e,t){var n=L(e)&&L(t);return n?WT(e,t):t},$T=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(0===t.length)throw new Error("Can't merge zero objects");for(var r={},o=0;o<t.length;o++){var i=t[o];for(var a in i)VT.call(i,a)&&(r[a]=e(r[a],i[a]))}return r}},WT=$T(qT),KT=function(e,t){return{sections:h(e),settings:h(t)}},GT=jt().deviceType,XT=GT.isTouch(),YT=GT.isPhone(),ZT=GT.isTablet(),JT=["lists","autolink","autosave"],QT={table_grid:!1,object_resizing:!1,resize:!1},eA=function(e){var t=I(e)?e.join(" "):e,n=Z(O(t)?t.split(" "):[],lt);return te(n,(function(e){return e.length>0}))},tA=function(e){return te(e,b(X,JT))},nA=function(e,t){var n=Ne(t,(function(t,n){return X(e,n)}));return KT(n.t,n.f)},rA=function(e,t,n){void 0===n&&(n={});var r=e.sections(),o=r.hasOwnProperty(t)?r[t]:{};return fn.extend({},n,o)},oA=function(e,t){return e.sections().hasOwnProperty(t)},iA=function(e,t,n){var r=e.sections();return oA(e,t)&&r[t].theme===n},aA=function(e,t){return oA(e,t)?e.sections()[t]:{}},uA=function(e,t){return _e(e,"toolbar_mode").orThunk((function(){return _e(e,"toolbar_drawer").map((function(e){return!1===e?"wrap":e}))})).getOr(t)},cA=function(e,t,n,r,o){var i={id:t,theme:"silver",toolbar_mode:uA(e,"floating"),plugins:"",document_base_url:n,add_form_submit_trigger:!0,submit_patch:!0,add_unload_trigger:!0,convert_urls:!0,relative_urls:!0,remove_script_host:!0,object_resizing:!0,doctype:"<!DOCTYPE html>",visual:!0,font_size_legacy_values:"xx-small,small,medium,large,x-large,xx-large,300%",forced_root_block:"p",hidden_input:!0,inline_styles:!0,convert_fonts_to_spans:!0,indent:!0,indent_before:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist",indent_after:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist",entity_encoding:"named",url_converter:o.convertURL,url_converter_scope:o};return Ve(Ve({},i),r?QT:{})},sA=function(e,t){var n={resize:!1,toolbar_mode:uA(e,"scrolling"),toolbar_sticky:!1},r={menubar:!1};return Ve(Ve(Ve({},QT),n),t?r:{})},lA=function(e,t){var n=t.external_plugins?t.external_plugins:{};return e&&e.external_plugins?fn.extend({},e.external_plugins,n):n},fA=function(e,t){return[].concat(eA(e)).concat(eA(t))},dA=function(e,t,n,r){return e&&iA(t,"mobile","mobile")?tA(r):e&&oA(t,"mobile")?r:n},mA=function(e,t,n,r){var o=eA(n.forced_plugins),i=eA(r.plugins),a=aA(t,"mobile"),u=a.plugins?eA(a.plugins):i,c=dA(e,t,i,u),s=fA(o,c);if(Zt.browser.isIE()&&X(s,"rtc"))throw new Error("RTC plugin is not supported on IE 11.");return fn.extend(r,{plugins:s.join(" ")})},pA=function(e,t){return e&&oA(t,"mobile")},gA=function(e,t,n,r,o){var i=e?{mobile:sA(o.mobile||{},t)}:{},a=nA(["mobile"],WT(i,o)),u=fn.extend(n,r,a.settings(),pA(e,a)?rA(a,"mobile"):{},{validate:!0,external_plugins:lA(r,a.settings())});return mA(e,a,r,u)},hA=function(e,t,n,r,o){var i=cA(o,t,n,XT,e);return gA(YT||ZT,YT,i,r,o)},vA=function(e,t,n){return R.from(t.settings[n]).filter(e)},bA=function(e){var t={};return"string"===typeof e?J(e.indexOf("=")>0?e.split(/[;,](?![^=;,]*(?:[;,]|$))/):e.split(","),(function(e){var n=e.split("=");n.length>1?t[fn.trim(n[0])]=fn.trim(n[1]):t[fn.trim(n[0])]=fn.trim(n[0])})):t=e,t},yA=function(e){return function(t){return I(t)&&se(t,e)}},CA=function(e,t,n,r){var o=t in e.settings?e.settings[t]:n;return"hash"===r?bA(o):"string"===r?vA(O,e,t).getOr(n):"number"===r?vA(V,e,t).getOr(n):"boolean"===r?vA(M,e,t).getOr(n):"object"===r?vA(L,e,t).getOr(n):"array"===r?vA(I,e,t).getOr(n):"string[]"===r?vA(yA(O),e,t).getOr(n):"function"===r?vA(j,e,t).getOr(n):o},wA=function(){var e={},t=function(t,n){e[t]=n},n=function(t){return e[t]?e[t]:{icons:{}}},r=function(t){return De(e,t)};return{add:t,get:n,has:r}},xA=wA(),kA=function(e,t){var n=t.dom;return n[e]},SA=function(e,t){return parseInt(vo(t,e),10)},EA=b(kA,"clientWidth"),NA=b(kA,"clientHeight"),TA=b(SA,"margin-top"),AA=b(SA,"margin-left"),RA=function(e){return e.dom.getBoundingClientRect()},_A=function(e,t,n){var r=EA(e),o=NA(e);return t>=0&&n>=0&&t<=r&&n<=o},DA=function(e,t,n,r){var o=RA(t),i=e?o.left+t.dom.clientLeft+AA(t):0,a=e?o.top+t.dom.clientTop+TA(t):0,u=n-i,c=r-a;return{x:u,y:c}},PA=function(e,t,n){var r=vn.fromDom(e.getBody()),o=e.inline?r:qn(r),i=DA(e.inline,o,t,n);return _A(o,i.x,i.y)},BA=function(e){return R.from(e).map(vn.fromDom)},OA=function(e){var t=e.inline?e.getBody():e.getContentAreaContainer();return BA(t).map(Sr).getOr(!1)},LA=function(){var e=function(){throw new Error("Theme did not provide a NotificationManager implementation.")};return{open:e,close:e,reposition:e,getArgs:e}},IA=function(e){var t=[],n=function(){var t=e.theme;return t&&t.getNotificationManagerImpl?t.getNotificationManagerImpl():LA()},r=function(){return R.from(t[0])},o=function(e,t){return e.type===t.type&&e.text===t.text&&!e.progressBar&&!e.timeout&&!t.progressBar&&!t.timeout},i=function(){t.length>0&&n().reposition(t)},a=function(e){t.push(e)},u=function(e){ae(t,(function(t){return t===e})).each((function(e){t.splice(e,1)}))},c=function(c,s){if(void 0===s&&(s=!0),!e.removed&&OA(e))return s&&e.fire("BeforeOpenNotification",{notification:c}),ie(t,(function(e){return o(n().getArgs(e),c)})).getOrThunk((function(){e.editorManager.setActive(e);var t=n().open(c,(function(){u(t),i(),r().fold((function(){return e.focus()}),(function(e){return Hv(vn.fromDom(e.getEl()))}))}));return a(t),i(),e.fire("OpenNotification",Ve({},t)),t}))},s=function(){r().each((function(e){n().close(e),u(e),i()}))},l=function(){return t},f=function(e){e.on("SkinLoaded",(function(){var t=qd(e);t&&c({text:t,type:"warning",timeout:0},!1)})),e.on("ResizeEditor ResizeWindow NodeChange",(function(){Ai.requestAnimationFrame(i)})),e.on("remove",(function(){J(t.slice(),(function(e){n().close(e)}))}))};return f(e),{open:c,close:s,getNotifications:l}},FA=Js.PluginManager,MA=Js.ThemeManager;function zA(){var e=function(){throw new Error("Theme did not provide a WindowManager implementation.")};return{open:e,openUrl:e,alert:e,confirm:e,close:e,getParams:e,setParams:e}}var UA,HA=function(e){var t=[],n=function(){var t=e.theme;return t&&t.getWindowManagerImpl?t.getWindowManagerImpl():zA()},r=function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return t?t.apply(e,n):void 0}},o=function(t){e.fire("OpenWindow",{dialog:t})},i=function(t){e.fire("CloseWindow",{dialog:t})},a=function(e){t.push(e),o(e)},u=function(n){i(n),t=te(t,(function(e){return e!==n})),0===t.length&&e.focus()},c=function(){return R.from(t[t.length-1])},s=function(t){e.editorManager.setActive(e),Cb(e);var n=t();return a(n),n},l=function(e,t){return s((function(){return n().open(e,t,u)}))},f=function(e){return s((function(){return n().openUrl(e,u)}))},d=function(e,t,o){var i=n();i.alert(e,r(o||i,t))},m=function(e,t,o){var i=n();i.confirm(e,r(o||i,t))},p=function(){c().each((function(e){n().close(e),u(e)}))};return e.on("remove",(function(){J(t,(function(e){n().close(e)}))})),{open:l,openUrl:f,alert:d,confirm:m,close:p}},jA=function(e,t){e.notificationManager.open({type:"error",text:t})},VA=function(e,t){e._skinLoaded?jA(e,t):e.on("SkinLoaded",(function(){jA(e,t)}))},qA=function(e,t){VA(e,Zs.translate(["Failed to upload image: {0}",t]))},$A=function(e,t,n){Fh(e,t,{message:n}),console.error(n)},WA=function(e,t,n){return n?"Failed to load "+e+": "+n+" from url "+t:"Failed to load "+e+" url: "+t},KA=function(e,t,n){$A(e,"PluginLoadError",WA("plugin",t,n))},GA=function(e,t,n){$A(e,"IconsLoadError",WA("icons",t,n))},XA=function(e,t,n){$A(e,"LanguageLoadError",WA("language",t,n))},YA=function(e,t,n){var r=Zs.translate(["Failed to initialize plugin: {0}",t]);Fh(e,"PluginLoadError",{message:r}),ZA(r,n),VA(e,r)},ZA=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=window.console;r&&(r.error?r.error.apply(r,$e([e],t)):r.log.apply(r,$e([e],t)))},JA=function(e){return/^[a-z0-9\-]+$/i.test(e)},QA=function(e){return tR(e,Id(e))},eR=function(e){return tR(e,Fd(e))},tR=function(e,t){var n=e.editorManager.baseURL+"/skins/content",r=e.editorManager.suffix,o="content"+r+".css",i=!0===e.inline;return Z(t,(function(t){return JA(t)&&!i?n+"/"+t+"/"+o:e.documentBaseURI.toAbsolute(t)}))},nR=function(e){e.contentCSS=e.contentCSS.concat(QA(e),eR(e))},rR=function(){var e=1,t=2,n={},r=function(e,t){return{status:e,resultUri:t}},o=function(e){return e in n},i=function(e){var t=n[e];return t?t.resultUri:null},a=function(t){return!!o(t)&&n[t].status===e},u=function(e){return!!o(e)&&n[e].status===t},c=function(t){n[t]=r(e,null)},s=function(e,o){n[e]=r(t,o)},l=function(e){delete n[e]},f=function(){n={}};return{hasBlobUri:o,getResultUri:i,isPending:a,isUploaded:u,markPending:c,markUploaded:s,removeFailed:l,destroy:f}},oR=0,iR=function(){var e=function(){return Math.round(4294967295*Math.random()).toString(36)},t=(new Date).getTime();return"s"+t.toString(36)+e()+e()+e()},aR=function(e){return e+oR+++iR()},uR=function(){var e=[],t=function(e){var t={"image/jpeg":"jpg","image/jpg":"jpg","image/gif":"gif","image/png":"png","image/apng":"apng","image/avif":"avif","image/svg+xml":"svg","image/webp":"webp","image/bmp":"bmp","image/tiff":"tiff"};return t[e.toLowerCase()]||"dat"},n=function(e,t,n,o,i){if(O(e)){var a=e;return r({id:a,name:o,filename:i,blob:t,base64:n})}if(L(e))return r(e);throw new Error("Unknown input type")},r=function(e){if(!e.blob||!e.base64)throw new Error("blob and base64 representations of the image are required for BlobInfo to be created");var n=e.id||aR("blobid"),r=e.name||n,o=e.blob;return{id:h(n),name:h(r),filename:h(e.filename||r+"."+t(o.type)),blob:h(o),base64:h(e.base64),blobUri:h(e.blobUri||URL.createObjectURL(o)),uri:h(e.uri)}},o=function(t){a(t.id())||e.push(t)},i=function(t){return ie(e,t).getOrUndefined()},a=function(e){return i((function(t){return t.id()===e}))},u=function(e){return i((function(t){return t.blobUri()===e}))},c=function(e,t){return i((function(n){return n.base64()===e&&n.blob().type===t}))},s=function(t){e=te(e,(function(e){return e.blobUri()!==t||(URL.revokeObjectURL(e.blobUri()),!1)}))},l=function(){J(e,(function(e){URL.revokeObjectURL(e.blobUri())})),e=[]};return{create:n,add:o,get:a,getByUri:u,getByData:c,findFirst:i,removeByUri:s,destroy:l}},cR=function(e,t){var n={},r=function(e,t){return e?e.replace(/\/$/,"")+"/"+t.replace(/^\//,""):t},o=function(e,n,o,i){var a=new XMLHttpRequest;a.open("POST",t.url),a.withCredentials=t.credentials,a.upload.onprogress=function(e){i(e.loaded/e.total*100)},a.onerror=function(){o("Image upload failed due to a XHR Transport error. Code: "+a.status)},a.onload=function(){if(a.status<200||a.status>=300)o("HTTP Error: "+a.status);else{var e=JSON.parse(a.responseText);e&&"string"===typeof e.location?n(r(t.basePath,e.location)):o("Invalid JSON: "+a.responseText)}};var u=new FormData;u.append("file",e.blob(),e.filename()),a.send(u)},i=function(){return new wi((function(e){e([])}))},a=function(e,t){return{url:t,blobInfo:e,status:!0}},u=function(e,t,n){return{url:"",blobInfo:e,status:!1,error:{message:t,options:n}}},c=function(e,t){fn.each(n[e],(function(e){e(t)})),delete n[e]},s=function(t,n,r){return e.markPending(t.blobUri()),new wi((function(o){var i,s;try{var l=function(){i&&(i.close(),s=m)},f=function(n){l(),e.markUploaded(t.blobUri(),n),c(t.blobUri(),a(t,n)),o(a(t,n))},d=function(n,r){var i=r||{};l(),e.removeFailed(t.blobUri()),c(t.blobUri(),u(t,n,i)),o(u(t,n,i))};s=function(e){e<0||e>100||R.from(i).orThunk((function(){return R.from(r).map(w)})).each((function(t){i=t,t.progressBar.value(e)}))},n(t,f,d,s)}catch(p){o(u(t,p.message,{}))}}))},l=function(e){return e===o},f=function(e){var t=e.blobUri();return new wi((function(e){n[t]=n[t]||[],n[t].push(e)}))},d=function(n,r){return n=fn.grep(n,(function(t){return!e.isUploaded(t.blobUri())})),wi.all(fn.map(n,(function(n){return e.isPending(n.blobUri())?f(n):s(n,t.handler,r)})))},p=function(e,n){return!t.url&&l(t.handler)?i():d(e,n)};return!1===j(t.handler)&&(t.handler=o),{upload:p}},sR=function(e){return function(){return e.notificationManager.open({text:e.translate("Image uploading..."),type:"info",timeout:-1,progressBar:!0})}},lR=function(e,t){return cR(t,{url:Nd(e),basePath:Td(e),credentials:Ad(e),handler:Rd(e)})},fR=function(e){var t=rR(),n=lR(e,t);return{upload:function(t,r){return void 0===r&&(r=!0),n.upload(t,r?sR(e):void 0)}}},dR=function(e){var t=Ms(null);e.on("change AddUndo",(function(e){t.set(Ve({},e.level))}));var n=function(){var n=e.undoManager.data;he(n).filter((function(e){return!DE(t.get(),e)})).each((function(t){e.setDirty(!0),e.fire("change",{level:t,lastLevel:pe(n,n.length-2).getOrNull()})}))};return{fireIfChanged:n}},mR=function(e){var t,n,r=uR(),o=rR(),i=[],a=dR(e),u=function(t){return function(n){return e.selection?t(n):[]}},c=function(e){return e+(-1===e.indexOf("?")?"?":"&")+(new Date).getTime()},s=function(e,t,n){var r=0;do{r=e.indexOf(t,r),-1!==r&&(e=e.substring(0,r)+n+e.substr(r+t.length),r+=n.length-t.length+1)}while(-1!==r);return e},l=function(e,t,n){var r='src="'+n+'"'+(n===Zt.transparentSrc?' data-mce-placeholder="1"':"");return e=s(e,'src="'+t+'"',r),e=s(e,'data-mce-src="'+t+'"','data-mce-src="'+n+'"'),e},f=function(t,n){J(e.undoManager.data,(function(e){"fragmented"===e.type?e.fragments=Z(e.fragments,(function(e){return l(e,t,n)})):e.content=l(e.content,t,n)}))},d=function(t,n){var r=e.convertURL(n,"src");f(t.src,n),e.$(t).attr({src:xd(e)?c(n):n,"data-mce-src":r})},m=function(n){return t||(t=lR(e,o)),v().then(u((function(o){var i=Z(o,(function(e){return e.blobInfo}));return t.upload(i,sR(e)).then(u((function(t){var i=[],u=Z(t,(function(t,n){var a=o[n].blobInfo,u=o[n].image;return t.status&&kd(e)?(r.removeByUri(u.src),d(u,t.url)):t.error&&(t.error.options.remove&&(f(u.getAttribute("src"),Zt.transparentSrc),i.push(u)),qA(e,t.error.message)),{element:u,status:t.status,uploadUri:t.url,blobInfo:a}}));return u.length>0&&a.fireIfChanged(),i.length>0&&(ZE(e)?console.error("Removing images on failed uploads is currently unsupported for RTC"):e.undoManager.transact((function(){J(i,(function(t){e.dom.remove(t),r.removeByUri(t.src)}))}))),n&&n(u),u})))})))},p=function(t){if(wd(e))return m(t)},g=function(t){if(!1===se(i,(function(e){return e(t)})))return!1;if(0===t.getAttribute("src").indexOf("data:")){var n=Cd(e);return n(t)}return!0},h=function(e){i.push(e)},v=function(){return n||(n=rT(o,r)),n.findAll(e.getBody(),g).then(u((function(t){return t=te(t,(function(t){return"string"!==typeof t||(VA(e,t),!1)})),J(t,(function(e){f(e.image.src,e.blobInfo.blobUri()),e.image.src=e.blobInfo.blobUri(),e.image.removeAttribute("data-mce-src")})),t})))},b=function(){r.destroy(),o.destroy(),n=t=null},y=function(t){return t.replace(/src="(blob:[^"]+)"/g,(function(t,n){var i=o.getResultUri(n);if(i)return'src="'+i+'"';var a=r.getByUri(n);if(a||(a=re(e.editorManager.get(),(function(e,t){return e||t.editorUpload&&t.editorUpload.blobCache.getByUri(n)}),null)),a){var u=a.blob();return'src="data:'+u.type+";base64,"+a.base64()+'"'}return t}))};return e.on("SetContent",(function(){wd(e)?p():v()})),e.on("RawSaveContent",(function(e){e.content=y(e.content)})),e.on("GetContent",(function(e){e.source_view||"raw"===e.format||"tree"===e.format||(e.content=y(e.content))})),e.on("PostRender",(function(){e.parser.addNodeFilter("img",(function(e){J(e,(function(e){var t=e.attr("src");if(!r.getByUri(t)){var n=o.getResultUri(t);n&&e.attr("src",n)}}))}))})),{blobCache:r,addFilter:h,uploadImages:m,uploadImagesAuto:p,scanForImages:v,destroy:b}},pR=function(e){var t={valigntop:[{selector:"td,th",styles:{verticalAlign:"top"}}],valignmiddle:[{selector:"td,th",styles:{verticalAlign:"middle"}}],valignbottom:[{selector:"td,th",styles:{verticalAlign:"bottom"}}],alignleft:[{selector:"figure.image",collapsed:!1,classes:"align-left",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"left"},inherit:!1,preview:!1,defaultBlock:"div"},{selector:"img,table",collapsed:!1,styles:{float:"left"},preview:"font-family font-size"}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"center"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"figure.image",collapsed:!1,classes:"align-center",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"img",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"table",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"},preview:"font-family font-size"}],alignright:[{selector:"figure.image",collapsed:!1,classes:"align-right",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"right"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"img,table",collapsed:!1,styles:{float:"right"},preview:"font-family font-size"}],alignjustify:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"justify"},inherit:!1,defaultBlock:"div",preview:"font-family font-size"}],bold:[{inline:"strong",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all",preserve_attributes:["class","style"]}],italic:[{inline:"em",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all",preserve_attributes:["class","style"]}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:!0},{inline:"u",remove:"all",preserve_attributes:["class","style"]}],strikethrough:[{inline:"span",styles:{textDecoration:"line-through"},exact:!0},{inline:"strike",remove:"all",preserve_attributes:["class","style"]},{inline:"s",remove:"all",preserve_attributes:["class","style"]}],forecolor:{inline:"span",styles:{color:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},fontname:{inline:"span",toggle:!1,styles:{fontFamily:"%value"},clear_child_styles:!0},fontsize:{inline:"span",toggle:!1,styles:{fontSize:"%value"},clear_child_styles:!0},lineheight:{selector:"h1,h2,h3,h4,h5,h6,p,li,td,th,div",defaultBlock:"p",styles:{lineHeight:"%value"}},fontsize_class:{inline:"span",attributes:{class:"%value"}},blockquote:{block:"blockquote",wrapper:!0,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},code:{inline:"code"},link:{inline:"a",selector:"a",remove:"all",split:!0,deep:!0,onmatch:function(e,t,n){return zr(e)&&e.hasAttribute("href")},onformat:function(t,n,r){fn.each(r,(function(n,r){e.setAttrib(t,r,n)}))}},removeformat:[{selector:"b,strong,em,i,font,u,strike,s,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins",remove:"all",split:!0,expand:!1,block_expand:!0,deep:!0},{selector:"span",attributes:["style","class"],remove:"empty",split:!0,expand:!1,deep:!0},{selector:"*",attributes:["style","class"],split:!1,expand:!1,deep:!0}]};return fn.each("p h1 h2 h3 h4 h5 h6 div address pre div dt dd samp".split(/\s/),(function(e){t[e]={block:e,remove:"all"}})),t},gR=function(e){var t={},n=function(e){return e?t[e]:t},r=function(e){return De(t,e)},o=function(e,n){e&&("string"!==typeof e?fn.each(e,(function(e,t){o(t,e)})):(I(n)||(n=[n]),fn.each(n,(function(e){"undefined"===typeof e.deep&&(e.deep=!e.selector),"undefined"===typeof e.split&&(e.split=!e.selector||e.inline),"undefined"===typeof e.remove&&e.selector&&!e.inline&&(e.remove="none"),e.selector&&e.inline&&(e.mixed=!0,e.block_expand=!0),"string"===typeof e.classes&&(e.classes=e.classes.split(/\s+/))})),t[e]=n))},i=function(e){return e&&t[e]&&delete t[e],t};return o(pR(e.dom)),o(Gd(e)),{get:n,has:r,register:o,unregister:i}},hR=fn.each,vR=Rs.DOM,bR=function(e,t){var n,r,o,i=t&&t.schema||Du({}),a=function(e,t){t.classes.length&&vR.addClass(e,t.classes.join(" ")),vR.setAttribs(e,t.attrs)},u=function(e){r="string"===typeof e?{name:e,classes:[],attrs:{}}:e;var t=vR.create(r.name);return a(t,r),t},c=function(e,t){var n="string"!==typeof e?e.nodeName.toLowerCase():e,r=i.getElementRule(n),o=r&&r.parentsRequired;return!(!o||!o.length)&&(t&&-1!==fn.inArray(o,t)?t:o[0])},s=function(e,t,n){var r,o,i=t.length>0&&t[0],a=i&&i.name,l=c(e,a);if(l)a===l?(o=t[0],t=t.slice(1)):o=l;else if(i)o=t[0],t=t.slice(1);else if(!n)return e;return o&&(r=u(o),r.appendChild(e)),n&&(r||(r=vR.create("div"),r.appendChild(e)),fn.each(n,(function(t){var n=u(t);r.insertBefore(n,e)}))),s(r,t,o&&o.siblings)};return e&&e.length?(r=e[0],n=u(r),o=vR.create("div"),o.appendChild(s(n,e.slice(1),r.siblings)),o):""},yR=function(e){var t,n={classes:[],attrs:{}};return e=n.selector=fn.trim(e),"*"!==e&&(t=e.replace(/(?:([#\.]|::?)([\w\-]+)|(\[)([^\]]+)\]?)/g,(function(e,t,r,o,i){switch(t){case"#":n.attrs.id=r;break;case".":n.classes.push(r);break;case":":-1!==fn.inArray("checked disabled enabled read-only required".split(" "),r)&&(n.attrs[r]=r);break}if("["===o){var a=i.match(/([\w\-]+)(?:\=\"([^\"]+))?/);a&&(n.attrs[a[1]]=a[2])}return""}))),n.name=t||"div",n},CR=function(e){return e&&"string"===typeof e?(e=e.split(/\s*,\s*/)[0],e=e.replace(/\s*(~\+|~|\+|>)\s*/g,"$1"),fn.map(e.split(/(?:>|\s+(?![^\[\]]+\]))/),(function(e){var t=fn.map(e.split(/(?:~\+|~|\+)/),yR),n=t.pop();return t.length&&(n.siblings=t),n})).reverse()):[]},wR=function(e,t){var n,r,o,i="",a=Xd(e);if(""===a)return"";var u=function(e){return e.replace(/%(\w+)/g,"")};if("string"===typeof t){if(t=e.formatter.get(t),!t)return;t=t[0]}if("preview"in t){var c=_e(t,"preview");if(c.is(!1))return"";a=c.getOr(a)}n=t.block||t.inline||"span";var s=CR(t.selector);s.length?(s[0].name||(s[0].name=n),n=t.selector,r=bR(s,e)):r=bR([n],e);var l=vR.select(n,r)[0]||r.firstChild;return hR(t.styles,(function(e,t){var n=u(e);n&&vR.setStyle(l,t,n)})),hR(t.attributes,(function(e,t){var n=u(e);n&&vR.setAttrib(l,t,n)})),hR(t.classes,(function(e){var t=u(e);vR.hasClass(l,t)||vR.addClass(l,t)})),e.fire("PreviewFormats"),vR.setStyles(r,{position:"absolute",left:-65535}),e.getBody().appendChild(r),o=vR.getStyle(e.getBody(),"fontSize",!0),o=/px$/.test(o)?parseInt(o,10):0,hR(a.split(" "),(function(t){var n=vR.getStyle(l,t,!0);if(("background-color"!==t||!/transparent|rgba\s*\([^)]+,\s*0\)/.test(n)||(n=vR.getStyle(e.getBody(),t,!0),"#ffffff"!==vR.toHex(n).toLowerCase()))&&("color"!==t||"#000000"!==vR.toHex(n).toLowerCase())){if("font-size"===t&&/em|%$/.test(n)){if(0===o)return;var r=parseFloat(n)/(/%$/.test(n)?100:1);n=r*o+"px"}"border"===t&&n&&(i+="padding:0 2px;"),i+=t+":"+n+";"}})),e.fire("AfterPreviewFormats"),vR.remove(r),i},xR=function(e){e.addShortcut("meta+b","","Bold"),e.addShortcut("meta+i","","Italic"),e.addShortcut("meta+u","","Underline");for(var t=1;t<=6;t++)e.addShortcut("access+"+t,"",["FormatBlock",!1,"h"+t]);e.addShortcut("access+7","",["FormatBlock",!1,"p"]),e.addShortcut("access+8","",["FormatBlock",!1,"div"]),e.addShortcut("access+9","",["FormatBlock",!1,"address"])},kR=function(e){var t=gR(e),n=Ms(null);return xR(e),Ek(e),{get:t.get,has:t.has,register:t.register,unregister:t.unregister,apply:function(t,n,r){vN(e,t,n,r)},remove:function(t,n,r,o){bN(e,t,n,r,o)},toggle:function(t,n,r){yN(e,t,n,r)},match:function(t,n,r){return dN(e,t,n,r)},closest:function(t){return hN(e,t)},matchAll:function(t,n){return mN(e,t,n)},matchNode:function(t,n,r,o){return pN(e,t,n,r,o)},canApply:function(t){return gN(e,t)},formatChanged:function(t,r,o){return CN(e,n,t,r,o)},getCssText:b(wR,e)}},SR=function(e,t,n){var r=Ms(!1),o=function(e){BE(t,!1,n),t.add({},e)};e.on("init",(function(){t.add()})),e.on("BeforeExecCommand",(function(e){var r=e.command.toLowerCase();"undo"!==r&&"redo"!==r&&"mcerepaint"!==r&&(OE(t,n),t.beforeChange())})),e.on("ExecCommand",(function(e){var t=e.command.toLowerCase();"undo"!==t&&"redo"!==t&&"mcerepaint"!==t&&o(e)})),e.on("ObjectResizeStart cut",(function(){t.beforeChange()})),e.on("SaveContent ObjectResized blur",o),e.on("dragend",o),e.on("keyup",(function(n){var i=n.keyCode;n.isDefaultPrevented()||((i>=33&&i<=36||i>=37&&i<=40||45===i||n.ctrlKey)&&(o(),e.nodeChanged()),46!==i&&8!==i||e.nodeChanged(),r.get()&&t.typing&&!1===DE(EE(e),t.data[0])&&(!1===e.isDirty()&&(e.setDirty(!0),e.fire("change",{level:t.data[0],lastLevel:null})),e.fire("TypingUndo"),r.set(!1),e.nodeChanged()))})),e.on("keydown",(function(e){var i=e.keyCode;if(!e.isDefaultPrevented())if(i>=33&&i<=36||i>=37&&i<=40||45===i)t.typing&&o(e);else{var a=e.ctrlKey&&!e.altKey||e.metaKey;!(i<16||i>20)||224===i||91===i||t.typing||a||(t.beforeChange(),BE(t,!0,n),t.add({},e),r.set(!0))}})),e.on("mousedown",(function(e){t.typing&&o(e)}));var i=function(e){return"insertReplacementText"===e.inputType},a=function(e){return"insertText"===e.inputType&&null===e.data},u=function(e){return"insertFromPaste"===e.inputType||"insertFromDrop"===e.inputType};e.on("input",(function(e){e.inputType&&(i(e)||a(e)||u(e))&&o(e)})),e.on("AddUndo Undo Redo ClearUndos",(function(t){t.isDefaultPrevented()||e.nodeChanged()}))},ER=function(e){e.addShortcut("meta+z","","Undo"),e.addShortcut("meta+y,meta+shift+z","","Redo")},NR=function(e){var t=Ms(R.none()),n=Ms(0),r=Ms(0),o={data:[],typing:!1,beforeChange:function(){tN(e,n,t)},add:function(i,a){return nN(e,o,r,n,t,i,a)},undo:function(){return rN(e,o,n,r)},redo:function(){return oN(e,r,o.data)},clear:function(){iN(e,o,r)},reset:function(){aN(e,o)},hasUndo:function(){return uN(e,o,r)},hasRedo:function(){return cN(e,o,r)},transact:function(t){return sN(e,o,n,t)},ignore:function(t){lN(e,n,t)},extra:function(t,n){fN(e,o,r,t,n)}};return ZE(e)||SR(e,o,n),ER(e),o},TR=[9,27,Mh.HOME,Mh.END,19,20,44,144,145,33,34,45,16,17,18,91,92,93,Mh.DOWN,Mh.UP,Mh.LEFT,Mh.RIGHT].concat(Zt.browser.isFirefox()?[224]:[]),AR="data-mce-placeholder",RR=function(e){return"keydown"===e.type||"keyup"===e.type},_R=function(e){var t=e.keyCode;return t===Mh.BACKSPACE||t===Mh.DELETE},DR=function(e){if(RR(e)){var t=e.keyCode;return!_R(e)&&(Mh.metaKeyPressed(e)||e.altKey||t>=112&&t<=123||X(TR,t))}return!1},PR=function(e){return RR(e)&&!(_R(e)||"keyup"===e.type&&229===e.keyCode)},BR=function(e,t,n){if(Ga(vn.fromDom(t),!1)){var r=""===n,o=t.firstElementChild;return!o||!e.getStyle(t.firstElementChild,"padding-left")&&!e.getStyle(t.firstElementChild,"padding-right")&&(r?!e.isBlock(o):n===o.nodeName.toLowerCase())}return!1},OR=function(e){var t=e.dom,n=dd(e),r=jd(e),o=function(i,a){if(!DR(i)){var u=e.getBody(),c=!PR(i)&&BR(t,u,n),s=""!==t.getAttrib(u,AR);(s!==c||a)&&(t.setAttrib(u,AR,c?r:null),t.setAttrib(u,"aria-placeholder",c?r:null),Ih(e,c),e.on(c?"keydown":"keyup",o),e.off(c?"keyup":"keydown",o))}};r&&e.on("init",(function(t){o(t,!0),e.on("change SetContent ExecCommand",o),e.on("paste",(function(t){return Ai.setEditorTimeout(e,(function(){return o(t)}))}))}))},LR=/[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/,IR=function(e){return LR.test(e)},FR=function(e,t){return Nn(vn.fromDom(t),zd(e))},MR=function(e){return"rtl"===Rs.DOM.getStyle(e,"direction",!0)||IR(e.textContent)},zR=function(e,t,n){return te(Rs.DOM.getParents(n.container(),"*",t),e)},UR=function(e,t,n){var r=zR(e,t,n);return R.from(r[r.length-1])},HR=function(e,t,n){var r=Ym(t,e),o=Ym(n,e);return r&&r===o},jR=function(e){return pa(e)||ga(e)},VR=function(e,t){if(!t)return t;var n=t.container(),r=t.offset();return e?la(n)?Xr(n.nextSibling)?Cf(n.nextSibling,0):Cf.after(n):pa(t)?Cf(n,r+1):t:la(n)?Xr(n.previousSibling)?Cf(n.previousSibling,n.previousSibling.data.length):Cf.before(n):ga(t)?Cf(n,r-1):t},qR=b(VR,!0),$R=b(VR,!1),WR=function(e){return function(t){return _n(e,vn.fromDom(t.dom.parentNode))}},KR=function(e,t){return Bn(e,t)?pi(t,(function(e){return Ki(e)||Xi(e)}),WR(e)):R.none()},GR=function(e){var t=e.getBody(),n=t.firstChild&&e.dom.isBlock(t.firstChild)?t.firstChild:t;e.selection.setCursorLocation(n,0)},XR=function(e){e.dom.isEmpty(e.getBody())&&(e.setContent(""),GR(e))},YR=function(e,t,n){return Il(Fp(n),Mp(n),(function(r,o){var i=VR(!0,r),a=VR(!1,o),u=VR(!1,t);return e?Lp(n,u).exists((function(e){return e.isEqual(a)&&t.isEqual(i)})):Ip(n,u).exists((function(e){return e.isEqual(i)&&t.isEqual(a)}))})).getOr(!0)},ZR=function(e,t){return{block:e,position:t}},JR=function(e,t){return{from:e,to:t}},QR=function(e,t){var n=vn.fromDom(e),r=vn.fromDom(t.container());return KR(n,r).map((function(e){return ZR(e,t)}))},e_=function(e){return!1===_n(e.from.block,e.to.block)},t_=function(e){return Wn(e.from.block).bind((function(t){return Wn(e.to.block).filter((function(e){return _n(t,e)}))})).isSome()},n_=function(e){return!1===no(e.from.block.dom)&&!1===no(e.to.block.dom)},r_=function(e,t,n){return Qr(n.position.getNode())&&!1===Ga(n.block)?Op(!1,n.block.dom).bind((function(r){return r.isEqual(n.position)?Dp(t,e,r).bind((function(t){return QR(e,t)})):R.some(n)})).getOr(n):n},o_=function(e,t,n){var r=QR(e,Cf.fromRangeStart(n)),o=r.bind((function(n){return Dp(t,e,n.position).bind((function(n){return QR(e,n).map((function(n){return r_(e,t,n)}))}))}));return Il(r,o,JR).filter((function(e){return e_(e)&&t_(e)&&n_(e)}))},i_=function(e,t,n){return n.collapsed?o_(e,t,n):R.none()},a_=function(e){var t=Qn(e);return ae(t,Vi).fold((function(){return t}),(function(e){return t.slice(0,e)}))},u_=function(e){var t=a_(e);return J(t,xr),t},c_=function(e,t){var n=oC(t,e);return ie(n.reverse(),(function(e){return Ga(e)})).each(xr)},s_=function(e){return 0===te(Zn(e),(function(e){return!Ga(e)})).length},l_=function(e,t,n,r){if(Ga(n))return Qy(n),Fp(n.dom);s_(r)&&Ga(t)&&pr(r,vn.fromTag("br"));var o=Ip(n.dom,Cf.before(r.dom));return J(u_(t),(function(e){pr(r,e)})),c_(e,t),o},f_=function(e,t,n){if(Ga(n))return xr(n),Ga(t)&&Qy(t),Fp(t.dom);var r=Mp(n.dom);return J(u_(t),(function(e){vr(n,e)})),c_(e,t),r},d_=function(e,t){var n=oC(t,e);return R.from(n[n.length-1])},m_=function(e,t){return Bn(t,e)?d_(t,e):R.none()},p_=function(e,t){Op(e,t.dom).map((function(e){return e.getNode()})).map(vn.fromDom).filter(Wi).each(xr)},g_=function(e,t,n){return p_(!0,t),p_(!1,n),m_(t,n).fold(b(f_,e,t,n),b(l_,e,t,n))},h_=function(e,t,n,r){return t?g_(e,r,n):g_(e,n,r)},v_=function(e,t){var n=vn.fromDom(e.getBody()),r=i_(n.dom,t,e.selection.getRng()).bind((function(e){return h_(n,t,e.from.block,e.to.block)}));return r.each((function(t){e.selection.setRng(t.toRange())})),r.isSome()},b_=function(e,t){var n=t.getRng();return Il(KR(e,vn.fromDom(n.startContainer)),KR(e,vn.fromDom(n.endContainer)),(function(r,o){return!1===_n(r,o)&&(n.deleteContents(),h_(e,!0,r,o).each((function(e){t.setRng(e.toRange())})),!0)})).getOr(!1)},y_=function(e,t){var n=vn.fromDom(t),r=b(_n,e);return mi(n,Zi,r).isSome()},C_=function(e,t){return y_(e,t.startContainer)||y_(e,t.endContainer)},w_=function(e,t){var n=Ip(e.dom,Cf.fromRangeStart(t)).isNone(),r=Lp(e.dom,Cf.fromRangeEnd(t)).isNone();return!C_(e,t)&&n&&r},x_=function(e){return e.setContent(""),e.selection.setCursorLocation(),!0},k_=function(e){var t=vn.fromDom(e.getBody()),n=e.selection.getRng();return w_(t,n)?x_(e):b_(t,e.selection)},S_=function(e,t){return!e.selection.isCollapsed()&&k_(e)},E_=to,N_=no,T_=function(e,t,n,r,o){return R.from(t._selectionOverrides.showCaret(e,n,r,o))},A_=function(e){var t=e.ownerDocument.createRange();return t.selectNode(e),t},R_=function(e,t){var n=e.fire("BeforeObjectSelected",{target:t});return n.isDefaultPrevented()?R.none():R.some(A_(t))},__=function(e,t,n){var r=op(1,e.getBody(),t),o=Cf.fromRangeStart(r),i=o.getNode();if(Fm(i))return T_(1,e,i,!o.isAtEnd(),!1);var a=o.getNode(!0);if(Fm(a))return T_(1,e,a,!1,!1);var u=e.dom.getParent(o.getNode(),(function(e){return N_(e)||E_(e)}));return Fm(u)?T_(1,e,u,!1,n):R.none()},D_=function(e,t,n){return t.collapsed?__(e,t,n).getOr(t):t},P_=function(e){return Xy(e)||$y(e)},B_=function(e){return Yy(e)||Wy(e)},O_=function(e,t){Xr(t)&&0===t.data.length&&e.remove(t)},L_=function(e,t,n,r,o,i){return T_(r,e,i.getNode(!o),o,!0).each((function(n){if(t.collapsed){var r=t.cloneRange();o?r.setEnd(n.startContainer,n.startOffset):r.setStart(n.endContainer,n.endOffset),r.deleteContents()}else t.deleteContents();e.selection.setRng(n)})),O_(e.dom,n),!0},I_=function(e,t){var n=e.selection.getRng();if(!Xr(n.commonAncestorContainer))return!1;var r=t?wf.Forwards:wf.Backwards,o=kp(e.getBody()),i=b(sp,t?o.next:o.prev),a=t?P_:B_,u=ap(r,e.getBody(),n),c=VR(t,i(u));if(!c||!lp(u,c))return!1;if(a(c))return L_(e,n,u.getNode(),r,t,c);var s=i(c);return!!(s&&a(s)&&lp(c,s))&&L_(e,n,u.getNode(),r,t,s)},F_=function(e,t){return I_(e,t)},M_=function(e){return Zi(vn.fromDom(e))||Xi(vn.fromDom(e))},z_=$o.generate([{remove:["element"]},{moveToElement:["element"]},{moveToPosition:["position"]}]),U_=function(e,t){var n=t.getNode(!1===e),r=e?"after":"before";return zr(n)&&n.getAttribute("data-mce-caret")===r},H_=function(e,t,n,r){var o=function(t){return $i(vn.fromDom(t))&&!Zm(n,r,e)};return ip(!t,n).fold((function(){return ip(t,r).fold(k,o)}),o)},j_=function(e,t,n,r){var o=r.getNode(!1===t);return KR(vn.fromDom(e),vn.fromDom(n.getNode())).map((function(e){return Ga(e)?z_.remove(e.dom):z_.moveToElement(o)})).orThunk((function(){return R.some(z_.moveToElement(o))}))},V_=function(e,t,n){return Dp(t,e,n).bind((function(r){return M_(r.getNode())||H_(e,t,n,r)?R.none():t&&no(r.getNode())||!1===t&&no(r.getNode(!0))?j_(e,t,n,r):t&&Yy(n)||!1===t&&Xy(n)?R.some(z_.moveToPosition(r)):R.none()}))},q_=function(e,t){return e&&no(t.nextSibling)?R.some(z_.moveToElement(t.nextSibling)):!1===e&&no(t.previousSibling)?R.some(z_.moveToElement(t.previousSibling)):R.none()},$_=function(e,t,n){return n.fold((function(e){return R.some(z_.remove(e))}),(function(e){return R.some(z_.moveToElement(e))}),(function(n){return Zm(t,n,e)?R.none():R.some(z_.moveToPosition(n))}))},W_=function(e,t,n){return U_(t,n)?q_(t,n.getNode(!1===t)).fold((function(){return V_(e,t,n)}),R.some):V_(e,t,n).bind((function(t){return $_(e,n,t)}))},K_=function(e,t,n){var r=op(t?1:-1,e,n),o=Cf.fromRangeStart(r),i=vn.fromDom(e);return!1===t&&Yy(o)?R.some(z_.remove(o.getNode(!0))):t&&Xy(o)?R.some(z_.remove(o.getNode())):!1===t&&Xy(o)&&hC(i,o)?vC(i,o).map((function(e){return z_.remove(e.getNode())})):t&&Yy(o)&&gC(i,o)?bC(i,o).map((function(e){return z_.remove(e.getNode())})):W_(e,t,o)},G_=function(e,t){return function(n){return e._selectionOverrides.hideFakeCaret(),lw(e,t,vn.fromDom(n)),!0}},X_=function(e,t){return function(n){var r=t?Cf.before(n):Cf.after(n);return e.selection.setRng(r.toRange()),!0}},Y_=function(e){return function(t){return e.selection.setRng(t.toRange()),!0}},Z_=function(e,t){return R.from(Sh(e.getBody(),t))},J_=function(e,t){var n=e.selection.getNode();return Z_(e,n).filter(no).fold((function(){return K_(e.getBody(),t,e.selection.getRng()).exists((function(n){return n.fold(G_(e,t),X_(e,t),Y_(e))}))}),S)},Q_=function(e){J(ml(e,".mce-offscreen-selection"),xr)},eD=function(e,t){var n=e.selection.getNode();if(no(n)){var r=Z_(e,n.parentNode).filter(no);return r.fold((function(){return Q_(vn.fromDom(e.getBody())),lw(e,t,vn.fromDom(e.selection.getNode())),XR(e),!0}),S)}return!1},tD=function(e){var t=e.dom,n=e.selection,r=Sh(e.getBody(),n.getNode());if(to(r)&&t.isBlock(r)&&t.isEmpty(r)){var o=t.create("br",{"data-mce-bogus":"1"});t.setHTML(r,""),r.appendChild(o),n.setRng(Cf.before(o).toRange())}return!0},nD=function(e,t){return e.selection.isCollapsed()?J_(e,t):eD(e,t)},rD=function(e,t){var n=Cf.fromRangeStart(e.selection.getRng());return Dp(t,e.getBody(),n).filter((function(e){return t?Vy(e):qy(e)})).bind((function(e){return R.from(Jm(t?0:-1,e))})).exists((function(t){return e.selection.select(t),!0}))},oD=function(e,t){return!!e.selection.isCollapsed()&&rD(e,t)},iD=Xr,aD=function(e){return iD(e)&&e.data[0]===oa},uD=function(e){return iD(e)&&e.data[e.data.length-1]===oa},cD=function(e){return e.ownerDocument.createTextNode(oa)},sD=function(e){if(iD(e.previousSibling))return uD(e.previousSibling)||e.previousSibling.appendData(oa),e.previousSibling;if(iD(e))return aD(e)||e.insertData(0,oa),e;var t=cD(e);return e.parentNode.insertBefore(t,e),t},lD=function(e){if(iD(e.nextSibling))return aD(e.nextSibling)||e.nextSibling.insertData(0,oa),e.nextSibling;if(iD(e))return uD(e)||e.appendData(oa),e;var t=cD(e);return e.nextSibling?e.parentNode.insertBefore(t,e.nextSibling):e.parentNode.appendChild(t),t},fD=function(e,t){return e?sD(t):lD(t)},dD=b(fD,!0),mD=b(fD,!1),pD=function(e,t){return Xr(e.container())?fD(t,e.container()):fD(t,e.getNode())},gD=function(e,t){var n=t.get();return n&&e.container()===n&&la(n)},hD=function(e,t){return t.fold((function(t){Tm(e.get());var n=dD(t);return e.set(n),R.some(Cf(n,n.length-1))}),(function(t){return Fp(t).map((function(t){if(gD(t,e))return Cf(e.get(),1);Tm(e.get());var n=pD(t,!0);return e.set(n),Cf(n,1)}))}),(function(t){return Mp(t).map((function(t){if(gD(t,e))return Cf(e.get(),e.get().length-1);Tm(e.get());var n=pD(t,!1);return e.set(n),Cf(n,n.length-1)}))}),(function(t){Tm(e.get());var n=mD(t);return e.set(n),R.some(Cf(n,1))}))},vD=function(e,t){for(var n=0;n<e.length;n++){var r=e[n].apply(null,t);if(r.isSome())return r}return R.none()},bD=$o.generate([{before:["element"]},{start:["element"]},{end:["element"]},{after:["element"]}]),yD=function(e,t){var n=Ym(t,e);return n||e},CD=function(e,t,n){var r=qR(n),o=yD(t,r.container());return UR(e,o,r).fold((function(){return Lp(o,r).bind(b(UR,e,o)).map((function(e){return bD.before(e)}))}),R.none)},wD=function(e,t){return null===Hp(e,t)},xD=function(e,t,n){return UR(e,t,n).filter(b(wD,t))},kD=function(e,t,n){var r=$R(n);return xD(e,t,r).bind((function(e){var t=Ip(e,r);return t.isNone()?R.some(bD.start(e)):R.none()}))},SD=function(e,t,n){var r=qR(n);return xD(e,t,r).bind((function(e){var t=Lp(e,r);return t.isNone()?R.some(bD.end(e)):R.none()}))},ED=function(e,t,n){var r=$R(n),o=yD(t,r.container());return UR(e,o,r).fold((function(){return Ip(o,r).bind(b(UR,e,o)).map((function(e){return bD.after(e)}))}),R.none)},ND=function(e){return!1===MR(AD(e))},TD=function(e,t,n){var r=vD([CD,kD,SD,ED],[e,t,n]);return r.filter(ND)},AD=function(e){return e.fold(v,v,v,v)},RD=function(e){return e.fold(h("before"),h("start"),h("end"),h("after"))},_D=function(e){return e.fold(bD.before,bD.before,bD.after,bD.after)},DD=function(e){return e.fold(bD.start,bD.start,bD.end,bD.end)},PD=function(e,t){return RD(e)===RD(t)&&AD(e)===AD(t)},BD=function(e,t,n,r,o,i){return Il(UR(t,n,r),UR(t,n,o),(function(t,r){return t!==r&&HR(n,t,r)?bD.after(e?t:r):i})).getOr(i)},OD=function(e,t){return e.fold(S,(function(e){return!PD(e,t)}))},LD=function(e,t,n,r,o){var i=VR(e,o),a=Dp(e,n,i).map(b(VR,e)),u=a.fold((function(){return r.map(_D)}),(function(o){return TD(t,n,o).map(b(BD,e,t,n,i,o)).filter(b(OD,r))}));return u.filter(ND)},ID=function(e,t){return e?t.fold(p(R.some,bD.start),R.none,p(R.some,bD.after),R.none):t.fold(R.none,p(R.some,bD.before),R.none,p(R.some,bD.end))},FD=function(e,t,n,r){var o=VR(e,r),i=TD(t,n,o);return TD(t,n,o).bind(b(ID,e)).orThunk((function(){return LD(e,t,n,i,r)}))},MD=(b(FD,!1),b(FD,!0),function(e){return j(e.selection.getSel().modify)}),zD=function(e,t,n){var r=e?1:-1;return t.setRng(Cf(n.container(),n.offset()+r).toRange()),t.getSel().modify("move",e?"forward":"backward","word"),!0},UD=function(e,t){var n=t.selection.getRng(),r=e?Cf.fromRangeEnd(n):Cf.fromRangeStart(n);return!!MD(t)&&(e&&pa(r)?zD(!0,t.selection,r):!(e||!ga(r))&&zD(!1,t.selection,r))},HD=function(e,t){var n=e.dom.createRng();n.setStart(t.container(),t.offset()),n.setEnd(t.container(),t.offset()),e.selection.setRng(n)},jD=function(e,t){e?t.setAttribute("data-mce-selected","inline-boundary"):t.removeAttribute("data-mce-selected")},VD=function(e,t,n){return hD(t,n).map((function(t){return HD(e,t),n}))},qD=function(e,t,n){var r=e.getBody(),o=Cf.fromRangeStart(e.selection.getRng()),i=b(FR,e),a=FD(n,i,r,o);return a.bind((function(n){return VD(e,t,n)}))},$D=function(e,t,n){var r=Z(ml(vn.fromDom(t.getRoot()),'*[data-mce-selected="inline-boundary"]'),(function(e){return e.dom})),o=te(r,e),i=te(n,e);J(fe(o,i),b(jD,!1)),J(fe(i,o),b(jD,!0))},WD=function(e,t){if(e.selection.isCollapsed()&&!0!==e.composing&&t.get()){var n=Cf.fromRangeStart(e.selection.getRng());Cf.isTextPosition(n)&&!1===jR(n)&&(HD(e,Nm(t.get(),n)),t.set(null))}},KD=function(e,t,n,r){if(t.selection.isCollapsed()){var o=te(r,e);J(o,(function(r){var o=Cf.fromRangeStart(t.selection.getRng());TD(e,t.getBody(),o).bind((function(e){return VD(t,n,e)}))}))}},GD=function(e,t,n){return!!Kd(e)&&qD(e,t,n).isSome()},XD=function(e,t,n){return!!Kd(t)&&UD(e,t)},YD=function(e){var t=Ms(null),n=b(FR,e);return e.on("NodeChange",(function(r){!Kd(e)||Zt.browser.isIE()&&r.initial||($D(n,e.dom,r.parents),WD(e,t),KD(n,e,t,r.parents))})),t},ZD=b(XD,!0),JD=b(XD,!1),QD=function(e,t){var n=document.createRange();return n.setStart(e.container(),e.offset()),n.setEnd(t.container(),t.offset()),n},eP=function(e){return Il(Fp(e),Mp(e),(function(t,n){var r=VR(!0,t),o=VR(!1,n);return Lp(e,r).forall((function(e){return e.isEqual(o)}))})).getOr(!0)},tP=function(e,t){return function(n){return hD(t,n).exists((function(t){return HD(e,t),!0}))}},nP=function(e,t,n,r){var o=e.getBody(),i=b(FR,e);e.undoManager.ignore((function(){e.selection.setRng(QD(n,r)),e.execCommand("Delete"),TD(i,o,Cf.fromRangeStart(e.selection.getRng())).map(DD).map(tP(e,t))})),e.nodeChanged()},rP=function(e,t){var n=Ym(t,e);return n||e},oP=function(e,t,n,r){var o=rP(e.getBody(),r.container()),i=b(FR,e),a=TD(i,o,r);return a.bind((function(e){return n?e.fold(h(R.some(DD(e))),R.none,h(R.some(_D(e))),R.none):e.fold(R.none,h(R.some(_D(e))),R.none,h(R.some(DD(e))))})).map(tP(e,t)).getOrThunk((function(){var u=Pp(n,o,r),c=u.bind((function(e){return TD(i,o,e)}));return Il(a,c,(function(){return UR(i,o,r).exists((function(t){return!!eP(t)&&(lw(e,n,vn.fromDom(t)),!0)}))})).orThunk((function(){return c.bind((function(o){return u.map((function(o){return n?nP(e,t,r,o):nP(e,t,o,r),!0}))}))})).getOr(!1)}))},iP=function(e,t,n){if(e.selection.isCollapsed()&&Kd(e)){var r=Cf.fromRangeStart(e.selection.getRng());return oP(e,t,n,r)}return!1},aP=function(e,t){var n=oC(t,e);return ae(n,Vi).fold(h(n),(function(e){return n.slice(0,e)}))},uP=function(e){return 1===Qn(e).length},cP=function(e,t,n,r){var o=b(Tk,t),i=Z(te(r,o),(function(e){return e.dom}));if(0===i.length)lw(t,e,n);else{var a=Nk(n.dom,i);t.selection.setRng(a.toRange())}},sP=function(e,t){var n=vn.fromDom(e.getBody()),r=vn.fromDom(e.selection.getStart()),o=te(aP(n,r),uP);return he(o).exists((function(n){var r=Cf.fromRangeStart(e.selection.getRng());return!(!YR(t,r,n.dom)||Ak(n))&&(cP(t,e,n,o),!0)}))},lP=function(e,t){return!!e.selection.isCollapsed()&&sP(e,t)},fP=function(e,t,n){return e._selectionOverrides.hideFakeCaret(),lw(e,t,vn.fromDom(n)),!0},dP=function(e,t){var n=t?$y:Wy,r=t?wf.Forwards:wf.Backwards,o=ap(r,e.getBody(),e.selection.getRng());return n(o)?fP(e,t,o.getNode(!t)):R.from(VR(t,o)).filter((function(e){return n(e)&&lp(o,e)})).exists((function(n){return fP(e,t,n.getNode(!t))}))},mP=function(e,t){var n=e.selection.getNode();return!!oo(n)&&fP(e,t,n)},pP=function(e,t){return e.selection.isCollapsed()?dP(e,t):mP(e,t)},gP=function(e){return pi(e,(function(e){return to(e.dom)||no(e.dom)})).exists((function(e){return to(e.dom)}))},hP=function(e){var t=parseInt(e,10);return isNaN(t)?0:t},vP=function(e,t){var n=e||qi(t)?"margin":"padding",r="rtl"===vo(t,"direction")?"-right":"-left";return n+r},bP=function(e,t,n,r,o,i){var a=vP(n,vn.fromDom(i));if("outdent"===t){var u=Math.max(0,hP(i.style[a])-r);e.setStyle(i,a,u?u+o:"")}else{u=hP(i.style[a])+r+o;e.setStyle(i,a,u)}},yP=function(e,t){return se(t,(function(t){var n=vP(Od(e),t),r=yo(t,n).map(hP).getOr(0),o=e.dom.getContentEditable(t.dom);return"false"!==o&&r>0}))},CP=function(e){var t=kP(e);return!e.mode.isReadOnly()&&(t.length>1||yP(e,t))},wP=function(e){return Gi(e)||Xi(e)},xP=function(e){return Wn(e).map(wP).getOr(!1)},kP=function(e){return te(Z(e.selection.getSelectedBlocks(),vn.fromDom),(function(e){return!wP(e)&&!xP(e)&&gP(e)}))},SP=function(e,t){var n=e.dom,r=e.selection,o=e.formatter,i=Ld(e),a=/[a-z%]+$/i.exec(i)[0],u=parseInt(i,10),c=Od(e),s=dd(e);e.queryCommandState("InsertUnorderedList")||e.queryCommandState("InsertOrderedList")||""!==s||n.getParent(r.getNode(),n.isBlock)||o.apply("div"),J(kP(e),(function(e){bP(n,t,c,u,a,e.dom)}))},EP=function(e,t){if(e.selection.isCollapsed()&&CP(e)){var n=e.dom,r=e.selection.getRng(),o=Cf.fromRangeStart(r),i=n.getParent(r.startContainer,n.isBlock);if(null!==i&&sC(vn.fromDom(i),o))return SP(e,"outdent"),!0}return!1},NP=function(e,t){e.getDoc().execCommand(t,!1,null)},TP=function(e,t){EP(e)||nD(e,!1)||F_(e,!1)||iP(e,t,!1)||v_(e,!1)||Qw(e)||oD(e,!1)||pP(e,!1)||S_(e)||lP(e,!1)||(NP(e,"Delete"),XR(e))},AP=function(e,t){nD(e,!0)||F_(e,!0)||iP(e,t,!0)||v_(e,!0)||Qw(e)||oD(e,!0)||pP(e,!0)||S_(e)||lP(e,!0)||NP(e,"ForwardDelete")},RP=function(e,t){e.addCommand("delete",(function(){TP(e,t)})),e.addCommand("forwardDelete",(function(){AP(e,t)}))},_P=5,DP=400,PP=function(e){return void 0===e.touches||1!==e.touches.length?R.none():R.some(e.touches[0])},BP=function(e,t){var n=Math.abs(e.clientX-t.x),r=Math.abs(e.clientY-t.y);return n>_P||r>_P},OP=function(e){var t=Ms(R.none()),n=Ms(!1),r=el((function(t){e.fire("longpress",Ve(Ve({},t),{type:"longpress"})),n.set(!0)}),DP);e.on("touchstart",(function(e){PP(e).each((function(o){r.cancel();var i={x:o.clientX,y:o.clientY,target:e.target};r.throttle(e),n.set(!1),t.set(R.some(i))}))}),!0),e.on("touchmove",(function(o){r.cancel(),PP(o).each((function(r){t.get().each((function(o){BP(r,o)&&(t.set(R.none()),n.set(!1),e.fire("longpresscancel"))}))}))}),!0),e.on("touchend touchcancel",(function(o){r.cancel(),"touchcancel"!==o.type&&t.get().filter((function(e){return e.target.isEqualNode(o.target)})).each((function(){n.get()?o.preventDefault():e.fire("tap",Ve(Ve({},o),{type:"tap"}))}))}),!0)},LP=function(e,t){return e.hasOwnProperty(t.nodeName)},IP=function(e,t){return!!Xr(t)||!!zr(t)&&(!LP(e,t)&&!cg(t))},FP=function(e,t,n){return Y(rC(vn.fromDom(n),vn.fromDom(t)),(function(t){return LP(e,t.dom)}))},MP=function(e,t){if(Xr(t)){if(0===t.nodeValue.length)return!0;if(/^\s+$/.test(t.nodeValue)&&(!t.nextSibling||LP(e,t.nextSibling)))return!0}return!1},zP=function(e){var t,n,r,o=e.dom,i=e.selection,a=e.schema,u=a.getBlockElements(),c=i.getStart(),s=e.getBody(),l=dd(e);if(c&&zr(c)&&l){var f=s.nodeName.toLowerCase();if(a.isValidChild(f,l.toLowerCase())&&!FP(u,s,c)){var d=i.getRng(),m=d.startContainer,p=d.startOffset,g=d.endContainer,h=d.endOffset,v=Xb(e);c=s.firstChild;while(c)if(IP(u,c)){if(MP(u,c)){n=c,c=c.nextSibling,o.remove(n);continue}t||(t=o.create(l,md(e)),c.parentNode.insertBefore(t,c),r=!0),n=c,c=c.nextSibling,t.appendChild(n)}else t=null,c=c.nextSibling;r&&v&&(d.setStart(m,p),d.setEnd(g,h),i.setRng(d),e.nodeChanged())}}},UP=function(e){dd(e)&&e.on("NodeChange",b(zP,e))},HP=function(e){return bi(vn.fromDom(e.getBody()),"*[data-mce-caret]").fold(h(null),(function(e){return e.dom}))},jP=function(e){e.selection.setRng(e.selection.getRng())},VP=function(e,t){t.hasAttribute("data-mce-caret")&&(wa(t),jP(e),e.selection.scrollIntoView(t))},qP=function(e,t){var n=HP(e);if(n)return"compositionstart"===t.type?(t.preventDefault(),t.stopPropagation(),void VP(e,n)):void(da(n)&&(VP(e,n),e.undoManager.add()))},$P=function(e){e.on("keyup compositionstart",b(qP,e))};(function(e){e[e["Br"]=0]="Br",e[e["Block"]=1]="Block",e[e["Wrap"]=2]="Wrap",e[e["Eol"]=3]="Eol"})(UA||(UA={}));var WP,KP=function(e,t){return e===wf.Backwards?le(t):t},GP=function(e,t,n){return e===wf.Forwards?t.next(n):t.prev(n)},XP=function(e,t,n,r){return Qr(r.getNode(t===wf.Forwards))?UA.Br:!1===Zm(n,r)?UA.Block:UA.Wrap},YP=function(e,t,n,r){var o,i=kp(n),a=r,u=[];while(a){if(o=GP(t,i,a),!o)break;if(Qr(o.getNode(!1)))return t===wf.Forwards?{positions:KP(t,u).concat([o]),breakType:UA.Br,breakAt:R.some(o)}:{positions:KP(t,u),breakType:UA.Br,breakAt:R.some(o)};if(o.isVisible()){if(e(a,o)){var c=XP(n,t,a,o);return{positions:KP(t,u),breakType:c,breakAt:R.some(o)}}u.push(o),a=o}else a=o}return{positions:KP(t,u),breakType:UA.Eol,breakAt:R.none()}},ZP=function(e,t,n,r){return t(n,r).breakAt.map((function(r){var o=t(n,r).positions;return e===wf.Backwards?o.concat(r):[r].concat(o)})).getOr([])},JP=function(e,t){return re(e,(function(e,n){return e.fold((function(){return R.some(n)}),(function(r){return Il(ge(r.getClientRects()),ge(n.getClientRects()),(function(e,o){var i=Math.abs(t-e.left),a=Math.abs(t-o.left);return a<=i?n:r})).or(e)}))}),R.none())},QP=function(e,t){return ge(t.getClientRects()).bind((function(t){return JP(e,t.left)}))},eB=b(YP,Cf.isAbove,-1),tB=b(YP,Cf.isBelow,1),nB=function(e,t){return eB(e,t).breakAt.isNone()},rB=function(e,t){return tB(e,t).breakAt.isNone()},oB=b(ZP,-1,eB),iB=b(ZP,1,tB),aB=function(e){return Fp(e).map((function(t){return[t].concat(tB(e,t).positions)})).getOr([])},uB=function(e){return Mp(e).map((function(t){return eB(e,t).positions.concat(t)})).getOr([])},cB=function(e){var t=function(t){return Z(t,(function(t){return t=Ul(t),t.node=e,t}))};if(zr(e))return t(e.getClientRects());if(Xr(e)){var n=e.ownerDocument.createRange();return n.setStart(e,0),n.setEnd(e,e.data.length),t(n.getClientRects())}},sB=function(e){return ce(e,cB)};(function(e){e[e["Up"]=-1]="Up",e[e["Down"]=1]="Down"})(WP||(WP={}));var lB,fB,dB=function(e,t,n,r){while(r=Xm(r,e,Fa,t))if(n(r))return},mB=function(e,t,n,r,o,i){var a=0,u=[],c=function(r){var i,c,l;for(l=sB([r]),-1===e&&(l=l.reverse()),i=0;i<l.length;i++)if(c=l[i],!n(c,s)){if(u.length>0&&t(c,je(u))&&a++,c.line=a,o(c))return!0;u.push(c)}},s=je(i.getClientRects());if(!s)return u;var l=i.getNode();return c(l),dB(e,r,c,l),u},pB=function(e,t){return t.line>e},gB=function(e,t){return t.line===e},hB=b(mB,WP.Up,ql,$l),vB=b(mB,WP.Down,$l,ql),bB=function(e,t,n,r){var o,i,a,u,c,s=kp(t),l=[],f=0,d=function(e){return je(e.getClientRects())};1===e?(o=s.next,i=$l,a=ql,u=Cf.after(r)):(o=s.prev,i=ql,a=$l,u=Cf.before(r));var m=d(u);do{if(u.isVisible()&&(c=d(u),!a(c,m))){if(l.length>0&&i(c,je(l))&&f++,c=Ul(c),c.position=u,c.line=f,n(c))return l;l.push(c)}}while(u=o(u));return l},yB=function(e){return function(t){return pB(e,t)}},CB=function(e){return function(t){return gB(e,t)}},wB=no,xB=Xm,kB=function(e,t){return Math.abs(e.left-t)},SB=function(e,t){return Math.abs(e.right-t)},EB=function(e,t){return e>=t.left&&e<=t.right},NB=function(e,t){return e>=t.top&&e<=t.bottom},TB=function(e,t){return Ue(e,(function(e,n){var r=Math.min(kB(e,t),SB(e,t)),o=Math.min(kB(n,t),SB(n,t));return EB(t,n)?n:EB(t,e)?e:o===r&&wB(n.node)||o<r?n:e}))},AB=function(e,t,n,r,o){var i=xB(r,e,Fa,t,!o);do{if(!i||n(i))return}while(i=xB(i,e,Fa,t))},RB=function(e,t,n){void 0===n&&(n=!0);var r=[],o=function(e,n){var o=te(sB([n]),(function(n){return!e(n,t)}));return r=r.concat(o),0===o.length};return r.push(t),AB(WP.Up,e,b(o,ql),t.node,n),AB(WP.Down,e,b(o,$l),t.node,n),r},_B=function(e){return te(ve(e.getElementsByTagName("*")),Mm)},DB=function(e,t){return{node:e.node,before:kB(e,t)<SB(e,t)}},PB=function(e,t,n){var r=sB(_B(e)),o=te(r,b(NB,n)),i=TB(o,t);if(i){var a=!Wr(i.node)&&!oo(i.node);if(i=TB(RB(e,i,a),t),i&&Mm(i.node))return DB(i,t)}return null},BB=function(e,t){e.selection.setRng(t),zv(e,e.selection.getRng())},OB=function(e,t,n){return R.some(D_(e,t,n))},LB=function(e,t,n,r,o,i){var a=t===wf.Forwards,u=kp(e.getBody()),c=b(sp,a?u.next:u.prev),s=a?r:o;if(!n.collapsed){var l=Kl(n);if(i(l))return T_(t,e,l,t===wf.Backwards,!1)}var f=ap(t,e.getBody(),n);if(s(f))return R_(e,f.getNode(!a));var d=VR(a,c(f)),m=xa(n);if(!d)return m?R.some(n):R.none();if(s(d))return T_(t,e,d.getNode(!a),a,!1);var p=c(d);return p&&s(p)&&lp(d,p)?T_(t,e,p.getNode(!a),a,!1):m?OB(e,d.toRange(),!1):R.none()},IB=function(e,t,n,r,o,i){var a=ap(t,e.getBody(),n),u=je(a.getClientRects()),c=t===WP.Down;if(!u)return R.none();var s,l=c?vB:hB,f=l(e.getBody(),yB(1),a),d=te(f,CB(1)),m=u.left,p=TB(d,m);if(p&&i(p.node)){var g=Math.abs(m-p.left),h=Math.abs(m-p.right);return T_(t,e,p.node,g<h,!1)}if(s=r(a)?a.getNode():o(a)?a.getNode(!0):Kl(n),s){var v=bB(t,e.getBody(),yB(1),s),b=TB(te(v,CB(1)),m);if(b)return OB(e,b.position.toRange(),!1);if(b=je(te(v,CB(0))),b)return OB(e,b.position.toRange(),!1)}return 0===d.length?FB(e,c).filter(c?o:r).map((function(t){return D_(e,t.toRange(),!1)})):R.none()},FB=function(e,t){var n=e.selection.getRng(),r=e.getBody();if(t){var o=Cf.fromRangeEnd(n),i=tB(r,o);return he(i.positions)}o=Cf.fromRangeStart(n),i=eB(r,o);return ge(i.positions)},MB=function(e,t,n){return FB(e,t).filter(n).exists((function(t){return e.selection.setRng(t.toRange()),!0}))},zB=no,UB=function(e,t,n){return LB(t,e,n,Xy,Yy,zB)},HB=function(e,t,n){var r=function(e){return Xy(e)||Ky(e)},o=function(e){return Yy(e)||Gy(e)};return IB(t,e,n,r,o,zB)},jB=function(e){var t=e.dom.create(dd(e));return(!Zt.ie||Zt.ie>=11)&&(t.innerHTML='<br data-mce-bogus="1">'),t},VB=function(e,t,n){var r=kp(e.getBody()),o=b(sp,1===t?r.next:r.prev);if(n.collapsed&&im(e)){var i=e.dom.getParent(n.startContainer,"PRE");if(!i)return;var a=o(Cf.fromRangeStart(n));if(!a){var u=jB(e);1===t?e.$(i).after(u):e.$(i).before(u),e.selection.select(u,!0),e.selection.collapse()}}},qB=function(e,t){var n=t?wf.Forwards:wf.Backwards,r=e.selection.getRng();return UB(n,e,r).orThunk((function(){return VB(e,n,r),R.none()}))},$B=function(e,t){var n=t?1:-1,r=e.selection.getRng();return HB(n,e,r).orThunk((function(){return VB(e,n,r),R.none()}))},WB=function(e,t){return qB(e,t).exists((function(t){return BB(e,t),!0}))},KB=function(e,t){return $B(e,t).exists((function(t){return BB(e,t),!0}))},GB=function(e,t){var n=t?Yy:Xy;return MB(e,t,n)},XB=function(e){return X(["figcaption"],On(e))},YB=function(e){var t=document.createRange();return t.setStartBefore(e.dom),t.setEndBefore(e.dom),t},ZB=function(e,t,n){n?vr(e,t):hr(e,t)},JB=function(e,t){var n=vn.fromTag("br");return ZB(e,n,t),YB(n)},QB=function(e,t,n,r){var o=vn.fromTag(n),i=vn.fromTag("br");return co(o,r),vr(o,i),ZB(e,o,t),YB(i)},eO=function(e,t,n,r){return""===t?JB(e,r):QB(e,r,t,n)},tO=function(e,t){var n=b(_n,t);return pi(vn.fromDom(e.container()),Vi,n).filter(XB)},nO=function(e,t,n){return t?rB(e.dom,n):nB(e.dom,n)},rO=function(e,t){var n=vn.fromDom(e.getBody()),r=Cf.fromRangeStart(e.selection.getRng()),o=dd(e),i=md(e);return tO(r,n).exists((function(){if(nO(n,t,r)){var a=eO(n,o,i,t);return e.selection.setRng(a),!0}return!1}))},oO=function(e,t){return!!e.selection.isCollapsed()&&rO(e,t)},iO=function(e){return Z(e,(function(e){return Ve({shiftKey:!1,altKey:!1,ctrlKey:!1,metaKey:!1,keyCode:0,action:m},e)}))},aO=function(e,t){return t.keyCode===e.keyCode&&t.shiftKey===e.shiftKey&&t.altKey===e.altKey&&t.ctrlKey===e.ctrlKey&&t.metaKey===e.metaKey},uO=function(e,t){return ce(iO(e),(function(e){return aO(e,t)?[e]:[]}))},cO=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){return e.apply(null,t)}},sO=function(e,t){return ie(uO(e,t),(function(e){return e.action()}))},lO=function(e,t){var n=t?wf.Forwards:wf.Backwards,r=e.selection.getRng();return LB(e,n,r,$y,Wy,oo).exists((function(t){return BB(e,t),!0}))},fO=function(e,t){var n=t?1:-1,r=e.selection.getRng();return IB(e,n,r,$y,Wy,oo).exists((function(t){return BB(e,t),!0}))},dO=function(e,t){var n=t?Wy:$y;return MB(e,t,n)},mO=function(e,t){return{left:e.left-t,top:e.top-t,right:e.right+2*t,bottom:e.bottom+2*t,width:e.width+t,height:e.height+t}},pO=function(e,t){return ce(t,(function(t){var n=mO(Ul(t.getBoundingClientRect()),-1);return[{x:n.left,y:e(n),cell:t},{x:n.right,y:e(n),cell:t}]}))},gO=function(e,t,n){return re(e,(function(e,r){return e.fold((function(){return R.some(r)}),(function(e){var o=Math.sqrt(Math.abs(e.x-t)+Math.abs(e.y-n)),i=Math.sqrt(Math.abs(r.x-t)+Math.abs(r.y-n));return R.some(i<o?r:e)}))}),R.none())},hO=function(e,t,n,r,o){var i=ml(vn.fromDom(n),"td,th,caption").map((function(e){return e.dom})),a=te(pO(e,i),(function(e){return t(e,o)}));return gO(a,r,o).map((function(e){return e.cell}))},vO=function(e){return e.bottom},bO=function(e){return e.top},yO=function(e,t){return e.y<t},CO=function(e,t){return e.y>t},wO=b(hO,vO,yO),xO=b(hO,bO,CO),kO=function(e,t){return ge(t.getClientRects()).bind((function(t){return wO(e,t.left,t.top)})).bind((function(e){return QP(uB(e),t)}))},SO=function(e,t){return he(t.getClientRects()).bind((function(t){return xO(e,t.left,t.top)})).bind((function(e){return QP(aB(e),t)}))},EO=function(e,t,n){return n.breakAt.exists((function(n){return e(t,n).breakAt.isSome()}))},NO=function(e){return e.breakType===UA.Wrap&&0===e.positions.length},TO=function(e){return e.breakType===UA.Br&&1===e.positions.length},AO=function(e,t,n){var r=e(t,n);return NO(r)||!Qr(n.getNode())&&TO(r)?!EO(e,t,r):r.breakAt.isNone()},RO=b(AO,eB),_O=b(AO,tB),DO=function(e,t,n){var r=Cf.fromRangeStart(t);return Op(!e,n).exists((function(e){return e.isEqual(r)}))},PO=function(e,t,n,r){var o=e.selection.getRng(),i=t?1:-1;return!(!Im()||!DO(t,o,n))&&(T_(i,e,n,!t,!1).each((function(t){BB(e,t)})),!0)},BO=function(e,t,n){return kO(t,n).orThunk((function(){return ge(n.getClientRects()).bind((function(n){return JP(oB(e,Cf.before(t)),n.left)}))})).getOr(Cf.before(t))},OO=function(e,t,n){return SO(t,n).orThunk((function(){return ge(n.getClientRects()).bind((function(n){return JP(iB(e,Cf.after(t)),n.left)}))})).getOr(Cf.after(t))},LO=function(e,t){var n=t.getNode(e);return zr(n)&&"TABLE"===n.nodeName?R.some(n):R.none()},IO=function(e,t,n,r){var o=dd(t);o?t.undoManager.transact((function(){var r=vn.fromTag(o);co(r,md(t)),vr(r,vn.fromTag("br")),e?gr(vn.fromDom(n),r):pr(vn.fromDom(n),r);var i=t.dom.createRng();i.setStart(r.dom,0),i.setEnd(r.dom,0),BB(t,i)})):BB(t,r.toRange())},FO=function(e,t,n){var r=LO(!!t,n),o=!1===t;r.fold((function(){return BB(e,n.toRange())}),(function(r){return Op(o,e.getBody()).filter((function(e){return e.isEqual(n)})).fold((function(){return BB(e,n.toRange())}),(function(o){return IO(t,e,r,n)}))}))},MO=function(e,t,n,r){var o=e.selection.getRng(),i=Cf.fromRangeStart(o),a=e.getBody();if(!t&&RO(r,i)){var u=BO(a,n,i);return FO(e,t,u),!0}if(t&&_O(r,i)){u=OO(a,n,i);return FO(e,t,u),!0}return!1},zO=function(e,t,n){return R.from(e.dom.getParent(e.selection.getNode(),"td,th")).bind((function(r){return R.from(e.dom.getParent(r,"table")).map((function(o){return n(e,t,o,r)}))})).getOr(!1)},UO=function(e,t){return zO(e,t,PO)},HO=function(e,t){return zO(e,t,MO)},jO=function(e,t,n){var r=jt().os;sO([{keyCode:Mh.RIGHT,action:cO(WB,e,!0)},{keyCode:Mh.LEFT,action:cO(WB,e,!1)},{keyCode:Mh.UP,action:cO(KB,e,!1)},{keyCode:Mh.DOWN,action:cO(KB,e,!0)},{keyCode:Mh.RIGHT,action:cO(UO,e,!0)},{keyCode:Mh.LEFT,action:cO(UO,e,!1)},{keyCode:Mh.UP,action:cO(HO,e,!1)},{keyCode:Mh.DOWN,action:cO(HO,e,!0)},{keyCode:Mh.RIGHT,action:cO(lO,e,!0)},{keyCode:Mh.LEFT,action:cO(lO,e,!1)},{keyCode:Mh.UP,action:cO(fO,e,!1)},{keyCode:Mh.DOWN,action:cO(fO,e,!0)},{keyCode:Mh.RIGHT,action:cO(GD,e,t,!0)},{keyCode:Mh.LEFT,action:cO(GD,e,t,!1)},{keyCode:Mh.RIGHT,ctrlKey:!r.isOSX(),altKey:r.isOSX(),action:cO(ZD,e,t)},{keyCode:Mh.LEFT,ctrlKey:!r.isOSX(),altKey:r.isOSX(),action:cO(JD,e,t)},{keyCode:Mh.UP,action:cO(oO,e,!1)},{keyCode:Mh.DOWN,action:cO(oO,e,!0)}],n).each((function(e){n.preventDefault()}))},VO=function(e,t){e.on("keydown",(function(n){!1===n.isDefaultPrevented()&&jO(e,t,n)}))},qO=function(e,t,n){sO([{keyCode:Mh.BACKSPACE,action:cO(EP,e,!1)},{keyCode:Mh.BACKSPACE,action:cO(nD,e,!1)},{keyCode:Mh.DELETE,action:cO(nD,e,!0)},{keyCode:Mh.BACKSPACE,action:cO(F_,e,!1)},{keyCode:Mh.DELETE,action:cO(F_,e,!0)},{keyCode:Mh.BACKSPACE,action:cO(iP,e,t,!1)},{keyCode:Mh.DELETE,action:cO(iP,e,t,!0)},{keyCode:Mh.BACKSPACE,action:cO(Qw,e,!1)},{keyCode:Mh.DELETE,action:cO(Qw,e,!0)},{keyCode:Mh.BACKSPACE,action:cO(oD,e,!1)},{keyCode:Mh.DELETE,action:cO(oD,e,!0)},{keyCode:Mh.BACKSPACE,action:cO(pP,e,!1)},{keyCode:Mh.DELETE,action:cO(pP,e,!0)},{keyCode:Mh.BACKSPACE,action:cO(S_,e,!1)},{keyCode:Mh.DELETE,action:cO(S_,e,!0)},{keyCode:Mh.BACKSPACE,action:cO(v_,e,!1)},{keyCode:Mh.DELETE,action:cO(v_,e,!0)},{keyCode:Mh.BACKSPACE,action:cO(lP,e,!1)},{keyCode:Mh.DELETE,action:cO(lP,e,!0)}],n).each((function(e){n.preventDefault()}))},$O=function(e,t){sO([{keyCode:Mh.BACKSPACE,action:cO(tD,e)},{keyCode:Mh.DELETE,action:cO(tD,e)}],t)},WO=function(e,t){e.on("keydown",(function(n){!1===n.isDefaultPrevented()&&qO(e,t,n)})),e.on("keyup",(function(t){!1===t.isDefaultPrevented()&&$O(e,t)}))},KO=function(e){while(e){if(1===e.nodeType||3===e.nodeType&&e.data&&/[\r\n\s]/.test(e.data))return e;e=e.nextSibling}},GO=function(e,t){var n,r=t,o=e.dom,i=e.schema.getMoveCaretBeforeOnEnterElements();if(t){if(/^(LI|DT|DD)$/.test(t.nodeName)){var a=KO(t.firstChild);a&&/^(UL|OL|DL)$/.test(a.nodeName)&&t.insertBefore(o.doc.createTextNode(ta),t.firstChild)}var u=o.createRng();if(t.normalize(),t.hasChildNodes()){var c=new Pi(t,t);while(n=c.current()){if(Xr(n)){u.setStart(n,0),u.setEnd(n,0);break}if(i[n.nodeName.toLowerCase()]){u.setStartBefore(n),u.setEndBefore(n);break}r=n,n=c.next()}n||(u.setStart(r,0),u.setEnd(r,0))}else Qr(t)?t.nextSibling&&o.isBlock(t.nextSibling)?(u.setStartBefore(t),u.setEndBefore(t)):(u.setStartAfter(t),u.setEndAfter(t)):(u.setStart(t,0),u.setEnd(t,0));e.selection.setRng(u),zv(e,u)}},XO=function(e,t){var n,r,o=e.getRoot();n=t;while(n!==o&&"false"!==e.getContentEditable(n))"true"===e.getContentEditable(n)&&(r=n),n=n.parentNode;return n!==o?r:o},YO=function(e){return R.from(e.dom.getParent(e.selection.getStart(!0),e.dom.isBlock))},ZO=function(e){return YO(e).fold(h(""),(function(e){return e.nodeName.toUpperCase()}))},JO=function(e){return YO(e).filter((function(e){return Xi(vn.fromDom(e))})).isSome()},QO=function(e,t){return e.firstChild&&e.firstChild.nodeName===t},eL=function(e){var t;return(null===(t=e.parentNode)||void 0===t?void 0:t.firstChild)===e},tL=function(e,t){return e&&e.parentNode&&e.parentNode.nodeName===t},nL=function(e){return e&&/^(OL|UL|LI)$/.test(e.nodeName)},rL=function(e){return nL(e)&&nL(e.parentNode)},oL=function(e){var t=e.parentNode;return/^(LI|DT|DD)$/.test(t.nodeName)?t:e},iL=function(e,t,n){var r=e[n?"firstChild":"lastChild"];while(r){if(zr(r))break;r=r[n?"nextSibling":"previousSibling"]}return r===t},aL=function(e,t,n,r,o){var i=e.dom,a=e.selection.getRng();if(n!==e.getBody()){rL(n)&&(o="LI");var u=o?t(o):i.create("BR");if(iL(n,r,!0)&&iL(n,r,!1))if(tL(n,"LI")){var c=oL(n);i.insertAfter(u,c),eL(n)?i.remove(c):i.remove(n)}else i.replace(u,n);else if(iL(n,r,!0))tL(n,"LI")?(i.insertAfter(u,oL(n)),u.appendChild(i.doc.createTextNode(" ")),u.appendChild(n)):n.parentNode.insertBefore(u,n),i.remove(r);else if(iL(n,r,!1))i.insertAfter(u,oL(n)),i.remove(r);else{n=oL(n);var s=a.cloneRange();s.setStartAfter(r),s.setEndAfter(n);var l=s.extractContents();"LI"===o&&QO(l,"LI")?(u=l.firstChild,i.insertAfter(l,n)):(i.insertAfter(l,n),i.insertAfter(u,n)),i.remove(r)}GO(e,u)}},uL=function(e){J(dl(vn.fromDom(e),zn),(function(e){var t=e.dom;t.nodeValue=aa(t.nodeValue)}))},cL=function(e,t){return t&&"A"===t.nodeName&&e.isEmpty(t)},sL=function(e){return e&&/^(TD|TH|CAPTION)$/.test(e.nodeName)},lL=function(e){e.innerHTML='<br data-mce-bogus="1">'},fL=function(e,t){return e.nodeName===t||e.previousSibling&&e.previousSibling.nodeName===t},dL=function(e,t){return t&&e.isBlock(t)&&!/^(TD|TH|CAPTION|FORM)$/.test(t.nodeName)&&!/^(fixed|absolute)/i.test(t.style.position)&&"true"!==e.getContentEditable(t)},mL=function(e,t,n){var r,o=n,i=[];if(o){while(o=o.firstChild){if(e.isBlock(o))return;zr(o)&&!t[o.nodeName.toLowerCase()]&&i.push(o)}r=i.length;while(r--)o=i[r],(!o.hasChildNodes()||o.firstChild===o.lastChild&&""===o.firstChild.nodeValue||cL(e,o))&&e.remove(o)}},pL=function(e,t,n){return!1===Xr(t)?n:e?1===n&&t.data.charAt(n-1)===oa?0:n:n===t.data.length-1&&t.data.charAt(n)===oa?t.data.length:n},gL=function(e){var t=e.cloneRange();return t.setStart(e.startContainer,pL(!0,e.startContainer,e.startOffset)),t.setEnd(e.endContainer,pL(!1,e.endContainer,e.endOffset)),t},hL=function(e){do{Xr(e)&&(e.nodeValue=e.nodeValue.replace(/^[\r\n]+/,"")),e=e.firstChild}while(e)},vL=function(e,t){var n,r,o=e.getRoot();n=t;while(n!==o&&"false"!==e.getContentEditable(n))"true"===e.getContentEditable(n)&&(r=n),n=n.parentNode;return n!==o?r:o},bL=function(e,t,n){var r=e.dom;R.from(n.style).map(r.parseStyle).each((function(e){var n=Co(vn.fromDom(t)),o=Ve(Ve({},n),e);r.setStyles(t,o)}));var o=R.from(n.class).map((function(e){return e.split(/\s+/)})),i=R.from(t.className).map((function(e){return te(e.split(/\s+/),(function(e){return""!==e}))}));Il(o,i,(function(e,n){var o=te(n,(function(t){return!X(e,t)})),i=$e(e,o);r.setAttrib(t,"class",i.join(" "))}));var a=["style","class"],u=Te(n,(function(e,t){return!X(a,t)}));r.setAttribs(t,u)},yL=function(e,t){var n=dd(e);if(n&&n.toLowerCase()===t.tagName.toLowerCase()){var r=md(e);bL(e,t,r)}},CL=function(e,t,n,r,o){var i,a,u,c,s,l,f=t||"P",d=e.dom,m=vL(d,r);if(a=d.getParent(r,d.isBlock),!a||!dL(d,a)){if(a=a||m,l=a===e.getBody()||sL(a)?a.nodeName.toLowerCase():a.parentNode.nodeName.toLowerCase(),!a.hasChildNodes())return i=d.create(f),yL(e,i),a.appendChild(i),n.setStart(i,0),n.setEnd(i,0),i;c=r;while(c.parentNode!==a)c=c.parentNode;while(c&&!d.isBlock(c))u=c,c=c.previousSibling;if(u&&e.schema.isValidChild(l,f.toLowerCase())){i=d.create(f),yL(e,i),u.parentNode.insertBefore(i,u),c=u;while(c&&!d.isBlock(c))s=c.nextSibling,i.appendChild(c),c=s;n.setStart(r,o),n.setEnd(r,o)}}return r},wL=function(e,t){t.normalize();var n=t.lastChild;n&&!/^(left|right)$/gi.test(e.getStyle(n,"float",!0))||e.add(t,"br")},xL=function(e,t){var n,r,o,i,a,u,c,s,l,f,d=e.dom,m=e.schema,p=m.getNonEmptyElements(),g=e.selection.getRng(),h=function(t){var n,o,a,u=r,c=m.getTextInlineElements();if(n=t||"TABLE"===s||"HR"===s?d.create(t||l):i.cloneNode(!1),a=n,!1===hd(e))d.setAttrib(n,"style",null),d.setAttrib(n,"class",null);else do{if(c[u.nodeName]){if(Up(u)||cg(u))continue;o=u.cloneNode(!1),d.setAttrib(o,"id",""),n.hasChildNodes()?(o.appendChild(n.firstChild),n.appendChild(o)):(a=o,n.appendChild(o))}}while((u=u.parentNode)&&u!==w);return yL(e,n),lL(a),n},v=function(e){var t,n,a=pL(e,r,o);if(Xr(r)&&(e?a>0:a<r.nodeValue.length))return!1;if(r.parentNode===i&&f&&!e)return!0;if(e&&zr(r)&&r===i.firstChild)return!0;if(fL(r,"TABLE")||fL(r,"HR"))return f&&!e||!f&&e;var u=new Pi(r,i);Xr(r)&&(e&&0===a?u.prev():e||a!==r.nodeValue.length||u.next());while(t=u.current()){if(zr(t)){if(!t.getAttribute("data-mce-bogus")&&(n=t.nodeName.toLowerCase(),p[n]&&"br"!==n))return!1}else if(Xr(t)&&!za(t.nodeValue))return!1;e?u.prev():u.next()}return!0},b=function(){a=/^(H[1-6]|PRE|FIGURE)$/.test(s)&&"HGROUP"!==x?h(l):h(),vd(e)&&dL(d,c)&&d.isEmpty(i)?a=d.split(c,i):d.insertAfter(a,i),GO(e,a)};ov(d,g).each((function(e){g.setStart(e.startContainer,e.startOffset),g.setEnd(e.endContainer,e.endOffset)})),r=g.startContainer,o=g.startOffset,l=dd(e);var y=!(!t||!t.shiftKey),C=!(!t||!t.ctrlKey);zr(r)&&r.hasChildNodes()&&(f=o>r.childNodes.length-1,r=r.childNodes[Math.min(o,r.childNodes.length-1)]||r,o=f&&Xr(r)?r.nodeValue.length:0);var w=vL(d,r);if(w){(l&&!y||!l&&y)&&(r=CL(e,l,g,r,o)),i=d.getParent(r,d.isBlock),c=i?d.getParent(i.parentNode,d.isBlock):null,s=i?i.nodeName.toUpperCase():"";var x=c?c.nodeName.toUpperCase():"";"LI"!==x||C||(i=c,c=c.parentNode,s=x),/^(LI|DT|DD)$/.test(s)&&d.isEmpty(i)?aL(e,h,c,i,l):l&&i===e.getBody()||(l=l||"P",sa(i)?(a=wa(i),d.isEmpty(i)&&lL(i),yL(e,a),GO(e,a)):v()?b():v(!0)?(a=i.parentNode.insertBefore(h(),i),GO(e,fL(i,"HR")?a:i)):(n=gL(g).cloneRange(),n.setEndAfter(i),u=n.extractContents(),uL(u),hL(u),a=u.firstChild,d.insertAfter(u,i),mL(d,p,a),wL(d,i),d.isEmpty(i)&&lL(i),a.normalize(),d.isEmpty(a)?(d.remove(a),b()):(yL(e,a),GO(e,a))),d.setAttrib(a,"id",""),e.fire("NewBlock",{newBlock:a}))}},kL=function(e,t,n){var r,o=new Pi(t,n),i=e.getNonEmptyElements();while(r=o.next())if(i[r.nodeName.toLowerCase()]||r.length>0)return!0},SL=function(e,t,n){var r=e.dom.createRng();n?(r.setStartBefore(t),r.setEndBefore(t)):(r.setStartAfter(t),r.setEndAfter(t)),e.selection.setRng(r),zv(e,r)},EL=function(e,t){var n,r,o=e.selection,i=e.dom,a=o.getRng();ov(i,a).each((function(e){a.setStart(e.startContainer,e.startOffset),a.setEnd(e.endContainer,e.endOffset)}));var u=a.startOffset,c=a.startContainer;if(1===c.nodeType&&c.hasChildNodes()){var s=u>c.childNodes.length-1;c=c.childNodes[Math.min(u,c.childNodes.length-1)]||c,u=s&&3===c.nodeType?c.nodeValue.length:0}var l=i.getParent(c,i.isBlock),f=l?i.getParent(l.parentNode,i.isBlock):null,d=f?f.nodeName.toUpperCase():"",m=!(!t||!t.ctrlKey);"LI"!==d||m||(l=f),c&&3===c.nodeType&&u>=c.nodeValue.length&&(kL(e.schema,c,l)||(n=i.create("br"),a.insertNode(n),a.setStartAfter(n),a.setEndAfter(n),r=!0)),n=i.create("br"),Ef(i,a,n),SL(e,n,r),e.undoManager.add()},NL=function(e,t){var n=vn.fromTag("br");pr(vn.fromDom(t),n),e.undoManager.add()},TL=function(e,t){RL(e.getBody(),t)||gr(vn.fromDom(t),vn.fromTag("br"));var n=vn.fromTag("br");gr(vn.fromDom(t),n),SL(e,n.dom,!1),e.undoManager.add()},AL=function(e){return Qr(e.getNode())},RL=function(e,t){return!!AL(Cf.after(t))||Lp(e,Cf.after(t)).map((function(e){return Qr(e.getNode())})).getOr(!1)},_L=function(e){return e&&"A"===e.nodeName&&"href"in e},DL=function(e){return e.fold(k,_L,_L,k)},PL=function(e){var t=b(FR,e),n=Cf.fromRangeStart(e.selection.getRng());return TD(t,e.getBody(),n).filter(DL)},BL=function(e,t){t.fold(m,b(NL,e),b(TL,e),m)},OL=function(e,t){var n=PL(e);n.isSome()?n.each(b(BL,e)):EL(e,t)},LL=function(e,t){return YO(e).filter((function(e){return t.length>0&&Nn(vn.fromDom(e),t)})).isSome()},IL=function(e){return LL(e,pd(e))},FL=function(e){return LL(e,gd(e))},ML=$o.generate([{br:[]},{block:[]},{none:[]}]),zL=function(e,t){return FL(e)},UL=function(e){return function(t,n){var r=""===dd(t);return r===e}},HL=function(e){return function(t,n){return JO(t)===e}},jL=function(e,t){return function(n,r){var o=ZO(n)===e.toUpperCase();return o===t}},VL=function(e){return jL("pre",e)},qL=function(){return jL("summary",!0)},$L=function(e){return function(t,n){return fd(t)===e}},WL=function(e,t){return IL(e)},KL=function(e,t){return t},GL=function(e){var t=dd(e),n=XO(e.dom,e.selection.getStart());return n&&e.schema.isValidChild(n.nodeName,t||"P")},XL=function(e,t){return function(n,r){var o=re(e,(function(e,t){return e&&t(n,r)}),!0);return o?R.some(t):R.none()}},YL=function(e,t){return vD([XL([zL],ML.none()),XL([qL()],ML.br()),XL([VL(!0),$L(!1),KL],ML.br()),XL([VL(!0),$L(!1)],ML.block()),XL([VL(!0),$L(!0),KL],ML.block()),XL([VL(!0),$L(!0)],ML.br()),XL([HL(!0),KL],ML.br()),XL([HL(!0)],ML.block()),XL([UL(!0),KL,GL],ML.block()),XL([UL(!0)],ML.br()),XL([WL],ML.br()),XL([UL(!1),KL],ML.br()),XL([GL],ML.block())],[e,!(!t||!t.shiftKey)]).getOr(ML.none())},ZL=function(e,t){YL(e,t).fold((function(){OL(e,t)}),(function(){xL(e,t)}),m)},JL=function(e,t){t.isDefaultPrevented()||(t.preventDefault(),LE(e.undoManager),e.undoManager.transact((function(){!1===e.selection.isCollapsed()&&e.execCommand("Delete"),ZL(e,t)})))},QL=function(e){e.on("keydown",(function(t){t.keyCode===Mh.ENTER&&JL(e,t)}))},eI=function(e,t){sO([{keyCode:Mh.END,action:cO(GB,e,!0)},{keyCode:Mh.HOME,action:cO(GB,e,!1)},{keyCode:Mh.END,action:cO(dO,e,!0)},{keyCode:Mh.HOME,action:cO(dO,e,!1)}],t).each((function(e){t.preventDefault()}))},tI=function(e){e.on("keydown",(function(t){!1===t.isDefaultPrevented()&&eI(e,t)}))},nI=jt().browser,rI=function(e){var t=Qs((function(){e.composing||UC(e)}),0);nI.isIE()&&(e.on("keypress",(function(e){t.throttle()})),e.on("remove",(function(e){t.cancel()})))},oI=function(e){rI(e),e.on("input",(function(t){!1===t.isComposing&&UC(e)}))},iI=function(e,t){var n=t.container(),r=t.offset();return Xr(n)?(n.insertData(r,e),R.some(Cf(n,r+e.length))):up(t).map((function(n){var r=vn.fromText(e);return t.isAtEnd()?gr(n,r):pr(n,r),Cf(r.dom,e.length)}))},aI=b(iI,ta),uI=b(iI," "),cI=function(e){return function(t){return t.fold((function(t){return Ip(e.dom,Cf.before(t))}),(function(e){return Fp(e)}),(function(e){return Mp(e)}),(function(t){return Lp(e.dom,Cf.after(t))}))}},sI=function(e,t){return function(n){return AC(e,n)?aI(t):uI(t)}},lI=function(e){return function(t){return e.selection.setRng(t.toRange()),e.nodeChanged(),!0}},fI=function(e){var t=Cf.fromRangeStart(e.selection.getRng()),n=vn.fromDom(e.getBody());if(e.selection.isCollapsed()){var r=b(FR,e),o=Cf.fromRangeStart(e.selection.getRng());return TD(r,e.getBody(),o).bind(cI(n)).bind(sI(n,t)).exists(lI(e))}return!1},dI=function(e,t){sO([{keyCode:Mh.SPACEBAR,action:cO(fI,e)}],t).each((function(e){t.preventDefault()}))},mI=function(e){e.on("keydown",(function(t){!1===t.isDefaultPrevented()&&dI(e,t)}))},pI=function(e){var t=YD(e);return $P(e),VO(e,t),WO(e,t),QL(e),mI(e),oI(e),tI(e),t},gI=function(e){return ZE(e)?Ms(null):pI(e)},hI=function(){function e(e){var t;this.lastPath=[],this.editor=e;var n=this;"onselectionchange"in e.getDoc()||e.on("NodeChange click mouseup keyup focus",(function(n){var r=e.selection.getRng(),o={startContainer:r.startContainer,startOffset:r.startOffset,endContainer:r.endContainer,endOffset:r.endOffset};"nodechange"!==n.type&&Wh(o,t)||e.fire("SelectionChange"),t=o})),e.on("contextmenu",(function(){e.fire("SelectionChange")})),e.on("SelectionChange",(function(){var t=e.selection.getStart(!0);!t||!Zt.range&&e.selection.isCollapsed()||lh(e)&&!n.isSameElementPath(t)&&e.dom.isChildOf(t,e.getBody())&&e.nodeChanged({selectionChange:!0})})),e.on("mouseup",(function(t){!t.isDefaultPrevented()&&lh(e)&&("IMG"===e.selection.getNode().nodeName?Ai.setEditorTimeout(e,(function(){e.nodeChanged()})):e.nodeChanged())}))}return e.prototype.nodeChanged=function(e){var t,n,r,o=this.editor.selection;this.editor.initialized&&o&&!um(this.editor)&&!this.editor.mode.isReadOnly()&&(r=this.editor.getBody(),t=o.getStart(!0)||r,t.ownerDocument===this.editor.getDoc()&&this.editor.dom.isChildOf(t,r)||(t=r),n=[],this.editor.dom.getParent(t,(function(e){if(e===r)return!0;n.push(e)})),e=e||{},e.element=t,e.parents=n,this.editor.fire("NodeChange",e))},e.prototype.isSameElementPath=function(e){var t,n=this.editor.$(e).parentsUntil(this.editor.getBody()).add(e);if(n.length===this.lastPath.length){for(t=n.length;t>=0;t--)if(n[t]!==this.lastPath[t])break;if(-1===t)return this.lastPath=n,!0}return this.lastPath=n,!1},e}(),vI=function(e){e.on("click",(function(t){e.dom.getParent(t.target,"details")&&t.preventDefault()}))},bI=function(e){e.parser.addNodeFilter("details",(function(e){J(e,(function(e){e.attr("data-mce-open",e.attr("open")),e.attr("open","open")}))})),e.serializer.addNodeFilter("details",(function(e){J(e,(function(e){var t=e.attr("data-mce-open");e.attr("open",O(t)?t:null),e.attr("data-mce-open",null)}))}))},yI=function(e){vI(e),bI(e)},CI=function(e){return zr(e)&&Ki(vn.fromDom(e))},wI=function(e){var t=e.selection.getRng(),n=Cf.fromRangeStart(t),r=Cf.fromRangeEnd(t);if(Cf.isElementPosition(n)){var o=n.container();CI(o)&&Fp(o).each((function(e){return t.setStart(e.container(),e.offset())}))}if(Cf.isElementPosition(r)){o=n.container();CI(o)&&Mp(o).each((function(e){return t.setEnd(e.container(),e.offset())}))}e.selection.setRng(nx(t))},xI=function(e){e.on("click",(function(t){t.detail>=3&&wI(e)}))},kI=function(){var e=Ms(R.none()),t=function(){return e.set(R.none())},n=function(t){return e.set(R.some(t))},r=function(){return e.get().isSome()},o=function(t){return e.get().each(t)};return{clear:t,set:n,isSet:r,on:o}},SI=function(e){var t=e.getBoundingClientRect(),n=e.ownerDocument,r=n.documentElement,o=n.defaultView;return{top:t.top+o.pageYOffset-r.clientTop,left:t.left+o.pageXOffset-r.clientLeft}},EI=function(e){return e.inline?SI(e.getBody()):{left:0,top:0}},NI=function(e){var t=e.getBody();return e.inline?{left:t.scrollLeft,top:t.scrollTop}:{left:0,top:0}},TI=function(e){var t=e.getBody(),n=e.getDoc().documentElement,r={left:t.scrollLeft,top:t.scrollTop},o={left:t.scrollLeft||n.scrollLeft,top:t.scrollTop||n.scrollTop};return e.inline?r:o},AI=function(e,t){if(t.target.ownerDocument!==e.getDoc()){var n=SI(e.getContentAreaContainer()),r=TI(e);return{left:t.pageX-n.left+r.left,top:t.pageY-n.top+r.top}}return{left:t.pageX,top:t.pageY}},RI=function(e,t,n){return{pageX:n.left-e.left+t.left,pageY:n.top-e.top+t.top}},_I=function(e,t){return RI(EI(e),NI(e),AI(e,t))},DI=no,PI=to,BI=function(e,t){return DI(t)&&t!==e},OI=function(e,t,n){return t!==n&&!e.dom.isChildOf(t,n)&&!DI(t)},LI=function(e){var t=e.cloneNode(!0);return t.removeAttribute("data-mce-selected"),t},II=function(e,t,n,r){var o=e.dom,i=t.cloneNode(!0);o.setStyles(i,{width:n,height:r}),o.setAttrib(i,"data-mce-selected",null);var a=o.create("div",{class:"mce-drag-container","data-mce-bogus":"all",unselectable:"on",contenteditable:"false"});return o.setStyles(a,{position:"absolute",opacity:.5,overflow:"hidden",border:0,padding:0,margin:0,width:n,height:r}),o.setStyles(i,{margin:0,boxSizing:"border-box"}),a.appendChild(i),a},FI=function(e,t){e.parentNode!==t&&t.appendChild(e)},MI=function(e,t,n,r,o,i){var a=0,u=0;e.style.left=t.pageX+"px",e.style.top=t.pageY+"px",t.pageX+n>o&&(a=t.pageX+n-o),t.pageY+r>i&&(u=t.pageY+r-i),e.style.width=n-a+"px",e.style.height=r-u+"px"},zI=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},UI=function(e){return 0===e.button},HI=function(e,t){return{pageX:t.pageX-e.relX,pageY:t.pageY+5}},jI=function(e,t){return function(n){if(UI(n)){var r=ie(t.dom.getParents(n.target),Zl(DI,PI)).getOr(null);if(BI(t.getBody(),r)){var o=t.dom.getPos(r),i=t.getBody(),a=t.getDoc().documentElement;e.set({element:r,dragging:!1,screenX:n.screenX,screenY:n.screenY,maxX:(t.inline?i.scrollWidth:a.offsetWidth)-2,maxY:(t.inline?i.scrollHeight:a.offsetHeight)-2,relX:n.pageX-o.x,relY:n.pageY-o.y,width:r.offsetWidth,height:r.offsetHeight,ghost:II(t,r,r.offsetWidth,r.offsetHeight)})}}}},VI=function(e,t){var n=Ai.throttle((function(e,n){t._selectionOverrides.hideFakeCaret(),t.selection.placeCaretAt(e,n)}),0);return t.on("remove",n.stop),function(r){return e.on((function(e){var o=Math.max(Math.abs(r.screenX-e.screenX),Math.abs(r.screenY-e.screenY));if(!e.dragging&&o>10){var i=t.fire("dragstart",{target:e.element});if(i.isDefaultPrevented())return;e.dragging=!0,t.focus()}if(e.dragging){var a=HI(e,_I(t,r));FI(e.ghost,t.getBody()),MI(e.ghost,a,e.width,e.height,e.maxX,e.maxY),n(r.clientX,r.clientY)}}))}},qI=function(e){var t=e.getSel().getRangeAt(0),n=t.startContainer;return 3===n.nodeType?n.parentNode:n},$I=function(e,t){return function(n){e.on((function(e){if(e.dragging&&OI(t,qI(t.selection),e.element)){var r=LI(e.element),o=t.fire("drop",{clientX:n.clientX,clientY:n.clientY});o.isDefaultPrevented()||t.undoManager.transact((function(){zI(e.element),t.insertContent(t.dom.getOuterHTML(r)),t._selectionOverrides.hideFakeCaret()}))}})),KI(e)}},WI=function(e,t){return function(){e.on((function(e){e.dragging&&t.fire("dragend")})),KI(e)}},KI=function(e){e.on((function(e){zI(e.ghost)})),e.clear()},GI=function(e){var t=kI(),n=Rs.DOM,r=document,o=jI(t,e),i=VI(t,e),a=$I(t,e),u=WI(t,e);e.on("mousedown",o),e.on("mousemove",i),e.on("mouseup",a),n.bind(r,"mousemove",i),n.bind(r,"mouseup",u),e.on("remove",(function(){n.unbind(r,"mousemove",i),n.unbind(r,"mouseup",u)}))},XI=function(e){e.on("drop",(function(t){var n="undefined"!==typeof t.clientX?e.getDoc().elementFromPoint(t.clientX,t.clientY):null;(DI(n)||"false"===e.dom.getContentEditableParent(n))&&t.preventDefault()}))},YI=function(e){var t=function(t){if(!t.isDefaultPrevented()){var n=t.dataTransfer;n&&(X(n.types,"Files")||n.files.length>0)&&(t.preventDefault(),"drop"===t.type&&VA(e,"Dropped file type is not supported"))}},n=function(n){Lb(e,n.target)&&t(n)},r=function(){var r=Rs.DOM,o=e.dom,i=document,a=e.inline?e.getBody():e.getDoc(),u=["drop","dragover"];J(u,(function(e){r.bind(i,e,n),o.bind(a,e,t)})),e.on("remove",(function(){J(u,(function(e){r.unbind(i,e,n),o.unbind(a,e,t)}))}))};e.on("init",(function(){Ai.setEditorTimeout(e,r,0)}))},ZI=function(e){GI(e),XI(e),dm(e)&&YI(e)},JI=function(e){var t=Qs((function(){if(!e.removed&&e.getBody().contains(document.activeElement)){var t=e.selection.getRng();if(t.collapsed){var n=D_(e,t,!1);e.selection.setRng(n)}}}),0);e.on("focus",(function(){t.throttle()})),e.on("blur",(function(){t.cancel()}))},QI=function(e){e.on("init",(function(){e.on("focusin",(function(t){var n=t.target;if(oo(n)){var r=Sh(e.getBody(),n),o=no(r)?r:n;e.selection.getNode()!==o&&R_(e,o).each((function(t){return e.selection.setRng(t)}))}}))}))},eF=to,tF=no,nF=function(e,t){return Sh(e.getBody(),t)},rF=function(e){var t,n=e.selection,r=e.dom,o=r.isBlock,i=e.getBody(),a=Lm(e,i,o,(function(){return Xb(e)})),u="sel-"+r.uniqueId(),c="data-mce-selected",s=function(e){return r.hasClass(e,"mce-offscreen-selection")},l=function(e){return e!==i&&(tF(e)||oo(e))&&r.isChildOf(e,i)},f=function(e){return Xy(e)||Yy(e)||$y(e)||Wy(e)},d=function(){var e=r.get(u);return e?e.getElementsByTagName("*")[0]:e},m=function(e){e&&n.setRng(e)},p=n.getRng,g=function(t,r,o,i){void 0===i&&(i=!0);var u=e.fire("ShowCaret",{target:r,direction:t,before:o});return u.isDefaultPrevented()?null:(i&&n.scrollIntoView(r,-1===t),a.show(o,r))},h=function(e){e.hasAttribute("data-mce-caret")&&(wa(e),m(p()),n.scrollIntoView(e))},v=function(){e.on("mouseup",(function(t){var n=p();n.collapsed&&PA(e,t.clientX,t.clientY)&&__(e,n,!1).each(m)})),e.on("click",(function(t){var o=nF(e,t.target);o&&(tF(o)&&(t.preventDefault(),e.focus()),eF(o)&&r.isChildOf(o,n.getNode())&&S())})),e.on("blur NewBlock",S),e.on("ResizeWindow FullscreenStateChanged",a.reposition);var u=function(e){var t=kp(e);if(!e.firstChild)return!1;var n=Cf.before(e.firstChild),r=t.next(n);return r&&!f(r)},c=function(e,t){var n=r.getParent(e,o),i=r.getParent(t,o);return n===i},h=function(t,n){var i=r.getParent(t,o),a=r.getParent(n,o);return!(!i||t===a||!r.isChildOf(i,a)||!1!==tF(nF(e,i)))||i&&!c(i,a)&&u(i)};e.on("tap",(function(t){var n=t.target,r=nF(e,n);tF(r)?(t.preventDefault(),R_(e,r).each(k)):l(n)&&R_(e,n).each(k)}),!0),e.on("mousedown",(function(t){var o=t.target;if((o===i||"HTML"===o.nodeName||r.isChildOf(o,i))&&!1!==PA(e,t.clientX,t.clientY)){var a=nF(e,o);if(a)tF(a)?(t.preventDefault(),R_(e,a).each(k)):(S(),eF(a)&&t.shiftKey||Eh(t.clientX,t.clientY,n.getRng())||(N(),n.placeCaretAt(t.clientX,t.clientY)));else if(l(o))R_(e,o).each(k);else if(!1===Mm(o)){S(),N();var u=PB(i,t.clientX,t.clientY);if(u&&!h(o,u.node)){t.preventDefault();var c=g(1,u.node,u.before,!1);e.getBody().focus(),m(c)}}}})),e.on("keypress",(function(e){Mh.modifierPressed(e)||tF(n.getNode())&&e.preventDefault()})),e.on("GetSelectionRange",(function(e){var n=e.range;if(t){if(!t.parentNode)return void(t=null);n=n.cloneRange(),n.selectNode(t),e.range=n}})),e.on("SetSelectionRange",(function(e){e.range=C(e.range);var t=k(e.range,e.forward);t&&(e.range=t)}));var v=function(e){return"mcepastebin"===e.id};e.on("AfterSetSelectionRange",(function(e){var t=e.range,n=t.startContainer.parentNode;y(t)||v(n)||N(),s(n)||S()})),e.on("copy",(function(e){var t=e.clipboardData;if(!e.isDefaultPrevented()&&e.clipboardData&&!Zt.ie){var n=d();n&&(e.preventDefault(),t.clearData(),t.setData("text/html",n.outerHTML),t.setData("text/plain",n.outerText||n.innerText))}})),ZI(e),JI(e),QI(e)},b=function(e){return fa(e)||ba(e)||ya(e)},y=function(e){return b(e.startContainer)||b(e.endContainer)},C=function(t){var n=e.schema.getShortEndedElements(),o=r.createRng(),i=t.startContainer,a=t.startOffset,u=t.endContainer,c=t.endOffset;return De(n,i.nodeName.toLowerCase())?0===a?o.setStartBefore(i):o.setStartAfter(i):o.setStart(i,a),De(n,u.nodeName.toLowerCase())?0===c?o.setEndBefore(u):o.setEndAfter(u):o.setEnd(u,c),o},w=function(t,o,i){var a=e.$,c=bi(vn.fromDom(e.getBody()),"#"+u).fold((function(){return a([])}),(function(e){return a([e.dom])}));0===c.length&&(c=a('<div data-mce-bogus="all" class="mce-offscreen-selection"></div>').attr("id",u),c.appendTo(e.getBody()));var s=r.createRng();o===i&&Zt.ie?(c.empty().append('<p style="font-size: 0" data-mce-bogus="all"> </p>').append(o),s.setStartAfter(c[0].firstChild.firstChild),s.setEndAfter(o)):(c.empty().append(ta).append(o).append(ta),s.setStart(c[0].firstChild,1),s.setEnd(c[0].lastChild,0)),c.css({top:r.getPos(t,e.getBody()).y}),c[0].focus();var l=n.getSel();return l.removeAllRanges(),l.addRange(s),s},x=function(n){var o=n.cloneNode(!0),i=e.fire("ObjectSelected",{target:n,targetClone:o});if(i.isDefaultPrevented())return null;var a=w(n,i.targetClone,o),u=vn.fromDom(n);return J(ml(vn.fromDom(e.getBody()),"*[data-mce-selected]"),(function(e){_n(u,e)||mo(e,c)})),r.getAttrib(n,c)||n.setAttribute(c,"1"),t=n,N(),a},k=function(e,t){if(!e)return null;if(e.collapsed){if(!y(e)){var n=t?1:-1,o=ap(n,i,e),a=o.getNode(!t);if(Mm(a))return g(n,a,!!t&&!o.isAtEnd(),!1);var u=o.getNode(t);if(Mm(u))return g(n,u,!t&&!o.isAtEnd(),!1)}return null}var c=e.startContainer,s=e.startOffset,f=e.endOffset;if(3===c.nodeType&&0===s&&tF(c.parentNode)&&(c=c.parentNode,s=r.nodeIndex(c),c=c.parentNode),1!==c.nodeType)return null;if(f===s+1&&c===e.endContainer){var d=c.childNodes[s];if(l(d))return x(d)}return null},S=function(){t&&t.removeAttribute(c),bi(vn.fromDom(e.getBody()),"#"+u).each(xr),t=null},E=function(){a.destroy(),t=null},N=function(){a.hide()};return Zt.ceFalse&&v(),{showCaret:g,showBlockCaretContainer:h,hideFakeCaret:N,destroy:E}},oF=function(e){var t=fn.each,n=Mh.BACKSPACE,r=Mh.DELETE,o=e.dom,i=e.selection,a=e.parser,u=Zt.gecko,c=Zt.ie,s=Zt.webkit,l="data:text/mce-internal,",f=c?"Text":"URL",d=function(t,n){try{e.getDoc().execCommand(t,!1,n)}catch(r){}},p=function(e){return e.isDefaultPrevented()},g=function(t){var n,r;t.dataTransfer&&(e.selection.isCollapsed()&&"IMG"===t.target.tagName&&i.select(t.target),n=e.selection.getContent(),n.length>0&&(r=l+escape(e.id)+","+escape(n),t.dataTransfer.setData(f,r)))},h=function(e){var t;return e.dataTransfer&&(t=e.dataTransfer.getData(f),t&&t.indexOf(l)>=0)?(t=t.substr(l.length).split(","),{id:unescape(t[0]),html:unescape(t[1])}):null},v=function(t,n){e.queryCommandSupported("mceInsertClipboardContent")?e.execCommand("mceInsertClipboardContent",!1,{content:t,internal:n}):e.execCommand("mceInsertContent",!1,t)},b=function(){var t=function(e){var t=o.create("body"),n=e.cloneContents();return t.appendChild(n),i.serializer.serialize(t,{format:"html"})},a=function(n){var r=t(n),i=o.createRng();i.selectNode(e.getBody());var a=t(i);return r===a};e.on("keydown",(function(t){var i,u,c=t.keyCode;if(!p(t)&&(c===r||c===n)){if(i=e.selection.isCollapsed(),u=e.getBody(),i&&!o.isEmpty(u))return;if(!i&&!a(e.selection.getRng()))return;t.preventDefault(),e.setContent(""),u.firstChild&&o.isBlock(u.firstChild)?e.selection.setCursorLocation(u.firstChild,0):e.selection.setCursorLocation(u,0),e.nodeChanged()}}))},y=function(){e.shortcuts.add("meta+a",null,"SelectAll")},C=function(){e.inline||o.bind(e.getDoc(),"mousedown mouseup",(function(t){var n;if(t.target===e.getDoc().documentElement)if(n=i.getRng(),e.getBody().focus(),"mousedown"===t.type){if(fa(n.startContainer))return;i.placeCaretAt(t.clientX,t.clientY)}else i.setRng(n)}))},w=function(){e.on("keydown",(function(t){if(!p(t)&&t.keyCode===n){if(!e.getBody().getElementsByTagName("hr").length)return;if(i.isCollapsed()&&0===i.getRng().startOffset){var r=i.getNode(),a=r.previousSibling;if("HR"===r.nodeName)return o.remove(r),void t.preventDefault();a&&a.nodeName&&"hr"===a.nodeName.toLowerCase()&&(o.remove(a),t.preventDefault())}}}))},x=function(){Range.prototype.getClientRects||e.on("mousedown",(function(t){if(!p(t)&&"HTML"===t.target.nodeName){var n=e.getBody();n.blur(),Ai.setEditorTimeout(e,(function(){n.focus()}))}}))},k=function(){e.on("click",(function(t){var n=t.target;/^(IMG|HR)$/.test(n.nodeName)&&"false"!==o.getContentEditableParent(n)&&(t.preventDefault(),e.selection.select(n),e.nodeChanged()),"A"===n.nodeName&&o.hasClass(n,"mce-item-anchor")&&(t.preventDefault(),i.select(n))}))},S=function(){var n=function(){var n=o.getAttribs(i.getStart().cloneNode(!1));return function(){var r=i.getStart();r!==e.getBody()&&(o.setAttrib(r,"style",null),t(n,(function(e){r.setAttributeNode(e.cloneNode(!0))})))}},r=function(){return!i.isCollapsed()&&o.getParent(i.getStart(),o.isBlock)!==o.getParent(i.getEnd(),o.isBlock)};e.on("keypress",(function(t){var o;if(!p(t)&&(8===t.keyCode||46===t.keyCode)&&r())return o=n(),e.getDoc().execCommand("delete",!1,null),o(),t.preventDefault(),!1})),o.bind(e.getDoc(),"cut",(function(t){var o;!p(t)&&r()&&(o=n(),Ai.setEditorTimeout(e,(function(){o()})))}))},E=function(){e.on("keydown",(function(e){if(!p(e)&&e.keyCode===n&&i.isCollapsed()&&0===i.getRng().startOffset){var t=i.getNode().previousSibling;if(t&&t.nodeName&&"table"===t.nodeName.toLowerCase())return e.preventDefault(),!1}}))},N=function(){e.on("keydown",(function(t){var n,r;if(!p(t)&&t.keyCode===Mh.BACKSPACE){n=i.getRng();var a=n.startContainer,u=n.startOffset,c=o.getRoot();if(r=a,n.collapsed&&0===u){while(r&&r.parentNode&&r.parentNode.firstChild===r&&r.parentNode!==c)r=r.parentNode;"BLOCKQUOTE"===r.tagName&&(e.formatter.toggle("blockquote",null,r),n=o.createRng(),n.setStart(a,0),n.setEnd(a,0),i.setRng(n))}}}))},T=function(){var t=function(){d("StyleWithCSS",!1),d("enableInlineTableEditing",!1),Ud(e)||d("enableObjectResizing",!1)};cm(e)||e.on("BeforeExecCommand mousedown",t)},A=function(){var n=function(){t(o.select("a"),(function(e){var t=e.parentNode,n=o.getRoot();if(t.lastChild===e){while(t&&!o.isBlock(t)){if(t.parentNode.lastChild!==t||t===n)return;t=t.parentNode}o.add(t,"br",{"data-mce-bogus":1})}}))};e.on("SetContent ExecCommand",(function(e){"setcontent"!==e.type&&"mceInsertLink"!==e.command||n()}))},R=function(){dd(e)&&e.on("init",(function(){d("DefaultParagraphSeparator",dd(e))}))},_=function(){e.on("keyup focusin mouseup",(function(e){Mh.modifierPressed(e)||i.normalize()}),!0)},D=function(){e.contentStyles.push("img:-moz-broken {-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}")},P=function(){e.inline||e.on("keydown",(function(){document.activeElement===document.body&&e.getWin().focus()}))},B=function(){e.inline||(e.contentStyles.push("body {min-height: 150px}"),e.on("click",(function(t){var n;if("HTML"===t.target.nodeName){if(Zt.ie>11)return void e.getBody().focus();n=e.selection.getRng(),e.getBody().focus(),e.selection.setRng(n),e.selection.normalize(),e.nodeChanged()}})))},O=function(){Zt.mac&&e.on("keydown",(function(t){if(Mh.metaKeyPressed(t)&&!t.shiftKey&&(37===t.keyCode||39===t.keyCode)){t.preventDefault();var n=e.selection.getSel();n.modify("move",37===t.keyCode?"backward":"forward","lineboundary")}}))},L=function(){d("AutoUrlDetect",!1)},I=function(){e.on("click",(function(e){var t=e.target;do{if("A"===t.tagName)return void e.preventDefault()}while(t=t.parentNode)})),e.contentStyles.push(".mce-content-body {-webkit-touch-callout: none}")},F=function(){e.on("init",(function(){e.dom.bind(e.getBody(),"submit",(function(e){e.preventDefault()}))}))},M=function(){a.addNodeFilter("br",(function(e){var t=e.length;while(t--)"Apple-interchange-newline"===e[t].attr("class")&&e[t].remove()}))},z=function(){e.on("dragstart",(function(e){g(e)})),e.on("drop",(function(t){if(!p(t)){var n=h(t);if(n&&n.id!==e.id){t.preventDefault();var r=$h(t.x,t.y,e.getDoc());i.setRng(r),v(n.html,!0)}}}))},U=m,H=function(){if(!u||e.removed)return!1;var t=e.selection.getSel();return!t||!t.rangeCount||0===t.rangeCount};return N(),b(),Zt.windowsPhone||_(),s&&(C(),k(),R(),F(),E(),M(),Zt.iOS?(P(),B(),I()):y()),Zt.ie>=11&&(B(),E()),Zt.ie&&(y(),L(),z()),u&&(w(),x(),S(),T(),A(),D(),O(),E()),{refreshContentEditable:U,isHidden:H}},iF=Rs.DOM,aF=function(e,t){var n=vn.fromDom(e.getBody()),r=sr(cr(n)),o=vn.fromTag("style");uo(o,"type","text/css"),vr(o,vn.fromText(t)),vr(r,o),e.on("remove",(function(){xr(o)}))},uF=function(e){return e.inline?e.getElement().nodeName.toLowerCase():void 0},cF=function(e){return Te(e,(function(e){return!1===z(e)}))},sF=function(e){var t=e.settings,n=e.editorUpload.blobCache;return cF({allow_conditional_comments:t.allow_conditional_comments,allow_html_data_urls:t.allow_html_data_urls,allow_svg_data_urls:t.allow_svg_data_urls,allow_html_in_named_anchor:t.allow_html_in_named_anchor,allow_script_urls:t.allow_script_urls,allow_unsafe_link_target:t.allow_unsafe_link_target,convert_fonts_to_spans:t.convert_fonts_to_spans,fix_list_elements:t.fix_list_elements,font_size_legacy_values:t.font_size_legacy_values,forced_root_block:t.forced_root_block,forced_root_block_attrs:t.forced_root_block_attrs,padd_empty_with_br:t.padd_empty_with_br,preserve_cdata:t.preserve_cdata,remove_trailing_brs:t.remove_trailing_brs,inline_styles:t.inline_styles,root_name:uF(e),validate:!0,blob_cache:n,images_dataimg_filter:t.images_dataimg_filter})},lF=function(e){var t=e.settings;return Ve(Ve({},sF(e)),cF({url_converter:t.url_converter,url_converter_scope:t.url_converter_scope,element_format:t.element_format,entities:t.entities,entity_encoding:t.entity_encoding,indent:t.indent,indent_after:t.indent_after,indent_before:t.indent_before,block_elements:t.block_elements,boolean_attributes:t.boolean_attributes,custom_elements:t.custom_elements,extended_valid_elements:t.extended_valid_elements,invalid_elements:t.invalid_elements,invalid_styles:t.invalid_styles,move_caret_before_on_enter_elements:t.move_caret_before_on_enter_elements,non_empty_elements:t.non_empty_elements,schema:t.schema,self_closing_elements:t.self_closing_elements,short_ended_elements:t.short_ended_elements,special:t.special,text_block_elements:t.text_block_elements,text_inline_elements:t.text_inline_elements,valid_children:t.valid_children,valid_classes:t.valid_classes,valid_elements:t.valid_elements,valid_styles:t.valid_styles,verify_html:t.verify_html,whitespace_elements:t.whitespace_elements}))},fF=function(e){var t=yT(sF(e),e.schema);return t.addAttributeFilter("src,href,style,tabindex",(function(t,n){var r,o,i=t.length,a=e.dom,u="data-mce-"+n;while(i--)if(r=t[i],o=r.attr(n),o&&!r.attr(u)){if(0===o.indexOf("data:")||0===o.indexOf("blob:"))continue;"style"===n?(o=a.serializeStyle(a.parseStyle(o),r.name),o.length||(o=null),r.attr(u,o),r.attr(n,o)):"tabindex"===n?(r.attr(u,o),r.attr(n,null)):r.attr(u,e.convertURL(o,n,r.name))}})),t.addNodeFilter("script",(function(e){var t=e.length;while(t--){var n=e[t],r=n.attr("type")||"no/type";0!==r.indexOf("mce-")&&n.attr("type","mce-"+r)}})),e.settings.preserve_cdata&&t.addNodeFilter("#cdata",(function(t){var n=t.length;while(n--){var r=t[n];r.type=8,r.name="#comment",r.value="[CDATA["+e.dom.encode(r.value)+"]]"}})),t.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",(function(t){var n=t.length,r=e.schema.getNonEmptyElements();while(n--){var o=t[n];o.isEmpty(r)&&0===o.getAll("br").length&&(o.append(new dy("br",1)).shortEnded=!0)}})),t},dF=function(e){e.settings.auto_focus&&Ai.setEditorTimeout(e,(function(){var t;t=!0===e.settings.auto_focus?e:e.editorManager.get(e.settings.auto_focus),t.destroyed||t.focus()}),100)},mF=function(e){var t=e.dom.getRoot();e.inline||lh(e)&&e.selection.getStart(!0)!==t||Fp(t).each((function(t){var n=t.getNode(),r=Wr(n)?Fp(n).getOr(t):t;Zt.browser.isIE()?wb(e,r.toRange()):e.selection.setRng(r.toRange())}))},pF=function(e){e.bindPendingEventDelegates(),e.initialized=!0,Lh(e),e.focus(!0),mF(e),e.nodeChanged({initial:!0}),e.execCallback("init_instance_callback",e),dF(e)},gF=function(e){return e.inline?e.ui.styleSheetLoader:e.dom.styleSheetLoader},hF=function(e,t,n){var r=[new wi((function(n,r){return gF(e).loadAll(t,n,r)}))];return e.inline?r:r.concat([new wi((function(t,r){return e.ui.styleSheetLoader.loadAll(n,t,r)}))])},vF=function(e,t){var n=gF(e),r=Fd(e),o=function(){n.unloadAll(t),e.inline||e.ui.styleSheetLoader.unloadAll(r)},i=function(){e.removed?o():(e.on("remove",o),pF(e))};wi.all(hF(e,t,r)).then(i).catch(i)},bF=function(e,t){var n=e.settings,r=e.getDoc(),o=e.getBody();n.browser_spellcheck||n.gecko_spellcheck||(r.body.spellcheck=!1,iF.setAttrib(o,"spellcheck","false")),e.quirks=oF(e),Oh(e);var i=Md(e);if(void 0!==i&&(o.dir=i),n.protect&&e.on("BeforeSetContent",(function(e){fn.each(n.protect,(function(t){e.content=e.content.replace(t,(function(e){return"\x3c!--mce:protected "+escape(e)+"--\x3e"}))}))})),e.on("SetContent",(function(){e.addVisual(e.getBody())})),!1===t&&e.load({initial:!0,format:"html"}),e.startContent=e.getContent({format:"raw"}),e.on("compositionstart compositionend",(function(t){e.composing="compositionstart"===t.type})),e.contentStyles.length>0){var a="";fn.each(e.contentStyles,(function(e){a+=e+"\r\n"})),e.dom.addStyle(a)}vF(e,e.contentCSS),n.content_style&&aF(e,n.content_style)},yF=function(e,t){var n=e.settings,r=e.getElement(),o=e.getDoc();n.inline||(e.getElement().style.visibility=e.orgVisibility),t||e.inline||(o.open(),o.write(e.iframeHTML),o.close()),e.inline&&(iF.addClass(r,"mce-content-body"),e.contentDocument=o=document,e.contentWindow=window,e.bodyElement=r,e.contentAreaContainer=r);var i=e.getBody();i.disabled=!0,e.readonly=!!n.readonly,e.readonly||(e.inline&&"static"===iF.getStyle(i,"position",!0)&&(i.style.position="relative"),i.contentEditable=e.getParam("content_editable_state",!0)),i.disabled=!1,e.editorUpload=mR(e),e.schema=Du(n),e.dom=Rs(o,{keep_values:!0,url_converter:e.convertURL,url_converter_scope:e,hex_colors:n.force_hex_style_colors,update_styles:!0,root_element:e.inline?e.getBody():null,collect:function(){return e.inline},schema:e.schema,contentCssCors:_d(e),referrerPolicy:Dd(e),onSetAttrib:function(t){e.fire("SetAttrib",t)}}),e.parser=fF(e),e.serializer=PT(lF(e),e),e.selection=HN(e.dom,e.getWin(),e.serializer,e),e.annotator=xh(e),e.formatter=kR(e),e.undoManager=NR(e),e._nodeChangeDispatcher=new hI(e),e._selectionOverrides=rF(e),OP(e),yI(e),ZE(e)||xI(e);var a=gI(e);RP(e,a),UP(e),OR(e),Bh(e),JE(e).fold((function(){bF(e,!1)}),(function(t){e.setProgressState(!0),t.then((function(t){e.setProgressState(!1),bF(e,t)}),(function(t){e.notificationManager.open({type:"error",text:String(t)}),bF(e,!0)}))}))},CF=Rs.DOM,wF=function(e,t){if(document.domain!==window.location.hostname&&Zt.browser.isIE()){var n=aR("mce");e[n]=function(){yF(e)};var r='javascript:(function(){document.open();document.domain="'+document.domain+'";var ed = window.parent.tinymce.get("'+e.id+'");document.write(ed.iframeHTML);document.close();ed.'+n+"(true);})()";return CF.setAttrib(t,"src",r),!0}return!1},xF=function(e,t,n,r){var o=vn.fromTag("iframe");return co(o,r),co(o,{id:e+"_ifr",frameBorder:"0",allowTransparency:"true",title:t}),cl(o,"tox-edit-area__iframe"),o},kF=function(e){var t=ad(e)+"<html><head>";ud(e)!==e.documentBaseUrl&&(t+='<base href="'+e.documentBaseURI.getURI()+'" />'),t+='<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';var n=cd(e),r=sd(e);return ld(e)&&(t+='<meta http-equiv="Content-Security-Policy" content="'+ld(e)+'" />'),t+='</head><body id="'+n+'" class="mce-content-body '+r+'" data-id="'+e.id+'"><br></body></html>',t},SF=function(e,t){var n=e.editorManager.translate("Rich Text Area. Press ALT-0 for help."),r=xF(e.id,n,t.height,id(e)).dom;r.onload=function(){r.onload=null,e.fire("load")};var o=wF(e,r);return e.contentAreaContainer=t.iframeContainer,e.iframeElement=r,e.iframeHTML=kF(e),CF.add(t.iframeContainer,r),o},EF=function(e,t){var n=SF(e,t);t.editorContainer&&(CF.get(t.editorContainer).style.display=e.orgDisplay,e.hidden=CF.isHidden(t.editorContainer)),e.getElement().style.display="none",CF.setAttrib(e.id,"aria-hidden","true"),n||yF(e)},NF=Rs.DOM,TF=function(e,t,n){var r=FA.get(n),o=FA.urls[n]||e.documentBaseUrl.replace(/\/$/,"");if(n=fn.trim(n),r&&-1===fn.inArray(t,n)){if(fn.each(FA.dependencies(n),(function(n){TF(e,t,n)})),e.plugins[n])return;try{var i=new r(e,o,e.$);e.plugins[n]=i,i.init&&(i.init(e,o),t.push(n))}catch(hU){YA(e,n,hU)}}},AF=function(e){return e.replace(/^\-/,"")},RF=function(e){var t=[];fn.each(lm(e).split(/[ ,]/),(function(n){TF(e,t,AF(n))}))},_F=function(e){var t=fn.trim(Sd(e)),n=e.ui.registry.getAll().icons,r=Ve(Ve({},xA.get("default").icons),xA.get(t).icons);we(r,(function(t,r){De(n,r)||e.ui.registry.addIcon(r,t)}))},DF=function(e){var t=$d(e);if(O(t)){e.settings.theme=AF(t);var n=MA.get(t);e.theme=new n(e,MA.urls[t]),e.theme.init&&e.theme.init(e,MA.urls[t]||e.documentBaseUrl.replace(/\/$/,""),e.$)}else e.theme={}},PF=function(e){return e.theme.renderUI()},BF=function(e){var t=e.getElement(),n=$d(e),r=n(e,t);return r.editorContainer.nodeType&&(r.editorContainer.id=r.editorContainer.id||e.id+"_parent"),r.iframeContainer&&r.iframeContainer.nodeType&&(r.iframeContainer.id=r.iframeContainer.id||e.id+"_iframecontainer"),r.height=r.iframeHeight?r.iframeHeight:t.offsetHeight,r},OF=function(e){return{editorContainer:e,iframeContainer:e,api:{}}},LF=function(e){var t=NF.create("div");return NF.insertAfter(t,e),OF(t)},IF=function(e){var t=e.getElement();return e.inline?OF(null):LF(t)},FF=function(e){var t=e.getElement();return e.orgDisplay=t.style.display,O($d(e))?PF(e):j($d(e))?BF(e):IF(e)},MF=function(e,t){var n={show:R.from(t.show).getOr(m),hide:R.from(t.hide).getOr(m),disable:R.from(t.disable).getOr(m),isDisabled:R.from(t.isDisabled).getOr(k),enable:function(){e.mode.isReadOnly()||R.from(t.enable).map(x)}};e.ui=Ve(Ve({},e.ui),n)},zF=function(e){e.fire("ScriptsLoaded"),_F(e),DF(e),RF(e);var t=FF(e);MF(e,R.from(t.api).getOr({}));var n={editorContainer:t.editorContainer,iframeContainer:t.iframeContainer};return e.editorContainer=n.editorContainer?n.editorContainer:null,nR(e),e.inline?yF(e):EF(e,n)},UF=Rs.DOM,HF=function(e){return"-"===e.charAt(0)},jF=function(e,t){var n=Pd(t),r=Bd(t);if(!1===Zs.hasCode(n)&&"en"!==n){var o=""!==r?r:t.editorManager.baseURL+"/langs/"+n+".js";e.add(o,m,void 0,(function(){XA(t,o,n)}))}},VF=function(e,t,n,r){var o=$d(t);if(O(o)){if(!HF(o)&&!MA.urls.hasOwnProperty(o)){var i=Jd(t);i?MA.load(o,t.documentBaseURI.toAbsolute(i)):MA.load(o,"themes/"+o+"/theme"+n+".js")}e.loadQueue((function(){MA.waitFor(o,r)}))}else r()},qF=function(e){return R.from(Ed(e)).filter((function(e){return e.length>0})).map((function(e){return{url:e,name:R.none()}}))},$F=function(e,t,n){return R.from(t).filter((function(e){return e.length>0&&!xA.has(e)})).map((function(t){return{url:e.editorManager.baseURL+"/icons/"+t+"/icons"+n+".js",name:R.some(t)}}))},WF=function(e,t,n){var r=$F(t,"default",n),o=qF(t).orThunk((function(){return $F(t,Sd(t),"")}));J(Ll([r,o]),(function(n){e.add(n.url,m,void 0,(function(){GA(t,n.url,n.name.getOrUndefined())}))}))},KF=function(e,t){fn.each(fm(e),(function(t,n){FA.load(n,t,m,void 0,(function(){KA(e,t,n)})),e.settings.plugins+=" "+n})),fn.each(lm(e).split(/[ ,]/),(function(n){if(n=fn.trim(n),n&&!FA.urls[n])if(HF(n)){n=n.substr(1,n.length);var r=FA.dependencies(n);fn.each(r,(function(n){var r={prefix:"plugins/",resource:n,suffix:"/plugin"+t+".js"},o=FA.createUrl(r,n);FA.load(o.resource,o,m,void 0,(function(){KA(e,o.prefix+o.resource+o.suffix,o.resource)}))}))}else{var o={prefix:"plugins/",resource:n,suffix:"/plugin"+t+".js"};FA.load(n,o,m,void 0,(function(){KA(e,o.prefix+o.resource+o.suffix,n)}))}}))},GF=function(e,t){var n=Fs.ScriptLoader;VF(n,e,t,(function(){jF(n,e),WF(n,e,t),KF(e,t),n.loadQueue((function(){e.removed||zF(e)}),e,(function(){e.removed||zF(e)}))}))},XF=function(e,t){return Di.forElement(e,{contentCssCors:sm(t),referrerPolicy:Dd(t)})},YF=function(e){var t=e.id;Zs.setCode(Pd(e));var n=function(){UF.unbind(window,"ready",n),e.render()};if($u.Event.domLoaded){if(e.getElement()&&Zt.contentEditable){var r=vn.fromDom(e.getElement()),o=po(r);e.on("remove",(function(){Q(r.dom.attributes,(function(e){return mo(r,e.name)})),co(r,o)})),e.ui.styleSheetLoader=XF(r,e),Qd(e)?e.inline=!0:(e.orgVisibility=e.getElement().style.visibility,e.getElement().style.visibility="hidden");var i=e.getElement().form||UF.getParent(t,"form");i&&(e.formElement=i,em(e)&&!Gr(e.getElement())&&(UF.insertAfter(UF.create("input",{type:"hidden",name:t}),t),e.hasHiddenInput=!0),e.formEventDelegate=function(t){e.fire(t.type,t)},UF.bind(i,"submit reset",e.formEventDelegate),e.on("reset",(function(){e.resetContent()})),!tm(e)||i.submit.nodeType||i.submit.length||i._mceOldSubmit||(i._mceOldSubmit=i.submit,i.submit=function(){return e.editorManager.triggerSave(),e.setDirty(!1),i._mceOldSubmit(i)})),e.windowManager=HA(e),e.notificationManager=IA(e),nm(e)&&e.on("GetContent",(function(e){e.save&&(e.content=UF.encode(e.content))})),rm(e)&&e.on("submit",(function(){e.initialized&&e.save()})),om(e)&&(e._beforeUnload=function(){!e.initialized||e.destroyed||e.isHidden()||e.save({format:"raw",no_events:!0,set_dirty:!1})},e.editorManager.on("BeforeUnload",e._beforeUnload)),e.editorManager.add(e),GF(e,e.suffix)}}else UF.bind(window,"ready",n)},ZF=function(e,t){return EN(e,t)},JF={"font-size":"size","font-family":"face"},QF=function(e,t,n){var r=function(t){return yo(t,e).orThunk((function(){return"font"===On(t)?_e(JF,e).bind((function(e){return lo(t,e)})):R.none()}))},o=function(e){return _n(vn.fromDom(t),e)};return Yx(vn.fromDom(n),(function(e){return r(e)}),o)},eM=function(e){return e.replace(/[\'\"\\]/g,"").replace(/,\s+/g,",")},tM=function(e,t){return R.from(Rs.DOM.getStyle(t,e,!0))},nM=function(e){return function(t,n){return R.from(n).map(vn.fromDom).filter(Mn).bind((function(n){return QF(e,t,n.dom).or(tM(e,n.dom))})).getOr("")}},rM=nM("font-size"),oM=p(eM,nM("font-family")),iM=function(e){return Fp(e.getBody()).map((function(e){var t=e.container();return Xr(t)?t.parentNode:t}))},aM=function(e){return R.from(e.selection.getRng()).bind((function(t){var n=e.getBody(),r=t.startContainer===n&&0===t.startOffset;return r?R.none():R.from(e.selection.getStart(!0))}))},uM=function(e,t){return aM(e).orThunk(b(iM,e)).map(vn.fromDom).filter(Mn).map(t)},cM=function(e,t){if(/^[0-9.]+$/.test(t)){var n=parseInt(t,10);if(n>=1&&n<=7){var r=bd(e),o=yd(e);return o?o[n-1]||t:r[n-1]||t}return t}return t},sM=function(e){var t=e.split(/\s*,\s*/);return Z(t,(function(e){return-1===e.indexOf(" ")||ct(e,'"')||ct(e,"'")?e:"'"+e+"'"})).join(",")},lM=function(e,t){var n=cM(e,t);e.formatter.toggle("fontname",{value:sM(n)}),e.nodeChanged()},fM=function(e){return uM(e,(function(t){return oM(e.getBody(),t.dom)})).getOr("")},dM=function(e,t){e.formatter.toggle("fontsize",{value:cM(e,t)}),e.nodeChanged()},mM=function(e){return uM(e,(function(t){return rM(e.getBody(),t.dom)})).getOr("")},pM=function(e){return uM(e,(function(t){var n=vn.fromDom(e.getBody()),r=Yx(t,(function(e){return yo(e,"line-height")}),b(_n,n)),o=function(){var e=parseFloat(vo(t,"line-height")),n=parseFloat(vo(t,"font-size"));return String(e/n)};return r.getOrThunk(o)})).getOr("")},gM=function(e,t){e.undoManager.transact((function(){e.formatter.toggle("lineheight",{value:String(t)}),e.nodeChanged()}))},hM=function(e){var t;return"string"!==typeof e?(t=fn.extend({paste:e.paste,data:{paste:e.paste}},e),{content:e.content,details:t}):{content:e,details:{}}},vM=function(e,t){var n=hM(t);kN(e,n.content,n.details)},bM=fn.each,yM=fn.map,CM=fn.inArray,wM=function(){function e(e){this.commands={state:{},exec:{},value:{}},this.editor=e,this.setupCommands(e)}return e.prototype.execCommand=function(e,t,n,r){var o,i=!1,a=this;if(!a.editor.removed){if(/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint)$/.test(e)||r&&r.skip_focus?kb(a.editor):a.editor.focus(),r=a.editor.fire("BeforeExecCommand",{command:e,ui:t,value:n}),r.isDefaultPrevented())return!1;var u=e.toLowerCase();if(o=a.commands.exec[u])return o(u,t,n),a.editor.fire("ExecCommand",{command:e,ui:t,value:n}),!0;if(bM(this.editor.plugins,(function(r){if(r.execCommand&&r.execCommand(e,t,n))return a.editor.fire("ExecCommand",{command:e,ui:t,value:n}),i=!0,!1})),i)return i;if(a.editor.theme&&a.editor.theme.execCommand&&a.editor.theme.execCommand(e,t,n))return a.editor.fire("ExecCommand",{command:e,ui:t,value:n}),!0;try{i=a.editor.getDoc().execCommand(e,t,n)}catch(c){}return!!i&&(a.editor.fire("ExecCommand",{command:e,ui:t,value:n}),!0)}},e.prototype.queryCommandState=function(e){var t;if(!this.editor.quirks.isHidden()&&!this.editor.removed){if(e=e.toLowerCase(),t=this.commands.state[e])return t(e);try{return this.editor.getDoc().queryCommandState(e)}catch(n){}return!1}},e.prototype.queryCommandValue=function(e){var t;if(!this.editor.quirks.isHidden()&&!this.editor.removed){if(e=e.toLowerCase(),t=this.commands.value[e])return t(e);try{return this.editor.getDoc().queryCommandValue(e)}catch(n){}}},e.prototype.addCommands=function(e,t){void 0===t&&(t="exec");var n=this;bM(e,(function(e,r){bM(r.toLowerCase().split(","),(function(r){n.commands[t][r]=e}))}))},e.prototype.addCommand=function(e,t,n){var r=this;e=e.toLowerCase(),this.commands.exec[e]=function(e,o,i,a){return t.call(n||r.editor,o,i,a)}},e.prototype.queryCommandSupported=function(e){if(e=e.toLowerCase(),this.commands.exec[e])return!0;try{return this.editor.getDoc().queryCommandSupported(e)}catch(t){}return!1},e.prototype.addQueryStateHandler=function(e,t,n){var r=this;e=e.toLowerCase(),this.commands.state[e]=function(){return t.call(n||r.editor)}},e.prototype.addQueryValueHandler=function(e,t,n){var r=this;e=e.toLowerCase(),this.commands.value[e]=function(){return t.call(n||r.editor)}},e.prototype.hasCustomCommand=function(e){return e=e.toLowerCase(),!!this.commands.exec[e]},e.prototype.execNativeCommand=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=null),this.editor.getDoc().execCommand(e,t,n)},e.prototype.isFormatMatch=function(e){return this.editor.formatter.match(e)},e.prototype.toggleFormat=function(e,t){this.editor.formatter.toggle(e,t?{value:t}:void 0),this.editor.nodeChanged()},e.prototype.storeSelection=function(e){this.selectionBookmark=this.editor.selection.getBookmark(e)},e.prototype.restoreSelection=function(){this.editor.selection.moveToBookmark(this.selectionBookmark)},e.prototype.setupCommands=function(e){var t=this;this.addCommands({"mceResetDesignMode,mceBeginUndoLevel":m,"mceEndUndoLevel,mceAddUndoLevel":function(){e.undoManager.add()},"Cut,Copy,Paste":function(n){var r,o=e.getDoc();try{t.execNativeCommand(n)}catch(a){r=!0}if("paste"!==n||o.queryCommandEnabled(n)||(r=!0),r||!o.queryCommandSupported(n)){var i=e.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");Zt.mac&&(i=i.replace(/Ctrl\+/g,"⌘+")),e.notificationManager.open({text:i,type:"error"})}},unlink:function(){if(e.selection.isCollapsed()){var t=e.dom.getParent(e.selection.getStart(),"a");t&&e.dom.remove(t,!0)}else e.formatter.remove("link")},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,JustifyNone":function(n){var r=n.substring(7);"full"===r&&(r="justify"),bM("left,center,right,justify".split(","),(function(t){r!==t&&e.formatter.remove("align"+t)})),"none"!==r&&t.toggleFormat("align"+r)},"InsertUnorderedList,InsertOrderedList":function(n){var r;t.execNativeCommand(n);var o=e.dom.getParent(e.selection.getNode(),"ol,ul");o&&(r=o.parentNode,/^(H[1-6]|P|ADDRESS|PRE)$/.test(r.nodeName)&&(t.storeSelection(),e.dom.split(r,o),t.restoreSelection()))},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){t.toggleFormat(e)},"ForeColor,HiliteColor":function(e,n,r){t.toggleFormat(e,r)},FontName:function(t,n,r){lM(e,r)},FontSize:function(t,n,r){dM(e,r)},LineHeight:function(t,n,r){gM(e,r)},RemoveFormat:function(t){e.formatter.remove(t)},mceBlockQuote:function(){t.toggleFormat("blockquote")},FormatBlock:function(e,n,r){return t.toggleFormat(r||"p")},mceCleanup:function(){var t=e.selection.getBookmark();e.setContent(e.getContent()),e.selection.moveToBookmark(t)},mceRemoveNode:function(n,r,o){var i=o||e.selection.getNode();i!==e.getBody()&&(t.storeSelection(),e.dom.remove(i,!0),t.restoreSelection())},mceSelectNodeDepth:function(t,n,r){var o=0;e.dom.getParent(e.selection.getNode(),(function(t){if(1===t.nodeType&&o++===r)return e.selection.select(t),!1}),e.getBody())},mceSelectNode:function(t,n,r){e.selection.select(r)},mceInsertContent:function(t,n,r){vM(e,r)},mceInsertRawHTML:function(t,n,r){e.selection.setContent("tiny_mce_marker");var o=e.getContent();e.setContent(o.replace(/tiny_mce_marker/g,(function(){return r})))},mceInsertNewLine:function(t,n,r){ZL(e,r)},mceToggleFormat:function(e,n,r){t.toggleFormat(r)},mceSetContent:function(t,n,r){e.setContent(r)},"Indent,Outdent":function(t){SP(e,t)},mceRepaint:m,InsertHorizontalRule:function(){e.execCommand("mceInsertContent",!1,"<hr />")},mceToggleVisualAid:function(){e.hasVisual=!e.hasVisual,e.addVisual()},mceReplaceContent:function(t,n,r){e.execCommand("mceInsertContent",!1,r.replace(/\{\$selection\}/g,e.selection.getContent({format:"text"})))},mceInsertLink:function(t,n,r){"string"===typeof r&&(r={href:r});var o=e.dom.getParent(e.selection.getNode(),"a");r.href=r.href.replace(/ /g,"%20"),o&&r.href||e.formatter.remove("link"),r.href&&e.formatter.apply("link",r,o)},selectAll:function(){var t=e.dom.getParent(e.selection.getStart(),to);if(t){var n=e.dom.createRng();n.selectNodeContents(t),e.selection.setRng(n)}},mceNewDocument:function(){e.setContent("")},InsertLineBreak:function(t,n,r){return OL(e,r),!0}});var n=function(t){return function(){var n=e.selection,r=n.isCollapsed()?[e.dom.getParent(n.getNode(),e.dom.isBlock)]:n.getSelectedBlocks(),o=yM(r,(function(n){return!!e.formatter.matchNode(n,t)}));return-1!==CM(o,!0)}};t.addCommands({JustifyLeft:n("alignleft"),JustifyCenter:n("aligncenter"),JustifyRight:n("alignright"),JustifyFull:n("alignjustify"),"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){return t.isFormatMatch(e)},mceBlockQuote:function(){return t.isFormatMatch("blockquote")},Outdent:function(){return CP(e)},"InsertUnorderedList,InsertOrderedList":function(t){var n=e.dom.getParent(e.selection.getNode(),"ul,ol");return n&&("insertunorderedlist"===t&&"UL"===n.tagName||"insertorderedlist"===t&&"OL"===n.tagName)}},"state"),t.addCommands({Undo:function(){e.undoManager.undo()},Redo:function(){e.undoManager.redo()}}),t.addQueryValueHandler("FontName",(function(){return fM(e)}),this),t.addQueryValueHandler("FontSize",(function(){return mM(e)}),this),t.addQueryValueHandler("LineHeight",(function(){return pM(e)}),this)},e}(),xM="data-mce-contenteditable",kM=function(e,t,n){fl(e,t)&&!1===n?ll(e,t):n&&cl(e,t)},SM=function(e,t,n){try{e.getDoc().execCommand(t,!1,String(n))}catch(r){}},EM=function(e,t){e.dom.contentEditable=t?"true":"false"},NM=function(e){J(ml(e,'*[contenteditable="true"]'),(function(e){uo(e,xM,"true"),EM(e,!1)}))},TM=function(e){J(ml(e,"*["+xM+'="true"]'),(function(e){mo(e,xM),EM(e,!0)}))},AM=function(e){R.from(e.selection.getNode()).each((function(e){e.removeAttribute("data-mce-selected")}))},RM=function(e){e.selection.setRng(e.selection.getRng())},_M=function(e,t){var n=vn.fromDom(e.getBody());kM(n,"mce-content-readonly",t),t?(e.selection.controlSelection.hideResizeRect(),e._selectionOverrides.hideFakeCaret(),AM(e),e.readonly=!0,EM(n,!1),NM(n)):(e.readonly=!1,EM(n,!0),TM(n),SM(e,"StyleWithCSS",!1),SM(e,"enableInlineTableEditing",!1),SM(e,"enableObjectResizing",!1),Yb(e)&&e.focus(),RM(e),e.nodeChanged())},DM=function(e){return e.readonly},PM=function(e){e.parser.addAttributeFilter("contenteditable",(function(t){DM(e)&&J(t,(function(e){e.attr(xM,e.attr("contenteditable")),e.attr("contenteditable","false")}))})),e.serializer.addAttributeFilter(xM,(function(t){DM(e)&&J(t,(function(e){e.attr("contenteditable",e.attr(xM))}))})),e.serializer.addTempAttr(xM)},BM=function(e){e.serializer?PM(e):e.on("PreInit",(function(){PM(e)}))},OM=function(e){return"click"===e.type},LM=function(e,t){var n=function(t){return _n(t,vn.fromDom(e.getBody()))};return yi(t,"a",n).bind((function(e){return lo(e,"href")}))},IM=function(e,t){if(OM(t)&&!Mh.metaKeyPressed(t)){var n=vn.fromDom(t.target);LM(e,n).each((function(n){if(t.preventDefault(),/^#/.test(n)){var r=e.dom.select(n+',[name="'+at(n,"#")+'"]');r.length&&e.selection.scrollIntoView(r[0],!0)}else window.open(n,"_blank","rel=noopener noreferrer,menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes,scrollbars=yes")}))}},FM=function(e){e.on("ShowCaret",(function(t){DM(e)&&t.preventDefault()})),e.on("ObjectSelected",(function(t){DM(e)&&t.preventDefault()}))},MM=fn.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input beforeinput contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchmove touchend touchcancel"," "),zM=function(){function e(e){this.bindings={},this.settings=e||{},this.scope=this.settings.scope||this,this.toggleEvent=this.settings.toggleEvent||k}return e.isNative=function(e){return!!MM[e.toLowerCase()]},e.prototype.fire=function(e,t){var n=e.toLowerCase(),r=t||{};r.type=n,r.target||(r.target=this.scope),r.preventDefault||(r.preventDefault=function(){r.isDefaultPrevented=S},r.stopPropagation=function(){r.isPropagationStopped=S},r.stopImmediatePropagation=function(){r.isImmediatePropagationStopped=S},r.isDefaultPrevented=k,r.isPropagationStopped=k,r.isImmediatePropagationStopped=k),this.settings.beforeFire&&this.settings.beforeFire(r);var o=this.bindings[n];if(o)for(var i=0,a=o.length;i<a;i++){var u=o[i];if(u.once&&this.off(n,u.func),r.isImmediatePropagationStopped())return r.stopPropagation(),r;if(!1===u.func.call(this.scope,r))return r.preventDefault(),r}return r},e.prototype.on=function(e,t,n,r){if(!1===t&&(t=k),t){var o={func:t};r&&fn.extend(o,r);var i=e.toLowerCase().split(" "),a=i.length;while(a--){var u=i[a],c=this.bindings[u];c||(c=this.bindings[u]=[],this.toggleEvent(u,!0)),n?c.unshift(o):c.push(o)}}return this},e.prototype.off=function(e,t){var n=this;if(e){var r=e.toLowerCase().split(" "),o=r.length;while(o--){var i=r[o],a=this.bindings[i];if(!i)return we(this.bindings,(function(e,t){n.toggleEvent(t,!1),delete n.bindings[t]})),this;if(a){if(t){var u=a.length;while(u--)a[u].func===t&&(a=a.slice(0,u).concat(a.slice(u+1)),this.bindings[i]=a)}else a.length=0;a.length||(this.toggleEvent(e,!1),delete this.bindings[i])}}}else we(this.bindings,(function(e,t){n.toggleEvent(t,!1)})),this.bindings={};return this},e.prototype.once=function(e,t,n){return this.on(e,t,n,{once:!0})},e.prototype.has=function(e){return e=e.toLowerCase(),!(!this.bindings[e]||0===this.bindings[e].length)},e}(),UM=function(e){return e._eventDispatcher||(e._eventDispatcher=new zM({scope:e,toggleEvent:function(t,n){zM.isNative(t)&&e.toggleNativeEvent&&e.toggleNativeEvent(t,n)}})),e._eventDispatcher},HM={fire:function(e,t,n){var r=this;if(r.removed&&"remove"!==e&&"detach"!==e)return t;var o=UM(r).fire(e,t);if(!1!==n&&r.parent){var i=r.parent();while(i&&!o.isPropagationStopped())i.fire(e,o,!1),i=i.parent()}return o},on:function(e,t,n){return UM(this).on(e,t,n)},off:function(e,t){return UM(this).off(e,t)},once:function(e,t){return UM(this).once(e,t)},hasEventListeners:function(e){return UM(this).has(e)}},jM=Rs.DOM,VM=function(e,t){if("selectionchange"===t)return e.getDoc();if(!e.inline&&/^mouse|touch|click|contextmenu|drop|dragover|dragend/.test(t))return e.getDoc().documentElement;var n=Vd(e);return n?(e.eventRoot||(e.eventRoot=jM.select(n)[0]),e.eventRoot):e.getBody()},qM=function(e){return!e.hidden&&!DM(e)},$M=function(e,t,n){qM(e)?e.fire(t,n):DM(e)&&IM(e,n)},WM=function(e,t){var n;if(e.delegates||(e.delegates={}),!e.delegates[t]&&!e.removed){var r=VM(e,t);if(Vd(e)){if(lB||(lB={},e.editorManager.on("removeEditor",(function(){e.editorManager.activeEditor||lB&&(we(lB,(function(t,n){e.dom.unbind(VM(e,n))})),lB=null)}))),lB[t])return;n=function(n){var r=n.target,o=e.editorManager.get(),i=o.length;while(i--){var a=o[i].getBody();(a===r||jM.isChildOf(r,a))&&$M(o[i],t,n)}},lB[t]=n,jM.bind(r,t,n)}else n=function(n){$M(e,t,n)},jM.bind(r,t,n),e.delegates[t]=n}},KM=Ve(Ve({},HM),{bindPendingEventDelegates:function(){var e=this;fn.each(e._pendingNativeEvents,(function(t){WM(e,t)}))},toggleNativeEvent:function(e,t){var n=this;"focus"!==e&&"blur"!==e&&(t?n.initialized?WM(n,e):n._pendingNativeEvents?n._pendingNativeEvents.push(e):n._pendingNativeEvents=[e]:n.initialized&&(n.dom.unbind(VM(n,e),e,n.delegates[e]),delete n.delegates[e]))},unbindAllNativeEvents:function(){var e=this,t=e.getBody(),n=e.dom;e.delegates&&(we(e.delegates,(function(t,n){e.dom.unbind(VM(e,n),n,t)})),delete e.delegates),!e.inline&&t&&n&&(t.onload=null,n.unbind(e.getWin()),n.unbind(e.getDoc())),n&&(n.unbind(t),n.unbind(e.getContainer()))}}),GM=["design","readonly"],XM=function(e,t,n,r){var o=n[t.get()],i=n[r];try{i.activate()}catch(hU){return void console.error("problem while activating editor mode "+r+":",hU)}o.deactivate(),o.editorReadOnly!==i.editorReadOnly&&_M(e,i.editorReadOnly),t.set(r),_h(e,r)},YM=function(e,t,n,r){if(r!==n.get()){if(!De(t,r))throw new Error("Editor mode '"+r+"' is invalid");e.initialized?XM(e,n,t,r):e.on("init",(function(){return XM(e,n,t,r)}))}},ZM=function(e,t,n){var r;if(X(GM,t))throw new Error("Cannot override default mode "+t);return Ve(Ve({},e),(r={},r[t]=Ve(Ve({},n),{deactivate:function(){try{n.deactivate()}catch(hU){console.error("problem while deactivating editor mode "+t+":",hU)}}}),r))},JM=function(e){var t=Ms("design"),n=Ms({design:{activate:m,deactivate:m,editorReadOnly:!1},readonly:{activate:m,deactivate:m,editorReadOnly:!0}});return BM(e),FM(e),{isReadOnly:function(){return DM(e)},set:function(r){return YM(e,n.get(),t,r)},get:function(){return t.get()},register:function(e,t){n.set(ZM(n.get(),e,t))}}},QM=fn.each,ez=fn.explode,tz={f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123},nz=fn.makeMap("alt,ctrl,shift,meta,access"),rz=function(e){var t,n={};QM(ez(e.toLowerCase(),"+"),(function(e){e in nz?n[e]=!0:/^[0-9]{2,}$/.test(e)?n.keyCode=parseInt(e,10):(n.charCode=e.charCodeAt(0),n.keyCode=tz[e]||e.toUpperCase().charCodeAt(0))}));var r=[n.keyCode];for(t in nz)n[t]?r.push(t):n[t]=!1;return n.id=r.join(","),n.access&&(n.alt=!0,Zt.mac?n.ctrl=!0:n.shift=!0),n.meta&&(Zt.mac?n.meta=!0:(n.ctrl=!0,n.meta=!1)),n},oz=function(){function e(e){this.shortcuts={},this.pendingPatterns=[],this.editor=e;var t=this;e.on("keyup keypress keydown",(function(e){!t.hasModifier(e)&&!t.isFunctionKey(e)||e.isDefaultPrevented()||(QM(t.shortcuts,(function(n){if(t.matchShortcut(e,n))return t.pendingPatterns=n.subpatterns.slice(0),"keydown"===e.type&&t.executeShortcutAction(n),!0})),t.matchShortcut(e,t.pendingPatterns[0])&&(1===t.pendingPatterns.length&&"keydown"===e.type&&t.executeShortcutAction(t.pendingPatterns[0]),t.pendingPatterns.shift()))}))}return e.prototype.add=function(e,t,n,r){var o=this,i=o.normalizeCommandFunc(n);return QM(ez(fn.trim(e)),(function(e){var n=o.createShortcut(e,t,i,r);o.shortcuts[n.id]=n})),!0},e.prototype.remove=function(e){var t=this.createShortcut(e);return!!this.shortcuts[t.id]&&(delete this.shortcuts[t.id],!0)},e.prototype.normalizeCommandFunc=function(e){var t=this,n=e;return"string"===typeof n?function(){t.editor.execCommand(n,!1,null)}:fn.isArray(n)?function(){t.editor.execCommand(n[0],n[1],n[2])}:n},e.prototype.createShortcut=function(e,t,n,r){var o=fn.map(ez(e,">"),rz);return o[o.length-1]=fn.extend(o[o.length-1],{func:n,scope:r||this.editor}),fn.extend(o[0],{desc:this.editor.translate(t),subpatterns:o.slice(1)})},e.prototype.hasModifier=function(e){return e.altKey||e.ctrlKey||e.metaKey},e.prototype.isFunctionKey=function(e){return"keydown"===e.type&&e.keyCode>=112&&e.keyCode<=123},e.prototype.matchShortcut=function(e,t){return!!t&&(t.ctrl===e.ctrlKey&&t.meta===e.metaKey&&(t.alt===e.altKey&&t.shift===e.shiftKey&&(!!(e.keyCode===t.keyCode||e.charCode&&e.charCode===t.charCode)&&(e.preventDefault(),!0))))},e.prototype.executeShortcutAction=function(e){return e.func?e.func.call(e.scope):null},e}(),iz=function(){var e={},t={},n={},r={},o={},i={},a={},u=function(e,t){return function(n,r){return e[n.toLowerCase()]=Ve(Ve({},r),{type:t})}},c=function(e,t){return r[e.toLowerCase()]=t};return{addButton:u(e,"button"),addGroupToolbarButton:u(e,"grouptoolbarbutton"),addToggleButton:u(e,"togglebutton"),addMenuButton:u(e,"menubutton"),addSplitButton:u(e,"splitbutton"),addMenuItem:u(t,"menuitem"),addNestedMenuItem:u(t,"nestedmenuitem"),addToggleMenuItem:u(t,"togglemenuitem"),addAutocompleter:u(n,"autocompleter"),addContextMenu:u(o,"contextmenu"),addContextToolbar:u(i,"contexttoolbar"),addContextForm:u(i,"contextform"),addSidebar:u(a,"sidebar"),addIcon:c,getAll:function(){return{buttons:e,menuItems:t,icons:r,popups:n,contextMenus:o,contextToolbars:i,sidebars:a}}}},az=function(){var e=iz();return{addAutocompleter:e.addAutocompleter,addButton:e.addButton,addContextForm:e.addContextForm,addContextMenu:e.addContextMenu,addContextToolbar:e.addContextToolbar,addIcon:e.addIcon,addMenuButton:e.addMenuButton,addMenuItem:e.addMenuItem,addNestedMenuItem:e.addNestedMenuItem,addSidebar:e.addSidebar,addSplitButton:e.addSplitButton,addToggleButton:e.addToggleButton,addGroupToolbarButton:e.addGroupToolbarButton,addToggleMenuItem:e.addToggleMenuItem,getAll:e.getAll}},uz=fn.each,cz=fn.trim,sz="source protocol authority userInfo user password host port relative path directory file query anchor".split(" "),lz={ftp:21,http:80,https:443,mailto:25},fz=function(){function e(t,n){t=cz(t),this.settings=n||{};var r=this.settings.base_uri,o=this;if(/^([\w\-]+):([^\/]{2})/i.test(t)||/^\s*#/.test(t))o.source=t;else{var i=0===t.indexOf("//");if(0!==t.indexOf("/")||i||(t=(r&&r.protocol||"http")+"://mce_host"+t),!/^[\w\-]*:?\/\//.test(t)){var a=this.settings.base_uri?this.settings.base_uri.path:new e(document.location.href).directory;if(this.settings.base_uri&&""==this.settings.base_uri.protocol)t="//mce_host"+o.toAbsPath(a,t);else{var u=/([^#?]*)([#?]?.*)/.exec(t);t=(r&&r.protocol||"http")+"://mce_host"+o.toAbsPath(a,u[1])+u[2]}}t=t.replace(/@@/g,"(mce_at)");var c=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?(\[[a-zA-Z0-9:.%]+\]|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(t);uz(sz,(function(e,t){var n=c[t];n&&(n=n.replace(/\(mce_at\)/g,"@@")),o[e]=n})),r&&(o.protocol||(o.protocol=r.protocol),o.userInfo||(o.userInfo=r.userInfo),o.port||"mce_host"!==o.host||(o.port=r.port),o.host&&"mce_host"!==o.host||(o.host=r.host),o.source=""),i&&(o.protocol="")}}return e.parseDataUri=function(e){var t,n=decodeURIComponent(e).split(","),r=/data:([^;]+)/.exec(n[0]);return r&&(t=r[1]),{type:t,data:n[1]}},e.getDocumentBaseUrl=function(e){var t;return t=0!==e.protocol.indexOf("http")&&"file:"!==e.protocol?e.href:e.protocol+"//"+e.host+e.pathname,/^[^:]+:\/\/\/?[^\/]+\//.test(t)&&(t=t.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(t)||(t+="/")),t},e.prototype.setPath=function(e){var t=/^(.*?)\/?(\w+)?$/.exec(e);this.path=t[0],this.directory=t[1],this.file=t[2],this.source="",this.getURI()},e.prototype.toRelative=function(t){var n;if("./"===t)return t;var r=new e(t,{base_uri:this});if("mce_host"!==r.host&&this.host!==r.host&&r.host||this.port!==r.port||this.protocol!==r.protocol&&""!==r.protocol)return r.getURI();var o=this.getURI(),i=r.getURI();return o===i||"/"===o.charAt(o.length-1)&&o.substr(0,o.length-1)===i?o:(n=this.toRelPath(this.path,r.path),r.query&&(n+="?"+r.query),r.anchor&&(n+="#"+r.anchor),n)},e.prototype.toAbsolute=function(t,n){var r=new e(t,{base_uri:this});return r.getURI(n&&this.isSameOrigin(r))},e.prototype.isSameOrigin=function(e){if(this.host==e.host&&this.protocol==e.protocol){if(this.port==e.port)return!0;var t=lz[this.protocol];if(t&&(this.port||t)==(e.port||t))return!0}return!1},e.prototype.toRelPath=function(e,t){var n,r,o=0,i="",a=e.substring(0,e.lastIndexOf("/")).split("/"),u=t.split("/");if(a.length>=u.length)for(n=0,r=a.length;n<r;n++)if(n>=u.length||a[n]!==u[n]){o=n+1;break}if(a.length<u.length)for(n=0,r=u.length;n<r;n++)if(n>=a.length||a[n]!==u[n]){o=n+1;break}if(1===o)return t;for(n=0,r=a.length-(o-1);n<r;n++)i+="../";for(n=o-1,r=u.length;n<r;n++)i+=n!==o-1?"/"+u[n]:u[n];return i},e.prototype.toAbsPath=function(e,t){var n,r,o=0,i=[],a=/\/$/.test(t)?"/":"",u=e.split("/"),c=t.split("/");for(uz(u,(function(e){e&&i.push(e)})),u=i,n=c.length-1,i=[];n>=0;n--)0!==c[n].length&&"."!==c[n]&&(".."!==c[n]?o>0?o--:i.push(c[n]):o++);return n=u.length-o,r=n<=0?le(i).join("/"):u.slice(0,n).join("/")+"/"+le(i).join("/"),0!==r.indexOf("/")&&(r="/"+r),a&&r.lastIndexOf("/")!==r.length-1&&(r+=a),r},e.prototype.getURI=function(e){var t;return void 0===e&&(e=!1),this.source&&!e||(t="",e||(this.protocol?t+=this.protocol+"://":t+="//",this.userInfo&&(t+=this.userInfo+"@"),this.host&&(t+=this.host),this.port&&(t+=":"+this.port)),this.path&&(t+=this.path),this.query&&(t+="?"+this.query),this.anchor&&(t+="#"+this.anchor),this.source=t),this.source},e}(),dz=Rs.DOM,mz=fn.extend,pz=fn.each,gz=fn.resolve,hz=Zt.ie,vz=function(){function e(e,t,n){var r=this;this.plugins={},this.contentCSS=[],this.contentStyles=[],this.loadedCSS={},this.isNotDirty=!1,this.editorManager=n,this.documentBaseUrl=n.documentBaseURL,mz(this,KM),this.settings=hA(this,e,this.documentBaseUrl,n.defaultSettings,t),this.settings.suffix&&(n.suffix=this.settings.suffix),this.suffix=n.suffix,this.settings.base_url&&n._setBaseUrl(this.settings.base_url),this.baseUri=n.baseURI,this.settings.referrer_policy&&(Fs.ScriptLoader._setReferrerPolicy(this.settings.referrer_policy),Rs.DOM.styleSheetLoader._setReferrerPolicy(this.settings.referrer_policy)),Js.languageLoad=this.settings.language_load,Js.baseURL=n.baseURL,this.id=e,this.setDirty(!1),this.documentBaseURI=new fz(this.settings.document_base_url,{base_uri:this.baseUri}),this.baseURI=this.baseUri,this.inline=!!this.settings.inline,this.shortcuts=new oz(this),this.editorCommands=new wM(this),this.settings.cache_suffix&&(Zt.cacheSuffix=this.settings.cache_suffix.replace(/^[\?\&]+/,"")),this.ui={registry:az(),styleSheetLoader:void 0,show:m,hide:m,enable:m,disable:m,isDisabled:k};var o=this,i=JM(o);this.mode=i,this.setMode=i.set,n.fire("SetupEditor",{editor:this}),this.execCallback("setup",this),this.$=ws.overrideDefaults((function(){return{context:r.inline?r.getBody():r.getDoc(),element:r.getBody()}}))}return e.prototype.render=function(){YF(this)},e.prototype.focus=function(e){Qb(this,e)},e.prototype.hasFocus=function(){return Xb(this)},e.prototype.execCallback=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r,o=this,i=o.settings[e];if(i)return o.callbackLookup&&(r=o.callbackLookup[e])&&(i=r.func,r=r.scope),"string"===typeof i&&(r=i.replace(/\.\w+$/,""),r=r?gz(r):0,i=gz(i),o.callbackLookup=o.callbackLookup||{},o.callbackLookup[e]={func:i,scope:r}),i.apply(r||o,t)},e.prototype.translate=function(e){return Zs.translate(e)},e.prototype.getParam=function(e,t,n){return CA(this,e,t,n)},e.prototype.hasPlugin=function(e,t){var n=X(lm(this).split(/[ ,]/),e);return!!n&&(!t||void 0!==FA.get(e))},e.prototype.nodeChanged=function(e){this._nodeChangeDispatcher.nodeChanged(e)},e.prototype.addCommand=function(e,t,n){this.editorCommands.addCommand(e,t,n)},e.prototype.addQueryStateHandler=function(e,t,n){this.editorCommands.addQueryStateHandler(e,t,n)},e.prototype.addQueryValueHandler=function(e,t,n){this.editorCommands.addQueryValueHandler(e,t,n)},e.prototype.addShortcut=function(e,t,n,r){this.shortcuts.add(e,t,n,r)},e.prototype.execCommand=function(e,t,n,r){return this.editorCommands.execCommand(e,t,n,r)},e.prototype.queryCommandState=function(e){return this.editorCommands.queryCommandState(e)},e.prototype.queryCommandValue=function(e){return this.editorCommands.queryCommandValue(e)},e.prototype.queryCommandSupported=function(e){return this.editorCommands.queryCommandSupported(e)},e.prototype.show=function(){var e=this;e.hidden&&(e.hidden=!1,e.inline?e.getBody().contentEditable="true":(dz.show(e.getContainer()),dz.hide(e.id)),e.load(),e.fire("show"))},e.prototype.hide=function(){var e=this,t=e.getDoc();e.hidden||(hz&&t&&!e.inline&&t.execCommand("SelectAll"),e.save(),e.inline?(e.getBody().contentEditable="false",e===e.editorManager.focusedEditor&&(e.editorManager.focusedEditor=null)):(dz.hide(e.getContainer()),dz.setStyle(e.id,"display",e.orgDisplay)),e.hidden=!0,e.fire("hide"))},e.prototype.isHidden=function(){return!!this.hidden},e.prototype.setProgressState=function(e,t){this.fire("ProgressState",{state:e,time:t})},e.prototype.load=function(e){var t,n=this,r=n.getElement();if(n.removed)return"";if(r){e=e||{},e.load=!0;var o=Gr(r)?r.value:r.innerHTML;return t=n.setContent(o,e),e.element=r,e.no_events||n.fire("LoadContent",e),e.element=r=null,t}},e.prototype.save=function(e){var t,n,r=this,o=r.getElement();if(o&&r.initialized&&!r.removed)return e=e||{},e.save=!0,e.element=o,t=e.content=r.getContent(e),e.no_events||r.fire("SaveContent",e),"raw"===e.format&&r.fire("RawSaveContent",e),t=e.content,Gr(o)?o.value=t:(!e.is_removing&&r.inline||(o.innerHTML=t),(n=dz.getParent(r.id,"form"))&&pz(n.elements,(function(e){if(e.name===r.id)return e.value=t,!1}))),e.element=o=null,!1!==e.set_dirty&&r.setDirty(!1),t},e.prototype.setContent=function(e,t){return LT(this,e,t)},e.prototype.getContent=function(e){return OT(this,e)},e.prototype.insertContent=function(e,t){t&&(e=mz({content:e},t)),this.execCommand("mceInsertContent",!1,e)},e.prototype.resetContent=function(e){void 0===e?LT(this,this.startContent,{format:"raw"}):LT(this,e),this.undoManager.reset(),this.setDirty(!1),this.nodeChanged()},e.prototype.isDirty=function(){return!this.isNotDirty},e.prototype.setDirty=function(e){var t=!this.isNotDirty;this.isNotDirty=!e,e&&e!==t&&this.fire("dirty")},e.prototype.getContainer=function(){var e=this;return e.container||(e.container=dz.get(e.editorContainer||e.id+"_parent")),e.container},e.prototype.getContentAreaContainer=function(){return this.contentAreaContainer},e.prototype.getElement=function(){return this.targetElm||(this.targetElm=dz.get(this.id)),this.targetElm},e.prototype.getWin=function(){var e,t=this;return t.contentWindow||(e=t.iframeElement,e&&(t.contentWindow=e.contentWindow)),t.contentWindow},e.prototype.getDoc=function(){var e,t=this;return t.contentDocument||(e=t.getWin(),e&&(t.contentDocument=e.document)),t.contentDocument},e.prototype.getBody=function(){var e=this.getDoc();return this.bodyElement||(e?e.body:null)},e.prototype.convertURL=function(e,t,n){var r=this,o=r.settings;return o.urlconverter_callback?r.execCallback("urlconverter_callback",e,n,!0,t):!o.convert_urls||n&&"LINK"===n.nodeName||0===e.indexOf("file:")||0===e.length?e:o.relative_urls?r.documentBaseURI.toRelative(e):(e=r.documentBaseURI.toAbsolute(e,o.remove_script_host),e)},e.prototype.addVisual=function(e){ZF(this,e)},e.prototype.remove=function(){HT(this)},e.prototype.destroy=function(e){jT(this,e)},e.prototype.uploadImages=function(e){return this.editorUpload.uploadImages(e)},e.prototype._scanForImages=function(){return this.editorUpload.scanForImages()},e.prototype.addButton=function(){throw new Error("editor.addButton has been removed in tinymce 5x, use editor.ui.registry.addButton or editor.ui.registry.addToggleButton or editor.ui.registry.addSplitButton instead")},e.prototype.addSidebar=function(){throw new Error("editor.addSidebar has been removed in tinymce 5x, use editor.ui.registry.addSidebar instead")},e.prototype.addMenuItem=function(){throw new Error("editor.addMenuItem has been removed in tinymce 5x, use editor.ui.registry.addMenuItem instead")},e.prototype.addContextToolbar=function(){throw new Error("editor.addContextToolbar has been removed in tinymce 5x, use editor.ui.registry.addContextToolbar instead")},e}(),bz=Rs.DOM,yz=fn.explode,Cz=fn.each,wz=fn.extend,xz=0,kz=!1,Sz=[],Ez=[],Nz=function(e){return"length"!==e},Tz=function(e){var t=e.type;Cz(Pz.get(),(function(n){switch(t){case"scroll":n.fire("ScrollWindow",e);break;case"resize":n.fire("ResizeWindow",e);break}}))},Az=function(e){e!==kz&&(e?ws(window).on("resize scroll",Tz):ws(window).off("resize scroll",Tz),kz=e)},Rz=function(e){var t=Ez;delete Sz[e.id];for(var n=0;n<Sz.length;n++)if(Sz[n]===e){Sz.splice(n,1);break}return Ez=te(Ez,(function(t){return e!==t})),Pz.activeEditor===e&&(Pz.activeEditor=Ez.length>0?Ez[0]:null),Pz.focusedEditor===e&&(Pz.focusedEditor=null),t.length!==Ez.length},_z=function(e){return e&&e.initialized&&!(e.getContainer()||e.getBody()).parentNode&&(Rz(e),e.unbindAllNativeEvents(),e.destroy(!0),e.removed=!0,e=null),e},Dz="CSS1Compat"!==document.compatMode,Pz=Ve(Ve({},HM),{baseURI:null,baseURL:null,defaultSettings:{},documentBaseURL:null,suffix:null,$:ws,majorVersion:"5",minorVersion:"7.0",releaseDate:"2021-02-10",editors:Sz,i18n:Zs,activeEditor:null,focusedEditor:null,settings:{},setup:function(){var e,t,n=this,r="";t=fz.getDocumentBaseUrl(document.location),/^[^:]+:\/\/\/?[^\/]+\//.test(t)&&(t=t.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(t)||(t+="/"));var o=window.tinymce||window.tinyMCEPreInit;if(o)e=o.base||o.baseURL,r=o.suffix;else{for(var i=document.getElementsByTagName("script"),a=0;a<i.length;a++){var u=i[a].src||"";if(""!==u){var c=u.substring(u.lastIndexOf("/"));if(/tinymce(\.full|\.jquery|)(\.min|\.dev|)\.js/.test(u)){-1!==c.indexOf(".min")&&(r=".min"),e=u.substring(0,u.lastIndexOf("/"));break}}}if(!e&&document.currentScript){u=document.currentScript.src;-1!==u.indexOf(".min")&&(r=".min"),e=u.substring(0,u.lastIndexOf("/"))}}n.baseURL=new fz(t).toAbsolute(e),n.documentBaseURL=t,n.baseURI=new fz(n.baseURL),n.suffix=r,zb(n)},overrideDefaults:function(e){var t=e.base_url;t&&this._setBaseUrl(t);var n=e.suffix;e.suffix&&(this.suffix=n),this.defaultSettings=e;var r=e.plugin_base_urls;void 0!==r&&we(r,(function(e,t){Js.PluginManager.urls[t]=e}))},init:function(e){var t,n=this,r=fn.makeMap("area base basefont br col frame hr img input isindex link meta param embed source wbr track colgroup option table tbody tfoot thead tr th td script noscript style textarea video audio iframe object menu"," "),o=function(e,t){return e.inline&&t.tagName.toLowerCase()in r},i=function(e){var t=e.id;return t||(t=_e(e,"name").filter((function(e){return!bz.get(e)})).getOrThunk(bz.uniqueId),e.setAttribute("id",t)),t},a=function(t){var r=e[t];if(r)return r.apply(n,[])},u=function(e,t){return t.constructor===RegExp?t.test(e.className):bz.hasClass(e,t)},c=function(e){var t=[];if(Zt.browser.isIE()&&Zt.browser.version.major<11)return ZA("TinyMCE does not support the browser you are using. For a list of supported browsers please see: https://www.tinymce.com/docs/get-started/system-requirements/"),[];if(Dz)return ZA("Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mode."),[];if(e.types)return Cz(e.types,(function(e){t=t.concat(bz.select(e.selector))})),t;if(e.selector)return bz.select(e.selector);if(e.target)return[e.target];switch(e.mode){case"exact":var n=e.elements||"";n.length>0&&Cz(yz(n),(function(e){var n=bz.get(e);n?t.push(n):Cz(document.forms,(function(n){Cz(n.elements,(function(n){n.name===e&&(e="mce_editor_"+xz++,bz.setAttrib(n,"id",e),t.push(n))}))}))}));break;case"textareas":case"specific_textareas":Cz(bz.select("textarea"),(function(n){e.editor_deselector&&u(n,e.editor_deselector)||e.editor_selector&&!u(n,e.editor_selector)||t.push(n)}));break}return t},s=function(e){t=e},l=function(){var t,r=0,u=[],f=function(e,o,i){var a=new vz(e,o,n);u.push(a),a.on("init",(function(){++r===t.length&&s(u)})),a.targetElm=a.targetElm||i,a.render()};bz.unbind(window,"ready",l),a("onpageload"),t=ws.unique(c(e)),e.types?Cz(e.types,(function(n){fn.each(t,(function(t){return!bz.is(t,n.selector)||(f(i(t),wz({},e,n),t),!1)}))})):(fn.each(t,(function(e){_z(n.get(e.id))})),t=fn.grep(t,(function(e){return!n.get(e.id)})),0===t.length?s([]):Cz(t,(function(t){o(e,t)?ZA("Could not initialize inline editor on invalid inline target element",t):f(i(t),e,t)})))};return n.settings=e,bz.bind(window,"ready",l),new wi((function(e){t?e(t):s=function(t){e(t)}}))},get:function(e){return 0===arguments.length?Ez.slice(0):O(e)?ie(Ez,(function(t){return t.id===e})).getOr(null):V(e)&&Ez[e]?Ez[e]:null},add:function(e){var t=this,n=Sz[e.id];return n===e||(null===t.get(e.id)&&(Nz(e.id)&&(Sz[e.id]=e),Sz.push(e),Ez.push(e)),Az(!0),t.activeEditor=e,t.fire("AddEditor",{editor:e}),fB||(fB=function(e){var n=t.fire("BeforeUnload");if(n.returnValue)return e.preventDefault(),e.returnValue=n.returnValue,n.returnValue},window.addEventListener("beforeunload",fB))),e},createEditor:function(e,t){return this.add(new vz(e,t,this))},remove:function(e){var t,n,r=this;if(e){if(!O(e))return n=e,F(r.get(n.id))?null:(Rz(n)&&r.fire("RemoveEditor",{editor:n}),0===Ez.length&&window.removeEventListener("beforeunload",fB),n.remove(),Az(Ez.length>0),n);Cz(bz.select(e),(function(e){n=r.get(e.id),n&&r.remove(n)}))}else for(t=Ez.length-1;t>=0;t--)r.remove(Ez[t])},execCommand:function(e,t,n){var r=this,o=r.get(n);switch(e){case"mceAddEditor":return r.get(n)||new vz(n,r.settings,r).render(),!0;case"mceRemoveEditor":return o&&o.remove(),!0;case"mceToggleEditor":return o?(o.isHidden()?o.show():o.hide(),!0):(r.execCommand("mceAddEditor",!1,n),!0)}return!!r.activeEditor&&r.activeEditor.execCommand(e,t,n)},triggerSave:function(){Cz(Ez,(function(e){e.save()}))},addI18n:function(e,t){Zs.add(e,t)},translate:function(e){return Zs.translate(e)},setActive:function(e){var t=this.activeEditor;this.activeEditor!==e&&(t&&t.fire("deactivate",{relatedTarget:e}),e.fire("activate",{relatedTarget:t})),this.activeEditor=e},_setBaseUrl:function(e){this.baseURL=new fz(this.documentBaseURL).toAbsolute(e.replace(/\/+$/,"")),this.baseURI=new fz(this.baseURL)}});Pz.setup();var Bz,Oz,Lz=Math.min,Iz=Math.max,Fz=Math.round,Mz=function(e,t,n){var r=t.x,o=t.y,i=e.w,a=e.h,u=t.w,c=t.h,s=(n||"").split("");return"b"===s[0]&&(o+=c),"r"===s[1]&&(r+=u),"c"===s[0]&&(o+=Fz(c/2)),"c"===s[1]&&(r+=Fz(u/2)),"b"===s[3]&&(o-=a),"r"===s[4]&&(r-=i),"c"===s[3]&&(o-=Fz(a/2)),"c"===s[4]&&(r-=Fz(i/2)),Vz(r,o,i,a)},zz=function(e,t,n,r){var o,i;for(i=0;i<r.length;i++)if(o=Mz(e,t,r[i]),o.x>=n.x&&o.x+o.w<=n.w+n.x&&o.y>=n.y&&o.y+o.h<=n.h+n.y)return r[i];return null},Uz=function(e,t,n){return Vz(e.x-t,e.y-n,e.w+2*t,e.h+2*n)},Hz=function(e,t){var n=Iz(e.x,t.x),r=Iz(e.y,t.y),o=Lz(e.x+e.w,t.x+t.w),i=Lz(e.y+e.h,t.y+t.h);return o-n<0||i-r<0?null:Vz(n,r,o-n,i-r)},jz=function(e,t,n){var r=e.x,o=e.y,i=e.x+e.w,a=e.y+e.h,u=t.x+t.w,c=t.y+t.h,s=Iz(0,t.x-r),l=Iz(0,t.y-o),f=Iz(0,i-u),d=Iz(0,a-c);return r+=s,o+=l,n&&(i+=s,a+=l,r-=f,o-=d),i-=f,a-=d,Vz(r,o,i-r,a-o)},Vz=function(e,t,n,r){return{x:e,y:t,w:n,h:r}},qz=function(e){return Vz(e.left,e.top,e.width,e.height)},$z={inflate:Uz,relativePosition:Mz,findBestRelativePosition:zz,intersect:Hz,clamp:jz,create:Vz,fromClientRect:qz},Wz=function(e,t,n){void 0===n&&(n=1e3);var r=!1,o=null,i=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];r||(r=!0,null!==o&&(clearTimeout(o),o=null),e.apply(null,t))}},a=i(e),u=i(t),c=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];r||null!==o||(o=setTimeout((function(){return u.apply(null,e)}),n))};return{start:c,resolve:a,reject:u}},Kz=function(){var e={},t={},n=function(n,r){var o='Script at URL "'+r+'" failed to load',i='Script at URL "'+r+"\" did not call `tinymce.Resource.add('"+n+"', data)` within 1 second";if(void 0!==e[n])return e[n];var a=new wi((function(e,a){var u=Wz(e,a);t[n]=u.resolve,Fs.ScriptLoader.loadScript(r,(function(){return u.start(i)}),(function(){return u.reject(o)}))}));return e[n]=a,a},r=function(n,r){void 0!==t[n]&&(t[n](r),delete t[n]),e[n]=wi.resolve(r)};return{load:n,add:r}},Gz=Kz(),Xz=fn.each,Yz=fn.extend,Zz=function(){};Zz.extend=Bz=function(e){var t=this,n=t.prototype,r=function(){var e,t,n,r=this;if(!Oz&&(r.init&&r.init.apply(r,arguments),t=r.Mixins,t)){e=t.length;while(e--)n=t[e],n.init&&n.init.apply(r,arguments)}},o=function(){return this},i=function(e,t){return function(){var r=this,o=r._super;r._super=n[e];var i=t.apply(r,arguments);return r._super=o,i}};Oz=!0;var a=new t;return Oz=!1,e.Mixins&&(Xz(e.Mixins,(function(t){for(var n in t)"init"!==n&&(e[n]=t[n])})),n.Mixins&&(e.Mixins=n.Mixins.concat(e.Mixins))),e.Methods&&Xz(e.Methods.split(","),(function(t){e[t]=o})),e.Properties&&Xz(e.Properties.split(","),(function(t){var n="_"+t;e[t]=function(e){var t=this;return void 0!==e?(t[n]=e,t):t[n]}})),e.Statics&&Xz(e.Statics,(function(e,t){r[t]=e})),e.Defaults&&n.Defaults&&(e.Defaults=Yz({},n.Defaults,e.Defaults)),we(e,(function(e,t){"function"===typeof e&&n[t]?a[t]=i(t,e):a[t]=e})),r.prototype=a,r.constructor=r,r.extend=Bz,r};var Jz,Qz=Math.min,eU=Math.max,tU=Math.round,nU=function(e){var t={},n=0,r=0,o=0,i=function(e,t,n){var r,o,i;r=0,o=0,i=0,e/=255,t/=255,n/=255;var a=Qz(e,Qz(t,n)),u=eU(e,eU(t,n));if(a===u)return i=a,{h:0,s:0,v:100*i};var c=e===a?t-n:n===a?e-t:n-e;return r=e===a?3:n===a?1:5,r=60*(r-c/(u-a)),o=(u-a)/u,i=u,{h:tU(r),s:tU(100*o),v:tU(100*i)}},a=function(e,t,i){if(e=(parseInt(e,10)||0)%360,t=parseInt(t,10)/100,i=parseInt(i,10)/100,t=eU(0,Qz(t,1)),i=eU(0,Qz(i,1)),0!==t){var a=e/60,u=i*t,c=u*(1-Math.abs(a%2-1)),s=i-u;switch(Math.floor(a)){case 0:n=u,r=c,o=0;break;case 1:n=c,r=u,o=0;break;case 2:n=0,r=u,o=c;break;case 3:n=0,r=c,o=u;break;case 4:n=c,r=0,o=u;break;case 5:n=u,r=0,o=c;break;default:n=r=o=0}n=tU(255*(n+s)),r=tU(255*(r+s)),o=tU(255*(o+s))}else n=r=o=tU(255*i)},u=function(){var e=function(e){return e=parseInt(e,10).toString(16),e.length>1?e:"0"+e};return"#"+e(n)+e(r)+e(o)},c=function(){return{r:n,g:r,b:o}},s=function(){return i(n,r,o)},l=function(e){var i;return"object"===typeof e?"r"in e?(n=e.r,r=e.g,o=e.b):"v"in e&&a(e.h,e.s,e.v):(i=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)[^\)]*\)/gi.exec(e))?(n=parseInt(i[1],10),r=parseInt(i[2],10),o=parseInt(i[3],10)):(i=/#([0-F]{2})([0-F]{2})([0-F]{2})/gi.exec(e))?(n=parseInt(i[1],16),r=parseInt(i[2],16),o=parseInt(i[3],16)):(i=/#([0-F])([0-F])([0-F])/gi.exec(e))&&(n=parseInt(i[1]+i[1],16),r=parseInt(i[2]+i[2],16),o=parseInt(i[3]+i[3],16)),n=n<0?0:n>255?255:n,r=r<0?0:r>255?255:r,o=o<0?0:o>255?255:o,t};return e&&l(e),t.toRgb=c,t.toHsv=s,t.toHex=u,t.parse=l,t},rU=function(e){var t=JSON.stringify(e);return O(t)?t.replace(/[\u0080-\uFFFF]/g,(function(e){var t=e.charCodeAt(0).toString(16);return"\\u"+"0000".substring(t.length)+t})):t},oU={serialize:rU,parse:function(e){try{return JSON.parse(e)}catch(t){}}},iU={callbacks:{},count:0,send:function(e){var t=this,n=Rs.DOM,r=void 0!==e.count?e.count:t.count,o="tinymce_jsonp_"+r;t.callbacks[r]=function(i){n.remove(o),delete t.callbacks[r],e.callback(i)},n.add(n.doc.body,"script",{id:o,src:e.url,type:"text/javascript"}),t.count++}},aU=Ve(Ve({},HM),{send:function(e){var t,n=0,r=function(){!e.async||4===t.readyState||n++>1e4?(e.success&&n<1e4&&200===t.status?e.success.call(e.success_scope,""+t.responseText,t,e):e.error&&e.error.call(e.error_scope,n>1e4?"TIMED_OUT":"GENERAL",t,e),t=null):Ai.setTimeout(r,10)};if(e.scope=e.scope||this,e.success_scope=e.success_scope||e.scope,e.error_scope=e.error_scope||e.scope,e.async=!1!==e.async,e.data=e.data||"",aU.fire("beforeInitialize",{settings:e}),t=new XMLHttpRequest,t.overrideMimeType&&t.overrideMimeType(e.content_type),t.open(e.type||(e.data?"POST":"GET"),e.url,e.async),e.crossDomain&&(t.withCredentials=!0),e.content_type&&t.setRequestHeader("Content-Type",e.content_type),e.requestheaders&&fn.each(e.requestheaders,(function(e){t.setRequestHeader(e.key,e.value)})),t.setRequestHeader("X-Requested-With","XMLHttpRequest"),t=aU.fire("beforeSend",{xhr:t,settings:e}).xhr,t.send(e.data),!e.async)return r();Ai.setTimeout(r,10)}}),uU=fn.extend,cU=function(){function e(e){this.settings=uU({},e),this.count=0}return e.sendRPC=function(t){return(new e).send(t)},e.prototype.send=function(e){var t=e.error,n=e.success,r=uU(this.settings,e);r.success=function(e,o){e=oU.parse(e),"undefined"===typeof e&&(e={error:"JSON Parse error."}),e.error?t.call(r.error_scope||r.scope,e.error,o):n.call(r.success_scope||r.scope,e.result)},r.error=function(e,n){t&&t.call(r.error_scope||r.scope,e,n)},r.data=oU.serialize({id:e.id||"c"+this.count++,method:e.method,params:e.params}),r.content_type="application/json",aU.send(r)},e}(),sU=function(){return function(){var e={},t=[],n={getItem:function(t){var n=e[t];return n||null},setItem:function(n,r){t.push(n),e[n]=String(r)},key:function(e){return t[e]},removeItem:function(n){t=t.filter((function(e){return e===n})),delete e[n]},clear:function(){t=[],e={}},length:0};return Object.defineProperty(n,"length",{get:function(){return t.length},configurable:!1,enumerable:!1}),n}()};try{var lU="__storage_test__";Jz=window.localStorage,Jz.setItem(lU,lU),Jz.removeItem(lU)}catch(hU){Jz=sU()}var fU=Jz,dU={geom:{Rect:$z},util:{Promise:wi,Delay:Ai,Tools:fn,VK:Mh,URI:fz,Class:Zz,EventDispatcher:zM,Observable:HM,I18n:Zs,XHR:aU,JSON:oU,JSONRequest:cU,JSONP:iU,LocalStorage:fU,Color:nU,ImageUploader:fR},dom:{EventUtils:$u,Sizzle:Rc,DomQuery:ws,TreeWalker:Pi,TextSeeker:Ol,DOMUtils:Rs,ScriptLoader:Fs,RangeUtils:uv,Serializer:PT,StyleSheetLoader:Ri,ControlSelection:Uh,BookmarkManager:kh,Selection:HN,Event:$u.Event},html:{Styles:Bu,Entities:Cu,Node:dy,Schema:Du,SaxParser:Sy,DomParser:yT,Writer:Oy,Serializer:Ly},Env:Zt,AddOnManager:Js,Annotator:xh,Formatter:kR,UndoManager:NR,EditorCommands:wM,WindowManager:HA,NotificationManager:IA,EditorObservable:KM,Shortcuts:oz,Editor:vz,FocusManager:Eb,EditorManager:Pz,DOM:Rs.DOM,ScriptLoader:Fs.ScriptLoader,PluginManager:FA,ThemeManager:MA,IconManager:xA,Resource:Gz,trim:fn.trim,isArray:fn.isArray,is:fn.is,toArray:fn.toArray,makeMap:fn.makeMap,each:fn.each,map:fn.map,grep:fn.grep,inArray:fn.inArray,extend:fn.extend,create:fn.create,walk:fn.walk,createNS:fn.createNS,resolve:fn.resolve,explode:fn.explode,_addCacheSuffix:fn._addCacheSuffix,isOpera:Zt.opera,isWebKit:Zt.webkit,isIE:Zt.ie,isGecko:Zt.gecko,isMac:Zt.mac},mU=fn.extend(Pz,dU),pU=function(t){try{e.exports=t}catch(n){}},gU=function(e){window.tinymce=e,window.tinyMCE=e};gU(mU),pU(mU)})()}).call(this,n("c8ba"))},fb04:function(e,t,n){"use strict";n("b0c0");var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"attachList"},[e.hiddenBtn?e._e():t("a-button",{style:e.buttonStyle,attrs:{type:"primary"},on:{click:e.openAttachList}},[e._v(" "+e._s(e.$t("compoent.attachlist.select.img.btn"))+" ")]),t("ant-modal",{attrs:{visible:e.open,"modal-title":e.formTitle,"adjust-size":!0,modalHeight:"680",modalWidth:"1120"},on:{cancel:e.cancel,ok:e.backChecked}},[t("div",{attrs:{slot:"content"},slot:"content"},[t("div",{staticClass:"table-page-search-wrapper"},[t("a-card",{staticStyle:{"margin-bottom":"10px",padding:"10px"},attrs:{bordered:!1}},[t("a-form",e._b({attrs:{layout:"inline",rules:[]}},"a-form",e.itemLayout,!1),[t("a-row",{attrs:{gutter:12}},[t("a-col",{attrs:{md:6,lg:6,sm:24}},[t("attach-upload",{attrs:{params:{shop_id:e.queryParam.shop_id,good_id:e.params.good_id}},on:{uploadBack:e.resetQuery}})],1)],1)],1),t("a-row",{staticClass:"ImageList",attrs:{gutter:48}},e._l(e.List,(function(n,r){return t("a-col",{key:r,staticStyle:{"margin-top":"5px"},attrs:{md:4,sm:6},on:{click:function(t){return e.changeChecked(n)}}},[t("div",{staticStyle:{height:"180px"}},[-1!=n.content_type.indexOf("image")?t("img",{class:-1!=e.rowKey.indexOf(n.path)?"checkedImg":"img-item",staticStyle:{width:"100%",height:"120px",display:"block","object-fit":"scale-down"},attrs:{src:n.path}}):e._e(),-1!=n.content_type.indexOf("video")?t("div",[t("video",{class:-1!=e.rowKey.indexOf(n.path)?"checkedImg":"img-item",staticStyle:{width:"100%",height:"120px",display:"block","object-fit":"scale-down"},attrs:{controls:""}},[t("source",{attrs:{src:n.path,type:"video/mp4"}})])]):e._e(),t("div",{staticStyle:{"margin-top":"0.1rem"}},[e._v(" "+e._s(n.name)+" ")])])])})),1),t("a-pagination",{staticStyle:{"margin-top":"2rem"},attrs:{total:e.total},on:{change:e.getList},model:{value:e.queryParam.page,callback:function(t){e.$set(e.queryParam,"page",t)},expression:"queryParam.page"}})],1)],1)])])],1)},o=[],i=n("5530"),a=n("2dd7"),u=n("3f42"),c=n("9b82d"),s=n("1b6c"),l=n("a5e7"),f=n("2f62"),d={name:"attachList",components:{AntModal:a["a"],attachUpload:u["a"],ShopSelect:c["a"]},computed:Object(i["a"])({},Object(f["c"])({shop_id:"shopId"})),props:{shopId:{value:""},type:{default:"radio"},hiddenBtn:!1,value:"",params:{type:Object,default:function(){return{good_id:1}}},buttonStyle:{type:String,default:""}},data:function(){return{open:!1,formTitle:Object(s["b"])("compoent.attachlist.modal.title"),queryParam:{shop_id:0,page:1,limit:12},List:[],total:0,rowKey:[],itemLayout:{labelCol:{span:4},wrapperCol:{span:8}}}},methods:{openAttachList:function(){this.open=!0,this.value&&("radio"===this.type?this.rowKey=[this.value]:this.rowKey=this.value),this.getList()},cancel:function(){this.open=!1},changeShop:function(e){this.queryParam.shop_id=e,this.getList()},resetQuery:function(){this.queryParam.page=1,this.queryParam.limit=12,this.getList()},getList:function(){var e=this;this.shop_id&&(this.queryParam.shop_id=this.shop_id),Object(l["c"])(this.queryParam).then((function(t){e.List=t.list,e.total=t.total_count}))},changeChecked:function(e){"radio"===this.type?this.$set(this.rowKey,0,e.path):this.rowKey.push(e.path)},backChecked:function(){"radio"===this.type?this.$emit("update:value",this.rowKey[0]):this.$emit("update:value",this.rowKey),this.$emit("change",this.rowKey),this.cancel()},handleQuery:function(){this.getList()}}},m=Object(i["a"])({},d),p=m,g=(n("2c595"),n("2877")),h=Object(g["a"])(p,r,o,!1,null,null,null);t["a"]=h.exports}}]);
|