From d0790aaba34fafaba9b6b80ad934ae2caa08ab0c Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 29 Mar 2022 23:45:57 +0200 Subject: [PATCH] Better style for toggle switches --- platypush/backend/http/webapp/dist/index.html | 2 +- .../webapp/dist/static/css/1336.3f85f5be.css | 1 - .../webapp/dist/static/css/1406.b63ad2b2.css | 1 + .../webapp/dist/static/css/1474.ab4985b3.css | 1 + .../webapp/dist/static/css/7373.7031257c.css | 1 - .../http/webapp/dist/static/css/747.b63ad2b2.css | 1 + .../webapp/dist/static/css/8019.3f85f5be.css | 1 - .../dist/static/js/1336-legacy.f43b1099.js | 2 -- .../dist/static/js/1336-legacy.f43b1099.js.map | 1 - .../dist/static/js/1406-legacy.41c0c47e.js | 2 ++ .../dist/static/js/1406-legacy.41c0c47e.js.map | 1 + .../dist/static/js/2380-legacy.44d382a4.js | 2 -- .../dist/static/js/2380-legacy.44d382a4.js.map | 1 - .../dist/static/js/2380-legacy.b3f2d86a.js | 2 ++ .../dist/static/js/2380-legacy.b3f2d86a.js.map | 1 + .../http/webapp/dist/static/js/2380.73b1a20d.js | 2 ++ .../webapp/dist/static/js/2380.73b1a20d.js.map | 1 + .../http/webapp/dist/static/js/2380.bae8d47d.js | 2 -- .../webapp/dist/static/js/2380.bae8d47d.js.map | 1 - .../dist/static/js/2790-legacy.67a1eb0e.js | 2 -- .../dist/static/js/2790-legacy.67a1eb0e.js.map | 1 - .../dist/static/js/2790-legacy.df38f403.js | 2 ++ .../dist/static/js/2790-legacy.df38f403.js.map | 1 + .../http/webapp/dist/static/js/2790.8e6ef45d.js | 2 -- .../webapp/dist/static/js/2790.8e6ef45d.js.map | 1 - .../http/webapp/dist/static/js/2790.bf6f297a.js | 2 ++ .../webapp/dist/static/js/2790.bf6f297a.js.map | 1 + .../dist/static/js/2844-legacy.a6c67900.js | 2 ++ .../dist/static/js/2844-legacy.a6c67900.js.map | 1 + .../dist/static/js/2844-legacy.fae0fdc0.js | 2 -- .../dist/static/js/2844-legacy.fae0fdc0.js.map | 1 - .../http/webapp/dist/static/js/2844.357b0781.js | 2 ++ .../webapp/dist/static/js/2844.357b0781.js.map | 1 + .../http/webapp/dist/static/js/2844.e28e9ca7.js | 2 -- .../webapp/dist/static/js/2844.e28e9ca7.js.map | 1 - ...egacy.33bdb956.js => 3674-legacy.c0844108.js} | 4 ++-- ...bdb956.js.map => 3674-legacy.c0844108.js.map} | 2 +- .../http/webapp/dist/static/js/3674.011836da.js | 2 -- .../http/webapp/dist/static/js/3674.3c7517b4.js | 2 ++ ...3674.011836da.js.map => 3674.3c7517b4.js.map} | 2 +- .../dist/static/js/3785-legacy.3401a917.js | 2 ++ .../dist/static/js/3785-legacy.3401a917.js.map | 1 + .../dist/static/js/3785-legacy.cbdaa7cb.js | 2 -- .../dist/static/js/3785-legacy.cbdaa7cb.js.map | 1 - .../http/webapp/dist/static/js/3785.4e8ba117.js | 2 -- .../webapp/dist/static/js/3785.4e8ba117.js.map | 1 - .../http/webapp/dist/static/js/3785.8c572e27.js | 2 ++ .../webapp/dist/static/js/3785.8c572e27.js.map | 1 + ...egacy.6b94488f.js => 4276-legacy.9ed76a69.js} | 4 ++-- ...94488f.js.map => 4276-legacy.9ed76a69.js.map} | 2 +- .../js/{4276.c7a274f7.js => 4276.728421b8.js} | 4 ++-- ...4276.c7a274f7.js.map => 4276.728421b8.js.map} | 2 +- .../dist/static/js/4604-legacy.45e6aa25.js | 2 -- .../dist/static/js/4604-legacy.45e6aa25.js.map | 1 - .../dist/static/js/4604-legacy.6d373d71.js | 2 ++ .../dist/static/js/4604-legacy.6d373d71.js.map | 1 + .../http/webapp/dist/static/js/4604.3ded66e7.js | 2 ++ .../webapp/dist/static/js/4604.3ded66e7.js.map | 1 + .../http/webapp/dist/static/js/4604.e1d1b224.js | 2 -- .../webapp/dist/static/js/4604.e1d1b224.js.map | 1 - .../http/webapp/dist/static/js/4764.81b5120a.js | 2 ++ .../webapp/dist/static/js/4764.81b5120a.js.map | 1 + .../http/webapp/dist/static/js/4764.ea0fe8cf.js | 2 -- .../webapp/dist/static/js/4764.ea0fe8cf.js.map | 1 - .../dist/static/js/5210-legacy.38d0da8d.js | 2 ++ .../dist/static/js/5210-legacy.38d0da8d.js.map | 1 + .../dist/static/js/5210-legacy.d694eb5d.js | 2 -- .../dist/static/js/5210-legacy.d694eb5d.js.map | 1 - .../http/webapp/dist/static/js/5210.2fa788d0.js | 2 -- .../webapp/dist/static/js/5210.2fa788d0.js.map | 1 - .../http/webapp/dist/static/js/5210.fae85e4c.js | 2 ++ .../webapp/dist/static/js/5210.fae85e4c.js.map | 1 + .../dist/static/js/5466-legacy.112f0d2e.js | 2 ++ .../dist/static/js/5466-legacy.112f0d2e.js.map | 1 + .../dist/static/js/5466-legacy.acdc5b3a.js | 2 -- .../dist/static/js/5466-legacy.acdc5b3a.js.map | 1 - .../http/webapp/dist/static/js/5466.2c2a80df.js | 2 ++ .../webapp/dist/static/js/5466.2c2a80df.js.map | 1 + .../http/webapp/dist/static/js/5466.4824c7fa.js | 2 -- .../webapp/dist/static/js/5466.4824c7fa.js.map | 1 - .../dist/static/js/5824-legacy.b75ef6a8.js.map | 1 - ...egacy.b75ef6a8.js => 5824-legacy.f18a2b68.js} | 4 ++-- .../dist/static/js/5824-legacy.f18a2b68.js.map | 1 + .../js/{5824.735f4933.js => 5824.0dd40d21.js} | 4 ++-- .../webapp/dist/static/js/5824.0dd40d21.js.map | 1 + .../webapp/dist/static/js/5824.735f4933.js.map | 1 - .../dist/static/js/6849-legacy.880b0312.js | 2 ++ .../dist/static/js/6849-legacy.880b0312.js.map | 1 + .../dist/static/js/6849-legacy.ae049c3f.js | 2 -- .../dist/static/js/6849-legacy.ae049c3f.js.map | 1 - .../dist/static/js/7262-legacy.3d1734c7.js | 2 -- .../dist/static/js/7262-legacy.3d1734c7.js.map | 1 - .../dist/static/js/7262-legacy.53030e4c.js | 2 ++ .../dist/static/js/7262-legacy.53030e4c.js.map | 1 + .../http/webapp/dist/static/js/7262.b0ebadee.js | 2 ++ .../webapp/dist/static/js/7262.b0ebadee.js.map | 1 + .../http/webapp/dist/static/js/7262.b389a8de.js | 2 -- .../webapp/dist/static/js/7262.b389a8de.js.map | 1 - .../http/webapp/dist/static/js/747.21f6bf7b.js | 2 ++ .../webapp/dist/static/js/747.21f6bf7b.js.map | 1 + .../http/webapp/dist/static/js/8019.afc466ba.js | 2 -- .../webapp/dist/static/js/8019.afc466ba.js.map | 1 - .../dist/static/js/9196-legacy.b3f4bc1f.js | 2 ++ .../dist/static/js/9196-legacy.b3f4bc1f.js.map | 1 + .../dist/static/js/9196-legacy.f598bc06.js | 2 -- .../dist/static/js/9196-legacy.f598bc06.js.map | 1 - .../http/webapp/dist/static/js/9196.5e4f2f1b.js | 2 ++ .../webapp/dist/static/js/9196.5e4f2f1b.js.map | 1 + .../http/webapp/dist/static/js/9196.fbe1e4fa.js | 2 -- .../webapp/dist/static/js/9196.fbe1e4fa.js.map | 1 - .../dist/static/js/9694-legacy.cdda9d87.js | 2 ++ .../dist/static/js/9694-legacy.cdda9d87.js.map | 1 + .../dist/static/js/9694-legacy.d2505d86.js | 2 -- .../dist/static/js/9694-legacy.d2505d86.js.map | 1 - .../http/webapp/dist/static/js/9694.2e238a6f.js | 2 -- .../webapp/dist/static/js/9694.2e238a6f.js.map | 1 - .../http/webapp/dist/static/js/9694.dfa28ffb.js | 2 ++ .../webapp/dist/static/js/9694.dfa28ffb.js.map | 1 + ...legacy.aa2fb82a.js => app-legacy.4cc2e832.js} | 4 ++-- ...a2fb82a.js.map => app-legacy.4cc2e832.js.map} | 2 +- .../js/{app.a93abe27.js => app.f7ae2c87.js} | 4 ++-- .../{app.a93abe27.js.map => app.f7ae2c87.js.map} | 2 +- .../src/components/elements/RangeSlider.vue | 4 ---- .../src/components/elements/ToggleSwitch.vue | 16 +++++++--------- 124 files changed, 107 insertions(+), 113 deletions(-) delete mode 100644 platypush/backend/http/webapp/dist/static/css/1336.3f85f5be.css create mode 100644 platypush/backend/http/webapp/dist/static/css/1406.b63ad2b2.css create mode 100644 platypush/backend/http/webapp/dist/static/css/1474.ab4985b3.css delete mode 100644 platypush/backend/http/webapp/dist/static/css/7373.7031257c.css create mode 100644 platypush/backend/http/webapp/dist/static/css/747.b63ad2b2.css delete mode 100644 platypush/backend/http/webapp/dist/static/css/8019.3f85f5be.css delete mode 100644 platypush/backend/http/webapp/dist/static/js/1336-legacy.f43b1099.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/1336-legacy.f43b1099.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/1406-legacy.41c0c47e.js create mode 100644 platypush/backend/http/webapp/dist/static/js/1406-legacy.41c0c47e.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/2380-legacy.44d382a4.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/2380-legacy.44d382a4.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/2380-legacy.b3f2d86a.js create mode 100644 platypush/backend/http/webapp/dist/static/js/2380-legacy.b3f2d86a.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/2380.73b1a20d.js create mode 100644 platypush/backend/http/webapp/dist/static/js/2380.73b1a20d.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/2380.bae8d47d.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/2380.bae8d47d.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/2790-legacy.67a1eb0e.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/2790-legacy.67a1eb0e.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/2790-legacy.df38f403.js create mode 100644 platypush/backend/http/webapp/dist/static/js/2790-legacy.df38f403.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/2790.8e6ef45d.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/2790.8e6ef45d.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/2790.bf6f297a.js create mode 100644 platypush/backend/http/webapp/dist/static/js/2790.bf6f297a.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/2844-legacy.a6c67900.js create mode 100644 platypush/backend/http/webapp/dist/static/js/2844-legacy.a6c67900.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/2844-legacy.fae0fdc0.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/2844-legacy.fae0fdc0.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/2844.357b0781.js create mode 100644 platypush/backend/http/webapp/dist/static/js/2844.357b0781.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/2844.e28e9ca7.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/2844.e28e9ca7.js.map rename platypush/backend/http/webapp/dist/static/js/{3674-legacy.33bdb956.js => 3674-legacy.c0844108.js} (98%) rename platypush/backend/http/webapp/dist/static/js/{3674-legacy.33bdb956.js.map => 3674-legacy.c0844108.js.map} (99%) delete mode 100644 platypush/backend/http/webapp/dist/static/js/3674.011836da.js create mode 100644 platypush/backend/http/webapp/dist/static/js/3674.3c7517b4.js rename platypush/backend/http/webapp/dist/static/js/{3674.011836da.js.map => 3674.3c7517b4.js.map} (99%) create mode 100644 platypush/backend/http/webapp/dist/static/js/3785-legacy.3401a917.js create mode 100644 platypush/backend/http/webapp/dist/static/js/3785-legacy.3401a917.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/3785-legacy.cbdaa7cb.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/3785-legacy.cbdaa7cb.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/3785.4e8ba117.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/3785.4e8ba117.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/3785.8c572e27.js create mode 100644 platypush/backend/http/webapp/dist/static/js/3785.8c572e27.js.map rename platypush/backend/http/webapp/dist/static/js/{4276-legacy.6b94488f.js => 4276-legacy.9ed76a69.js} (88%) rename platypush/backend/http/webapp/dist/static/js/{4276-legacy.6b94488f.js.map => 4276-legacy.9ed76a69.js.map} (93%) rename platypush/backend/http/webapp/dist/static/js/{4276.c7a274f7.js => 4276.728421b8.js} (87%) rename platypush/backend/http/webapp/dist/static/js/{4276.c7a274f7.js.map => 4276.728421b8.js.map} (93%) delete mode 100644 platypush/backend/http/webapp/dist/static/js/4604-legacy.45e6aa25.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/4604-legacy.45e6aa25.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/4604-legacy.6d373d71.js create mode 100644 platypush/backend/http/webapp/dist/static/js/4604-legacy.6d373d71.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/4604.3ded66e7.js create mode 100644 platypush/backend/http/webapp/dist/static/js/4604.3ded66e7.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/4604.e1d1b224.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/4604.e1d1b224.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/4764.81b5120a.js create mode 100644 platypush/backend/http/webapp/dist/static/js/4764.81b5120a.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/4764.ea0fe8cf.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/4764.ea0fe8cf.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/5210-legacy.38d0da8d.js create mode 100644 platypush/backend/http/webapp/dist/static/js/5210-legacy.38d0da8d.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/5210-legacy.d694eb5d.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/5210-legacy.d694eb5d.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/5210.2fa788d0.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/5210.2fa788d0.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/5210.fae85e4c.js create mode 100644 platypush/backend/http/webapp/dist/static/js/5210.fae85e4c.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/5466-legacy.112f0d2e.js create mode 100644 platypush/backend/http/webapp/dist/static/js/5466-legacy.112f0d2e.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/5466-legacy.acdc5b3a.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/5466-legacy.acdc5b3a.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/5466.2c2a80df.js create mode 100644 platypush/backend/http/webapp/dist/static/js/5466.2c2a80df.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/5466.4824c7fa.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/5466.4824c7fa.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/5824-legacy.b75ef6a8.js.map rename platypush/backend/http/webapp/dist/static/js/{5824-legacy.b75ef6a8.js => 5824-legacy.f18a2b68.js} (93%) create mode 100644 platypush/backend/http/webapp/dist/static/js/5824-legacy.f18a2b68.js.map rename platypush/backend/http/webapp/dist/static/js/{5824.735f4933.js => 5824.0dd40d21.js} (88%) create mode 100644 platypush/backend/http/webapp/dist/static/js/5824.0dd40d21.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/5824.735f4933.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/6849-legacy.880b0312.js create mode 100644 platypush/backend/http/webapp/dist/static/js/6849-legacy.880b0312.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/6849-legacy.ae049c3f.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/6849-legacy.ae049c3f.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/7262-legacy.3d1734c7.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/7262-legacy.3d1734c7.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/7262-legacy.53030e4c.js create mode 100644 platypush/backend/http/webapp/dist/static/js/7262-legacy.53030e4c.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/7262.b0ebadee.js create mode 100644 platypush/backend/http/webapp/dist/static/js/7262.b0ebadee.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/7262.b389a8de.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/7262.b389a8de.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/747.21f6bf7b.js create mode 100644 platypush/backend/http/webapp/dist/static/js/747.21f6bf7b.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/8019.afc466ba.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/8019.afc466ba.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/9196-legacy.b3f4bc1f.js create mode 100644 platypush/backend/http/webapp/dist/static/js/9196-legacy.b3f4bc1f.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/9196-legacy.f598bc06.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/9196-legacy.f598bc06.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/9196.5e4f2f1b.js create mode 100644 platypush/backend/http/webapp/dist/static/js/9196.5e4f2f1b.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/9196.fbe1e4fa.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/9196.fbe1e4fa.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/9694-legacy.cdda9d87.js create mode 100644 platypush/backend/http/webapp/dist/static/js/9694-legacy.cdda9d87.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/9694-legacy.d2505d86.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/9694-legacy.d2505d86.js.map delete mode 100644 platypush/backend/http/webapp/dist/static/js/9694.2e238a6f.js delete mode 100644 platypush/backend/http/webapp/dist/static/js/9694.2e238a6f.js.map create mode 100644 platypush/backend/http/webapp/dist/static/js/9694.dfa28ffb.js create mode 100644 platypush/backend/http/webapp/dist/static/js/9694.dfa28ffb.js.map rename platypush/backend/http/webapp/dist/static/js/{app-legacy.aa2fb82a.js => app-legacy.4cc2e832.js} (95%) rename platypush/backend/http/webapp/dist/static/js/{app-legacy.aa2fb82a.js.map => app-legacy.4cc2e832.js.map} (97%) rename platypush/backend/http/webapp/dist/static/js/{app.a93abe27.js => app.f7ae2c87.js} (80%) rename platypush/backend/http/webapp/dist/static/js/{app.a93abe27.js.map => app.f7ae2c87.js.map} (83%) diff --git a/platypush/backend/http/webapp/dist/index.html b/platypush/backend/http/webapp/dist/index.html index bc347edc5..64052c730 100644 --- a/platypush/backend/http/webapp/dist/index.html +++ b/platypush/backend/http/webapp/dist/index.html @@ -1 +1 @@ -platypush
\ No newline at end of file +platypush
\ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/css/1336.3f85f5be.css b/platypush/backend/http/webapp/dist/static/css/1336.3f85f5be.css deleted file mode 100644 index e5bfdddb5..000000000 --- a/platypush/backend/http/webapp/dist/static/css/1336.3f85f5be.css +++ /dev/null @@ -1 +0,0 @@ -.menu-panel{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;background:#e0eae8;padding-top:2em}.menu-panel .content{background:#fff;border-radius:15px;box-shadow:0 0 2px 2px #ccc;border:0}.menu-panel .content .panel-row{display:flex;margin:0!important;padding:1em;box-shadow:1px 0 1px 1px #ddd;cursor:pointer;border:0;letter-spacing:.05em}.menu-panel .content .panel-row:hover{background:#bef6da}.menu-panel .content .panel-row:first-child{border-radius:15px 15px 0 0;box-shadow:2px 0 1px -2px #ddd}.menu-panel .content .panel-row:last-child{border-radius:0 0 15px 15px;box-shadow:-1px 0 1px 0 #ddd}.menu-panel .content .header{background:#dde5e1;font-weight:700;box-shadow:0 0 1px 1px silver}.menu-panel .content .header:hover{background:#dde5e1}@media screen and (max-width:1024px){.menu-panel{padding-top:0}.menu-panel .content{min-width:100%}.menu-panel .content .row:first-child,.menu-panel .content .row:last-child{border-radius:0}}@media screen and (min-width:1024px){.menu-panel .content{min-width:75%}}@media screen and (min-width:1216px){.menu-panel .content{min-width:50%}}@media screen and (min-width:1408px){.menu-panel .content{min-width:35%}}.col-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-42318a2b]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-42318a2b]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-42318a2b]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-42318a2b]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-42318a2b]:first-child{margin-left:26%!important}.col-offset-3[data-v-42318a2b]:not(first-child){margin-left:30%!important}.col-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-42318a2b]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-42318a2b]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-42318a2b]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-42318a2b]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-42318a2b]:first-child{margin-left:52%!important}.col-offset-6[data-v-42318a2b]:not(first-child){margin-left:56%!important}.col-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-42318a2b]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-42318a2b]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-42318a2b]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-42318a2b]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-42318a2b]:first-child{margin-left:78%!important}.col-offset-9[data-v-42318a2b]:not(first-child){margin-left:82%!important}.col-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-42318a2b]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-42318a2b]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-42318a2b]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-42318a2b]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-s-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-s-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-s-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-s-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-42318a2b]{display:none!important}.s-visible[data-v-42318a2b]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-m-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-m-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-m-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-m-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-42318a2b]{display:none!important}.m-visible[data-v-42318a2b]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-l-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-l-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-l-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-l-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-42318a2b]{display:none!important}.l-visible[data-v-42318a2b]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-xl-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-xl-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-xl-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-42318a2b]{display:none!important}.xl-visible[data-v-42318a2b]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-xxl-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-xxl-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-xxl-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-42318a2b]{display:none!important}.xxl-visible[data-v-42318a2b]{display:block!important}}.vertical-center[data-v-42318a2b]{display:flex;align-items:center}.horizontal-center[data-v-42318a2b]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-42318a2b]{text-align:right;float:right;justify-content:right}.hidden[data-v-42318a2b]{display:none!important}.no-content[data-v-42318a2b]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-42318a2b],.btn[data-v-42318a2b],button[data-v-42318a2b]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-42318a2b],.btn-default[type=submit][data-v-42318a2b],.btn.btn-primary[data-v-42318a2b],.btn[type=submit][data-v-42318a2b],button.btn-primary[data-v-42318a2b],button[type=submit][data-v-42318a2b]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-42318a2b],input[type=text][data-v-42318a2b]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-42318a2b]:focus,input[type=text][data-v-42318a2b]:focus{border:1px solid #35b870}button[data-v-42318a2b],input[data-v-42318a2b]{outline:none}input[type=text][data-v-42318a2b]:hover,textarea[data-v-42318a2b]:hover{border:1px solid #9cdfb0}ul[data-v-42318a2b]{margin:0;padding:0;list-style:none}a[data-v-42318a2b]{cursor:pointer;text-decoration:none}.input-icon[data-v-42318a2b]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-42318a2b],input[type=password][data-v-42318a2b],input[type=search][data-v-42318a2b],input[type=text][data-v-42318a2b]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-42318a2b]:hover,input[type=password][data-v-42318a2b]:hover,input[type=search][data-v-42318a2b]:hover,input[type=text][data-v-42318a2b]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-42318a2b]:focus,input[type=password][data-v-42318a2b]:focus,input[type=search][data-v-42318a2b]:focus,input[type=text][data-v-42318a2b]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-42318a2b],input[type=password].with-icon[data-v-42318a2b],input[type=search].with-icon[data-v-42318a2b],input[type=text].with-icon[data-v-42318a2b]{padding-left:.3em}input[type=search][data-v-42318a2b],input[type=text][data-v-42318a2b]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-42318a2b]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-42318a2b;-webkit-animation-name:fadeIn-42318a2b}.fade-in[data-v-42318a2b],.fade-out[data-v-42318a2b]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-42318a2b]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-42318a2b;-webkit-animation-name:fadeOut-42318a2b}@-webkit-keyframes fadeIn-42318a2b{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-42318a2b{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-42318a2b{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-42318a2b{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-42318a2b]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-42318a2b]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-42318a2b]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.header[data-v-42318a2b]{display:flex;align-items:center;padding-top:.75em!important;padding-bottom:.75em!important}.header .icon[data-v-42318a2b]{margin-left:.5em}.header .name[data-v-42318a2b]{text-align:center}.group[data-v-42318a2b]{display:flex;align-items:center}.col-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-e2726892]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-e2726892]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-e2726892]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-e2726892]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-e2726892]:first-child{margin-left:26%!important}.col-offset-3[data-v-e2726892]:not(first-child){margin-left:30%!important}.col-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-e2726892]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-e2726892]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-e2726892]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-e2726892]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-e2726892]:first-child{margin-left:52%!important}.col-offset-6[data-v-e2726892]:not(first-child){margin-left:56%!important}.col-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-e2726892]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-e2726892]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-e2726892]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-e2726892]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-e2726892]:first-child{margin-left:78%!important}.col-offset-9[data-v-e2726892]:not(first-child){margin-left:82%!important}.col-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-e2726892]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-e2726892]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-e2726892]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-e2726892]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-3[data-v-e2726892]{margin-left:26%}.col-no-margin-s-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-6[data-v-e2726892]{margin-left:52%}.col-no-margin-s-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-9[data-v-e2726892]{margin-left:78%}.col-no-margin-s-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-s-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-e2726892]{display:none!important}.s-visible[data-v-e2726892]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-3[data-v-e2726892]{margin-left:26%}.col-no-margin-m-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-6[data-v-e2726892]{margin-left:52%}.col-no-margin-m-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-9[data-v-e2726892]{margin-left:78%}.col-no-margin-m-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-m-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-e2726892]{display:none!important}.m-visible[data-v-e2726892]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-3[data-v-e2726892]{margin-left:26%}.col-no-margin-l-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-6[data-v-e2726892]{margin-left:52%}.col-no-margin-l-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-9[data-v-e2726892]{margin-left:78%}.col-no-margin-l-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-l-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-e2726892]{display:none!important}.l-visible[data-v-e2726892]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-3[data-v-e2726892]{margin-left:26%}.col-no-margin-xl-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-6[data-v-e2726892]{margin-left:52%}.col-no-margin-xl-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-9[data-v-e2726892]{margin-left:78%}.col-no-margin-xl-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-e2726892]{display:none!important}.xl-visible[data-v-e2726892]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-3[data-v-e2726892]{margin-left:26%}.col-no-margin-xxl-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-6[data-v-e2726892]{margin-left:52%}.col-no-margin-xxl-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-9[data-v-e2726892]{margin-left:78%}.col-no-margin-xxl-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-e2726892]{display:none!important}.xxl-visible[data-v-e2726892]{display:block!important}}.vertical-center[data-v-e2726892]{display:flex;align-items:center}.horizontal-center[data-v-e2726892]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-e2726892]{text-align:right;float:right;justify-content:right}.hidden[data-v-e2726892]{display:none!important}.no-content[data-v-e2726892]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-e2726892],.btn[data-v-e2726892],button[data-v-e2726892]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-e2726892],.btn-default[type=submit][data-v-e2726892],.btn.btn-primary[data-v-e2726892],.btn[type=submit][data-v-e2726892],button.btn-primary[data-v-e2726892],button[type=submit][data-v-e2726892]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-e2726892],input[type=text][data-v-e2726892]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-e2726892]:focus,input[type=text][data-v-e2726892]:focus{border:1px solid #35b870}button[data-v-e2726892],input[data-v-e2726892]{outline:none}input[type=text][data-v-e2726892]:hover,textarea[data-v-e2726892]:hover{border:1px solid #9cdfb0}ul[data-v-e2726892]{margin:0;padding:0;list-style:none}a[data-v-e2726892]{cursor:pointer;text-decoration:none}.input-icon[data-v-e2726892]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-e2726892],input[type=password][data-v-e2726892],input[type=search][data-v-e2726892],input[type=text][data-v-e2726892]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-e2726892]:hover,input[type=password][data-v-e2726892]:hover,input[type=search][data-v-e2726892]:hover,input[type=text][data-v-e2726892]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-e2726892]:focus,input[type=password][data-v-e2726892]:focus,input[type=search][data-v-e2726892]:focus,input[type=text][data-v-e2726892]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-e2726892],input[type=password].with-icon[data-v-e2726892],input[type=search].with-icon[data-v-e2726892],input[type=text].with-icon[data-v-e2726892]{padding-left:.3em}input[type=search][data-v-e2726892],input[type=text][data-v-e2726892]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-e2726892]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-e2726892;-webkit-animation-name:fadeIn-e2726892}.fade-in[data-v-e2726892],.fade-out[data-v-e2726892]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-e2726892]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-e2726892;-webkit-animation-name:fadeOut-e2726892}@-webkit-keyframes fadeIn-e2726892{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-e2726892{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-e2726892{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-e2726892{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-e2726892]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-e2726892]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-e2726892]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.controls[data-v-e2726892]{flex-direction:column;margin-top:2.25em;background:#fff;padding:.5em 1em;border-radius:1em;box-shadow:0 0 2px 2px #ccc}.controls .row[data-v-e2726892],.controls[data-v-e2726892]{width:100%;display:flex;align-items:center}.controls .control[data-v-e2726892]{padding-top:.25em}.controls .icon[data-v-e2726892]{opacity:.7}.controls input[type=color][data-v-e2726892]{width:100%;border:0}.light-controls .row .slider{margin-top:.4em}.col-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-52168252]:first-child{margin-left:0}.col-no-margin-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-52168252]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-52168252]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-52168252]:first-child{margin-left:0}.col-no-margin-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-52168252]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-52168252]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-52168252]:first-child{margin-left:0}.col-no-margin-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-52168252]:first-child{margin-left:26%!important}.col-offset-3[data-v-52168252]:not(first-child){margin-left:30%!important}.col-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-52168252]:first-child{margin-left:0}.col-no-margin-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-52168252]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-52168252]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-52168252]:first-child{margin-left:0}.col-no-margin-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-52168252]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-52168252]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-52168252]:first-child{margin-left:0}.col-no-margin-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-52168252]:first-child{margin-left:52%!important}.col-offset-6[data-v-52168252]:not(first-child){margin-left:56%!important}.col-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-52168252]:first-child{margin-left:0}.col-no-margin-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-52168252]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-52168252]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-52168252]:first-child{margin-left:0}.col-no-margin-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-52168252]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-52168252]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-52168252]:first-child{margin-left:0}.col-no-margin-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-52168252]:first-child{margin-left:78%!important}.col-offset-9[data-v-52168252]:not(first-child){margin-left:82%!important}.col-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-52168252]:first-child{margin-left:0}.col-no-margin-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-52168252]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-52168252]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-52168252]:first-child{margin-left:0}.col-no-margin-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-52168252]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-52168252]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-52168252]:first-child{margin-left:0}.col-offset-s-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-52168252]:first-child{margin-left:0}.col-offset-s-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-52168252]:first-child{margin-left:0}.col-offset-s-3[data-v-52168252]{margin-left:26%}.col-no-margin-s-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-52168252]:first-child{margin-left:0}.col-offset-s-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-52168252]:first-child{margin-left:0}.col-offset-s-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-52168252]:first-child{margin-left:0}.col-offset-s-6[data-v-52168252]{margin-left:52%}.col-no-margin-s-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-52168252]:first-child{margin-left:0}.col-offset-s-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-52168252]:first-child{margin-left:0}.col-offset-s-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-52168252]:first-child{margin-left:0}.col-offset-s-9[data-v-52168252]{margin-left:78%}.col-no-margin-s-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-52168252]:first-child{margin-left:0}.col-offset-s-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-52168252]:first-child{margin-left:0}.col-offset-s-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-s-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-52168252]{display:none!important}.s-visible[data-v-52168252]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-52168252]:first-child{margin-left:0}.col-offset-m-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-52168252]:first-child{margin-left:0}.col-offset-m-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-52168252]:first-child{margin-left:0}.col-offset-m-3[data-v-52168252]{margin-left:26%}.col-no-margin-m-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-52168252]:first-child{margin-left:0}.col-offset-m-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-52168252]:first-child{margin-left:0}.col-offset-m-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-52168252]:first-child{margin-left:0}.col-offset-m-6[data-v-52168252]{margin-left:52%}.col-no-margin-m-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-52168252]:first-child{margin-left:0}.col-offset-m-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-52168252]:first-child{margin-left:0}.col-offset-m-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-52168252]:first-child{margin-left:0}.col-offset-m-9[data-v-52168252]{margin-left:78%}.col-no-margin-m-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-52168252]:first-child{margin-left:0}.col-offset-m-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-52168252]:first-child{margin-left:0}.col-offset-m-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-m-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-52168252]{display:none!important}.m-visible[data-v-52168252]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-52168252]:first-child{margin-left:0}.col-offset-l-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-52168252]:first-child{margin-left:0}.col-offset-l-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-52168252]:first-child{margin-left:0}.col-offset-l-3[data-v-52168252]{margin-left:26%}.col-no-margin-l-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-52168252]:first-child{margin-left:0}.col-offset-l-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-52168252]:first-child{margin-left:0}.col-offset-l-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-52168252]:first-child{margin-left:0}.col-offset-l-6[data-v-52168252]{margin-left:52%}.col-no-margin-l-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-52168252]:first-child{margin-left:0}.col-offset-l-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-52168252]:first-child{margin-left:0}.col-offset-l-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-52168252]:first-child{margin-left:0}.col-offset-l-9[data-v-52168252]{margin-left:78%}.col-no-margin-l-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-52168252]:first-child{margin-left:0}.col-offset-l-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-52168252]:first-child{margin-left:0}.col-offset-l-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-l-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-52168252]{display:none!important}.l-visible[data-v-52168252]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-3[data-v-52168252]{margin-left:26%}.col-no-margin-xl-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-6[data-v-52168252]{margin-left:52%}.col-no-margin-xl-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-9[data-v-52168252]{margin-left:78%}.col-no-margin-xl-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-52168252]{display:none!important}.xl-visible[data-v-52168252]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-3[data-v-52168252]{margin-left:26%}.col-no-margin-xxl-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-6[data-v-52168252]{margin-left:52%}.col-no-margin-xxl-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-9[data-v-52168252]{margin-left:78%}.col-no-margin-xxl-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-52168252]{display:none!important}.xxl-visible[data-v-52168252]{display:block!important}}.vertical-center[data-v-52168252]{display:flex;align-items:center}.horizontal-center[data-v-52168252]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-52168252]{text-align:right;float:right;justify-content:right}.hidden[data-v-52168252]{display:none!important}.no-content[data-v-52168252]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-52168252],.btn[data-v-52168252],button[data-v-52168252]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-52168252],.btn-default[type=submit][data-v-52168252],.btn.btn-primary[data-v-52168252],.btn[type=submit][data-v-52168252],button.btn-primary[data-v-52168252],button[type=submit][data-v-52168252]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-52168252],input[type=text][data-v-52168252]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-52168252]:focus,input[type=text][data-v-52168252]:focus{border:1px solid #35b870}button[data-v-52168252],input[data-v-52168252]{outline:none}input[type=text][data-v-52168252]:hover,textarea[data-v-52168252]:hover{border:1px solid #9cdfb0}ul[data-v-52168252]{margin:0;padding:0;list-style:none}a[data-v-52168252]{cursor:pointer;text-decoration:none}.input-icon[data-v-52168252]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-52168252],input[type=password][data-v-52168252],input[type=search][data-v-52168252],input[type=text][data-v-52168252]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-52168252]:hover,input[type=password][data-v-52168252]:hover,input[type=search][data-v-52168252]:hover,input[type=text][data-v-52168252]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-52168252]:focus,input[type=password][data-v-52168252]:focus,input[type=search][data-v-52168252]:focus,input[type=text][data-v-52168252]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-52168252],input[type=password].with-icon[data-v-52168252],input[type=search].with-icon[data-v-52168252],input[type=text].with-icon[data-v-52168252]{padding-left:.3em}input[type=search][data-v-52168252],input[type=text][data-v-52168252]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-52168252]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-52168252;-webkit-animation-name:fadeIn-52168252}.fade-in[data-v-52168252],.fade-out[data-v-52168252]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-52168252]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-52168252;-webkit-animation-name:fadeOut-52168252}@-webkit-keyframes fadeIn-52168252{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-52168252{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-52168252{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-52168252{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-52168252]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-52168252]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-52168252]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.expanded .name[data-v-52168252]{font-size:1.25em}.col-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-3b982d9d]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-3b982d9d]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-3b982d9d]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-3b982d9d]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-3b982d9d]:first-child{margin-left:26%!important}.col-offset-3[data-v-3b982d9d]:not(first-child){margin-left:30%!important}.col-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-3b982d9d]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-3b982d9d]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-3b982d9d]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-3b982d9d]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-3b982d9d]:first-child{margin-left:52%!important}.col-offset-6[data-v-3b982d9d]:not(first-child){margin-left:56%!important}.col-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-3b982d9d]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-3b982d9d]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-3b982d9d]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-3b982d9d]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-3b982d9d]:first-child{margin-left:78%!important}.col-offset-9[data-v-3b982d9d]:not(first-child){margin-left:82%!important}.col-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-3b982d9d]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-3b982d9d]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-3b982d9d]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-3b982d9d]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-1[data-v-3b982d9d]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-2[data-v-3b982d9d]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-3[data-v-3b982d9d]{margin-left:26%}.col-no-margin-s-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-4[data-v-3b982d9d]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-5[data-v-3b982d9d]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-6[data-v-3b982d9d]{margin-left:52%}.col-no-margin-s-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-7[data-v-3b982d9d]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-8[data-v-3b982d9d]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-9[data-v-3b982d9d]{margin-left:78%}.col-no-margin-s-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-10[data-v-3b982d9d]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-11[data-v-3b982d9d]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-s-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-3b982d9d]{display:none!important}.s-visible[data-v-3b982d9d]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-1[data-v-3b982d9d]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-2[data-v-3b982d9d]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-3[data-v-3b982d9d]{margin-left:26%}.col-no-margin-m-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-4[data-v-3b982d9d]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-5[data-v-3b982d9d]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-6[data-v-3b982d9d]{margin-left:52%}.col-no-margin-m-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-7[data-v-3b982d9d]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-8[data-v-3b982d9d]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-9[data-v-3b982d9d]{margin-left:78%}.col-no-margin-m-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-10[data-v-3b982d9d]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-11[data-v-3b982d9d]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-m-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-3b982d9d]{display:none!important}.m-visible[data-v-3b982d9d]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-1[data-v-3b982d9d]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-2[data-v-3b982d9d]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-3[data-v-3b982d9d]{margin-left:26%}.col-no-margin-l-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-4[data-v-3b982d9d]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-5[data-v-3b982d9d]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-6[data-v-3b982d9d]{margin-left:52%}.col-no-margin-l-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-7[data-v-3b982d9d]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-8[data-v-3b982d9d]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-9[data-v-3b982d9d]{margin-left:78%}.col-no-margin-l-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-10[data-v-3b982d9d]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-11[data-v-3b982d9d]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-l-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-3b982d9d]{display:none!important}.l-visible[data-v-3b982d9d]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-1[data-v-3b982d9d]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-2[data-v-3b982d9d]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-3[data-v-3b982d9d]{margin-left:26%}.col-no-margin-xl-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-4[data-v-3b982d9d]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-5[data-v-3b982d9d]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-6[data-v-3b982d9d]{margin-left:52%}.col-no-margin-xl-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-7[data-v-3b982d9d]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-8[data-v-3b982d9d]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-9[data-v-3b982d9d]{margin-left:78%}.col-no-margin-xl-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-10[data-v-3b982d9d]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-11[data-v-3b982d9d]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-3b982d9d]{display:none!important}.xl-visible[data-v-3b982d9d]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-1[data-v-3b982d9d]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-2[data-v-3b982d9d]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-3[data-v-3b982d9d]{margin-left:26%}.col-no-margin-xxl-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-4[data-v-3b982d9d]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-5[data-v-3b982d9d]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-6[data-v-3b982d9d]{margin-left:52%}.col-no-margin-xxl-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-7[data-v-3b982d9d]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-8[data-v-3b982d9d]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-9[data-v-3b982d9d]{margin-left:78%}.col-no-margin-xxl-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-10[data-v-3b982d9d]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-11[data-v-3b982d9d]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-3b982d9d]{display:none!important}.xxl-visible[data-v-3b982d9d]{display:block!important}}.vertical-center[data-v-3b982d9d]{display:flex;align-items:center}.horizontal-center[data-v-3b982d9d]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-3b982d9d]{text-align:right;float:right;justify-content:right}.hidden[data-v-3b982d9d]{display:none!important}.no-content[data-v-3b982d9d]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-3b982d9d],.btn[data-v-3b982d9d],button[data-v-3b982d9d]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-3b982d9d],.btn-default[type=submit][data-v-3b982d9d],.btn.btn-primary[data-v-3b982d9d],.btn[type=submit][data-v-3b982d9d],button.btn-primary[data-v-3b982d9d],button[type=submit][data-v-3b982d9d]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-3b982d9d],input[type=text][data-v-3b982d9d]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-3b982d9d]:focus,input[type=text][data-v-3b982d9d]:focus{border:1px solid #35b870}button[data-v-3b982d9d],input[data-v-3b982d9d]{outline:none}input[type=text][data-v-3b982d9d]:hover,textarea[data-v-3b982d9d]:hover{border:1px solid #9cdfb0}ul[data-v-3b982d9d]{margin:0;padding:0;list-style:none}a[data-v-3b982d9d]{cursor:pointer;text-decoration:none}.input-icon[data-v-3b982d9d]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-3b982d9d],input[type=password][data-v-3b982d9d],input[type=search][data-v-3b982d9d],input[type=text][data-v-3b982d9d]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-3b982d9d]:hover,input[type=password][data-v-3b982d9d]:hover,input[type=search][data-v-3b982d9d]:hover,input[type=text][data-v-3b982d9d]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-3b982d9d]:focus,input[type=password][data-v-3b982d9d]:focus,input[type=search][data-v-3b982d9d]:focus,input[type=text][data-v-3b982d9d]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-3b982d9d],input[type=password].with-icon[data-v-3b982d9d],input[type=search].with-icon[data-v-3b982d9d],input[type=text].with-icon[data-v-3b982d9d]{padding-left:.3em}input[type=search][data-v-3b982d9d],input[type=text][data-v-3b982d9d]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-3b982d9d]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-3b982d9d;-webkit-animation-name:fadeIn-3b982d9d}.fade-in[data-v-3b982d9d],.fade-out[data-v-3b982d9d]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-3b982d9d]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-3b982d9d;-webkit-animation-name:fadeOut-3b982d9d}@-webkit-keyframes fadeIn-3b982d9d{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-3b982d9d{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-3b982d9d{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-3b982d9d{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-3b982d9d]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-3b982d9d]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-3b982d9d]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.range-wrapper[data-v-3b982d9d]{width:100%;position:relative}.range-wrapper input[type=range][data-v-3b982d9d]{width:100%;position:absolute;left:0;bottom:0;outline:none;-webkit-appearance:none;-o-appearance:none;-moz-appearance:none;appearance:none}.range-wrapper input[type=range][data-v-3b982d9d]:focus,.range-wrapper input[type=range][data-v-3b982d9d]:hover{outline:none;border:0}.range-wrapper input[type=range][data-v-3b982d9d]::-webkit-slider-runnable-track{width:100%;height:.75em;cursor:pointer;animate:.2s;background:#e4e4e4;border-radius:.5em;box-shadow:inset 1px 0 3px 0 #a5a2a2;border:0}.range-wrapper input[type=range][data-v-3b982d9d]::-moz-range-track{width:100%;height:.75em;cursor:pointer;animate:.2s;background:#e4e4e4;border-radius:.5em;box-shadow:inset 1px 0 3px 0 #a5a2a2;border:0}.range-wrapper input[type=range][data-v-3b982d9d]::-moz-range-progress{background:rgba(0,215,80,.5)}.range-wrapper input[type=range][data-v-3b982d9d]::-ms-track{width:100%;height:.75em;cursor:pointer;animate:.2s;background:transparent;border-color:transparent;color:transparent}.range-wrapper input[type=range][data-v-3b982d9d]::-ms-fill-lower,.range-wrapper input[type=range][data-v-3b982d9d]::-ms-fill-upper{background:rgba(0,215,80,.5);border-radius:1px;box-shadow:none;border:0}.range-wrapper input[type=range][data-v-3b982d9d]::-webkit-slider-thumb{width:1.25em;height:1.25em;background:#37d560;position:relative;z-index:2;border-radius:50%;box-shadow:1px 0 2px 0 #475c40;cursor:pointer;-webkit-appearance:none;-o-appearance:none;appearance:none;margin-top:-.25em}.range-wrapper input[type=range][data-v-3b982d9d]::-moz-range-thumb{width:1.25em;height:1.25em;background:#37d560;position:relative;z-index:2;border-radius:50%;box-shadow:1px 0 2px 0 #475c40;cursor:pointer}.range-wrapper input[type=range][data-v-3b982d9d]::-ms-thumb{width:1.25em;height:1.25em;background:#37d560;position:relative;z-index:2;border-radius:50%;box-shadow:1px 0 2px 0 #475c40;cursor:pointer}.col-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-1739aaba]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-1739aaba]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-1739aaba]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-1739aaba]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-1739aaba]:first-child{margin-left:26%!important}.col-offset-3[data-v-1739aaba]:not(first-child){margin-left:30%!important}.col-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-1739aaba]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-1739aaba]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-1739aaba]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-1739aaba]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-1739aaba]:first-child{margin-left:52%!important}.col-offset-6[data-v-1739aaba]:not(first-child){margin-left:56%!important}.col-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-1739aaba]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-1739aaba]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-1739aaba]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-1739aaba]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-1739aaba]:first-child{margin-left:78%!important}.col-offset-9[data-v-1739aaba]:not(first-child){margin-left:82%!important}.col-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-1739aaba]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-1739aaba]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-1739aaba]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-1739aaba]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-s-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-s-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-s-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-s-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-1739aaba]{display:none!important}.s-visible[data-v-1739aaba]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-m-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-m-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-m-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-m-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-1739aaba]{display:none!important}.m-visible[data-v-1739aaba]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-l-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-l-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-l-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-l-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-1739aaba]{display:none!important}.l-visible[data-v-1739aaba]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-xl-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-xl-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-xl-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-1739aaba]{display:none!important}.xl-visible[data-v-1739aaba]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-xxl-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-xxl-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-xxl-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-1739aaba]{display:none!important}.xxl-visible[data-v-1739aaba]{display:block!important}}.vertical-center[data-v-1739aaba]{display:flex;align-items:center}.horizontal-center[data-v-1739aaba]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-1739aaba]{text-align:right;float:right;justify-content:right}.hidden[data-v-1739aaba]{display:none!important}.no-content[data-v-1739aaba]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-1739aaba],.btn[data-v-1739aaba],button[data-v-1739aaba]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-1739aaba],.btn-default[type=submit][data-v-1739aaba],.btn.btn-primary[data-v-1739aaba],.btn[type=submit][data-v-1739aaba],button.btn-primary[data-v-1739aaba],button[type=submit][data-v-1739aaba]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-1739aaba],input[type=text][data-v-1739aaba]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-1739aaba]:focus,input[type=text][data-v-1739aaba]:focus{border:1px solid #35b870}button[data-v-1739aaba],input[data-v-1739aaba]{outline:none}input[type=text][data-v-1739aaba]:hover,textarea[data-v-1739aaba]:hover{border:1px solid #9cdfb0}ul[data-v-1739aaba]{margin:0;padding:0;list-style:none}a[data-v-1739aaba]{cursor:pointer;text-decoration:none}.input-icon[data-v-1739aaba]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-1739aaba],input[type=password][data-v-1739aaba],input[type=search][data-v-1739aaba],input[type=text][data-v-1739aaba]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-1739aaba]:hover,input[type=password][data-v-1739aaba]:hover,input[type=search][data-v-1739aaba]:hover,input[type=text][data-v-1739aaba]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-1739aaba]:focus,input[type=password][data-v-1739aaba]:focus,input[type=search][data-v-1739aaba]:focus,input[type=text][data-v-1739aaba]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-1739aaba],input[type=password].with-icon[data-v-1739aaba],input[type=search].with-icon[data-v-1739aaba],input[type=text].with-icon[data-v-1739aaba]{padding-left:.3em}input[type=search][data-v-1739aaba],input[type=text][data-v-1739aaba]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-1739aaba]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-1739aaba;-webkit-animation-name:fadeIn-1739aaba}.fade-in[data-v-1739aaba],.fade-out[data-v-1739aaba]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-1739aaba]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-1739aaba;-webkit-animation-name:fadeOut-1739aaba}@-webkit-keyframes fadeIn-1739aaba{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-1739aaba{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-1739aaba{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-1739aaba{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-1739aaba]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-1739aaba]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-1739aaba]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.animation-container[data-v-1739aaba]{width:100%}.animation-container .animation-header[data-v-1739aaba],.animation-container .animation[data-v-1739aaba]{padding-bottom:.5em;margin-bottom:.5em;box-shadow:0 3px 2px -1px silver}.controls[data-v-1739aaba]{width:100%;display:flex;flex-direction:column;align-items:center;margin-top:2.25em;background:#fff;padding:.5em 1em;border-radius:1em;box-shadow:0 0 2px 2px #ccc}.controls .selector[data-v-1739aaba]{width:100%}.controls .row[data-v-1739aaba]{width:100%;display:flex;align-items:center;padding:.5em 0}.controls .row>div[data-v-1739aaba]:last-child{text-align:right}.controls .control[data-v-1739aaba]{padding-top:.25em}.controls .lights[data-v-1739aaba]{padding-top:.5em;width:100%}.controls .lights .row[data-v-1739aaba]{display:flex;align-items:center}.controls .lights label[data-v-1739aaba]{width:100%}.light-group-container{width:100%;min-height:100%}.light-group-container .row.panel-row{flex-direction:column}.light-group-container .row.panel-row.expanded,.light-group-container .row.panel-row.selected{background:#c8ffd0}.light-group-container .header{padding:.5em!important;display:flex;align-items:center}.light-group-container .header .back-btn{border:0;background:none}.light-group-container .header .back-btn:hover{border:0;color:#35b870}.light-group-container .header .name{text-align:center}.light-group-container .header .name.selected{color:#32b646}.light-group-container .header .name:hover{color:#35b870}.light-group-container .view-selector{width:100%;border-radius:0}.light-group-container .view-selector button{width:33.3%;padding:1.5em;text-align:left;opacity:.8;box-shadow:1px 0 1px 1px #ddd;border-right:0}.light-group-container .view-selector button.selected{background:#c8ffd0}.light-group-container .view-selector button:hover{background:#bef6da}.light-group-container .view-selector .icon{width:100%;text-align:center;font-size:1.2em}.light-group-container .group-controls{margin:0;padding:1em;background-color:#e4eae8;border-radius:0 0 1em 1em}.light-group-container .group-controls .controls{margin:0;padding:1em}.col-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-781dd72c]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-781dd72c]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-781dd72c]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-781dd72c]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-781dd72c]:first-child{margin-left:26%!important}.col-offset-3[data-v-781dd72c]:not(first-child){margin-left:30%!important}.col-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-781dd72c]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-781dd72c]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-781dd72c]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-781dd72c]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-781dd72c]:first-child{margin-left:52%!important}.col-offset-6[data-v-781dd72c]:not(first-child){margin-left:56%!important}.col-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-781dd72c]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-781dd72c]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-781dd72c]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-781dd72c]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-781dd72c]:first-child{margin-left:78%!important}.col-offset-9[data-v-781dd72c]:not(first-child){margin-left:82%!important}.col-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-781dd72c]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-781dd72c]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-781dd72c]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-781dd72c]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-s-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-s-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-s-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-s-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-781dd72c]{display:none!important}.s-visible[data-v-781dd72c]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-m-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-m-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-m-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-m-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-781dd72c]{display:none!important}.m-visible[data-v-781dd72c]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-l-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-l-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-l-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-l-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-781dd72c]{display:none!important}.l-visible[data-v-781dd72c]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-xl-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-xl-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-xl-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-781dd72c]{display:none!important}.xl-visible[data-v-781dd72c]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-xxl-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-xxl-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-xxl-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-781dd72c]{display:none!important}.xxl-visible[data-v-781dd72c]{display:block!important}}.vertical-center[data-v-781dd72c]{display:flex;align-items:center}.horizontal-center[data-v-781dd72c]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-781dd72c]{text-align:right;float:right;justify-content:right}.hidden[data-v-781dd72c]{display:none!important}.no-content[data-v-781dd72c]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-781dd72c],.btn[data-v-781dd72c],button[data-v-781dd72c]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-781dd72c],.btn-default[type=submit][data-v-781dd72c],.btn.btn-primary[data-v-781dd72c],.btn[type=submit][data-v-781dd72c],button.btn-primary[data-v-781dd72c],button[type=submit][data-v-781dd72c]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-781dd72c],input[type=text][data-v-781dd72c]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-781dd72c]:focus,input[type=text][data-v-781dd72c]:focus{border:1px solid #35b870}button[data-v-781dd72c],input[data-v-781dd72c]{outline:none}input[type=text][data-v-781dd72c]:hover,textarea[data-v-781dd72c]:hover{border:1px solid #9cdfb0}ul[data-v-781dd72c]{margin:0;padding:0;list-style:none}a[data-v-781dd72c]{cursor:pointer;text-decoration:none}.input-icon[data-v-781dd72c]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-781dd72c],input[type=password][data-v-781dd72c],input[type=search][data-v-781dd72c],input[type=text][data-v-781dd72c]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-781dd72c]:hover,input[type=password][data-v-781dd72c]:hover,input[type=search][data-v-781dd72c]:hover,input[type=text][data-v-781dd72c]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-781dd72c]:focus,input[type=password][data-v-781dd72c]:focus,input[type=search][data-v-781dd72c]:focus,input[type=text][data-v-781dd72c]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-781dd72c],input[type=password].with-icon[data-v-781dd72c],input[type=search].with-icon[data-v-781dd72c],input[type=text].with-icon[data-v-781dd72c]{padding-left:.3em}input[type=search][data-v-781dd72c],input[type=text][data-v-781dd72c]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-781dd72c]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-781dd72c;-webkit-animation-name:fadeIn-781dd72c}.fade-in[data-v-781dd72c],.fade-out[data-v-781dd72c]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-781dd72c]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-781dd72c;-webkit-animation-name:fadeOut-781dd72c}@-webkit-keyframes fadeIn-781dd72c{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-781dd72c{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-781dd72c{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-781dd72c{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-781dd72c]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-781dd72c]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-781dd72c]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.plugin[data-v-781dd72c]{width:100%;height:100%;display:flex}.panel[data-v-781dd72c]{width:100%;height:100%;box-shadow:none;overflow:auto}.col-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1:first-child{margin-left:0}.col-no-margin-1{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1:first-child{margin-left:8.6666666667%!important}.col-offset-1:not(first-child){margin-left:12.6666666667%!important}.col-2{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2:first-child{margin-left:0}.col-no-margin-2{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2:first-child{margin-left:17.3333333333%!important}.col-offset-2:not(first-child){margin-left:21.3333333333%!important}.col-3{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3:first-child{margin-left:0}.col-no-margin-3{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3:first-child{margin-left:26%!important}.col-offset-3:not(first-child){margin-left:30%!important}.col-4{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4:first-child{margin-left:0}.col-no-margin-4{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4:first-child{margin-left:34.6666666667%!important}.col-offset-4:not(first-child){margin-left:38.6666666667%!important}.col-5{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5:first-child{margin-left:0}.col-no-margin-5{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5:first-child{margin-left:43.3333333334%!important}.col-offset-5:not(first-child){margin-left:47.3333333334%!important}.col-6{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6:first-child{margin-left:0}.col-no-margin-6{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6:first-child{margin-left:52%!important}.col-offset-6:not(first-child){margin-left:56%!important}.col-7{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7:first-child{margin-left:0}.col-no-margin-7{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7:first-child{margin-left:60.6666666667%!important}.col-offset-7:not(first-child){margin-left:64.6666666667%!important}.col-8{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8:first-child{margin-left:0}.col-no-margin-8{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8:first-child{margin-left:69.3333333334%!important}.col-offset-8:not(first-child){margin-left:73.3333333334%!important}.col-9{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9:first-child{margin-left:0}.col-no-margin-9{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9:first-child{margin-left:78%!important}.col-offset-9:not(first-child){margin-left:82%!important}.col-10{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10:first-child{margin-left:0}.col-no-margin-10{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10:first-child{margin-left:86.6666666667%!important}.col-offset-10:not(first-child){margin-left:90.6666666667%!important}.col-11{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11:first-child{margin-left:0}.col-no-margin-11{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11:first-child{margin-left:95.3333333334%!important}.col-offset-11:not(first-child){margin-left:99.3333333334%!important}.col-12{float:left;box-sizing:border-box;width:100%}.col-12,.col-12:first-child{margin-left:0}.col-no-margin-12{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1:first-child{margin-left:0}.col-offset-s-1{margin-left:8.6666666667%}.col-no-margin-s-1{width:8.3333333333%}.col-no-margin-s-1,.col-s-2{float:left;box-sizing:border-box}.col-s-2{width:13.3333333333%;margin-left:4%}.col-s-2:first-child{margin-left:0}.col-offset-s-2{margin-left:17.3333333333%}.col-no-margin-s-2{width:16.6666666667%}.col-no-margin-s-2,.col-s-3{float:left;box-sizing:border-box}.col-s-3{width:22%;margin-left:4%}.col-s-3:first-child{margin-left:0}.col-offset-s-3{margin-left:26%}.col-no-margin-s-3{width:25%}.col-no-margin-s-3,.col-s-4{float:left;box-sizing:border-box}.col-s-4{width:30.6666666667%;margin-left:4%}.col-s-4:first-child{margin-left:0}.col-offset-s-4{margin-left:34.6666666667%}.col-no-margin-s-4{width:33.3333333333%}.col-no-margin-s-4,.col-s-5{float:left;box-sizing:border-box}.col-s-5{width:39.3333333334%;margin-left:4%}.col-s-5:first-child{margin-left:0}.col-offset-s-5{margin-left:43.3333333334%}.col-no-margin-s-5{width:41.6666666667%}.col-no-margin-s-5,.col-s-6{float:left;box-sizing:border-box}.col-s-6{width:48%;margin-left:4%}.col-s-6:first-child{margin-left:0}.col-offset-s-6{margin-left:52%}.col-no-margin-s-6{width:50%}.col-no-margin-s-6,.col-s-7{float:left;box-sizing:border-box}.col-s-7{width:56.6666666667%;margin-left:4%}.col-s-7:first-child{margin-left:0}.col-offset-s-7{margin-left:60.6666666667%}.col-no-margin-s-7{width:58.3333333333%}.col-no-margin-s-7,.col-s-8{float:left;box-sizing:border-box}.col-s-8{width:65.3333333334%;margin-left:4%}.col-s-8:first-child{margin-left:0}.col-offset-s-8{margin-left:69.3333333334%}.col-no-margin-s-8{width:66.6666666667%}.col-no-margin-s-8,.col-s-9{float:left;box-sizing:border-box}.col-s-9{width:74%;margin-left:4%}.col-s-9:first-child{margin-left:0}.col-offset-s-9{margin-left:78%}.col-no-margin-s-9{width:75%}.col-no-margin-s-9,.col-s-10{float:left;box-sizing:border-box}.col-s-10{width:82.6666666667%;margin-left:4%}.col-s-10:first-child{margin-left:0}.col-offset-s-10{margin-left:86.6666666667%}.col-no-margin-s-10{width:83.3333333333%}.col-no-margin-s-10,.col-s-11{float:left;box-sizing:border-box}.col-s-11{width:91.3333333334%;margin-left:4%}.col-s-11:first-child{margin-left:0}.col-offset-s-11{margin-left:95.3333333334%}.col-no-margin-s-11{width:91.6666666667%}.col-no-margin-s-11,.col-s-12{float:left;box-sizing:border-box}.col-s-12{width:100%}.col-s-12,.col-s-12:first-child{margin-left:0}.col-no-margin-s-12{float:left;box-sizing:border-box;width:100%}.s-hidden{display:none!important}.s-visible{display:block!important}}@media screen and (min-width:769px){.col-m-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1:first-child{margin-left:0}.col-offset-m-1{margin-left:8.6666666667%}.col-no-margin-m-1{width:8.3333333333%}.col-m-2,.col-no-margin-m-1{float:left;box-sizing:border-box}.col-m-2{width:13.3333333333%;margin-left:4%}.col-m-2:first-child{margin-left:0}.col-offset-m-2{margin-left:17.3333333333%}.col-no-margin-m-2{width:16.6666666667%}.col-m-3,.col-no-margin-m-2{float:left;box-sizing:border-box}.col-m-3{width:22%;margin-left:4%}.col-m-3:first-child{margin-left:0}.col-offset-m-3{margin-left:26%}.col-no-margin-m-3{width:25%}.col-m-4,.col-no-margin-m-3{float:left;box-sizing:border-box}.col-m-4{width:30.6666666667%;margin-left:4%}.col-m-4:first-child{margin-left:0}.col-offset-m-4{margin-left:34.6666666667%}.col-no-margin-m-4{width:33.3333333333%}.col-m-5,.col-no-margin-m-4{float:left;box-sizing:border-box}.col-m-5{width:39.3333333334%;margin-left:4%}.col-m-5:first-child{margin-left:0}.col-offset-m-5{margin-left:43.3333333334%}.col-no-margin-m-5{width:41.6666666667%}.col-m-6,.col-no-margin-m-5{float:left;box-sizing:border-box}.col-m-6{width:48%;margin-left:4%}.col-m-6:first-child{margin-left:0}.col-offset-m-6{margin-left:52%}.col-no-margin-m-6{width:50%}.col-m-7,.col-no-margin-m-6{float:left;box-sizing:border-box}.col-m-7{width:56.6666666667%;margin-left:4%}.col-m-7:first-child{margin-left:0}.col-offset-m-7{margin-left:60.6666666667%}.col-no-margin-m-7{width:58.3333333333%}.col-m-8,.col-no-margin-m-7{float:left;box-sizing:border-box}.col-m-8{width:65.3333333334%;margin-left:4%}.col-m-8:first-child{margin-left:0}.col-offset-m-8{margin-left:69.3333333334%}.col-no-margin-m-8{width:66.6666666667%}.col-m-9,.col-no-margin-m-8{float:left;box-sizing:border-box}.col-m-9{width:74%;margin-left:4%}.col-m-9:first-child{margin-left:0}.col-offset-m-9{margin-left:78%}.col-no-margin-m-9{width:75%}.col-m-10,.col-no-margin-m-9{float:left;box-sizing:border-box}.col-m-10{width:82.6666666667%;margin-left:4%}.col-m-10:first-child{margin-left:0}.col-offset-m-10{margin-left:86.6666666667%}.col-no-margin-m-10{width:83.3333333333%}.col-m-11,.col-no-margin-m-10{float:left;box-sizing:border-box}.col-m-11{width:91.3333333334%;margin-left:4%}.col-m-11:first-child{margin-left:0}.col-offset-m-11{margin-left:95.3333333334%}.col-no-margin-m-11{width:91.6666666667%}.col-m-12,.col-no-margin-m-11{float:left;box-sizing:border-box}.col-m-12{width:100%}.col-m-12,.col-m-12:first-child{margin-left:0}.col-no-margin-m-12{float:left;box-sizing:border-box;width:100%}.m-hidden{display:none!important}.m-visible{display:block!important}}@media screen and (min-width:1024px){.col-l-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1:first-child{margin-left:0}.col-offset-l-1{margin-left:8.6666666667%}.col-no-margin-l-1{width:8.3333333333%}.col-l-2,.col-no-margin-l-1{float:left;box-sizing:border-box}.col-l-2{width:13.3333333333%;margin-left:4%}.col-l-2:first-child{margin-left:0}.col-offset-l-2{margin-left:17.3333333333%}.col-no-margin-l-2{width:16.6666666667%}.col-l-3,.col-no-margin-l-2{float:left;box-sizing:border-box}.col-l-3{width:22%;margin-left:4%}.col-l-3:first-child{margin-left:0}.col-offset-l-3{margin-left:26%}.col-no-margin-l-3{width:25%}.col-l-4,.col-no-margin-l-3{float:left;box-sizing:border-box}.col-l-4{width:30.6666666667%;margin-left:4%}.col-l-4:first-child{margin-left:0}.col-offset-l-4{margin-left:34.6666666667%}.col-no-margin-l-4{width:33.3333333333%}.col-l-5,.col-no-margin-l-4{float:left;box-sizing:border-box}.col-l-5{width:39.3333333334%;margin-left:4%}.col-l-5:first-child{margin-left:0}.col-offset-l-5{margin-left:43.3333333334%}.col-no-margin-l-5{width:41.6666666667%}.col-l-6,.col-no-margin-l-5{float:left;box-sizing:border-box}.col-l-6{width:48%;margin-left:4%}.col-l-6:first-child{margin-left:0}.col-offset-l-6{margin-left:52%}.col-no-margin-l-6{width:50%}.col-l-7,.col-no-margin-l-6{float:left;box-sizing:border-box}.col-l-7{width:56.6666666667%;margin-left:4%}.col-l-7:first-child{margin-left:0}.col-offset-l-7{margin-left:60.6666666667%}.col-no-margin-l-7{width:58.3333333333%}.col-l-8,.col-no-margin-l-7{float:left;box-sizing:border-box}.col-l-8{width:65.3333333334%;margin-left:4%}.col-l-8:first-child{margin-left:0}.col-offset-l-8{margin-left:69.3333333334%}.col-no-margin-l-8{width:66.6666666667%}.col-l-9,.col-no-margin-l-8{float:left;box-sizing:border-box}.col-l-9{width:74%;margin-left:4%}.col-l-9:first-child{margin-left:0}.col-offset-l-9{margin-left:78%}.col-no-margin-l-9{width:75%}.col-l-10,.col-no-margin-l-9{float:left;box-sizing:border-box}.col-l-10{width:82.6666666667%;margin-left:4%}.col-l-10:first-child{margin-left:0}.col-offset-l-10{margin-left:86.6666666667%}.col-no-margin-l-10{width:83.3333333333%}.col-l-11,.col-no-margin-l-10{float:left;box-sizing:border-box}.col-l-11{width:91.3333333334%;margin-left:4%}.col-l-11:first-child{margin-left:0}.col-offset-l-11{margin-left:95.3333333334%}.col-no-margin-l-11{width:91.6666666667%}.col-l-12,.col-no-margin-l-11{float:left;box-sizing:border-box}.col-l-12{width:100%}.col-l-12,.col-l-12:first-child{margin-left:0}.col-no-margin-l-12{float:left;box-sizing:border-box;width:100%}.l-hidden{display:none!important}.l-visible{display:block!important}}@media screen and (min-width:1216px){.col-xl-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1:first-child{margin-left:0}.col-offset-xl-1{margin-left:8.6666666667%}.col-no-margin-xl-1{width:8.3333333333%}.col-no-margin-xl-1,.col-xl-2{float:left;box-sizing:border-box}.col-xl-2{width:13.3333333333%;margin-left:4%}.col-xl-2:first-child{margin-left:0}.col-offset-xl-2{margin-left:17.3333333333%}.col-no-margin-xl-2{width:16.6666666667%}.col-no-margin-xl-2,.col-xl-3{float:left;box-sizing:border-box}.col-xl-3{width:22%;margin-left:4%}.col-xl-3:first-child{margin-left:0}.col-offset-xl-3{margin-left:26%}.col-no-margin-xl-3{width:25%}.col-no-margin-xl-3,.col-xl-4{float:left;box-sizing:border-box}.col-xl-4{width:30.6666666667%;margin-left:4%}.col-xl-4:first-child{margin-left:0}.col-offset-xl-4{margin-left:34.6666666667%}.col-no-margin-xl-4{width:33.3333333333%}.col-no-margin-xl-4,.col-xl-5{float:left;box-sizing:border-box}.col-xl-5{width:39.3333333334%;margin-left:4%}.col-xl-5:first-child{margin-left:0}.col-offset-xl-5{margin-left:43.3333333334%}.col-no-margin-xl-5{width:41.6666666667%}.col-no-margin-xl-5,.col-xl-6{float:left;box-sizing:border-box}.col-xl-6{width:48%;margin-left:4%}.col-xl-6:first-child{margin-left:0}.col-offset-xl-6{margin-left:52%}.col-no-margin-xl-6{width:50%}.col-no-margin-xl-6,.col-xl-7{float:left;box-sizing:border-box}.col-xl-7{width:56.6666666667%;margin-left:4%}.col-xl-7:first-child{margin-left:0}.col-offset-xl-7{margin-left:60.6666666667%}.col-no-margin-xl-7{width:58.3333333333%}.col-no-margin-xl-7,.col-xl-8{float:left;box-sizing:border-box}.col-xl-8{width:65.3333333334%;margin-left:4%}.col-xl-8:first-child{margin-left:0}.col-offset-xl-8{margin-left:69.3333333334%}.col-no-margin-xl-8{width:66.6666666667%}.col-no-margin-xl-8,.col-xl-9{float:left;box-sizing:border-box}.col-xl-9{width:74%;margin-left:4%}.col-xl-9:first-child{margin-left:0}.col-offset-xl-9{margin-left:78%}.col-no-margin-xl-9{width:75%}.col-no-margin-xl-9,.col-xl-10{float:left;box-sizing:border-box}.col-xl-10{width:82.6666666667%;margin-left:4%}.col-xl-10:first-child{margin-left:0}.col-offset-xl-10{margin-left:86.6666666667%}.col-no-margin-xl-10{width:83.3333333333%}.col-no-margin-xl-10,.col-xl-11{float:left;box-sizing:border-box}.col-xl-11{width:91.3333333334%;margin-left:4%}.col-xl-11:first-child{margin-left:0}.col-offset-xl-11{margin-left:95.3333333334%}.col-no-margin-xl-11{width:91.6666666667%}.col-no-margin-xl-11,.col-xl-12{float:left;box-sizing:border-box}.col-xl-12{width:100%}.col-xl-12,.col-xl-12:first-child{margin-left:0}.col-no-margin-xl-12{float:left;box-sizing:border-box;width:100%}.xl-hidden{display:none!important}.xl-visible{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1:first-child{margin-left:0}.col-offset-xxl-1{margin-left:8.6666666667%}.col-no-margin-xxl-1{width:8.3333333333%}.col-no-margin-xxl-1,.col-xxl-2{float:left;box-sizing:border-box}.col-xxl-2{width:13.3333333333%;margin-left:4%}.col-xxl-2:first-child{margin-left:0}.col-offset-xxl-2{margin-left:17.3333333333%}.col-no-margin-xxl-2{width:16.6666666667%}.col-no-margin-xxl-2,.col-xxl-3{float:left;box-sizing:border-box}.col-xxl-3{width:22%;margin-left:4%}.col-xxl-3:first-child{margin-left:0}.col-offset-xxl-3{margin-left:26%}.col-no-margin-xxl-3{width:25%}.col-no-margin-xxl-3,.col-xxl-4{float:left;box-sizing:border-box}.col-xxl-4{width:30.6666666667%;margin-left:4%}.col-xxl-4:first-child{margin-left:0}.col-offset-xxl-4{margin-left:34.6666666667%}.col-no-margin-xxl-4{width:33.3333333333%}.col-no-margin-xxl-4,.col-xxl-5{float:left;box-sizing:border-box}.col-xxl-5{width:39.3333333334%;margin-left:4%}.col-xxl-5:first-child{margin-left:0}.col-offset-xxl-5{margin-left:43.3333333334%}.col-no-margin-xxl-5{width:41.6666666667%}.col-no-margin-xxl-5,.col-xxl-6{float:left;box-sizing:border-box}.col-xxl-6{width:48%;margin-left:4%}.col-xxl-6:first-child{margin-left:0}.col-offset-xxl-6{margin-left:52%}.col-no-margin-xxl-6{width:50%}.col-no-margin-xxl-6,.col-xxl-7{float:left;box-sizing:border-box}.col-xxl-7{width:56.6666666667%;margin-left:4%}.col-xxl-7:first-child{margin-left:0}.col-offset-xxl-7{margin-left:60.6666666667%}.col-no-margin-xxl-7{width:58.3333333333%}.col-no-margin-xxl-7,.col-xxl-8{float:left;box-sizing:border-box}.col-xxl-8{width:65.3333333334%;margin-left:4%}.col-xxl-8:first-child{margin-left:0}.col-offset-xxl-8{margin-left:69.3333333334%}.col-no-margin-xxl-8{width:66.6666666667%}.col-no-margin-xxl-8,.col-xxl-9{float:left;box-sizing:border-box}.col-xxl-9{width:74%;margin-left:4%}.col-xxl-9:first-child{margin-left:0}.col-offset-xxl-9{margin-left:78%}.col-no-margin-xxl-9{float:left;box-sizing:border-box;width:75%}.col-xxl-10{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10:first-child{margin-left:0}.col-offset-xxl-10{margin-left:86.6666666667%}.col-no-margin-xxl-10{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11:first-child{margin-left:0}.col-offset-xxl-11{margin-left:95.3333333334%}.col-no-margin-xxl-11{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12{float:left;box-sizing:border-box;width:100%}.col-xxl-12,.col-xxl-12:first-child{margin-left:0}.col-no-margin-xxl-12{float:left;box-sizing:border-box;width:100%}.xxl-hidden{display:none!important}.xxl-visible{display:block!important}}.vertical-center{display:flex;align-items:center}.horizontal-center{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right{text-align:right;float:right;justify-content:right}.hidden{display:none!important}.no-content{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn,.btn-default,button{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary,.btn-default[type=submit],.btn.btn-primary,.btn[type=submit],button.btn-primary,button[type=submit]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password],input[type=text]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password]:focus,input[type=text]:focus{border:1px solid #35b870}button,input{outline:none}input[type=text]:hover,textarea:hover{border:1px solid #9cdfb0}ul{margin:0;padding:0;list-style:none}a{cursor:pointer;text-decoration:none}.input-icon{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number],input[type=password],input[type=search],input[type=text]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number]:hover,input[type=password]:hover,input[type=search]:hover,input[type=text]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon,input[type=password].with-icon,input[type=search].with-icon,input[type=text].with-icon{padding-left:.3em}input[type=search],input[type=text]{border-radius:1em;padding:.25em .5em}.fade-in{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn;-webkit-animation-name:fadeIn}.fade-in,.fade-out{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut;-webkit-animation-name:fadeOut}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi:before{background-size:1em 1em;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-kodi:before,.fa.fa-plex:before{content:" ";width:1em;height:1em;display:inline-block}.fa.fa-plex:before{background-size:1em 1em;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.lights-plugin .menu-panel ul li:not(.header){padding:1.5em 1em} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/css/1406.b63ad2b2.css b/platypush/backend/http/webapp/dist/static/css/1406.b63ad2b2.css new file mode 100644 index 000000000..7fb0a1996 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/css/1406.b63ad2b2.css @@ -0,0 +1 @@ +.menu-panel{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;background:#e0eae8;padding-top:2em}.menu-panel .content{background:#fff;border-radius:15px;box-shadow:0 0 2px 2px #ccc;border:0}.menu-panel .content .panel-row{display:flex;margin:0!important;padding:1em;box-shadow:1px 0 1px 1px #ddd;cursor:pointer;border:0;letter-spacing:.05em}.menu-panel .content .panel-row:hover{background:#bef6da}.menu-panel .content .panel-row:first-child{border-radius:15px 15px 0 0;box-shadow:2px 0 1px -2px #ddd}.menu-panel .content .panel-row:last-child{border-radius:0 0 15px 15px;box-shadow:-1px 0 1px 0 #ddd}.menu-panel .content .header{background:#dde5e1;font-weight:700;box-shadow:0 0 1px 1px silver}.menu-panel .content .header:hover{background:#dde5e1}@media screen and (max-width:1024px){.menu-panel{padding-top:0}.menu-panel .content{min-width:100%}.menu-panel .content .row:first-child,.menu-panel .content .row:last-child{border-radius:0}}@media screen and (min-width:1024px){.menu-panel .content{min-width:75%}}@media screen and (min-width:1216px){.menu-panel .content{min-width:50%}}@media screen and (min-width:1408px){.menu-panel .content{min-width:35%}}.col-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-42318a2b]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-42318a2b]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-42318a2b]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-42318a2b]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-42318a2b]:first-child{margin-left:26%!important}.col-offset-3[data-v-42318a2b]:not(first-child){margin-left:30%!important}.col-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-42318a2b]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-42318a2b]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-42318a2b]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-42318a2b]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-42318a2b]:first-child{margin-left:52%!important}.col-offset-6[data-v-42318a2b]:not(first-child){margin-left:56%!important}.col-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-42318a2b]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-42318a2b]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-42318a2b]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-42318a2b]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-42318a2b]:first-child{margin-left:78%!important}.col-offset-9[data-v-42318a2b]:not(first-child){margin-left:82%!important}.col-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-42318a2b]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-42318a2b]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-42318a2b]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-42318a2b]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-s-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-s-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-s-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-s-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-42318a2b]{display:none!important}.s-visible[data-v-42318a2b]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-m-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-m-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-m-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-m-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-42318a2b]{display:none!important}.m-visible[data-v-42318a2b]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-l-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-l-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-l-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-l-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-42318a2b]{display:none!important}.l-visible[data-v-42318a2b]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-xl-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-xl-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-xl-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-42318a2b]{display:none!important}.xl-visible[data-v-42318a2b]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-xxl-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-xxl-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-xxl-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-42318a2b]{display:none!important}.xxl-visible[data-v-42318a2b]{display:block!important}}.vertical-center[data-v-42318a2b]{display:flex;align-items:center}.horizontal-center[data-v-42318a2b]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-42318a2b]{text-align:right;float:right;justify-content:right}.hidden[data-v-42318a2b]{display:none!important}.no-content[data-v-42318a2b]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-42318a2b],.btn[data-v-42318a2b],button[data-v-42318a2b]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-42318a2b],.btn-default[type=submit][data-v-42318a2b],.btn.btn-primary[data-v-42318a2b],.btn[type=submit][data-v-42318a2b],button.btn-primary[data-v-42318a2b],button[type=submit][data-v-42318a2b]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-42318a2b],input[type=text][data-v-42318a2b]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-42318a2b]:focus,input[type=text][data-v-42318a2b]:focus{border:1px solid #35b870}button[data-v-42318a2b],input[data-v-42318a2b]{outline:none}input[type=text][data-v-42318a2b]:hover,textarea[data-v-42318a2b]:hover{border:1px solid #9cdfb0}ul[data-v-42318a2b]{margin:0;padding:0;list-style:none}a[data-v-42318a2b]{cursor:pointer;text-decoration:none}.input-icon[data-v-42318a2b]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-42318a2b],input[type=password][data-v-42318a2b],input[type=search][data-v-42318a2b],input[type=text][data-v-42318a2b]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-42318a2b]:hover,input[type=password][data-v-42318a2b]:hover,input[type=search][data-v-42318a2b]:hover,input[type=text][data-v-42318a2b]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-42318a2b]:focus,input[type=password][data-v-42318a2b]:focus,input[type=search][data-v-42318a2b]:focus,input[type=text][data-v-42318a2b]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-42318a2b],input[type=password].with-icon[data-v-42318a2b],input[type=search].with-icon[data-v-42318a2b],input[type=text].with-icon[data-v-42318a2b]{padding-left:.3em}input[type=search][data-v-42318a2b],input[type=text][data-v-42318a2b]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-42318a2b]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-42318a2b;-webkit-animation-name:fadeIn-42318a2b}.fade-in[data-v-42318a2b],.fade-out[data-v-42318a2b]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-42318a2b]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-42318a2b;-webkit-animation-name:fadeOut-42318a2b}@-webkit-keyframes fadeIn-42318a2b{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-42318a2b{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-42318a2b{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-42318a2b{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-42318a2b]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-42318a2b]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-42318a2b]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.header[data-v-42318a2b]{display:flex;align-items:center;padding-top:.75em!important;padding-bottom:.75em!important}.header .icon[data-v-42318a2b]{margin-left:.5em}.header .name[data-v-42318a2b]{text-align:center}.group[data-v-42318a2b]{display:flex;align-items:center}.col-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-e2726892]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-e2726892]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-e2726892]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-e2726892]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-e2726892]:first-child{margin-left:26%!important}.col-offset-3[data-v-e2726892]:not(first-child){margin-left:30%!important}.col-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-e2726892]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-e2726892]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-e2726892]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-e2726892]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-e2726892]:first-child{margin-left:52%!important}.col-offset-6[data-v-e2726892]:not(first-child){margin-left:56%!important}.col-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-e2726892]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-e2726892]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-e2726892]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-e2726892]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-e2726892]:first-child{margin-left:78%!important}.col-offset-9[data-v-e2726892]:not(first-child){margin-left:82%!important}.col-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-e2726892]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-e2726892]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-e2726892]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-e2726892]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-3[data-v-e2726892]{margin-left:26%}.col-no-margin-s-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-6[data-v-e2726892]{margin-left:52%}.col-no-margin-s-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-9[data-v-e2726892]{margin-left:78%}.col-no-margin-s-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-s-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-e2726892]{display:none!important}.s-visible[data-v-e2726892]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-3[data-v-e2726892]{margin-left:26%}.col-no-margin-m-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-6[data-v-e2726892]{margin-left:52%}.col-no-margin-m-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-9[data-v-e2726892]{margin-left:78%}.col-no-margin-m-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-m-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-e2726892]{display:none!important}.m-visible[data-v-e2726892]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-3[data-v-e2726892]{margin-left:26%}.col-no-margin-l-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-6[data-v-e2726892]{margin-left:52%}.col-no-margin-l-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-9[data-v-e2726892]{margin-left:78%}.col-no-margin-l-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-l-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-e2726892]{display:none!important}.l-visible[data-v-e2726892]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-3[data-v-e2726892]{margin-left:26%}.col-no-margin-xl-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-6[data-v-e2726892]{margin-left:52%}.col-no-margin-xl-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-9[data-v-e2726892]{margin-left:78%}.col-no-margin-xl-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-e2726892]{display:none!important}.xl-visible[data-v-e2726892]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-3[data-v-e2726892]{margin-left:26%}.col-no-margin-xxl-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-6[data-v-e2726892]{margin-left:52%}.col-no-margin-xxl-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-9[data-v-e2726892]{margin-left:78%}.col-no-margin-xxl-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-e2726892]{display:none!important}.xxl-visible[data-v-e2726892]{display:block!important}}.vertical-center[data-v-e2726892]{display:flex;align-items:center}.horizontal-center[data-v-e2726892]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-e2726892]{text-align:right;float:right;justify-content:right}.hidden[data-v-e2726892]{display:none!important}.no-content[data-v-e2726892]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-e2726892],.btn[data-v-e2726892],button[data-v-e2726892]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-e2726892],.btn-default[type=submit][data-v-e2726892],.btn.btn-primary[data-v-e2726892],.btn[type=submit][data-v-e2726892],button.btn-primary[data-v-e2726892],button[type=submit][data-v-e2726892]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-e2726892],input[type=text][data-v-e2726892]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-e2726892]:focus,input[type=text][data-v-e2726892]:focus{border:1px solid #35b870}button[data-v-e2726892],input[data-v-e2726892]{outline:none}input[type=text][data-v-e2726892]:hover,textarea[data-v-e2726892]:hover{border:1px solid #9cdfb0}ul[data-v-e2726892]{margin:0;padding:0;list-style:none}a[data-v-e2726892]{cursor:pointer;text-decoration:none}.input-icon[data-v-e2726892]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-e2726892],input[type=password][data-v-e2726892],input[type=search][data-v-e2726892],input[type=text][data-v-e2726892]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-e2726892]:hover,input[type=password][data-v-e2726892]:hover,input[type=search][data-v-e2726892]:hover,input[type=text][data-v-e2726892]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-e2726892]:focus,input[type=password][data-v-e2726892]:focus,input[type=search][data-v-e2726892]:focus,input[type=text][data-v-e2726892]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-e2726892],input[type=password].with-icon[data-v-e2726892],input[type=search].with-icon[data-v-e2726892],input[type=text].with-icon[data-v-e2726892]{padding-left:.3em}input[type=search][data-v-e2726892],input[type=text][data-v-e2726892]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-e2726892]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-e2726892;-webkit-animation-name:fadeIn-e2726892}.fade-in[data-v-e2726892],.fade-out[data-v-e2726892]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-e2726892]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-e2726892;-webkit-animation-name:fadeOut-e2726892}@-webkit-keyframes fadeIn-e2726892{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-e2726892{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-e2726892{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-e2726892{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-e2726892]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-e2726892]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-e2726892]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.controls[data-v-e2726892]{flex-direction:column;margin-top:2.25em;background:#fff;padding:.5em 1em;border-radius:1em;box-shadow:0 0 2px 2px #ccc}.controls .row[data-v-e2726892],.controls[data-v-e2726892]{width:100%;display:flex;align-items:center}.controls .control[data-v-e2726892]{padding-top:.25em}.controls .icon[data-v-e2726892]{opacity:.7}.controls input[type=color][data-v-e2726892]{width:100%;border:0}.light-controls .row .slider{margin-top:.4em}.col-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-52168252]:first-child{margin-left:0}.col-no-margin-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-52168252]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-52168252]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-52168252]:first-child{margin-left:0}.col-no-margin-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-52168252]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-52168252]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-52168252]:first-child{margin-left:0}.col-no-margin-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-52168252]:first-child{margin-left:26%!important}.col-offset-3[data-v-52168252]:not(first-child){margin-left:30%!important}.col-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-52168252]:first-child{margin-left:0}.col-no-margin-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-52168252]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-52168252]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-52168252]:first-child{margin-left:0}.col-no-margin-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-52168252]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-52168252]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-52168252]:first-child{margin-left:0}.col-no-margin-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-52168252]:first-child{margin-left:52%!important}.col-offset-6[data-v-52168252]:not(first-child){margin-left:56%!important}.col-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-52168252]:first-child{margin-left:0}.col-no-margin-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-52168252]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-52168252]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-52168252]:first-child{margin-left:0}.col-no-margin-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-52168252]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-52168252]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-52168252]:first-child{margin-left:0}.col-no-margin-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-52168252]:first-child{margin-left:78%!important}.col-offset-9[data-v-52168252]:not(first-child){margin-left:82%!important}.col-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-52168252]:first-child{margin-left:0}.col-no-margin-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-52168252]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-52168252]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-52168252]:first-child{margin-left:0}.col-no-margin-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-52168252]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-52168252]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-52168252]:first-child{margin-left:0}.col-offset-s-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-52168252]:first-child{margin-left:0}.col-offset-s-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-52168252]:first-child{margin-left:0}.col-offset-s-3[data-v-52168252]{margin-left:26%}.col-no-margin-s-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-52168252]:first-child{margin-left:0}.col-offset-s-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-52168252]:first-child{margin-left:0}.col-offset-s-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-52168252]:first-child{margin-left:0}.col-offset-s-6[data-v-52168252]{margin-left:52%}.col-no-margin-s-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-52168252]:first-child{margin-left:0}.col-offset-s-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-52168252]:first-child{margin-left:0}.col-offset-s-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-52168252]:first-child{margin-left:0}.col-offset-s-9[data-v-52168252]{margin-left:78%}.col-no-margin-s-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-52168252]:first-child{margin-left:0}.col-offset-s-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-52168252]:first-child{margin-left:0}.col-offset-s-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-s-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-52168252]{display:none!important}.s-visible[data-v-52168252]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-52168252]:first-child{margin-left:0}.col-offset-m-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-52168252]:first-child{margin-left:0}.col-offset-m-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-52168252]:first-child{margin-left:0}.col-offset-m-3[data-v-52168252]{margin-left:26%}.col-no-margin-m-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-52168252]:first-child{margin-left:0}.col-offset-m-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-52168252]:first-child{margin-left:0}.col-offset-m-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-52168252]:first-child{margin-left:0}.col-offset-m-6[data-v-52168252]{margin-left:52%}.col-no-margin-m-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-52168252]:first-child{margin-left:0}.col-offset-m-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-52168252]:first-child{margin-left:0}.col-offset-m-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-52168252]:first-child{margin-left:0}.col-offset-m-9[data-v-52168252]{margin-left:78%}.col-no-margin-m-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-52168252]:first-child{margin-left:0}.col-offset-m-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-52168252]:first-child{margin-left:0}.col-offset-m-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-m-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-52168252]{display:none!important}.m-visible[data-v-52168252]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-52168252]:first-child{margin-left:0}.col-offset-l-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-52168252]:first-child{margin-left:0}.col-offset-l-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-52168252]:first-child{margin-left:0}.col-offset-l-3[data-v-52168252]{margin-left:26%}.col-no-margin-l-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-52168252]:first-child{margin-left:0}.col-offset-l-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-52168252]:first-child{margin-left:0}.col-offset-l-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-52168252]:first-child{margin-left:0}.col-offset-l-6[data-v-52168252]{margin-left:52%}.col-no-margin-l-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-52168252]:first-child{margin-left:0}.col-offset-l-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-52168252]:first-child{margin-left:0}.col-offset-l-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-52168252]:first-child{margin-left:0}.col-offset-l-9[data-v-52168252]{margin-left:78%}.col-no-margin-l-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-52168252]:first-child{margin-left:0}.col-offset-l-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-52168252]:first-child{margin-left:0}.col-offset-l-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-l-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-52168252]{display:none!important}.l-visible[data-v-52168252]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-3[data-v-52168252]{margin-left:26%}.col-no-margin-xl-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-6[data-v-52168252]{margin-left:52%}.col-no-margin-xl-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-9[data-v-52168252]{margin-left:78%}.col-no-margin-xl-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-52168252]{display:none!important}.xl-visible[data-v-52168252]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-3[data-v-52168252]{margin-left:26%}.col-no-margin-xxl-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-6[data-v-52168252]{margin-left:52%}.col-no-margin-xxl-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-9[data-v-52168252]{margin-left:78%}.col-no-margin-xxl-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-52168252]{display:none!important}.xxl-visible[data-v-52168252]{display:block!important}}.vertical-center[data-v-52168252]{display:flex;align-items:center}.horizontal-center[data-v-52168252]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-52168252]{text-align:right;float:right;justify-content:right}.hidden[data-v-52168252]{display:none!important}.no-content[data-v-52168252]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-52168252],.btn[data-v-52168252],button[data-v-52168252]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-52168252],.btn-default[type=submit][data-v-52168252],.btn.btn-primary[data-v-52168252],.btn[type=submit][data-v-52168252],button.btn-primary[data-v-52168252],button[type=submit][data-v-52168252]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-52168252],input[type=text][data-v-52168252]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-52168252]:focus,input[type=text][data-v-52168252]:focus{border:1px solid #35b870}button[data-v-52168252],input[data-v-52168252]{outline:none}input[type=text][data-v-52168252]:hover,textarea[data-v-52168252]:hover{border:1px solid #9cdfb0}ul[data-v-52168252]{margin:0;padding:0;list-style:none}a[data-v-52168252]{cursor:pointer;text-decoration:none}.input-icon[data-v-52168252]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-52168252],input[type=password][data-v-52168252],input[type=search][data-v-52168252],input[type=text][data-v-52168252]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-52168252]:hover,input[type=password][data-v-52168252]:hover,input[type=search][data-v-52168252]:hover,input[type=text][data-v-52168252]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-52168252]:focus,input[type=password][data-v-52168252]:focus,input[type=search][data-v-52168252]:focus,input[type=text][data-v-52168252]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-52168252],input[type=password].with-icon[data-v-52168252],input[type=search].with-icon[data-v-52168252],input[type=text].with-icon[data-v-52168252]{padding-left:.3em}input[type=search][data-v-52168252],input[type=text][data-v-52168252]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-52168252]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-52168252;-webkit-animation-name:fadeIn-52168252}.fade-in[data-v-52168252],.fade-out[data-v-52168252]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-52168252]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-52168252;-webkit-animation-name:fadeOut-52168252}@-webkit-keyframes fadeIn-52168252{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-52168252{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-52168252{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-52168252{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-52168252]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-52168252]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-52168252]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.expanded .name[data-v-52168252]{font-size:1.25em}.col-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-981c5de0]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-981c5de0]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-981c5de0]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-981c5de0]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-981c5de0]:first-child{margin-left:26%!important}.col-offset-3[data-v-981c5de0]:not(first-child){margin-left:30%!important}.col-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-981c5de0]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-981c5de0]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-981c5de0]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-981c5de0]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-981c5de0]:first-child{margin-left:52%!important}.col-offset-6[data-v-981c5de0]:not(first-child){margin-left:56%!important}.col-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-981c5de0]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-981c5de0]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-981c5de0]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-981c5de0]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-981c5de0]:first-child{margin-left:78%!important}.col-offset-9[data-v-981c5de0]:not(first-child){margin-left:82%!important}.col-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-981c5de0]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-981c5de0]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-981c5de0]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-981c5de0]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-1[data-v-981c5de0]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-2[data-v-981c5de0]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-3[data-v-981c5de0]{margin-left:26%}.col-no-margin-s-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-4[data-v-981c5de0]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-5[data-v-981c5de0]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-6[data-v-981c5de0]{margin-left:52%}.col-no-margin-s-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-7[data-v-981c5de0]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-8[data-v-981c5de0]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-9[data-v-981c5de0]{margin-left:78%}.col-no-margin-s-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-10[data-v-981c5de0]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-11[data-v-981c5de0]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-s-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-981c5de0]{display:none!important}.s-visible[data-v-981c5de0]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-1[data-v-981c5de0]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-2[data-v-981c5de0]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-3[data-v-981c5de0]{margin-left:26%}.col-no-margin-m-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-4[data-v-981c5de0]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-5[data-v-981c5de0]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-6[data-v-981c5de0]{margin-left:52%}.col-no-margin-m-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-7[data-v-981c5de0]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-8[data-v-981c5de0]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-9[data-v-981c5de0]{margin-left:78%}.col-no-margin-m-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-10[data-v-981c5de0]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-11[data-v-981c5de0]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-m-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-981c5de0]{display:none!important}.m-visible[data-v-981c5de0]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-1[data-v-981c5de0]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-2[data-v-981c5de0]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-3[data-v-981c5de0]{margin-left:26%}.col-no-margin-l-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-4[data-v-981c5de0]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-5[data-v-981c5de0]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-6[data-v-981c5de0]{margin-left:52%}.col-no-margin-l-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-7[data-v-981c5de0]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-8[data-v-981c5de0]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-9[data-v-981c5de0]{margin-left:78%}.col-no-margin-l-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-10[data-v-981c5de0]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-11[data-v-981c5de0]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-l-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-981c5de0]{display:none!important}.l-visible[data-v-981c5de0]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-1[data-v-981c5de0]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-2[data-v-981c5de0]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-3[data-v-981c5de0]{margin-left:26%}.col-no-margin-xl-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-4[data-v-981c5de0]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-5[data-v-981c5de0]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-6[data-v-981c5de0]{margin-left:52%}.col-no-margin-xl-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-7[data-v-981c5de0]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-8[data-v-981c5de0]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-9[data-v-981c5de0]{margin-left:78%}.col-no-margin-xl-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-10[data-v-981c5de0]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-11[data-v-981c5de0]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-981c5de0]{display:none!important}.xl-visible[data-v-981c5de0]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-1[data-v-981c5de0]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-2[data-v-981c5de0]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-3[data-v-981c5de0]{margin-left:26%}.col-no-margin-xxl-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-4[data-v-981c5de0]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-5[data-v-981c5de0]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-6[data-v-981c5de0]{margin-left:52%}.col-no-margin-xxl-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-7[data-v-981c5de0]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-8[data-v-981c5de0]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-9[data-v-981c5de0]{margin-left:78%}.col-no-margin-xxl-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-10[data-v-981c5de0]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-11[data-v-981c5de0]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-981c5de0]{display:none!important}.xxl-visible[data-v-981c5de0]{display:block!important}}.vertical-center[data-v-981c5de0]{display:flex;align-items:center}.horizontal-center[data-v-981c5de0]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-981c5de0]{text-align:right;float:right;justify-content:right}.hidden[data-v-981c5de0]{display:none!important}.no-content[data-v-981c5de0]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-981c5de0],.btn[data-v-981c5de0],button[data-v-981c5de0]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-981c5de0],.btn-default[type=submit][data-v-981c5de0],.btn.btn-primary[data-v-981c5de0],.btn[type=submit][data-v-981c5de0],button.btn-primary[data-v-981c5de0],button[type=submit][data-v-981c5de0]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-981c5de0],input[type=text][data-v-981c5de0]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-981c5de0]:focus,input[type=text][data-v-981c5de0]:focus{border:1px solid #35b870}button[data-v-981c5de0],input[data-v-981c5de0]{outline:none}input[type=text][data-v-981c5de0]:hover,textarea[data-v-981c5de0]:hover{border:1px solid #9cdfb0}ul[data-v-981c5de0]{margin:0;padding:0;list-style:none}a[data-v-981c5de0]{cursor:pointer;text-decoration:none}.input-icon[data-v-981c5de0]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-981c5de0],input[type=password][data-v-981c5de0],input[type=search][data-v-981c5de0],input[type=text][data-v-981c5de0]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-981c5de0]:hover,input[type=password][data-v-981c5de0]:hover,input[type=search][data-v-981c5de0]:hover,input[type=text][data-v-981c5de0]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-981c5de0]:focus,input[type=password][data-v-981c5de0]:focus,input[type=search][data-v-981c5de0]:focus,input[type=text][data-v-981c5de0]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-981c5de0],input[type=password].with-icon[data-v-981c5de0],input[type=search].with-icon[data-v-981c5de0],input[type=text].with-icon[data-v-981c5de0]{padding-left:.3em}input[type=search][data-v-981c5de0],input[type=text][data-v-981c5de0]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-981c5de0]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-981c5de0;-webkit-animation-name:fadeIn-981c5de0}.fade-in[data-v-981c5de0],.fade-out[data-v-981c5de0]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-981c5de0]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-981c5de0;-webkit-animation-name:fadeOut-981c5de0}@-webkit-keyframes fadeIn-981c5de0{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-981c5de0{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-981c5de0{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-981c5de0{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-981c5de0]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-981c5de0]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-981c5de0]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.range-wrapper[data-v-981c5de0]{width:100%;position:relative}.range-wrapper input[type=range][data-v-981c5de0]{width:100%;position:absolute;left:0;bottom:0;outline:none;-webkit-appearance:none;-o-appearance:none;-moz-appearance:none;appearance:none}.range-wrapper input[type=range][data-v-981c5de0]:focus,.range-wrapper input[type=range][data-v-981c5de0]:hover{outline:none;border:0}.range-wrapper input[type=range][data-v-981c5de0]::-webkit-slider-runnable-track{width:100%;height:.75em;cursor:pointer;animate:.2s;background:#e4e4e4;border-radius:.5em;box-shadow:inset 1px 0 3px 0 #a5a2a2;border:0}.range-wrapper input[type=range][data-v-981c5de0]::-moz-range-track{width:100%;height:.75em;cursor:pointer;animate:.2s;background:#e4e4e4;border-radius:.5em;box-shadow:inset 1px 0 3px 0 #a5a2a2;border:0}.range-wrapper input[type=range][data-v-981c5de0]::-ms-track{width:100%;height:.75em;cursor:pointer;animate:.2s;background:transparent;border-color:transparent;color:transparent}.range-wrapper input[type=range][data-v-981c5de0]::-ms-fill-lower,.range-wrapper input[type=range][data-v-981c5de0]::-ms-fill-upper{background:rgba(0,215,80,.5);border-radius:1px;box-shadow:none;border:0}.range-wrapper input[type=range][data-v-981c5de0]::-webkit-slider-thumb{width:1.25em;height:1.25em;background:#37d560;position:relative;z-index:2;border-radius:50%;box-shadow:1px 0 2px 0 #475c40;cursor:pointer;-webkit-appearance:none;-o-appearance:none;appearance:none;margin-top:-.25em}.range-wrapper input[type=range][data-v-981c5de0]::-moz-range-thumb{width:1.25em;height:1.25em;background:#37d560;position:relative;z-index:2;border-radius:50%;box-shadow:1px 0 2px 0 #475c40;cursor:pointer}.range-wrapper input[type=range][data-v-981c5de0]::-ms-thumb{width:1.25em;height:1.25em;background:#37d560;position:relative;z-index:2;border-radius:50%;box-shadow:1px 0 2px 0 #475c40;cursor:pointer}.col-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-1739aaba]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-1739aaba]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-1739aaba]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-1739aaba]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-1739aaba]:first-child{margin-left:26%!important}.col-offset-3[data-v-1739aaba]:not(first-child){margin-left:30%!important}.col-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-1739aaba]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-1739aaba]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-1739aaba]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-1739aaba]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-1739aaba]:first-child{margin-left:52%!important}.col-offset-6[data-v-1739aaba]:not(first-child){margin-left:56%!important}.col-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-1739aaba]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-1739aaba]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-1739aaba]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-1739aaba]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-1739aaba]:first-child{margin-left:78%!important}.col-offset-9[data-v-1739aaba]:not(first-child){margin-left:82%!important}.col-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-1739aaba]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-1739aaba]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-1739aaba]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-1739aaba]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-s-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-s-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-s-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-s-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-1739aaba]{display:none!important}.s-visible[data-v-1739aaba]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-m-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-m-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-m-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-m-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-1739aaba]{display:none!important}.m-visible[data-v-1739aaba]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-l-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-l-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-l-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-l-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-1739aaba]{display:none!important}.l-visible[data-v-1739aaba]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-xl-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-xl-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-xl-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-1739aaba]{display:none!important}.xl-visible[data-v-1739aaba]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-xxl-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-xxl-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-xxl-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-1739aaba]{display:none!important}.xxl-visible[data-v-1739aaba]{display:block!important}}.vertical-center[data-v-1739aaba]{display:flex;align-items:center}.horizontal-center[data-v-1739aaba]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-1739aaba]{text-align:right;float:right;justify-content:right}.hidden[data-v-1739aaba]{display:none!important}.no-content[data-v-1739aaba]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-1739aaba],.btn[data-v-1739aaba],button[data-v-1739aaba]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-1739aaba],.btn-default[type=submit][data-v-1739aaba],.btn.btn-primary[data-v-1739aaba],.btn[type=submit][data-v-1739aaba],button.btn-primary[data-v-1739aaba],button[type=submit][data-v-1739aaba]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-1739aaba],input[type=text][data-v-1739aaba]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-1739aaba]:focus,input[type=text][data-v-1739aaba]:focus{border:1px solid #35b870}button[data-v-1739aaba],input[data-v-1739aaba]{outline:none}input[type=text][data-v-1739aaba]:hover,textarea[data-v-1739aaba]:hover{border:1px solid #9cdfb0}ul[data-v-1739aaba]{margin:0;padding:0;list-style:none}a[data-v-1739aaba]{cursor:pointer;text-decoration:none}.input-icon[data-v-1739aaba]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-1739aaba],input[type=password][data-v-1739aaba],input[type=search][data-v-1739aaba],input[type=text][data-v-1739aaba]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-1739aaba]:hover,input[type=password][data-v-1739aaba]:hover,input[type=search][data-v-1739aaba]:hover,input[type=text][data-v-1739aaba]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-1739aaba]:focus,input[type=password][data-v-1739aaba]:focus,input[type=search][data-v-1739aaba]:focus,input[type=text][data-v-1739aaba]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-1739aaba],input[type=password].with-icon[data-v-1739aaba],input[type=search].with-icon[data-v-1739aaba],input[type=text].with-icon[data-v-1739aaba]{padding-left:.3em}input[type=search][data-v-1739aaba],input[type=text][data-v-1739aaba]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-1739aaba]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-1739aaba;-webkit-animation-name:fadeIn-1739aaba}.fade-in[data-v-1739aaba],.fade-out[data-v-1739aaba]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-1739aaba]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-1739aaba;-webkit-animation-name:fadeOut-1739aaba}@-webkit-keyframes fadeIn-1739aaba{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-1739aaba{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-1739aaba{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-1739aaba{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-1739aaba]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-1739aaba]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-1739aaba]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.animation-container[data-v-1739aaba]{width:100%}.animation-container .animation-header[data-v-1739aaba],.animation-container .animation[data-v-1739aaba]{padding-bottom:.5em;margin-bottom:.5em;box-shadow:0 3px 2px -1px silver}.controls[data-v-1739aaba]{width:100%;display:flex;flex-direction:column;align-items:center;margin-top:2.25em;background:#fff;padding:.5em 1em;border-radius:1em;box-shadow:0 0 2px 2px #ccc}.controls .selector[data-v-1739aaba]{width:100%}.controls .row[data-v-1739aaba]{width:100%;display:flex;align-items:center;padding:.5em 0}.controls .row>div[data-v-1739aaba]:last-child{text-align:right}.controls .control[data-v-1739aaba]{padding-top:.25em}.controls .lights[data-v-1739aaba]{padding-top:.5em;width:100%}.controls .lights .row[data-v-1739aaba]{display:flex;align-items:center}.controls .lights label[data-v-1739aaba]{width:100%}.light-group-container{width:100%;min-height:100%}.light-group-container .row.panel-row{flex-direction:column}.light-group-container .row.panel-row.expanded,.light-group-container .row.panel-row.selected{background:#c8ffd0}.light-group-container .header{padding:.5em!important;display:flex;align-items:center}.light-group-container .header .back-btn{border:0;background:none}.light-group-container .header .back-btn:hover{border:0;color:#35b870}.light-group-container .header .name{text-align:center}.light-group-container .header .name.selected{color:#32b646}.light-group-container .header .name:hover{color:#35b870}.light-group-container .view-selector{width:100%;border-radius:0}.light-group-container .view-selector button{width:33.3%;padding:1.5em;text-align:left;opacity:.8;box-shadow:1px 0 1px 1px #ddd;border-right:0}.light-group-container .view-selector button.selected{background:#c8ffd0}.light-group-container .view-selector button:hover{background:#bef6da}.light-group-container .view-selector .icon{width:100%;text-align:center;font-size:1.2em}.light-group-container .group-controls{margin:0;padding:1em;background-color:#e4eae8;border-radius:0 0 1em 1em}.light-group-container .group-controls .controls{margin:0;padding:1em}.col-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-781dd72c]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-781dd72c]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-781dd72c]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-781dd72c]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-781dd72c]:first-child{margin-left:26%!important}.col-offset-3[data-v-781dd72c]:not(first-child){margin-left:30%!important}.col-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-781dd72c]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-781dd72c]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-781dd72c]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-781dd72c]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-781dd72c]:first-child{margin-left:52%!important}.col-offset-6[data-v-781dd72c]:not(first-child){margin-left:56%!important}.col-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-781dd72c]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-781dd72c]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-781dd72c]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-781dd72c]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-781dd72c]:first-child{margin-left:78%!important}.col-offset-9[data-v-781dd72c]:not(first-child){margin-left:82%!important}.col-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-781dd72c]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-781dd72c]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-781dd72c]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-781dd72c]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-s-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-s-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-s-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-s-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-781dd72c]{display:none!important}.s-visible[data-v-781dd72c]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-m-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-m-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-m-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-m-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-781dd72c]{display:none!important}.m-visible[data-v-781dd72c]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-l-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-l-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-l-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-l-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-781dd72c]{display:none!important}.l-visible[data-v-781dd72c]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-xl-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-xl-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-xl-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-781dd72c]{display:none!important}.xl-visible[data-v-781dd72c]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-xxl-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-xxl-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-xxl-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-781dd72c]{display:none!important}.xxl-visible[data-v-781dd72c]{display:block!important}}.vertical-center[data-v-781dd72c]{display:flex;align-items:center}.horizontal-center[data-v-781dd72c]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-781dd72c]{text-align:right;float:right;justify-content:right}.hidden[data-v-781dd72c]{display:none!important}.no-content[data-v-781dd72c]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-781dd72c],.btn[data-v-781dd72c],button[data-v-781dd72c]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-781dd72c],.btn-default[type=submit][data-v-781dd72c],.btn.btn-primary[data-v-781dd72c],.btn[type=submit][data-v-781dd72c],button.btn-primary[data-v-781dd72c],button[type=submit][data-v-781dd72c]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-781dd72c],input[type=text][data-v-781dd72c]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-781dd72c]:focus,input[type=text][data-v-781dd72c]:focus{border:1px solid #35b870}button[data-v-781dd72c],input[data-v-781dd72c]{outline:none}input[type=text][data-v-781dd72c]:hover,textarea[data-v-781dd72c]:hover{border:1px solid #9cdfb0}ul[data-v-781dd72c]{margin:0;padding:0;list-style:none}a[data-v-781dd72c]{cursor:pointer;text-decoration:none}.input-icon[data-v-781dd72c]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-781dd72c],input[type=password][data-v-781dd72c],input[type=search][data-v-781dd72c],input[type=text][data-v-781dd72c]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-781dd72c]:hover,input[type=password][data-v-781dd72c]:hover,input[type=search][data-v-781dd72c]:hover,input[type=text][data-v-781dd72c]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-781dd72c]:focus,input[type=password][data-v-781dd72c]:focus,input[type=search][data-v-781dd72c]:focus,input[type=text][data-v-781dd72c]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-781dd72c],input[type=password].with-icon[data-v-781dd72c],input[type=search].with-icon[data-v-781dd72c],input[type=text].with-icon[data-v-781dd72c]{padding-left:.3em}input[type=search][data-v-781dd72c],input[type=text][data-v-781dd72c]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-781dd72c]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-781dd72c;-webkit-animation-name:fadeIn-781dd72c}.fade-in[data-v-781dd72c],.fade-out[data-v-781dd72c]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-781dd72c]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-781dd72c;-webkit-animation-name:fadeOut-781dd72c}@-webkit-keyframes fadeIn-781dd72c{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-781dd72c{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-781dd72c{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-781dd72c{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-781dd72c]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-781dd72c]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-781dd72c]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.plugin[data-v-781dd72c]{width:100%;height:100%;display:flex}.panel[data-v-781dd72c]{width:100%;height:100%;box-shadow:none;overflow:auto}.col-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1:first-child{margin-left:0}.col-no-margin-1{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1:first-child{margin-left:8.6666666667%!important}.col-offset-1:not(first-child){margin-left:12.6666666667%!important}.col-2{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2:first-child{margin-left:0}.col-no-margin-2{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2:first-child{margin-left:17.3333333333%!important}.col-offset-2:not(first-child){margin-left:21.3333333333%!important}.col-3{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3:first-child{margin-left:0}.col-no-margin-3{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3:first-child{margin-left:26%!important}.col-offset-3:not(first-child){margin-left:30%!important}.col-4{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4:first-child{margin-left:0}.col-no-margin-4{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4:first-child{margin-left:34.6666666667%!important}.col-offset-4:not(first-child){margin-left:38.6666666667%!important}.col-5{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5:first-child{margin-left:0}.col-no-margin-5{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5:first-child{margin-left:43.3333333334%!important}.col-offset-5:not(first-child){margin-left:47.3333333334%!important}.col-6{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6:first-child{margin-left:0}.col-no-margin-6{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6:first-child{margin-left:52%!important}.col-offset-6:not(first-child){margin-left:56%!important}.col-7{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7:first-child{margin-left:0}.col-no-margin-7{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7:first-child{margin-left:60.6666666667%!important}.col-offset-7:not(first-child){margin-left:64.6666666667%!important}.col-8{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8:first-child{margin-left:0}.col-no-margin-8{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8:first-child{margin-left:69.3333333334%!important}.col-offset-8:not(first-child){margin-left:73.3333333334%!important}.col-9{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9:first-child{margin-left:0}.col-no-margin-9{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9:first-child{margin-left:78%!important}.col-offset-9:not(first-child){margin-left:82%!important}.col-10{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10:first-child{margin-left:0}.col-no-margin-10{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10:first-child{margin-left:86.6666666667%!important}.col-offset-10:not(first-child){margin-left:90.6666666667%!important}.col-11{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11:first-child{margin-left:0}.col-no-margin-11{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11:first-child{margin-left:95.3333333334%!important}.col-offset-11:not(first-child){margin-left:99.3333333334%!important}.col-12{float:left;box-sizing:border-box;width:100%}.col-12,.col-12:first-child{margin-left:0}.col-no-margin-12{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1:first-child{margin-left:0}.col-offset-s-1{margin-left:8.6666666667%}.col-no-margin-s-1{width:8.3333333333%}.col-no-margin-s-1,.col-s-2{float:left;box-sizing:border-box}.col-s-2{width:13.3333333333%;margin-left:4%}.col-s-2:first-child{margin-left:0}.col-offset-s-2{margin-left:17.3333333333%}.col-no-margin-s-2{width:16.6666666667%}.col-no-margin-s-2,.col-s-3{float:left;box-sizing:border-box}.col-s-3{width:22%;margin-left:4%}.col-s-3:first-child{margin-left:0}.col-offset-s-3{margin-left:26%}.col-no-margin-s-3{width:25%}.col-no-margin-s-3,.col-s-4{float:left;box-sizing:border-box}.col-s-4{width:30.6666666667%;margin-left:4%}.col-s-4:first-child{margin-left:0}.col-offset-s-4{margin-left:34.6666666667%}.col-no-margin-s-4{width:33.3333333333%}.col-no-margin-s-4,.col-s-5{float:left;box-sizing:border-box}.col-s-5{width:39.3333333334%;margin-left:4%}.col-s-5:first-child{margin-left:0}.col-offset-s-5{margin-left:43.3333333334%}.col-no-margin-s-5{width:41.6666666667%}.col-no-margin-s-5,.col-s-6{float:left;box-sizing:border-box}.col-s-6{width:48%;margin-left:4%}.col-s-6:first-child{margin-left:0}.col-offset-s-6{margin-left:52%}.col-no-margin-s-6{width:50%}.col-no-margin-s-6,.col-s-7{float:left;box-sizing:border-box}.col-s-7{width:56.6666666667%;margin-left:4%}.col-s-7:first-child{margin-left:0}.col-offset-s-7{margin-left:60.6666666667%}.col-no-margin-s-7{width:58.3333333333%}.col-no-margin-s-7,.col-s-8{float:left;box-sizing:border-box}.col-s-8{width:65.3333333334%;margin-left:4%}.col-s-8:first-child{margin-left:0}.col-offset-s-8{margin-left:69.3333333334%}.col-no-margin-s-8{width:66.6666666667%}.col-no-margin-s-8,.col-s-9{float:left;box-sizing:border-box}.col-s-9{width:74%;margin-left:4%}.col-s-9:first-child{margin-left:0}.col-offset-s-9{margin-left:78%}.col-no-margin-s-9{width:75%}.col-no-margin-s-9,.col-s-10{float:left;box-sizing:border-box}.col-s-10{width:82.6666666667%;margin-left:4%}.col-s-10:first-child{margin-left:0}.col-offset-s-10{margin-left:86.6666666667%}.col-no-margin-s-10{width:83.3333333333%}.col-no-margin-s-10,.col-s-11{float:left;box-sizing:border-box}.col-s-11{width:91.3333333334%;margin-left:4%}.col-s-11:first-child{margin-left:0}.col-offset-s-11{margin-left:95.3333333334%}.col-no-margin-s-11{width:91.6666666667%}.col-no-margin-s-11,.col-s-12{float:left;box-sizing:border-box}.col-s-12{width:100%}.col-s-12,.col-s-12:first-child{margin-left:0}.col-no-margin-s-12{float:left;box-sizing:border-box;width:100%}.s-hidden{display:none!important}.s-visible{display:block!important}}@media screen and (min-width:769px){.col-m-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1:first-child{margin-left:0}.col-offset-m-1{margin-left:8.6666666667%}.col-no-margin-m-1{width:8.3333333333%}.col-m-2,.col-no-margin-m-1{float:left;box-sizing:border-box}.col-m-2{width:13.3333333333%;margin-left:4%}.col-m-2:first-child{margin-left:0}.col-offset-m-2{margin-left:17.3333333333%}.col-no-margin-m-2{width:16.6666666667%}.col-m-3,.col-no-margin-m-2{float:left;box-sizing:border-box}.col-m-3{width:22%;margin-left:4%}.col-m-3:first-child{margin-left:0}.col-offset-m-3{margin-left:26%}.col-no-margin-m-3{width:25%}.col-m-4,.col-no-margin-m-3{float:left;box-sizing:border-box}.col-m-4{width:30.6666666667%;margin-left:4%}.col-m-4:first-child{margin-left:0}.col-offset-m-4{margin-left:34.6666666667%}.col-no-margin-m-4{width:33.3333333333%}.col-m-5,.col-no-margin-m-4{float:left;box-sizing:border-box}.col-m-5{width:39.3333333334%;margin-left:4%}.col-m-5:first-child{margin-left:0}.col-offset-m-5{margin-left:43.3333333334%}.col-no-margin-m-5{width:41.6666666667%}.col-m-6,.col-no-margin-m-5{float:left;box-sizing:border-box}.col-m-6{width:48%;margin-left:4%}.col-m-6:first-child{margin-left:0}.col-offset-m-6{margin-left:52%}.col-no-margin-m-6{width:50%}.col-m-7,.col-no-margin-m-6{float:left;box-sizing:border-box}.col-m-7{width:56.6666666667%;margin-left:4%}.col-m-7:first-child{margin-left:0}.col-offset-m-7{margin-left:60.6666666667%}.col-no-margin-m-7{width:58.3333333333%}.col-m-8,.col-no-margin-m-7{float:left;box-sizing:border-box}.col-m-8{width:65.3333333334%;margin-left:4%}.col-m-8:first-child{margin-left:0}.col-offset-m-8{margin-left:69.3333333334%}.col-no-margin-m-8{width:66.6666666667%}.col-m-9,.col-no-margin-m-8{float:left;box-sizing:border-box}.col-m-9{width:74%;margin-left:4%}.col-m-9:first-child{margin-left:0}.col-offset-m-9{margin-left:78%}.col-no-margin-m-9{width:75%}.col-m-10,.col-no-margin-m-9{float:left;box-sizing:border-box}.col-m-10{width:82.6666666667%;margin-left:4%}.col-m-10:first-child{margin-left:0}.col-offset-m-10{margin-left:86.6666666667%}.col-no-margin-m-10{width:83.3333333333%}.col-m-11,.col-no-margin-m-10{float:left;box-sizing:border-box}.col-m-11{width:91.3333333334%;margin-left:4%}.col-m-11:first-child{margin-left:0}.col-offset-m-11{margin-left:95.3333333334%}.col-no-margin-m-11{width:91.6666666667%}.col-m-12,.col-no-margin-m-11{float:left;box-sizing:border-box}.col-m-12{width:100%}.col-m-12,.col-m-12:first-child{margin-left:0}.col-no-margin-m-12{float:left;box-sizing:border-box;width:100%}.m-hidden{display:none!important}.m-visible{display:block!important}}@media screen and (min-width:1024px){.col-l-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1:first-child{margin-left:0}.col-offset-l-1{margin-left:8.6666666667%}.col-no-margin-l-1{width:8.3333333333%}.col-l-2,.col-no-margin-l-1{float:left;box-sizing:border-box}.col-l-2{width:13.3333333333%;margin-left:4%}.col-l-2:first-child{margin-left:0}.col-offset-l-2{margin-left:17.3333333333%}.col-no-margin-l-2{width:16.6666666667%}.col-l-3,.col-no-margin-l-2{float:left;box-sizing:border-box}.col-l-3{width:22%;margin-left:4%}.col-l-3:first-child{margin-left:0}.col-offset-l-3{margin-left:26%}.col-no-margin-l-3{width:25%}.col-l-4,.col-no-margin-l-3{float:left;box-sizing:border-box}.col-l-4{width:30.6666666667%;margin-left:4%}.col-l-4:first-child{margin-left:0}.col-offset-l-4{margin-left:34.6666666667%}.col-no-margin-l-4{width:33.3333333333%}.col-l-5,.col-no-margin-l-4{float:left;box-sizing:border-box}.col-l-5{width:39.3333333334%;margin-left:4%}.col-l-5:first-child{margin-left:0}.col-offset-l-5{margin-left:43.3333333334%}.col-no-margin-l-5{width:41.6666666667%}.col-l-6,.col-no-margin-l-5{float:left;box-sizing:border-box}.col-l-6{width:48%;margin-left:4%}.col-l-6:first-child{margin-left:0}.col-offset-l-6{margin-left:52%}.col-no-margin-l-6{width:50%}.col-l-7,.col-no-margin-l-6{float:left;box-sizing:border-box}.col-l-7{width:56.6666666667%;margin-left:4%}.col-l-7:first-child{margin-left:0}.col-offset-l-7{margin-left:60.6666666667%}.col-no-margin-l-7{width:58.3333333333%}.col-l-8,.col-no-margin-l-7{float:left;box-sizing:border-box}.col-l-8{width:65.3333333334%;margin-left:4%}.col-l-8:first-child{margin-left:0}.col-offset-l-8{margin-left:69.3333333334%}.col-no-margin-l-8{width:66.6666666667%}.col-l-9,.col-no-margin-l-8{float:left;box-sizing:border-box}.col-l-9{width:74%;margin-left:4%}.col-l-9:first-child{margin-left:0}.col-offset-l-9{margin-left:78%}.col-no-margin-l-9{width:75%}.col-l-10,.col-no-margin-l-9{float:left;box-sizing:border-box}.col-l-10{width:82.6666666667%;margin-left:4%}.col-l-10:first-child{margin-left:0}.col-offset-l-10{margin-left:86.6666666667%}.col-no-margin-l-10{width:83.3333333333%}.col-l-11,.col-no-margin-l-10{float:left;box-sizing:border-box}.col-l-11{width:91.3333333334%;margin-left:4%}.col-l-11:first-child{margin-left:0}.col-offset-l-11{margin-left:95.3333333334%}.col-no-margin-l-11{width:91.6666666667%}.col-l-12,.col-no-margin-l-11{float:left;box-sizing:border-box}.col-l-12{width:100%}.col-l-12,.col-l-12:first-child{margin-left:0}.col-no-margin-l-12{float:left;box-sizing:border-box;width:100%}.l-hidden{display:none!important}.l-visible{display:block!important}}@media screen and (min-width:1216px){.col-xl-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1:first-child{margin-left:0}.col-offset-xl-1{margin-left:8.6666666667%}.col-no-margin-xl-1{width:8.3333333333%}.col-no-margin-xl-1,.col-xl-2{float:left;box-sizing:border-box}.col-xl-2{width:13.3333333333%;margin-left:4%}.col-xl-2:first-child{margin-left:0}.col-offset-xl-2{margin-left:17.3333333333%}.col-no-margin-xl-2{width:16.6666666667%}.col-no-margin-xl-2,.col-xl-3{float:left;box-sizing:border-box}.col-xl-3{width:22%;margin-left:4%}.col-xl-3:first-child{margin-left:0}.col-offset-xl-3{margin-left:26%}.col-no-margin-xl-3{width:25%}.col-no-margin-xl-3,.col-xl-4{float:left;box-sizing:border-box}.col-xl-4{width:30.6666666667%;margin-left:4%}.col-xl-4:first-child{margin-left:0}.col-offset-xl-4{margin-left:34.6666666667%}.col-no-margin-xl-4{width:33.3333333333%}.col-no-margin-xl-4,.col-xl-5{float:left;box-sizing:border-box}.col-xl-5{width:39.3333333334%;margin-left:4%}.col-xl-5:first-child{margin-left:0}.col-offset-xl-5{margin-left:43.3333333334%}.col-no-margin-xl-5{width:41.6666666667%}.col-no-margin-xl-5,.col-xl-6{float:left;box-sizing:border-box}.col-xl-6{width:48%;margin-left:4%}.col-xl-6:first-child{margin-left:0}.col-offset-xl-6{margin-left:52%}.col-no-margin-xl-6{width:50%}.col-no-margin-xl-6,.col-xl-7{float:left;box-sizing:border-box}.col-xl-7{width:56.6666666667%;margin-left:4%}.col-xl-7:first-child{margin-left:0}.col-offset-xl-7{margin-left:60.6666666667%}.col-no-margin-xl-7{width:58.3333333333%}.col-no-margin-xl-7,.col-xl-8{float:left;box-sizing:border-box}.col-xl-8{width:65.3333333334%;margin-left:4%}.col-xl-8:first-child{margin-left:0}.col-offset-xl-8{margin-left:69.3333333334%}.col-no-margin-xl-8{width:66.6666666667%}.col-no-margin-xl-8,.col-xl-9{float:left;box-sizing:border-box}.col-xl-9{width:74%;margin-left:4%}.col-xl-9:first-child{margin-left:0}.col-offset-xl-9{margin-left:78%}.col-no-margin-xl-9{width:75%}.col-no-margin-xl-9,.col-xl-10{float:left;box-sizing:border-box}.col-xl-10{width:82.6666666667%;margin-left:4%}.col-xl-10:first-child{margin-left:0}.col-offset-xl-10{margin-left:86.6666666667%}.col-no-margin-xl-10{width:83.3333333333%}.col-no-margin-xl-10,.col-xl-11{float:left;box-sizing:border-box}.col-xl-11{width:91.3333333334%;margin-left:4%}.col-xl-11:first-child{margin-left:0}.col-offset-xl-11{margin-left:95.3333333334%}.col-no-margin-xl-11{width:91.6666666667%}.col-no-margin-xl-11,.col-xl-12{float:left;box-sizing:border-box}.col-xl-12{width:100%}.col-xl-12,.col-xl-12:first-child{margin-left:0}.col-no-margin-xl-12{float:left;box-sizing:border-box;width:100%}.xl-hidden{display:none!important}.xl-visible{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1:first-child{margin-left:0}.col-offset-xxl-1{margin-left:8.6666666667%}.col-no-margin-xxl-1{width:8.3333333333%}.col-no-margin-xxl-1,.col-xxl-2{float:left;box-sizing:border-box}.col-xxl-2{width:13.3333333333%;margin-left:4%}.col-xxl-2:first-child{margin-left:0}.col-offset-xxl-2{margin-left:17.3333333333%}.col-no-margin-xxl-2{width:16.6666666667%}.col-no-margin-xxl-2,.col-xxl-3{float:left;box-sizing:border-box}.col-xxl-3{width:22%;margin-left:4%}.col-xxl-3:first-child{margin-left:0}.col-offset-xxl-3{margin-left:26%}.col-no-margin-xxl-3{width:25%}.col-no-margin-xxl-3,.col-xxl-4{float:left;box-sizing:border-box}.col-xxl-4{width:30.6666666667%;margin-left:4%}.col-xxl-4:first-child{margin-left:0}.col-offset-xxl-4{margin-left:34.6666666667%}.col-no-margin-xxl-4{width:33.3333333333%}.col-no-margin-xxl-4,.col-xxl-5{float:left;box-sizing:border-box}.col-xxl-5{width:39.3333333334%;margin-left:4%}.col-xxl-5:first-child{margin-left:0}.col-offset-xxl-5{margin-left:43.3333333334%}.col-no-margin-xxl-5{width:41.6666666667%}.col-no-margin-xxl-5,.col-xxl-6{float:left;box-sizing:border-box}.col-xxl-6{width:48%;margin-left:4%}.col-xxl-6:first-child{margin-left:0}.col-offset-xxl-6{margin-left:52%}.col-no-margin-xxl-6{width:50%}.col-no-margin-xxl-6,.col-xxl-7{float:left;box-sizing:border-box}.col-xxl-7{width:56.6666666667%;margin-left:4%}.col-xxl-7:first-child{margin-left:0}.col-offset-xxl-7{margin-left:60.6666666667%}.col-no-margin-xxl-7{width:58.3333333333%}.col-no-margin-xxl-7,.col-xxl-8{float:left;box-sizing:border-box}.col-xxl-8{width:65.3333333334%;margin-left:4%}.col-xxl-8:first-child{margin-left:0}.col-offset-xxl-8{margin-left:69.3333333334%}.col-no-margin-xxl-8{width:66.6666666667%}.col-no-margin-xxl-8,.col-xxl-9{float:left;box-sizing:border-box}.col-xxl-9{width:74%;margin-left:4%}.col-xxl-9:first-child{margin-left:0}.col-offset-xxl-9{margin-left:78%}.col-no-margin-xxl-9{float:left;box-sizing:border-box;width:75%}.col-xxl-10{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10:first-child{margin-left:0}.col-offset-xxl-10{margin-left:86.6666666667%}.col-no-margin-xxl-10{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11:first-child{margin-left:0}.col-offset-xxl-11{margin-left:95.3333333334%}.col-no-margin-xxl-11{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12{float:left;box-sizing:border-box;width:100%}.col-xxl-12,.col-xxl-12:first-child{margin-left:0}.col-no-margin-xxl-12{float:left;box-sizing:border-box;width:100%}.xxl-hidden{display:none!important}.xxl-visible{display:block!important}}.vertical-center{display:flex;align-items:center}.horizontal-center{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right{text-align:right;float:right;justify-content:right}.hidden{display:none!important}.no-content{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn,.btn-default,button{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary,.btn-default[type=submit],.btn.btn-primary,.btn[type=submit],button.btn-primary,button[type=submit]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password],input[type=text]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password]:focus,input[type=text]:focus{border:1px solid #35b870}button,input{outline:none}input[type=text]:hover,textarea:hover{border:1px solid #9cdfb0}ul{margin:0;padding:0;list-style:none}a{cursor:pointer;text-decoration:none}.input-icon{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number],input[type=password],input[type=search],input[type=text]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number]:hover,input[type=password]:hover,input[type=search]:hover,input[type=text]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon,input[type=password].with-icon,input[type=search].with-icon,input[type=text].with-icon{padding-left:.3em}input[type=search],input[type=text]{border-radius:1em;padding:.25em .5em}.fade-in{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn;-webkit-animation-name:fadeIn}.fade-in,.fade-out{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut;-webkit-animation-name:fadeOut}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi:before{background-size:1em 1em;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-kodi:before,.fa.fa-plex:before{content:" ";width:1em;height:1em;display:inline-block}.fa.fa-plex:before{background-size:1em 1em;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.lights-plugin .menu-panel ul li:not(.header){padding:1.5em 1em} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/css/1474.ab4985b3.css b/platypush/backend/http/webapp/dist/static/css/1474.ab4985b3.css new file mode 100644 index 000000000..4a99c3364 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/css/1474.ab4985b3.css @@ -0,0 +1 @@ +.col-1[data-v-8e097228]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-8e097228]:first-child{margin-left:0}.col-no-margin-1[data-v-8e097228]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-8e097228]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-8e097228]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-8e097228]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-8e097228]:first-child{margin-left:0}.col-no-margin-2[data-v-8e097228]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-8e097228]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-8e097228]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-8e097228]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-8e097228]:first-child{margin-left:0}.col-no-margin-3[data-v-8e097228]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-8e097228]:first-child{margin-left:26%!important}.col-offset-3[data-v-8e097228]:not(first-child){margin-left:30%!important}.col-4[data-v-8e097228]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-8e097228]:first-child{margin-left:0}.col-no-margin-4[data-v-8e097228]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-8e097228]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-8e097228]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-8e097228]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-8e097228]:first-child{margin-left:0}.col-no-margin-5[data-v-8e097228]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-8e097228]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-8e097228]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-8e097228]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-8e097228]:first-child{margin-left:0}.col-no-margin-6[data-v-8e097228]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-8e097228]:first-child{margin-left:52%!important}.col-offset-6[data-v-8e097228]:not(first-child){margin-left:56%!important}.col-7[data-v-8e097228]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-8e097228]:first-child{margin-left:0}.col-no-margin-7[data-v-8e097228]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-8e097228]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-8e097228]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-8e097228]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-8e097228]:first-child{margin-left:0}.col-no-margin-8[data-v-8e097228]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-8e097228]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-8e097228]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-8e097228]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-8e097228]:first-child{margin-left:0}.col-no-margin-9[data-v-8e097228]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-8e097228]:first-child{margin-left:78%!important}.col-offset-9[data-v-8e097228]:not(first-child){margin-left:82%!important}.col-10[data-v-8e097228]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-8e097228]:first-child{margin-left:0}.col-no-margin-10[data-v-8e097228]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-8e097228]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-8e097228]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-8e097228]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-8e097228]:first-child{margin-left:0}.col-no-margin-11[data-v-8e097228]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-8e097228]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-8e097228]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-8e097228]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-8e097228]:first-child{margin-left:0}.col-no-margin-12[data-v-8e097228]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-8e097228]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-8e097228]:first-child{margin-left:0}.col-offset-s-1[data-v-8e097228]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-8e097228]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-8e097228]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-8e097228]:first-child{margin-left:0}.col-offset-s-2[data-v-8e097228]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-8e097228]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-8e097228]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-8e097228]:first-child{margin-left:0}.col-offset-s-3[data-v-8e097228]{margin-left:26%}.col-no-margin-s-3[data-v-8e097228]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-8e097228]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-8e097228]:first-child{margin-left:0}.col-offset-s-4[data-v-8e097228]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-8e097228]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-8e097228]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-8e097228]:first-child{margin-left:0}.col-offset-s-5[data-v-8e097228]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-8e097228]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-8e097228]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-8e097228]:first-child{margin-left:0}.col-offset-s-6[data-v-8e097228]{margin-left:52%}.col-no-margin-s-6[data-v-8e097228]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-8e097228]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-8e097228]:first-child{margin-left:0}.col-offset-s-7[data-v-8e097228]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-8e097228]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-8e097228]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-8e097228]:first-child{margin-left:0}.col-offset-s-8[data-v-8e097228]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-8e097228]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-8e097228]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-8e097228]:first-child{margin-left:0}.col-offset-s-9[data-v-8e097228]{margin-left:78%}.col-no-margin-s-9[data-v-8e097228]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-8e097228]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-8e097228]:first-child{margin-left:0}.col-offset-s-10[data-v-8e097228]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-8e097228]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-8e097228]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-8e097228]:first-child{margin-left:0}.col-offset-s-11[data-v-8e097228]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-8e097228]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-8e097228]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-8e097228]:first-child{margin-left:0}.col-no-margin-s-12[data-v-8e097228]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-8e097228]{display:none!important}.s-visible[data-v-8e097228]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-8e097228]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-8e097228]:first-child{margin-left:0}.col-offset-m-1[data-v-8e097228]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-8e097228]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-8e097228]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-8e097228]:first-child{margin-left:0}.col-offset-m-2[data-v-8e097228]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-8e097228]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-8e097228]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-8e097228]:first-child{margin-left:0}.col-offset-m-3[data-v-8e097228]{margin-left:26%}.col-no-margin-m-3[data-v-8e097228]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-8e097228]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-8e097228]:first-child{margin-left:0}.col-offset-m-4[data-v-8e097228]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-8e097228]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-8e097228]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-8e097228]:first-child{margin-left:0}.col-offset-m-5[data-v-8e097228]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-8e097228]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-8e097228]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-8e097228]:first-child{margin-left:0}.col-offset-m-6[data-v-8e097228]{margin-left:52%}.col-no-margin-m-6[data-v-8e097228]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-8e097228]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-8e097228]:first-child{margin-left:0}.col-offset-m-7[data-v-8e097228]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-8e097228]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-8e097228]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-8e097228]:first-child{margin-left:0}.col-offset-m-8[data-v-8e097228]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-8e097228]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-8e097228]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-8e097228]:first-child{margin-left:0}.col-offset-m-9[data-v-8e097228]{margin-left:78%}.col-no-margin-m-9[data-v-8e097228]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-8e097228]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-8e097228]:first-child{margin-left:0}.col-offset-m-10[data-v-8e097228]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-8e097228]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-8e097228]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-8e097228]:first-child{margin-left:0}.col-offset-m-11[data-v-8e097228]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-8e097228]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-8e097228]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-8e097228]:first-child{margin-left:0}.col-no-margin-m-12[data-v-8e097228]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-8e097228]{display:none!important}.m-visible[data-v-8e097228]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-8e097228]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-8e097228]:first-child{margin-left:0}.col-offset-l-1[data-v-8e097228]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-8e097228]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-8e097228]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-8e097228]:first-child{margin-left:0}.col-offset-l-2[data-v-8e097228]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-8e097228]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-8e097228]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-8e097228]:first-child{margin-left:0}.col-offset-l-3[data-v-8e097228]{margin-left:26%}.col-no-margin-l-3[data-v-8e097228]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-8e097228]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-8e097228]:first-child{margin-left:0}.col-offset-l-4[data-v-8e097228]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-8e097228]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-8e097228]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-8e097228]:first-child{margin-left:0}.col-offset-l-5[data-v-8e097228]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-8e097228]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-8e097228]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-8e097228]:first-child{margin-left:0}.col-offset-l-6[data-v-8e097228]{margin-left:52%}.col-no-margin-l-6[data-v-8e097228]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-8e097228]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-8e097228]:first-child{margin-left:0}.col-offset-l-7[data-v-8e097228]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-8e097228]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-8e097228]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-8e097228]:first-child{margin-left:0}.col-offset-l-8[data-v-8e097228]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-8e097228]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-8e097228]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-8e097228]:first-child{margin-left:0}.col-offset-l-9[data-v-8e097228]{margin-left:78%}.col-no-margin-l-9[data-v-8e097228]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-8e097228]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-8e097228]:first-child{margin-left:0}.col-offset-l-10[data-v-8e097228]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-8e097228]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-8e097228]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-8e097228]:first-child{margin-left:0}.col-offset-l-11[data-v-8e097228]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-8e097228]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-8e097228]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-8e097228]:first-child{margin-left:0}.col-no-margin-l-12[data-v-8e097228]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-8e097228]{display:none!important}.l-visible[data-v-8e097228]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-8e097228]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-8e097228]:first-child{margin-left:0}.col-offset-xl-1[data-v-8e097228]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-8e097228]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-8e097228]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-8e097228]:first-child{margin-left:0}.col-offset-xl-2[data-v-8e097228]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-8e097228]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-8e097228]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-8e097228]:first-child{margin-left:0}.col-offset-xl-3[data-v-8e097228]{margin-left:26%}.col-no-margin-xl-3[data-v-8e097228]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-8e097228]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-8e097228]:first-child{margin-left:0}.col-offset-xl-4[data-v-8e097228]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-8e097228]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-8e097228]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-8e097228]:first-child{margin-left:0}.col-offset-xl-5[data-v-8e097228]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-8e097228]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-8e097228]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-8e097228]:first-child{margin-left:0}.col-offset-xl-6[data-v-8e097228]{margin-left:52%}.col-no-margin-xl-6[data-v-8e097228]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-8e097228]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-8e097228]:first-child{margin-left:0}.col-offset-xl-7[data-v-8e097228]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-8e097228]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-8e097228]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-8e097228]:first-child{margin-left:0}.col-offset-xl-8[data-v-8e097228]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-8e097228]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-8e097228]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-8e097228]:first-child{margin-left:0}.col-offset-xl-9[data-v-8e097228]{margin-left:78%}.col-no-margin-xl-9[data-v-8e097228]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-8e097228]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-8e097228]:first-child{margin-left:0}.col-offset-xl-10[data-v-8e097228]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-8e097228]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-8e097228]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-8e097228]:first-child{margin-left:0}.col-offset-xl-11[data-v-8e097228]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-8e097228]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-8e097228]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-8e097228]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-8e097228]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-8e097228]{display:none!important}.xl-visible[data-v-8e097228]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-8e097228]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-8e097228]:first-child{margin-left:0}.col-offset-xxl-1[data-v-8e097228]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-8e097228]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-8e097228]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-8e097228]:first-child{margin-left:0}.col-offset-xxl-2[data-v-8e097228]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-8e097228]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-8e097228]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-8e097228]:first-child{margin-left:0}.col-offset-xxl-3[data-v-8e097228]{margin-left:26%}.col-no-margin-xxl-3[data-v-8e097228]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-8e097228]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-8e097228]:first-child{margin-left:0}.col-offset-xxl-4[data-v-8e097228]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-8e097228]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-8e097228]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-8e097228]:first-child{margin-left:0}.col-offset-xxl-5[data-v-8e097228]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-8e097228]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-8e097228]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-8e097228]:first-child{margin-left:0}.col-offset-xxl-6[data-v-8e097228]{margin-left:52%}.col-no-margin-xxl-6[data-v-8e097228]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-8e097228]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-8e097228]:first-child{margin-left:0}.col-offset-xxl-7[data-v-8e097228]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-8e097228]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-8e097228]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-8e097228]:first-child{margin-left:0}.col-offset-xxl-8[data-v-8e097228]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-8e097228]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-8e097228]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-8e097228]:first-child{margin-left:0}.col-offset-xxl-9[data-v-8e097228]{margin-left:78%}.col-no-margin-xxl-9[data-v-8e097228]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-8e097228]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-8e097228]:first-child{margin-left:0}.col-offset-xxl-10[data-v-8e097228]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-8e097228]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-8e097228]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-8e097228]:first-child{margin-left:0}.col-offset-xxl-11[data-v-8e097228]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-8e097228]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-8e097228]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-8e097228]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-8e097228]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-8e097228]{display:none!important}.xxl-visible[data-v-8e097228]{display:block!important}}.vertical-center[data-v-8e097228]{display:flex;align-items:center}.horizontal-center[data-v-8e097228]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-8e097228]{text-align:right;float:right;justify-content:right}.hidden[data-v-8e097228]{display:none!important}.no-content[data-v-8e097228]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-8e097228],.btn[data-v-8e097228],button[data-v-8e097228]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-8e097228],.btn-default[type=submit][data-v-8e097228],.btn.btn-primary[data-v-8e097228],.btn[type=submit][data-v-8e097228],button.btn-primary[data-v-8e097228],button[type=submit][data-v-8e097228]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-8e097228],input[type=text][data-v-8e097228]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-8e097228]:focus,input[type=text][data-v-8e097228]:focus{border:1px solid #35b870}button[data-v-8e097228],input[data-v-8e097228]{outline:none}input[type=text][data-v-8e097228]:hover,textarea[data-v-8e097228]:hover{border:1px solid #9cdfb0}ul[data-v-8e097228]{margin:0;padding:0;list-style:none}a[data-v-8e097228]{cursor:pointer;text-decoration:none}.input-icon[data-v-8e097228]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-8e097228],input[type=password][data-v-8e097228],input[type=search][data-v-8e097228],input[type=text][data-v-8e097228]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-8e097228]:hover,input[type=password][data-v-8e097228]:hover,input[type=search][data-v-8e097228]:hover,input[type=text][data-v-8e097228]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-8e097228]:focus,input[type=password][data-v-8e097228]:focus,input[type=search][data-v-8e097228]:focus,input[type=text][data-v-8e097228]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-8e097228],input[type=password].with-icon[data-v-8e097228],input[type=search].with-icon[data-v-8e097228],input[type=text].with-icon[data-v-8e097228]{padding-left:.3em}input[type=search][data-v-8e097228],input[type=text][data-v-8e097228]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-8e097228]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-8e097228;-webkit-animation-name:fadeIn-8e097228}.fade-in[data-v-8e097228],.fade-out[data-v-8e097228]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-8e097228]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-8e097228;-webkit-animation-name:fadeOut-8e097228}@-webkit-keyframes fadeIn-8e097228{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-8e097228{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-8e097228{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-8e097228{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-8e097228]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-8e097228]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-8e097228]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.power-switch[data-v-8e097228]{position:relative;transition:transform .3s;transform:scale(var(--scale,1)) translateZ(0)}.power-switch[data-v-8e097228]:active{--scale:.96}.power-switch.disabled[data-v-8e097228]{opacity:.6}.power-switch input[data-v-8e097228]{display:none}.power-switch input+label[data-v-8e097228]{border-radius:1em;display:block;cursor:pointer;position:relative;transition:box-shadow .4s}.power-switch input+label[data-v-8e097228]:before{content:"";position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;background:none;opacity:var(--gradient,0);transition:opacity .4s}.power-switch input+label .switch[data-v-8e097228]{position:relative;display:inline-block;vertical-align:top;height:1.4em;width:2.5em;border-radius:1em;background:#e4e4e4;box-shadow:inset 1px 0 3px 0 #a5a2a2}.power-switch input+label .switch[data-v-8e097228]:before{content:"";position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;background:rgba(0,215,80,.5);opacity:var(--gradient,0);transition:opacity .4s}.power-switch input+label .switch .dot[data-v-8e097228]{background:#d4d8d6;position:absolute;width:1.5em;height:1.5em;border-radius:50%;box-shadow:1px 0 3.5px 0 #475c40;left:-.25em;top:-.05em;transform:translateX(var(--offset,0));transition:transform .4s,box-shadow .4s}.power-switch input+label .switch .dot[data-v-8e097228]:before{content:"";position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;background:#fff;opacity:var(--gradient,0);transition:opacity .4s}.power-switch input+label span[data-v-8e097228]{line-height:2em;font-size:1.2em;color:var(--text,#646b8c);font-weight:500;display:inline-block;vertical-align:top;position:relative;margin-left:.5em;transition:color .4s}.power-switch input+label+span[data-v-8e097228]{text-align:center;display:block;position:absolute;left:0;right:0;top:100%;opacity:0;font-size:1em;font-weight:500;color:#e4e4e4;transform:translateY(.2em);transition:opacity .4s,transform .4s}.power-switch input:not(:checked)+label[data-v-8e097228]{pointer-events:none}.power-switch input:not(:checked)+label+span[data-v-8e097228]{opacity:1;transform:translateY(.6em)}.power-switch input:checked+label[data-v-8e097228]{--offset:1.5em;--text:$slider-progress-bg;--gradient:1;--shadow:rgba(0,39,6,.1)} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/css/7373.7031257c.css b/platypush/backend/http/webapp/dist/static/css/7373.7031257c.css deleted file mode 100644 index aa6964e48..000000000 --- a/platypush/backend/http/webapp/dist/static/css/7373.7031257c.css +++ /dev/null @@ -1 +0,0 @@ -.col-1[data-v-8fae7678]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-8fae7678]:first-child{margin-left:0}.col-no-margin-1[data-v-8fae7678]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-8fae7678]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-8fae7678]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-8fae7678]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-8fae7678]:first-child{margin-left:0}.col-no-margin-2[data-v-8fae7678]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-8fae7678]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-8fae7678]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-8fae7678]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-8fae7678]:first-child{margin-left:0}.col-no-margin-3[data-v-8fae7678]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-8fae7678]:first-child{margin-left:26%!important}.col-offset-3[data-v-8fae7678]:not(first-child){margin-left:30%!important}.col-4[data-v-8fae7678]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-8fae7678]:first-child{margin-left:0}.col-no-margin-4[data-v-8fae7678]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-8fae7678]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-8fae7678]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-8fae7678]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-8fae7678]:first-child{margin-left:0}.col-no-margin-5[data-v-8fae7678]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-8fae7678]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-8fae7678]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-8fae7678]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-8fae7678]:first-child{margin-left:0}.col-no-margin-6[data-v-8fae7678]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-8fae7678]:first-child{margin-left:52%!important}.col-offset-6[data-v-8fae7678]:not(first-child){margin-left:56%!important}.col-7[data-v-8fae7678]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-8fae7678]:first-child{margin-left:0}.col-no-margin-7[data-v-8fae7678]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-8fae7678]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-8fae7678]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-8fae7678]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-8fae7678]:first-child{margin-left:0}.col-no-margin-8[data-v-8fae7678]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-8fae7678]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-8fae7678]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-8fae7678]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-8fae7678]:first-child{margin-left:0}.col-no-margin-9[data-v-8fae7678]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-8fae7678]:first-child{margin-left:78%!important}.col-offset-9[data-v-8fae7678]:not(first-child){margin-left:82%!important}.col-10[data-v-8fae7678]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-8fae7678]:first-child{margin-left:0}.col-no-margin-10[data-v-8fae7678]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-8fae7678]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-8fae7678]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-8fae7678]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-8fae7678]:first-child{margin-left:0}.col-no-margin-11[data-v-8fae7678]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-8fae7678]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-8fae7678]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-8fae7678]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-8fae7678]:first-child{margin-left:0}.col-no-margin-12[data-v-8fae7678]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-8fae7678]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-8fae7678]:first-child{margin-left:0}.col-offset-s-1[data-v-8fae7678]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-8fae7678]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-8fae7678]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-8fae7678]:first-child{margin-left:0}.col-offset-s-2[data-v-8fae7678]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-8fae7678]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-8fae7678]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-8fae7678]:first-child{margin-left:0}.col-offset-s-3[data-v-8fae7678]{margin-left:26%}.col-no-margin-s-3[data-v-8fae7678]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-8fae7678]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-8fae7678]:first-child{margin-left:0}.col-offset-s-4[data-v-8fae7678]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-8fae7678]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-8fae7678]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-8fae7678]:first-child{margin-left:0}.col-offset-s-5[data-v-8fae7678]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-8fae7678]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-8fae7678]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-8fae7678]:first-child{margin-left:0}.col-offset-s-6[data-v-8fae7678]{margin-left:52%}.col-no-margin-s-6[data-v-8fae7678]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-8fae7678]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-8fae7678]:first-child{margin-left:0}.col-offset-s-7[data-v-8fae7678]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-8fae7678]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-8fae7678]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-8fae7678]:first-child{margin-left:0}.col-offset-s-8[data-v-8fae7678]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-8fae7678]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-8fae7678]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-8fae7678]:first-child{margin-left:0}.col-offset-s-9[data-v-8fae7678]{margin-left:78%}.col-no-margin-s-9[data-v-8fae7678]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-8fae7678]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-8fae7678]:first-child{margin-left:0}.col-offset-s-10[data-v-8fae7678]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-8fae7678]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-8fae7678]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-8fae7678]:first-child{margin-left:0}.col-offset-s-11[data-v-8fae7678]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-8fae7678]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-8fae7678]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-8fae7678]:first-child{margin-left:0}.col-no-margin-s-12[data-v-8fae7678]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-8fae7678]{display:none!important}.s-visible[data-v-8fae7678]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-8fae7678]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-8fae7678]:first-child{margin-left:0}.col-offset-m-1[data-v-8fae7678]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-8fae7678]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-8fae7678]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-8fae7678]:first-child{margin-left:0}.col-offset-m-2[data-v-8fae7678]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-8fae7678]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-8fae7678]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-8fae7678]:first-child{margin-left:0}.col-offset-m-3[data-v-8fae7678]{margin-left:26%}.col-no-margin-m-3[data-v-8fae7678]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-8fae7678]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-8fae7678]:first-child{margin-left:0}.col-offset-m-4[data-v-8fae7678]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-8fae7678]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-8fae7678]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-8fae7678]:first-child{margin-left:0}.col-offset-m-5[data-v-8fae7678]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-8fae7678]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-8fae7678]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-8fae7678]:first-child{margin-left:0}.col-offset-m-6[data-v-8fae7678]{margin-left:52%}.col-no-margin-m-6[data-v-8fae7678]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-8fae7678]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-8fae7678]:first-child{margin-left:0}.col-offset-m-7[data-v-8fae7678]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-8fae7678]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-8fae7678]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-8fae7678]:first-child{margin-left:0}.col-offset-m-8[data-v-8fae7678]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-8fae7678]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-8fae7678]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-8fae7678]:first-child{margin-left:0}.col-offset-m-9[data-v-8fae7678]{margin-left:78%}.col-no-margin-m-9[data-v-8fae7678]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-8fae7678]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-8fae7678]:first-child{margin-left:0}.col-offset-m-10[data-v-8fae7678]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-8fae7678]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-8fae7678]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-8fae7678]:first-child{margin-left:0}.col-offset-m-11[data-v-8fae7678]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-8fae7678]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-8fae7678]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-8fae7678]:first-child{margin-left:0}.col-no-margin-m-12[data-v-8fae7678]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-8fae7678]{display:none!important}.m-visible[data-v-8fae7678]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-8fae7678]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-8fae7678]:first-child{margin-left:0}.col-offset-l-1[data-v-8fae7678]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-8fae7678]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-8fae7678]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-8fae7678]:first-child{margin-left:0}.col-offset-l-2[data-v-8fae7678]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-8fae7678]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-8fae7678]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-8fae7678]:first-child{margin-left:0}.col-offset-l-3[data-v-8fae7678]{margin-left:26%}.col-no-margin-l-3[data-v-8fae7678]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-8fae7678]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-8fae7678]:first-child{margin-left:0}.col-offset-l-4[data-v-8fae7678]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-8fae7678]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-8fae7678]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-8fae7678]:first-child{margin-left:0}.col-offset-l-5[data-v-8fae7678]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-8fae7678]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-8fae7678]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-8fae7678]:first-child{margin-left:0}.col-offset-l-6[data-v-8fae7678]{margin-left:52%}.col-no-margin-l-6[data-v-8fae7678]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-8fae7678]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-8fae7678]:first-child{margin-left:0}.col-offset-l-7[data-v-8fae7678]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-8fae7678]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-8fae7678]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-8fae7678]:first-child{margin-left:0}.col-offset-l-8[data-v-8fae7678]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-8fae7678]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-8fae7678]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-8fae7678]:first-child{margin-left:0}.col-offset-l-9[data-v-8fae7678]{margin-left:78%}.col-no-margin-l-9[data-v-8fae7678]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-8fae7678]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-8fae7678]:first-child{margin-left:0}.col-offset-l-10[data-v-8fae7678]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-8fae7678]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-8fae7678]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-8fae7678]:first-child{margin-left:0}.col-offset-l-11[data-v-8fae7678]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-8fae7678]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-8fae7678]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-8fae7678]:first-child{margin-left:0}.col-no-margin-l-12[data-v-8fae7678]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-8fae7678]{display:none!important}.l-visible[data-v-8fae7678]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-8fae7678]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xl-1[data-v-8fae7678]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-8fae7678]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-8fae7678]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xl-2[data-v-8fae7678]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-8fae7678]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-8fae7678]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xl-3[data-v-8fae7678]{margin-left:26%}.col-no-margin-xl-3[data-v-8fae7678]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-8fae7678]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xl-4[data-v-8fae7678]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-8fae7678]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-8fae7678]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xl-5[data-v-8fae7678]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-8fae7678]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-8fae7678]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xl-6[data-v-8fae7678]{margin-left:52%}.col-no-margin-xl-6[data-v-8fae7678]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-8fae7678]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xl-7[data-v-8fae7678]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-8fae7678]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-8fae7678]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xl-8[data-v-8fae7678]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-8fae7678]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-8fae7678]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xl-9[data-v-8fae7678]{margin-left:78%}.col-no-margin-xl-9[data-v-8fae7678]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-8fae7678]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xl-10[data-v-8fae7678]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-8fae7678]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-8fae7678]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xl-11[data-v-8fae7678]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-8fae7678]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-8fae7678]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-8fae7678]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-8fae7678]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-8fae7678]{display:none!important}.xl-visible[data-v-8fae7678]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-8fae7678]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xxl-1[data-v-8fae7678]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-8fae7678]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-8fae7678]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xxl-2[data-v-8fae7678]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-8fae7678]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-8fae7678]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xxl-3[data-v-8fae7678]{margin-left:26%}.col-no-margin-xxl-3[data-v-8fae7678]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-8fae7678]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xxl-4[data-v-8fae7678]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-8fae7678]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-8fae7678]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xxl-5[data-v-8fae7678]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-8fae7678]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-8fae7678]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xxl-6[data-v-8fae7678]{margin-left:52%}.col-no-margin-xxl-6[data-v-8fae7678]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-8fae7678]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xxl-7[data-v-8fae7678]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-8fae7678]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-8fae7678]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xxl-8[data-v-8fae7678]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-8fae7678]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-8fae7678]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xxl-9[data-v-8fae7678]{margin-left:78%}.col-no-margin-xxl-9[data-v-8fae7678]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-8fae7678]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xxl-10[data-v-8fae7678]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-8fae7678]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-8fae7678]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-8fae7678]:first-child{margin-left:0}.col-offset-xxl-11[data-v-8fae7678]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-8fae7678]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-8fae7678]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-8fae7678]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-8fae7678]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-8fae7678]{display:none!important}.xxl-visible[data-v-8fae7678]{display:block!important}}.vertical-center[data-v-8fae7678]{display:flex;align-items:center}.horizontal-center[data-v-8fae7678]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-8fae7678]{text-align:right;float:right;justify-content:right}.hidden[data-v-8fae7678]{display:none!important}.no-content[data-v-8fae7678]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-8fae7678],.btn[data-v-8fae7678],button[data-v-8fae7678]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-8fae7678],.btn-default[type=submit][data-v-8fae7678],.btn.btn-primary[data-v-8fae7678],.btn[type=submit][data-v-8fae7678],button.btn-primary[data-v-8fae7678],button[type=submit][data-v-8fae7678]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-8fae7678],input[type=text][data-v-8fae7678]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-8fae7678]:focus,input[type=text][data-v-8fae7678]:focus{border:1px solid #35b870}button[data-v-8fae7678],input[data-v-8fae7678]{outline:none}input[type=text][data-v-8fae7678]:hover,textarea[data-v-8fae7678]:hover{border:1px solid #9cdfb0}ul[data-v-8fae7678]{margin:0;padding:0;list-style:none}a[data-v-8fae7678]{cursor:pointer;text-decoration:none}.input-icon[data-v-8fae7678]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-8fae7678],input[type=password][data-v-8fae7678],input[type=search][data-v-8fae7678],input[type=text][data-v-8fae7678]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-8fae7678]:hover,input[type=password][data-v-8fae7678]:hover,input[type=search][data-v-8fae7678]:hover,input[type=text][data-v-8fae7678]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-8fae7678]:focus,input[type=password][data-v-8fae7678]:focus,input[type=search][data-v-8fae7678]:focus,input[type=text][data-v-8fae7678]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-8fae7678],input[type=password].with-icon[data-v-8fae7678],input[type=search].with-icon[data-v-8fae7678],input[type=text].with-icon[data-v-8fae7678]{padding-left:.3em}input[type=search][data-v-8fae7678],input[type=text][data-v-8fae7678]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-8fae7678]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-8fae7678;-webkit-animation-name:fadeIn-8fae7678}.fade-in[data-v-8fae7678],.fade-out[data-v-8fae7678]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-8fae7678]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-8fae7678;-webkit-animation-name:fadeOut-8fae7678}@-webkit-keyframes fadeIn-8fae7678{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-8fae7678{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-8fae7678{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-8fae7678{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-8fae7678]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-8fae7678]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-8fae7678]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.power-switch[data-v-8fae7678]{position:relative;transition:transform .3s;transform:scale(var(--scale,1)) translateZ(0)}.power-switch[data-v-8fae7678]:active{--scale:.96}.power-switch.disabled[data-v-8fae7678]{opacity:.6}.power-switch input[data-v-8fae7678]{display:none}.power-switch input+label[data-v-8fae7678]{border-radius:1em;display:block;cursor:pointer;position:relative;transition:box-shadow .4s}.power-switch input+label[data-v-8fae7678]:before{content:"";position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;background:none;opacity:var(--gradient,0);transition:opacity .4s}.power-switch input+label .switch[data-v-8fae7678]{position:relative;display:inline-block;vertical-align:top;height:1.4em;width:2.5em;border-radius:1em;background:#e0e8e0;box-shadow:inset 0 0 2px 1px #c8c8c8}.power-switch input+label .switch[data-v-8fae7678]:before{content:"";position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;background:linear-gradient(90deg,#4fef97,#27ee5e);opacity:var(--gradient,0);transition:opacity .4s}.power-switch input+label .switch .dot[data-v-8fae7678]{background:#d4d8d6;position:absolute;width:1.5em;height:1.5em;border-radius:50%;box-shadow:inset 0 0 2px 1px #d0d0d0;left:-.25em;top:-.05em;transform:translateX(var(--offset,0));transition:transform .4s,box-shadow .4s}.power-switch input+label .switch .dot[data-v-8fae7678]:before{content:"";position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;background:#fff;box-shadow:inset 0 0 2px 1px #d0d0d0;opacity:var(--gradient,0);transition:opacity .4s}.power-switch input+label span[data-v-8fae7678]{line-height:2em;font-size:1.2em;color:var(--text,#646b8c);font-weight:500;display:inline-block;vertical-align:top;position:relative;margin-left:.5em;transition:color .4s}.power-switch input+label+span[data-v-8fae7678]{text-align:center;display:block;position:absolute;left:0;right:0;top:100%;opacity:0;font-size:1em;font-weight:500;color:#a6accd;transform:translateY(.2em);transition:opacity .4s,transform .4s}.power-switch input:not(:checked)+label[data-v-8fae7678]{pointer-events:none}.power-switch input:not(:checked)+label+span[data-v-8fae7678]{opacity:1;transform:translateY(.6em)}.power-switch input:checked+label[data-v-8fae7678]{--offset:1.5em;--text:#406046;--gradient:1;--shadow:rgba(0,39,6,.1)} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/css/747.b63ad2b2.css b/platypush/backend/http/webapp/dist/static/css/747.b63ad2b2.css new file mode 100644 index 000000000..7fb0a1996 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/css/747.b63ad2b2.css @@ -0,0 +1 @@ +.menu-panel{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;background:#e0eae8;padding-top:2em}.menu-panel .content{background:#fff;border-radius:15px;box-shadow:0 0 2px 2px #ccc;border:0}.menu-panel .content .panel-row{display:flex;margin:0!important;padding:1em;box-shadow:1px 0 1px 1px #ddd;cursor:pointer;border:0;letter-spacing:.05em}.menu-panel .content .panel-row:hover{background:#bef6da}.menu-panel .content .panel-row:first-child{border-radius:15px 15px 0 0;box-shadow:2px 0 1px -2px #ddd}.menu-panel .content .panel-row:last-child{border-radius:0 0 15px 15px;box-shadow:-1px 0 1px 0 #ddd}.menu-panel .content .header{background:#dde5e1;font-weight:700;box-shadow:0 0 1px 1px silver}.menu-panel .content .header:hover{background:#dde5e1}@media screen and (max-width:1024px){.menu-panel{padding-top:0}.menu-panel .content{min-width:100%}.menu-panel .content .row:first-child,.menu-panel .content .row:last-child{border-radius:0}}@media screen and (min-width:1024px){.menu-panel .content{min-width:75%}}@media screen and (min-width:1216px){.menu-panel .content{min-width:50%}}@media screen and (min-width:1408px){.menu-panel .content{min-width:35%}}.col-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-42318a2b]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-42318a2b]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-42318a2b]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-42318a2b]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-42318a2b]:first-child{margin-left:26%!important}.col-offset-3[data-v-42318a2b]:not(first-child){margin-left:30%!important}.col-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-42318a2b]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-42318a2b]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-42318a2b]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-42318a2b]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-42318a2b]:first-child{margin-left:52%!important}.col-offset-6[data-v-42318a2b]:not(first-child){margin-left:56%!important}.col-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-42318a2b]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-42318a2b]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-42318a2b]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-42318a2b]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-42318a2b]:first-child{margin-left:78%!important}.col-offset-9[data-v-42318a2b]:not(first-child){margin-left:82%!important}.col-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-42318a2b]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-42318a2b]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-42318a2b]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-42318a2b]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-s-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-s-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-s-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-s-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-42318a2b]{display:none!important}.s-visible[data-v-42318a2b]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-m-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-m-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-m-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-m-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-42318a2b]{display:none!important}.m-visible[data-v-42318a2b]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-l-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-l-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-l-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-l-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-42318a2b]{display:none!important}.l-visible[data-v-42318a2b]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-xl-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-xl-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-xl-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-42318a2b]{display:none!important}.xl-visible[data-v-42318a2b]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-xxl-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-xxl-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-xxl-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-42318a2b]{display:none!important}.xxl-visible[data-v-42318a2b]{display:block!important}}.vertical-center[data-v-42318a2b]{display:flex;align-items:center}.horizontal-center[data-v-42318a2b]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-42318a2b]{text-align:right;float:right;justify-content:right}.hidden[data-v-42318a2b]{display:none!important}.no-content[data-v-42318a2b]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-42318a2b],.btn[data-v-42318a2b],button[data-v-42318a2b]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-42318a2b],.btn-default[type=submit][data-v-42318a2b],.btn.btn-primary[data-v-42318a2b],.btn[type=submit][data-v-42318a2b],button.btn-primary[data-v-42318a2b],button[type=submit][data-v-42318a2b]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-42318a2b],input[type=text][data-v-42318a2b]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-42318a2b]:focus,input[type=text][data-v-42318a2b]:focus{border:1px solid #35b870}button[data-v-42318a2b],input[data-v-42318a2b]{outline:none}input[type=text][data-v-42318a2b]:hover,textarea[data-v-42318a2b]:hover{border:1px solid #9cdfb0}ul[data-v-42318a2b]{margin:0;padding:0;list-style:none}a[data-v-42318a2b]{cursor:pointer;text-decoration:none}.input-icon[data-v-42318a2b]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-42318a2b],input[type=password][data-v-42318a2b],input[type=search][data-v-42318a2b],input[type=text][data-v-42318a2b]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-42318a2b]:hover,input[type=password][data-v-42318a2b]:hover,input[type=search][data-v-42318a2b]:hover,input[type=text][data-v-42318a2b]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-42318a2b]:focus,input[type=password][data-v-42318a2b]:focus,input[type=search][data-v-42318a2b]:focus,input[type=text][data-v-42318a2b]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-42318a2b],input[type=password].with-icon[data-v-42318a2b],input[type=search].with-icon[data-v-42318a2b],input[type=text].with-icon[data-v-42318a2b]{padding-left:.3em}input[type=search][data-v-42318a2b],input[type=text][data-v-42318a2b]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-42318a2b]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-42318a2b;-webkit-animation-name:fadeIn-42318a2b}.fade-in[data-v-42318a2b],.fade-out[data-v-42318a2b]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-42318a2b]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-42318a2b;-webkit-animation-name:fadeOut-42318a2b}@-webkit-keyframes fadeIn-42318a2b{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-42318a2b{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-42318a2b{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-42318a2b{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-42318a2b]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-42318a2b]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-42318a2b]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.header[data-v-42318a2b]{display:flex;align-items:center;padding-top:.75em!important;padding-bottom:.75em!important}.header .icon[data-v-42318a2b]{margin-left:.5em}.header .name[data-v-42318a2b]{text-align:center}.group[data-v-42318a2b]{display:flex;align-items:center}.col-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-e2726892]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-e2726892]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-e2726892]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-e2726892]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-e2726892]:first-child{margin-left:26%!important}.col-offset-3[data-v-e2726892]:not(first-child){margin-left:30%!important}.col-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-e2726892]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-e2726892]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-e2726892]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-e2726892]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-e2726892]:first-child{margin-left:52%!important}.col-offset-6[data-v-e2726892]:not(first-child){margin-left:56%!important}.col-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-e2726892]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-e2726892]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-e2726892]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-e2726892]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-e2726892]:first-child{margin-left:78%!important}.col-offset-9[data-v-e2726892]:not(first-child){margin-left:82%!important}.col-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-e2726892]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-e2726892]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-e2726892]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-e2726892]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-3[data-v-e2726892]{margin-left:26%}.col-no-margin-s-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-6[data-v-e2726892]{margin-left:52%}.col-no-margin-s-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-9[data-v-e2726892]{margin-left:78%}.col-no-margin-s-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-s-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-e2726892]{display:none!important}.s-visible[data-v-e2726892]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-3[data-v-e2726892]{margin-left:26%}.col-no-margin-m-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-6[data-v-e2726892]{margin-left:52%}.col-no-margin-m-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-9[data-v-e2726892]{margin-left:78%}.col-no-margin-m-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-m-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-e2726892]{display:none!important}.m-visible[data-v-e2726892]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-3[data-v-e2726892]{margin-left:26%}.col-no-margin-l-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-6[data-v-e2726892]{margin-left:52%}.col-no-margin-l-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-9[data-v-e2726892]{margin-left:78%}.col-no-margin-l-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-l-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-e2726892]{display:none!important}.l-visible[data-v-e2726892]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-3[data-v-e2726892]{margin-left:26%}.col-no-margin-xl-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-6[data-v-e2726892]{margin-left:52%}.col-no-margin-xl-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-9[data-v-e2726892]{margin-left:78%}.col-no-margin-xl-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-e2726892]{display:none!important}.xl-visible[data-v-e2726892]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-3[data-v-e2726892]{margin-left:26%}.col-no-margin-xxl-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-6[data-v-e2726892]{margin-left:52%}.col-no-margin-xxl-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-9[data-v-e2726892]{margin-left:78%}.col-no-margin-xxl-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-e2726892]{display:none!important}.xxl-visible[data-v-e2726892]{display:block!important}}.vertical-center[data-v-e2726892]{display:flex;align-items:center}.horizontal-center[data-v-e2726892]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-e2726892]{text-align:right;float:right;justify-content:right}.hidden[data-v-e2726892]{display:none!important}.no-content[data-v-e2726892]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-e2726892],.btn[data-v-e2726892],button[data-v-e2726892]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-e2726892],.btn-default[type=submit][data-v-e2726892],.btn.btn-primary[data-v-e2726892],.btn[type=submit][data-v-e2726892],button.btn-primary[data-v-e2726892],button[type=submit][data-v-e2726892]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-e2726892],input[type=text][data-v-e2726892]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-e2726892]:focus,input[type=text][data-v-e2726892]:focus{border:1px solid #35b870}button[data-v-e2726892],input[data-v-e2726892]{outline:none}input[type=text][data-v-e2726892]:hover,textarea[data-v-e2726892]:hover{border:1px solid #9cdfb0}ul[data-v-e2726892]{margin:0;padding:0;list-style:none}a[data-v-e2726892]{cursor:pointer;text-decoration:none}.input-icon[data-v-e2726892]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-e2726892],input[type=password][data-v-e2726892],input[type=search][data-v-e2726892],input[type=text][data-v-e2726892]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-e2726892]:hover,input[type=password][data-v-e2726892]:hover,input[type=search][data-v-e2726892]:hover,input[type=text][data-v-e2726892]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-e2726892]:focus,input[type=password][data-v-e2726892]:focus,input[type=search][data-v-e2726892]:focus,input[type=text][data-v-e2726892]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-e2726892],input[type=password].with-icon[data-v-e2726892],input[type=search].with-icon[data-v-e2726892],input[type=text].with-icon[data-v-e2726892]{padding-left:.3em}input[type=search][data-v-e2726892],input[type=text][data-v-e2726892]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-e2726892]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-e2726892;-webkit-animation-name:fadeIn-e2726892}.fade-in[data-v-e2726892],.fade-out[data-v-e2726892]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-e2726892]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-e2726892;-webkit-animation-name:fadeOut-e2726892}@-webkit-keyframes fadeIn-e2726892{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-e2726892{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-e2726892{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-e2726892{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-e2726892]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-e2726892]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-e2726892]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.controls[data-v-e2726892]{flex-direction:column;margin-top:2.25em;background:#fff;padding:.5em 1em;border-radius:1em;box-shadow:0 0 2px 2px #ccc}.controls .row[data-v-e2726892],.controls[data-v-e2726892]{width:100%;display:flex;align-items:center}.controls .control[data-v-e2726892]{padding-top:.25em}.controls .icon[data-v-e2726892]{opacity:.7}.controls input[type=color][data-v-e2726892]{width:100%;border:0}.light-controls .row .slider{margin-top:.4em}.col-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-52168252]:first-child{margin-left:0}.col-no-margin-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-52168252]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-52168252]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-52168252]:first-child{margin-left:0}.col-no-margin-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-52168252]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-52168252]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-52168252]:first-child{margin-left:0}.col-no-margin-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-52168252]:first-child{margin-left:26%!important}.col-offset-3[data-v-52168252]:not(first-child){margin-left:30%!important}.col-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-52168252]:first-child{margin-left:0}.col-no-margin-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-52168252]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-52168252]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-52168252]:first-child{margin-left:0}.col-no-margin-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-52168252]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-52168252]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-52168252]:first-child{margin-left:0}.col-no-margin-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-52168252]:first-child{margin-left:52%!important}.col-offset-6[data-v-52168252]:not(first-child){margin-left:56%!important}.col-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-52168252]:first-child{margin-left:0}.col-no-margin-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-52168252]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-52168252]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-52168252]:first-child{margin-left:0}.col-no-margin-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-52168252]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-52168252]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-52168252]:first-child{margin-left:0}.col-no-margin-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-52168252]:first-child{margin-left:78%!important}.col-offset-9[data-v-52168252]:not(first-child){margin-left:82%!important}.col-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-52168252]:first-child{margin-left:0}.col-no-margin-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-52168252]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-52168252]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-52168252]:first-child{margin-left:0}.col-no-margin-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-52168252]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-52168252]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-52168252]:first-child{margin-left:0}.col-offset-s-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-52168252]:first-child{margin-left:0}.col-offset-s-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-52168252]:first-child{margin-left:0}.col-offset-s-3[data-v-52168252]{margin-left:26%}.col-no-margin-s-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-52168252]:first-child{margin-left:0}.col-offset-s-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-52168252]:first-child{margin-left:0}.col-offset-s-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-52168252]:first-child{margin-left:0}.col-offset-s-6[data-v-52168252]{margin-left:52%}.col-no-margin-s-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-52168252]:first-child{margin-left:0}.col-offset-s-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-52168252]:first-child{margin-left:0}.col-offset-s-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-52168252]:first-child{margin-left:0}.col-offset-s-9[data-v-52168252]{margin-left:78%}.col-no-margin-s-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-52168252]:first-child{margin-left:0}.col-offset-s-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-52168252]:first-child{margin-left:0}.col-offset-s-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-s-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-52168252]{display:none!important}.s-visible[data-v-52168252]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-52168252]:first-child{margin-left:0}.col-offset-m-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-52168252]:first-child{margin-left:0}.col-offset-m-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-52168252]:first-child{margin-left:0}.col-offset-m-3[data-v-52168252]{margin-left:26%}.col-no-margin-m-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-52168252]:first-child{margin-left:0}.col-offset-m-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-52168252]:first-child{margin-left:0}.col-offset-m-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-52168252]:first-child{margin-left:0}.col-offset-m-6[data-v-52168252]{margin-left:52%}.col-no-margin-m-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-52168252]:first-child{margin-left:0}.col-offset-m-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-52168252]:first-child{margin-left:0}.col-offset-m-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-52168252]:first-child{margin-left:0}.col-offset-m-9[data-v-52168252]{margin-left:78%}.col-no-margin-m-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-52168252]:first-child{margin-left:0}.col-offset-m-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-52168252]:first-child{margin-left:0}.col-offset-m-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-m-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-52168252]{display:none!important}.m-visible[data-v-52168252]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-52168252]:first-child{margin-left:0}.col-offset-l-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-52168252]:first-child{margin-left:0}.col-offset-l-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-52168252]:first-child{margin-left:0}.col-offset-l-3[data-v-52168252]{margin-left:26%}.col-no-margin-l-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-52168252]:first-child{margin-left:0}.col-offset-l-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-52168252]:first-child{margin-left:0}.col-offset-l-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-52168252]:first-child{margin-left:0}.col-offset-l-6[data-v-52168252]{margin-left:52%}.col-no-margin-l-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-52168252]:first-child{margin-left:0}.col-offset-l-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-52168252]:first-child{margin-left:0}.col-offset-l-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-52168252]:first-child{margin-left:0}.col-offset-l-9[data-v-52168252]{margin-left:78%}.col-no-margin-l-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-52168252]:first-child{margin-left:0}.col-offset-l-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-52168252]:first-child{margin-left:0}.col-offset-l-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-l-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-52168252]{display:none!important}.l-visible[data-v-52168252]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-3[data-v-52168252]{margin-left:26%}.col-no-margin-xl-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-6[data-v-52168252]{margin-left:52%}.col-no-margin-xl-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-9[data-v-52168252]{margin-left:78%}.col-no-margin-xl-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-52168252]{display:none!important}.xl-visible[data-v-52168252]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-3[data-v-52168252]{margin-left:26%}.col-no-margin-xxl-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-6[data-v-52168252]{margin-left:52%}.col-no-margin-xxl-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-9[data-v-52168252]{margin-left:78%}.col-no-margin-xxl-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-52168252]{display:none!important}.xxl-visible[data-v-52168252]{display:block!important}}.vertical-center[data-v-52168252]{display:flex;align-items:center}.horizontal-center[data-v-52168252]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-52168252]{text-align:right;float:right;justify-content:right}.hidden[data-v-52168252]{display:none!important}.no-content[data-v-52168252]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-52168252],.btn[data-v-52168252],button[data-v-52168252]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-52168252],.btn-default[type=submit][data-v-52168252],.btn.btn-primary[data-v-52168252],.btn[type=submit][data-v-52168252],button.btn-primary[data-v-52168252],button[type=submit][data-v-52168252]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-52168252],input[type=text][data-v-52168252]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-52168252]:focus,input[type=text][data-v-52168252]:focus{border:1px solid #35b870}button[data-v-52168252],input[data-v-52168252]{outline:none}input[type=text][data-v-52168252]:hover,textarea[data-v-52168252]:hover{border:1px solid #9cdfb0}ul[data-v-52168252]{margin:0;padding:0;list-style:none}a[data-v-52168252]{cursor:pointer;text-decoration:none}.input-icon[data-v-52168252]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-52168252],input[type=password][data-v-52168252],input[type=search][data-v-52168252],input[type=text][data-v-52168252]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-52168252]:hover,input[type=password][data-v-52168252]:hover,input[type=search][data-v-52168252]:hover,input[type=text][data-v-52168252]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-52168252]:focus,input[type=password][data-v-52168252]:focus,input[type=search][data-v-52168252]:focus,input[type=text][data-v-52168252]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-52168252],input[type=password].with-icon[data-v-52168252],input[type=search].with-icon[data-v-52168252],input[type=text].with-icon[data-v-52168252]{padding-left:.3em}input[type=search][data-v-52168252],input[type=text][data-v-52168252]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-52168252]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-52168252;-webkit-animation-name:fadeIn-52168252}.fade-in[data-v-52168252],.fade-out[data-v-52168252]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-52168252]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-52168252;-webkit-animation-name:fadeOut-52168252}@-webkit-keyframes fadeIn-52168252{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-52168252{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-52168252{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-52168252{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-52168252]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-52168252]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-52168252]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.expanded .name[data-v-52168252]{font-size:1.25em}.col-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-981c5de0]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-981c5de0]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-981c5de0]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-981c5de0]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-981c5de0]:first-child{margin-left:26%!important}.col-offset-3[data-v-981c5de0]:not(first-child){margin-left:30%!important}.col-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-981c5de0]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-981c5de0]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-981c5de0]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-981c5de0]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-981c5de0]:first-child{margin-left:52%!important}.col-offset-6[data-v-981c5de0]:not(first-child){margin-left:56%!important}.col-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-981c5de0]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-981c5de0]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-981c5de0]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-981c5de0]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-981c5de0]:first-child{margin-left:78%!important}.col-offset-9[data-v-981c5de0]:not(first-child){margin-left:82%!important}.col-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-981c5de0]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-981c5de0]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-981c5de0]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-981c5de0]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-1[data-v-981c5de0]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-2[data-v-981c5de0]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-3[data-v-981c5de0]{margin-left:26%}.col-no-margin-s-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-4[data-v-981c5de0]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-5[data-v-981c5de0]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-6[data-v-981c5de0]{margin-left:52%}.col-no-margin-s-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-7[data-v-981c5de0]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-8[data-v-981c5de0]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-9[data-v-981c5de0]{margin-left:78%}.col-no-margin-s-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-10[data-v-981c5de0]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-981c5de0]:first-child{margin-left:0}.col-offset-s-11[data-v-981c5de0]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-s-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-981c5de0]{display:none!important}.s-visible[data-v-981c5de0]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-1[data-v-981c5de0]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-2[data-v-981c5de0]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-3[data-v-981c5de0]{margin-left:26%}.col-no-margin-m-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-4[data-v-981c5de0]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-5[data-v-981c5de0]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-6[data-v-981c5de0]{margin-left:52%}.col-no-margin-m-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-7[data-v-981c5de0]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-8[data-v-981c5de0]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-9[data-v-981c5de0]{margin-left:78%}.col-no-margin-m-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-10[data-v-981c5de0]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-981c5de0]:first-child{margin-left:0}.col-offset-m-11[data-v-981c5de0]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-m-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-981c5de0]{display:none!important}.m-visible[data-v-981c5de0]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-1[data-v-981c5de0]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-2[data-v-981c5de0]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-3[data-v-981c5de0]{margin-left:26%}.col-no-margin-l-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-4[data-v-981c5de0]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-5[data-v-981c5de0]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-6[data-v-981c5de0]{margin-left:52%}.col-no-margin-l-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-7[data-v-981c5de0]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-8[data-v-981c5de0]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-9[data-v-981c5de0]{margin-left:78%}.col-no-margin-l-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-10[data-v-981c5de0]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-981c5de0]:first-child{margin-left:0}.col-offset-l-11[data-v-981c5de0]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-l-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-981c5de0]{display:none!important}.l-visible[data-v-981c5de0]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-1[data-v-981c5de0]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-2[data-v-981c5de0]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-3[data-v-981c5de0]{margin-left:26%}.col-no-margin-xl-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-4[data-v-981c5de0]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-5[data-v-981c5de0]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-6[data-v-981c5de0]{margin-left:52%}.col-no-margin-xl-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-7[data-v-981c5de0]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-8[data-v-981c5de0]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-9[data-v-981c5de0]{margin-left:78%}.col-no-margin-xl-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-10[data-v-981c5de0]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xl-11[data-v-981c5de0]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-981c5de0]{display:none!important}.xl-visible[data-v-981c5de0]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-1[data-v-981c5de0]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-981c5de0]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-2[data-v-981c5de0]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-981c5de0]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-3[data-v-981c5de0]{margin-left:26%}.col-no-margin-xxl-3[data-v-981c5de0]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-4[data-v-981c5de0]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-981c5de0]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-5[data-v-981c5de0]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-981c5de0]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-6[data-v-981c5de0]{margin-left:52%}.col-no-margin-xxl-6[data-v-981c5de0]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-7[data-v-981c5de0]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-981c5de0]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-8[data-v-981c5de0]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-981c5de0]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-9[data-v-981c5de0]{margin-left:78%}.col-no-margin-xxl-9[data-v-981c5de0]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-10[data-v-981c5de0]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-981c5de0]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-981c5de0]:first-child{margin-left:0}.col-offset-xxl-11[data-v-981c5de0]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-981c5de0]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-981c5de0]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-981c5de0]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-981c5de0]{display:none!important}.xxl-visible[data-v-981c5de0]{display:block!important}}.vertical-center[data-v-981c5de0]{display:flex;align-items:center}.horizontal-center[data-v-981c5de0]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-981c5de0]{text-align:right;float:right;justify-content:right}.hidden[data-v-981c5de0]{display:none!important}.no-content[data-v-981c5de0]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-981c5de0],.btn[data-v-981c5de0],button[data-v-981c5de0]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-981c5de0],.btn-default[type=submit][data-v-981c5de0],.btn.btn-primary[data-v-981c5de0],.btn[type=submit][data-v-981c5de0],button.btn-primary[data-v-981c5de0],button[type=submit][data-v-981c5de0]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-981c5de0],input[type=text][data-v-981c5de0]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-981c5de0]:focus,input[type=text][data-v-981c5de0]:focus{border:1px solid #35b870}button[data-v-981c5de0],input[data-v-981c5de0]{outline:none}input[type=text][data-v-981c5de0]:hover,textarea[data-v-981c5de0]:hover{border:1px solid #9cdfb0}ul[data-v-981c5de0]{margin:0;padding:0;list-style:none}a[data-v-981c5de0]{cursor:pointer;text-decoration:none}.input-icon[data-v-981c5de0]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-981c5de0],input[type=password][data-v-981c5de0],input[type=search][data-v-981c5de0],input[type=text][data-v-981c5de0]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-981c5de0]:hover,input[type=password][data-v-981c5de0]:hover,input[type=search][data-v-981c5de0]:hover,input[type=text][data-v-981c5de0]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-981c5de0]:focus,input[type=password][data-v-981c5de0]:focus,input[type=search][data-v-981c5de0]:focus,input[type=text][data-v-981c5de0]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-981c5de0],input[type=password].with-icon[data-v-981c5de0],input[type=search].with-icon[data-v-981c5de0],input[type=text].with-icon[data-v-981c5de0]{padding-left:.3em}input[type=search][data-v-981c5de0],input[type=text][data-v-981c5de0]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-981c5de0]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-981c5de0;-webkit-animation-name:fadeIn-981c5de0}.fade-in[data-v-981c5de0],.fade-out[data-v-981c5de0]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-981c5de0]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-981c5de0;-webkit-animation-name:fadeOut-981c5de0}@-webkit-keyframes fadeIn-981c5de0{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-981c5de0{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-981c5de0{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-981c5de0{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-981c5de0]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-981c5de0]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-981c5de0]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.range-wrapper[data-v-981c5de0]{width:100%;position:relative}.range-wrapper input[type=range][data-v-981c5de0]{width:100%;position:absolute;left:0;bottom:0;outline:none;-webkit-appearance:none;-o-appearance:none;-moz-appearance:none;appearance:none}.range-wrapper input[type=range][data-v-981c5de0]:focus,.range-wrapper input[type=range][data-v-981c5de0]:hover{outline:none;border:0}.range-wrapper input[type=range][data-v-981c5de0]::-webkit-slider-runnable-track{width:100%;height:.75em;cursor:pointer;animate:.2s;background:#e4e4e4;border-radius:.5em;box-shadow:inset 1px 0 3px 0 #a5a2a2;border:0}.range-wrapper input[type=range][data-v-981c5de0]::-moz-range-track{width:100%;height:.75em;cursor:pointer;animate:.2s;background:#e4e4e4;border-radius:.5em;box-shadow:inset 1px 0 3px 0 #a5a2a2;border:0}.range-wrapper input[type=range][data-v-981c5de0]::-ms-track{width:100%;height:.75em;cursor:pointer;animate:.2s;background:transparent;border-color:transparent;color:transparent}.range-wrapper input[type=range][data-v-981c5de0]::-ms-fill-lower,.range-wrapper input[type=range][data-v-981c5de0]::-ms-fill-upper{background:rgba(0,215,80,.5);border-radius:1px;box-shadow:none;border:0}.range-wrapper input[type=range][data-v-981c5de0]::-webkit-slider-thumb{width:1.25em;height:1.25em;background:#37d560;position:relative;z-index:2;border-radius:50%;box-shadow:1px 0 2px 0 #475c40;cursor:pointer;-webkit-appearance:none;-o-appearance:none;appearance:none;margin-top:-.25em}.range-wrapper input[type=range][data-v-981c5de0]::-moz-range-thumb{width:1.25em;height:1.25em;background:#37d560;position:relative;z-index:2;border-radius:50%;box-shadow:1px 0 2px 0 #475c40;cursor:pointer}.range-wrapper input[type=range][data-v-981c5de0]::-ms-thumb{width:1.25em;height:1.25em;background:#37d560;position:relative;z-index:2;border-radius:50%;box-shadow:1px 0 2px 0 #475c40;cursor:pointer}.col-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-1739aaba]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-1739aaba]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-1739aaba]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-1739aaba]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-1739aaba]:first-child{margin-left:26%!important}.col-offset-3[data-v-1739aaba]:not(first-child){margin-left:30%!important}.col-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-1739aaba]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-1739aaba]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-1739aaba]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-1739aaba]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-1739aaba]:first-child{margin-left:52%!important}.col-offset-6[data-v-1739aaba]:not(first-child){margin-left:56%!important}.col-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-1739aaba]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-1739aaba]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-1739aaba]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-1739aaba]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-1739aaba]:first-child{margin-left:78%!important}.col-offset-9[data-v-1739aaba]:not(first-child){margin-left:82%!important}.col-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-1739aaba]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-1739aaba]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-1739aaba]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-1739aaba]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-s-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-s-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-s-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-s-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-1739aaba]{display:none!important}.s-visible[data-v-1739aaba]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-m-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-m-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-m-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-m-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-1739aaba]{display:none!important}.m-visible[data-v-1739aaba]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-l-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-l-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-l-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-l-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-1739aaba]{display:none!important}.l-visible[data-v-1739aaba]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-xl-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-xl-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-xl-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-1739aaba]{display:none!important}.xl-visible[data-v-1739aaba]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-xxl-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-xxl-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-xxl-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-1739aaba]{display:none!important}.xxl-visible[data-v-1739aaba]{display:block!important}}.vertical-center[data-v-1739aaba]{display:flex;align-items:center}.horizontal-center[data-v-1739aaba]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-1739aaba]{text-align:right;float:right;justify-content:right}.hidden[data-v-1739aaba]{display:none!important}.no-content[data-v-1739aaba]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-1739aaba],.btn[data-v-1739aaba],button[data-v-1739aaba]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-1739aaba],.btn-default[type=submit][data-v-1739aaba],.btn.btn-primary[data-v-1739aaba],.btn[type=submit][data-v-1739aaba],button.btn-primary[data-v-1739aaba],button[type=submit][data-v-1739aaba]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-1739aaba],input[type=text][data-v-1739aaba]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-1739aaba]:focus,input[type=text][data-v-1739aaba]:focus{border:1px solid #35b870}button[data-v-1739aaba],input[data-v-1739aaba]{outline:none}input[type=text][data-v-1739aaba]:hover,textarea[data-v-1739aaba]:hover{border:1px solid #9cdfb0}ul[data-v-1739aaba]{margin:0;padding:0;list-style:none}a[data-v-1739aaba]{cursor:pointer;text-decoration:none}.input-icon[data-v-1739aaba]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-1739aaba],input[type=password][data-v-1739aaba],input[type=search][data-v-1739aaba],input[type=text][data-v-1739aaba]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-1739aaba]:hover,input[type=password][data-v-1739aaba]:hover,input[type=search][data-v-1739aaba]:hover,input[type=text][data-v-1739aaba]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-1739aaba]:focus,input[type=password][data-v-1739aaba]:focus,input[type=search][data-v-1739aaba]:focus,input[type=text][data-v-1739aaba]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-1739aaba],input[type=password].with-icon[data-v-1739aaba],input[type=search].with-icon[data-v-1739aaba],input[type=text].with-icon[data-v-1739aaba]{padding-left:.3em}input[type=search][data-v-1739aaba],input[type=text][data-v-1739aaba]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-1739aaba]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-1739aaba;-webkit-animation-name:fadeIn-1739aaba}.fade-in[data-v-1739aaba],.fade-out[data-v-1739aaba]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-1739aaba]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-1739aaba;-webkit-animation-name:fadeOut-1739aaba}@-webkit-keyframes fadeIn-1739aaba{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-1739aaba{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-1739aaba{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-1739aaba{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-1739aaba]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-1739aaba]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-1739aaba]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.animation-container[data-v-1739aaba]{width:100%}.animation-container .animation-header[data-v-1739aaba],.animation-container .animation[data-v-1739aaba]{padding-bottom:.5em;margin-bottom:.5em;box-shadow:0 3px 2px -1px silver}.controls[data-v-1739aaba]{width:100%;display:flex;flex-direction:column;align-items:center;margin-top:2.25em;background:#fff;padding:.5em 1em;border-radius:1em;box-shadow:0 0 2px 2px #ccc}.controls .selector[data-v-1739aaba]{width:100%}.controls .row[data-v-1739aaba]{width:100%;display:flex;align-items:center;padding:.5em 0}.controls .row>div[data-v-1739aaba]:last-child{text-align:right}.controls .control[data-v-1739aaba]{padding-top:.25em}.controls .lights[data-v-1739aaba]{padding-top:.5em;width:100%}.controls .lights .row[data-v-1739aaba]{display:flex;align-items:center}.controls .lights label[data-v-1739aaba]{width:100%}.light-group-container{width:100%;min-height:100%}.light-group-container .row.panel-row{flex-direction:column}.light-group-container .row.panel-row.expanded,.light-group-container .row.panel-row.selected{background:#c8ffd0}.light-group-container .header{padding:.5em!important;display:flex;align-items:center}.light-group-container .header .back-btn{border:0;background:none}.light-group-container .header .back-btn:hover{border:0;color:#35b870}.light-group-container .header .name{text-align:center}.light-group-container .header .name.selected{color:#32b646}.light-group-container .header .name:hover{color:#35b870}.light-group-container .view-selector{width:100%;border-radius:0}.light-group-container .view-selector button{width:33.3%;padding:1.5em;text-align:left;opacity:.8;box-shadow:1px 0 1px 1px #ddd;border-right:0}.light-group-container .view-selector button.selected{background:#c8ffd0}.light-group-container .view-selector button:hover{background:#bef6da}.light-group-container .view-selector .icon{width:100%;text-align:center;font-size:1.2em}.light-group-container .group-controls{margin:0;padding:1em;background-color:#e4eae8;border-radius:0 0 1em 1em}.light-group-container .group-controls .controls{margin:0;padding:1em}.col-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-781dd72c]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-781dd72c]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-781dd72c]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-781dd72c]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-781dd72c]:first-child{margin-left:26%!important}.col-offset-3[data-v-781dd72c]:not(first-child){margin-left:30%!important}.col-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-781dd72c]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-781dd72c]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-781dd72c]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-781dd72c]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-781dd72c]:first-child{margin-left:52%!important}.col-offset-6[data-v-781dd72c]:not(first-child){margin-left:56%!important}.col-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-781dd72c]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-781dd72c]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-781dd72c]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-781dd72c]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-781dd72c]:first-child{margin-left:78%!important}.col-offset-9[data-v-781dd72c]:not(first-child){margin-left:82%!important}.col-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-781dd72c]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-781dd72c]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-781dd72c]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-781dd72c]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-s-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-s-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-s-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-s-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-781dd72c]{display:none!important}.s-visible[data-v-781dd72c]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-m-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-m-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-m-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-m-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-781dd72c]{display:none!important}.m-visible[data-v-781dd72c]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-l-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-l-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-l-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-l-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-781dd72c]{display:none!important}.l-visible[data-v-781dd72c]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-xl-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-xl-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-xl-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-781dd72c]{display:none!important}.xl-visible[data-v-781dd72c]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-xxl-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-xxl-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-xxl-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-781dd72c]{display:none!important}.xxl-visible[data-v-781dd72c]{display:block!important}}.vertical-center[data-v-781dd72c]{display:flex;align-items:center}.horizontal-center[data-v-781dd72c]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-781dd72c]{text-align:right;float:right;justify-content:right}.hidden[data-v-781dd72c]{display:none!important}.no-content[data-v-781dd72c]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-781dd72c],.btn[data-v-781dd72c],button[data-v-781dd72c]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-781dd72c],.btn-default[type=submit][data-v-781dd72c],.btn.btn-primary[data-v-781dd72c],.btn[type=submit][data-v-781dd72c],button.btn-primary[data-v-781dd72c],button[type=submit][data-v-781dd72c]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-781dd72c],input[type=text][data-v-781dd72c]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-781dd72c]:focus,input[type=text][data-v-781dd72c]:focus{border:1px solid #35b870}button[data-v-781dd72c],input[data-v-781dd72c]{outline:none}input[type=text][data-v-781dd72c]:hover,textarea[data-v-781dd72c]:hover{border:1px solid #9cdfb0}ul[data-v-781dd72c]{margin:0;padding:0;list-style:none}a[data-v-781dd72c]{cursor:pointer;text-decoration:none}.input-icon[data-v-781dd72c]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-781dd72c],input[type=password][data-v-781dd72c],input[type=search][data-v-781dd72c],input[type=text][data-v-781dd72c]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-781dd72c]:hover,input[type=password][data-v-781dd72c]:hover,input[type=search][data-v-781dd72c]:hover,input[type=text][data-v-781dd72c]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-781dd72c]:focus,input[type=password][data-v-781dd72c]:focus,input[type=search][data-v-781dd72c]:focus,input[type=text][data-v-781dd72c]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-781dd72c],input[type=password].with-icon[data-v-781dd72c],input[type=search].with-icon[data-v-781dd72c],input[type=text].with-icon[data-v-781dd72c]{padding-left:.3em}input[type=search][data-v-781dd72c],input[type=text][data-v-781dd72c]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-781dd72c]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-781dd72c;-webkit-animation-name:fadeIn-781dd72c}.fade-in[data-v-781dd72c],.fade-out[data-v-781dd72c]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-781dd72c]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-781dd72c;-webkit-animation-name:fadeOut-781dd72c}@-webkit-keyframes fadeIn-781dd72c{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-781dd72c{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-781dd72c{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-781dd72c{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-781dd72c]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-781dd72c]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-781dd72c]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.plugin[data-v-781dd72c]{width:100%;height:100%;display:flex}.panel[data-v-781dd72c]{width:100%;height:100%;box-shadow:none;overflow:auto}.col-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1:first-child{margin-left:0}.col-no-margin-1{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1:first-child{margin-left:8.6666666667%!important}.col-offset-1:not(first-child){margin-left:12.6666666667%!important}.col-2{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2:first-child{margin-left:0}.col-no-margin-2{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2:first-child{margin-left:17.3333333333%!important}.col-offset-2:not(first-child){margin-left:21.3333333333%!important}.col-3{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3:first-child{margin-left:0}.col-no-margin-3{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3:first-child{margin-left:26%!important}.col-offset-3:not(first-child){margin-left:30%!important}.col-4{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4:first-child{margin-left:0}.col-no-margin-4{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4:first-child{margin-left:34.6666666667%!important}.col-offset-4:not(first-child){margin-left:38.6666666667%!important}.col-5{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5:first-child{margin-left:0}.col-no-margin-5{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5:first-child{margin-left:43.3333333334%!important}.col-offset-5:not(first-child){margin-left:47.3333333334%!important}.col-6{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6:first-child{margin-left:0}.col-no-margin-6{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6:first-child{margin-left:52%!important}.col-offset-6:not(first-child){margin-left:56%!important}.col-7{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7:first-child{margin-left:0}.col-no-margin-7{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7:first-child{margin-left:60.6666666667%!important}.col-offset-7:not(first-child){margin-left:64.6666666667%!important}.col-8{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8:first-child{margin-left:0}.col-no-margin-8{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8:first-child{margin-left:69.3333333334%!important}.col-offset-8:not(first-child){margin-left:73.3333333334%!important}.col-9{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9:first-child{margin-left:0}.col-no-margin-9{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9:first-child{margin-left:78%!important}.col-offset-9:not(first-child){margin-left:82%!important}.col-10{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10:first-child{margin-left:0}.col-no-margin-10{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10:first-child{margin-left:86.6666666667%!important}.col-offset-10:not(first-child){margin-left:90.6666666667%!important}.col-11{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11:first-child{margin-left:0}.col-no-margin-11{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11:first-child{margin-left:95.3333333334%!important}.col-offset-11:not(first-child){margin-left:99.3333333334%!important}.col-12{float:left;box-sizing:border-box;width:100%}.col-12,.col-12:first-child{margin-left:0}.col-no-margin-12{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1:first-child{margin-left:0}.col-offset-s-1{margin-left:8.6666666667%}.col-no-margin-s-1{width:8.3333333333%}.col-no-margin-s-1,.col-s-2{float:left;box-sizing:border-box}.col-s-2{width:13.3333333333%;margin-left:4%}.col-s-2:first-child{margin-left:0}.col-offset-s-2{margin-left:17.3333333333%}.col-no-margin-s-2{width:16.6666666667%}.col-no-margin-s-2,.col-s-3{float:left;box-sizing:border-box}.col-s-3{width:22%;margin-left:4%}.col-s-3:first-child{margin-left:0}.col-offset-s-3{margin-left:26%}.col-no-margin-s-3{width:25%}.col-no-margin-s-3,.col-s-4{float:left;box-sizing:border-box}.col-s-4{width:30.6666666667%;margin-left:4%}.col-s-4:first-child{margin-left:0}.col-offset-s-4{margin-left:34.6666666667%}.col-no-margin-s-4{width:33.3333333333%}.col-no-margin-s-4,.col-s-5{float:left;box-sizing:border-box}.col-s-5{width:39.3333333334%;margin-left:4%}.col-s-5:first-child{margin-left:0}.col-offset-s-5{margin-left:43.3333333334%}.col-no-margin-s-5{width:41.6666666667%}.col-no-margin-s-5,.col-s-6{float:left;box-sizing:border-box}.col-s-6{width:48%;margin-left:4%}.col-s-6:first-child{margin-left:0}.col-offset-s-6{margin-left:52%}.col-no-margin-s-6{width:50%}.col-no-margin-s-6,.col-s-7{float:left;box-sizing:border-box}.col-s-7{width:56.6666666667%;margin-left:4%}.col-s-7:first-child{margin-left:0}.col-offset-s-7{margin-left:60.6666666667%}.col-no-margin-s-7{width:58.3333333333%}.col-no-margin-s-7,.col-s-8{float:left;box-sizing:border-box}.col-s-8{width:65.3333333334%;margin-left:4%}.col-s-8:first-child{margin-left:0}.col-offset-s-8{margin-left:69.3333333334%}.col-no-margin-s-8{width:66.6666666667%}.col-no-margin-s-8,.col-s-9{float:left;box-sizing:border-box}.col-s-9{width:74%;margin-left:4%}.col-s-9:first-child{margin-left:0}.col-offset-s-9{margin-left:78%}.col-no-margin-s-9{width:75%}.col-no-margin-s-9,.col-s-10{float:left;box-sizing:border-box}.col-s-10{width:82.6666666667%;margin-left:4%}.col-s-10:first-child{margin-left:0}.col-offset-s-10{margin-left:86.6666666667%}.col-no-margin-s-10{width:83.3333333333%}.col-no-margin-s-10,.col-s-11{float:left;box-sizing:border-box}.col-s-11{width:91.3333333334%;margin-left:4%}.col-s-11:first-child{margin-left:0}.col-offset-s-11{margin-left:95.3333333334%}.col-no-margin-s-11{width:91.6666666667%}.col-no-margin-s-11,.col-s-12{float:left;box-sizing:border-box}.col-s-12{width:100%}.col-s-12,.col-s-12:first-child{margin-left:0}.col-no-margin-s-12{float:left;box-sizing:border-box;width:100%}.s-hidden{display:none!important}.s-visible{display:block!important}}@media screen and (min-width:769px){.col-m-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1:first-child{margin-left:0}.col-offset-m-1{margin-left:8.6666666667%}.col-no-margin-m-1{width:8.3333333333%}.col-m-2,.col-no-margin-m-1{float:left;box-sizing:border-box}.col-m-2{width:13.3333333333%;margin-left:4%}.col-m-2:first-child{margin-left:0}.col-offset-m-2{margin-left:17.3333333333%}.col-no-margin-m-2{width:16.6666666667%}.col-m-3,.col-no-margin-m-2{float:left;box-sizing:border-box}.col-m-3{width:22%;margin-left:4%}.col-m-3:first-child{margin-left:0}.col-offset-m-3{margin-left:26%}.col-no-margin-m-3{width:25%}.col-m-4,.col-no-margin-m-3{float:left;box-sizing:border-box}.col-m-4{width:30.6666666667%;margin-left:4%}.col-m-4:first-child{margin-left:0}.col-offset-m-4{margin-left:34.6666666667%}.col-no-margin-m-4{width:33.3333333333%}.col-m-5,.col-no-margin-m-4{float:left;box-sizing:border-box}.col-m-5{width:39.3333333334%;margin-left:4%}.col-m-5:first-child{margin-left:0}.col-offset-m-5{margin-left:43.3333333334%}.col-no-margin-m-5{width:41.6666666667%}.col-m-6,.col-no-margin-m-5{float:left;box-sizing:border-box}.col-m-6{width:48%;margin-left:4%}.col-m-6:first-child{margin-left:0}.col-offset-m-6{margin-left:52%}.col-no-margin-m-6{width:50%}.col-m-7,.col-no-margin-m-6{float:left;box-sizing:border-box}.col-m-7{width:56.6666666667%;margin-left:4%}.col-m-7:first-child{margin-left:0}.col-offset-m-7{margin-left:60.6666666667%}.col-no-margin-m-7{width:58.3333333333%}.col-m-8,.col-no-margin-m-7{float:left;box-sizing:border-box}.col-m-8{width:65.3333333334%;margin-left:4%}.col-m-8:first-child{margin-left:0}.col-offset-m-8{margin-left:69.3333333334%}.col-no-margin-m-8{width:66.6666666667%}.col-m-9,.col-no-margin-m-8{float:left;box-sizing:border-box}.col-m-9{width:74%;margin-left:4%}.col-m-9:first-child{margin-left:0}.col-offset-m-9{margin-left:78%}.col-no-margin-m-9{width:75%}.col-m-10,.col-no-margin-m-9{float:left;box-sizing:border-box}.col-m-10{width:82.6666666667%;margin-left:4%}.col-m-10:first-child{margin-left:0}.col-offset-m-10{margin-left:86.6666666667%}.col-no-margin-m-10{width:83.3333333333%}.col-m-11,.col-no-margin-m-10{float:left;box-sizing:border-box}.col-m-11{width:91.3333333334%;margin-left:4%}.col-m-11:first-child{margin-left:0}.col-offset-m-11{margin-left:95.3333333334%}.col-no-margin-m-11{width:91.6666666667%}.col-m-12,.col-no-margin-m-11{float:left;box-sizing:border-box}.col-m-12{width:100%}.col-m-12,.col-m-12:first-child{margin-left:0}.col-no-margin-m-12{float:left;box-sizing:border-box;width:100%}.m-hidden{display:none!important}.m-visible{display:block!important}}@media screen and (min-width:1024px){.col-l-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1:first-child{margin-left:0}.col-offset-l-1{margin-left:8.6666666667%}.col-no-margin-l-1{width:8.3333333333%}.col-l-2,.col-no-margin-l-1{float:left;box-sizing:border-box}.col-l-2{width:13.3333333333%;margin-left:4%}.col-l-2:first-child{margin-left:0}.col-offset-l-2{margin-left:17.3333333333%}.col-no-margin-l-2{width:16.6666666667%}.col-l-3,.col-no-margin-l-2{float:left;box-sizing:border-box}.col-l-3{width:22%;margin-left:4%}.col-l-3:first-child{margin-left:0}.col-offset-l-3{margin-left:26%}.col-no-margin-l-3{width:25%}.col-l-4,.col-no-margin-l-3{float:left;box-sizing:border-box}.col-l-4{width:30.6666666667%;margin-left:4%}.col-l-4:first-child{margin-left:0}.col-offset-l-4{margin-left:34.6666666667%}.col-no-margin-l-4{width:33.3333333333%}.col-l-5,.col-no-margin-l-4{float:left;box-sizing:border-box}.col-l-5{width:39.3333333334%;margin-left:4%}.col-l-5:first-child{margin-left:0}.col-offset-l-5{margin-left:43.3333333334%}.col-no-margin-l-5{width:41.6666666667%}.col-l-6,.col-no-margin-l-5{float:left;box-sizing:border-box}.col-l-6{width:48%;margin-left:4%}.col-l-6:first-child{margin-left:0}.col-offset-l-6{margin-left:52%}.col-no-margin-l-6{width:50%}.col-l-7,.col-no-margin-l-6{float:left;box-sizing:border-box}.col-l-7{width:56.6666666667%;margin-left:4%}.col-l-7:first-child{margin-left:0}.col-offset-l-7{margin-left:60.6666666667%}.col-no-margin-l-7{width:58.3333333333%}.col-l-8,.col-no-margin-l-7{float:left;box-sizing:border-box}.col-l-8{width:65.3333333334%;margin-left:4%}.col-l-8:first-child{margin-left:0}.col-offset-l-8{margin-left:69.3333333334%}.col-no-margin-l-8{width:66.6666666667%}.col-l-9,.col-no-margin-l-8{float:left;box-sizing:border-box}.col-l-9{width:74%;margin-left:4%}.col-l-9:first-child{margin-left:0}.col-offset-l-9{margin-left:78%}.col-no-margin-l-9{width:75%}.col-l-10,.col-no-margin-l-9{float:left;box-sizing:border-box}.col-l-10{width:82.6666666667%;margin-left:4%}.col-l-10:first-child{margin-left:0}.col-offset-l-10{margin-left:86.6666666667%}.col-no-margin-l-10{width:83.3333333333%}.col-l-11,.col-no-margin-l-10{float:left;box-sizing:border-box}.col-l-11{width:91.3333333334%;margin-left:4%}.col-l-11:first-child{margin-left:0}.col-offset-l-11{margin-left:95.3333333334%}.col-no-margin-l-11{width:91.6666666667%}.col-l-12,.col-no-margin-l-11{float:left;box-sizing:border-box}.col-l-12{width:100%}.col-l-12,.col-l-12:first-child{margin-left:0}.col-no-margin-l-12{float:left;box-sizing:border-box;width:100%}.l-hidden{display:none!important}.l-visible{display:block!important}}@media screen and (min-width:1216px){.col-xl-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1:first-child{margin-left:0}.col-offset-xl-1{margin-left:8.6666666667%}.col-no-margin-xl-1{width:8.3333333333%}.col-no-margin-xl-1,.col-xl-2{float:left;box-sizing:border-box}.col-xl-2{width:13.3333333333%;margin-left:4%}.col-xl-2:first-child{margin-left:0}.col-offset-xl-2{margin-left:17.3333333333%}.col-no-margin-xl-2{width:16.6666666667%}.col-no-margin-xl-2,.col-xl-3{float:left;box-sizing:border-box}.col-xl-3{width:22%;margin-left:4%}.col-xl-3:first-child{margin-left:0}.col-offset-xl-3{margin-left:26%}.col-no-margin-xl-3{width:25%}.col-no-margin-xl-3,.col-xl-4{float:left;box-sizing:border-box}.col-xl-4{width:30.6666666667%;margin-left:4%}.col-xl-4:first-child{margin-left:0}.col-offset-xl-4{margin-left:34.6666666667%}.col-no-margin-xl-4{width:33.3333333333%}.col-no-margin-xl-4,.col-xl-5{float:left;box-sizing:border-box}.col-xl-5{width:39.3333333334%;margin-left:4%}.col-xl-5:first-child{margin-left:0}.col-offset-xl-5{margin-left:43.3333333334%}.col-no-margin-xl-5{width:41.6666666667%}.col-no-margin-xl-5,.col-xl-6{float:left;box-sizing:border-box}.col-xl-6{width:48%;margin-left:4%}.col-xl-6:first-child{margin-left:0}.col-offset-xl-6{margin-left:52%}.col-no-margin-xl-6{width:50%}.col-no-margin-xl-6,.col-xl-7{float:left;box-sizing:border-box}.col-xl-7{width:56.6666666667%;margin-left:4%}.col-xl-7:first-child{margin-left:0}.col-offset-xl-7{margin-left:60.6666666667%}.col-no-margin-xl-7{width:58.3333333333%}.col-no-margin-xl-7,.col-xl-8{float:left;box-sizing:border-box}.col-xl-8{width:65.3333333334%;margin-left:4%}.col-xl-8:first-child{margin-left:0}.col-offset-xl-8{margin-left:69.3333333334%}.col-no-margin-xl-8{width:66.6666666667%}.col-no-margin-xl-8,.col-xl-9{float:left;box-sizing:border-box}.col-xl-9{width:74%;margin-left:4%}.col-xl-9:first-child{margin-left:0}.col-offset-xl-9{margin-left:78%}.col-no-margin-xl-9{width:75%}.col-no-margin-xl-9,.col-xl-10{float:left;box-sizing:border-box}.col-xl-10{width:82.6666666667%;margin-left:4%}.col-xl-10:first-child{margin-left:0}.col-offset-xl-10{margin-left:86.6666666667%}.col-no-margin-xl-10{width:83.3333333333%}.col-no-margin-xl-10,.col-xl-11{float:left;box-sizing:border-box}.col-xl-11{width:91.3333333334%;margin-left:4%}.col-xl-11:first-child{margin-left:0}.col-offset-xl-11{margin-left:95.3333333334%}.col-no-margin-xl-11{width:91.6666666667%}.col-no-margin-xl-11,.col-xl-12{float:left;box-sizing:border-box}.col-xl-12{width:100%}.col-xl-12,.col-xl-12:first-child{margin-left:0}.col-no-margin-xl-12{float:left;box-sizing:border-box;width:100%}.xl-hidden{display:none!important}.xl-visible{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1:first-child{margin-left:0}.col-offset-xxl-1{margin-left:8.6666666667%}.col-no-margin-xxl-1{width:8.3333333333%}.col-no-margin-xxl-1,.col-xxl-2{float:left;box-sizing:border-box}.col-xxl-2{width:13.3333333333%;margin-left:4%}.col-xxl-2:first-child{margin-left:0}.col-offset-xxl-2{margin-left:17.3333333333%}.col-no-margin-xxl-2{width:16.6666666667%}.col-no-margin-xxl-2,.col-xxl-3{float:left;box-sizing:border-box}.col-xxl-3{width:22%;margin-left:4%}.col-xxl-3:first-child{margin-left:0}.col-offset-xxl-3{margin-left:26%}.col-no-margin-xxl-3{width:25%}.col-no-margin-xxl-3,.col-xxl-4{float:left;box-sizing:border-box}.col-xxl-4{width:30.6666666667%;margin-left:4%}.col-xxl-4:first-child{margin-left:0}.col-offset-xxl-4{margin-left:34.6666666667%}.col-no-margin-xxl-4{width:33.3333333333%}.col-no-margin-xxl-4,.col-xxl-5{float:left;box-sizing:border-box}.col-xxl-5{width:39.3333333334%;margin-left:4%}.col-xxl-5:first-child{margin-left:0}.col-offset-xxl-5{margin-left:43.3333333334%}.col-no-margin-xxl-5{width:41.6666666667%}.col-no-margin-xxl-5,.col-xxl-6{float:left;box-sizing:border-box}.col-xxl-6{width:48%;margin-left:4%}.col-xxl-6:first-child{margin-left:0}.col-offset-xxl-6{margin-left:52%}.col-no-margin-xxl-6{width:50%}.col-no-margin-xxl-6,.col-xxl-7{float:left;box-sizing:border-box}.col-xxl-7{width:56.6666666667%;margin-left:4%}.col-xxl-7:first-child{margin-left:0}.col-offset-xxl-7{margin-left:60.6666666667%}.col-no-margin-xxl-7{width:58.3333333333%}.col-no-margin-xxl-7,.col-xxl-8{float:left;box-sizing:border-box}.col-xxl-8{width:65.3333333334%;margin-left:4%}.col-xxl-8:first-child{margin-left:0}.col-offset-xxl-8{margin-left:69.3333333334%}.col-no-margin-xxl-8{width:66.6666666667%}.col-no-margin-xxl-8,.col-xxl-9{float:left;box-sizing:border-box}.col-xxl-9{width:74%;margin-left:4%}.col-xxl-9:first-child{margin-left:0}.col-offset-xxl-9{margin-left:78%}.col-no-margin-xxl-9{float:left;box-sizing:border-box;width:75%}.col-xxl-10{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10:first-child{margin-left:0}.col-offset-xxl-10{margin-left:86.6666666667%}.col-no-margin-xxl-10{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11:first-child{margin-left:0}.col-offset-xxl-11{margin-left:95.3333333334%}.col-no-margin-xxl-11{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12{float:left;box-sizing:border-box;width:100%}.col-xxl-12,.col-xxl-12:first-child{margin-left:0}.col-no-margin-xxl-12{float:left;box-sizing:border-box;width:100%}.xxl-hidden{display:none!important}.xxl-visible{display:block!important}}.vertical-center{display:flex;align-items:center}.horizontal-center{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right{text-align:right;float:right;justify-content:right}.hidden{display:none!important}.no-content{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn,.btn-default,button{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary,.btn-default[type=submit],.btn.btn-primary,.btn[type=submit],button.btn-primary,button[type=submit]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password],input[type=text]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password]:focus,input[type=text]:focus{border:1px solid #35b870}button,input{outline:none}input[type=text]:hover,textarea:hover{border:1px solid #9cdfb0}ul{margin:0;padding:0;list-style:none}a{cursor:pointer;text-decoration:none}.input-icon{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number],input[type=password],input[type=search],input[type=text]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number]:hover,input[type=password]:hover,input[type=search]:hover,input[type=text]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon,input[type=password].with-icon,input[type=search].with-icon,input[type=text].with-icon{padding-left:.3em}input[type=search],input[type=text]{border-radius:1em;padding:.25em .5em}.fade-in{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn;-webkit-animation-name:fadeIn}.fade-in,.fade-out{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut;-webkit-animation-name:fadeOut}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi:before{background-size:1em 1em;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-kodi:before,.fa.fa-plex:before{content:" ";width:1em;height:1em;display:inline-block}.fa.fa-plex:before{background-size:1em 1em;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.lights-plugin .menu-panel ul li:not(.header){padding:1.5em 1em} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/css/8019.3f85f5be.css b/platypush/backend/http/webapp/dist/static/css/8019.3f85f5be.css deleted file mode 100644 index e5bfdddb5..000000000 --- a/platypush/backend/http/webapp/dist/static/css/8019.3f85f5be.css +++ /dev/null @@ -1 +0,0 @@ -.menu-panel{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;background:#e0eae8;padding-top:2em}.menu-panel .content{background:#fff;border-radius:15px;box-shadow:0 0 2px 2px #ccc;border:0}.menu-panel .content .panel-row{display:flex;margin:0!important;padding:1em;box-shadow:1px 0 1px 1px #ddd;cursor:pointer;border:0;letter-spacing:.05em}.menu-panel .content .panel-row:hover{background:#bef6da}.menu-panel .content .panel-row:first-child{border-radius:15px 15px 0 0;box-shadow:2px 0 1px -2px #ddd}.menu-panel .content .panel-row:last-child{border-radius:0 0 15px 15px;box-shadow:-1px 0 1px 0 #ddd}.menu-panel .content .header{background:#dde5e1;font-weight:700;box-shadow:0 0 1px 1px silver}.menu-panel .content .header:hover{background:#dde5e1}@media screen and (max-width:1024px){.menu-panel{padding-top:0}.menu-panel .content{min-width:100%}.menu-panel .content .row:first-child,.menu-panel .content .row:last-child{border-radius:0}}@media screen and (min-width:1024px){.menu-panel .content{min-width:75%}}@media screen and (min-width:1216px){.menu-panel .content{min-width:50%}}@media screen and (min-width:1408px){.menu-panel .content{min-width:35%}}.col-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-42318a2b]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-42318a2b]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-42318a2b]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-42318a2b]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-42318a2b]:first-child{margin-left:26%!important}.col-offset-3[data-v-42318a2b]:not(first-child){margin-left:30%!important}.col-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-42318a2b]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-42318a2b]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-42318a2b]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-42318a2b]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-42318a2b]:first-child{margin-left:52%!important}.col-offset-6[data-v-42318a2b]:not(first-child){margin-left:56%!important}.col-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-42318a2b]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-42318a2b]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-42318a2b]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-42318a2b]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-42318a2b]:first-child{margin-left:78%!important}.col-offset-9[data-v-42318a2b]:not(first-child){margin-left:82%!important}.col-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-42318a2b]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-42318a2b]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-42318a2b]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-42318a2b]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-s-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-s-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-s-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-s-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-s-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-42318a2b]{display:none!important}.s-visible[data-v-42318a2b]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-m-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-m-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-m-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-m-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-m-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-42318a2b]{display:none!important}.m-visible[data-v-42318a2b]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-l-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-l-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-l-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-l-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-l-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-42318a2b]{display:none!important}.l-visible[data-v-42318a2b]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-xl-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-xl-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-xl-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xl-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-42318a2b]{display:none!important}.xl-visible[data-v-42318a2b]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-1[data-v-42318a2b]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-42318a2b]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-2[data-v-42318a2b]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-42318a2b]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-3[data-v-42318a2b]{margin-left:26%}.col-no-margin-xxl-3[data-v-42318a2b]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-4[data-v-42318a2b]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-42318a2b]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-5[data-v-42318a2b]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-42318a2b]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-6[data-v-42318a2b]{margin-left:52%}.col-no-margin-xxl-6[data-v-42318a2b]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-7[data-v-42318a2b]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-42318a2b]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-8[data-v-42318a2b]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-42318a2b]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-9[data-v-42318a2b]{margin-left:78%}.col-no-margin-xxl-9[data-v-42318a2b]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-10[data-v-42318a2b]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-42318a2b]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-42318a2b]:first-child{margin-left:0}.col-offset-xxl-11[data-v-42318a2b]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-42318a2b]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-42318a2b]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-42318a2b]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-42318a2b]{display:none!important}.xxl-visible[data-v-42318a2b]{display:block!important}}.vertical-center[data-v-42318a2b]{display:flex;align-items:center}.horizontal-center[data-v-42318a2b]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-42318a2b]{text-align:right;float:right;justify-content:right}.hidden[data-v-42318a2b]{display:none!important}.no-content[data-v-42318a2b]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-42318a2b],.btn[data-v-42318a2b],button[data-v-42318a2b]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-42318a2b],.btn-default[type=submit][data-v-42318a2b],.btn.btn-primary[data-v-42318a2b],.btn[type=submit][data-v-42318a2b],button.btn-primary[data-v-42318a2b],button[type=submit][data-v-42318a2b]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-42318a2b],input[type=text][data-v-42318a2b]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-42318a2b]:focus,input[type=text][data-v-42318a2b]:focus{border:1px solid #35b870}button[data-v-42318a2b],input[data-v-42318a2b]{outline:none}input[type=text][data-v-42318a2b]:hover,textarea[data-v-42318a2b]:hover{border:1px solid #9cdfb0}ul[data-v-42318a2b]{margin:0;padding:0;list-style:none}a[data-v-42318a2b]{cursor:pointer;text-decoration:none}.input-icon[data-v-42318a2b]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-42318a2b],input[type=password][data-v-42318a2b],input[type=search][data-v-42318a2b],input[type=text][data-v-42318a2b]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-42318a2b]:hover,input[type=password][data-v-42318a2b]:hover,input[type=search][data-v-42318a2b]:hover,input[type=text][data-v-42318a2b]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-42318a2b]:focus,input[type=password][data-v-42318a2b]:focus,input[type=search][data-v-42318a2b]:focus,input[type=text][data-v-42318a2b]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-42318a2b],input[type=password].with-icon[data-v-42318a2b],input[type=search].with-icon[data-v-42318a2b],input[type=text].with-icon[data-v-42318a2b]{padding-left:.3em}input[type=search][data-v-42318a2b],input[type=text][data-v-42318a2b]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-42318a2b]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-42318a2b;-webkit-animation-name:fadeIn-42318a2b}.fade-in[data-v-42318a2b],.fade-out[data-v-42318a2b]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-42318a2b]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-42318a2b;-webkit-animation-name:fadeOut-42318a2b}@-webkit-keyframes fadeIn-42318a2b{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-42318a2b{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-42318a2b{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-42318a2b{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-42318a2b]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-42318a2b]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-42318a2b]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.header[data-v-42318a2b]{display:flex;align-items:center;padding-top:.75em!important;padding-bottom:.75em!important}.header .icon[data-v-42318a2b]{margin-left:.5em}.header .name[data-v-42318a2b]{text-align:center}.group[data-v-42318a2b]{display:flex;align-items:center}.col-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-e2726892]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-e2726892]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-e2726892]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-e2726892]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-e2726892]:first-child{margin-left:26%!important}.col-offset-3[data-v-e2726892]:not(first-child){margin-left:30%!important}.col-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-e2726892]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-e2726892]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-e2726892]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-e2726892]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-e2726892]:first-child{margin-left:52%!important}.col-offset-6[data-v-e2726892]:not(first-child){margin-left:56%!important}.col-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-e2726892]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-e2726892]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-e2726892]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-e2726892]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-e2726892]:first-child{margin-left:78%!important}.col-offset-9[data-v-e2726892]:not(first-child){margin-left:82%!important}.col-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-e2726892]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-e2726892]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-e2726892]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-e2726892]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-3[data-v-e2726892]{margin-left:26%}.col-no-margin-s-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-6[data-v-e2726892]{margin-left:52%}.col-no-margin-s-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-9[data-v-e2726892]{margin-left:78%}.col-no-margin-s-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-s-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-s-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-e2726892]{display:none!important}.s-visible[data-v-e2726892]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-3[data-v-e2726892]{margin-left:26%}.col-no-margin-m-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-6[data-v-e2726892]{margin-left:52%}.col-no-margin-m-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-9[data-v-e2726892]{margin-left:78%}.col-no-margin-m-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-m-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-m-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-e2726892]{display:none!important}.m-visible[data-v-e2726892]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-3[data-v-e2726892]{margin-left:26%}.col-no-margin-l-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-6[data-v-e2726892]{margin-left:52%}.col-no-margin-l-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-9[data-v-e2726892]{margin-left:78%}.col-no-margin-l-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-l-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-l-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-e2726892]{display:none!important}.l-visible[data-v-e2726892]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-3[data-v-e2726892]{margin-left:26%}.col-no-margin-xl-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-6[data-v-e2726892]{margin-left:52%}.col-no-margin-xl-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-9[data-v-e2726892]{margin-left:78%}.col-no-margin-xl-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-xl-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-e2726892]{display:none!important}.xl-visible[data-v-e2726892]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-e2726892]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-1[data-v-e2726892]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-e2726892]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-e2726892]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-2[data-v-e2726892]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-e2726892]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-e2726892]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-3[data-v-e2726892]{margin-left:26%}.col-no-margin-xxl-3[data-v-e2726892]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-e2726892]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-4[data-v-e2726892]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-e2726892]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-e2726892]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-5[data-v-e2726892]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-e2726892]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-e2726892]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-6[data-v-e2726892]{margin-left:52%}.col-no-margin-xxl-6[data-v-e2726892]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-e2726892]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-7[data-v-e2726892]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-e2726892]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-e2726892]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-8[data-v-e2726892]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-e2726892]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-e2726892]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-9[data-v-e2726892]{margin-left:78%}.col-no-margin-xxl-9[data-v-e2726892]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-e2726892]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-10[data-v-e2726892]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-e2726892]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-e2726892]:first-child{margin-left:0}.col-offset-xxl-11[data-v-e2726892]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-e2726892]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-e2726892]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-e2726892]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-e2726892]{display:none!important}.xxl-visible[data-v-e2726892]{display:block!important}}.vertical-center[data-v-e2726892]{display:flex;align-items:center}.horizontal-center[data-v-e2726892]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-e2726892]{text-align:right;float:right;justify-content:right}.hidden[data-v-e2726892]{display:none!important}.no-content[data-v-e2726892]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-e2726892],.btn[data-v-e2726892],button[data-v-e2726892]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-e2726892],.btn-default[type=submit][data-v-e2726892],.btn.btn-primary[data-v-e2726892],.btn[type=submit][data-v-e2726892],button.btn-primary[data-v-e2726892],button[type=submit][data-v-e2726892]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-e2726892],input[type=text][data-v-e2726892]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-e2726892]:focus,input[type=text][data-v-e2726892]:focus{border:1px solid #35b870}button[data-v-e2726892],input[data-v-e2726892]{outline:none}input[type=text][data-v-e2726892]:hover,textarea[data-v-e2726892]:hover{border:1px solid #9cdfb0}ul[data-v-e2726892]{margin:0;padding:0;list-style:none}a[data-v-e2726892]{cursor:pointer;text-decoration:none}.input-icon[data-v-e2726892]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-e2726892],input[type=password][data-v-e2726892],input[type=search][data-v-e2726892],input[type=text][data-v-e2726892]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-e2726892]:hover,input[type=password][data-v-e2726892]:hover,input[type=search][data-v-e2726892]:hover,input[type=text][data-v-e2726892]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-e2726892]:focus,input[type=password][data-v-e2726892]:focus,input[type=search][data-v-e2726892]:focus,input[type=text][data-v-e2726892]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-e2726892],input[type=password].with-icon[data-v-e2726892],input[type=search].with-icon[data-v-e2726892],input[type=text].with-icon[data-v-e2726892]{padding-left:.3em}input[type=search][data-v-e2726892],input[type=text][data-v-e2726892]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-e2726892]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-e2726892;-webkit-animation-name:fadeIn-e2726892}.fade-in[data-v-e2726892],.fade-out[data-v-e2726892]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-e2726892]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-e2726892;-webkit-animation-name:fadeOut-e2726892}@-webkit-keyframes fadeIn-e2726892{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-e2726892{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-e2726892{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-e2726892{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-e2726892]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-e2726892]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-e2726892]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.controls[data-v-e2726892]{flex-direction:column;margin-top:2.25em;background:#fff;padding:.5em 1em;border-radius:1em;box-shadow:0 0 2px 2px #ccc}.controls .row[data-v-e2726892],.controls[data-v-e2726892]{width:100%;display:flex;align-items:center}.controls .control[data-v-e2726892]{padding-top:.25em}.controls .icon[data-v-e2726892]{opacity:.7}.controls input[type=color][data-v-e2726892]{width:100%;border:0}.light-controls .row .slider{margin-top:.4em}.col-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-52168252]:first-child{margin-left:0}.col-no-margin-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-52168252]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-52168252]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-52168252]:first-child{margin-left:0}.col-no-margin-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-52168252]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-52168252]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-52168252]:first-child{margin-left:0}.col-no-margin-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-52168252]:first-child{margin-left:26%!important}.col-offset-3[data-v-52168252]:not(first-child){margin-left:30%!important}.col-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-52168252]:first-child{margin-left:0}.col-no-margin-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-52168252]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-52168252]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-52168252]:first-child{margin-left:0}.col-no-margin-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-52168252]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-52168252]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-52168252]:first-child{margin-left:0}.col-no-margin-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-52168252]:first-child{margin-left:52%!important}.col-offset-6[data-v-52168252]:not(first-child){margin-left:56%!important}.col-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-52168252]:first-child{margin-left:0}.col-no-margin-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-52168252]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-52168252]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-52168252]:first-child{margin-left:0}.col-no-margin-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-52168252]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-52168252]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-52168252]:first-child{margin-left:0}.col-no-margin-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-52168252]:first-child{margin-left:78%!important}.col-offset-9[data-v-52168252]:not(first-child){margin-left:82%!important}.col-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-52168252]:first-child{margin-left:0}.col-no-margin-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-52168252]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-52168252]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-52168252]:first-child{margin-left:0}.col-no-margin-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-52168252]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-52168252]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-52168252]:first-child{margin-left:0}.col-offset-s-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-52168252]:first-child{margin-left:0}.col-offset-s-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-52168252]:first-child{margin-left:0}.col-offset-s-3[data-v-52168252]{margin-left:26%}.col-no-margin-s-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-52168252]:first-child{margin-left:0}.col-offset-s-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-52168252]:first-child{margin-left:0}.col-offset-s-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-52168252]:first-child{margin-left:0}.col-offset-s-6[data-v-52168252]{margin-left:52%}.col-no-margin-s-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-52168252]:first-child{margin-left:0}.col-offset-s-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-52168252]:first-child{margin-left:0}.col-offset-s-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-52168252]:first-child{margin-left:0}.col-offset-s-9[data-v-52168252]{margin-left:78%}.col-no-margin-s-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-52168252]:first-child{margin-left:0}.col-offset-s-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-52168252]:first-child{margin-left:0}.col-offset-s-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-s-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-52168252]{display:none!important}.s-visible[data-v-52168252]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-52168252]:first-child{margin-left:0}.col-offset-m-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-52168252]:first-child{margin-left:0}.col-offset-m-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-52168252]:first-child{margin-left:0}.col-offset-m-3[data-v-52168252]{margin-left:26%}.col-no-margin-m-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-52168252]:first-child{margin-left:0}.col-offset-m-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-52168252]:first-child{margin-left:0}.col-offset-m-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-52168252]:first-child{margin-left:0}.col-offset-m-6[data-v-52168252]{margin-left:52%}.col-no-margin-m-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-52168252]:first-child{margin-left:0}.col-offset-m-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-52168252]:first-child{margin-left:0}.col-offset-m-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-52168252]:first-child{margin-left:0}.col-offset-m-9[data-v-52168252]{margin-left:78%}.col-no-margin-m-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-52168252]:first-child{margin-left:0}.col-offset-m-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-52168252]:first-child{margin-left:0}.col-offset-m-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-m-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-52168252]{display:none!important}.m-visible[data-v-52168252]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-52168252]:first-child{margin-left:0}.col-offset-l-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-52168252]:first-child{margin-left:0}.col-offset-l-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-52168252]:first-child{margin-left:0}.col-offset-l-3[data-v-52168252]{margin-left:26%}.col-no-margin-l-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-52168252]:first-child{margin-left:0}.col-offset-l-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-52168252]:first-child{margin-left:0}.col-offset-l-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-52168252]:first-child{margin-left:0}.col-offset-l-6[data-v-52168252]{margin-left:52%}.col-no-margin-l-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-52168252]:first-child{margin-left:0}.col-offset-l-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-52168252]:first-child{margin-left:0}.col-offset-l-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-52168252]:first-child{margin-left:0}.col-offset-l-9[data-v-52168252]{margin-left:78%}.col-no-margin-l-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-52168252]:first-child{margin-left:0}.col-offset-l-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-52168252]:first-child{margin-left:0}.col-offset-l-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-l-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-52168252]{display:none!important}.l-visible[data-v-52168252]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-3[data-v-52168252]{margin-left:26%}.col-no-margin-xl-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-6[data-v-52168252]{margin-left:52%}.col-no-margin-xl-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-9[data-v-52168252]{margin-left:78%}.col-no-margin-xl-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-52168252]:first-child{margin-left:0}.col-offset-xl-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-52168252]{display:none!important}.xl-visible[data-v-52168252]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-52168252]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-1[data-v-52168252]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-52168252]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-52168252]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-2[data-v-52168252]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-52168252]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-52168252]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-3[data-v-52168252]{margin-left:26%}.col-no-margin-xxl-3[data-v-52168252]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-52168252]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-4[data-v-52168252]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-52168252]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-52168252]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-5[data-v-52168252]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-52168252]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-52168252]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-6[data-v-52168252]{margin-left:52%}.col-no-margin-xxl-6[data-v-52168252]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-52168252]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-7[data-v-52168252]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-52168252]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-52168252]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-8[data-v-52168252]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-52168252]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-52168252]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-9[data-v-52168252]{margin-left:78%}.col-no-margin-xxl-9[data-v-52168252]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-52168252]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-10[data-v-52168252]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-52168252]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-52168252]:first-child{margin-left:0}.col-offset-xxl-11[data-v-52168252]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-52168252]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-52168252]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-52168252]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-52168252]{display:none!important}.xxl-visible[data-v-52168252]{display:block!important}}.vertical-center[data-v-52168252]{display:flex;align-items:center}.horizontal-center[data-v-52168252]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-52168252]{text-align:right;float:right;justify-content:right}.hidden[data-v-52168252]{display:none!important}.no-content[data-v-52168252]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-52168252],.btn[data-v-52168252],button[data-v-52168252]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-52168252],.btn-default[type=submit][data-v-52168252],.btn.btn-primary[data-v-52168252],.btn[type=submit][data-v-52168252],button.btn-primary[data-v-52168252],button[type=submit][data-v-52168252]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-52168252],input[type=text][data-v-52168252]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-52168252]:focus,input[type=text][data-v-52168252]:focus{border:1px solid #35b870}button[data-v-52168252],input[data-v-52168252]{outline:none}input[type=text][data-v-52168252]:hover,textarea[data-v-52168252]:hover{border:1px solid #9cdfb0}ul[data-v-52168252]{margin:0;padding:0;list-style:none}a[data-v-52168252]{cursor:pointer;text-decoration:none}.input-icon[data-v-52168252]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-52168252],input[type=password][data-v-52168252],input[type=search][data-v-52168252],input[type=text][data-v-52168252]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-52168252]:hover,input[type=password][data-v-52168252]:hover,input[type=search][data-v-52168252]:hover,input[type=text][data-v-52168252]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-52168252]:focus,input[type=password][data-v-52168252]:focus,input[type=search][data-v-52168252]:focus,input[type=text][data-v-52168252]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-52168252],input[type=password].with-icon[data-v-52168252],input[type=search].with-icon[data-v-52168252],input[type=text].with-icon[data-v-52168252]{padding-left:.3em}input[type=search][data-v-52168252],input[type=text][data-v-52168252]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-52168252]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-52168252;-webkit-animation-name:fadeIn-52168252}.fade-in[data-v-52168252],.fade-out[data-v-52168252]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-52168252]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-52168252;-webkit-animation-name:fadeOut-52168252}@-webkit-keyframes fadeIn-52168252{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-52168252{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-52168252{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-52168252{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-52168252]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-52168252]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-52168252]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.expanded .name[data-v-52168252]{font-size:1.25em}.col-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-3b982d9d]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-3b982d9d]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-3b982d9d]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-3b982d9d]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-3b982d9d]:first-child{margin-left:26%!important}.col-offset-3[data-v-3b982d9d]:not(first-child){margin-left:30%!important}.col-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-3b982d9d]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-3b982d9d]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-3b982d9d]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-3b982d9d]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-3b982d9d]:first-child{margin-left:52%!important}.col-offset-6[data-v-3b982d9d]:not(first-child){margin-left:56%!important}.col-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-3b982d9d]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-3b982d9d]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-3b982d9d]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-3b982d9d]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-3b982d9d]:first-child{margin-left:78%!important}.col-offset-9[data-v-3b982d9d]:not(first-child){margin-left:82%!important}.col-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-3b982d9d]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-3b982d9d]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-3b982d9d]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-3b982d9d]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-1[data-v-3b982d9d]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-2[data-v-3b982d9d]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-3[data-v-3b982d9d]{margin-left:26%}.col-no-margin-s-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-4[data-v-3b982d9d]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-5[data-v-3b982d9d]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-6[data-v-3b982d9d]{margin-left:52%}.col-no-margin-s-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-7[data-v-3b982d9d]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-8[data-v-3b982d9d]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-9[data-v-3b982d9d]{margin-left:78%}.col-no-margin-s-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-10[data-v-3b982d9d]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-s-11[data-v-3b982d9d]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-s-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-3b982d9d]{display:none!important}.s-visible[data-v-3b982d9d]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-1[data-v-3b982d9d]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-2[data-v-3b982d9d]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-3[data-v-3b982d9d]{margin-left:26%}.col-no-margin-m-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-4[data-v-3b982d9d]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-5[data-v-3b982d9d]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-6[data-v-3b982d9d]{margin-left:52%}.col-no-margin-m-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-7[data-v-3b982d9d]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-8[data-v-3b982d9d]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-9[data-v-3b982d9d]{margin-left:78%}.col-no-margin-m-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-10[data-v-3b982d9d]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-m-11[data-v-3b982d9d]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-m-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-3b982d9d]{display:none!important}.m-visible[data-v-3b982d9d]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-1[data-v-3b982d9d]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-2[data-v-3b982d9d]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-3[data-v-3b982d9d]{margin-left:26%}.col-no-margin-l-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-4[data-v-3b982d9d]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-5[data-v-3b982d9d]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-6[data-v-3b982d9d]{margin-left:52%}.col-no-margin-l-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-7[data-v-3b982d9d]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-8[data-v-3b982d9d]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-9[data-v-3b982d9d]{margin-left:78%}.col-no-margin-l-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-10[data-v-3b982d9d]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-l-11[data-v-3b982d9d]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-l-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-3b982d9d]{display:none!important}.l-visible[data-v-3b982d9d]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-1[data-v-3b982d9d]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-2[data-v-3b982d9d]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-3[data-v-3b982d9d]{margin-left:26%}.col-no-margin-xl-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-4[data-v-3b982d9d]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-5[data-v-3b982d9d]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-6[data-v-3b982d9d]{margin-left:52%}.col-no-margin-xl-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-7[data-v-3b982d9d]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-8[data-v-3b982d9d]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-9[data-v-3b982d9d]{margin-left:78%}.col-no-margin-xl-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-10[data-v-3b982d9d]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xl-11[data-v-3b982d9d]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-3b982d9d]{display:none!important}.xl-visible[data-v-3b982d9d]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-1[data-v-3b982d9d]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-3b982d9d]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-2[data-v-3b982d9d]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-3b982d9d]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-3[data-v-3b982d9d]{margin-left:26%}.col-no-margin-xxl-3[data-v-3b982d9d]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-4[data-v-3b982d9d]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-3b982d9d]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-5[data-v-3b982d9d]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-3b982d9d]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-6[data-v-3b982d9d]{margin-left:52%}.col-no-margin-xxl-6[data-v-3b982d9d]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-7[data-v-3b982d9d]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-3b982d9d]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-8[data-v-3b982d9d]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-3b982d9d]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-9[data-v-3b982d9d]{margin-left:78%}.col-no-margin-xxl-9[data-v-3b982d9d]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-10[data-v-3b982d9d]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-3b982d9d]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-3b982d9d]:first-child{margin-left:0}.col-offset-xxl-11[data-v-3b982d9d]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-3b982d9d]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-3b982d9d]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-3b982d9d]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-3b982d9d]{display:none!important}.xxl-visible[data-v-3b982d9d]{display:block!important}}.vertical-center[data-v-3b982d9d]{display:flex;align-items:center}.horizontal-center[data-v-3b982d9d]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-3b982d9d]{text-align:right;float:right;justify-content:right}.hidden[data-v-3b982d9d]{display:none!important}.no-content[data-v-3b982d9d]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-3b982d9d],.btn[data-v-3b982d9d],button[data-v-3b982d9d]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-3b982d9d],.btn-default[type=submit][data-v-3b982d9d],.btn.btn-primary[data-v-3b982d9d],.btn[type=submit][data-v-3b982d9d],button.btn-primary[data-v-3b982d9d],button[type=submit][data-v-3b982d9d]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-3b982d9d],input[type=text][data-v-3b982d9d]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-3b982d9d]:focus,input[type=text][data-v-3b982d9d]:focus{border:1px solid #35b870}button[data-v-3b982d9d],input[data-v-3b982d9d]{outline:none}input[type=text][data-v-3b982d9d]:hover,textarea[data-v-3b982d9d]:hover{border:1px solid #9cdfb0}ul[data-v-3b982d9d]{margin:0;padding:0;list-style:none}a[data-v-3b982d9d]{cursor:pointer;text-decoration:none}.input-icon[data-v-3b982d9d]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-3b982d9d],input[type=password][data-v-3b982d9d],input[type=search][data-v-3b982d9d],input[type=text][data-v-3b982d9d]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-3b982d9d]:hover,input[type=password][data-v-3b982d9d]:hover,input[type=search][data-v-3b982d9d]:hover,input[type=text][data-v-3b982d9d]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-3b982d9d]:focus,input[type=password][data-v-3b982d9d]:focus,input[type=search][data-v-3b982d9d]:focus,input[type=text][data-v-3b982d9d]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-3b982d9d],input[type=password].with-icon[data-v-3b982d9d],input[type=search].with-icon[data-v-3b982d9d],input[type=text].with-icon[data-v-3b982d9d]{padding-left:.3em}input[type=search][data-v-3b982d9d],input[type=text][data-v-3b982d9d]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-3b982d9d]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-3b982d9d;-webkit-animation-name:fadeIn-3b982d9d}.fade-in[data-v-3b982d9d],.fade-out[data-v-3b982d9d]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-3b982d9d]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-3b982d9d;-webkit-animation-name:fadeOut-3b982d9d}@-webkit-keyframes fadeIn-3b982d9d{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-3b982d9d{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-3b982d9d{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-3b982d9d{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-3b982d9d]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-3b982d9d]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-3b982d9d]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.range-wrapper[data-v-3b982d9d]{width:100%;position:relative}.range-wrapper input[type=range][data-v-3b982d9d]{width:100%;position:absolute;left:0;bottom:0;outline:none;-webkit-appearance:none;-o-appearance:none;-moz-appearance:none;appearance:none}.range-wrapper input[type=range][data-v-3b982d9d]:focus,.range-wrapper input[type=range][data-v-3b982d9d]:hover{outline:none;border:0}.range-wrapper input[type=range][data-v-3b982d9d]::-webkit-slider-runnable-track{width:100%;height:.75em;cursor:pointer;animate:.2s;background:#e4e4e4;border-radius:.5em;box-shadow:inset 1px 0 3px 0 #a5a2a2;border:0}.range-wrapper input[type=range][data-v-3b982d9d]::-moz-range-track{width:100%;height:.75em;cursor:pointer;animate:.2s;background:#e4e4e4;border-radius:.5em;box-shadow:inset 1px 0 3px 0 #a5a2a2;border:0}.range-wrapper input[type=range][data-v-3b982d9d]::-moz-range-progress{background:rgba(0,215,80,.5)}.range-wrapper input[type=range][data-v-3b982d9d]::-ms-track{width:100%;height:.75em;cursor:pointer;animate:.2s;background:transparent;border-color:transparent;color:transparent}.range-wrapper input[type=range][data-v-3b982d9d]::-ms-fill-lower,.range-wrapper input[type=range][data-v-3b982d9d]::-ms-fill-upper{background:rgba(0,215,80,.5);border-radius:1px;box-shadow:none;border:0}.range-wrapper input[type=range][data-v-3b982d9d]::-webkit-slider-thumb{width:1.25em;height:1.25em;background:#37d560;position:relative;z-index:2;border-radius:50%;box-shadow:1px 0 2px 0 #475c40;cursor:pointer;-webkit-appearance:none;-o-appearance:none;appearance:none;margin-top:-.25em}.range-wrapper input[type=range][data-v-3b982d9d]::-moz-range-thumb{width:1.25em;height:1.25em;background:#37d560;position:relative;z-index:2;border-radius:50%;box-shadow:1px 0 2px 0 #475c40;cursor:pointer}.range-wrapper input[type=range][data-v-3b982d9d]::-ms-thumb{width:1.25em;height:1.25em;background:#37d560;position:relative;z-index:2;border-radius:50%;box-shadow:1px 0 2px 0 #475c40;cursor:pointer}.col-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-1739aaba]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-1739aaba]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-1739aaba]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-1739aaba]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-1739aaba]:first-child{margin-left:26%!important}.col-offset-3[data-v-1739aaba]:not(first-child){margin-left:30%!important}.col-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-1739aaba]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-1739aaba]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-1739aaba]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-1739aaba]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-1739aaba]:first-child{margin-left:52%!important}.col-offset-6[data-v-1739aaba]:not(first-child){margin-left:56%!important}.col-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-1739aaba]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-1739aaba]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-1739aaba]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-1739aaba]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-1739aaba]:first-child{margin-left:78%!important}.col-offset-9[data-v-1739aaba]:not(first-child){margin-left:82%!important}.col-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-1739aaba]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-1739aaba]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-1739aaba]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-1739aaba]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-s-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-s-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-s-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-s-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-s-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-1739aaba]{display:none!important}.s-visible[data-v-1739aaba]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-m-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-m-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-m-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-m-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-m-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-1739aaba]{display:none!important}.m-visible[data-v-1739aaba]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-l-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-l-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-l-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-l-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-l-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-1739aaba]{display:none!important}.l-visible[data-v-1739aaba]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-xl-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-xl-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-xl-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xl-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-1739aaba]{display:none!important}.xl-visible[data-v-1739aaba]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-1[data-v-1739aaba]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-1739aaba]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-2[data-v-1739aaba]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-1739aaba]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-3[data-v-1739aaba]{margin-left:26%}.col-no-margin-xxl-3[data-v-1739aaba]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-4[data-v-1739aaba]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-1739aaba]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-5[data-v-1739aaba]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-1739aaba]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-6[data-v-1739aaba]{margin-left:52%}.col-no-margin-xxl-6[data-v-1739aaba]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-7[data-v-1739aaba]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-1739aaba]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-8[data-v-1739aaba]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-1739aaba]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-9[data-v-1739aaba]{margin-left:78%}.col-no-margin-xxl-9[data-v-1739aaba]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-10[data-v-1739aaba]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-1739aaba]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-1739aaba]:first-child{margin-left:0}.col-offset-xxl-11[data-v-1739aaba]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-1739aaba]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-1739aaba]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-1739aaba]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-1739aaba]{display:none!important}.xxl-visible[data-v-1739aaba]{display:block!important}}.vertical-center[data-v-1739aaba]{display:flex;align-items:center}.horizontal-center[data-v-1739aaba]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-1739aaba]{text-align:right;float:right;justify-content:right}.hidden[data-v-1739aaba]{display:none!important}.no-content[data-v-1739aaba]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-1739aaba],.btn[data-v-1739aaba],button[data-v-1739aaba]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-1739aaba],.btn-default[type=submit][data-v-1739aaba],.btn.btn-primary[data-v-1739aaba],.btn[type=submit][data-v-1739aaba],button.btn-primary[data-v-1739aaba],button[type=submit][data-v-1739aaba]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-1739aaba],input[type=text][data-v-1739aaba]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-1739aaba]:focus,input[type=text][data-v-1739aaba]:focus{border:1px solid #35b870}button[data-v-1739aaba],input[data-v-1739aaba]{outline:none}input[type=text][data-v-1739aaba]:hover,textarea[data-v-1739aaba]:hover{border:1px solid #9cdfb0}ul[data-v-1739aaba]{margin:0;padding:0;list-style:none}a[data-v-1739aaba]{cursor:pointer;text-decoration:none}.input-icon[data-v-1739aaba]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-1739aaba],input[type=password][data-v-1739aaba],input[type=search][data-v-1739aaba],input[type=text][data-v-1739aaba]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-1739aaba]:hover,input[type=password][data-v-1739aaba]:hover,input[type=search][data-v-1739aaba]:hover,input[type=text][data-v-1739aaba]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-1739aaba]:focus,input[type=password][data-v-1739aaba]:focus,input[type=search][data-v-1739aaba]:focus,input[type=text][data-v-1739aaba]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-1739aaba],input[type=password].with-icon[data-v-1739aaba],input[type=search].with-icon[data-v-1739aaba],input[type=text].with-icon[data-v-1739aaba]{padding-left:.3em}input[type=search][data-v-1739aaba],input[type=text][data-v-1739aaba]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-1739aaba]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-1739aaba;-webkit-animation-name:fadeIn-1739aaba}.fade-in[data-v-1739aaba],.fade-out[data-v-1739aaba]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-1739aaba]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-1739aaba;-webkit-animation-name:fadeOut-1739aaba}@-webkit-keyframes fadeIn-1739aaba{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-1739aaba{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-1739aaba{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-1739aaba{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-1739aaba]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-1739aaba]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-1739aaba]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.animation-container[data-v-1739aaba]{width:100%}.animation-container .animation-header[data-v-1739aaba],.animation-container .animation[data-v-1739aaba]{padding-bottom:.5em;margin-bottom:.5em;box-shadow:0 3px 2px -1px silver}.controls[data-v-1739aaba]{width:100%;display:flex;flex-direction:column;align-items:center;margin-top:2.25em;background:#fff;padding:.5em 1em;border-radius:1em;box-shadow:0 0 2px 2px #ccc}.controls .selector[data-v-1739aaba]{width:100%}.controls .row[data-v-1739aaba]{width:100%;display:flex;align-items:center;padding:.5em 0}.controls .row>div[data-v-1739aaba]:last-child{text-align:right}.controls .control[data-v-1739aaba]{padding-top:.25em}.controls .lights[data-v-1739aaba]{padding-top:.5em;width:100%}.controls .lights .row[data-v-1739aaba]{display:flex;align-items:center}.controls .lights label[data-v-1739aaba]{width:100%}.light-group-container{width:100%;min-height:100%}.light-group-container .row.panel-row{flex-direction:column}.light-group-container .row.panel-row.expanded,.light-group-container .row.panel-row.selected{background:#c8ffd0}.light-group-container .header{padding:.5em!important;display:flex;align-items:center}.light-group-container .header .back-btn{border:0;background:none}.light-group-container .header .back-btn:hover{border:0;color:#35b870}.light-group-container .header .name{text-align:center}.light-group-container .header .name.selected{color:#32b646}.light-group-container .header .name:hover{color:#35b870}.light-group-container .view-selector{width:100%;border-radius:0}.light-group-container .view-selector button{width:33.3%;padding:1.5em;text-align:left;opacity:.8;box-shadow:1px 0 1px 1px #ddd;border-right:0}.light-group-container .view-selector button.selected{background:#c8ffd0}.light-group-container .view-selector button:hover{background:#bef6da}.light-group-container .view-selector .icon{width:100%;text-align:center;font-size:1.2em}.light-group-container .group-controls{margin:0;padding:1em;background-color:#e4eae8;border-radius:0 0 1em 1em}.light-group-container .group-controls .controls{margin:0;padding:1em}.col-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1[data-v-781dd72c]:first-child{margin-left:8.6666666667%!important}.col-offset-1[data-v-781dd72c]:not(first-child){margin-left:12.6666666667%!important}.col-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2[data-v-781dd72c]:first-child{margin-left:17.3333333333%!important}.col-offset-2[data-v-781dd72c]:not(first-child){margin-left:21.3333333333%!important}.col-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3[data-v-781dd72c]:first-child{margin-left:26%!important}.col-offset-3[data-v-781dd72c]:not(first-child){margin-left:30%!important}.col-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4[data-v-781dd72c]:first-child{margin-left:34.6666666667%!important}.col-offset-4[data-v-781dd72c]:not(first-child){margin-left:38.6666666667%!important}.col-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5[data-v-781dd72c]:first-child{margin-left:43.3333333334%!important}.col-offset-5[data-v-781dd72c]:not(first-child){margin-left:47.3333333334%!important}.col-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6[data-v-781dd72c]:first-child{margin-left:52%!important}.col-offset-6[data-v-781dd72c]:not(first-child){margin-left:56%!important}.col-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7[data-v-781dd72c]:first-child{margin-left:60.6666666667%!important}.col-offset-7[data-v-781dd72c]:not(first-child){margin-left:64.6666666667%!important}.col-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8[data-v-781dd72c]:first-child{margin-left:69.3333333334%!important}.col-offset-8[data-v-781dd72c]:not(first-child){margin-left:73.3333333334%!important}.col-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9[data-v-781dd72c]:first-child{margin-left:78%!important}.col-offset-9[data-v-781dd72c]:not(first-child){margin-left:82%!important}.col-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10[data-v-781dd72c]:first-child{margin-left:86.6666666667%!important}.col-offset-10[data-v-781dd72c]:not(first-child){margin-left:90.6666666667%!important}.col-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11[data-v-781dd72c]:first-child{margin-left:95.3333333334%!important}.col-offset-11[data-v-781dd72c]:not(first-child){margin-left:99.3333333334%!important}.col-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-s-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-s-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-s-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-s-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-s-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-s-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-s-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-s-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-s-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-s-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-s-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-s-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-s-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-s-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-s-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-s-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-s-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-s-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-s-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-s-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-s-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-s-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-s-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-s-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-s-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-s-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-s-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-s-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-s-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-s-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-s-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-s-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-s-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-s-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-s-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.s-hidden[data-v-781dd72c]{display:none!important}.s-visible[data-v-781dd72c]{display:block!important}}@media screen and (min-width:769px){.col-m-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-m-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-m-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-m-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-m-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-m-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-m-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-m-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-m-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-m-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-m-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-m-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-m-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-m-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-m-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-m-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-m-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-m-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-m-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-m-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-m-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-m-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-m-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-m-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-m-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-m-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-m-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-m-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-m-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-m-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-m-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-m-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-m-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-m-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-m-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-m-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.m-hidden[data-v-781dd72c]{display:none!important}.m-visible[data-v-781dd72c]{display:block!important}}@media screen and (min-width:1024px){.col-l-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-l-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-l-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-l-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-l-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-l-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-l-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-l-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-l-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-l-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-l-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-l-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-l-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-l-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-l-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-l-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-l-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-l-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-l-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-l-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-l-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-l-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-l-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-l-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-l-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-l-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-l-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-l-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-l-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-l-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-l-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-l-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-l-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-l-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-l-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-l-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.l-hidden[data-v-781dd72c]{display:none!important}.l-visible[data-v-781dd72c]{display:block!important}}@media screen and (min-width:1216px){.col-xl-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-xl-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xl-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xl-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-xl-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xl-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xl-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-xl-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-xl-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xl-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-xl-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xl-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xl-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-xl-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xl-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xl-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-xl-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-xl-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xl-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-xl-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xl-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xl-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-xl-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xl-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xl-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-xl-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-xl-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xl-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-xl-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xl-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xl-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xl-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-xl-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xl-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xl-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-xl-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.xl-hidden[data-v-781dd72c]{display:none!important}.xl-visible[data-v-781dd72c]{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-1[data-v-781dd72c]{margin-left:8.6666666667%}.col-no-margin-xxl-1[data-v-781dd72c]{float:left;box-sizing:border-box;width:8.3333333333%}.col-xxl-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-xxl-2[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-2[data-v-781dd72c]{margin-left:17.3333333333%}.col-no-margin-xxl-2[data-v-781dd72c]{float:left;box-sizing:border-box;width:16.6666666667%}.col-xxl-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-xxl-3[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-3[data-v-781dd72c]{margin-left:26%}.col-no-margin-xxl-3[data-v-781dd72c]{float:left;box-sizing:border-box;width:25%}.col-xxl-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-xxl-4[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-4[data-v-781dd72c]{margin-left:34.6666666667%}.col-no-margin-xxl-4[data-v-781dd72c]{float:left;box-sizing:border-box;width:33.3333333333%}.col-xxl-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-xxl-5[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-5[data-v-781dd72c]{margin-left:43.3333333334%}.col-no-margin-xxl-5[data-v-781dd72c]{float:left;box-sizing:border-box;width:41.6666666667%}.col-xxl-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-xxl-6[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-6[data-v-781dd72c]{margin-left:52%}.col-no-margin-xxl-6[data-v-781dd72c]{float:left;box-sizing:border-box;width:50%}.col-xxl-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-xxl-7[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-7[data-v-781dd72c]{margin-left:60.6666666667%}.col-no-margin-xxl-7[data-v-781dd72c]{float:left;box-sizing:border-box;width:58.3333333333%}.col-xxl-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-xxl-8[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-8[data-v-781dd72c]{margin-left:69.3333333334%}.col-no-margin-xxl-8[data-v-781dd72c]{float:left;box-sizing:border-box;width:66.6666666667%}.col-xxl-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-xxl-9[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-9[data-v-781dd72c]{margin-left:78%}.col-no-margin-xxl-9[data-v-781dd72c]{float:left;box-sizing:border-box;width:75%}.col-xxl-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-10[data-v-781dd72c]{margin-left:86.6666666667%}.col-no-margin-xxl-10[data-v-781dd72c]{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11[data-v-781dd72c]:first-child{margin-left:0}.col-offset-xxl-11[data-v-781dd72c]{margin-left:95.3333333334%}.col-no-margin-xxl-11[data-v-781dd72c]{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%;margin-left:0}.col-xxl-12[data-v-781dd72c]:first-child{margin-left:0}.col-no-margin-xxl-12[data-v-781dd72c]{float:left;box-sizing:border-box;width:100%}.xxl-hidden[data-v-781dd72c]{display:none!important}.xxl-visible[data-v-781dd72c]{display:block!important}}.vertical-center[data-v-781dd72c]{display:flex;align-items:center}.horizontal-center[data-v-781dd72c]{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right[data-v-781dd72c]{text-align:right;float:right;justify-content:right}.hidden[data-v-781dd72c]{display:none!important}.no-content[data-v-781dd72c]{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn-default[data-v-781dd72c],.btn[data-v-781dd72c],button[data-v-781dd72c]{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary[data-v-781dd72c],.btn-default[type=submit][data-v-781dd72c],.btn.btn-primary[data-v-781dd72c],.btn[type=submit][data-v-781dd72c],button.btn-primary[data-v-781dd72c],button[type=submit][data-v-781dd72c]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password][data-v-781dd72c],input[type=text][data-v-781dd72c]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password][data-v-781dd72c]:focus,input[type=text][data-v-781dd72c]:focus{border:1px solid #35b870}button[data-v-781dd72c],input[data-v-781dd72c]{outline:none}input[type=text][data-v-781dd72c]:hover,textarea[data-v-781dd72c]:hover{border:1px solid #9cdfb0}ul[data-v-781dd72c]{margin:0;padding:0;list-style:none}a[data-v-781dd72c]{cursor:pointer;text-decoration:none}.input-icon[data-v-781dd72c]{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number][data-v-781dd72c],input[type=password][data-v-781dd72c],input[type=search][data-v-781dd72c],input[type=text][data-v-781dd72c]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number][data-v-781dd72c]:hover,input[type=password][data-v-781dd72c]:hover,input[type=search][data-v-781dd72c]:hover,input[type=text][data-v-781dd72c]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number][data-v-781dd72c]:focus,input[type=password][data-v-781dd72c]:focus,input[type=search][data-v-781dd72c]:focus,input[type=text][data-v-781dd72c]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon[data-v-781dd72c],input[type=password].with-icon[data-v-781dd72c],input[type=search].with-icon[data-v-781dd72c],input[type=text].with-icon[data-v-781dd72c]{padding-left:.3em}input[type=search][data-v-781dd72c],input[type=text][data-v-781dd72c]{border-radius:1em;padding:.25em .5em}.fade-in[data-v-781dd72c]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn-781dd72c;-webkit-animation-name:fadeIn-781dd72c}.fade-in[data-v-781dd72c],.fade-out[data-v-781dd72c]{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out[data-v-781dd72c]{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut-781dd72c;-webkit-animation-name:fadeOut-781dd72c}@-webkit-keyframes fadeIn-781dd72c{0%{opacity:0}to{opacity:1}}@keyframes fadeIn-781dd72c{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut-781dd72c{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut-781dd72c{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi[data-v-781dd72c]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-plex[data-v-781dd72c]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin[data-v-781dd72c]:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.plugin[data-v-781dd72c]{width:100%;height:100%;display:flex}.panel[data-v-781dd72c]{width:100%;height:100%;box-shadow:none;overflow:auto}.col-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-1:first-child{margin-left:0}.col-no-margin-1{float:left;box-sizing:border-box;width:8.3333333333%;margin:0}.col-offset-1:first-child{margin-left:8.6666666667%!important}.col-offset-1:not(first-child){margin-left:12.6666666667%!important}.col-2{float:left;box-sizing:border-box;width:13.3333333333%;margin-left:4%}.col-2:first-child{margin-left:0}.col-no-margin-2{float:left;box-sizing:border-box;width:16.6666666667%;margin:0}.col-offset-2:first-child{margin-left:17.3333333333%!important}.col-offset-2:not(first-child){margin-left:21.3333333333%!important}.col-3{float:left;box-sizing:border-box;width:22%;margin-left:4%}.col-3:first-child{margin-left:0}.col-no-margin-3{float:left;box-sizing:border-box;width:25%;margin:0}.col-offset-3:first-child{margin-left:26%!important}.col-offset-3:not(first-child){margin-left:30%!important}.col-4{float:left;box-sizing:border-box;width:30.6666666667%;margin-left:4%}.col-4:first-child{margin-left:0}.col-no-margin-4{float:left;box-sizing:border-box;width:33.3333333333%;margin:0}.col-offset-4:first-child{margin-left:34.6666666667%!important}.col-offset-4:not(first-child){margin-left:38.6666666667%!important}.col-5{float:left;box-sizing:border-box;width:39.3333333334%;margin-left:4%}.col-5:first-child{margin-left:0}.col-no-margin-5{float:left;box-sizing:border-box;width:41.6666666667%;margin:0}.col-offset-5:first-child{margin-left:43.3333333334%!important}.col-offset-5:not(first-child){margin-left:47.3333333334%!important}.col-6{float:left;box-sizing:border-box;width:48%;margin-left:4%}.col-6:first-child{margin-left:0}.col-no-margin-6{float:left;box-sizing:border-box;width:50%;margin:0}.col-offset-6:first-child{margin-left:52%!important}.col-offset-6:not(first-child){margin-left:56%!important}.col-7{float:left;box-sizing:border-box;width:56.6666666667%;margin-left:4%}.col-7:first-child{margin-left:0}.col-no-margin-7{float:left;box-sizing:border-box;width:58.3333333333%;margin:0}.col-offset-7:first-child{margin-left:60.6666666667%!important}.col-offset-7:not(first-child){margin-left:64.6666666667%!important}.col-8{float:left;box-sizing:border-box;width:65.3333333334%;margin-left:4%}.col-8:first-child{margin-left:0}.col-no-margin-8{float:left;box-sizing:border-box;width:66.6666666667%;margin:0}.col-offset-8:first-child{margin-left:69.3333333334%!important}.col-offset-8:not(first-child){margin-left:73.3333333334%!important}.col-9{float:left;box-sizing:border-box;width:74%;margin-left:4%}.col-9:first-child{margin-left:0}.col-no-margin-9{float:left;box-sizing:border-box;width:75%;margin:0}.col-offset-9:first-child{margin-left:78%!important}.col-offset-9:not(first-child){margin-left:82%!important}.col-10{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-10:first-child{margin-left:0}.col-no-margin-10{float:left;box-sizing:border-box;width:83.3333333333%;margin:0}.col-offset-10:first-child{margin-left:86.6666666667%!important}.col-offset-10:not(first-child){margin-left:90.6666666667%!important}.col-11{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-11:first-child{margin-left:0}.col-no-margin-11{float:left;box-sizing:border-box;width:91.6666666667%;margin:0}.col-offset-11:first-child{margin-left:95.3333333334%!important}.col-offset-11:not(first-child){margin-left:99.3333333334%!important}.col-12{float:left;box-sizing:border-box;width:100%}.col-12,.col-12:first-child{margin-left:0}.col-no-margin-12{float:left;box-sizing:border-box;width:100%;margin:0}@media screen and (max-width:calc(769px - 1px)){.col-s-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-s-1:first-child{margin-left:0}.col-offset-s-1{margin-left:8.6666666667%}.col-no-margin-s-1{width:8.3333333333%}.col-no-margin-s-1,.col-s-2{float:left;box-sizing:border-box}.col-s-2{width:13.3333333333%;margin-left:4%}.col-s-2:first-child{margin-left:0}.col-offset-s-2{margin-left:17.3333333333%}.col-no-margin-s-2{width:16.6666666667%}.col-no-margin-s-2,.col-s-3{float:left;box-sizing:border-box}.col-s-3{width:22%;margin-left:4%}.col-s-3:first-child{margin-left:0}.col-offset-s-3{margin-left:26%}.col-no-margin-s-3{width:25%}.col-no-margin-s-3,.col-s-4{float:left;box-sizing:border-box}.col-s-4{width:30.6666666667%;margin-left:4%}.col-s-4:first-child{margin-left:0}.col-offset-s-4{margin-left:34.6666666667%}.col-no-margin-s-4{width:33.3333333333%}.col-no-margin-s-4,.col-s-5{float:left;box-sizing:border-box}.col-s-5{width:39.3333333334%;margin-left:4%}.col-s-5:first-child{margin-left:0}.col-offset-s-5{margin-left:43.3333333334%}.col-no-margin-s-5{width:41.6666666667%}.col-no-margin-s-5,.col-s-6{float:left;box-sizing:border-box}.col-s-6{width:48%;margin-left:4%}.col-s-6:first-child{margin-left:0}.col-offset-s-6{margin-left:52%}.col-no-margin-s-6{width:50%}.col-no-margin-s-6,.col-s-7{float:left;box-sizing:border-box}.col-s-7{width:56.6666666667%;margin-left:4%}.col-s-7:first-child{margin-left:0}.col-offset-s-7{margin-left:60.6666666667%}.col-no-margin-s-7{width:58.3333333333%}.col-no-margin-s-7,.col-s-8{float:left;box-sizing:border-box}.col-s-8{width:65.3333333334%;margin-left:4%}.col-s-8:first-child{margin-left:0}.col-offset-s-8{margin-left:69.3333333334%}.col-no-margin-s-8{width:66.6666666667%}.col-no-margin-s-8,.col-s-9{float:left;box-sizing:border-box}.col-s-9{width:74%;margin-left:4%}.col-s-9:first-child{margin-left:0}.col-offset-s-9{margin-left:78%}.col-no-margin-s-9{width:75%}.col-no-margin-s-9,.col-s-10{float:left;box-sizing:border-box}.col-s-10{width:82.6666666667%;margin-left:4%}.col-s-10:first-child{margin-left:0}.col-offset-s-10{margin-left:86.6666666667%}.col-no-margin-s-10{width:83.3333333333%}.col-no-margin-s-10,.col-s-11{float:left;box-sizing:border-box}.col-s-11{width:91.3333333334%;margin-left:4%}.col-s-11:first-child{margin-left:0}.col-offset-s-11{margin-left:95.3333333334%}.col-no-margin-s-11{width:91.6666666667%}.col-no-margin-s-11,.col-s-12{float:left;box-sizing:border-box}.col-s-12{width:100%}.col-s-12,.col-s-12:first-child{margin-left:0}.col-no-margin-s-12{float:left;box-sizing:border-box;width:100%}.s-hidden{display:none!important}.s-visible{display:block!important}}@media screen and (min-width:769px){.col-m-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-m-1:first-child{margin-left:0}.col-offset-m-1{margin-left:8.6666666667%}.col-no-margin-m-1{width:8.3333333333%}.col-m-2,.col-no-margin-m-1{float:left;box-sizing:border-box}.col-m-2{width:13.3333333333%;margin-left:4%}.col-m-2:first-child{margin-left:0}.col-offset-m-2{margin-left:17.3333333333%}.col-no-margin-m-2{width:16.6666666667%}.col-m-3,.col-no-margin-m-2{float:left;box-sizing:border-box}.col-m-3{width:22%;margin-left:4%}.col-m-3:first-child{margin-left:0}.col-offset-m-3{margin-left:26%}.col-no-margin-m-3{width:25%}.col-m-4,.col-no-margin-m-3{float:left;box-sizing:border-box}.col-m-4{width:30.6666666667%;margin-left:4%}.col-m-4:first-child{margin-left:0}.col-offset-m-4{margin-left:34.6666666667%}.col-no-margin-m-4{width:33.3333333333%}.col-m-5,.col-no-margin-m-4{float:left;box-sizing:border-box}.col-m-5{width:39.3333333334%;margin-left:4%}.col-m-5:first-child{margin-left:0}.col-offset-m-5{margin-left:43.3333333334%}.col-no-margin-m-5{width:41.6666666667%}.col-m-6,.col-no-margin-m-5{float:left;box-sizing:border-box}.col-m-6{width:48%;margin-left:4%}.col-m-6:first-child{margin-left:0}.col-offset-m-6{margin-left:52%}.col-no-margin-m-6{width:50%}.col-m-7,.col-no-margin-m-6{float:left;box-sizing:border-box}.col-m-7{width:56.6666666667%;margin-left:4%}.col-m-7:first-child{margin-left:0}.col-offset-m-7{margin-left:60.6666666667%}.col-no-margin-m-7{width:58.3333333333%}.col-m-8,.col-no-margin-m-7{float:left;box-sizing:border-box}.col-m-8{width:65.3333333334%;margin-left:4%}.col-m-8:first-child{margin-left:0}.col-offset-m-8{margin-left:69.3333333334%}.col-no-margin-m-8{width:66.6666666667%}.col-m-9,.col-no-margin-m-8{float:left;box-sizing:border-box}.col-m-9{width:74%;margin-left:4%}.col-m-9:first-child{margin-left:0}.col-offset-m-9{margin-left:78%}.col-no-margin-m-9{width:75%}.col-m-10,.col-no-margin-m-9{float:left;box-sizing:border-box}.col-m-10{width:82.6666666667%;margin-left:4%}.col-m-10:first-child{margin-left:0}.col-offset-m-10{margin-left:86.6666666667%}.col-no-margin-m-10{width:83.3333333333%}.col-m-11,.col-no-margin-m-10{float:left;box-sizing:border-box}.col-m-11{width:91.3333333334%;margin-left:4%}.col-m-11:first-child{margin-left:0}.col-offset-m-11{margin-left:95.3333333334%}.col-no-margin-m-11{width:91.6666666667%}.col-m-12,.col-no-margin-m-11{float:left;box-sizing:border-box}.col-m-12{width:100%}.col-m-12,.col-m-12:first-child{margin-left:0}.col-no-margin-m-12{float:left;box-sizing:border-box;width:100%}.m-hidden{display:none!important}.m-visible{display:block!important}}@media screen and (min-width:1024px){.col-l-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-l-1:first-child{margin-left:0}.col-offset-l-1{margin-left:8.6666666667%}.col-no-margin-l-1{width:8.3333333333%}.col-l-2,.col-no-margin-l-1{float:left;box-sizing:border-box}.col-l-2{width:13.3333333333%;margin-left:4%}.col-l-2:first-child{margin-left:0}.col-offset-l-2{margin-left:17.3333333333%}.col-no-margin-l-2{width:16.6666666667%}.col-l-3,.col-no-margin-l-2{float:left;box-sizing:border-box}.col-l-3{width:22%;margin-left:4%}.col-l-3:first-child{margin-left:0}.col-offset-l-3{margin-left:26%}.col-no-margin-l-3{width:25%}.col-l-4,.col-no-margin-l-3{float:left;box-sizing:border-box}.col-l-4{width:30.6666666667%;margin-left:4%}.col-l-4:first-child{margin-left:0}.col-offset-l-4{margin-left:34.6666666667%}.col-no-margin-l-4{width:33.3333333333%}.col-l-5,.col-no-margin-l-4{float:left;box-sizing:border-box}.col-l-5{width:39.3333333334%;margin-left:4%}.col-l-5:first-child{margin-left:0}.col-offset-l-5{margin-left:43.3333333334%}.col-no-margin-l-5{width:41.6666666667%}.col-l-6,.col-no-margin-l-5{float:left;box-sizing:border-box}.col-l-6{width:48%;margin-left:4%}.col-l-6:first-child{margin-left:0}.col-offset-l-6{margin-left:52%}.col-no-margin-l-6{width:50%}.col-l-7,.col-no-margin-l-6{float:left;box-sizing:border-box}.col-l-7{width:56.6666666667%;margin-left:4%}.col-l-7:first-child{margin-left:0}.col-offset-l-7{margin-left:60.6666666667%}.col-no-margin-l-7{width:58.3333333333%}.col-l-8,.col-no-margin-l-7{float:left;box-sizing:border-box}.col-l-8{width:65.3333333334%;margin-left:4%}.col-l-8:first-child{margin-left:0}.col-offset-l-8{margin-left:69.3333333334%}.col-no-margin-l-8{width:66.6666666667%}.col-l-9,.col-no-margin-l-8{float:left;box-sizing:border-box}.col-l-9{width:74%;margin-left:4%}.col-l-9:first-child{margin-left:0}.col-offset-l-9{margin-left:78%}.col-no-margin-l-9{width:75%}.col-l-10,.col-no-margin-l-9{float:left;box-sizing:border-box}.col-l-10{width:82.6666666667%;margin-left:4%}.col-l-10:first-child{margin-left:0}.col-offset-l-10{margin-left:86.6666666667%}.col-no-margin-l-10{width:83.3333333333%}.col-l-11,.col-no-margin-l-10{float:left;box-sizing:border-box}.col-l-11{width:91.3333333334%;margin-left:4%}.col-l-11:first-child{margin-left:0}.col-offset-l-11{margin-left:95.3333333334%}.col-no-margin-l-11{width:91.6666666667%}.col-l-12,.col-no-margin-l-11{float:left;box-sizing:border-box}.col-l-12{width:100%}.col-l-12,.col-l-12:first-child{margin-left:0}.col-no-margin-l-12{float:left;box-sizing:border-box;width:100%}.l-hidden{display:none!important}.l-visible{display:block!important}}@media screen and (min-width:1216px){.col-xl-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xl-1:first-child{margin-left:0}.col-offset-xl-1{margin-left:8.6666666667%}.col-no-margin-xl-1{width:8.3333333333%}.col-no-margin-xl-1,.col-xl-2{float:left;box-sizing:border-box}.col-xl-2{width:13.3333333333%;margin-left:4%}.col-xl-2:first-child{margin-left:0}.col-offset-xl-2{margin-left:17.3333333333%}.col-no-margin-xl-2{width:16.6666666667%}.col-no-margin-xl-2,.col-xl-3{float:left;box-sizing:border-box}.col-xl-3{width:22%;margin-left:4%}.col-xl-3:first-child{margin-left:0}.col-offset-xl-3{margin-left:26%}.col-no-margin-xl-3{width:25%}.col-no-margin-xl-3,.col-xl-4{float:left;box-sizing:border-box}.col-xl-4{width:30.6666666667%;margin-left:4%}.col-xl-4:first-child{margin-left:0}.col-offset-xl-4{margin-left:34.6666666667%}.col-no-margin-xl-4{width:33.3333333333%}.col-no-margin-xl-4,.col-xl-5{float:left;box-sizing:border-box}.col-xl-5{width:39.3333333334%;margin-left:4%}.col-xl-5:first-child{margin-left:0}.col-offset-xl-5{margin-left:43.3333333334%}.col-no-margin-xl-5{width:41.6666666667%}.col-no-margin-xl-5,.col-xl-6{float:left;box-sizing:border-box}.col-xl-6{width:48%;margin-left:4%}.col-xl-6:first-child{margin-left:0}.col-offset-xl-6{margin-left:52%}.col-no-margin-xl-6{width:50%}.col-no-margin-xl-6,.col-xl-7{float:left;box-sizing:border-box}.col-xl-7{width:56.6666666667%;margin-left:4%}.col-xl-7:first-child{margin-left:0}.col-offset-xl-7{margin-left:60.6666666667%}.col-no-margin-xl-7{width:58.3333333333%}.col-no-margin-xl-7,.col-xl-8{float:left;box-sizing:border-box}.col-xl-8{width:65.3333333334%;margin-left:4%}.col-xl-8:first-child{margin-left:0}.col-offset-xl-8{margin-left:69.3333333334%}.col-no-margin-xl-8{width:66.6666666667%}.col-no-margin-xl-8,.col-xl-9{float:left;box-sizing:border-box}.col-xl-9{width:74%;margin-left:4%}.col-xl-9:first-child{margin-left:0}.col-offset-xl-9{margin-left:78%}.col-no-margin-xl-9{width:75%}.col-no-margin-xl-9,.col-xl-10{float:left;box-sizing:border-box}.col-xl-10{width:82.6666666667%;margin-left:4%}.col-xl-10:first-child{margin-left:0}.col-offset-xl-10{margin-left:86.6666666667%}.col-no-margin-xl-10{width:83.3333333333%}.col-no-margin-xl-10,.col-xl-11{float:left;box-sizing:border-box}.col-xl-11{width:91.3333333334%;margin-left:4%}.col-xl-11:first-child{margin-left:0}.col-offset-xl-11{margin-left:95.3333333334%}.col-no-margin-xl-11{width:91.6666666667%}.col-no-margin-xl-11,.col-xl-12{float:left;box-sizing:border-box}.col-xl-12{width:100%}.col-xl-12,.col-xl-12:first-child{margin-left:0}.col-no-margin-xl-12{float:left;box-sizing:border-box;width:100%}.xl-hidden{display:none!important}.xl-visible{display:block!important}}@media screen and (min-width:1408px){.col-xxl-1{float:left;box-sizing:border-box;width:4.6666666667%;margin-left:4%}.col-xxl-1:first-child{margin-left:0}.col-offset-xxl-1{margin-left:8.6666666667%}.col-no-margin-xxl-1{width:8.3333333333%}.col-no-margin-xxl-1,.col-xxl-2{float:left;box-sizing:border-box}.col-xxl-2{width:13.3333333333%;margin-left:4%}.col-xxl-2:first-child{margin-left:0}.col-offset-xxl-2{margin-left:17.3333333333%}.col-no-margin-xxl-2{width:16.6666666667%}.col-no-margin-xxl-2,.col-xxl-3{float:left;box-sizing:border-box}.col-xxl-3{width:22%;margin-left:4%}.col-xxl-3:first-child{margin-left:0}.col-offset-xxl-3{margin-left:26%}.col-no-margin-xxl-3{width:25%}.col-no-margin-xxl-3,.col-xxl-4{float:left;box-sizing:border-box}.col-xxl-4{width:30.6666666667%;margin-left:4%}.col-xxl-4:first-child{margin-left:0}.col-offset-xxl-4{margin-left:34.6666666667%}.col-no-margin-xxl-4{width:33.3333333333%}.col-no-margin-xxl-4,.col-xxl-5{float:left;box-sizing:border-box}.col-xxl-5{width:39.3333333334%;margin-left:4%}.col-xxl-5:first-child{margin-left:0}.col-offset-xxl-5{margin-left:43.3333333334%}.col-no-margin-xxl-5{width:41.6666666667%}.col-no-margin-xxl-5,.col-xxl-6{float:left;box-sizing:border-box}.col-xxl-6{width:48%;margin-left:4%}.col-xxl-6:first-child{margin-left:0}.col-offset-xxl-6{margin-left:52%}.col-no-margin-xxl-6{width:50%}.col-no-margin-xxl-6,.col-xxl-7{float:left;box-sizing:border-box}.col-xxl-7{width:56.6666666667%;margin-left:4%}.col-xxl-7:first-child{margin-left:0}.col-offset-xxl-7{margin-left:60.6666666667%}.col-no-margin-xxl-7{width:58.3333333333%}.col-no-margin-xxl-7,.col-xxl-8{float:left;box-sizing:border-box}.col-xxl-8{width:65.3333333334%;margin-left:4%}.col-xxl-8:first-child{margin-left:0}.col-offset-xxl-8{margin-left:69.3333333334%}.col-no-margin-xxl-8{width:66.6666666667%}.col-no-margin-xxl-8,.col-xxl-9{float:left;box-sizing:border-box}.col-xxl-9{width:74%;margin-left:4%}.col-xxl-9:first-child{margin-left:0}.col-offset-xxl-9{margin-left:78%}.col-no-margin-xxl-9{float:left;box-sizing:border-box;width:75%}.col-xxl-10{float:left;box-sizing:border-box;width:82.6666666667%;margin-left:4%}.col-xxl-10:first-child{margin-left:0}.col-offset-xxl-10{margin-left:86.6666666667%}.col-no-margin-xxl-10{float:left;box-sizing:border-box;width:83.3333333333%}.col-xxl-11{float:left;box-sizing:border-box;width:91.3333333334%;margin-left:4%}.col-xxl-11:first-child{margin-left:0}.col-offset-xxl-11{margin-left:95.3333333334%}.col-no-margin-xxl-11{float:left;box-sizing:border-box;width:91.6666666667%}.col-xxl-12{float:left;box-sizing:border-box;width:100%}.col-xxl-12,.col-xxl-12:first-child{margin-left:0}.col-no-margin-xxl-12{float:left;box-sizing:border-box;width:100%}.xxl-hidden{display:none!important}.xxl-visible{display:block!important}}.vertical-center{display:flex;align-items:center}.horizontal-center{display:flex;justify-content:center;margin-left:auto;margin-right:auto}.pull-right{text-align:right;float:right;justify-content:right}.hidden{display:none!important}.no-content{display:flex;font-size:1.5em;align-items:center;justify-content:center}.btn,.btn-default,button{border:1px solid #ccc;cursor:pointer;padding:.5em 1em;letter-spacing:.05em}.btn-default.btn-primary,.btn-default[type=submit],.btn.btn-primary,.btn[type=submit],button.btn-primary,button[type=submit]{background:#c8ffd0;color:#32b646;border:1px solid #98cfa0}input[type=password],input[type=text]{border:1px solid #ccc;border-radius:1em;padding:.5em}input[type=password]:focus,input[type=text]:focus{border:1px solid #35b870}button,input{outline:none}input[type=text]:hover,textarea:hover{border:1px solid #9cdfb0}ul{margin:0;padding:0;list-style:none}a{cursor:pointer;text-decoration:none}.input-icon{position:absolute;min-width:.3em;padding:.1em;color:#888}input[type=number],input[type=password],input[type=search],input[type=text]{border:1px solid #ddd;border-radius:.5em;padding:.25em}input[type=number]:hover,input[type=password]:hover,input[type=search]:hover,input[type=text]:hover{border:1px solid rgba(159,180,152,.83)}input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus{border:1px solid rgba(127,216,95,.83)}input[type=number].with-icon,input[type=password].with-icon,input[type=search].with-icon,input[type=text].with-icon{padding-left:.3em}input[type=search],input[type=text]{border-radius:1em;padding:.25em .5em}.fade-in{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeIn;-webkit-animation-name:fadeIn}.fade-in,.fade-out{animation-duration:.5s;-webkit-animation-duration:.5s}.fade-out{-webkit-animation-fill-mode:both;animation-fill-mode:both;animation-name:fadeOut;-webkit-animation-name:fadeOut}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0;display:none}}@keyframes fadeOut{0%{opacity:1}to{opacity:0;display:none}}.fa.fa-kodi:before{background-size:1em 1em;background:url(/static/img/kodi.d18f8d23.svg)}.fa.fa-kodi:before,.fa.fa-plex:before{content:" ";width:1em;height:1em;display:inline-block}.fa.fa-plex:before{background-size:1em 1em;background:url(/static/img/plex.7a4e22a6.svg)}.fa.fa-jellyfin:before{content:" ";background-size:1em 1em;width:1em;height:1em;display:inline-block;background:url(/static/img/jellyfin.7b53a541.svg)}.lights-plugin .menu-panel ul li:not(.header){padding:1.5em 1em} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/1336-legacy.f43b1099.js b/platypush/backend/http/webapp/dist/static/js/1336-legacy.f43b1099.js deleted file mode 100644 index 555bf9452..000000000 --- a/platypush/backend/http/webapp/dist/static/js/1336-legacy.f43b1099.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1336],{634:function(e,t,n){n.d(t,{N:function(){return l}});var o=n(9584);n(1703);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n.5?s/(2-r-a):s/(r+a),r){case e:o=(t-n)/s+(tu&&l>s&&l>1?(s/=l,u/=l,l=1):s>u&&s>l&&s>1?(l/=s,u/=s,s=1):u>l&&u>s&&u>1&&(l/=u,s/=u,u=1),l=l<=.0031308?12.92*l:1.055*Math.pow(l,1/2.4)-.055,s=s<=.0031308?12.92*s:1.055*Math.pow(s,1/2.4)-.055,u=u<=.0031308?12.92*u:1.055*Math.pow(u,1/2.4)-.055,l=Math.round(255*l),s=Math.round(255*s),u=Math.round(255*u),isNaN(l)&&(l=0),isNaN(s)&&(s=0),isNaN(u)&&(u=0),[l,s,u].map((function(e){return Math.min(Math.max(0,e),255)}))}},{key:"rgbToXY",value:function(e,t,n){e>1&&(e/=255),t>1&&(t/=255),n>1&&(n/=255),e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var o=.664511*e+.154324*t+.162028*n,i=.283881*e+.668433*t+.047685*n,r=88e-6*e+.07231*t+.986039*n,a=parseFloat((o/(o+i+r)).toFixed(4)),l=parseFloat((i/(o+i+r)).toFixed(4));return isNaN(a)&&(a=0),isNaN(l)&&(l=0),[a,l]}},{key:"rgbToBri",value:function(e,t,n){return Math.min(2*this.rgbToHsl(e,t,n)[2],this.ranges.bri[1])}},{key:"getRGB",value:function(e){return null!=e.red&&null!=e.green&&null!=e.blue?[e.red,e.green,e.blue]:null!=e.r&&null!=e.g&&null!=e.b?[e.r,e.g,e.b]:e.rgb?e.rgb:void 0}},{key:"getXY",value:function(e){return null!=e.x&&null!=e.y?[e.x,e.y]:e.xy?e.xy:void 0}},{key:"toRGB",value:function(e){var t=this.getRGB(e);if(t)return t;var n=this.getXY(e);return n&&e.bri?this.xyToRgb.apply(this,(0,o.Z)(n).concat([e.bri])):e.hue&&e.sat&&e.bri?this.hslToRgb(e.hue,e.sat,e.bri):(console.debug("Could not determine color space"),void console.debug(e))}},{key:"toXY",value:function(e){var t=this.getXY(e);if(t&&e.bri)return[t[0],t[1],e.bri];var n=this.getRGB(e);if(n)return this.rgbToXY.apply(this,(0,o.Z)(n));if(e.hue&&e.sat&&e.bri){var i=this.hslToRgb(e.hue,e.sat,e.bri);return this.rgbToXY.apply(this,(0,o.Z)(i))}console.debug("Could not determine color space"),console.debug(e)}},{key:"toHSL",value:function(e){if(e.hue&&e.sat&&e.bri)return[e.hue,e.sat,e.bri];var t=this.getRGB(e);if(t)return this.rgbToHsl.apply(this,(0,o.Z)(t));var n=this.getXY(e);if(n&&e.bri){var i=this.xyToRgb.apply(this,(0,o.Z)(n).concat([e.bri]));return this.rgbToHsl.apply(this,(0,o.Z)(i))}console.debug("Could not determine color space"),console.debug(e)}}]),e}()},1120:function(e,t,n){n.d(t,{Z:function(){return m}});var o=n(6252),i=n(9963),r=n(3577),a={class:"slider-wrapper"},l=["min","max","step","disabled","value"],s={class:"track"},u={class:"track-inner",ref:"track"},c={class:"thumb",ref:"thumb"},g=["textContent"];function d(e,t,n,d,p,h){return(0,o.wg)(),(0,o.iD)("label",a,[(0,o._)("input",{class:"slider",type:"range",ref:"range",min:n.range[0],max:n.range[1],step:n.step,disabled:n.disabled,value:n.value,onInput:t[0]||(t[0]=(0,i.iM)((function(){return h.onUpdate&&h.onUpdate.apply(h,arguments)}),["stop"])),onChange:t[1]||(t[1]=(0,i.iM)((function(){return h.onUpdate&&h.onUpdate.apply(h,arguments)}),["stop"])),onMouseup:t[2]||(t[2]=(0,i.iM)((function(){return h.onUpdate&&h.onUpdate.apply(h,arguments)}),["stop"])),onMousedown:t[3]||(t[3]=(0,i.iM)((function(){return h.onUpdate&&h.onUpdate.apply(h,arguments)}),["stop"])),onTouchstart:t[4]||(t[4]=(0,i.iM)((function(){return h.onUpdate&&h.onUpdate.apply(h,arguments)}),["stop"])),onTouchend:t[5]||(t[5]=(0,i.iM)((function(){return h.onUpdate&&h.onUpdate.apply(h,arguments)}),["stop"])),onKeyup:t[6]||(t[6]=(0,i.iM)((function(){return h.onUpdate&&h.onUpdate.apply(h,arguments)}),["stop"])),onKeydown:t[7]||(t[7]=(0,i.iM)((function(){return h.onUpdate&&h.onUpdate.apply(h,arguments)}),["stop"]))},null,40,l),(0,o._)("div",s,[(0,o._)("div",u,null,512)]),(0,o._)("div",c,null,512),n.withLabel?((0,o.wg)(),(0,o.iD)("span",{key:0,class:"label",textContent:(0,r.zw)(n.value)},null,8,g)):(0,o.kq)("",!0)])}var p=n(4648),h=(n(9653),{name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:function(){return[0,100]}},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate:function(e){this.update(e.target.value),this.$emit(e.type,(0,p.Z)((0,p.Z)({},e),{},{target:(0,p.Z)((0,p.Z)({},e.target),{},{value:this.$refs.range.value})}))},update:function(e){var t=100*e/(this.range[1]-this.range[0]);this.$refs.thumb.style.left="".concat(t,"%"),this.$refs.thumb.style.transform="translate(-".concat(t,"%, -50%)"),this.$refs.track.style.width="".concat(t,"%")}},mounted:function(){null!=this.value&&this.update(this.value)}}),v=n(3744);const f=(0,v.Z)(h,[["render",d],["__scopeId","data-v-288acf82"]]);var m=f},3567:function(e,t,n){n.d(t,{Z:function(){return p}});var o=n(6252),i=n(3577),r=function(e){return(0,o.dD)("data-v-8fae7678"),e=e(),(0,o.Cn)(),e},a=["checked"],l=r((function(){return(0,o._)("div",{class:"switch"},[(0,o._)("div",{class:"dot"})],-1)})),s={class:"label"};function u(e,t,n,r,u,c){return(0,o.wg)(),(0,o.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=function(){return c.onInput&&c.onInput.apply(c,arguments)})},[(0,o._)("input",{type:"checkbox",checked:n.value},null,8,a),(0,o._)("label",null,[l,(0,o._)("span",s,[(0,o.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var c={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},g=n(3744);const d=(0,g.Z)(c,[["render",u],["__scopeId","data-v-8fae7678"]]);var p=d},1336:function(e,t,n){n.r(t),n.d(t,{default:function(){return Wt}});n(7941);var o=n(6252),i={class:"plugin lights-plugin"},r={key:0,class:"panel"},a={key:1,class:"panel"};function l(e,t,n,l,s,u){var c=(0,o.up)("Groups"),g=(0,o.up)("Group");return(0,o.wg)(),(0,o.iD)("div",i,[null==s.selectedGroup&&n.groups&&Object.keys(n.groups).length?((0,o.wg)(),(0,o.iD)("div",r,[(0,o.Wm)(c,{groups:n.groups,"loading-groups":n.loadingGroups,"color-converter":n.colorConverter,onSelect:t[0]||(t[0]=function(e){return s.selectedGroup=e}),onToggle:t[1]||(t[1]=function(t){return e.$emit("group-toggle",t)})},null,8,["groups","loading-groups","color-converter"])])):((0,o.wg)(),(0,o.iD)("div",a,[(0,o.Wm)(g,{group:n.groups[s.selectedGroup],lights:u.displayedLights,scenes:u.scenesByGroup[s.selectedGroup],"color-converter":n.colorConverter,animations:u.animationsByGroup[s.selectedGroup],onClose:t[2]||(t[2]=function(e){return s.selectedGroup=null}),onLightToggle:t[3]||(t[3]=function(t){return e.$emit("light-toggle",t)}),onGroupToggle:t[4]||(t[4]=function(t){return e.$emit("group-toggle",t)}),onSetLight:t[5]||(t[5]=function(t){return e.$emit("set-light",t)}),onSetGroup:t[6]||(t[6]=function(t){return e.$emit("set-group",{groupId:s.selectedGroup,value:t})}),onSelectScene:t[7]||(t[7]=function(t){return e.$emit("select-scene",{groupId:s.selectedGroup,sceneId:t})}),onStartAnimation:t[8]||(t[8]=function(t){return e.$emit("start-animation",t)}),onStopAnimation:t[9]||(t[9]=function(t){return e.$emit("stop-animation",t)})},null,8,["group","lights","scenes","color-converter","animations"])]))])}var s=n(4648),u=n(6084),c=(n(9653),n(1539),n(9720),n(4747),n(2479),n(2628)),g={name:"Panel",emits:["mounted"],props:{config:{type:Object,default:function(){}},pluginName:{type:String,required:!0}},data:function(){return{loading:!1}},mounted:function(){this.$emit("mounted",this)}};const d=g;var p=d,h=(n(8309),n(3577)),v=function(e){return(0,o.dD)("data-v-42318a2b"),e=e(),(0,o.Cn)(),e},f={class:"panel-row header"},m=v((function(){return(0,o._)("div",{class:"col-3"},[(0,o._)("i",{class:"icon fas fa-home"})],-1)})),b=v((function(){return(0,o._)("div",{class:"col-6 name"}," Rooms ",-1)})),y={class:"col-3 pull-right"},_=["onClick"],w={class:"name col-9"},k={class:"controls col-3 pull-right"};function C(e,t,n,i,r,a){var l=(0,o.up)("ToggleSwitch"),s=(0,o.up)("MenuPanel");return(0,o.wg)(),(0,o.j4)(s,null,{default:(0,o.w5)((function(){return[(0,o._)("div",f,[m,b,(0,o._)("div",y,[(0,o.Wm)(l,{value:a.anyLightsOn,onInput:t[0]||(t[0]=function(t){return e.$emit("toggle")})},null,8,["value"])])]),((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(a.groupsSorted,(function(t){return(0,o.wg)(),(0,o.iD)("div",{class:"panel-row row group",key:t.id,onClick:function(n){return e.$emit("select",t.id)}},[(0,o._)("span",w,(0,h.zw)(t.name||"[Group ".concat(t.id,"]")),1),(0,o._)("span",k,[(0,o.Wm)(l,{value:t.state.any_on,disabled:t.id in(n.loadingGroups||{}),onInput:function(n){return e.$emit("toggle",t)}},null,8,["value","disabled","onInput"])])],8,_)})),128))]})),_:1})}n(1249),n(2707);var S={class:"menu-panel"},j={class:"content"};function Z(e,t,n,i,r,a){return(0,o.wg)(),(0,o.iD)("div",S,[(0,o._)("div",j,[(0,o.WI)(e.$slots,"default")])])}var O={name:"MenuPanel"},M=n(3744);const L=(0,M.Z)(O,[["render",Z]]);var D=L,G=n(3567),$=n(634),I={name:"Groups",components:{ToggleSwitch:G.Z,MenuPanel:D},emits:["select","toggle"],props:{groups:{type:Object,default:function(){}},loadingGroups:{type:Object,default:function(){}},colorConverter:{type:Object,default:function(){return new $.N}}},computed:{groupsSorted:function(){return Object.entries(this.groups).sort((function(e,t){return e[1].name.localeCompare(t[1].name)})).map((function(e){var t=(0,u.Z)(e,2),n=t[0],o=t[1];return(0,s.Z)((0,s.Z)({},o),{},{id:n})}))},anyLightsOn:function(){for(var e=0,t=Object.values(this.groups);e0}},methods:{toggleSelectAll:function(){var e=this,t=Object.values(this.selectedLights).filter((function(e){return e})).length {\n const k = (n + h / 30) % 12\n const color = l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1)\n return Math.round(255 * color)\n }\n\n return [f(0), f(8), f(4)]\n }\n\n rgbToHsl(r, g, b){\n r /= 255\n g /= 255\n b /= 255;\n const max = Math.max(r, g, b), min = Math.min(r, g, b);\n let h, s, l = (max + min) / 2;\n\n if(max === min){\n h = s = 0; // achromatic\n } else {\n const d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n\n switch(max){\n case r: h = (g - b) / d + (g < b ? 6 : 0); break;\n case g: h = (b - r) / d + 2; break;\n case b: h = (r - g) / d + 4; break;\n }\n h /= 6;\n }\n\n return [\n parseInt(this.normalize(h, [0, 1], this.ranges.hue)),\n parseInt(this.normalize(s, [0, 1], this.ranges.sat)),\n parseInt(this.normalize(l, [0, 1], this.ranges.bri)),\n ]\n }\n\n xyToRgb(x, y, brightness) {\n // Set to maximum brightness if no custom value was given (Not the slick ECMAScript 6 way for compatibility reasons)\n if (brightness == null)\n brightness = this.ranges.bri[1];\n\n const z = 1.0 - x - y;\n const Y = (brightness / (this.ranges.bri[1]-1)).toFixed(2);\n const X = (Y / y) * x;\n const Z = (Y / y) * z;\n\n //Convert to RGB using Wide RGB D65 conversion\n let red \t= X * 1.656492 - Y * 0.354851 - Z * 0.255038;\n let green = -X * 0.707196 + Y * 1.655397 + Z * 0.036152;\n let blue \t= X * 0.051713 - Y * 0.121364 + Z * 1.011530;\n\n //If red, green or blue is larger than 1.0 set it back to the maximum of 1.0\n if (red > blue && red > green && red > 1.0) {\n green = green / red;\n blue = blue / red;\n red = 1.0;\n } else if (green > blue && green > red && green > 1.0) {\n red = red / green;\n blue = blue / green;\n green = 1.0;\n } else if (blue > red && blue > green && blue > 1.0) {\n red = red / blue;\n green = green / blue;\n blue = 1.0;\n }\n\n //Reverse gamma correction\n red \t= red <= 0.0031308 ? 12.92 * red : (1.0 + 0.055) * Math.pow(red, (1.0 / 2.4)) - 0.055;\n green \t= green <= 0.0031308 ? 12.92 * green : (1.0 + 0.055) * Math.pow(green, (1.0 / 2.4)) - 0.055;\n blue \t= blue <= 0.0031308 ? 12.92 * blue : (1.0 + 0.055) * Math.pow(blue, (1.0 / 2.4)) - 0.055;\n\n //Convert normalized decimal to decimal\n red \t= Math.round(red * 255);\n green \t= Math.round(green * 255);\n blue \t= Math.round(blue * 255);\n\n if (isNaN(red))\n red = 0;\n if (isNaN(green))\n green = 0;\n if (isNaN(blue))\n blue = 0;\n\n return [red, green, blue].map(\n (c) => Math.min(Math.max(0, c), 255)) // lgtm [js/automatic-semicolon-insertion]\n }\n\n rgbToXY(red, green, blue) {\n if (red > 1) { red /= 255; }\n if (green > 1) { green /= 255; }\n if (blue > 1) { blue /= 255; }\n\n //Apply a gamma correction to the RGB values, which makes the color more vivid and more the like the color displayed on the screen of your device\n red \t= (red > 0.04045) ? Math.pow((red + 0.055) / (1.0 + 0.055), 2.4) : (red / 12.92);\n green \t= (green > 0.04045) ? Math.pow((green + 0.055) / (1.0 + 0.055), 2.4) : (green / 12.92);\n blue \t= (blue > 0.04045) ? Math.pow((blue + 0.055) / (1.0 + 0.055), 2.4) : (blue / 12.92);\n\n //RGB values to XYZ using the Wide RGB D65 conversion formula\n const X \t\t= red * 0.664511 + green * 0.154324 + blue * 0.162028;\n const Y \t\t= red * 0.283881 + green * 0.668433 + blue * 0.047685;\n const Z \t\t= red * 0.000088 + green * 0.072310 + blue * 0.986039;\n\n //Calculate the xy values from the XYZ values\n let x \t\t= parseFloat((X / (X + Y + Z)).toFixed(4));\n let y \t\t= parseFloat((Y / (X + Y + Z)).toFixed(4));\n\n if (isNaN(x))\n x = 0;\n if (isNaN(y))\n y = 0;\n\n return [x, y];\n }\n\n rgbToBri(red, green, blue) {\n return Math.min(2 * this.rgbToHsl(red, green, blue)[2], this.ranges.bri[1])\n }\n\n getRGB(color) {\n if (color.red != null && color.green != null && color.blue != null)\n return [color.red, color.green, color.blue]\n if (color.r != null && color.g != null && color.b != null)\n return [color.r, color.g, color.b]\n if (color.rgb)\n return color.rgb\n }\n\n getXY(color) {\n if (color.x != null && color.y != null)\n return [color.x, color.y]\n if (color.xy)\n return color.xy\n }\n\n toRGB(color) {\n const rgb = this.getRGB(color)\n if (rgb)\n return rgb\n\n const xy = this.getXY(color)\n if (xy && color.bri)\n return this.xyToRgb(...xy, color.bri)\n if (color.hue && color.sat && color.bri)\n return this.hslToRgb(color.hue, color.sat, color.bri)\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toXY(color) {\n const xy = this.getXY(color)\n if (xy && color.bri)\n return [xy[0], xy[1], color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToXY(...rgb)\n\n if (color.hue && color.sat && color.bri) {\n const rgb = this.hslToRgb(color.hue, color.sat, color.bri)\n return this.rgbToXY(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toHSL(color) {\n if (color.hue && color.sat && color.bri)\n return [color.hue, color.sat, color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToHsl(...rgb)\n\n const xy = this.getXY(color)\n if (xy && color.bri) {\n const rgb = this.xyToRgb(...xy, color.bri)\n return this.rgbToHsl(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n}\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n\n\n\n\n\n","\n","import script from \"./Panel.vue?vue&type=script&lang=js\"\nexport * from \"./Panel.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./MenuPanel.vue?vue&type=template&id=02113104\"\nimport script from \"./MenuPanel.vue?vue&type=script&lang=js\"\nexport * from \"./MenuPanel.vue?vue&type=script&lang=js\"\n\nimport \"./MenuPanel.vue?vue&type=style&index=0&id=02113104&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./Groups.vue?vue&type=template&id=42318a2b&scoped=true\"\nimport script from \"./Groups.vue?vue&type=script&lang=js\"\nexport * from \"./Groups.vue?vue&type=script&lang=js\"\n\nimport \"./Groups.vue?vue&type=style&index=0&id=42318a2b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-42318a2b\"]])\n\nexport default __exports__","\n\n\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n\n\n","import { render } from \"./Controls.vue?vue&type=template&id=e2726892&scoped=true\"\nimport script from \"./Controls.vue?vue&type=script&lang=js\"\nexport * from \"./Controls.vue?vue&type=script&lang=js\"\n\nimport \"./Controls.vue?vue&type=style&index=0&id=e2726892&lang=scss&scoped=true\"\nimport \"./Controls.vue?vue&type=style&index=1&id=e2726892&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e2726892\"]])\n\nexport default __exports__","import { render } from \"./Light.vue?vue&type=template&id=52168252&scoped=true\"\nimport script from \"./Light.vue?vue&type=script&lang=js\"\nexport * from \"./Light.vue?vue&type=script&lang=js\"\n\nimport \"./Light.vue?vue&type=style&index=0&id=52168252&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-52168252\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Scene.vue?vue&type=template&id=6934d062\"\nimport script from \"./Scene.vue?vue&type=script&lang=js\"\nexport * from \"./Scene.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n\n","import { render } from \"./RangeSlider.vue?vue&type=template&id=3b982d9d&scoped=true\"\nimport script from \"./RangeSlider.vue?vue&type=script&lang=js\"\nexport * from \"./RangeSlider.vue?vue&type=script&lang=js\"\n\nimport \"./RangeSlider.vue?vue&type=style&index=0&id=3b982d9d&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3b982d9d\"]])\n\nexport default __exports__","import { render } from \"./Animate.vue?vue&type=template&id=1739aaba&scoped=true\"\nimport script from \"./Animate.vue?vue&type=script&lang=js\"\nexport * from \"./Animate.vue?vue&type=script&lang=js\"\n\nimport \"./Animate.vue?vue&type=style&index=0&id=1739aaba&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1739aaba\"]])\n\nexport default __exports__","import { render } from \"./Group.vue?vue&type=template&id=4de1a560\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=4de1a560&lang=scss\"\nimport \"./Group.vue?vue&type=style&index=1&id=4de1a560&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=781dd72c&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=781dd72c&lang=scss&scoped=true\"\nimport \"./Index.vue?vue&type=style&index=1&id=781dd72c&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-781dd72c\"]])\n\nexport default __exports__"],"names":["_classCallCheck","instance","Constructor","TypeError","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_createClass","protoProps","staticProps","prototype","ColorConverter","ranges","this","hue","sat","bri","ct","keys","attr","x","xRange","yRange","h","s","l","normalize","a","Math","min","f","n","k","color","max","round","r","g","b","d","parseInt","y","brightness","z","Y","toFixed","X","Z","red","green","blue","pow","isNaN","map","c","parseFloat","rgbToHsl","rgb","xy","getRGB","getXY","xyToRgb","hslToRgb","console","debug","rgbToXY","class","ref","type","range","step","disabled","value","onUpdate","withLabel","name","emits","Number","Boolean","default","Array","methods","event","update","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","stopPropagation","selectedGroup","groups","loadingGroups","colorConverter","$event","group","lights","displayedLights","scenes","scenesByGroup","animations","animationsByGroup","config","pluginName","String","required","data","loading","anyLightsOn","groupsSorted","id","state","any_on","components","ToggleSwitch","MenuPanel","computed","entries","sort","localeCompare","values","title","close","selectedView","lightsSorted","light","selectedLight","collapsed","scenesSorted","scene","selectedScene","onSceneSelected","expandToggle","on","rgbColor","onColorSelect","Loading","Slider","avg","reduce","sum","obj","forEach","getColor","toRGB","hex","toString","join","slice","split","t","hsl","rgbToBri","toXY","toHSL","Controls","onSelect","animationRunning","toggleAnimation","selectedAnimation","color_transition","hue_range","sat_range","bri_range","hue_step","sat_step","bri_step","transition_seconds","duration","selectedLights","filter","v","toggleSelectAll","input","mixins","Utils","RangeSlider","runningAnimations","animation","lightId","blink","select","eventType","warn","Animate","Light","Scene","groupName","sceneId","Group","Groups","Panel","loadingLights","initialGroup","initialized","groupsByLight","groupId","self","initSelectedGroup","unwatch","$watch","newVal","refresh","onLightChange","plugin_name","light_id","onAnimationChange","subscribe","unmounted","unsubscribe"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/1406-legacy.41c0c47e.js b/platypush/backend/http/webapp/dist/static/js/1406-legacy.41c0c47e.js new file mode 100644 index 000000000..513d72e8c --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/1406-legacy.41c0c47e.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1406],{634:function(e,t,n){n.d(t,{N:function(){return l}});var o=n(9584);n(1703);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n.5?s/(2-r-a):s/(r+a),r){case e:o=(t-n)/s+(tu&&l>s&&l>1?(s/=l,u/=l,l=1):s>u&&s>l&&s>1?(l/=s,u/=s,s=1):u>l&&u>s&&u>1&&(l/=u,s/=u,u=1),l=l<=.0031308?12.92*l:1.055*Math.pow(l,1/2.4)-.055,s=s<=.0031308?12.92*s:1.055*Math.pow(s,1/2.4)-.055,u=u<=.0031308?12.92*u:1.055*Math.pow(u,1/2.4)-.055,l=Math.round(255*l),s=Math.round(255*s),u=Math.round(255*u),isNaN(l)&&(l=0),isNaN(s)&&(s=0),isNaN(u)&&(u=0),[l,s,u].map((function(e){return Math.min(Math.max(0,e),255)}))}},{key:"rgbToXY",value:function(e,t,n){e>1&&(e/=255),t>1&&(t/=255),n>1&&(n/=255),e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var o=.664511*e+.154324*t+.162028*n,i=.283881*e+.668433*t+.047685*n,r=88e-6*e+.07231*t+.986039*n,a=parseFloat((o/(o+i+r)).toFixed(4)),l=parseFloat((i/(o+i+r)).toFixed(4));return isNaN(a)&&(a=0),isNaN(l)&&(l=0),[a,l]}},{key:"rgbToBri",value:function(e,t,n){return Math.min(2*this.rgbToHsl(e,t,n)[2],this.ranges.bri[1])}},{key:"getRGB",value:function(e){return null!=e.red&&null!=e.green&&null!=e.blue?[e.red,e.green,e.blue]:null!=e.r&&null!=e.g&&null!=e.b?[e.r,e.g,e.b]:e.rgb?e.rgb:void 0}},{key:"getXY",value:function(e){return null!=e.x&&null!=e.y?[e.x,e.y]:e.xy?e.xy:void 0}},{key:"toRGB",value:function(e){var t=this.getRGB(e);if(t)return t;var n=this.getXY(e);return n&&e.bri?this.xyToRgb.apply(this,(0,o.Z)(n).concat([e.bri])):e.hue&&e.sat&&e.bri?this.hslToRgb(e.hue,e.sat,e.bri):(console.debug("Could not determine color space"),void console.debug(e))}},{key:"toXY",value:function(e){var t=this.getXY(e);if(t&&e.bri)return[t[0],t[1],e.bri];var n=this.getRGB(e);if(n)return this.rgbToXY.apply(this,(0,o.Z)(n));if(e.hue&&e.sat&&e.bri){var i=this.hslToRgb(e.hue,e.sat,e.bri);return this.rgbToXY.apply(this,(0,o.Z)(i))}console.debug("Could not determine color space"),console.debug(e)}},{key:"toHSL",value:function(e){if(e.hue&&e.sat&&e.bri)return[e.hue,e.sat,e.bri];var t=this.getRGB(e);if(t)return this.rgbToHsl.apply(this,(0,o.Z)(t));var n=this.getXY(e);if(n&&e.bri){var i=this.xyToRgb.apply(this,(0,o.Z)(n).concat([e.bri]));return this.rgbToHsl.apply(this,(0,o.Z)(i))}console.debug("Could not determine color space"),console.debug(e)}}]),e}()},1120:function(e,t,n){n.d(t,{Z:function(){return m}});var o=n(6252),i=n(9963),r=n(3577),a={class:"slider-wrapper"},l=["min","max","step","disabled","value"],s={class:"track"},u={class:"track-inner",ref:"track"},c={class:"thumb",ref:"thumb"},g=["textContent"];function d(e,t,n,d,p,h){return(0,o.wg)(),(0,o.iD)("label",a,[(0,o._)("input",{class:"slider",type:"range",ref:"range",min:n.range[0],max:n.range[1],step:n.step,disabled:n.disabled,value:n.value,onInput:t[0]||(t[0]=(0,i.iM)((function(){return h.onUpdate&&h.onUpdate.apply(h,arguments)}),["stop"])),onChange:t[1]||(t[1]=(0,i.iM)((function(){return h.onUpdate&&h.onUpdate.apply(h,arguments)}),["stop"])),onMouseup:t[2]||(t[2]=(0,i.iM)((function(){return h.onUpdate&&h.onUpdate.apply(h,arguments)}),["stop"])),onMousedown:t[3]||(t[3]=(0,i.iM)((function(){return h.onUpdate&&h.onUpdate.apply(h,arguments)}),["stop"])),onTouchstart:t[4]||(t[4]=(0,i.iM)((function(){return h.onUpdate&&h.onUpdate.apply(h,arguments)}),["stop"])),onTouchend:t[5]||(t[5]=(0,i.iM)((function(){return h.onUpdate&&h.onUpdate.apply(h,arguments)}),["stop"])),onKeyup:t[6]||(t[6]=(0,i.iM)((function(){return h.onUpdate&&h.onUpdate.apply(h,arguments)}),["stop"])),onKeydown:t[7]||(t[7]=(0,i.iM)((function(){return h.onUpdate&&h.onUpdate.apply(h,arguments)}),["stop"]))},null,40,l),(0,o._)("div",s,[(0,o._)("div",u,null,512)]),(0,o._)("div",c,null,512),n.withLabel?((0,o.wg)(),(0,o.iD)("span",{key:0,class:"label",textContent:(0,r.zw)(n.value)},null,8,g)):(0,o.kq)("",!0)])}var p=n(4648),h=(n(9653),{name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:function(){return[0,100]}},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate:function(e){this.update(e.target.value),this.$emit(e.type,(0,p.Z)((0,p.Z)({},e),{},{target:(0,p.Z)((0,p.Z)({},e.target),{},{value:this.$refs.range.value})}))},update:function(e){var t=100*e/(this.range[1]-this.range[0]);this.$refs.thumb.style.left="".concat(t,"%"),this.$refs.thumb.style.transform="translate(-".concat(t,"%, -50%)"),this.$refs.track.style.width="".concat(t,"%")}},mounted:function(){null!=this.value&&this.update(this.value)}}),v=n(3744);const f=(0,v.Z)(h,[["render",d],["__scopeId","data-v-288acf82"]]);var m=f},6137:function(e,t,n){n.d(t,{Z:function(){return h}});var o=n(6252),i=n(3577),r=n(9963),a=function(e){return(0,o.dD)("data-v-8e097228"),e=e(),(0,o.Cn)(),e},l=["checked"],s=a((function(){return(0,o._)("div",{class:"switch"},[(0,o._)("div",{class:"dot"})],-1)})),u={class:"label"};function c(e,t,n,a,c,g){return(0,o.wg)(),(0,o.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,r.iM)((function(){return g.onInput&&g.onInput.apply(g,arguments)}),["stop"]))},[(0,o._)("input",{type:"checkbox",checked:n.value},null,8,l),(0,o._)("label",null,[s,(0,o._)("span",u,[(0,o.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var g={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},d=n(3744);const p=(0,d.Z)(g,[["render",c],["__scopeId","data-v-8e097228"]]);var h=p},1406:function(e,t,n){n.r(t),n.d(t,{default:function(){return Wt}});n(7941);var o=n(6252),i={class:"plugin lights-plugin"},r={key:0,class:"panel"},a={key:1,class:"panel"};function l(e,t,n,l,s,u){var c=(0,o.up)("Groups"),g=(0,o.up)("Group");return(0,o.wg)(),(0,o.iD)("div",i,[null==s.selectedGroup&&n.groups&&Object.keys(n.groups).length?((0,o.wg)(),(0,o.iD)("div",r,[(0,o.Wm)(c,{groups:n.groups,"loading-groups":n.loadingGroups,"color-converter":n.colorConverter,onSelect:t[0]||(t[0]=function(e){return s.selectedGroup=e}),onToggle:t[1]||(t[1]=function(t){return e.$emit("group-toggle",t)})},null,8,["groups","loading-groups","color-converter"])])):((0,o.wg)(),(0,o.iD)("div",a,[(0,o.Wm)(g,{group:n.groups[s.selectedGroup],lights:u.displayedLights,scenes:u.scenesByGroup[s.selectedGroup],"color-converter":n.colorConverter,animations:u.animationsByGroup[s.selectedGroup],onClose:t[2]||(t[2]=function(e){return s.selectedGroup=null}),onLightToggle:t[3]||(t[3]=function(t){return e.$emit("light-toggle",t)}),onGroupToggle:t[4]||(t[4]=function(t){return e.$emit("group-toggle",t)}),onSetLight:t[5]||(t[5]=function(t){return e.$emit("set-light",t)}),onSetGroup:t[6]||(t[6]=function(t){return e.$emit("set-group",{groupId:s.selectedGroup,value:t})}),onSelectScene:t[7]||(t[7]=function(t){return e.$emit("select-scene",{groupId:s.selectedGroup,sceneId:t})}),onStartAnimation:t[8]||(t[8]=function(t){return e.$emit("start-animation",t)}),onStopAnimation:t[9]||(t[9]=function(t){return e.$emit("stop-animation",t)})},null,8,["group","lights","scenes","color-converter","animations"])]))])}var s=n(4648),u=n(6084),c=(n(9653),n(1539),n(9720),n(4747),n(2479),n(2628)),g={name:"Panel",emits:["mounted"],props:{config:{type:Object,default:function(){}},pluginName:{type:String,required:!0}},data:function(){return{loading:!1}},mounted:function(){this.$emit("mounted",this)}};const d=g;var p=d,h=(n(8309),n(3577)),v=function(e){return(0,o.dD)("data-v-42318a2b"),e=e(),(0,o.Cn)(),e},f={class:"panel-row header"},m=v((function(){return(0,o._)("div",{class:"col-3"},[(0,o._)("i",{class:"icon fas fa-home"})],-1)})),b=v((function(){return(0,o._)("div",{class:"col-6 name"}," Rooms ",-1)})),y={class:"col-3 pull-right"},_=["onClick"],w={class:"name col-9"},k={class:"controls col-3 pull-right"};function C(e,t,n,i,r,a){var l=(0,o.up)("ToggleSwitch"),s=(0,o.up)("MenuPanel");return(0,o.wg)(),(0,o.j4)(s,null,{default:(0,o.w5)((function(){return[(0,o._)("div",f,[m,b,(0,o._)("div",y,[(0,o.Wm)(l,{value:a.anyLightsOn,onInput:t[0]||(t[0]=function(t){return e.$emit("toggle")})},null,8,["value"])])]),((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(a.groupsSorted,(function(t){return(0,o.wg)(),(0,o.iD)("div",{class:"panel-row row group",key:t.id,onClick:function(n){return e.$emit("select",t.id)}},[(0,o._)("span",w,(0,h.zw)(t.name||"[Group ".concat(t.id,"]")),1),(0,o._)("span",k,[(0,o.Wm)(l,{value:t.state.any_on,disabled:t.id in(n.loadingGroups||{}),onInput:function(n){return e.$emit("toggle",t)}},null,8,["value","disabled","onInput"])])],8,_)})),128))]})),_:1})}n(1249),n(2707);var S={class:"menu-panel"},j={class:"content"};function Z(e,t,n,i,r,a){return(0,o.wg)(),(0,o.iD)("div",S,[(0,o._)("div",j,[(0,o.WI)(e.$slots,"default")])])}var O={name:"MenuPanel"},M=n(3744);const L=(0,M.Z)(O,[["render",Z]]);var D=L,G=n(6137),$=n(634),I={name:"Groups",components:{ToggleSwitch:G.Z,MenuPanel:D},emits:["select","toggle"],props:{groups:{type:Object,default:function(){}},loadingGroups:{type:Object,default:function(){}},colorConverter:{type:Object,default:function(){return new $.N}}},computed:{groupsSorted:function(){return Object.entries(this.groups).sort((function(e,t){return e[1].name.localeCompare(t[1].name)})).map((function(e){var t=(0,u.Z)(e,2),n=t[0],o=t[1];return(0,s.Z)((0,s.Z)({},o),{},{id:n})}))},anyLightsOn:function(){for(var e=0,t=Object.values(this.groups);e0}},methods:{toggleSelectAll:function(){var e=this,t=Object.values(this.selectedLights).filter((function(e){return e})).length {\n const k = (n + h / 30) % 12\n const color = l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1)\n return Math.round(255 * color)\n }\n\n return [f(0), f(8), f(4)]\n }\n\n rgbToHsl(r, g, b){\n r /= 255\n g /= 255\n b /= 255;\n const max = Math.max(r, g, b), min = Math.min(r, g, b);\n let h, s, l = (max + min) / 2;\n\n if(max === min){\n h = s = 0; // achromatic\n } else {\n const d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n\n switch(max){\n case r: h = (g - b) / d + (g < b ? 6 : 0); break;\n case g: h = (b - r) / d + 2; break;\n case b: h = (r - g) / d + 4; break;\n }\n h /= 6;\n }\n\n return [\n parseInt(this.normalize(h, [0, 1], this.ranges.hue)),\n parseInt(this.normalize(s, [0, 1], this.ranges.sat)),\n parseInt(this.normalize(l, [0, 1], this.ranges.bri)),\n ]\n }\n\n xyToRgb(x, y, brightness) {\n // Set to maximum brightness if no custom value was given (Not the slick ECMAScript 6 way for compatibility reasons)\n if (brightness == null)\n brightness = this.ranges.bri[1];\n\n const z = 1.0 - x - y;\n const Y = (brightness / (this.ranges.bri[1]-1)).toFixed(2);\n const X = (Y / y) * x;\n const Z = (Y / y) * z;\n\n //Convert to RGB using Wide RGB D65 conversion\n let red \t= X * 1.656492 - Y * 0.354851 - Z * 0.255038;\n let green = -X * 0.707196 + Y * 1.655397 + Z * 0.036152;\n let blue \t= X * 0.051713 - Y * 0.121364 + Z * 1.011530;\n\n //If red, green or blue is larger than 1.0 set it back to the maximum of 1.0\n if (red > blue && red > green && red > 1.0) {\n green = green / red;\n blue = blue / red;\n red = 1.0;\n } else if (green > blue && green > red && green > 1.0) {\n red = red / green;\n blue = blue / green;\n green = 1.0;\n } else if (blue > red && blue > green && blue > 1.0) {\n red = red / blue;\n green = green / blue;\n blue = 1.0;\n }\n\n //Reverse gamma correction\n red \t= red <= 0.0031308 ? 12.92 * red : (1.0 + 0.055) * Math.pow(red, (1.0 / 2.4)) - 0.055;\n green \t= green <= 0.0031308 ? 12.92 * green : (1.0 + 0.055) * Math.pow(green, (1.0 / 2.4)) - 0.055;\n blue \t= blue <= 0.0031308 ? 12.92 * blue : (1.0 + 0.055) * Math.pow(blue, (1.0 / 2.4)) - 0.055;\n\n //Convert normalized decimal to decimal\n red \t= Math.round(red * 255);\n green \t= Math.round(green * 255);\n blue \t= Math.round(blue * 255);\n\n if (isNaN(red))\n red = 0;\n if (isNaN(green))\n green = 0;\n if (isNaN(blue))\n blue = 0;\n\n return [red, green, blue].map(\n (c) => Math.min(Math.max(0, c), 255)) // lgtm [js/automatic-semicolon-insertion]\n }\n\n rgbToXY(red, green, blue) {\n if (red > 1) { red /= 255; }\n if (green > 1) { green /= 255; }\n if (blue > 1) { blue /= 255; }\n\n //Apply a gamma correction to the RGB values, which makes the color more vivid and more the like the color displayed on the screen of your device\n red \t= (red > 0.04045) ? Math.pow((red + 0.055) / (1.0 + 0.055), 2.4) : (red / 12.92);\n green \t= (green > 0.04045) ? Math.pow((green + 0.055) / (1.0 + 0.055), 2.4) : (green / 12.92);\n blue \t= (blue > 0.04045) ? Math.pow((blue + 0.055) / (1.0 + 0.055), 2.4) : (blue / 12.92);\n\n //RGB values to XYZ using the Wide RGB D65 conversion formula\n const X \t\t= red * 0.664511 + green * 0.154324 + blue * 0.162028;\n const Y \t\t= red * 0.283881 + green * 0.668433 + blue * 0.047685;\n const Z \t\t= red * 0.000088 + green * 0.072310 + blue * 0.986039;\n\n //Calculate the xy values from the XYZ values\n let x \t\t= parseFloat((X / (X + Y + Z)).toFixed(4));\n let y \t\t= parseFloat((Y / (X + Y + Z)).toFixed(4));\n\n if (isNaN(x))\n x = 0;\n if (isNaN(y))\n y = 0;\n\n return [x, y];\n }\n\n rgbToBri(red, green, blue) {\n return Math.min(2 * this.rgbToHsl(red, green, blue)[2], this.ranges.bri[1])\n }\n\n getRGB(color) {\n if (color.red != null && color.green != null && color.blue != null)\n return [color.red, color.green, color.blue]\n if (color.r != null && color.g != null && color.b != null)\n return [color.r, color.g, color.b]\n if (color.rgb)\n return color.rgb\n }\n\n getXY(color) {\n if (color.x != null && color.y != null)\n return [color.x, color.y]\n if (color.xy)\n return color.xy\n }\n\n toRGB(color) {\n const rgb = this.getRGB(color)\n if (rgb)\n return rgb\n\n const xy = this.getXY(color)\n if (xy && color.bri)\n return this.xyToRgb(...xy, color.bri)\n if (color.hue && color.sat && color.bri)\n return this.hslToRgb(color.hue, color.sat, color.bri)\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toXY(color) {\n const xy = this.getXY(color)\n if (xy && color.bri)\n return [xy[0], xy[1], color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToXY(...rgb)\n\n if (color.hue && color.sat && color.bri) {\n const rgb = this.hslToRgb(color.hue, color.sat, color.bri)\n return this.rgbToXY(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toHSL(color) {\n if (color.hue && color.sat && color.bri)\n return [color.hue, color.sat, color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToHsl(...rgb)\n\n const xy = this.getXY(color)\n if (xy && color.bri) {\n const rgb = this.xyToRgb(...xy, color.bri)\n return this.rgbToHsl(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n}\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n\n\n\n\n\n","\n","import script from \"./Panel.vue?vue&type=script&lang=js\"\nexport * from \"./Panel.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./MenuPanel.vue?vue&type=template&id=02113104\"\nimport script from \"./MenuPanel.vue?vue&type=script&lang=js\"\nexport * from \"./MenuPanel.vue?vue&type=script&lang=js\"\n\nimport \"./MenuPanel.vue?vue&type=style&index=0&id=02113104&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./Groups.vue?vue&type=template&id=42318a2b&scoped=true\"\nimport script from \"./Groups.vue?vue&type=script&lang=js\"\nexport * from \"./Groups.vue?vue&type=script&lang=js\"\n\nimport \"./Groups.vue?vue&type=style&index=0&id=42318a2b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-42318a2b\"]])\n\nexport default __exports__","\n\n\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n\n\n","import { render } from \"./Controls.vue?vue&type=template&id=e2726892&scoped=true\"\nimport script from \"./Controls.vue?vue&type=script&lang=js\"\nexport * from \"./Controls.vue?vue&type=script&lang=js\"\n\nimport \"./Controls.vue?vue&type=style&index=0&id=e2726892&lang=scss&scoped=true\"\nimport \"./Controls.vue?vue&type=style&index=1&id=e2726892&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e2726892\"]])\n\nexport default __exports__","import { render } from \"./Light.vue?vue&type=template&id=52168252&scoped=true\"\nimport script from \"./Light.vue?vue&type=script&lang=js\"\nexport * from \"./Light.vue?vue&type=script&lang=js\"\n\nimport \"./Light.vue?vue&type=style&index=0&id=52168252&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-52168252\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Scene.vue?vue&type=template&id=6934d062\"\nimport script from \"./Scene.vue?vue&type=script&lang=js\"\nexport * from \"./Scene.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n\n","import { render } from \"./RangeSlider.vue?vue&type=template&id=981c5de0&scoped=true\"\nimport script from \"./RangeSlider.vue?vue&type=script&lang=js\"\nexport * from \"./RangeSlider.vue?vue&type=script&lang=js\"\n\nimport \"./RangeSlider.vue?vue&type=style&index=0&id=981c5de0&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-981c5de0\"]])\n\nexport default __exports__","import { render } from \"./Animate.vue?vue&type=template&id=1739aaba&scoped=true\"\nimport script from \"./Animate.vue?vue&type=script&lang=js\"\nexport * from \"./Animate.vue?vue&type=script&lang=js\"\n\nimport \"./Animate.vue?vue&type=style&index=0&id=1739aaba&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1739aaba\"]])\n\nexport default __exports__","import { render } from \"./Group.vue?vue&type=template&id=4de1a560\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=4de1a560&lang=scss\"\nimport \"./Group.vue?vue&type=style&index=1&id=4de1a560&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=781dd72c&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=781dd72c&lang=scss&scoped=true\"\nimport \"./Index.vue?vue&type=style&index=1&id=781dd72c&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-781dd72c\"]])\n\nexport default __exports__"],"names":["_classCallCheck","instance","Constructor","TypeError","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_createClass","protoProps","staticProps","prototype","ColorConverter","ranges","this","hue","sat","bri","ct","keys","attr","x","xRange","yRange","h","s","l","normalize","a","Math","min","f","n","k","color","max","round","r","g","b","d","parseInt","y","brightness","z","Y","toFixed","X","Z","red","green","blue","pow","isNaN","map","c","parseFloat","rgbToHsl","rgb","xy","getRGB","getXY","xyToRgb","hslToRgb","console","debug","rgbToXY","class","ref","type","range","step","disabled","value","onUpdate","withLabel","name","emits","Number","Boolean","default","Array","methods","event","update","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","selectedGroup","groups","loadingGroups","colorConverter","$event","group","lights","displayedLights","scenes","scenesByGroup","animations","animationsByGroup","config","pluginName","String","required","data","loading","anyLightsOn","groupsSorted","id","state","any_on","components","ToggleSwitch","MenuPanel","computed","entries","sort","localeCompare","values","title","close","selectedView","lightsSorted","light","selectedLight","collapsed","scenesSorted","scene","selectedScene","onSceneSelected","expandToggle","on","stopPropagation","rgbColor","onColorSelect","Loading","Slider","avg","reduce","sum","obj","forEach","getColor","toRGB","hex","toString","join","slice","split","t","hsl","rgbToBri","toXY","toHSL","Controls","onSelect","animationRunning","toggleAnimation","selectedAnimation","color_transition","hue_range","sat_range","bri_range","hue_step","sat_step","bri_step","transition_seconds","duration","selectedLights","filter","v","toggleSelectAll","input","mixins","Utils","RangeSlider","runningAnimations","animation","lightId","blink","select","eventType","warn","Animate","Light","Scene","groupName","sceneId","Group","Groups","Panel","loadingLights","initialGroup","initialized","groupsByLight","groupId","self","initSelectedGroup","unwatch","$watch","newVal","refresh","onLightChange","plugin_name","light_id","onAnimationChange","subscribe","unmounted","unsubscribe"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2380-legacy.44d382a4.js b/platypush/backend/http/webapp/dist/static/js/2380-legacy.44d382a4.js deleted file mode 100644 index 1f98bc700..000000000 --- a/platypush/backend/http/webapp/dist/static/js/2380-legacy.44d382a4.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2380],{3567:function(e,n,t){t.d(n,{Z:function(){return p}});var i=t(6252),o=t(3577),a=function(e){return(0,i.dD)("data-v-8fae7678"),e=e(),(0,i.Cn)(),e},r=["checked"],s=a((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),u={class:"label"};function c(e,n,t,a,c,l){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=function(){return l.onInput&&l.onInput.apply(l,arguments)})},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,r),(0,i._)("label",null,[s,(0,i._)("span",u,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var l={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},d=t(3744);const f=(0,d.Z)(l,[["render",c],["__scopeId","data-v-8fae7678"]]);var p=f},4004:function(e,n,t){t.d(n,{Z:function(){return s}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(2628)),a={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,n){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==n&&(n=e),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:n});case 3:o=i.sent,t.devices[e].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=n.sent.reduce((function(e,n){var t,i=null!==(t=n.name)&&void 0!==t&&t.length?n.name:n.id;return e[i]=n,e}),{});case 5:return n.prev=5,e.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(n){n&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const r=a;var s=r},8671:function(e,n,t){t.d(n,{Z:function(){return w}});t(8309);var i=t(6252),o=t(9963),a=t(3577),r=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},s={class:"name col-l-10 col-m-9 col-s-8"},u=r((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),c=[u],l=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function f(e,n,t,r,u,f){var p=(0,i.up)("Loading"),g=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:n[1]||(n[1]=(0,o.iM)((function(){return f.onToggle&&f.onToggle.apply(f,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(p,{key:0})):(0,i.kq)("",!0),(0,i._)("div",s,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:n[0]||(n[0]=(0,o.iM)((function(){return f.onInfo&&f.onInfo.apply(f,arguments)}),["prevent"]))},c)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,a.zw)(t.name)},null,8,l)]),(0,i._)("div",d,[(0,i.Wm)(g,{disabled:t.loading,value:t.state,onInput:f.onToggle},null,8,["disabled","value","onInput"])])])}var p=t(3567),g=t(1232),h={name:"Switch",components:{Loading:g.Z,ToggleSwitch:p.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},v=t(3744);const m=(0,v.Z)(h,[["render",f],["__scopeId","data-v-38eb9831"]]);var w=m},2380:function(e,n,t){t.r(n),t.d(n,{default:function(){return p}});t(7941);var i=t(6252),o={class:"switches zwave-mqtt-switches"},a={key:1,class:"no-content"};function r(e,n,t,r,s,u){var c=(0,i.up)("Loading"),l=(0,i.up)("Switch");return(0,i.wg)(),(0,i.iD)("div",o,[e.loading?((0,i.wg)(),(0,i.j4)(c,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,"No Z-Wave switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(n,t){return(0,i.wg)(),(0,i.j4)(l,{loading:e.loading,name:t,state:n.on,id:n.id,onToggle:function(i){return e.toggle(t,n.id)},key:t},null,8,["loading","name","state","id","onToggle"])})),128))])}var s=t(1232),u=t(4004),c=t(8671),l={name:"ZwaveMqtt",components:{Switch:c.Z,Loading:s.Z},mixins:[u.Z]},d=t(3744);const f=(0,d.Z)(l,[["render",r],["__scopeId","data-v-c92e52f8"]]);var p=f}}]); -//# sourceMappingURL=2380-legacy.44d382a4.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2380-legacy.44d382a4.js.map b/platypush/backend/http/webapp/dist/static/js/2380-legacy.44d382a4.js.map deleted file mode 100644 index b7fa3e728..000000000 --- a/platypush/backend/http/webapp/dist/static/js/2380-legacy.44d382a4.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/2380-legacy.44d382a4.js","mappings":"mRAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,M,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAE,EAAAC,SAAA,EAAAA,QAAA,sBAAhE,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QADO,SACCU,GAEN,GADAA,EAAMC,kBACFC,KAAKb,SACP,OAAO,EAETa,KAAKC,MAAM,QAASH,M,UC/B1B,MAAMI,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S,uGCNA,GACEX,KAAM,gBACNY,OAAQ,CAACC,EAAA,GAETX,MAAO,CACLY,WAAY,CACVjB,KAAMkB,OACNC,UAAU,GAGZC,IAAK,CACHpB,KAAMqB,OACNF,UAAU,GAGZG,OAAQ,CACNtB,KAAMqB,OACNd,QAAS,WAAQ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AAA,EAAQJ,QAAAA,EAAA,GACrBnC,OAAQ,CAAC,M,UCXX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/ZwaveMqtt/Index.vue","webpack://platypush/./src/components/panels/Switches/ZwaveMqtt/Index.vue?0a3b"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=c92e52f8&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=c92e52f8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c92e52f8\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","stopPropagation","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","keys","key","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2380-legacy.b3f2d86a.js b/platypush/backend/http/webapp/dist/static/js/2380-legacy.b3f2d86a.js new file mode 100644 index 000000000..0c3c01a16 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/2380-legacy.b3f2d86a.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2380],{6137:function(e,n,t){t.d(n,{Z:function(){return g}});var i=t(6252),o=t(3577),a=t(9963),r=function(e){return(0,i.dD)("data-v-8e097228"),e=e(),(0,i.Cn)(),e},s=["checked"],u=r((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),c={class:"label"};function l(e,n,t,r,l,d){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,a.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,s),(0,i._)("label",null,[u,(0,i._)("span",c,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},f=t(3744);const p=(0,f.Z)(d,[["render",l],["__scopeId","data-v-8e097228"]]);var g=p},4004:function(e,n,t){t.d(n,{Z:function(){return s}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(2628)),a={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,n){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==n&&(n=e),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:n});case 3:o=i.sent,t.devices[e].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=n.sent.reduce((function(e,n){var t,i=null!==(t=n.name)&&void 0!==t&&t.length?n.name:n.id;return e[i]=n,e}),{});case 5:return n.prev=5,e.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(n){n&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const r=a;var s=r},8671:function(e,n,t){t.d(n,{Z:function(){return w}});t(8309);var i=t(6252),o=t(9963),a=t(3577),r=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},s={class:"name col-l-10 col-m-9 col-s-8"},u=r((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),c=[u],l=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function f(e,n,t,r,u,f){var p=(0,i.up)("Loading"),g=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:n[1]||(n[1]=(0,o.iM)((function(){return f.onToggle&&f.onToggle.apply(f,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(p,{key:0})):(0,i.kq)("",!0),(0,i._)("div",s,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:n[0]||(n[0]=(0,o.iM)((function(){return f.onInfo&&f.onInfo.apply(f,arguments)}),["prevent"]))},c)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,a.zw)(t.name)},null,8,l)]),(0,i._)("div",d,[(0,i.Wm)(g,{disabled:t.loading,value:t.state,onInput:f.onToggle},null,8,["disabled","value","onInput"])])])}var p=t(6137),g=t(1232),h={name:"Switch",components:{Loading:g.Z,ToggleSwitch:p.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},v=t(3744);const m=(0,v.Z)(h,[["render",f],["__scopeId","data-v-38eb9831"]]);var w=m},2380:function(e,n,t){t.r(n),t.d(n,{default:function(){return p}});t(7941);var i=t(6252),o={class:"switches zwave-mqtt-switches"},a={key:1,class:"no-content"};function r(e,n,t,r,s,u){var c=(0,i.up)("Loading"),l=(0,i.up)("Switch");return(0,i.wg)(),(0,i.iD)("div",o,[e.loading?((0,i.wg)(),(0,i.j4)(c,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,"No Z-Wave switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(n,t){return(0,i.wg)(),(0,i.j4)(l,{loading:e.loading,name:t,state:n.on,id:n.id,onToggle:function(i){return e.toggle(t,n.id)},key:t},null,8,["loading","name","state","id","onToggle"])})),128))])}var s=t(1232),u=t(4004),c=t(8671),l={name:"ZwaveMqtt",components:{Switch:c.Z,Loading:s.Z},mixins:[u.Z]},d=t(3744);const f=(0,d.Z)(l,[["render",r],["__scopeId","data-v-c92e52f8"]]);var p=f}}]); +//# sourceMappingURL=2380-legacy.b3f2d86a.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2380-legacy.b3f2d86a.js.map b/platypush/backend/http/webapp/dist/static/js/2380-legacy.b3f2d86a.js.map new file mode 100644 index 000000000..3732a2d5c --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/2380-legacy.b3f2d86a.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/2380-legacy.b3f2d86a.js","mappings":"6RAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,M,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,wCAAO,EAAAC,SAAA,EAAAA,QAAA,qBAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QADO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AzB,SAASW,QAAzD,iBAAyD,WAAzD,QAAgG,MAAhG,EAAiE,gCAI7D,aAFJ,QACwD,mBAAvB,EAAAX,SAAO,SAAxBI,EAAQ5B,G,kBADxB,QACwD,GAD/CqB,QAAS,EAAAA,QAAUrB,KAAMA,EAAO4C,MAAOhB,EAAOI,GAAKH,GAAID,EAAOC,GAAK,SAAM,mBAAE,EAAAF,OAAO3B,EAAM4B,EAAOC,KAC7DqB,IAAKlD,GADhD,8D,kCAUJ,GACEA,KAAM,YACN6C,WAAY,CAACM,OAAAA,EAAA,EAAQL,QAAAA,EAAA,GACrBnC,OAAQ,CAAC,M,UCXX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/ZwaveMqtt/Index.vue","webpack://platypush/./src/components/panels/Switches/ZwaveMqtt/Index.vue?0a3b"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=c92e52f8&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=c92e52f8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c92e52f8\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","key","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2380.73b1a20d.js b/platypush/backend/http/webapp/dist/static/js/2380.73b1a20d.js new file mode 100644 index 000000000..48d93a484 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/2380.73b1a20d.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2380],{6137:function(e,t,n){n.d(t,{Z:function(){return p}});var i=n(6252),o=n(3577),s=n(9963);const a=e=>((0,i.dD)("data-v-8e097228"),e=e(),(0,i.Cn)(),e),l=["checked"],d=a((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),c={class:"label"};function u(e,t,n,a,u,r){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,s.iM)(((...e)=>r.onInput&&r.onInput(...e)),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,l),(0,i._)("label",null,[d,(0,i._)("span",c,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var r={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},g=n(3744);const h=(0,g.Z)(r,[["render",u],["__scopeId","data-v-8e097228"]]);var p=h},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(2628),o={name:"SwitchesMixin",mixins:[i.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const s=o;var a=s},8671:function(e,t,n){n.d(t,{Z:function(){return w}});var i=n(6252),o=n(9963),s=n(3577);const a=e=>((0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e),l={class:"name col-l-10 col-m-9 col-s-8"},d=a((()=>(0,i._)("i",{class:"fa fa-info"},null,-1))),c=[d],u=["textContent"],r={class:"toggler col-l-2 col-m-3 col-s-4"};function g(e,t,n,a,d,g){const h=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,o.iM)(((...e)=>g.onToggle&&g.onToggle(...e)),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(h,{key:0})):(0,i.kq)("",!0),(0,i._)("div",l,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,o.iM)(((...e)=>g.onInfo&&g.onInfo(...e)),["prevent"]))},c)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,s.zw)(n.name)},null,8,u)]),(0,i._)("div",r,[(0,i.Wm)(p,{disabled:n.loading,value:n.state,onInput:g.onToggle},null,8,["disabled","value","onInput"])])])}var h=n(6137),p=n(1232),f={name:"Switch",components:{Loading:p.Z,ToggleSwitch:h.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},v=n(3744);const m=(0,v.Z)(f,[["render",g],["__scopeId","data-v-38eb9831"]]);var w=m},2380:function(e,t,n){n.r(t),n.d(t,{default:function(){return h}});var i=n(6252);const o={class:"switches zwave-mqtt-switches"},s={key:1,class:"no-content"};function a(e,t,n,a,l,d){const c=(0,i.up)("Loading"),u=(0,i.up)("Switch");return(0,i.wg)(),(0,i.iD)("div",o,[e.loading?((0,i.wg)(),(0,i.j4)(c,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",s,"No Z-Wave switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,((t,n)=>((0,i.wg)(),(0,i.j4)(u,{loading:e.loading,name:n,state:t.on,id:t.id,onToggle:i=>e.toggle(n,t.id),key:n},null,8,["loading","name","state","id","onToggle"])))),128))])}var l=n(1232),d=n(4004),c=n(8671),u={name:"ZwaveMqtt",components:{Switch:c.Z,Loading:l.Z},mixins:[d.Z]},r=n(3744);const g=(0,r.Z)(u,[["render",a],["__scopeId","data-v-c92e52f8"]]);var h=g}}]); +//# sourceMappingURL=2380.73b1a20d.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2380.73b1a20d.js.map b/platypush/backend/http/webapp/dist/static/js/2380.73b1a20d.js.map new file mode 100644 index 000000000..d7db694f3 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/2380.73b1a20d.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/2380.73b1a20d.js","mappings":"wQAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAO,EAAAC,SAAA,EAAAA,WAAA,IAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QAAQU,GACN,GAAIC,KAAKZ,SACP,OAAO,EAETY,KAAKC,MAAM,QAASF,M,UC9B1B,MAAMG,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qB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UJ,GACEA,KAAM,YACN6C,WAAY,CAACO,OAAD,IAASN,QAAO,KAC5BnC,OAAQ,CAAC,M,UCXX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/ZwaveMqtt/Index.vue","webpack://platypush/./src/components/panels/Switches/ZwaveMqtt/Index.vue?0a3b"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=c92e52f8&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=c92e52f8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c92e52f8\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","toggle","key","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2380.bae8d47d.js b/platypush/backend/http/webapp/dist/static/js/2380.bae8d47d.js deleted file mode 100644 index bc1d7a6f4..000000000 --- a/platypush/backend/http/webapp/dist/static/js/2380.bae8d47d.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2380],{3567:function(e,t,n){n.d(t,{Z:function(){return h}});var i=n(6252),o=n(3577);const s=e=>((0,i.dD)("data-v-8fae7678"),e=e(),(0,i.Cn)(),e),a=["checked"],l=s((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),d={class:"label"};function c(e,t,n,s,c,u){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(...e)=>u.onInput&&u.onInput(...e))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,a),(0,i._)("label",null,[l,(0,i._)("span",d,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},r=n(3744);const g=(0,r.Z)(u,[["render",c],["__scopeId","data-v-8fae7678"]]);var h=g},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(2628),o={name:"SwitchesMixin",mixins:[i.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const s=o;var a=s},8671:function(e,t,n){n.d(t,{Z:function(){return w}});var i=n(6252),o=n(9963),s=n(3577);const a=e=>((0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e),l={class:"name col-l-10 col-m-9 col-s-8"},d=a((()=>(0,i._)("i",{class:"fa fa-info"},null,-1))),c=[d],u=["textContent"],r={class:"toggler col-l-2 col-m-3 col-s-4"};function g(e,t,n,a,d,g){const h=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,o.iM)(((...e)=>g.onToggle&&g.onToggle(...e)),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(h,{key:0})):(0,i.kq)("",!0),(0,i._)("div",l,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,o.iM)(((...e)=>g.onInfo&&g.onInfo(...e)),["prevent"]))},c)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,s.zw)(n.name)},null,8,u)]),(0,i._)("div",r,[(0,i.Wm)(p,{disabled:n.loading,value:n.state,onInput:g.onToggle},null,8,["disabled","value","onInput"])])])}var h=n(3567),p=n(1232),f={name:"Switch",components:{Loading:p.Z,ToggleSwitch:h.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},v=n(3744);const m=(0,v.Z)(f,[["render",g],["__scopeId","data-v-38eb9831"]]);var w=m},2380:function(e,t,n){n.r(t),n.d(t,{default:function(){return h}});var i=n(6252);const o={class:"switches zwave-mqtt-switches"},s={key:1,class:"no-content"};function a(e,t,n,a,l,d){const c=(0,i.up)("Loading"),u=(0,i.up)("Switch");return(0,i.wg)(),(0,i.iD)("div",o,[e.loading?((0,i.wg)(),(0,i.j4)(c,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",s,"No Z-Wave switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,((t,n)=>((0,i.wg)(),(0,i.j4)(u,{loading:e.loading,name:n,state:t.on,id:t.id,onToggle:i=>e.toggle(n,t.id),key:n},null,8,["loading","name","state","id","onToggle"])))),128))])}var l=n(1232),d=n(4004),c=n(8671),u={name:"ZwaveMqtt",components:{Switch:c.Z,Loading:l.Z},mixins:[d.Z]},r=n(3744);const g=(0,r.Z)(u,[["render",a],["__scopeId","data-v-c92e52f8"]]);var h=g}}]); -//# sourceMappingURL=2380.bae8d47d.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2380.bae8d47d.js.map b/platypush/backend/http/webapp/dist/static/js/2380.bae8d47d.js.map deleted file mode 100644 index ad4b80d95..000000000 --- a/platypush/backend/http/webapp/dist/static/js/2380.bae8d47d.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/2380.bae8d47d.js","mappings":"8PAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,oBAAE,EAAAC,SAAA,EAAAA,WAAA,KAAhE,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QAAQU,GAEN,GADAA,EAAMC,kBACFC,KAAKb,SACP,OAAO,EAETa,KAAKC,MAAM,QAASH,M,UC/B1B,MAAMI,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S,mECNA,GACEX,KAAM,gBACNY,OAAQ,CAACC,EAAA,GAETX,MAAO,CACLY,WAAY,CACVjB,KAAMkB,OACNC,UAAU,GAGZC,IAAK,CACHpB,KAAMqB,OACNF,UAAU,GAGZG,OAAQ,CACNtB,KAAMqB,OACNd,QAAS,KAAe,KAG1BgB,SAAU,CACRvB,KAAMM,QACNC,SAAS,IAIbiB,OACE,MAAO,CACLC,SAAS,EACTC,aAAa,EACbC,eAAgB,KAChBC,QAAS,K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ACE1C,KAAM,SACN8C,WAAY,CAACC,QAAD,IAAUC,aAAY,KAClC/C,MAAO,CAAC,SAAU,QAElBC,MAAO,CACLF,KAAM,CACJH,KAAMkB,OACNC,UAAU,GAGZ6B,MAAO,CACLhD,KAAMM,QACNC,SAAS,GAGXkB,QAAS,CACPzB,KAAMM,QACNC,SAAS,GAGXuC,QAAS,CACP9C,KAAMM,QACNC,SAAS,GAGX0B,GAAI,CACFjC,KAAMkB,SAIVV,QAAS,CACPuC,OAAOtC,GAGL,OAFAA,EAAMC,kBACNC,KAAKC,MAAM,SACJ,GAGTiC,SAASpC,GAGP,OAFAA,EAAMC,kBACNC,KAAKC,MAAM,WACJ,K,UCrDb,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S,yFCROjB,MAAM,gC,SAEJA,MAAM,c,2FAFb,QAMM,MANN,EAMM,CALW,EAAA4B,UAAA,WAAf,QAA0B,YACUJ,OAAO+B,KAAK,EAAAxB,SAASW,QAAzD,iBAAyD,WAAzD,QAAgG,MAAhG,EAAiE,gCAI7D,aAFJ,QACwD,mBAAvB,EAAAX,SAAO,CAAxBI,EAAQ7B,M,WADxB,QACwD,GAD/CsB,QAAS,EAAAA,QAAUtB,KAAMA,EAAO6C,MAAOhB,EAAOI,GAAKH,GAAID,EAAOC,GAAK,SAAM,GAAE,EAAAoB,OAAOlD,EAAM6B,EAAOC,IAC7DqB,IAAKnD,GADhD,8D,kCAUJ,GACEA,KAAM,YACN8C,WAAY,CAACM,OAAD,IAASL,QAAO,KAC5BnC,OAAQ,CAAC,M,UCXX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/ZwaveMqtt/Index.vue","webpack://platypush/./src/components/panels/Switches/ZwaveMqtt/Index.vue?0a3b"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=c92e52f8&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=c92e52f8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c92e52f8\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","stopPropagation","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","keys","toggle","key","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2790-legacy.67a1eb0e.js b/platypush/backend/http/webapp/dist/static/js/2790-legacy.67a1eb0e.js deleted file mode 100644 index f77e85ceb..000000000 --- a/platypush/backend/http/webapp/dist/static/js/2790-legacy.67a1eb0e.js +++ /dev/null @@ -1,2 +0,0 @@ -(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2790],{7556:function(e,t,n){var s=n(7293);e.exports=s((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},5631:function(e,t,n){"use strict";var s=n(3070).f,o=n(30),r=n(2248),i=n(9974),l=n(5787),a=n(408),u=n(654),c=n(6340),d=n(9781),v=n(2423).fastKey,p=n(9909),m=p.set,f=p.getterFor;e.exports={getConstructor:function(e,t,n,u){var c=e((function(e,s){l(e,p),m(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),d||(e.size=0),void 0!=s&&a(s,e[u],{that:e,AS_ENTRIES:n})})),p=c.prototype,h=f(t),g=function(e,t,n){var s,o,r=h(e),i=w(e,t);return i?i.value=n:(r.last=i={index:o=v(t,!0),key:t,value:n,previous:s=r.last,next:void 0,removed:!1},r.first||(r.first=i),s&&(s.next=i),d?r.size++:e.size++,"F"!==o&&(r.index[o]=i)),e},w=function(e,t){var n,s=h(e),o=v(t);if("F"!==o)return s.index[o];for(n=s.first;n;n=n.next)if(n.key==t)return n};return r(p,{clear:function(){var e=this,t=h(e),n=t.index,s=t.first;while(s)s.removed=!0,s.previous&&(s.previous=s.previous.next=void 0),delete n[s.index],s=s.next;t.first=t.last=void 0,d?t.size=0:e.size=0},delete:function(e){var t=this,n=h(t),s=w(t,e);if(s){var o=s.next,r=s.previous;delete n.index[s.index],s.removed=!0,r&&(r.next=o),o&&(o.previous=r),n.first==s&&(n.first=o),n.last==s&&(n.last=r),d?n.size--:t.size--}return!!s},forEach:function(e){var t,n=h(this),s=i(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:n.first){s(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!w(this,e)}}),r(p,n?{get:function(e){var t=w(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),d&&s(p,"size",{get:function(){return h(this).size}}),c},setStrong:function(e,t,n){var s=t+" Iterator",o=f(t),r=f(s);u(e,t,(function(e,t){m(this,{type:s,target:e,state:o(e),kind:t,last:void 0})}),(function(){var e=r(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},7710:function(e,t,n){"use strict";var s=n(2109),o=n(7854),r=n(1702),i=n(4705),l=n(1320),a=n(2423),u=n(408),c=n(5787),d=n(614),v=n(111),p=n(7293),m=n(7072),f=n(8003),h=n(9587);e.exports=function(e,t,n){var g=-1!==e.indexOf("Map"),w=-1!==e.indexOf("Weak"),_=g?"set":"add",C=o[e],y=C&&C.prototype,b=C,x={},k=function(e){var t=r(y[e]);l(y,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(w&&!v(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return w&&!v(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(w&&!v(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})},H=i(e,!d(C)||!(w||y.forEach&&!p((function(){(new C).entries().next()}))));if(H)b=n.getConstructor(t,e,g,_),a.enable();else if(i(e,!0)){var S=new b,D=S[_](w?{}:-0,1)!=S,q=p((function(){S.has(1)})),z=m((function(e){new C(e)})),M=!w&&p((function(){var e=new C,t=5;while(t--)e[_](t,t);return!e.has(-0)}));z||(b=t((function(e,t){c(e,y);var n=h(new C,e,b);return void 0!=t&&u(t,n[_],{that:n,AS_ENTRIES:g}),n})),b.prototype=y,y.constructor=b),(q||M)&&(k("delete"),k("has"),g&&k("get")),(M||D)&&k(_),w&&y.clear&&delete y.clear}return x[e]=b,s({global:!0,forced:b!=C},x),f(b,e),w||n.setStrong(b,e,g),b}},6677:function(e,t,n){var s=n(7293);e.exports=!s((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2423:function(e,t,n){var s=n(2109),o=n(1702),r=n(3501),i=n(111),l=n(2597),a=n(3070).f,u=n(8006),c=n(1156),d=n(2050),v=n(9711),p=n(6677),m=!1,f=v("meta"),h=0,g=function(e){a(e,f,{value:{objectID:"O"+h++,weakData:{}}})},w=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!l(e,f)){if(!d(e))return"F";if(!t)return"E";g(e)}return e[f].objectID},_=function(e,t){if(!l(e,f)){if(!d(e))return!0;if(!t)return!1;g(e)}return e[f].weakData},C=function(e){return p&&m&&d(e)&&!l(e,f)&&g(e),e},y=function(){b.enable=function(){},m=!0;var e=u.f,t=o([].splice),n={};n[f]=1,e(n).length&&(u.f=function(n){for(var s=e(n),o=0,r=s.length;o0?((0,s.wg)(),(0,s.iD)("div",Re,[Ie,((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(n.clients||{},(function(t,o){return(0,s.wg)(),(0,s.iD)("div",{class:"row",ref_for:!0,ref:"groupClients",key:o},[(0,s._)("label",{class:"client",for:"snapcast-client-"+t.id},[(0,s._)("input",{type:"checkbox",class:"client",id:"snapcast-client-".concat(t.id),value:t.id,checked:t.id in n.group.clients,disabled:n.loading,onInput:function(n){return e.$emit(n.target.checked?"add-client":"remove-client",t.id)}},null,40,$e),(0,s.Uk)(" "+(0,f.zw)(t.host.name),1)],8,Ue)])})),128))])):(0,s.kq)("",!0),null!==(u=n.group)&&void 0!==u&&u.stream_id?((0,s.wg)(),(0,s.iD)("div",Ee,[Ae,(0,s._)("div",Te,[Be,(0,s._)("div",Pe,[(0,s._)("label",null,[(0,s._)("select",{ref:"streamSelect",onChange:t[1]||(t[1]=function(t){return e.$emit("stream-change",t.target.value)})},[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(n.streams,(function(e,t){return(0,s.wg)(),(0,s.iD)("option",{key:t,textContent:(0,f.zw)(n.streams[n.group.stream_id].id),name:e.id,value:e.id,disabled:n.loading,selected:e.id===n.group.stream_id},null,8,Ve)})),128))],544)])])]),null!==(c=n.streams)&&void 0!==c&&null!==(d=c[n.group.stream_id])&&void 0!==d&&d.status?((0,s.wg)(),(0,s.iD)("div",Ne,[Ke,(0,s._)("div",{class:"value col-m-9",textContent:(0,f.zw)(n.streams[n.group.stream_id].status)},null,8,We)])):(0,s.kq)("",!0),null!==(v=n.streams)&&void 0!==v&&null!==(p=v[null===(h=n.group)||void 0===h?void 0:h.stream_id])&&void 0!==p&&null!==(m=p.uri)&&void 0!==m&&m.host?((0,s.wg)(),(0,s.iD)("div",Fe,[Le,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.streams[n.group.stream_id].uri.host)},null,8,Ye)])):(0,s.kq)("",!0),null!==(g=n.streams)&&void 0!==g&&null!==(w=g[null===(C=n.group)||void 0===C?void 0:C.stream_id])&&void 0!==w&&null!==(_=w.uri)&&void 0!==_&&_.path?((0,s.wg)(),(0,s.iD)("div",Je,[Qe,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.streams[n.group.stream_id].uri.path)},null,8,Xe)])):(0,s.kq)("",!0),null!==(y=n.streams)&&void 0!==y&&null!==(b=y[null===(k=n.group)||void 0===k?void 0:k.stream_id])&&void 0!==b&&null!==(x=b.uri)&&void 0!==x&&x.raw?((0,s.wg)(),(0,s.iD)("div",et,[tt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.streams[n.group.stream_id].uri.raw)},null,8,nt)])):(0,s.kq)("",!0)])):(0,s.kq)("",!0)])}n(3210);var ot={name:"GroupModal",emits:["add-client","remove-client","stream-change","rename-group"],props:{loading:{type:Boolean,default:!1},group:{type:Object},clients:{type:Object},streams:{type:Object}},methods:{renameGroup:function(){var e=(prompt("New group name",this.group.name)||"").trim();null!==e&&void 0!==e&&e.length&&this.$emit("rename-group",e)}}};const rt=(0,I.Z)(ot,[["render",st],["__scopeId","data-v-353ffa58"]]);var it=rt,lt=function(e){return(0,s.dD)("data-v-0e55ac54"),e=e(),(0,s.Cn)(),e},at={class:"client-modal"},ut={key:0,class:"info"},ct={class:"row"},dt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"ID",-1)})),vt=["textContent"],pt={key:0,class:"row"},mt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Name",-1)})),ft={class:"value col-s-12 col-m-9"},ht=["textContent"],gt=lt((function(){return(0,s._)("i",{class:"fa fa-edit"},null,-1)})),wt=[gt],_t={class:"row"},Ct=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Connected",-1)})),yt=["textContent"],bt={class:"row"},xt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Volume",-1)})),kt={class:"value col-s-12 col-m-9"},Ht={class:"row"},St=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Muted",-1)})),Dt=["textContent"],qt={class:"row"},zt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Latency",-1)})),Mt=["textContent"],Zt={key:1,class:"row"},jt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"IP Address",-1)})),Gt=["textContent"],Ot={key:2,class:"row"},Rt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"MAC Address",-1)})),It=["textContent"],Ut={key:3,class:"row"},$t=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"OS",-1)})),Et=["textContent"],At={key:4,class:"row"},Tt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Architecture",-1)})),Bt=["textContent"],Pt={class:"row"},Vt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Client name",-1)})),Nt=["textContent"],Kt={class:"row"},Wt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Client version",-1)})),Ft=["textContent"],Lt={class:"row"},Yt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Protocol version",-1)})),Jt=["textContent"],Qt={class:"buttons"},Xt={class:"row"},en=["disabled"],tn=lt((function(){return(0,s._)("i",{class:"fas fa-trash"},null,-1)})),nn=lt((function(){return(0,s._)("span",{class:"name"},"Remove client",-1)})),sn=[tn,nn];function on(e,t,n,o,r,i){var l,a,u,c,d;return(0,s.wg)(),(0,s.iD)("div",at,[n.client?((0,s.wg)(),(0,s.iD)("div",ut,[(0,s._)("div",ct,[dt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.id)},null,8,vt)]),null!==(l=n.client.config)&&void 0!==l&&null!==(a=l.name)&&void 0!==a&&a.length||null!==(u=n.client.host)&&void 0!==u&&u.name?((0,s.wg)(),(0,s.iD)("div",pt,[mt,(0,s._)("div",ft,[(0,s._)("span",{class:"name",textContent:(0,f.zw)((null===(c=n.client.config)||void 0===c?void 0:c.name)||(null===(d=n.client.host)||void 0===d?void 0:d.name))},null,8,ht),(0,s._)("button",{title:"Rename",onClick:t[0]||(t[0]=function(){return i.renameClient&&i.renameClient.apply(i,arguments)})},wt)])])):(0,s.kq)("",!0),(0,s._)("div",_t,[Ct,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.connected)},null,8,yt)]),(0,s._)("div",bt,[xt,(0,s._)("div",kt,(0,f.zw)(n.client.config.volume.percent)+"%",1)]),(0,s._)("div",Ht,[St,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.config.volume.muted)},null,8,Dt)]),(0,s._)("div",qt,[zt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.config.latency)},null,8,Mt)]),n.client.host.ip&&n.client.host.ip.length?((0,s.wg)(),(0,s.iD)("div",Zt,[jt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.host.ip)},null,8,Gt)])):(0,s.kq)("",!0),n.client.host.mac&&n.client.host.mac.length?((0,s.wg)(),(0,s.iD)("div",Ot,[Rt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.host.mac)},null,8,It)])):(0,s.kq)("",!0),n.client.host.os&&n.client.host.os.length?((0,s.wg)(),(0,s.iD)("div",Ut,[$t,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.host.os)},null,8,Et)])):(0,s.kq)("",!0),n.client.host.arch&&n.client.host.arch.length?((0,s.wg)(),(0,s.iD)("div",At,[Tt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.host.arch)},null,8,Bt)])):(0,s.kq)("",!0),(0,s._)("div",Pt,[Vt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.snapclient.name)},null,8,Nt)]),(0,s._)("div",Kt,[Wt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.snapclient.version)},null,8,Ft)]),(0,s._)("div",Lt,[Yt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.snapclient.protocolVersion)},null,8,Jt)])])):(0,s.kq)("",!0),(0,s._)("div",Qt,[(0,s._)("div",Xt,[(0,s._)("button",{type:"button",disabled:n.loading,onClick:t[1]||(t[1]=function(){return i.removeClient&&i.removeClient.apply(i,arguments)})},sn,8,en)])])])}var rn={name:"ClientModal",emits:["remove-client","rename-client"],props:{loading:{type:Boolean,default:!1},client:{type:Object}},methods:{removeClient:function(){window.confirm("Are you sure that you want to remove this client?")&&this.$emit("remove-client")},renameClient:function(){var e,t=(window.prompt("New client name",null!==(e=this.client.config.name)&&void 0!==e&&e.length?this.client.config.name:this.client.host.name)||"").trim();t.length&&this.$emit("rename-client",t)}}};const ln=(0,I.Z)(rn,[["render",on],["__scopeId","data-v-0e55ac54"]]);var an=ln,un=n(1232),cn={name:"MusicSnapcast",mixins:[m.Z],components:{Loading:un.Z,Modal:p.Z,Host:V,ModalHost:He,ModalGroup:it,ModalClient:an},data:function(){return{loading:!1,hosts:{},ports:{},selectedHost:null,selectedGroup:null,selectedClient:null}},computed:{clientsByHost:function(){return Object.entries(this.hosts).reduce((function(e,t){var n=(0,v.Z)(t,2),s=n[0],o=n[1];return e[s]={},Object.values(o.groups).forEach((function(t){Object.entries(t.clients).forEach((function(t){var n=(0,v.Z)(t,2),o=n[0],r=n[1];e[s][o]=r}))})),e}),{})}},methods:{parseServerStatus:function(e){e.server.host.port=this.ports[e.server.host.name],this.hosts[e.server.host.name]=(0,d.Z)((0,d.Z)({},e),{},{groups:e.groups.map((function(e){return(0,d.Z)((0,d.Z)({},e),{},{clients:e.clients.reduce((function(e,t){return e[t.id]=t,e}),{})})})).reduce((function(e,t){return e[t.id]=t,e}),{}),streams:e.streams.reduce((function(e,t){return e[t.id]=t,e}),{})})},refresh:function(){var e=this;return(0,c.Z)(regeneratorRuntime.mark((function t(){var n,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("music.snapcast.get_backend_hosts");case 4:return n=t.sent,t.next=7,Promise.all(Object.keys(n).map(function(){var t=(0,c.Z)(regeneratorRuntime.mark((function t(s){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e.request("music.snapcast.status",{host:s,port:n[s]}));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 7:s=t.sent,e.hosts={},s.forEach((function(t){e.ports[t.server.host.name]=n[t.server.host.name],e.parseServerStatus(t)}));case 10:return t.prev=10,e.loading=!1,t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[1,,10,13]])})))()},refreshHost:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e in t.hosts){n.next=2;break}return n.abrupt("return");case 2:return n.t0=t,n.next=5,t.request("music.snapcast.status",{host:e,port:t.ports[e]});case 5:n.t1=n.sent,n.t0.parseServerStatus.call(n.t0,n.t1);case 7:case"end":return n.stop()}}),n)})))()},addClientToGroup:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){var s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.loading=!0,n.prev=1,t.selectedHost&&t.selectedGroup&&e in t.clientsByHost[t.selectedHost]){n.next=4;break}return n.abrupt("return");case 4:return s=(0,u.Z)(new Set([e].concat((0,u.Z)(Object.keys(t.hosts[t.selectedHost].groups[t.selectedGroup].clients))))),n.next=7,t.request("music.snapcast.group_set_clients",{host:t.selectedHost,port:t.ports[t.selectedHost],group:t.selectedGroup,clients:s});case 7:return n.next=9,t.refreshHost(t.selectedHost);case 9:return n.prev=9,t.loading=!1,n.finish(9);case 12:case"end":return n.stop()}}),n,null,[[1,,9,12]])})))()},removeClientFromGroup:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){var s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.loading=!0,n.prev=1,t.selectedHost&&t.selectedGroup&&e in t.clientsByHost[t.selectedHost]){n.next=4;break}return n.abrupt("return");case 4:if(s=new Set((0,u.Z)(Object.keys(t.hosts[t.selectedHost].groups[t.selectedGroup].clients))),s.has(e)){n.next=7;break}return n.abrupt("return");case 7:return s.delete(e),n.next=10,t.request("music.snapcast.group_set_clients",{host:t.selectedHost,port:t.ports[t.selectedHost],group:t.selectedGroup,clients:(0,u.Z)(s)});case 10:return n.next=12,t.refreshHost(t.selectedHost);case 12:return n.prev=12,t.loading=!1,n.finish(12);case 15:case"end":return n.stop()}}),n,null,[[1,,12,15]])})))()},renameGroup:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.loading=!0,n.prev=1,t.selectedHost&&t.selectedGroup){n.next=4;break}return n.abrupt("return");case 4:return n.next=6,t.request("music.snapcast.set_group_name",{host:t.selectedHost,port:t.ports[t.selectedHost],group:t.selectedGroup,name:e});case 6:return n.next=8,t.refreshHost(t.selectedHost);case 8:return n.prev=8,t.loading=!1,n.finish(8);case 11:case"end":return n.stop()}}),n,null,[[1,,8,11]])})))()},renameClient:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.loading=!0,n.prev=1,t.selectedHost&&t.selectedClient){n.next=4;break}return n.abrupt("return");case 4:return n.next=6,t.request("music.snapcast.set_client_name",{host:t.selectedHost,port:t.ports[t.selectedHost],client:t.selectedClient,name:e});case 6:return n.next=8,t.refreshHost(t.selectedHost);case 8:return n.prev=8,t.loading=!1,n.finish(8);case 11:case"end":return n.stop()}}),n,null,[[1,,8,11]])})))()},removeClient:function(){var e=this;return(0,c.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.loading=!0,t.prev=1,e.selectedHost&&e.selectedClient){t.next=4;break}return t.abrupt("return");case 4:return t.next=6,e.request("music.snapcast.delete_client",{host:e.selectedHost,port:e.ports[e.selectedHost],client:e.selectedClient});case 6:return e.$refs.modalClient.close(),t.next=9,e.refreshHost(e.selectedHost);case 9:return t.prev=9,e.loading=!1,t.finish(9);case 12:case"end":return t.stop()}}),t,null,[[1,,9,12]])})))()},streamChange:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.loading=!0,n.prev=1,n.next=4,t.request("music.snapcast.group_set_stream",{host:t.selectedHost,port:t.ports[t.selectedHost],group:t.selectedGroup,stream_id:e});case 4:return n.next=6,t.refreshHost(t.selectedHost);case 6:return n.prev=6,t.loading=!1,n.finish(6);case 9:case"end":return n.stop()}}),n,null,[[1,,6,9]])})))()},onClientUpdate:function(e){var t=this;Object.keys(this.hosts[e.host].groups).forEach((function(n){e.client.id in t.hosts[e.host].groups[n].clients&&(t.hosts[e.host].groups[n].clients[e.client.id]=e.client)}))},onGroupStreamChange:function(e){this.hosts[e.host].groups[e.group].stream_id=e.stream},onServerUpdate:function(e){this.parseServerStatus(e.server)},onStreamUpdate:function(e){this.hosts[e.host].streams[e.stream.id]=e.stream},onClientVolumeChange:function(e){var t=this;Object.keys(this.hosts[e.host].groups).forEach((function(n){e.client in t.hosts[e.host].groups[n].clients&&(null!=e.volume&&(t.hosts[e.host].groups[n].clients[e.client].config.volume.percent=e.volume),null!=e.muted&&(t.hosts[e.host].groups[n].clients[e.client].config.volume.muted=e.muted))}))},onGroupMuteChange:function(e){this.hosts[e.host].groups[e.group].muted=e.muted},modalShow:function(e){switch(e.type){case"host":this.modal[e.type].info=this.hosts[e.host];break;case"group":this.modal[e.type].info.server=this.hosts[e.host].server,this.modal[e.type].info.group=this.hosts[e.host].groups[e.group],this.modal[e.type].info.streams=this.hosts[e.host].streams,this.modal[e.type].info.clients={};for(var t=0,n=Object.values(this.hosts[e.host].groups);t 1 ? arguments[1] : undefined);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // `{ Map, Set}.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.has\n // https://tc39.es/ecma262/#sec-set.prototype.has\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n redefineAll(Prototype, IS_MAP ? {\n // `Map.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-map.prototype.get\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // `Map.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-map.prototype.set\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // `Set.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-set.prototype.add\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineProperty(Prototype, 'size', {\n get: function () {\n return getInternalState(this).size;\n }\n });\n return Constructor;\n },\n setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.entries\n // https://tc39.es/ecma262/#sec-map.prototype.keys\n // https://tc39.es/ecma262/#sec-map.prototype.values\n // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n // https://tc39.es/ecma262/#sec-set.prototype.entries\n // https://tc39.es/ecma262/#sec-set.prototype.keys\n // https://tc39.es/ecma262/#sec-set.prototype.values\n // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return { value: undefined, done: true };\n }\n // return step by kind\n if (kind == 'keys') return { value: entry.key, done: false };\n if (kind == 'values') return { value: entry.value, done: false };\n return { value: [entry.key, entry.value], done: false };\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // `{ Map, Set }.prototype[@@species]` accessors\n // https://tc39.es/ecma262/#sec-get-map-@@species\n // https://tc39.es/ecma262/#sec-get-set-@@species\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);\n redefine(NativePrototype, KEY,\n KEY == 'add' ? function add(value) {\n uncurriedNativeMethod(this, value === 0 ? 0 : value);\n return this;\n } : KEY == 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n uncurriedNativeMethod(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n var REPLACE = isForced(\n CONSTRUCTOR_NAME,\n !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n }))\n );\n\n if (REPLACE) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new -- required for testing\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, NativePrototype);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, forced: Constructor != NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\ncollection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Client.vue?vue&type=template&id=12b0e65b&scoped=true\"\nimport script from \"./Client.vue?vue&type=script&lang=js\"\nexport * from \"./Client.vue?vue&type=script&lang=js\"\n\nimport \"./Client.vue?vue&type=style&index=0&id=12b0e65b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-12b0e65b\"]])\n\nexport default __exports__","import { render } from \"./Group.vue?vue&type=template&id=748fccb4&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=748fccb4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-748fccb4\"]])\n\nexport default __exports__","import { render } from \"./Host.vue?vue&type=template&id=7bce419a&scoped=true\"\nimport script from \"./Host.vue?vue&type=script&lang=js\"\nexport * from \"./Host.vue?vue&type=script&lang=js\"\n\nimport \"./Host.vue?vue&type=style&index=0&id=7bce419a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7bce419a\"]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./Host.vue?vue&type=template&id=4b0dc9f8\"\nimport script from \"./Host.vue?vue&type=script&lang=js\"\nexport * from \"./Host.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Group.vue?vue&type=template&id=353ffa58&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=353ffa58&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-353ffa58\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Client.vue?vue&type=template&id=0e55ac54&scoped=true\"\nimport script from \"./Client.vue?vue&type=script&lang=js\"\nexport * from \"./Client.vue?vue&type=script&lang=js\"\n\nimport \"./Client.vue?vue&type=style&index=0&id=0e55ac54&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0e55ac54\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=40841f5a&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=40841f5a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-40841f5a\"]])\n\nexport default __exports__"],"names":["fails","module","exports","ArrayBuffer","buffer","Object","isExtensible","defineProperty","value","create","redefineAll","bind","anInstance","iterate","defineIterator","setSpecies","DESCRIPTORS","fastKey","InternalStateModule","setInternalState","set","internalStateGetterFor","getterFor","getConstructor","wrapper","CONSTRUCTOR_NAME","IS_MAP","ADDER","Constructor","that","iterable","Prototype","type","index","first","undefined","last","size","AS_ENTRIES","prototype","getInternalState","define","key","previous","state","entry","getEntry","next","removed","clear","this","data","prev","forEach","callbackfn","boundFunction","arguments","length","has","get","add","setStrong","ITERATOR_NAME","getInternalCollectionState","getInternalIteratorState","iterated","kind","target","done","$","global","uncurryThis","isForced","redefine","InternalMetadataModule","isCallable","isObject","checkCorrectnessOfIteration","setToStringTag","inheritIfRequired","common","indexOf","IS_WEAK","NativeConstructor","NativePrototype","exported","fixMethod","KEY","uncurriedNativeMethod","REPLACE","entries","enable","instance","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","BUGGY_ZERO","$instance","dummy","constructor","forced","preventExtensions","hiddenKeys","hasOwn","getOwnPropertyNamesModule","getOwnPropertyNamesExternalModule","uid","FREEZING","REQUIRED","METADATA","id","setMetadata","it","objectID","weakData","getWeakData","onFreeze","meta","getOwnPropertyNames","f","splice","test","result","i","stat","classof","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","FAILS_ON_PRIMITIVES","PROPER_FUNCTION_NAME","whitespaces","non","METHOD_NAME","name","collection","collectionStrong","init","$trim","forcedStringTrimMethod","proto","trim","class","ref","min","range","max","step","disabled","onUpdate","withLabel","emits","props","Number","Boolean","default","Array","methods","event","update","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","stopPropagation","loading","title","selectedHost","info","hosts","selectedGroup","group","groups","streams","clients","clientsByHost","addClientToGroup","removeClientFromGroup","streamChange","renameGroup","$event","selectedClient","client","removeClient","renameClient","host","server","groupMute","clientMute","clientSetVolume","onModalShow","collapsed","muted","stream","stream_id","status","config","connected","groupId","lastSeen","snapclient","volume","components","Slider","ToggleSwitch","required","String","Client","Group","ip","mac","port","os","arch","snapserver","version","protocolVersion","controlProtocolVersion","keys","for","selected","uri","path","raw","prompt","latency","window","confirm","mixins","Utils","Loading","Modal","Host","ModalHost","ModalGroup","ModalClient","ports","computed","reduce","values","clientId","parseServerStatus","map","refresh","request","Promise","all","statuses","refreshHost","Set","delete","modalClient","close","streamId","onClientUpdate","onGroupStreamChange","onServerUpdate","onStreamUpdate","onClientVolumeChange","onGroupMuteChange","modalShow","modal","visible","mute","modalHost","show","modalGroup","subscribe"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2790-legacy.df38f403.js b/platypush/backend/http/webapp/dist/static/js/2790-legacy.df38f403.js new file mode 100644 index 000000000..84648cf35 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/2790-legacy.df38f403.js @@ -0,0 +1,2 @@ +(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2790],{7556:function(e,t,n){var s=n(7293);e.exports=s((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},5631:function(e,t,n){"use strict";var s=n(3070).f,o=n(30),r=n(2248),i=n(9974),l=n(5787),a=n(408),u=n(654),c=n(6340),d=n(9781),v=n(2423).fastKey,p=n(9909),m=p.set,f=p.getterFor;e.exports={getConstructor:function(e,t,n,u){var c=e((function(e,s){l(e,p),m(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),d||(e.size=0),void 0!=s&&a(s,e[u],{that:e,AS_ENTRIES:n})})),p=c.prototype,h=f(t),g=function(e,t,n){var s,o,r=h(e),i=w(e,t);return i?i.value=n:(r.last=i={index:o=v(t,!0),key:t,value:n,previous:s=r.last,next:void 0,removed:!1},r.first||(r.first=i),s&&(s.next=i),d?r.size++:e.size++,"F"!==o&&(r.index[o]=i)),e},w=function(e,t){var n,s=h(e),o=v(t);if("F"!==o)return s.index[o];for(n=s.first;n;n=n.next)if(n.key==t)return n};return r(p,{clear:function(){var e=this,t=h(e),n=t.index,s=t.first;while(s)s.removed=!0,s.previous&&(s.previous=s.previous.next=void 0),delete n[s.index],s=s.next;t.first=t.last=void 0,d?t.size=0:e.size=0},delete:function(e){var t=this,n=h(t),s=w(t,e);if(s){var o=s.next,r=s.previous;delete n.index[s.index],s.removed=!0,r&&(r.next=o),o&&(o.previous=r),n.first==s&&(n.first=o),n.last==s&&(n.last=r),d?n.size--:t.size--}return!!s},forEach:function(e){var t,n=h(this),s=i(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:n.first){s(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!w(this,e)}}),r(p,n?{get:function(e){var t=w(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),d&&s(p,"size",{get:function(){return h(this).size}}),c},setStrong:function(e,t,n){var s=t+" Iterator",o=f(t),r=f(s);u(e,t,(function(e,t){m(this,{type:s,target:e,state:o(e),kind:t,last:void 0})}),(function(){var e=r(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},7710:function(e,t,n){"use strict";var s=n(2109),o=n(7854),r=n(1702),i=n(4705),l=n(1320),a=n(2423),u=n(408),c=n(5787),d=n(614),v=n(111),p=n(7293),m=n(7072),f=n(8003),h=n(9587);e.exports=function(e,t,n){var g=-1!==e.indexOf("Map"),w=-1!==e.indexOf("Weak"),_=g?"set":"add",C=o[e],y=C&&C.prototype,b=C,x={},k=function(e){var t=r(y[e]);l(y,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(w&&!v(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return w&&!v(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(w&&!v(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})},H=i(e,!d(C)||!(w||y.forEach&&!p((function(){(new C).entries().next()}))));if(H)b=n.getConstructor(t,e,g,_),a.enable();else if(i(e,!0)){var S=new b,D=S[_](w?{}:-0,1)!=S,q=p((function(){S.has(1)})),z=m((function(e){new C(e)})),M=!w&&p((function(){var e=new C,t=5;while(t--)e[_](t,t);return!e.has(-0)}));z||(b=t((function(e,t){c(e,y);var n=h(new C,e,b);return void 0!=t&&u(t,n[_],{that:n,AS_ENTRIES:g}),n})),b.prototype=y,y.constructor=b),(q||M)&&(k("delete"),k("has"),g&&k("get")),(M||D)&&k(_),w&&y.clear&&delete y.clear}return x[e]=b,s({global:!0,forced:b!=C},x),f(b,e),w||n.setStrong(b,e,g),b}},6677:function(e,t,n){var s=n(7293);e.exports=!s((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2423:function(e,t,n){var s=n(2109),o=n(1702),r=n(3501),i=n(111),l=n(2597),a=n(3070).f,u=n(8006),c=n(1156),d=n(2050),v=n(9711),p=n(6677),m=!1,f=v("meta"),h=0,g=function(e){a(e,f,{value:{objectID:"O"+h++,weakData:{}}})},w=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!l(e,f)){if(!d(e))return"F";if(!t)return"E";g(e)}return e[f].objectID},_=function(e,t){if(!l(e,f)){if(!d(e))return!0;if(!t)return!1;g(e)}return e[f].weakData},C=function(e){return p&&m&&d(e)&&!l(e,f)&&g(e),e},y=function(){b.enable=function(){},m=!0;var e=u.f,t=o([].splice),n={};n[f]=1,e(n).length&&(u.f=function(n){for(var s=e(n),o=0,r=s.length;o0?((0,s.wg)(),(0,s.iD)("div",Re,[Ie,((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(n.clients||{},(function(t,o){return(0,s.wg)(),(0,s.iD)("div",{class:"row",ref_for:!0,ref:"groupClients",key:o},[(0,s._)("label",{class:"client",for:"snapcast-client-"+t.id},[(0,s._)("input",{type:"checkbox",class:"client",id:"snapcast-client-".concat(t.id),value:t.id,checked:t.id in n.group.clients,disabled:n.loading,onInput:function(n){return e.$emit(n.target.checked?"add-client":"remove-client",t.id)}},null,40,$e),(0,s.Uk)(" "+(0,f.zw)(t.host.name),1)],8,Ue)])})),128))])):(0,s.kq)("",!0),null!==(u=n.group)&&void 0!==u&&u.stream_id?((0,s.wg)(),(0,s.iD)("div",Ee,[Ae,(0,s._)("div",Te,[Be,(0,s._)("div",Pe,[(0,s._)("label",null,[(0,s._)("select",{ref:"streamSelect",onChange:t[1]||(t[1]=function(t){return e.$emit("stream-change",t.target.value)})},[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(n.streams,(function(e,t){return(0,s.wg)(),(0,s.iD)("option",{key:t,textContent:(0,f.zw)(n.streams[n.group.stream_id].id),name:e.id,value:e.id,disabled:n.loading,selected:e.id===n.group.stream_id},null,8,Ve)})),128))],544)])])]),null!==(c=n.streams)&&void 0!==c&&null!==(d=c[n.group.stream_id])&&void 0!==d&&d.status?((0,s.wg)(),(0,s.iD)("div",Ne,[Ke,(0,s._)("div",{class:"value col-m-9",textContent:(0,f.zw)(n.streams[n.group.stream_id].status)},null,8,We)])):(0,s.kq)("",!0),null!==(v=n.streams)&&void 0!==v&&null!==(p=v[null===(h=n.group)||void 0===h?void 0:h.stream_id])&&void 0!==p&&null!==(m=p.uri)&&void 0!==m&&m.host?((0,s.wg)(),(0,s.iD)("div",Fe,[Le,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.streams[n.group.stream_id].uri.host)},null,8,Ye)])):(0,s.kq)("",!0),null!==(g=n.streams)&&void 0!==g&&null!==(w=g[null===(C=n.group)||void 0===C?void 0:C.stream_id])&&void 0!==w&&null!==(_=w.uri)&&void 0!==_&&_.path?((0,s.wg)(),(0,s.iD)("div",Je,[Qe,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.streams[n.group.stream_id].uri.path)},null,8,Xe)])):(0,s.kq)("",!0),null!==(y=n.streams)&&void 0!==y&&null!==(b=y[null===(k=n.group)||void 0===k?void 0:k.stream_id])&&void 0!==b&&null!==(x=b.uri)&&void 0!==x&&x.raw?((0,s.wg)(),(0,s.iD)("div",et,[tt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.streams[n.group.stream_id].uri.raw)},null,8,nt)])):(0,s.kq)("",!0)])):(0,s.kq)("",!0)])}n(3210);var ot={name:"GroupModal",emits:["add-client","remove-client","stream-change","rename-group"],props:{loading:{type:Boolean,default:!1},group:{type:Object},clients:{type:Object},streams:{type:Object}},methods:{renameGroup:function(){var e=(prompt("New group name",this.group.name)||"").trim();null!==e&&void 0!==e&&e.length&&this.$emit("rename-group",e)}}};const rt=(0,I.Z)(ot,[["render",st],["__scopeId","data-v-353ffa58"]]);var it=rt,lt=function(e){return(0,s.dD)("data-v-0e55ac54"),e=e(),(0,s.Cn)(),e},at={class:"client-modal"},ut={key:0,class:"info"},ct={class:"row"},dt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"ID",-1)})),vt=["textContent"],pt={key:0,class:"row"},mt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Name",-1)})),ft={class:"value col-s-12 col-m-9"},ht=["textContent"],gt=lt((function(){return(0,s._)("i",{class:"fa fa-edit"},null,-1)})),wt=[gt],_t={class:"row"},Ct=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Connected",-1)})),yt=["textContent"],bt={class:"row"},xt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Volume",-1)})),kt={class:"value col-s-12 col-m-9"},Ht={class:"row"},St=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Muted",-1)})),Dt=["textContent"],qt={class:"row"},zt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Latency",-1)})),Mt=["textContent"],Zt={key:1,class:"row"},jt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"IP Address",-1)})),Gt=["textContent"],Ot={key:2,class:"row"},Rt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"MAC Address",-1)})),It=["textContent"],Ut={key:3,class:"row"},$t=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"OS",-1)})),Et=["textContent"],At={key:4,class:"row"},Tt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Architecture",-1)})),Bt=["textContent"],Pt={class:"row"},Vt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Client name",-1)})),Nt=["textContent"],Kt={class:"row"},Wt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Client version",-1)})),Ft=["textContent"],Lt={class:"row"},Yt=lt((function(){return(0,s._)("div",{class:"label col-s-12 col-m-3"},"Protocol version",-1)})),Jt=["textContent"],Qt={class:"buttons"},Xt={class:"row"},en=["disabled"],tn=lt((function(){return(0,s._)("i",{class:"fas fa-trash"},null,-1)})),nn=lt((function(){return(0,s._)("span",{class:"name"},"Remove client",-1)})),sn=[tn,nn];function on(e,t,n,o,r,i){var l,a,u,c,d;return(0,s.wg)(),(0,s.iD)("div",at,[n.client?((0,s.wg)(),(0,s.iD)("div",ut,[(0,s._)("div",ct,[dt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.id)},null,8,vt)]),null!==(l=n.client.config)&&void 0!==l&&null!==(a=l.name)&&void 0!==a&&a.length||null!==(u=n.client.host)&&void 0!==u&&u.name?((0,s.wg)(),(0,s.iD)("div",pt,[mt,(0,s._)("div",ft,[(0,s._)("span",{class:"name",textContent:(0,f.zw)((null===(c=n.client.config)||void 0===c?void 0:c.name)||(null===(d=n.client.host)||void 0===d?void 0:d.name))},null,8,ht),(0,s._)("button",{title:"Rename",onClick:t[0]||(t[0]=function(){return i.renameClient&&i.renameClient.apply(i,arguments)})},wt)])])):(0,s.kq)("",!0),(0,s._)("div",_t,[Ct,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.connected)},null,8,yt)]),(0,s._)("div",bt,[xt,(0,s._)("div",kt,(0,f.zw)(n.client.config.volume.percent)+"%",1)]),(0,s._)("div",Ht,[St,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.config.volume.muted)},null,8,Dt)]),(0,s._)("div",qt,[zt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.config.latency)},null,8,Mt)]),n.client.host.ip&&n.client.host.ip.length?((0,s.wg)(),(0,s.iD)("div",Zt,[jt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.host.ip)},null,8,Gt)])):(0,s.kq)("",!0),n.client.host.mac&&n.client.host.mac.length?((0,s.wg)(),(0,s.iD)("div",Ot,[Rt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.host.mac)},null,8,It)])):(0,s.kq)("",!0),n.client.host.os&&n.client.host.os.length?((0,s.wg)(),(0,s.iD)("div",Ut,[$t,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.host.os)},null,8,Et)])):(0,s.kq)("",!0),n.client.host.arch&&n.client.host.arch.length?((0,s.wg)(),(0,s.iD)("div",At,[Tt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.host.arch)},null,8,Bt)])):(0,s.kq)("",!0),(0,s._)("div",Pt,[Vt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.snapclient.name)},null,8,Nt)]),(0,s._)("div",Kt,[Wt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.snapclient.version)},null,8,Ft)]),(0,s._)("div",Lt,[Yt,(0,s._)("div",{class:"value col-s-12 col-m-9",textContent:(0,f.zw)(n.client.snapclient.protocolVersion)},null,8,Jt)])])):(0,s.kq)("",!0),(0,s._)("div",Qt,[(0,s._)("div",Xt,[(0,s._)("button",{type:"button",disabled:n.loading,onClick:t[1]||(t[1]=function(){return i.removeClient&&i.removeClient.apply(i,arguments)})},sn,8,en)])])])}var rn={name:"ClientModal",emits:["remove-client","rename-client"],props:{loading:{type:Boolean,default:!1},client:{type:Object}},methods:{removeClient:function(){window.confirm("Are you sure that you want to remove this client?")&&this.$emit("remove-client")},renameClient:function(){var e,t=(window.prompt("New client name",null!==(e=this.client.config.name)&&void 0!==e&&e.length?this.client.config.name:this.client.host.name)||"").trim();t.length&&this.$emit("rename-client",t)}}};const ln=(0,I.Z)(rn,[["render",on],["__scopeId","data-v-0e55ac54"]]);var an=ln,un=n(1232),cn={name:"MusicSnapcast",mixins:[m.Z],components:{Loading:un.Z,Modal:p.Z,Host:V,ModalHost:He,ModalGroup:it,ModalClient:an},data:function(){return{loading:!1,hosts:{},ports:{},selectedHost:null,selectedGroup:null,selectedClient:null}},computed:{clientsByHost:function(){return Object.entries(this.hosts).reduce((function(e,t){var n=(0,v.Z)(t,2),s=n[0],o=n[1];return e[s]={},Object.values(o.groups).forEach((function(t){Object.entries(t.clients).forEach((function(t){var n=(0,v.Z)(t,2),o=n[0],r=n[1];e[s][o]=r}))})),e}),{})}},methods:{parseServerStatus:function(e){e.server.host.port=this.ports[e.server.host.name],this.hosts[e.server.host.name]=(0,d.Z)((0,d.Z)({},e),{},{groups:e.groups.map((function(e){return(0,d.Z)((0,d.Z)({},e),{},{clients:e.clients.reduce((function(e,t){return e[t.id]=t,e}),{})})})).reduce((function(e,t){return e[t.id]=t,e}),{}),streams:e.streams.reduce((function(e,t){return e[t.id]=t,e}),{})})},refresh:function(){var e=this;return(0,c.Z)(regeneratorRuntime.mark((function t(){var n,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("music.snapcast.get_backend_hosts");case 4:return n=t.sent,t.next=7,Promise.all(Object.keys(n).map(function(){var t=(0,c.Z)(regeneratorRuntime.mark((function t(s){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",e.request("music.snapcast.status",{host:s,port:n[s]}));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 7:s=t.sent,e.hosts={},s.forEach((function(t){e.ports[t.server.host.name]=n[t.server.host.name],e.parseServerStatus(t)}));case 10:return t.prev=10,e.loading=!1,t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[1,,10,13]])})))()},refreshHost:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e in t.hosts){n.next=2;break}return n.abrupt("return");case 2:return n.t0=t,n.next=5,t.request("music.snapcast.status",{host:e,port:t.ports[e]});case 5:n.t1=n.sent,n.t0.parseServerStatus.call(n.t0,n.t1);case 7:case"end":return n.stop()}}),n)})))()},addClientToGroup:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){var s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.loading=!0,n.prev=1,t.selectedHost&&t.selectedGroup&&e in t.clientsByHost[t.selectedHost]){n.next=4;break}return n.abrupt("return");case 4:return s=(0,u.Z)(new Set([e].concat((0,u.Z)(Object.keys(t.hosts[t.selectedHost].groups[t.selectedGroup].clients))))),n.next=7,t.request("music.snapcast.group_set_clients",{host:t.selectedHost,port:t.ports[t.selectedHost],group:t.selectedGroup,clients:s});case 7:return n.next=9,t.refreshHost(t.selectedHost);case 9:return n.prev=9,t.loading=!1,n.finish(9);case 12:case"end":return n.stop()}}),n,null,[[1,,9,12]])})))()},removeClientFromGroup:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){var s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.loading=!0,n.prev=1,t.selectedHost&&t.selectedGroup&&e in t.clientsByHost[t.selectedHost]){n.next=4;break}return n.abrupt("return");case 4:if(s=new Set((0,u.Z)(Object.keys(t.hosts[t.selectedHost].groups[t.selectedGroup].clients))),s.has(e)){n.next=7;break}return n.abrupt("return");case 7:return s.delete(e),n.next=10,t.request("music.snapcast.group_set_clients",{host:t.selectedHost,port:t.ports[t.selectedHost],group:t.selectedGroup,clients:(0,u.Z)(s)});case 10:return n.next=12,t.refreshHost(t.selectedHost);case 12:return n.prev=12,t.loading=!1,n.finish(12);case 15:case"end":return n.stop()}}),n,null,[[1,,12,15]])})))()},renameGroup:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.loading=!0,n.prev=1,t.selectedHost&&t.selectedGroup){n.next=4;break}return n.abrupt("return");case 4:return n.next=6,t.request("music.snapcast.set_group_name",{host:t.selectedHost,port:t.ports[t.selectedHost],group:t.selectedGroup,name:e});case 6:return n.next=8,t.refreshHost(t.selectedHost);case 8:return n.prev=8,t.loading=!1,n.finish(8);case 11:case"end":return n.stop()}}),n,null,[[1,,8,11]])})))()},renameClient:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t.loading=!0,n.prev=1,t.selectedHost&&t.selectedClient){n.next=4;break}return n.abrupt("return");case 4:return n.next=6,t.request("music.snapcast.set_client_name",{host:t.selectedHost,port:t.ports[t.selectedHost],client:t.selectedClient,name:e});case 6:return n.next=8,t.refreshHost(t.selectedHost);case 8:return n.prev=8,t.loading=!1,n.finish(8);case 11:case"end":return n.stop()}}),n,null,[[1,,8,11]])})))()},removeClient:function(){var e=this;return(0,c.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.loading=!0,t.prev=1,e.selectedHost&&e.selectedClient){t.next=4;break}return t.abrupt("return");case 4:return t.next=6,e.request("music.snapcast.delete_client",{host:e.selectedHost,port:e.ports[e.selectedHost],client:e.selectedClient});case 6:return e.$refs.modalClient.close(),t.next=9,e.refreshHost(e.selectedHost);case 9:return t.prev=9,e.loading=!1,t.finish(9);case 12:case"end":return t.stop()}}),t,null,[[1,,9,12]])})))()},streamChange:function(e){var t=this;return(0,c.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.loading=!0,n.prev=1,n.next=4,t.request("music.snapcast.group_set_stream",{host:t.selectedHost,port:t.ports[t.selectedHost],group:t.selectedGroup,stream_id:e});case 4:return n.next=6,t.refreshHost(t.selectedHost);case 6:return n.prev=6,t.loading=!1,n.finish(6);case 9:case"end":return n.stop()}}),n,null,[[1,,6,9]])})))()},onClientUpdate:function(e){var t=this;Object.keys(this.hosts[e.host].groups).forEach((function(n){e.client.id in t.hosts[e.host].groups[n].clients&&(t.hosts[e.host].groups[n].clients[e.client.id]=e.client)}))},onGroupStreamChange:function(e){this.hosts[e.host].groups[e.group].stream_id=e.stream},onServerUpdate:function(e){this.parseServerStatus(e.server)},onStreamUpdate:function(e){this.hosts[e.host].streams[e.stream.id]=e.stream},onClientVolumeChange:function(e){var t=this;Object.keys(this.hosts[e.host].groups).forEach((function(n){e.client in t.hosts[e.host].groups[n].clients&&(null!=e.volume&&(t.hosts[e.host].groups[n].clients[e.client].config.volume.percent=e.volume),null!=e.muted&&(t.hosts[e.host].groups[n].clients[e.client].config.volume.muted=e.muted))}))},onGroupMuteChange:function(e){this.hosts[e.host].groups[e.group].muted=e.muted},modalShow:function(e){switch(e.type){case"host":this.modal[e.type].info=this.hosts[e.host];break;case"group":this.modal[e.type].info.server=this.hosts[e.host].server,this.modal[e.type].info.group=this.hosts[e.host].groups[e.group],this.modal[e.type].info.streams=this.hosts[e.host].streams,this.modal[e.type].info.clients={};for(var t=0,n=Object.values(this.hosts[e.host].groups);t 1 ? arguments[1] : undefined);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // `{ Map, Set}.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.has\n // https://tc39.es/ecma262/#sec-set.prototype.has\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n redefineAll(Prototype, IS_MAP ? {\n // `Map.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-map.prototype.get\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // `Map.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-map.prototype.set\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // `Set.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-set.prototype.add\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineProperty(Prototype, 'size', {\n get: function () {\n return getInternalState(this).size;\n }\n });\n return Constructor;\n },\n setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.entries\n // https://tc39.es/ecma262/#sec-map.prototype.keys\n // https://tc39.es/ecma262/#sec-map.prototype.values\n // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n // https://tc39.es/ecma262/#sec-set.prototype.entries\n // https://tc39.es/ecma262/#sec-set.prototype.keys\n // https://tc39.es/ecma262/#sec-set.prototype.values\n // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return { value: undefined, done: true };\n }\n // return step by kind\n if (kind == 'keys') return { value: entry.key, done: false };\n if (kind == 'values') return { value: entry.value, done: false };\n return { value: [entry.key, entry.value], done: false };\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // `{ Map, Set }.prototype[@@species]` accessors\n // https://tc39.es/ecma262/#sec-get-map-@@species\n // https://tc39.es/ecma262/#sec-get-set-@@species\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);\n redefine(NativePrototype, KEY,\n KEY == 'add' ? function add(value) {\n uncurriedNativeMethod(this, value === 0 ? 0 : value);\n return this;\n } : KEY == 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n uncurriedNativeMethod(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n var REPLACE = isForced(\n CONSTRUCTOR_NAME,\n !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n }))\n );\n\n if (REPLACE) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new -- required for testing\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, NativePrototype);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, forced: Constructor != NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\ncollection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Client.vue?vue&type=template&id=12b0e65b&scoped=true\"\nimport script from \"./Client.vue?vue&type=script&lang=js\"\nexport * from \"./Client.vue?vue&type=script&lang=js\"\n\nimport \"./Client.vue?vue&type=style&index=0&id=12b0e65b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-12b0e65b\"]])\n\nexport default __exports__","import { render } from \"./Group.vue?vue&type=template&id=748fccb4&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=748fccb4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-748fccb4\"]])\n\nexport default __exports__","import { render } from \"./Host.vue?vue&type=template&id=7bce419a&scoped=true\"\nimport script from \"./Host.vue?vue&type=script&lang=js\"\nexport * from \"./Host.vue?vue&type=script&lang=js\"\n\nimport \"./Host.vue?vue&type=style&index=0&id=7bce419a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7bce419a\"]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./Host.vue?vue&type=template&id=4b0dc9f8\"\nimport script from \"./Host.vue?vue&type=script&lang=js\"\nexport * from \"./Host.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Group.vue?vue&type=template&id=353ffa58&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=353ffa58&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-353ffa58\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Client.vue?vue&type=template&id=0e55ac54&scoped=true\"\nimport script from \"./Client.vue?vue&type=script&lang=js\"\nexport * from \"./Client.vue?vue&type=script&lang=js\"\n\nimport \"./Client.vue?vue&type=style&index=0&id=0e55ac54&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0e55ac54\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=40841f5a&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=40841f5a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-40841f5a\"]])\n\nexport default __exports__"],"names":["fails","module","exports","ArrayBuffer","buffer","Object","isExtensible","defineProperty","value","create","redefineAll","bind","anInstance","iterate","defineIterator","setSpecies","DESCRIPTORS","fastKey","InternalStateModule","setInternalState","set","internalStateGetterFor","getterFor","getConstructor","wrapper","CONSTRUCTOR_NAME","IS_MAP","ADDER","Constructor","that","iterable","Prototype","type","index","first","undefined","last","size","AS_ENTRIES","prototype","getInternalState","define","key","previous","state","entry","getEntry","next","removed","clear","this","data","prev","forEach","callbackfn","boundFunction","arguments","length","has","get","add","setStrong","ITERATOR_NAME","getInternalCollectionState","getInternalIteratorState","iterated","kind","target","done","$","global","uncurryThis","isForced","redefine","InternalMetadataModule","isCallable","isObject","checkCorrectnessOfIteration","setToStringTag","inheritIfRequired","common","indexOf","IS_WEAK","NativeConstructor","NativePrototype","exported","fixMethod","KEY","uncurriedNativeMethod","REPLACE","entries","enable","instance","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","BUGGY_ZERO","$instance","dummy","constructor","forced","preventExtensions","hiddenKeys","hasOwn","getOwnPropertyNamesModule","getOwnPropertyNamesExternalModule","uid","FREEZING","REQUIRED","METADATA","id","setMetadata","it","objectID","weakData","getWeakData","onFreeze","meta","getOwnPropertyNames","f","splice","test","result","i","stat","classof","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","FAILS_ON_PRIMITIVES","PROPER_FUNCTION_NAME","whitespaces","non","METHOD_NAME","name","collection","collectionStrong","init","$trim","forcedStringTrimMethod","proto","trim","class","ref","min","range","max","step","disabled","onUpdate","withLabel","emits","props","Number","Boolean","default","Array","methods","event","update","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","loading","title","selectedHost","info","hosts","selectedGroup","group","groups","streams","clients","clientsByHost","addClientToGroup","removeClientFromGroup","streamChange","renameGroup","$event","selectedClient","client","removeClient","renameClient","host","server","groupMute","clientMute","clientSetVolume","onModalShow","collapsed","muted","stream","stream_id","status","config","connected","groupId","lastSeen","snapclient","volume","components","Slider","ToggleSwitch","required","String","Client","Group","ip","mac","port","os","arch","snapserver","version","protocolVersion","controlProtocolVersion","keys","for","selected","uri","path","raw","prompt","latency","window","confirm","mixins","Utils","Loading","Modal","Host","ModalHost","ModalGroup","ModalClient","ports","computed","reduce","values","clientId","parseServerStatus","map","refresh","request","Promise","all","statuses","refreshHost","Set","delete","modalClient","close","streamId","onClientUpdate","onGroupStreamChange","onServerUpdate","onStreamUpdate","onClientVolumeChange","onGroupMuteChange","modalShow","modal","visible","mute","modalHost","show","modalGroup","subscribe"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2790.8e6ef45d.js b/platypush/backend/http/webapp/dist/static/js/2790.8e6ef45d.js deleted file mode 100644 index fc97cf7c4..000000000 --- a/platypush/backend/http/webapp/dist/static/js/2790.8e6ef45d.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2790],{1120:function(e,t,s){s.d(t,{Z:function(){return g}});var o=s(6252),l=s(9963),n=s(3577);const i={class:"slider-wrapper"},a=["min","max","step","disabled","value"],c={class:"track"},r={class:"track-inner",ref:"track"},u={class:"thumb",ref:"thumb"},d=["textContent"];function h(e,t,s,h,p,m){return(0,o.wg)(),(0,o.iD)("label",i,[(0,o._)("input",{class:"slider",type:"range",ref:"range",min:s.range[0],max:s.range[1],step:s.step,disabled:s.disabled,value:s.value,onInput:t[0]||(t[0]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onChange:t[1]||(t[1]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onMouseup:t[2]||(t[2]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onMousedown:t[3]||(t[3]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onTouchstart:t[4]||(t[4]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onTouchend:t[5]||(t[5]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onKeyup:t[6]||(t[6]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onKeydown:t[7]||(t[7]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"]))},null,40,a),(0,o._)("div",c,[(0,o._)("div",r,null,512)]),(0,o._)("div",u,null,512),s.withLabel?((0,o.wg)(),(0,o.iD)("span",{key:0,class:"label",textContent:(0,n.zw)(s.value)},null,8,d)):(0,o.kq)("",!0)])}var p={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const t=100*e/(this.range[1]-this.range[0]);this.$refs.thumb.style.left=`${t}%`,this.$refs.thumb.style.transform=`translate(-${t}%, -50%)`,this.$refs.track.style.width=`${t}%`}},mounted(){null!=this.value&&this.update(this.value)}},m=s(3744);const v=(0,m.Z)(p,[["render",h],["__scopeId","data-v-288acf82"]]);var g=v},3567:function(e,t,s){s.d(t,{Z:function(){return p}});var o=s(6252),l=s(3577);const n=e=>((0,o.dD)("data-v-8fae7678"),e=e(),(0,o.Cn)(),e),i=["checked"],a=n((()=>(0,o._)("div",{class:"switch"},[(0,o._)("div",{class:"dot"})],-1))),c={class:"label"};function r(e,t,s,n,r,u){return(0,o.wg)(),(0,o.iD)("div",{class:(0,l.C_)(["power-switch",{disabled:s.disabled}]),onClick:t[0]||(t[0]=(...e)=>u.onInput&&u.onInput(...e))},[(0,o._)("input",{type:"checkbox",checked:s.value},null,8,i),(0,o._)("label",null,[a,(0,o._)("span",c,[(0,o.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},d=s(3744);const h=(0,d.Z)(u,[["render",r],["__scopeId","data-v-8fae7678"]]);var p=h},2790:function(e,t,s){s.r(t),s.d(t,{default:function(){return as}});var o=s(6252);const l={class:"music-snapcast-container"},n={class:"info"},i={class:"info"},a={class:"info"};function c(e,t,s,c,r,u){const d=(0,o.up)("Loading"),h=(0,o.up)("ModalHost"),p=(0,o.up)("Modal"),m=(0,o.up)("ModalGroup"),v=(0,o.up)("ModalClient"),g=(0,o.up)("Host");return(0,o.wg)(),(0,o.iD)("div",l,[e.loading?((0,o.wg)(),(0,o.j4)(d,{key:0})):(0,o.kq)("",!0),(0,o._)("div",n,[(0,o.Wm)(p,{title:"Server info",ref:"modalHost"},{default:(0,o.w5)((()=>[e.selectedHost?((0,o.wg)(),(0,o.j4)(h,{key:0,info:e.hosts[e.selectedHost]},null,8,["info"])):(0,o.kq)("",!0)])),_:1},512)]),(0,o._)("div",i,[(0,o.Wm)(p,{title:"Group info",ref:"modalGroup"},{default:(0,o.w5)((()=>[e.selectedGroup?((0,o.wg)(),(0,o.j4)(m,{key:0,group:e.hosts[e.selectedHost].groups[e.selectedGroup],streams:e.hosts[e.selectedHost].streams,clients:u.clientsByHost[e.selectedHost],loading:e.loading,onAddClient:u.addClientToGroup,onRemoveClient:u.removeClientFromGroup,onStreamChange:u.streamChange,onRenameGroup:t[0]||(t[0]=e=>u.renameGroup(e))},null,8,["group","streams","clients","loading","onAddClient","onRemoveClient","onStreamChange"])):(0,o.kq)("",!0)])),_:1},512)]),(0,o._)("div",a,[(0,o.Wm)(p,{title:"Client info",ref:"modalClient"},{default:(0,o.w5)((()=>[e.selectedClient?((0,o.wg)(),(0,o.j4)(v,{key:0,client:e.hosts[e.selectedHost].groups[e.selectedGroup].clients[e.selectedClient],loading:e.loading,onRemoveClient:u.removeClient,onRenameClient:t[1]||(t[1]=e=>u.renameClient(e))},null,8,["client","loading","onRemoveClient"])):(0,o.kq)("",!0)])),_:1},512)]),((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.hosts,((e,s)=>((0,o.wg)(),(0,o.j4)(g,{key:s,server:e.server,streams:e.streams,groups:e.groups,onGroupMuteToggle:t[2]||(t[2]=e=>u.groupMute(e)),onClientMuteToggle:t[3]||(t[3]=e=>u.clientMute(e)),onClientVolumeChange:t[4]||(t[4]=e=>u.clientSetVolume(e)),onModalShow:t[5]||(t[5]=e=>u.onModalShow(e))},null,8,["server","streams","groups"])))),128))])}var r=s(9642),u=s(2628),d=s(3577);const h=e=>((0,o.dD)("data-v-7bce419a"),e=e(),(0,o.Cn)(),e),p={class:"host"},m={class:"header"},v=h((()=>(0,o._)("i",{class:"icon fa fa-server"},null,-1))),g={class:"col-2 buttons pull-right"},w={key:0,class:"group-container"};function f(e,t,s,l,n,i){const a=(0,o.up)("Group");return(0,o.wg)(),(0,o.iD)("div",p,[(0,o._)("div",m,[(0,o._)("div",{class:"col-10 name",onClick:t[0]||(t[0]=t=>e.$emit("modal-show",{type:"host",host:s.server.host.name}))},[v,(0,o.Uk)(" "+(0,d.zw)(s.server.host.name),1)]),(0,o._)("div",g,[(0,o._)("button",{type:"button",onClick:t[1]||(t[1]=e=>n.collapsed=!n.collapsed)},[(0,o._)("i",{class:(0,d.C_)(["icon fa",{"fa-chevron-up":!n.collapsed,"fa-chevron-down":n.collapsed}])},null,2)])])]),n.collapsed?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("div",w,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.groups,((l,n)=>((0,o.wg)(),(0,o.j4)(a,{key:n,id:l.id,name:l.name,server:s.server.host,muted:l.muted,clients:l.clients,stream:s.streams[l.stream_id],onModalShow:t[2]||(t[2]=t=>e.$emit("modal-show",t)),onGroupMuteToggle:t[3]||(t[3]=t=>e.$emit("group-mute-toggle",t)),onClientMuteToggle:t[4]||(t[4]=t=>e.$emit("client-mute-toggle",t)),onClientVolumeChange:t[5]||(t[5]=t=>e.$emit("client-volume-change",t))},null,8,["id","name","server","muted","clients","stream"])))),128))]))])}const _={class:"group"},C={class:"head"},y={class:"col-2 switch pull-right"},b={class:"body"};function k(e,t,s,l,n,i){const a=(0,o.up)("ToggleSwitch"),c=(0,o.up)("Client");return(0,o.wg)(),(0,o.iD)("div",_,[(0,o._)("div",C,[(0,o._)("div",{class:"col-10 name",onClick:t[0]||(t[0]=t=>e.$emit("modal-show",{type:"group",group:s.id,host:s.server.name}))},[(0,o._)("i",{class:(0,d.C_)(["icon fa",{"fa-play":"playing"===s.stream.status,"fa-stop":"playing"!==s.stream.status}])},null,2),(0,o.Uk)(" "+(0,d.zw)(s.name||s.stream.id||s.id),1)]),(0,o._)("div",y,[(0,o.Wm)(a,{value:!s.muted,onInput:t[1]||(t[1]=t=>e.$emit("group-mute-toggle",{host:s.server.name,group:s.id,muted:!s.muted}))},null,8,["value"])])]),(0,o._)("div",b,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.clients,(l=>((0,o.wg)(),(0,o.j4)(c,{key:l.id,config:l.config,connected:l.connected,server:s.server,host:l.host,groupId:s.id,id:l.id,lastSeen:l.lastSeen,snapclient:l.snapclient,onModalShow:t[2]||(t[2]=t=>e.$emit("modal-show",t)),onVolumeChange:t[3]||(t[3]=t=>e.$emit("client-volume-change",t)),onMuteToggle:t[4]||(t[4]=t=>e.$emit("client-mute-toggle",t))},null,8,["config","connected","server","host","groupId","id","lastSeen","snapclient"])))),128))])])}var x=s(3567);const H=["textContent"],S={class:"col-s-12 col-m-9 controls"},D={class:"col-10 slider-container"},q={class:"col-2 switch pull-right"};function M(e,t,s,l,n,i){const a=(0,o.up)("Slider"),c=(0,o.up)("ToggleSwitch");return(0,o.wg)(),(0,o.iD)("div",{class:(0,d.C_)(["row client",{offline:!s.connected}])},[(0,o._)("div",{class:"col-s-12 col-m-3 name",textContent:(0,d.zw)(s.config.name?.length?s.config.name:s.host.name),onClick:t[0]||(t[0]=t=>e.$emit("modal-show",{type:"client",client:s.id,group:s.groupId,host:s.server.name}))},null,8,H),(0,o._)("div",S,[(0,o._)("div",D,[(0,o.Wm)(a,{range:[0,100],value:s.config.volume.percent,onMouseup:t[1]||(t[1]=t=>e.$emit("volume-change",{host:s.server.name,client:s.id,volume:t.target.value}))},null,8,["value"])]),(0,o._)("div",q,[(0,o.Wm)(c,{value:!s.config.volume.muted,onInput:t[2]||(t[2]=t=>e.$emit("mute-toggle",{host:s.server.name,client:s.id,muted:!s.config.volume.muted}))},null,8,["value"])])])],2)}var G=s(1120),j={name:"Client",components:{Slider:G.Z,ToggleSwitch:x.Z},emits:["volume-change","mute-toggle","modal-show"],props:{config:{type:Object,required:!0},connected:{type:Boolean,default:!1},host:{type:Object,required:!0},id:{type:String,required:!0},groupId:{type:String,required:!0},lastSeen:{type:Object,default:()=>{}},snapclient:{type:Object,required:!0},server:{type:Object,required:!0}}},z=s(3744);const $=(0,z.Z)(j,[["render",M],["__scopeId","data-v-12b0e65b"]]);var O=$,U={name:"Group",components:{Client:O,ToggleSwitch:x.Z},emits:["group-mute-toggle","modal-show","client-volume-change","client-mute-toggle"],props:{id:{type:String},clients:{type:Object,default:()=>{}},muted:{type:Boolean},name:{type:String},stream:{type:Object},server:{type:Object}}};const I=(0,z.Z)(U,[["render",k],["__scopeId","data-v-748fccb4"]]);var Z=I,T={name:"Host",emits:["modal-show","group-mute-toggle","client-mute-toggle","client-volume-change"],components:{Group:Z},props:{groups:{type:Object,default:()=>{}},server:{type:Object,default:()=>{}},streams:{type:Object,default:()=>{}}},data(){return{collapsed:!1}}};const V=(0,z.Z)(T,[["render",f],["__scopeId","data-v-7bce419a"]]);var E=V;const A={class:"info"},B={key:0,class:"row"},P=(0,o._)("div",{class:"label col-3"},"IP Address",-1),R=["textContent"],N={key:1,class:"row"},K=(0,o._)("div",{class:"label col-3"},"MAC Address",-1),W=["textContent"],L={key:2,class:"row"},Y=(0,o._)("div",{class:"label col-3"},"Name",-1),F=["textContent"],J={key:3,class:"row"},Q=(0,o._)("div",{class:"label col-3"},"Port",-1),X=["textContent"],ee={key:4,class:"row"},te=(0,o._)("div",{class:"label col-3"},"OS",-1),se=["textContent"],oe={key:5,class:"row"},le=(0,o._)("div",{class:"label col-3"},"Architecture",-1),ne=["textContent"],ie={key:6,class:"row"},ae=(0,o._)("div",{class:"label col-3"},"Server name",-1),ce=["textContent"],re={key:7,class:"row"},ue=(0,o._)("div",{class:"label col-3"},"Server version",-1),de=["textContent"],he={key:8,class:"row"},pe=(0,o._)("div",{class:"label col-3"},"Protocol version",-1),me=["textContent"],ve={key:9,class:"row"},ge=(0,o._)("div",{class:"label col-3"},"Control protocol version",-1),we=["textContent"];function fe(e,t,s,l,n,i){return(0,o.wg)(),(0,o.iD)("div",A,[s.info?.server?.host?.ip?.length?((0,o.wg)(),(0,o.iD)("div",B,[P,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.ip)},null,8,R)])):(0,o.kq)("",!0),s.info?.server?.host?.mac?.length?((0,o.wg)(),(0,o.iD)("div",N,[K,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.mac)},null,8,W)])):(0,o.kq)("",!0),s.info?.server?.host?.name?.length?((0,o.wg)(),(0,o.iD)("div",L,[Y,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.name)},null,8,F)])):(0,o.kq)("",!0),s.info?.server?.host?.port?((0,o.wg)(),(0,o.iD)("div",J,[Q,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.port)},null,8,X)])):(0,o.kq)("",!0),s.info?.server?.host?.os?.length?((0,o.wg)(),(0,o.iD)("div",ee,[te,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.os)},null,8,se)])):(0,o.kq)("",!0),s.info?.server?.host?.arch?.length?((0,o.wg)(),(0,o.iD)("div",oe,[le,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.arch)},null,8,ne)])):(0,o.kq)("",!0),s.info?.server?.snapserver?.name?.length?((0,o.wg)(),(0,o.iD)("div",ie,[ae,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.snapserver.name)},null,8,ce)])):(0,o.kq)("",!0),s.info?.server?.snapserver?.version?.length?((0,o.wg)(),(0,o.iD)("div",re,[ue,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.snapserver.version)},null,8,de)])):(0,o.kq)("",!0),s.info?.server?.snapserver?.protocolVersion?((0,o.wg)(),(0,o.iD)("div",he,[pe,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.snapserver.protocolVersion)},null,8,me)])):(0,o.kq)("",!0),s.info?.server?.snapserver?.controlProtocolVersion?((0,o.wg)(),(0,o.iD)("div",ve,[ge,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.snapserver.controlProtocolVersion)},null,8,we)])):(0,o.kq)("",!0)])}var _e={name:"HostModal",props:{info:{type:Object,default:()=>{}}}};const Ce=(0,z.Z)(_e,[["render",fe]]);var ye=Ce;const be=e=>((0,o.dD)("data-v-353ffa58"),e=e(),(0,o.Cn)(),e),ke={class:"info"},xe={class:"section name"},He=be((()=>(0,o._)("div",{class:"title"},"Name",-1))),Se={class:"row"},De={class:"name-value"},qe=["textContent"],Me=be((()=>(0,o._)("i",{class:"fa fa-edit"},null,-1))),Ge=[Me],je={key:0,class:"section clients"},ze=be((()=>(0,o._)("div",{class:"title"},"Clients",-1))),$e=["for"],Oe=["id","value","checked","disabled","onInput"],Ue={key:1,class:"section streams"},Ie=be((()=>(0,o._)("div",{class:"title"},"Stream",-1))),Ze={class:"row"},Te=be((()=>(0,o._)("div",{class:"label col-3"},"ID",-1))),Ve={class:"value col-9"},Ee=["textContent","name","value","disabled","selected"],Ae={key:0,class:"row"},Be=be((()=>(0,o._)("div",{class:"label col-m-3"},"Status",-1))),Pe=["textContent"],Re={key:1,class:"row"},Ne=be((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Host",-1))),Ke=["textContent"],We={key:2,class:"row"},Le=be((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Path",-1))),Ye=["textContent"],Fe={key:3,class:"row"},Je=be((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"URI",-1))),Qe=["textContent"];function Xe(e,t,s,l,n,i){return(0,o.wg)(),(0,o.iD)("div",ke,[(0,o._)("div",xe,[He,(0,o._)("div",Se,[(0,o._)("div",De,[(0,o._)("span",{class:"name",textContent:(0,d.zw)(s.group.name?.length?s.group.name:"default")},null,8,qe),(0,o._)("button",{class:"pull-right",title:"Rename",onClick:t[0]||(t[0]=(...e)=>i.renameGroup&&i.renameGroup(...e))},Ge)])])]),Object.keys(s.group?.clients||{}).length>0?((0,o.wg)(),(0,o.iD)("div",je,[ze,((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.clients||{},((t,l)=>((0,o.wg)(),(0,o.iD)("div",{class:"row",ref_for:!0,ref:"groupClients",key:l},[(0,o._)("label",{class:"client",for:"snapcast-client-"+t.id},[(0,o._)("input",{type:"checkbox",class:"client",id:`snapcast-client-${t.id}`,value:t.id,checked:t.id in s.group.clients,disabled:s.loading,onInput:s=>e.$emit(s.target.checked?"add-client":"remove-client",t.id)},null,40,Oe),(0,o.Uk)(" "+(0,d.zw)(t.host.name),1)],8,$e)])))),128))])):(0,o.kq)("",!0),s.group?.stream_id?((0,o.wg)(),(0,o.iD)("div",Ue,[Ie,(0,o._)("div",Ze,[Te,(0,o._)("div",Ve,[(0,o._)("label",null,[(0,o._)("select",{ref:"streamSelect",onChange:t[1]||(t[1]=t=>e.$emit("stream-change",t.target.value))},[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.streams,((e,t)=>((0,o.wg)(),(0,o.iD)("option",{key:t,textContent:(0,d.zw)(s.streams[s.group.stream_id].id),name:e.id,value:e.id,disabled:s.loading,selected:e.id===s.group.stream_id},null,8,Ee)))),128))],544)])])]),s.streams?.[s.group.stream_id]?.status?((0,o.wg)(),(0,o.iD)("div",Ae,[Be,(0,o._)("div",{class:"value col-m-9",textContent:(0,d.zw)(s.streams[s.group.stream_id].status)},null,8,Pe)])):(0,o.kq)("",!0),s.streams?.[s.group?.stream_id]?.uri?.host?((0,o.wg)(),(0,o.iD)("div",Re,[Ne,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.streams[s.group.stream_id].uri.host)},null,8,Ke)])):(0,o.kq)("",!0),s.streams?.[s.group?.stream_id]?.uri?.path?((0,o.wg)(),(0,o.iD)("div",We,[Le,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.streams[s.group.stream_id].uri.path)},null,8,Ye)])):(0,o.kq)("",!0),s.streams?.[s.group?.stream_id]?.uri?.raw?((0,o.wg)(),(0,o.iD)("div",Fe,[Je,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.streams[s.group.stream_id].uri.raw)},null,8,Qe)])):(0,o.kq)("",!0)])):(0,o.kq)("",!0)])}var et={name:"GroupModal",emits:["add-client","remove-client","stream-change","rename-group"],props:{loading:{type:Boolean,default:!1},group:{type:Object},clients:{type:Object},streams:{type:Object}},methods:{renameGroup(){const e=(prompt("New group name",this.group.name)||"").trim();e?.length&&this.$emit("rename-group",e)}}};const tt=(0,z.Z)(et,[["render",Xe],["__scopeId","data-v-353ffa58"]]);var st=tt;const ot=e=>((0,o.dD)("data-v-0e55ac54"),e=e(),(0,o.Cn)(),e),lt={class:"client-modal"},nt={key:0,class:"info"},it={class:"row"},at=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"ID",-1))),ct=["textContent"],rt={key:0,class:"row"},ut=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Name",-1))),dt={class:"value col-s-12 col-m-9"},ht=["textContent"],pt=ot((()=>(0,o._)("i",{class:"fa fa-edit"},null,-1))),mt=[pt],vt={class:"row"},gt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Connected",-1))),wt=["textContent"],ft={class:"row"},_t=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Volume",-1))),Ct={class:"value col-s-12 col-m-9"},yt={class:"row"},bt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Muted",-1))),kt=["textContent"],xt={class:"row"},Ht=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Latency",-1))),St=["textContent"],Dt={key:1,class:"row"},qt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"IP Address",-1))),Mt=["textContent"],Gt={key:2,class:"row"},jt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"MAC Address",-1))),zt=["textContent"],$t={key:3,class:"row"},Ot=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"OS",-1))),Ut=["textContent"],It={key:4,class:"row"},Zt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Architecture",-1))),Tt=["textContent"],Vt={class:"row"},Et=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Client name",-1))),At=["textContent"],Bt={class:"row"},Pt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Client version",-1))),Rt=["textContent"],Nt={class:"row"},Kt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Protocol version",-1))),Wt=["textContent"],Lt={class:"buttons"},Yt={class:"row"},Ft=["disabled"],Jt=ot((()=>(0,o._)("i",{class:"fas fa-trash"},null,-1))),Qt=ot((()=>(0,o._)("span",{class:"name"},"Remove client",-1))),Xt=[Jt,Qt];function es(e,t,s,l,n,i){return(0,o.wg)(),(0,o.iD)("div",lt,[s.client?((0,o.wg)(),(0,o.iD)("div",nt,[(0,o._)("div",it,[at,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.id)},null,8,ct)]),s.client.config?.name?.length||s.client.host?.name?((0,o.wg)(),(0,o.iD)("div",rt,[ut,(0,o._)("div",dt,[(0,o._)("span",{class:"name",textContent:(0,d.zw)(s.client.config?.name||s.client.host?.name)},null,8,ht),(0,o._)("button",{title:"Rename",onClick:t[0]||(t[0]=(...e)=>i.renameClient&&i.renameClient(...e))},mt)])])):(0,o.kq)("",!0),(0,o._)("div",vt,[gt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.connected)},null,8,wt)]),(0,o._)("div",ft,[_t,(0,o._)("div",Ct,(0,d.zw)(s.client.config.volume.percent)+"%",1)]),(0,o._)("div",yt,[bt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.config.volume.muted)},null,8,kt)]),(0,o._)("div",xt,[Ht,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.config.latency)},null,8,St)]),s.client.host.ip&&s.client.host.ip.length?((0,o.wg)(),(0,o.iD)("div",Dt,[qt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.host.ip)},null,8,Mt)])):(0,o.kq)("",!0),s.client.host.mac&&s.client.host.mac.length?((0,o.wg)(),(0,o.iD)("div",Gt,[jt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.host.mac)},null,8,zt)])):(0,o.kq)("",!0),s.client.host.os&&s.client.host.os.length?((0,o.wg)(),(0,o.iD)("div",$t,[Ot,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.host.os)},null,8,Ut)])):(0,o.kq)("",!0),s.client.host.arch&&s.client.host.arch.length?((0,o.wg)(),(0,o.iD)("div",It,[Zt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.host.arch)},null,8,Tt)])):(0,o.kq)("",!0),(0,o._)("div",Vt,[Et,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.snapclient.name)},null,8,At)]),(0,o._)("div",Bt,[Pt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.snapclient.version)},null,8,Rt)]),(0,o._)("div",Nt,[Kt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.snapclient.protocolVersion)},null,8,Wt)])])):(0,o.kq)("",!0),(0,o._)("div",Lt,[(0,o._)("div",Yt,[(0,o._)("button",{type:"button",disabled:s.loading,onClick:t[1]||(t[1]=(...e)=>i.removeClient&&i.removeClient(...e))},Xt,8,Ft)])])])}var ts={name:"ClientModal",emits:["remove-client","rename-client"],props:{loading:{type:Boolean,default:!1},client:{type:Object}},methods:{removeClient(){window.confirm("Are you sure that you want to remove this client?")&&this.$emit("remove-client")},renameClient(){const e=(window.prompt("New client name",this.client.config.name?.length?this.client.config.name:this.client.host.name)||"").trim();e.length&&this.$emit("rename-client",e)}}};const ss=(0,z.Z)(ts,[["render",es],["__scopeId","data-v-0e55ac54"]]);var os=ss,ls=s(1232),ns={name:"MusicSnapcast",mixins:[u.Z],components:{Loading:ls.Z,Modal:r.Z,Host:E,ModalHost:ye,ModalGroup:st,ModalClient:os},data:function(){return{loading:!1,hosts:{},ports:{},selectedHost:null,selectedGroup:null,selectedClient:null}},computed:{clientsByHost(){return Object.entries(this.hosts).reduce(((e,[t,s])=>(e[t]={},Object.values(s.groups).forEach((s=>{Object.entries(s.clients).forEach((([s,o])=>{e[t][s]=o}))})),e)),{})}},methods:{parseServerStatus(e){e.server.host.port=this.ports[e.server.host.name],this.hosts[e.server.host.name]={...e,groups:e.groups.map((e=>({...e,clients:e.clients.reduce(((e,t)=>(e[t.id]=t,e)),{})}))).reduce(((e,t)=>(e[t.id]=t,e)),{}),streams:e.streams.reduce(((e,t)=>(e[t.id]=t,e)),{})}},async refresh(){this.loading=!0;try{const e=await this.request("music.snapcast.get_backend_hosts"),t=await Promise.all(Object.keys(e).map((async t=>this.request("music.snapcast.status",{host:t,port:e[t]}))));this.hosts={},t.forEach((t=>{this.ports[t.server.host.name]=e[t.server.host.name],this.parseServerStatus(t)}))}finally{this.loading=!1}},async refreshHost(e){e in this.hosts&&this.parseServerStatus(await this.request("music.snapcast.status",{host:e,port:this.ports[e]}))},async addClientToGroup(e){this.loading=!0;try{if(!this.selectedHost||!this.selectedGroup||!(e in this.clientsByHost[this.selectedHost]))return;const t=[...new Set([e,...Object.keys(this.hosts[this.selectedHost].groups[this.selectedGroup].clients)])];await this.request("music.snapcast.group_set_clients",{host:this.selectedHost,port:this.ports[this.selectedHost],group:this.selectedGroup,clients:t}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async removeClientFromGroup(e){this.loading=!0;try{if(!this.selectedHost||!this.selectedGroup||!(e in this.clientsByHost[this.selectedHost]))return;const t=new Set([...Object.keys(this.hosts[this.selectedHost].groups[this.selectedGroup].clients)]);if(!t.has(e))return;t.delete(e),await this.request("music.snapcast.group_set_clients",{host:this.selectedHost,port:this.ports[this.selectedHost],group:this.selectedGroup,clients:[...t]}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async renameGroup(e){this.loading=!0;try{if(!this.selectedHost||!this.selectedGroup)return;await this.request("music.snapcast.set_group_name",{host:this.selectedHost,port:this.ports[this.selectedHost],group:this.selectedGroup,name:e}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async renameClient(e){this.loading=!0;try{if(!this.selectedHost||!this.selectedClient)return;await this.request("music.snapcast.set_client_name",{host:this.selectedHost,port:this.ports[this.selectedHost],client:this.selectedClient,name:e}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async removeClient(){this.loading=!0;try{if(!this.selectedHost||!this.selectedClient)return;await this.request("music.snapcast.delete_client",{host:this.selectedHost,port:this.ports[this.selectedHost],client:this.selectedClient}),this.$refs.modalClient.close(),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async streamChange(e){this.loading=!0;try{await this.request("music.snapcast.group_set_stream",{host:this.selectedHost,port:this.ports[this.selectedHost],group:this.selectedGroup,stream_id:e}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},onClientUpdate(e){Object.keys(this.hosts[e.host].groups).forEach((t=>{e.client.id in this.hosts[e.host].groups[t].clients&&(this.hosts[e.host].groups[t].clients[e.client.id]=e.client)}))},onGroupStreamChange(e){this.hosts[e.host].groups[e.group].stream_id=e.stream},onServerUpdate(e){this.parseServerStatus(e.server)},onStreamUpdate(e){this.hosts[e.host].streams[e.stream.id]=e.stream},onClientVolumeChange(e){Object.keys(this.hosts[e.host].groups).forEach((t=>{e.client in this.hosts[e.host].groups[t].clients&&(null!=e.volume&&(this.hosts[e.host].groups[t].clients[e.client].config.volume.percent=e.volume),null!=e.muted&&(this.hosts[e.host].groups[t].clients[e.client].config.volume.muted=e.muted))}))},onGroupMuteChange(e){this.hosts[e.host].groups[e.group].muted=e.muted},modalShow(e){switch(e.type){case"host":this.modal[e.type].info=this.hosts[e.host];break;case"group":this.modal[e.type].info.server=this.hosts[e.host].server,this.modal[e.type].info.group=this.hosts[e.host].groups[e.group],this.modal[e.type].info.streams=this.hosts[e.host].streams,this.modal[e.type].info.clients={};for(const t of Object.values(this.hosts[e.host].groups))for(const s of Object.values(t.clients))this.modal[e.type].info.clients[s.id]=s;break;case"client":this.modal[e.type].info=this.hosts[e.host].groups[e.group].clients[e.client],this.modal[e.type].info.server=this.hosts[e.host].server;break}this.modal[e.type].visible=!0},async groupMute(e){await this.request("music.snapcast.mute",{group:e.group,host:e.host,port:this.ports[e.host],mute:e.muted}),await this.refreshHost(e.host)},async clientMute(e){await this.request("music.snapcast.mute",{client:e.client,host:e.host,port:this.ports[e.host],mute:e.muted}),await this.refreshHost(e.host)},async clientSetVolume(e){await this.request("music.snapcast.volume",{client:e.client,host:e.host,port:this.ports[e.host],volume:e.volume}),await this.refreshHost(e.host)},onModalShow(e){switch(e.type){case"host":this.selectedHost=e.host,this.$refs.modalHost.show();break;case"group":this.selectedHost=e.host,this.selectedGroup=e.group,this.$refs.modalGroup.show();break;case"client":this.selectedHost=e.host,this.selectedGroup=e.group,this.selectedClient=e.client,this.$refs.modalClient.show();break}}},mounted(){this.refresh(),this.subscribe(this.onClientUpdate,null,"platypush.message.event.music.snapcast.ClientConnectedEvent","platypush.message.event.music.snapcast.ClientDisconnectedEvent","platypush.message.event.music.snapcast.ClientNameChangeEvent"),this.subscribe(this.onGroupStreamChange,null,"platypush.message.event.music.snapcast.GroupStreamChangeEvent"),this.subscribe(this.onServerUpdate,null,"platypush.message.event.music.snapcast.ServerUpdateEvent"),this.subscribe(this.onStreamUpdate,null,"platypush.message.event.music.snapcast.StreamUpdateEvent"),this.subscribe(this.onClientVolumeChange,null,"platypush.message.event.music.snapcast.ClientVolumeChangeEvent"),this.subscribe(this.onGroupMuteChange,null,"platypush.message.event.music.snapcast.GroupMuteChangeEvent")}};const is=(0,z.Z)(ns,[["render",c],["__scopeId","data-v-40841f5a"]]);var as=is}}]); -//# sourceMappingURL=2790.8e6ef45d.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2790.8e6ef45d.js.map b/platypush/backend/http/webapp/dist/static/js/2790.8e6ef45d.js.map deleted file mode 100644 index 77bef0998..000000000 --- a/platypush/backend/http/webapp/dist/static/js/2790.8e6ef45d.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/2790.8e6ef45d.js","mappings":"6LACSA,MAAM,kB,6CAYPA,MAAM,S,GACJA,MAAM,cAAcC,IAAI,S,GAE1BD,MAAM,QAAQC,IAAI,S,4DAfxB,QAiBQ,QAjBR,EAiBQ,EAhBN,OASgC,SATzBD,MAAM,SAASE,KAAK,QAAQD,IAAI,QAASE,IAAK,EAAAC,MAAK,GAAMC,IAAK,EAAAD,MAAK,GAClEE,KAAM,EAAAA,K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1BtC,KAAKuB,cAAgBxB,EAAMyB,MAC3BxB,KAAKkC,eAAiBnC,EAAMoC,OAC5BnC,KAAKI,MAAM6G,YAAYc,OACvB,SAKRnH,UACEZ,KAAKiI,UAELjI,KAAKkI,UAAUlI,KAAKoH,eAAgB,KAChC,8DACA,iEACA,gEAEJpH,KAAKkI,UAAUlI,KAAKqH,oBAAqB,KAAM,iEAC/CrH,KAAKkI,UAAUlI,KAAKsH,eAAgB,KAAM,4DAC1CtH,KAAKkI,UAAUlI,KAAKuH,eAAgB,KAAM,4DAC1CvH,KAAKkI,UAAUlI,KAAKwH,qBAAsB,KAAM,kEAChDxH,KAAKkI,UAAUlI,KAAKyH,kBAAmB,KAAM,iEa/XjD,MAAM,IAA2B,OAAgB,GAAQ,CAAC,CAAC,SAAS3G,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/MusicSnapcast/Index.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Host.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Group.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Client.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Client.vue?98bc","webpack://platypush/./src/components/panels/MusicSnapcast/Group.vue?12df","webpack://platypush/./src/components/panels/MusicSnapcast/Host.vue?8888","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Host.vue","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Host.vue?b4e2","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Group.vue","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Group.vue?b9ce","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Client.vue","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Client.vue?144d","webpack://platypush/./src/components/panels/MusicSnapcast/Index.vue?a513"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Client.vue?vue&type=template&id=12b0e65b&scoped=true\"\nimport script from \"./Client.vue?vue&type=script&lang=js\"\nexport * from \"./Client.vue?vue&type=script&lang=js\"\n\nimport \"./Client.vue?vue&type=style&index=0&id=12b0e65b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-12b0e65b\"]])\n\nexport default __exports__","import { render } from \"./Group.vue?vue&type=template&id=748fccb4&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=748fccb4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-748fccb4\"]])\n\nexport default __exports__","import { render } from \"./Host.vue?vue&type=template&id=7bce419a&scoped=true\"\nimport script from \"./Host.vue?vue&type=script&lang=js\"\nexport * from \"./Host.vue?vue&type=script&lang=js\"\n\nimport \"./Host.vue?vue&type=style&index=0&id=7bce419a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7bce419a\"]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./Host.vue?vue&type=template&id=4b0dc9f8\"\nimport script from \"./Host.vue?vue&type=script&lang=js\"\nexport * from \"./Host.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Group.vue?vue&type=template&id=353ffa58&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=353ffa58&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-353ffa58\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Client.vue?vue&type=template&id=0e55ac54&scoped=true\"\nimport script from \"./Client.vue?vue&type=script&lang=js\"\nexport * from \"./Client.vue?vue&type=script&lang=js\"\n\nimport \"./Client.vue?vue&type=style&index=0&id=0e55ac54&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0e55ac54\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=40841f5a&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=40841f5a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-40841f5a\"]])\n\nexport default __exports__"],"names":["class","ref","type","min","range","max","step","disabled","value","onUpdate","withLabel","name","emits","props","Number","Boolean","default","Array","methods","event","this","update","target","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","stopPropagation","loading","title","selectedHost","info","hosts","selectedGroup","group","groups","streams","clients","clientsByHost","addClientToGroup","removeClientFromGroup","streamChange","renameGroup","$event","selectedClient","client","removeClient","renameClient","host","id","key","server","groupMute","clientMute","clientSetVolume","onModalShow","collapsed","muted","stream","stream_id","status","config","connected","groupId","lastSeen","snapclient","length","volume","components","Slider","ToggleSwitch","Object","required","String","Client","Group","data","ip","mac","port","os","arch","snapserver","version","protocolVersion","controlProtocolVersion","keys","for","selected","uri","path","raw","prompt","trim","latency","window","confirm","mixins","Utils","Loading","Modal","Host","ModalHost","ModalGroup","ModalClient","ports","computed","entries","reduce","values","forEach","clientId","parseServerStatus","map","async","request","statuses","Promise","all","Set","refreshHost","has","delete","modalClient","close","streamId","onClientUpdate","onGroupStreamChange","onServerUpdate","onStreamUpdate","onClientVolumeChange","onGroupMuteChange","modalShow","modal","visible","mute","modalHost","show","modalGroup","refresh","subscribe"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2790.bf6f297a.js b/platypush/backend/http/webapp/dist/static/js/2790.bf6f297a.js new file mode 100644 index 000000000..1adbcd445 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/2790.bf6f297a.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2790],{1120:function(e,t,s){s.d(t,{Z:function(){return g}});var o=s(6252),l=s(9963),n=s(3577);const i={class:"slider-wrapper"},a=["min","max","step","disabled","value"],c={class:"track"},r={class:"track-inner",ref:"track"},u={class:"thumb",ref:"thumb"},d=["textContent"];function h(e,t,s,h,p,m){return(0,o.wg)(),(0,o.iD)("label",i,[(0,o._)("input",{class:"slider",type:"range",ref:"range",min:s.range[0],max:s.range[1],step:s.step,disabled:s.disabled,value:s.value,onInput:t[0]||(t[0]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onChange:t[1]||(t[1]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onMouseup:t[2]||(t[2]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onMousedown:t[3]||(t[3]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onTouchstart:t[4]||(t[4]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onTouchend:t[5]||(t[5]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onKeyup:t[6]||(t[6]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onKeydown:t[7]||(t[7]=(0,l.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"]))},null,40,a),(0,o._)("div",c,[(0,o._)("div",r,null,512)]),(0,o._)("div",u,null,512),s.withLabel?((0,o.wg)(),(0,o.iD)("span",{key:0,class:"label",textContent:(0,n.zw)(s.value)},null,8,d)):(0,o.kq)("",!0)])}var p={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const t=100*e/(this.range[1]-this.range[0]);this.$refs.thumb.style.left=`${t}%`,this.$refs.thumb.style.transform=`translate(-${t}%, -50%)`,this.$refs.track.style.width=`${t}%`}},mounted(){null!=this.value&&this.update(this.value)}},m=s(3744);const v=(0,m.Z)(p,[["render",h],["__scopeId","data-v-288acf82"]]);var g=v},6137:function(e,t,s){s.d(t,{Z:function(){return m}});var o=s(6252),l=s(3577),n=s(9963);const i=e=>((0,o.dD)("data-v-8e097228"),e=e(),(0,o.Cn)(),e),a=["checked"],c=i((()=>(0,o._)("div",{class:"switch"},[(0,o._)("div",{class:"dot"})],-1))),r={class:"label"};function u(e,t,s,i,u,d){return(0,o.wg)(),(0,o.iD)("div",{class:(0,l.C_)(["power-switch",{disabled:s.disabled}]),onClick:t[0]||(t[0]=(0,n.iM)(((...e)=>d.onInput&&d.onInput(...e)),["stop"]))},[(0,o._)("input",{type:"checkbox",checked:s.value},null,8,a),(0,o._)("label",null,[c,(0,o._)("span",r,[(0,o.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},h=s(3744);const p=(0,h.Z)(d,[["render",u],["__scopeId","data-v-8e097228"]]);var m=p},2790:function(e,t,s){s.r(t),s.d(t,{default:function(){return as}});var o=s(6252);const l={class:"music-snapcast-container"},n={class:"info"},i={class:"info"},a={class:"info"};function c(e,t,s,c,r,u){const d=(0,o.up)("Loading"),h=(0,o.up)("ModalHost"),p=(0,o.up)("Modal"),m=(0,o.up)("ModalGroup"),v=(0,o.up)("ModalClient"),g=(0,o.up)("Host");return(0,o.wg)(),(0,o.iD)("div",l,[e.loading?((0,o.wg)(),(0,o.j4)(d,{key:0})):(0,o.kq)("",!0),(0,o._)("div",n,[(0,o.Wm)(p,{title:"Server info",ref:"modalHost"},{default:(0,o.w5)((()=>[e.selectedHost?((0,o.wg)(),(0,o.j4)(h,{key:0,info:e.hosts[e.selectedHost]},null,8,["info"])):(0,o.kq)("",!0)])),_:1},512)]),(0,o._)("div",i,[(0,o.Wm)(p,{title:"Group info",ref:"modalGroup"},{default:(0,o.w5)((()=>[e.selectedGroup?((0,o.wg)(),(0,o.j4)(m,{key:0,group:e.hosts[e.selectedHost].groups[e.selectedGroup],streams:e.hosts[e.selectedHost].streams,clients:u.clientsByHost[e.selectedHost],loading:e.loading,onAddClient:u.addClientToGroup,onRemoveClient:u.removeClientFromGroup,onStreamChange:u.streamChange,onRenameGroup:t[0]||(t[0]=e=>u.renameGroup(e))},null,8,["group","streams","clients","loading","onAddClient","onRemoveClient","onStreamChange"])):(0,o.kq)("",!0)])),_:1},512)]),(0,o._)("div",a,[(0,o.Wm)(p,{title:"Client info",ref:"modalClient"},{default:(0,o.w5)((()=>[e.selectedClient?((0,o.wg)(),(0,o.j4)(v,{key:0,client:e.hosts[e.selectedHost].groups[e.selectedGroup].clients[e.selectedClient],loading:e.loading,onRemoveClient:u.removeClient,onRenameClient:t[1]||(t[1]=e=>u.renameClient(e))},null,8,["client","loading","onRemoveClient"])):(0,o.kq)("",!0)])),_:1},512)]),((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.hosts,((e,s)=>((0,o.wg)(),(0,o.j4)(g,{key:s,server:e.server,streams:e.streams,groups:e.groups,onGroupMuteToggle:t[2]||(t[2]=e=>u.groupMute(e)),onClientMuteToggle:t[3]||(t[3]=e=>u.clientMute(e)),onClientVolumeChange:t[4]||(t[4]=e=>u.clientSetVolume(e)),onModalShow:t[5]||(t[5]=e=>u.onModalShow(e))},null,8,["server","streams","groups"])))),128))])}var r=s(9642),u=s(2628),d=s(3577);const h=e=>((0,o.dD)("data-v-7bce419a"),e=e(),(0,o.Cn)(),e),p={class:"host"},m={class:"header"},v=h((()=>(0,o._)("i",{class:"icon fa fa-server"},null,-1))),g={class:"col-2 buttons pull-right"},w={key:0,class:"group-container"};function f(e,t,s,l,n,i){const a=(0,o.up)("Group");return(0,o.wg)(),(0,o.iD)("div",p,[(0,o._)("div",m,[(0,o._)("div",{class:"col-10 name",onClick:t[0]||(t[0]=t=>e.$emit("modal-show",{type:"host",host:s.server.host.name}))},[v,(0,o.Uk)(" "+(0,d.zw)(s.server.host.name),1)]),(0,o._)("div",g,[(0,o._)("button",{type:"button",onClick:t[1]||(t[1]=e=>n.collapsed=!n.collapsed)},[(0,o._)("i",{class:(0,d.C_)(["icon fa",{"fa-chevron-up":!n.collapsed,"fa-chevron-down":n.collapsed}])},null,2)])])]),n.collapsed?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("div",w,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.groups,((l,n)=>((0,o.wg)(),(0,o.j4)(a,{key:n,id:l.id,name:l.name,server:s.server.host,muted:l.muted,clients:l.clients,stream:s.streams[l.stream_id],onModalShow:t[2]||(t[2]=t=>e.$emit("modal-show",t)),onGroupMuteToggle:t[3]||(t[3]=t=>e.$emit("group-mute-toggle",t)),onClientMuteToggle:t[4]||(t[4]=t=>e.$emit("client-mute-toggle",t)),onClientVolumeChange:t[5]||(t[5]=t=>e.$emit("client-volume-change",t))},null,8,["id","name","server","muted","clients","stream"])))),128))]))])}const _={class:"group"},C={class:"head"},y={class:"col-2 switch pull-right"},b={class:"body"};function k(e,t,s,l,n,i){const a=(0,o.up)("ToggleSwitch"),c=(0,o.up)("Client");return(0,o.wg)(),(0,o.iD)("div",_,[(0,o._)("div",C,[(0,o._)("div",{class:"col-10 name",onClick:t[0]||(t[0]=t=>e.$emit("modal-show",{type:"group",group:s.id,host:s.server.name}))},[(0,o._)("i",{class:(0,d.C_)(["icon fa",{"fa-play":"playing"===s.stream.status,"fa-stop":"playing"!==s.stream.status}])},null,2),(0,o.Uk)(" "+(0,d.zw)(s.name||s.stream.id||s.id),1)]),(0,o._)("div",y,[(0,o.Wm)(a,{value:!s.muted,onInput:t[1]||(t[1]=t=>e.$emit("group-mute-toggle",{host:s.server.name,group:s.id,muted:!s.muted}))},null,8,["value"])])]),(0,o._)("div",b,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.clients,(l=>((0,o.wg)(),(0,o.j4)(c,{key:l.id,config:l.config,connected:l.connected,server:s.server,host:l.host,groupId:s.id,id:l.id,lastSeen:l.lastSeen,snapclient:l.snapclient,onModalShow:t[2]||(t[2]=t=>e.$emit("modal-show",t)),onVolumeChange:t[3]||(t[3]=t=>e.$emit("client-volume-change",t)),onMuteToggle:t[4]||(t[4]=t=>e.$emit("client-mute-toggle",t))},null,8,["config","connected","server","host","groupId","id","lastSeen","snapclient"])))),128))])])}var x=s(6137);const H=["textContent"],S={class:"col-s-12 col-m-9 controls"},D={class:"col-10 slider-container"},q={class:"col-2 switch pull-right"};function M(e,t,s,l,n,i){const a=(0,o.up)("Slider"),c=(0,o.up)("ToggleSwitch");return(0,o.wg)(),(0,o.iD)("div",{class:(0,d.C_)(["row client",{offline:!s.connected}])},[(0,o._)("div",{class:"col-s-12 col-m-3 name",textContent:(0,d.zw)(s.config.name?.length?s.config.name:s.host.name),onClick:t[0]||(t[0]=t=>e.$emit("modal-show",{type:"client",client:s.id,group:s.groupId,host:s.server.name}))},null,8,H),(0,o._)("div",S,[(0,o._)("div",D,[(0,o.Wm)(a,{range:[0,100],value:s.config.volume.percent,onMouseup:t[1]||(t[1]=t=>e.$emit("volume-change",{host:s.server.name,client:s.id,volume:t.target.value}))},null,8,["value"])]),(0,o._)("div",q,[(0,o.Wm)(c,{value:!s.config.volume.muted,onInput:t[2]||(t[2]=t=>e.$emit("mute-toggle",{host:s.server.name,client:s.id,muted:!s.config.volume.muted}))},null,8,["value"])])])],2)}var G=s(1120),j={name:"Client",components:{Slider:G.Z,ToggleSwitch:x.Z},emits:["volume-change","mute-toggle","modal-show"],props:{config:{type:Object,required:!0},connected:{type:Boolean,default:!1},host:{type:Object,required:!0},id:{type:String,required:!0},groupId:{type:String,required:!0},lastSeen:{type:Object,default:()=>{}},snapclient:{type:Object,required:!0},server:{type:Object,required:!0}}},z=s(3744);const $=(0,z.Z)(j,[["render",M],["__scopeId","data-v-12b0e65b"]]);var O=$,U={name:"Group",components:{Client:O,ToggleSwitch:x.Z},emits:["group-mute-toggle","modal-show","client-volume-change","client-mute-toggle"],props:{id:{type:String},clients:{type:Object,default:()=>{}},muted:{type:Boolean},name:{type:String},stream:{type:Object},server:{type:Object}}};const I=(0,z.Z)(U,[["render",k],["__scopeId","data-v-748fccb4"]]);var Z=I,T={name:"Host",emits:["modal-show","group-mute-toggle","client-mute-toggle","client-volume-change"],components:{Group:Z},props:{groups:{type:Object,default:()=>{}},server:{type:Object,default:()=>{}},streams:{type:Object,default:()=>{}}},data(){return{collapsed:!1}}};const V=(0,z.Z)(T,[["render",f],["__scopeId","data-v-7bce419a"]]);var E=V;const A={class:"info"},B={key:0,class:"row"},R=(0,o._)("div",{class:"label col-3"},"IP Address",-1),P=["textContent"],N={key:1,class:"row"},K=(0,o._)("div",{class:"label col-3"},"MAC Address",-1),W=["textContent"],L={key:2,class:"row"},Y=(0,o._)("div",{class:"label col-3"},"Name",-1),F=["textContent"],J={key:3,class:"row"},Q=(0,o._)("div",{class:"label col-3"},"Port",-1),X=["textContent"],ee={key:4,class:"row"},te=(0,o._)("div",{class:"label col-3"},"OS",-1),se=["textContent"],oe={key:5,class:"row"},le=(0,o._)("div",{class:"label col-3"},"Architecture",-1),ne=["textContent"],ie={key:6,class:"row"},ae=(0,o._)("div",{class:"label col-3"},"Server name",-1),ce=["textContent"],re={key:7,class:"row"},ue=(0,o._)("div",{class:"label col-3"},"Server version",-1),de=["textContent"],he={key:8,class:"row"},pe=(0,o._)("div",{class:"label col-3"},"Protocol version",-1),me=["textContent"],ve={key:9,class:"row"},ge=(0,o._)("div",{class:"label col-3"},"Control protocol version",-1),we=["textContent"];function fe(e,t,s,l,n,i){return(0,o.wg)(),(0,o.iD)("div",A,[s.info?.server?.host?.ip?.length?((0,o.wg)(),(0,o.iD)("div",B,[R,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.ip)},null,8,P)])):(0,o.kq)("",!0),s.info?.server?.host?.mac?.length?((0,o.wg)(),(0,o.iD)("div",N,[K,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.mac)},null,8,W)])):(0,o.kq)("",!0),s.info?.server?.host?.name?.length?((0,o.wg)(),(0,o.iD)("div",L,[Y,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.name)},null,8,F)])):(0,o.kq)("",!0),s.info?.server?.host?.port?((0,o.wg)(),(0,o.iD)("div",J,[Q,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.port)},null,8,X)])):(0,o.kq)("",!0),s.info?.server?.host?.os?.length?((0,o.wg)(),(0,o.iD)("div",ee,[te,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.os)},null,8,se)])):(0,o.kq)("",!0),s.info?.server?.host?.arch?.length?((0,o.wg)(),(0,o.iD)("div",oe,[le,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.host.arch)},null,8,ne)])):(0,o.kq)("",!0),s.info?.server?.snapserver?.name?.length?((0,o.wg)(),(0,o.iD)("div",ie,[ae,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.snapserver.name)},null,8,ce)])):(0,o.kq)("",!0),s.info?.server?.snapserver?.version?.length?((0,o.wg)(),(0,o.iD)("div",re,[ue,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.snapserver.version)},null,8,de)])):(0,o.kq)("",!0),s.info?.server?.snapserver?.protocolVersion?((0,o.wg)(),(0,o.iD)("div",he,[pe,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.snapserver.protocolVersion)},null,8,me)])):(0,o.kq)("",!0),s.info?.server?.snapserver?.controlProtocolVersion?((0,o.wg)(),(0,o.iD)("div",ve,[ge,(0,o._)("div",{class:"value col-9",textContent:(0,d.zw)(s.info.server.snapserver.controlProtocolVersion)},null,8,we)])):(0,o.kq)("",!0)])}var _e={name:"HostModal",props:{info:{type:Object,default:()=>{}}}};const Ce=(0,z.Z)(_e,[["render",fe]]);var ye=Ce;const be=e=>((0,o.dD)("data-v-353ffa58"),e=e(),(0,o.Cn)(),e),ke={class:"info"},xe={class:"section name"},He=be((()=>(0,o._)("div",{class:"title"},"Name",-1))),Se={class:"row"},De={class:"name-value"},qe=["textContent"],Me=be((()=>(0,o._)("i",{class:"fa fa-edit"},null,-1))),Ge=[Me],je={key:0,class:"section clients"},ze=be((()=>(0,o._)("div",{class:"title"},"Clients",-1))),$e=["for"],Oe=["id","value","checked","disabled","onInput"],Ue={key:1,class:"section streams"},Ie=be((()=>(0,o._)("div",{class:"title"},"Stream",-1))),Ze={class:"row"},Te=be((()=>(0,o._)("div",{class:"label col-3"},"ID",-1))),Ve={class:"value col-9"},Ee=["textContent","name","value","disabled","selected"],Ae={key:0,class:"row"},Be=be((()=>(0,o._)("div",{class:"label col-m-3"},"Status",-1))),Re=["textContent"],Pe={key:1,class:"row"},Ne=be((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Host",-1))),Ke=["textContent"],We={key:2,class:"row"},Le=be((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Path",-1))),Ye=["textContent"],Fe={key:3,class:"row"},Je=be((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"URI",-1))),Qe=["textContent"];function Xe(e,t,s,l,n,i){return(0,o.wg)(),(0,o.iD)("div",ke,[(0,o._)("div",xe,[He,(0,o._)("div",Se,[(0,o._)("div",De,[(0,o._)("span",{class:"name",textContent:(0,d.zw)(s.group.name?.length?s.group.name:"default")},null,8,qe),(0,o._)("button",{class:"pull-right",title:"Rename",onClick:t[0]||(t[0]=(...e)=>i.renameGroup&&i.renameGroup(...e))},Ge)])])]),Object.keys(s.group?.clients||{}).length>0?((0,o.wg)(),(0,o.iD)("div",je,[ze,((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.clients||{},((t,l)=>((0,o.wg)(),(0,o.iD)("div",{class:"row",ref_for:!0,ref:"groupClients",key:l},[(0,o._)("label",{class:"client",for:"snapcast-client-"+t.id},[(0,o._)("input",{type:"checkbox",class:"client",id:`snapcast-client-${t.id}`,value:t.id,checked:t.id in s.group.clients,disabled:s.loading,onInput:s=>e.$emit(s.target.checked?"add-client":"remove-client",t.id)},null,40,Oe),(0,o.Uk)(" "+(0,d.zw)(t.host.name),1)],8,$e)])))),128))])):(0,o.kq)("",!0),s.group?.stream_id?((0,o.wg)(),(0,o.iD)("div",Ue,[Ie,(0,o._)("div",Ze,[Te,(0,o._)("div",Ve,[(0,o._)("label",null,[(0,o._)("select",{ref:"streamSelect",onChange:t[1]||(t[1]=t=>e.$emit("stream-change",t.target.value))},[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(s.streams,((e,t)=>((0,o.wg)(),(0,o.iD)("option",{key:t,textContent:(0,d.zw)(s.streams[s.group.stream_id].id),name:e.id,value:e.id,disabled:s.loading,selected:e.id===s.group.stream_id},null,8,Ee)))),128))],544)])])]),s.streams?.[s.group.stream_id]?.status?((0,o.wg)(),(0,o.iD)("div",Ae,[Be,(0,o._)("div",{class:"value col-m-9",textContent:(0,d.zw)(s.streams[s.group.stream_id].status)},null,8,Re)])):(0,o.kq)("",!0),s.streams?.[s.group?.stream_id]?.uri?.host?((0,o.wg)(),(0,o.iD)("div",Pe,[Ne,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.streams[s.group.stream_id].uri.host)},null,8,Ke)])):(0,o.kq)("",!0),s.streams?.[s.group?.stream_id]?.uri?.path?((0,o.wg)(),(0,o.iD)("div",We,[Le,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.streams[s.group.stream_id].uri.path)},null,8,Ye)])):(0,o.kq)("",!0),s.streams?.[s.group?.stream_id]?.uri?.raw?((0,o.wg)(),(0,o.iD)("div",Fe,[Je,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.streams[s.group.stream_id].uri.raw)},null,8,Qe)])):(0,o.kq)("",!0)])):(0,o.kq)("",!0)])}var et={name:"GroupModal",emits:["add-client","remove-client","stream-change","rename-group"],props:{loading:{type:Boolean,default:!1},group:{type:Object},clients:{type:Object},streams:{type:Object}},methods:{renameGroup(){const e=(prompt("New group name",this.group.name)||"").trim();e?.length&&this.$emit("rename-group",e)}}};const tt=(0,z.Z)(et,[["render",Xe],["__scopeId","data-v-353ffa58"]]);var st=tt;const ot=e=>((0,o.dD)("data-v-0e55ac54"),e=e(),(0,o.Cn)(),e),lt={class:"client-modal"},nt={key:0,class:"info"},it={class:"row"},at=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"ID",-1))),ct=["textContent"],rt={key:0,class:"row"},ut=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Name",-1))),dt={class:"value col-s-12 col-m-9"},ht=["textContent"],pt=ot((()=>(0,o._)("i",{class:"fa fa-edit"},null,-1))),mt=[pt],vt={class:"row"},gt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Connected",-1))),wt=["textContent"],ft={class:"row"},_t=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Volume",-1))),Ct={class:"value col-s-12 col-m-9"},yt={class:"row"},bt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Muted",-1))),kt=["textContent"],xt={class:"row"},Ht=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Latency",-1))),St=["textContent"],Dt={key:1,class:"row"},qt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"IP Address",-1))),Mt=["textContent"],Gt={key:2,class:"row"},jt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"MAC Address",-1))),zt=["textContent"],$t={key:3,class:"row"},Ot=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"OS",-1))),Ut=["textContent"],It={key:4,class:"row"},Zt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Architecture",-1))),Tt=["textContent"],Vt={class:"row"},Et=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Client name",-1))),At=["textContent"],Bt={class:"row"},Rt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Client version",-1))),Pt=["textContent"],Nt={class:"row"},Kt=ot((()=>(0,o._)("div",{class:"label col-s-12 col-m-3"},"Protocol version",-1))),Wt=["textContent"],Lt={class:"buttons"},Yt={class:"row"},Ft=["disabled"],Jt=ot((()=>(0,o._)("i",{class:"fas fa-trash"},null,-1))),Qt=ot((()=>(0,o._)("span",{class:"name"},"Remove client",-1))),Xt=[Jt,Qt];function es(e,t,s,l,n,i){return(0,o.wg)(),(0,o.iD)("div",lt,[s.client?((0,o.wg)(),(0,o.iD)("div",nt,[(0,o._)("div",it,[at,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.id)},null,8,ct)]),s.client.config?.name?.length||s.client.host?.name?((0,o.wg)(),(0,o.iD)("div",rt,[ut,(0,o._)("div",dt,[(0,o._)("span",{class:"name",textContent:(0,d.zw)(s.client.config?.name||s.client.host?.name)},null,8,ht),(0,o._)("button",{title:"Rename",onClick:t[0]||(t[0]=(...e)=>i.renameClient&&i.renameClient(...e))},mt)])])):(0,o.kq)("",!0),(0,o._)("div",vt,[gt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.connected)},null,8,wt)]),(0,o._)("div",ft,[_t,(0,o._)("div",Ct,(0,d.zw)(s.client.config.volume.percent)+"%",1)]),(0,o._)("div",yt,[bt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.config.volume.muted)},null,8,kt)]),(0,o._)("div",xt,[Ht,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.config.latency)},null,8,St)]),s.client.host.ip&&s.client.host.ip.length?((0,o.wg)(),(0,o.iD)("div",Dt,[qt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.host.ip)},null,8,Mt)])):(0,o.kq)("",!0),s.client.host.mac&&s.client.host.mac.length?((0,o.wg)(),(0,o.iD)("div",Gt,[jt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.host.mac)},null,8,zt)])):(0,o.kq)("",!0),s.client.host.os&&s.client.host.os.length?((0,o.wg)(),(0,o.iD)("div",$t,[Ot,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.host.os)},null,8,Ut)])):(0,o.kq)("",!0),s.client.host.arch&&s.client.host.arch.length?((0,o.wg)(),(0,o.iD)("div",It,[Zt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.host.arch)},null,8,Tt)])):(0,o.kq)("",!0),(0,o._)("div",Vt,[Et,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.snapclient.name)},null,8,At)]),(0,o._)("div",Bt,[Rt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.snapclient.version)},null,8,Pt)]),(0,o._)("div",Nt,[Kt,(0,o._)("div",{class:"value col-s-12 col-m-9",textContent:(0,d.zw)(s.client.snapclient.protocolVersion)},null,8,Wt)])])):(0,o.kq)("",!0),(0,o._)("div",Lt,[(0,o._)("div",Yt,[(0,o._)("button",{type:"button",disabled:s.loading,onClick:t[1]||(t[1]=(...e)=>i.removeClient&&i.removeClient(...e))},Xt,8,Ft)])])])}var ts={name:"ClientModal",emits:["remove-client","rename-client"],props:{loading:{type:Boolean,default:!1},client:{type:Object}},methods:{removeClient(){window.confirm("Are you sure that you want to remove this client?")&&this.$emit("remove-client")},renameClient(){const e=(window.prompt("New client name",this.client.config.name?.length?this.client.config.name:this.client.host.name)||"").trim();e.length&&this.$emit("rename-client",e)}}};const ss=(0,z.Z)(ts,[["render",es],["__scopeId","data-v-0e55ac54"]]);var os=ss,ls=s(1232),ns={name:"MusicSnapcast",mixins:[u.Z],components:{Loading:ls.Z,Modal:r.Z,Host:E,ModalHost:ye,ModalGroup:st,ModalClient:os},data:function(){return{loading:!1,hosts:{},ports:{},selectedHost:null,selectedGroup:null,selectedClient:null}},computed:{clientsByHost(){return Object.entries(this.hosts).reduce(((e,[t,s])=>(e[t]={},Object.values(s.groups).forEach((s=>{Object.entries(s.clients).forEach((([s,o])=>{e[t][s]=o}))})),e)),{})}},methods:{parseServerStatus(e){e.server.host.port=this.ports[e.server.host.name],this.hosts[e.server.host.name]={...e,groups:e.groups.map((e=>({...e,clients:e.clients.reduce(((e,t)=>(e[t.id]=t,e)),{})}))).reduce(((e,t)=>(e[t.id]=t,e)),{}),streams:e.streams.reduce(((e,t)=>(e[t.id]=t,e)),{})}},async refresh(){this.loading=!0;try{const e=await this.request("music.snapcast.get_backend_hosts"),t=await Promise.all(Object.keys(e).map((async t=>this.request("music.snapcast.status",{host:t,port:e[t]}))));this.hosts={},t.forEach((t=>{this.ports[t.server.host.name]=e[t.server.host.name],this.parseServerStatus(t)}))}finally{this.loading=!1}},async refreshHost(e){e in this.hosts&&this.parseServerStatus(await this.request("music.snapcast.status",{host:e,port:this.ports[e]}))},async addClientToGroup(e){this.loading=!0;try{if(!this.selectedHost||!this.selectedGroup||!(e in this.clientsByHost[this.selectedHost]))return;const t=[...new Set([e,...Object.keys(this.hosts[this.selectedHost].groups[this.selectedGroup].clients)])];await this.request("music.snapcast.group_set_clients",{host:this.selectedHost,port:this.ports[this.selectedHost],group:this.selectedGroup,clients:t}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async removeClientFromGroup(e){this.loading=!0;try{if(!this.selectedHost||!this.selectedGroup||!(e in this.clientsByHost[this.selectedHost]))return;const t=new Set([...Object.keys(this.hosts[this.selectedHost].groups[this.selectedGroup].clients)]);if(!t.has(e))return;t.delete(e),await this.request("music.snapcast.group_set_clients",{host:this.selectedHost,port:this.ports[this.selectedHost],group:this.selectedGroup,clients:[...t]}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async renameGroup(e){this.loading=!0;try{if(!this.selectedHost||!this.selectedGroup)return;await this.request("music.snapcast.set_group_name",{host:this.selectedHost,port:this.ports[this.selectedHost],group:this.selectedGroup,name:e}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async renameClient(e){this.loading=!0;try{if(!this.selectedHost||!this.selectedClient)return;await this.request("music.snapcast.set_client_name",{host:this.selectedHost,port:this.ports[this.selectedHost],client:this.selectedClient,name:e}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async removeClient(){this.loading=!0;try{if(!this.selectedHost||!this.selectedClient)return;await this.request("music.snapcast.delete_client",{host:this.selectedHost,port:this.ports[this.selectedHost],client:this.selectedClient}),this.$refs.modalClient.close(),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},async streamChange(e){this.loading=!0;try{await this.request("music.snapcast.group_set_stream",{host:this.selectedHost,port:this.ports[this.selectedHost],group:this.selectedGroup,stream_id:e}),await this.refreshHost(this.selectedHost)}finally{this.loading=!1}},onClientUpdate(e){Object.keys(this.hosts[e.host].groups).forEach((t=>{e.client.id in this.hosts[e.host].groups[t].clients&&(this.hosts[e.host].groups[t].clients[e.client.id]=e.client)}))},onGroupStreamChange(e){this.hosts[e.host].groups[e.group].stream_id=e.stream},onServerUpdate(e){this.parseServerStatus(e.server)},onStreamUpdate(e){this.hosts[e.host].streams[e.stream.id]=e.stream},onClientVolumeChange(e){Object.keys(this.hosts[e.host].groups).forEach((t=>{e.client in this.hosts[e.host].groups[t].clients&&(null!=e.volume&&(this.hosts[e.host].groups[t].clients[e.client].config.volume.percent=e.volume),null!=e.muted&&(this.hosts[e.host].groups[t].clients[e.client].config.volume.muted=e.muted))}))},onGroupMuteChange(e){this.hosts[e.host].groups[e.group].muted=e.muted},modalShow(e){switch(e.type){case"host":this.modal[e.type].info=this.hosts[e.host];break;case"group":this.modal[e.type].info.server=this.hosts[e.host].server,this.modal[e.type].info.group=this.hosts[e.host].groups[e.group],this.modal[e.type].info.streams=this.hosts[e.host].streams,this.modal[e.type].info.clients={};for(const t of Object.values(this.hosts[e.host].groups))for(const s of Object.values(t.clients))this.modal[e.type].info.clients[s.id]=s;break;case"client":this.modal[e.type].info=this.hosts[e.host].groups[e.group].clients[e.client],this.modal[e.type].info.server=this.hosts[e.host].server;break}this.modal[e.type].visible=!0},async groupMute(e){await this.request("music.snapcast.mute",{group:e.group,host:e.host,port:this.ports[e.host],mute:e.muted}),await this.refreshHost(e.host)},async clientMute(e){await this.request("music.snapcast.mute",{client:e.client,host:e.host,port:this.ports[e.host],mute:e.muted}),await this.refreshHost(e.host)},async clientSetVolume(e){await this.request("music.snapcast.volume",{client:e.client,host:e.host,port:this.ports[e.host],volume:e.volume}),await this.refreshHost(e.host)},onModalShow(e){switch(e.type){case"host":this.selectedHost=e.host,this.$refs.modalHost.show();break;case"group":this.selectedHost=e.host,this.selectedGroup=e.group,this.$refs.modalGroup.show();break;case"client":this.selectedHost=e.host,this.selectedGroup=e.group,this.selectedClient=e.client,this.$refs.modalClient.show();break}}},mounted(){this.refresh(),this.subscribe(this.onClientUpdate,null,"platypush.message.event.music.snapcast.ClientConnectedEvent","platypush.message.event.music.snapcast.ClientDisconnectedEvent","platypush.message.event.music.snapcast.ClientNameChangeEvent"),this.subscribe(this.onGroupStreamChange,null,"platypush.message.event.music.snapcast.GroupStreamChangeEvent"),this.subscribe(this.onServerUpdate,null,"platypush.message.event.music.snapcast.ServerUpdateEvent"),this.subscribe(this.onStreamUpdate,null,"platypush.message.event.music.snapcast.StreamUpdateEvent"),this.subscribe(this.onClientVolumeChange,null,"platypush.message.event.music.snapcast.ClientVolumeChangeEvent"),this.subscribe(this.onGroupMuteChange,null,"platypush.message.event.music.snapcast.GroupMuteChangeEvent")}};const is=(0,z.Z)(ns,[["render",c],["__scopeId","data-v-40841f5a"]]);var as=is}}]); +//# sourceMappingURL=2790.bf6f297a.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2790.bf6f297a.js.map b/platypush/backend/http/webapp/dist/static/js/2790.bf6f297a.js.map new file mode 100644 index 000000000..ed4258c78 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/2790.bf6f297a.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/2790.bf6f297a.js","mappings":"6LACSA,MAAM,kB,6CAYPA,MAAM,S,GACJA,MAAM,cAAcC,IAAI,S,GAE1BD,MAAM,QAAQC,IAAI,S,4DAfxB,QAiBQ,QAjBR,EAiBQ,EAhBN,OASgC,SATzBD,MAAM,SAASE,KAAK,QAAQD,IAAI,QAASE,IAAK,EAAAC,MAAK,GAAMC,IAAK,EAAAD,MAAK,GAClEE,KAAM,EAAAA,KAAOC,SAAU,EAAAA,SAAWC,MAAO,EAAAA,MACzC,QAAK,8BAAO,EAAAC,UAAA,EAAAA,YAAA,IAAQ,WACpB,SAAM,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACrB,UAAO,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACtB,YAAS,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACxB,aAAU,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACzB,WAAQ,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACvB,QAAK,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACpB,UAAO,8BAAO,EAAAA,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/XjD,MAAM,IAA2B,OAAgB,GAAQ,CAAC,CAAC,SAAS1G,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/MusicSnapcast/Index.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Host.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Group.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Client.vue","webpack://platypush/./src/components/panels/MusicSnapcast/Client.vue?98bc","webpack://platypush/./src/components/panels/MusicSnapcast/Group.vue?12df","webpack://platypush/./src/components/panels/MusicSnapcast/Host.vue?8888","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Host.vue","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Host.vue?b4e2","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Group.vue","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Group.vue?b9ce","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Client.vue","webpack://platypush/./src/components/panels/MusicSnapcast/modals/Client.vue?144d","webpack://platypush/./src/components/panels/MusicSnapcast/Index.vue?a513"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Client.vue?vue&type=template&id=12b0e65b&scoped=true\"\nimport script from \"./Client.vue?vue&type=script&lang=js\"\nexport * from \"./Client.vue?vue&type=script&lang=js\"\n\nimport \"./Client.vue?vue&type=style&index=0&id=12b0e65b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-12b0e65b\"]])\n\nexport default __exports__","import { render } from \"./Group.vue?vue&type=template&id=748fccb4&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=748fccb4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-748fccb4\"]])\n\nexport default __exports__","import { render } from \"./Host.vue?vue&type=template&id=7bce419a&scoped=true\"\nimport script from \"./Host.vue?vue&type=script&lang=js\"\nexport * from \"./Host.vue?vue&type=script&lang=js\"\n\nimport \"./Host.vue?vue&type=style&index=0&id=7bce419a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7bce419a\"]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./Host.vue?vue&type=template&id=4b0dc9f8\"\nimport script from \"./Host.vue?vue&type=script&lang=js\"\nexport * from \"./Host.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Group.vue?vue&type=template&id=353ffa58&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=353ffa58&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-353ffa58\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Client.vue?vue&type=template&id=0e55ac54&scoped=true\"\nimport script from \"./Client.vue?vue&type=script&lang=js\"\nexport * from \"./Client.vue?vue&type=script&lang=js\"\n\nimport \"./Client.vue?vue&type=style&index=0&id=0e55ac54&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0e55ac54\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=40841f5a&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=40841f5a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-40841f5a\"]])\n\nexport default __exports__"],"names":["class","ref","type","min","range","max","step","disabled","value","onUpdate","withLabel","name","emits","props","Number","Boolean","default","Array","methods","event","this","update","target","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","loading","title","selectedHost","info","hosts","selectedGroup","group","groups","streams","clients","clientsByHost","addClientToGroup","removeClientFromGroup","streamChange","renameGroup","$event","selectedClient","client","removeClient","renameClient","host","id","key","server","groupMute","clientMute","clientSetVolume","onModalShow","collapsed","muted","stream","stream_id","status","config","connected","groupId","lastSeen","snapclient","length","volume","components","Slider","ToggleSwitch","Object","required","String","Client","Group","data","ip","mac","port","os","arch","snapserver","version","protocolVersion","controlProtocolVersion","keys","for","selected","uri","path","raw","prompt","trim","latency","window","confirm","mixins","Utils","Loading","Modal","Host","ModalHost","ModalGroup","ModalClient","ports","computed","entries","reduce","values","forEach","clientId","parseServerStatus","map","async","request","statuses","Promise","all","Set","refreshHost","has","delete","modalClient","close","streamId","onClientUpdate","onGroupStreamChange","onServerUpdate","onStreamUpdate","onClientVolumeChange","onGroupMuteChange","modalShow","modal","visible","mute","modalHost","show","modalGroup","refresh","subscribe"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2844-legacy.a6c67900.js b/platypush/backend/http/webapp/dist/static/js/2844-legacy.a6c67900.js new file mode 100644 index 000000000..8a9f2ecd1 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/2844-legacy.a6c67900.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2844],{6137:function(e,t,n){n.d(t,{Z:function(){return w}});var i=n(6252),s=n(3577),c=n(9963),l=function(e){return(0,i.dD)("data-v-8e097228"),e=e(),(0,i.Cn)(),e},a=["checked"],o=l((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),u={class:"label"};function r(e,t,n,l,r,d){return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,c.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,a),(0,i._)("label",null,[o,(0,i._)("span",u,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=n(3744);const f=(0,v.Z)(d,[["render",r],["__scopeId","data-v-8e097228"]]);var w=f},2844:function(e,t,n){n.r(t),n.d(t,{default:function(){return ve}});n(7941),n(8309),n(9600);var i=n(6252),s=n(3577),c=function(e){return(0,i.dD)("data-v-5d844500"),e=e(),(0,i.Cn)(),e},l={class:"switches switchbot-switches"},a={key:1,class:"no-content"},o={key:0,class:"switch-info"},u={class:"row"},r=c((function(){return(0,i._)("div",{class:"name"},"Name",-1)})),d=["textContent"],v={class:"row"},f=c((function(){return(0,i._)("div",{class:"name"},"On",-1)})),w=["textContent"],g={key:0,class:"row"},p=c((function(){return(0,i._)("div",{class:"name"},"Reachable",-1)})),h=["textContent"],m={key:1,class:"row"},D=c((function(){return(0,i._)("div",{class:"name"},"Brightness",-1)})),k=["textContent"],_={key:2,class:"row"},x=c((function(){return(0,i._)("div",{class:"name"},"Color Temperature",-1)})),C=["textContent"],y={key:3,class:"row"},q=c((function(){return(0,i._)("div",{class:"name"},"Hue",-1)})),b=["textContent"],I={key:4,class:"row"},z=c((function(){return(0,i._)("div",{class:"name"},"Saturation",-1)})),Z=["textContent"],S={key:5,class:"row"},T=c((function(){return(0,i._)("div",{class:"name"},"XY",-1)})),R=["textContent"],M={key:6,class:"row"},j=c((function(){return(0,i._)("div",{class:"name"},"Product",-1)})),B=["textContent"],N={key:7,class:"row"},L=c((function(){return(0,i._)("div",{class:"name"},"Manufacturer",-1)})),$=["textContent"],H={key:8,class:"row"},O=c((function(){return(0,i._)("div",{class:"name"},"Type",-1)})),E=["textContent"],P={key:9,class:"row"},W=c((function(){return(0,i._)("div",{class:"name"},"ID on network",-1)})),U=["textContent"],Y={key:10,class:"row"},K=c((function(){return(0,i._)("div",{class:"name"},"Unique ID",-1)})),X=["textContent"],A={key:11,class:"row"},F=c((function(){return(0,i._)("div",{class:"name"},"Software version",-1)})),G=["textContent"],J={key:12,class:"row"},Q=c((function(){return(0,i._)("div",{class:"name"},"Last software update",-1)})),V=["textContent"],ee={key:13,class:"row"},te=c((function(){return(0,i._)("div",{class:"name"},"Update state",-1)})),ne=["textContent"];function ie(e,t,n,c,ie,se){var ce=(0,i.up)("Loading"),le=(0,i.up)("Switch"),ae=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",l,[e.loading?((0,i.wg)(),(0,i.j4)(ce,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,"No Hue lights found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(t,n){return(0,i.wg)(),(0,i.j4)(le,{loading:e.loading,name:n,state:t.on,onToggle:function(e){return se.toggle(n)},key:n,"has-info":!0,onInfo:function(t){e.selectedDevice=n,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])})),128)),(0,i.Wm)(ae,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((function(){var t,n;return[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",o,[(0,i._)("div",u,[r,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].name)},null,8,d)]),(0,i._)("div",v,[f,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].on)},null,8,w)]),null!=e.devices[e.selectedDevice].reachable?((0,i.wg)(),(0,i.iD)("div",g,[p,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].reachable)},null,8,h)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].bri?((0,i.wg)(),(0,i.iD)("div",m,[D,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].bri)},null,8,k)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].ct?((0,i.wg)(),(0,i.iD)("div",_,[x,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].ct)},null,8,C)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].hue?((0,i.wg)(),(0,i.iD)("div",y,[q,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hue)},null,8,b)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].sat?((0,i.wg)(),(0,i.iD)("div",I,[z,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].sat)},null,8,Z)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].xy?((0,i.wg)(),(0,i.iD)("div",S,[T,(0,i._)("div",{class:"value",textContent:(0,s.zw)("[".concat(e.devices[e.selectedDevice].xy.join(", "),"]"))},null,8,R)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].productname?((0,i.wg)(),(0,i.iD)("div",M,[j,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].productname)},null,8,B)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].manufacturername?((0,i.wg)(),(0,i.iD)("div",N,[L,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].manufacturername)},null,8,$)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].type?((0,i.wg)(),(0,i.iD)("div",H,[O,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].type)},null,8,E)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].id?((0,i.wg)(),(0,i.iD)("div",P,[W,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].id)},null,8,U)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].uniqueid?((0,i.wg)(),(0,i.iD)("div",Y,[K,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].uniqueid)},null,8,X)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].swversion?((0,i.wg)(),(0,i.iD)("div",A,[F,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].swversion)},null,8,G)])):(0,i.kq)("",!0),null!==(t=e.devices[e.selectedDevice].swupdate)&&void 0!==t&&t.lastinstall?((0,i.wg)(),(0,i.iD)("div",J,[Q,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.formatDate(e.devices[e.selectedDevice].swupdate.lastinstall,!0))},null,8,V)])):(0,i.kq)("",!0),null!==(n=e.devices[e.selectedDevice].swupdate)&&void 0!==n&&n.state?((0,i.wg)(),(0,i.iD)("div",ee,[te,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].swupdate.state)},null,8,ne)])):(0,i.kq)("",!0)])):(0,i.kq)("",!0)]})),_:1},512)])}var se=n(8534),ce=(n(5666),n(1232)),le=n(4004),ae=n(8671),oe=n(9642),ue={name:"LightHue",components:{Modal:oe.Z,Switch:ae.Z,Loading:ce.Z},mixins:[le.Z],methods:{toggle:function(e){var t=this;return(0,se.Z)(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".toggle"),{lights:[e]});case 2:i=n.sent,i.success&&(t.devices[e].on=!t.devices[e].on);case 4:case"end":return n.stop()}}),n)})))()}}},re=n(3744);const de=(0,re.Z)(ue,[["render",ie],["__scopeId","data-v-5d844500"]]);var ve=de},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(8534),s=(n(1539),n(8309),n(5666),n(2628)),c={name:"SwitchesMixin",mixins:[s.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,t){var n=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var s;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==t&&(t=e),i.next=3,n.request("".concat(n.pluginName,".toggle"),{device:t});case 3:s=i.sent,n.devices[e].on=s.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=t.sent.reduce((function(e,t){var n,i=null!==(n=t.name)&&void 0!==n&&n.length?t.name:t.id;return e[i]=t,e}),{});case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(t){t&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const l=c;var a=l},8671:function(e,t,n){n.d(t,{Z:function(){return m}});n(8309);var i=n(6252),s=n(9963),c=n(3577),l=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},a={class:"name col-l-10 col-m-9 col-s-8"},o=l((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),u=[o],r=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function v(e,t,n,l,o,v){var f=(0,i.up)("Loading"),w=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,s.iM)((function(){return v.onToggle&&v.onToggle.apply(v,arguments)}),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(f,{key:0})):(0,i.kq)("",!0),(0,i._)("div",a,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,s.iM)((function(){return v.onInfo&&v.onInfo.apply(v,arguments)}),["prevent"]))},u)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,c.zw)(n.name)},null,8,r)]),(0,i._)("div",d,[(0,i.Wm)(w,{disabled:n.loading,value:n.state,onInput:v.onToggle},null,8,["disabled","value","onInput"])])])}var f=n(6137),w=n(1232),g={name:"Switch",components:{Loading:w.Z,ToggleSwitch:f.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},p=n(3744);const h=(0,p.Z)(g,[["render",v],["__scopeId","data-v-38eb9831"]]);var m=h}}]); +//# sourceMappingURL=2844-legacy.a6c67900.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2844-legacy.a6c67900.js.map b/platypush/backend/http/webapp/dist/static/js/2844-legacy.a6c67900.js.map new file mode 100644 index 000000000..c348015af --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/2844-legacy.a6c67900.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/2844-legacy.a6c67900.js","mappings":"6RAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,M,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,wCAAO,EAAAC,SAAA,EAAAA,QAAA,qBAAO,YAA5E,EAEE,O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CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/LightHue/Index.vue","webpack://platypush/./src/components/panels/Switches/LightHue/Index.vue?dced","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=5d844500&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=5d844500&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5d844500\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","loading","Object","keys","devices","length","device","state","on","toggle","key","selectedDevice","$refs","switchInfoModal","show","title","ref","reachable","bri","ct","hue","sat","xy","join","productname","manufacturername","id","uniqueid","swversion","swupdate","lastinstall","components","Modal","Switch","Loading","mixins","request","pluginName","lights","response","success","Utils","String","required","bus","config","selected","data","initialized","onRefreshEvent","refresh","reduce","obj","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","ToggleSwitch","stopPropagation"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2844-legacy.fae0fdc0.js b/platypush/backend/http/webapp/dist/static/js/2844-legacy.fae0fdc0.js deleted file mode 100644 index 3a7069f1a..000000000 --- a/platypush/backend/http/webapp/dist/static/js/2844-legacy.fae0fdc0.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2844],{3567:function(e,t,n){n.d(t,{Z:function(){return f}});var i=n(6252),s=n(3577),c=function(e){return(0,i.dD)("data-v-8fae7678"),e=e(),(0,i.Cn)(),e},l=["checked"],a=c((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),o={class:"label"};function u(e,t,n,c,u,r){return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=function(){return r.onInput&&r.onInput.apply(r,arguments)})},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,l),(0,i._)("label",null,[a,(0,i._)("span",o,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var r={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},d=n(3744);const v=(0,d.Z)(r,[["render",u],["__scopeId","data-v-8fae7678"]]);var f=v},2844:function(e,t,n){n.r(t),n.d(t,{default:function(){return ve}});n(7941),n(8309),n(9600);var i=n(6252),s=n(3577),c=function(e){return(0,i.dD)("data-v-5d844500"),e=e(),(0,i.Cn)(),e},l={class:"switches switchbot-switches"},a={key:1,class:"no-content"},o={key:0,class:"switch-info"},u={class:"row"},r=c((function(){return(0,i._)("div",{class:"name"},"Name",-1)})),d=["textContent"],v={class:"row"},f=c((function(){return(0,i._)("div",{class:"name"},"On",-1)})),w=["textContent"],g={key:0,class:"row"},p=c((function(){return(0,i._)("div",{class:"name"},"Reachable",-1)})),h=["textContent"],m={key:1,class:"row"},D=c((function(){return(0,i._)("div",{class:"name"},"Brightness",-1)})),k=["textContent"],_={key:2,class:"row"},x=c((function(){return(0,i._)("div",{class:"name"},"Color Temperature",-1)})),C=["textContent"],y={key:3,class:"row"},q=c((function(){return(0,i._)("div",{class:"name"},"Hue",-1)})),b=["textContent"],I={key:4,class:"row"},z=c((function(){return(0,i._)("div",{class:"name"},"Saturation",-1)})),Z=["textContent"],S={key:5,class:"row"},T=c((function(){return(0,i._)("div",{class:"name"},"XY",-1)})),R=["textContent"],M={key:6,class:"row"},j=c((function(){return(0,i._)("div",{class:"name"},"Product",-1)})),B=["textContent"],N={key:7,class:"row"},L=c((function(){return(0,i._)("div",{class:"name"},"Manufacturer",-1)})),$=["textContent"],H={key:8,class:"row"},O=c((function(){return(0,i._)("div",{class:"name"},"Type",-1)})),P=["textContent"],E={key:9,class:"row"},W=c((function(){return(0,i._)("div",{class:"name"},"ID on network",-1)})),U=["textContent"],Y={key:10,class:"row"},K=c((function(){return(0,i._)("div",{class:"name"},"Unique ID",-1)})),X=["textContent"],A={key:11,class:"row"},F=c((function(){return(0,i._)("div",{class:"name"},"Software version",-1)})),G=["textContent"],J={key:12,class:"row"},Q=c((function(){return(0,i._)("div",{class:"name"},"Last software update",-1)})),V=["textContent"],ee={key:13,class:"row"},te=c((function(){return(0,i._)("div",{class:"name"},"Update state",-1)})),ne=["textContent"];function ie(e,t,n,c,ie,se){var ce=(0,i.up)("Loading"),le=(0,i.up)("Switch"),ae=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",l,[e.loading?((0,i.wg)(),(0,i.j4)(ce,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,"No Hue lights found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(t,n){return(0,i.wg)(),(0,i.j4)(le,{loading:e.loading,name:n,state:t.on,onToggle:function(e){return se.toggle(n)},key:n,"has-info":!0,onInfo:function(t){e.selectedDevice=n,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])})),128)),(0,i.Wm)(ae,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((function(){var t,n;return[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",o,[(0,i._)("div",u,[r,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].name)},null,8,d)]),(0,i._)("div",v,[f,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].on)},null,8,w)]),null!=e.devices[e.selectedDevice].reachable?((0,i.wg)(),(0,i.iD)("div",g,[p,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].reachable)},null,8,h)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].bri?((0,i.wg)(),(0,i.iD)("div",m,[D,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].bri)},null,8,k)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].ct?((0,i.wg)(),(0,i.iD)("div",_,[x,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].ct)},null,8,C)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].hue?((0,i.wg)(),(0,i.iD)("div",y,[q,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hue)},null,8,b)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].sat?((0,i.wg)(),(0,i.iD)("div",I,[z,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].sat)},null,8,Z)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].xy?((0,i.wg)(),(0,i.iD)("div",S,[T,(0,i._)("div",{class:"value",textContent:(0,s.zw)("[".concat(e.devices[e.selectedDevice].xy.join(", "),"]"))},null,8,R)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].productname?((0,i.wg)(),(0,i.iD)("div",M,[j,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].productname)},null,8,B)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].manufacturername?((0,i.wg)(),(0,i.iD)("div",N,[L,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].manufacturername)},null,8,$)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].type?((0,i.wg)(),(0,i.iD)("div",H,[O,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].type)},null,8,P)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].id?((0,i.wg)(),(0,i.iD)("div",E,[W,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].id)},null,8,U)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].uniqueid?((0,i.wg)(),(0,i.iD)("div",Y,[K,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].uniqueid)},null,8,X)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].swversion?((0,i.wg)(),(0,i.iD)("div",A,[F,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].swversion)},null,8,G)])):(0,i.kq)("",!0),null!==(t=e.devices[e.selectedDevice].swupdate)&&void 0!==t&&t.lastinstall?((0,i.wg)(),(0,i.iD)("div",J,[Q,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.formatDate(e.devices[e.selectedDevice].swupdate.lastinstall,!0))},null,8,V)])):(0,i.kq)("",!0),null!==(n=e.devices[e.selectedDevice].swupdate)&&void 0!==n&&n.state?((0,i.wg)(),(0,i.iD)("div",ee,[te,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].swupdate.state)},null,8,ne)])):(0,i.kq)("",!0)])):(0,i.kq)("",!0)]})),_:1},512)])}var se=n(8534),ce=(n(5666),n(1232)),le=n(4004),ae=n(8671),oe=n(9642),ue={name:"LightHue",components:{Modal:oe.Z,Switch:ae.Z,Loading:ce.Z},mixins:[le.Z],methods:{toggle:function(e){var t=this;return(0,se.Z)(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.request("".concat(t.pluginName,".toggle"),{lights:[e]});case 2:i=n.sent,i.success&&(t.devices[e].on=!t.devices[e].on);case 4:case"end":return n.stop()}}),n)})))()}}},re=n(3744);const de=(0,re.Z)(ue,[["render",ie],["__scopeId","data-v-5d844500"]]);var ve=de},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(8534),s=(n(1539),n(8309),n(5666),n(2628)),c={name:"SwitchesMixin",mixins:[s.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,t){var n=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var s;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==t&&(t=e),i.next=3,n.request("".concat(n.pluginName,".toggle"),{device:t});case 3:s=i.sent,n.devices[e].on=s.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=t.sent.reduce((function(e,t){var n,i=null!==(n=t.name)&&void 0!==n&&n.length?t.name:t.id;return e[i]=t,e}),{});case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(t){t&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const l=c;var a=l},8671:function(e,t,n){n.d(t,{Z:function(){return m}});n(8309);var i=n(6252),s=n(9963),c=n(3577),l=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},a={class:"name col-l-10 col-m-9 col-s-8"},o=l((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),u=[o],r=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function v(e,t,n,l,o,v){var f=(0,i.up)("Loading"),w=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,s.iM)((function(){return v.onToggle&&v.onToggle.apply(v,arguments)}),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(f,{key:0})):(0,i.kq)("",!0),(0,i._)("div",a,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,s.iM)((function(){return v.onInfo&&v.onInfo.apply(v,arguments)}),["prevent"]))},u)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,c.zw)(n.name)},null,8,r)]),(0,i._)("div",d,[(0,i.Wm)(w,{disabled:n.loading,value:n.state,onInput:v.onToggle},null,8,["disabled","value","onInput"])])])}var f=n(3567),w=n(1232),g={name:"Switch",components:{Loading:w.Z,ToggleSwitch:f.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},p=n(3744);const h=(0,p.Z)(g,[["render",v],["__scopeId","data-v-38eb9831"]]);var m=h}}]); -//# sourceMappingURL=2844-legacy.fae0fdc0.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2844-legacy.fae0fdc0.js.map b/platypush/backend/http/webapp/dist/static/js/2844-legacy.fae0fdc0.js.map deleted file mode 100644 index 0f1d3d7d1..000000000 --- a/platypush/backend/http/webapp/dist/static/js/2844-legacy.fae0fdc0.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/2844-legacy.fae0fdc0.js","mappings":"mRAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,M,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAE,EAAAC,SAAA,EAAAA,QAAA,sBAAhE,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,S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,sKCFShB,MAAM,iC,uBAEP,OAAwB,KAArBA,MAAM,cAAY,Y,GAArB,G,qBAICA,MAAM,mC,+FARb,QAWM,OAXDA,MAAM,SAAU,QAAK,wCAAO,EAAA2E,UAAA,EAAAA,SAAA,qBAAQ,YAAzC,CACiB,EAAAzD,UAAA,WAAf,QAA0B,aAA1B,gBACA,OAKM,MALN,EAKM,CAJU,EAAA0D,UAAA,WAAd,QAES,U,MAFe,QAAK,wCAAU,EAAAC,QAAA,EAAAA,OAAA,qBAAM,eAA7C,qBAGA,OAA2C,QAArC7E,MAAM,e,aAAe,QAAa,EAAD,OAAvC,aAEF,OAEM,MAFN,EAEM,EADJ,QAAqE,GAAtDC,SAAU,EAAAiB,QAAUb,MAAO,EAAAmB,MAAQ,QAAO,EAAAmD,UAAzD,2C,wBASN,GACErE,KAAM,SACN0C,WAAY,CAACG,QAAAA,EAAA,EAAS2B,aAAAA,EAAA,GACtBvE,MAAO,CAAC,SAAU,QAElBC,MAAO,CACLF,KAAM,CACJH,KAAMwD,OACNC,UAAU,GAGZpC,MAAO,CACLrB,KAAMM,QACNC,SAAS,GAGXQ,QAAS,CACPf,KAAMM,QACNC,SAAS,GAGXkE,QAAS,CACPzE,KAAMM,QACNC,SAAS,GAGXiC,GAAI,CACFxC,KAAMwD,SAIVhD,QAAS,CACPkE,OADO,SACAjE,GAGL,OAFAA,EAAMC,kBACNC,KAAKC,MAAM,SACJ,GAGT4D,SAPO,SAOE/D,GAGP,OAFAA,EAAMC,kBACNC,KAAKC,MAAM,WACJ,K,UCrDb,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/LightHue/Index.vue","webpack://platypush/./src/components/panels/Switches/LightHue/Index.vue?dced","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=5d844500&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=5d844500&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5d844500\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","stopPropagation","this","$emit","__exports__","render","loading","Object","keys","devices","length","device","state","on","toggle","key","selectedDevice","$refs","switchInfoModal","show","title","ref","reachable","bri","ct","hue","sat","xy","join","productname","manufacturername","id","uniqueid","swversion","swupdate","lastinstall","components","Modal","Switch","Loading","mixins","request","pluginName","lights","response","success","Utils","String","required","bus","config","selected","data","initialized","onRefreshEvent","refresh","reduce","obj","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","ToggleSwitch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2844.357b0781.js b/platypush/backend/http/webapp/dist/static/js/2844.357b0781.js new file mode 100644 index 000000000..f3458e53f --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/2844.357b0781.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2844],{6137:function(e,t,s){s.d(t,{Z:function(){return g}});var n=s(6252),i=s(3577),l=s(9963);const a=e=>((0,n.dD)("data-v-8e097228"),e=e(),(0,n.Cn)(),e),c=["checked"],d=a((()=>(0,n._)("div",{class:"switch"},[(0,n._)("div",{class:"dot"})],-1))),o={class:"label"};function v(e,t,s,a,v,u){return(0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:s.disabled}]),onClick:t[0]||(t[0]=(0,l.iM)(((...e)=>u.onInput&&u.onInput(...e)),["stop"]))},[(0,n._)("input",{type:"checkbox",checked:s.value},null,8,c),(0,n._)("label",null,[d,(0,n._)("span",o,[(0,n.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},r=s(3744);const w=(0,r.Z)(u,[["render",v],["__scopeId","data-v-8e097228"]]);var g=w},2844:function(e,t,s){s.r(t),s.d(t,{default:function(){return ue}});var n=s(6252),i=s(3577);const l=e=>((0,n.dD)("data-v-5d844500"),e=e(),(0,n.Cn)(),e),a={class:"switches switchbot-switches"},c={key:1,class:"no-content"},d={key:0,class:"switch-info"},o={class:"row"},v=l((()=>(0,n._)("div",{class:"name"},"Name",-1))),u=["textContent"],r={class:"row"},w=l((()=>(0,n._)("div",{class:"name"},"On",-1))),g=["textContent"],h={key:0,class:"row"},p=l((()=>(0,n._)("div",{class:"name"},"Reachable",-1))),f=["textContent"],m={key:1,class:"row"},D=l((()=>(0,n._)("div",{class:"name"},"Brightness",-1))),_=["textContent"],k={key:2,class:"row"},y=l((()=>(0,n._)("div",{class:"name"},"Color Temperature",-1))),C=["textContent"],x={key:3,class:"row"},q=l((()=>(0,n._)("div",{class:"name"},"Hue",-1))),b=["textContent"],I={key:4,class:"row"},z=l((()=>(0,n._)("div",{class:"name"},"Saturation",-1))),Z=["textContent"],S={key:5,class:"row"},T=l((()=>(0,n._)("div",{class:"name"},"XY",-1))),$=["textContent"],M={key:6,class:"row"},j=l((()=>(0,n._)("div",{class:"name"},"Product",-1))),B=["textContent"],N={key:7,class:"row"},L=l((()=>(0,n._)("div",{class:"name"},"Manufacturer",-1))),H=["textContent"],O={key:8,class:"row"},R=l((()=>(0,n._)("div",{class:"name"},"Type",-1))),E=["textContent"],P={key:9,class:"row"},W=l((()=>(0,n._)("div",{class:"name"},"ID on network",-1))),U=["textContent"],Y={key:10,class:"row"},K=l((()=>(0,n._)("div",{class:"name"},"Unique ID",-1))),X=["textContent"],A={key:11,class:"row"},F=l((()=>(0,n._)("div",{class:"name"},"Software version",-1))),G=["textContent"],J={key:12,class:"row"},Q=l((()=>(0,n._)("div",{class:"name"},"Last software update",-1))),V=["textContent"],ee={key:13,class:"row"},te=l((()=>(0,n._)("div",{class:"name"},"Update state",-1))),se=["textContent"];function ne(e,t,s,l,ne,ie){const le=(0,n.up)("Loading"),ae=(0,n.up)("Switch"),ce=(0,n.up)("Modal");return(0,n.wg)(),(0,n.iD)("div",a,[e.loading?((0,n.wg)(),(0,n.j4)(le,{key:0})):Object.keys(e.devices).length?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("div",c,"No Hue lights found.")),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.devices,((t,s)=>((0,n.wg)(),(0,n.j4)(ae,{loading:e.loading,name:s,state:t.on,onToggle:e=>ie.toggle(s),key:s,"has-info":!0,onInfo:t=>{e.selectedDevice=s,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])))),128)),(0,n.Wm)(ce,{title:"Device Info",ref:"switchInfoModal"},{default:(0,n.w5)((()=>[e.selectedDevice?((0,n.wg)(),(0,n.iD)("div",d,[(0,n._)("div",o,[v,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].name)},null,8,u)]),(0,n._)("div",r,[w,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].on)},null,8,g)]),null!=e.devices[e.selectedDevice].reachable?((0,n.wg)(),(0,n.iD)("div",h,[p,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].reachable)},null,8,f)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].bri?((0,n.wg)(),(0,n.iD)("div",m,[D,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].bri)},null,8,_)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].ct?((0,n.wg)(),(0,n.iD)("div",k,[y,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].ct)},null,8,C)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].hue?((0,n.wg)(),(0,n.iD)("div",x,[q,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].hue)},null,8,b)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].sat?((0,n.wg)(),(0,n.iD)("div",I,[z,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].sat)},null,8,Z)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].xy?((0,n.wg)(),(0,n.iD)("div",S,[T,(0,n._)("div",{class:"value",textContent:(0,i.zw)(`[${e.devices[e.selectedDevice].xy.join(", ")}]`)},null,8,$)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].productname?((0,n.wg)(),(0,n.iD)("div",M,[j,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].productname)},null,8,B)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].manufacturername?((0,n.wg)(),(0,n.iD)("div",N,[L,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].manufacturername)},null,8,H)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].type?((0,n.wg)(),(0,n.iD)("div",O,[R,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].type)},null,8,E)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].id?((0,n.wg)(),(0,n.iD)("div",P,[W,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].id)},null,8,U)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].uniqueid?((0,n.wg)(),(0,n.iD)("div",Y,[K,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].uniqueid)},null,8,X)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].swversion?((0,n.wg)(),(0,n.iD)("div",A,[F,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].swversion)},null,8,G)])):(0,n.kq)("",!0),e.devices[e.selectedDevice].swupdate?.lastinstall?((0,n.wg)(),(0,n.iD)("div",J,[Q,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.formatDate(e.devices[e.selectedDevice].swupdate.lastinstall,!0))},null,8,V)])):(0,n.kq)("",!0),e.devices[e.selectedDevice].swupdate?.state?((0,n.wg)(),(0,n.iD)("div",ee,[te,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].swupdate.state)},null,8,se)])):(0,n.kq)("",!0)])):(0,n.kq)("",!0)])),_:1},512)])}var ie=s(1232),le=s(4004),ae=s(8671),ce=s(9642),de={name:"LightHue",components:{Modal:ce.Z,Switch:ae.Z,Loading:ie.Z},mixins:[le.Z],methods:{async toggle(e){const t=await this.request(`${this.pluginName}.toggle`,{lights:[e]});t.success&&(this.devices[e].on=!this.devices[e].on)}}},oe=s(3744);const ve=(0,oe.Z)(de,[["render",ne],["__scopeId","data-v-5d844500"]]);var ue=ve},4004:function(e,t,s){s.d(t,{Z:function(){return a}});var n=s(2628),i={name:"SwitchesMixin",mixins:[n.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const s=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=s.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const s=t.name?.length?t.name:t.id;return e[s]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const l=i;var a=l},8671:function(e,t,s){s.d(t,{Z:function(){return m}});var n=s(6252),i=s(9963),l=s(3577);const a=e=>((0,n.dD)("data-v-38eb9831"),e=e(),(0,n.Cn)(),e),c={class:"name col-l-10 col-m-9 col-s-8"},d=a((()=>(0,n._)("i",{class:"fa fa-info"},null,-1))),o=[d],v=["textContent"],u={class:"toggler col-l-2 col-m-3 col-s-4"};function r(e,t,s,a,d,r){const w=(0,n.up)("Loading"),g=(0,n.up)("ToggleSwitch");return(0,n.wg)(),(0,n.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,i.iM)(((...e)=>r.onToggle&&r.onToggle(...e)),["stop"]))},[s.loading?((0,n.wg)(),(0,n.j4)(w,{key:0})):(0,n.kq)("",!0),(0,n._)("div",c,[s.hasInfo?((0,n.wg)(),(0,n.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,i.iM)(((...e)=>r.onInfo&&r.onInfo(...e)),["prevent"]))},o)):(0,n.kq)("",!0),(0,n._)("span",{class:"name-content",textContent:(0,l.zw)(s.name)},null,8,v)]),(0,n._)("div",u,[(0,n.Wm)(g,{disabled:s.loading,value:s.state,onInput:r.onToggle},null,8,["disabled","value","onInput"])])])}var w=s(6137),g=s(1232),h={name:"Switch",components:{Loading:g.Z,ToggleSwitch:w.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},p=s(3744);const f=(0,p.Z)(h,[["render",r],["__scopeId","data-v-38eb9831"]]);var m=f}}]); +//# sourceMappingURL=2844.357b0781.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2844.357b0781.js.map b/platypush/backend/http/webapp/dist/static/js/2844.357b0781.js.map new file mode 100644 index 000000000..722e5baa6 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/2844.357b0781.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/2844.357b0781.js","mappings":"wQAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BA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D,EAAc,EAEpB,S,sJCFSf,MAAM,iC,UAEP,OAAwB,KAArBA,MAAM,cAAY,W,GAArB,G,qBAICA,MAAM,mC,iGARb,QAWM,OAXDA,MAAM,SAAU,QAAK,8BAAO,EAAA2E,UAAA,EAAAA,YAAA,IAAQ,YAAzC,CACiB,EAAA1D,UAAA,WAAf,QAA0B,aAA1B,gBACA,OAKM,MALN,EAKM,CAJU,EAAA2D,UAAA,WAAd,QAES,U,MAFe,QAAK,8BAAU,EAAAC,QAAA,EAAAA,UAAA,IAAM,eAA7C,qBAGA,OAA2C,QAArC7E,MAAM,e,aAAe,QAAa,EAAD,OAAvC,aAEF,OAEM,MAFN,EAEM,EADJ,QAAqE,GAAtDC,SAAU,EAAAgB,QAAUZ,MAAO,EAAAkB,MAAQ,QAAO,EAAAoD,UAAzD,2C,wBASN,GACErE,KAAM,SACNyC,WAAY,CAACG,QAAD,IAAU4B,aAAY,KAClCvE,MAAO,CAAC,SAAU,QAElBC,MAAO,CACLF,KAAM,CACJH,KAAMwD,OACNC,UAAU,GAGZrC,MAAO,CACLpB,KAAMM,QACNC,SAAS,GAGXO,QAAS,CACPd,KAAMM,QACNC,SAAS,GAGXkE,QAAS,CACPzE,KAAMM,QACNC,SAAS,GAGXgC,GAAI,CACFvC,KAAMwD,SAIVhD,QAAS,CACPkE,OAAOjE,GAGL,OAFAA,EAAMmE,kBACNlE,KAAKC,MAAM,SACJ,GAGT6D,SAAS/D,GAGP,OAFAA,EAAMmE,kBACNlE,KAAKC,MAAM,WACJ,K,UCrDb,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/LightHue/Index.vue","webpack://platypush/./src/components/panels/Switches/LightHue/Index.vue?dced","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=5d844500&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=5d844500&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5d844500\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","loading","Object","keys","devices","length","device","state","on","toggle","key","selectedDevice","$refs","switchInfoModal","show","title","ref","reachable","bri","ct","hue","sat","xy","join","productname","manufacturername","id","uniqueid","swversion","swupdate","lastinstall","components","Modal","Switch","Loading","mixins","async","response","request","pluginName","lights","success","Utils","String","required","bus","config","selected","data","initialized","onRefreshEvent","refresh","reduce","obj","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","ToggleSwitch","stopPropagation"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2844.e28e9ca7.js b/platypush/backend/http/webapp/dist/static/js/2844.e28e9ca7.js deleted file mode 100644 index 15d8a6a7e..000000000 --- a/platypush/backend/http/webapp/dist/static/js/2844.e28e9ca7.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2844],{3567:function(e,t,s){s.d(t,{Z:function(){return w}});var n=s(6252),i=s(3577);const l=e=>((0,n.dD)("data-v-8fae7678"),e=e(),(0,n.Cn)(),e),a=["checked"],c=l((()=>(0,n._)("div",{class:"switch"},[(0,n._)("div",{class:"dot"})],-1))),o={class:"label"};function d(e,t,s,l,d,v){return(0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:s.disabled}]),onClick:t[0]||(t[0]=(...e)=>v.onInput&&v.onInput(...e))},[(0,n._)("input",{type:"checkbox",checked:s.value},null,8,a),(0,n._)("label",null,[c,(0,n._)("span",o,[(0,n.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var v={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},u=s(3744);const r=(0,u.Z)(v,[["render",d],["__scopeId","data-v-8fae7678"]]);var w=r},2844:function(e,t,s){s.r(t),s.d(t,{default:function(){return ue}});var n=s(6252),i=s(3577);const l=e=>((0,n.dD)("data-v-5d844500"),e=e(),(0,n.Cn)(),e),a={class:"switches switchbot-switches"},c={key:1,class:"no-content"},o={key:0,class:"switch-info"},d={class:"row"},v=l((()=>(0,n._)("div",{class:"name"},"Name",-1))),u=["textContent"],r={class:"row"},w=l((()=>(0,n._)("div",{class:"name"},"On",-1))),g=["textContent"],h={key:0,class:"row"},p=l((()=>(0,n._)("div",{class:"name"},"Reachable",-1))),f=["textContent"],m={key:1,class:"row"},D=l((()=>(0,n._)("div",{class:"name"},"Brightness",-1))),_=["textContent"],k={key:2,class:"row"},y=l((()=>(0,n._)("div",{class:"name"},"Color Temperature",-1))),C=["textContent"],x={key:3,class:"row"},q=l((()=>(0,n._)("div",{class:"name"},"Hue",-1))),b=["textContent"],I={key:4,class:"row"},z=l((()=>(0,n._)("div",{class:"name"},"Saturation",-1))),Z=["textContent"],S={key:5,class:"row"},T=l((()=>(0,n._)("div",{class:"name"},"XY",-1))),$=["textContent"],M={key:6,class:"row"},j=l((()=>(0,n._)("div",{class:"name"},"Product",-1))),B=["textContent"],N={key:7,class:"row"},L=l((()=>(0,n._)("div",{class:"name"},"Manufacturer",-1))),H=["textContent"],O={key:8,class:"row"},P=l((()=>(0,n._)("div",{class:"name"},"Type",-1))),R=["textContent"],E={key:9,class:"row"},W=l((()=>(0,n._)("div",{class:"name"},"ID on network",-1))),U=["textContent"],Y={key:10,class:"row"},K=l((()=>(0,n._)("div",{class:"name"},"Unique ID",-1))),X=["textContent"],A={key:11,class:"row"},F=l((()=>(0,n._)("div",{class:"name"},"Software version",-1))),G=["textContent"],J={key:12,class:"row"},Q=l((()=>(0,n._)("div",{class:"name"},"Last software update",-1))),V=["textContent"],ee={key:13,class:"row"},te=l((()=>(0,n._)("div",{class:"name"},"Update state",-1))),se=["textContent"];function ne(e,t,s,l,ne,ie){const le=(0,n.up)("Loading"),ae=(0,n.up)("Switch"),ce=(0,n.up)("Modal");return(0,n.wg)(),(0,n.iD)("div",a,[e.loading?((0,n.wg)(),(0,n.j4)(le,{key:0})):Object.keys(e.devices).length?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("div",c,"No Hue lights found.")),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.devices,((t,s)=>((0,n.wg)(),(0,n.j4)(ae,{loading:e.loading,name:s,state:t.on,onToggle:e=>ie.toggle(s),key:s,"has-info":!0,onInfo:t=>{e.selectedDevice=s,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])))),128)),(0,n.Wm)(ce,{title:"Device Info",ref:"switchInfoModal"},{default:(0,n.w5)((()=>[e.selectedDevice?((0,n.wg)(),(0,n.iD)("div",o,[(0,n._)("div",d,[v,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].name)},null,8,u)]),(0,n._)("div",r,[w,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].on)},null,8,g)]),null!=e.devices[e.selectedDevice].reachable?((0,n.wg)(),(0,n.iD)("div",h,[p,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].reachable)},null,8,f)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].bri?((0,n.wg)(),(0,n.iD)("div",m,[D,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].bri)},null,8,_)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].ct?((0,n.wg)(),(0,n.iD)("div",k,[y,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].ct)},null,8,C)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].hue?((0,n.wg)(),(0,n.iD)("div",x,[q,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].hue)},null,8,b)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].sat?((0,n.wg)(),(0,n.iD)("div",I,[z,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].sat)},null,8,Z)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].xy?((0,n.wg)(),(0,n.iD)("div",S,[T,(0,n._)("div",{class:"value",textContent:(0,i.zw)(`[${e.devices[e.selectedDevice].xy.join(", ")}]`)},null,8,$)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].productname?((0,n.wg)(),(0,n.iD)("div",M,[j,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].productname)},null,8,B)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].manufacturername?((0,n.wg)(),(0,n.iD)("div",N,[L,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].manufacturername)},null,8,H)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].type?((0,n.wg)(),(0,n.iD)("div",O,[P,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].type)},null,8,R)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].id?((0,n.wg)(),(0,n.iD)("div",E,[W,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].id)},null,8,U)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].uniqueid?((0,n.wg)(),(0,n.iD)("div",Y,[K,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].uniqueid)},null,8,X)])):(0,n.kq)("",!0),null!=e.devices[e.selectedDevice].swversion?((0,n.wg)(),(0,n.iD)("div",A,[F,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].swversion)},null,8,G)])):(0,n.kq)("",!0),e.devices[e.selectedDevice].swupdate?.lastinstall?((0,n.wg)(),(0,n.iD)("div",J,[Q,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.formatDate(e.devices[e.selectedDevice].swupdate.lastinstall,!0))},null,8,V)])):(0,n.kq)("",!0),e.devices[e.selectedDevice].swupdate?.state?((0,n.wg)(),(0,n.iD)("div",ee,[te,(0,n._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].swupdate.state)},null,8,se)])):(0,n.kq)("",!0)])):(0,n.kq)("",!0)])),_:1},512)])}var ie=s(1232),le=s(4004),ae=s(8671),ce=s(9642),oe={name:"LightHue",components:{Modal:ce.Z,Switch:ae.Z,Loading:ie.Z},mixins:[le.Z],methods:{async toggle(e){const t=await this.request(`${this.pluginName}.toggle`,{lights:[e]});t.success&&(this.devices[e].on=!this.devices[e].on)}}},de=s(3744);const ve=(0,de.Z)(oe,[["render",ne],["__scopeId","data-v-5d844500"]]);var ue=ve},4004:function(e,t,s){s.d(t,{Z:function(){return a}});var n=s(2628),i={name:"SwitchesMixin",mixins:[n.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const s=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=s.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const s=t.name?.length?t.name:t.id;return e[s]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const l=i;var a=l},8671:function(e,t,s){s.d(t,{Z:function(){return m}});var n=s(6252),i=s(9963),l=s(3577);const a=e=>((0,n.dD)("data-v-38eb9831"),e=e(),(0,n.Cn)(),e),c={class:"name col-l-10 col-m-9 col-s-8"},o=a((()=>(0,n._)("i",{class:"fa fa-info"},null,-1))),d=[o],v=["textContent"],u={class:"toggler col-l-2 col-m-3 col-s-4"};function r(e,t,s,a,o,r){const w=(0,n.up)("Loading"),g=(0,n.up)("ToggleSwitch");return(0,n.wg)(),(0,n.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,i.iM)(((...e)=>r.onToggle&&r.onToggle(...e)),["stop"]))},[s.loading?((0,n.wg)(),(0,n.j4)(w,{key:0})):(0,n.kq)("",!0),(0,n._)("div",c,[s.hasInfo?((0,n.wg)(),(0,n.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,i.iM)(((...e)=>r.onInfo&&r.onInfo(...e)),["prevent"]))},d)):(0,n.kq)("",!0),(0,n._)("span",{class:"name-content",textContent:(0,l.zw)(s.name)},null,8,v)]),(0,n._)("div",u,[(0,n.Wm)(g,{disabled:s.loading,value:s.state,onInput:r.onToggle},null,8,["disabled","value","onInput"])])])}var w=s(3567),g=s(1232),h={name:"Switch",components:{Loading:g.Z,ToggleSwitch:w.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},p=s(3744);const f=(0,p.Z)(h,[["render",r],["__scopeId","data-v-38eb9831"]]);var m=f}}]); -//# sourceMappingURL=2844.e28e9ca7.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/2844.e28e9ca7.js.map b/platypush/backend/http/webapp/dist/static/js/2844.e28e9ca7.js.map deleted file mode 100644 index 82400fba6..000000000 --- a/platypush/backend/http/webapp/dist/static/js/2844.e28e9ca7.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/2844.e28e9ca7.js","mappings":"8PAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,Y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KAAKqD,kBC7EjC,MAAMnD,EAAc,EAEpB,S,sJCFShB,MAAM,iC,UAEP,OAAwB,KAArBA,MAAM,cAAY,W,GAArB,G,qBAICA,MAAM,mC,iGARb,QAWM,OAXDA,MAAM,SAAU,QAAK,8BAAO,EAAA4E,UAAA,EAAAA,YAAA,IAAQ,YAAzC,CACiB,EAAA1D,UAAA,WAAf,QAA0B,aAA1B,gBACA,OAKM,MALN,EAKM,CAJU,EAAA2D,UAAA,WAAd,QAES,U,MAFe,QAAK,8BAAU,EAAAC,QAAA,EAAAA,UAAA,IAAM,eAA7C,qBAGA,OAA2C,QAArC9E,MAAM,e,aAAe,QAAa,EAAD,OAAvC,aAEF,OAEM,MAFN,EAEM,EADJ,QAAqE,GAAtDC,SAAU,EAAAiB,QAAUb,MAAO,EAAAmB,MAAQ,QAAO,EAAAoD,UAAzD,2C,wBASN,GACEtE,KAAM,SACN0C,WAAY,CAACG,QAAD,IAAU4B,aAAY,KAClCxE,MAAO,CAAC,SAAU,QAElBC,MAAO,CACLF,KAAM,CACJH,KAAMyD,OACNC,UAAU,GAGZrC,MAAO,CACLrB,KAAMM,QACNC,SAAS,GAGXQ,QAAS,CACPf,KAAMM,QACNC,SAAS,GAGXmE,QAAS,CACP1E,KAAMM,QACNC,SAAS,GAGXiC,GAAI,CACFxC,KAAMyD,SAIVjD,QAAS,CACPmE,OAAOlE,GAGL,OAFAA,EAAMC,kBACNC,KAAKC,MAAM,SACJ,GAGT6D,SAAShE,GAGP,OAFAA,EAAMC,kBACNC,KAAKC,MAAM,WACJ,K,UCrDb,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/LightHue/Index.vue","webpack://platypush/./src/components/panels/Switches/LightHue/Index.vue?dced","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=5d844500&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=5d844500&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5d844500\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","stopPropagation","this","$emit","__exports__","render","loading","Object","keys","devices","length","device","state","on","toggle","key","selectedDevice","$refs","switchInfoModal","show","title","ref","reachable","bri","ct","hue","sat","xy","join","productname","manufacturername","id","uniqueid","swversion","swupdate","lastinstall","components","Modal","Switch","Loading","mixins","async","response","request","pluginName","lights","success","Utils","String","required","bus","config","selected","data","initialized","onRefreshEvent","refresh","reduce","obj","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","ToggleSwitch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/3674-legacy.33bdb956.js b/platypush/backend/http/webapp/dist/static/js/3674-legacy.c0844108.js similarity index 98% rename from platypush/backend/http/webapp/dist/static/js/3674-legacy.33bdb956.js rename to platypush/backend/http/webapp/dist/static/js/3674-legacy.c0844108.js index 582b98cc5..038906055 100644 --- a/platypush/backend/http/webapp/dist/static/js/3674-legacy.33bdb956.js +++ b/platypush/backend/http/webapp/dist/static/js/3674-legacy.c0844108.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3674],{3674:function(e,t,n){n.r(t),n.d(t,{default:function(){return L}});var r=n(6252);function i(e,t,n,i,u,s){var o=(0,r.up)("Loading"),a=(0,r.up)("LightPlugin");return(0,r.wg)(),(0,r.iD)(r.HY,null,[u.loading?((0,r.wg)(),(0,r.j4)(o,{key:0})):(0,r.kq)("",!0),(0,r.Wm)(a,{"plugin-name":"light.hue",config:n.config,lights:e.lights,groups:e.groups,scenes:e.scenes,animations:e.animations,"initial-group":s.initialGroup,"loading-groups":e.loadingGroups,"color-converter":u.colorConverter,onGroupToggle:s.toggleGroup,onLightChanged:s.onLightChanged,onLightToggle:s.toggleLight,onSetLight:s.setLight,onSetGroup:s.setGroup,onSelectScene:s.setScene,onStartAnimation:s.startAnimation,onStopAnimation:s.stopAnimation,onRefresh:t[0]||(t[0]=function(e){return s.refresh(!0)})},null,8,["config","lights","groups","scenes","animations","initial-group","loading-groups","color-converter","onGroupToggle","onLightChanged","onLightToggle","onSetLight","onSetGroup","onSelectScene","onStartAnimation","onStopAnimation"])],64)}var u=n(4648),s=n(9584),o=n(6084),a=n(8534),c=(n(5666),n(7941),n(1539),n(7327),n(9720),n(3948),n(2479),n(1249),n(8309),n(2222),n(8783),n(1336)),g=(n(4747),{name:"Utils",data:function(){return{lights:{},groups:{},scenes:{},animations:{},loadingLights:{},loadingGroups:{}}},computed:{groupsByName:function(){return this.groups?Object.entries(this.groups).reduce((function(e,t){var n=(0,o.Z)(t,2),r=n[0],i=n[1];return e[i.name||r]=(0,u.Z)((0,u.Z)({},i),{},{id:r}),e}),{}):{}}},methods:{_getGroups:function(e){var t=e.filter((function(e){return null!=e}));if(!t.length)return Object.values(this.groups);var n=this;return t.map((function(e){return e instanceof Object?e:n.groups[e]}))},_getLights:function(e){var t=e.filter((function(e){return null!=e}));if(!t.length)return Object.values(this.lights);var n=this;return t.map((function(e){return e instanceof Object?e:n.lights[e]}))},setGroupsLoading:function(e){var t=this;this._getGroups(e).forEach((function(e){t.loadingGroups[e.id]=!0,e.lights&&t.setLightsLoading(e.lights)}))},unsetGroupsLoading:function(e){var t=this;this._getGroups(e).forEach((function(e){e.id in t.loadingGroups&&delete t.loadingGroups[e.id],e.lights&&t.setLightsLoading(e.lights)}))},setLightsLoading:function(e){var t=this;this._getLights(e).forEach((function(e){t.loadingLights[e.id]=!0}))},unsetLightsLoading:function(e){var t=this;this._getLights(e).forEach((function(e){e.id in t.loadingLights&&delete t.loadingLights[e.id]}))},groupAction:function(e,t){var n=arguments,r=this;return(0,a.Z)(regeneratorRuntime.mark((function i(){var u,s,o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:for(u=n.length,s=new Array(u>2?u-2:0),o=2;o2?u-2:0),o=2;o2?u-2:0),o=2;o2?u-2:0),o=2;o\n \n \n\n\n\n","\n","import script from \"./Utils.vue?vue&type=script&lang=js\"\nexport * from \"./Utils.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=54ae8cdd\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["loading","config","lights","groups","scenes","animations","initialGroup","loadingGroups","colorConverter","toggleGroup","onLightChanged","toggleLight","setLight","setGroup","setScene","startAnimation","stopAnimation","refresh","name","data","loadingLights","computed","groupsByName","this","Object","entries","reduce","id","group","methods","_getGroups","groupIds","filter","length","values","self","map","_getLights","lightIds","setGroupsLoading","groupsIds","forEach","setLightsLoading","unsetGroupsLoading","light","unsetLightsLoading","groupAction","action","args","request","lightAction","__exports__","components","Loading","LightPlugin","mixins","props","type","default","hue","sat","bri","ct","keys","getLights","getGroups","recycle","toLowerCase","obj","getScenes","scene","getAnimations","event","requests","value","attr","method","req","Promise","all","groupId","sceneId","background","animation","state","mounted","render"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/3674-legacy.c0844108.js","mappings":"8RACiB,EAAAA,UAAA,WAAf,QAA0B,aAA1B,gBACA,QAIyG,GAJ5F,cAAY,YAAaC,OAAQ,EAAAA,OAASC,OAAQ,EAAAA,OAASC,OAAQ,EAAAA,OAASC,OAAQ,EAAAA,OACnFC,WAAY,EAAAA,WAAa,gBAAe,EAAAC,aAAe,iBAAgB,EAAAC,cACvE,kBAAiB,EAAAC,eAAiB,cAAc,EAAAC,YAAc,eAAe,EAAAC,eAC7E,cAAc,EAAAC,YAAc,WAAW,EAAAC,SAAW,WAAW,EAAAC,SAAW,cAAc,EAAAC,SACtF,i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hCE,wBAiCd,EAAKxD,SAAQ,GAjCC,+CAoChBH,SA/HC,SA+HQ0D,GAAO,gKACd,EAAK1B,YAAY,kBAAoB,CACzC5B,KAAM,EAAKd,OAAOoE,EAAMS,SAAS/D,KACjCf,OAAQ,CAAC,EAAKA,OAAOqE,EAAMQ,SAAS9D,OACnC,EAAKf,OAAOqE,EAAMQ,UAJD,uBAMd,EAAK/D,SAAQ,GANC,8CAShBA,QAxIC,SAwIOiE,GAAY,+JACnBA,IACH,EAAKlF,SAAU,GAFO,kBAK2C8E,QAAQC,IAAI,CAC3E,EAAKf,YACL,EAAKC,YACL,EAAKI,YACL,EAAKE,kBATe,+BAKrB,EAAKrE,OALgB,KAKR,EAAKC,OALG,KAKK,EAAKC,OALV,KAKkB,EAAKC,WALvB,8BAYjB6E,IACH,EAAKlF,SAAU,GAbK,8EAiBpBe,eAzJC,SAyJcyD,GAAO,gKACpB,EAAKvB,QAAQ,qBAAb,QACJ/C,OAAQsE,EAAMtE,QACXsE,EAAMW,YAHe,uBAMpB,EAAKlE,SAAQ,GANO,8CAStBD,cAlKC,WAkKe,gKACd,EAAKiC,QAAQ,4BADC,uBAEd,EAAKhC,SAAQ,GAFC,8CAKtBP,eAvKO,SAuKQ8D,GACbjD,KAAKrB,OAAOsE,EAAM7C,IAAIyD,OAAtB,kBACK7D,KAAKrB,OAAOsE,EAAM7C,IAAIyD,OACtBZ,EAAMY,SAKfC,QApNa,WAqNX9D,KAAKN,Y,UGhOT,MAAM,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASqE,KAEpE","sources":["webpack://platypush/./src/components/panels/LightHue/Index.vue","webpack://platypush/./src/components/panels/Light/Utils.vue","webpack://platypush/./src/components/panels/Light/Utils.vue?50cb","webpack://platypush/./src/components/panels/LightHue/Index.vue?9d94"],"sourcesContent":["\n\n\n","\n","import script from \"./Utils.vue?vue&type=script&lang=js\"\nexport * from \"./Utils.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=54ae8cdd\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["loading","config","lights","groups","scenes","animations","initialGroup","loadingGroups","colorConverter","toggleGroup","onLightChanged","toggleLight","setLight","setGroup","setScene","startAnimation","stopAnimation","refresh","name","data","loadingLights","computed","groupsByName","this","Object","entries","reduce","id","group","methods","_getGroups","groupIds","filter","length","values","self","map","_getLights","lightIds","setGroupsLoading","groupsIds","forEach","setLightsLoading","unsetGroupsLoading","light","unsetLightsLoading","groupAction","action","args","request","lightAction","__exports__","components","Loading","LightPlugin","mixins","props","type","default","hue","sat","bri","ct","keys","getLights","getGroups","recycle","toLowerCase","obj","getScenes","scene","getAnimations","event","requests","value","attr","method","req","Promise","all","groupId","sceneId","background","animation","state","mounted","render"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/3674.011836da.js b/platypush/backend/http/webapp/dist/static/js/3674.011836da.js deleted file mode 100644 index 07a73cc17..000000000 --- a/platypush/backend/http/webapp/dist/static/js/3674.011836da.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3674],{3674:function(t,i,e){e.r(i),e.d(i,{default:function(){return m}});var s=e(6252);function n(t,i,e,n,o,r){const a=(0,s.up)("Loading"),g=(0,s.up)("LightPlugin");return(0,s.wg)(),(0,s.iD)(s.HY,null,[o.loading?((0,s.wg)(),(0,s.j4)(a,{key:0})):(0,s.kq)("",!0),(0,s.Wm)(g,{"plugin-name":"light.hue",config:e.config,lights:t.lights,groups:t.groups,scenes:t.scenes,animations:t.animations,"initial-group":r.initialGroup,"loading-groups":t.loadingGroups,"color-converter":o.colorConverter,onGroupToggle:r.toggleGroup,onLightChanged:r.onLightChanged,onLightToggle:r.toggleLight,onSetLight:r.setLight,onSetGroup:r.setGroup,onSelectScene:r.setScene,onStartAnimation:r.startAnimation,onStopAnimation:r.stopAnimation,onRefresh:i[0]||(i[0]=t=>r.refresh(!0))},null,8,["config","lights","groups","scenes","animations","initial-group","loading-groups","color-converter","onGroupToggle","onLightChanged","onLightToggle","onSetLight","onSetGroup","onSelectScene","onStartAnimation","onStopAnimation"])],64)}var o=e(8019),r={name:"Utils",data(){return{lights:{},groups:{},scenes:{},animations:{},loadingLights:{},loadingGroups:{}}},computed:{groupsByName(){return this.groups?Object.entries(this.groups).reduce(((t,[i,e])=>(t[e.name||i]={...e,id:i},t)),{}):{}}},methods:{_getGroups(t){const i=t.filter((t=>null!=t));if(!i.length)return Object.values(this.groups);const e=this;return i.map((t=>t instanceof Object?t:e.groups[t]))},_getLights(t){const i=t.filter((t=>null!=t));if(!i.length)return Object.values(this.lights);const e=this;return i.map((t=>t instanceof Object?t:e.lights[t]))},setGroupsLoading(t){const i=this;this._getGroups(t).forEach((t=>{i.loadingGroups[t.id]=!0,t.lights&&i.setLightsLoading(t.lights)}))},unsetGroupsLoading(t){const i=this;this._getGroups(t).forEach((t=>{t.id in i.loadingGroups&&delete i.loadingGroups[t.id],t.lights&&i.setLightsLoading(t.lights)}))},setLightsLoading(t){const i=this;this._getLights(t).forEach((t=>{i.loadingLights[t.id]=!0}))},unsetLightsLoading(t){const i=this;this._getLights(t).forEach((t=>{t.id in i.loadingLights&&delete i.loadingLights[t.id]}))},async groupAction(t,i,...e){this.setGroupsLoading(e);try{return await this.request(t,i)}finally{this.unsetGroupsLoading(e)}},async lightAction(t,i,...e){this.setLightsLoading(e);try{return await this.request(t,i)}finally{this.unsetLightsLoading(e)}}}};const a=r;var g=a,h=e(4212),u=e(2628),l=e(1232),c={name:"LightHue",components:{Loading:l.Z,LightPlugin:o["default"]},mixins:[u.Z,g],props:{config:{type:Object,default:()=>{}}},data(){return{loading:!1,colorConverter:new h.N({hue:[0,65535],sat:[0,255],bri:[0,255],ct:[150,500]})}},computed:{initialGroup(){if(!this.config.groups||!Object.keys(this.config.groups).length)return null;const t=this.config.groups[0];return t in this.groups?this.groups[t].id:t in this.groupsByName?this.groupsByName[t].id:null}},methods:{async getLights(){return await this.request("light.hue.get_lights")},async getGroups(){return Object.entries(await this.request("light.hue.get_groups")).filter((t=>!t[1].recycle&&"room"===t[1].type.toLowerCase())).reduce(((t,[i,e])=>(t[i]=e,t)),{})},async getScenes(){return Object.entries(await this.request("light.hue.get_scenes")).filter((t=>!t[1].recycle&&"lightscene"===t[1].type.toLowerCase())).reduce(((t,[i,e])=>(t[i]=e,t)),{})},async getAnimations(){return await this.request("light.hue.get_animations")},async toggleGroup(t){let i=Object.values(this.groups),e={groups:i.map((t=>t.name))};null!=t&&(i=[t],e={groups:[t.name]}),await this.groupAction("light.hue.toggle",e,...i),await this.refresh(!0)},async toggleLight(t){const i=[t],e=null!=t?{lights:[t.name]}:{};await this.lightAction("light.hue.toggle",e,...i),await this.refresh(!0)},async setLight(t){let i=Object.keys(this.lights);const e=t.light,s={};e&&(s.lights=[e.name],i=[e]);const n=this,o=Object.entries(t.value).map((([t,e])=>{let o=null;switch(s.value=e,t){case"brightness":o="light.hue.bri";break;case"temperature":o="light.hue.ct";break;case"xy":o="light.hue.xy";break}if(o)return n.lightAction(o,s,...i)})).filter((t=>null!=t));await Promise.all(o),await this.refresh(!0)},async setGroup(t){if(!t.groupId)return this.setLight(t);const i=this.groups[t.groupId],e={groups:[i.name]},s=this,n=Object.entries(t.value).map((([t,n])=>{let o=null;switch(e.value=n,t){case"brightness":o="light.hue.bri";break;case"temperature":o="light.hue.ct";break;case"xy":o="light.hue.xy";break}if(o)return s.groupAction(o,e,i)})).filter((t=>null!=t));await Promise.all(n),await this.refresh(!0)},async setScene(t){await this.groupAction("light.hue.scene",{name:this.scenes[t.sceneId].name,groups:[this.groups[t.groupId].name]},this.groups[t.groupId]),await this.refresh(!0)},async refresh(t){t||(this.loading=!0);try{[this.lights,this.groups,this.scenes,this.animations]=await Promise.all([this.getLights(),this.getGroups(),this.getScenes(),this.getAnimations()])}finally{t||(this.loading=!1)}},async startAnimation(t){await this.request("light.hue.animate",{lights:t.lights,...t.animation}),await this.refresh(!0)},async stopAnimation(){await this.request("light.hue.stop_animation"),await this.refresh(!0)},onLightChanged(t){this.lights[t.id].state={...this.lights[t.id].state,...t.state}}},mounted(){this.refresh()}},p=e(3744);const d=(0,p.Z)(c,[["render",n]]);var m=d}}]); -//# sourceMappingURL=3674.011836da.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/3674.3c7517b4.js b/platypush/backend/http/webapp/dist/static/js/3674.3c7517b4.js new file mode 100644 index 000000000..2ad36fc53 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/3674.3c7517b4.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3674],{3674:function(t,i,e){e.r(i),e.d(i,{default:function(){return m}});var s=e(6252);function n(t,i,e,n,o,r){const a=(0,s.up)("Loading"),g=(0,s.up)("LightPlugin");return(0,s.wg)(),(0,s.iD)(s.HY,null,[o.loading?((0,s.wg)(),(0,s.j4)(a,{key:0})):(0,s.kq)("",!0),(0,s.Wm)(g,{"plugin-name":"light.hue",config:e.config,lights:t.lights,groups:t.groups,scenes:t.scenes,animations:t.animations,"initial-group":r.initialGroup,"loading-groups":t.loadingGroups,"color-converter":o.colorConverter,onGroupToggle:r.toggleGroup,onLightChanged:r.onLightChanged,onLightToggle:r.toggleLight,onSetLight:r.setLight,onSetGroup:r.setGroup,onSelectScene:r.setScene,onStartAnimation:r.startAnimation,onStopAnimation:r.stopAnimation,onRefresh:i[0]||(i[0]=t=>r.refresh(!0))},null,8,["config","lights","groups","scenes","animations","initial-group","loading-groups","color-converter","onGroupToggle","onLightChanged","onLightToggle","onSetLight","onSetGroup","onSelectScene","onStartAnimation","onStopAnimation"])],64)}var o=e(747),r={name:"Utils",data(){return{lights:{},groups:{},scenes:{},animations:{},loadingLights:{},loadingGroups:{}}},computed:{groupsByName(){return this.groups?Object.entries(this.groups).reduce(((t,[i,e])=>(t[e.name||i]={...e,id:i},t)),{}):{}}},methods:{_getGroups(t){const i=t.filter((t=>null!=t));if(!i.length)return Object.values(this.groups);const e=this;return i.map((t=>t instanceof Object?t:e.groups[t]))},_getLights(t){const i=t.filter((t=>null!=t));if(!i.length)return Object.values(this.lights);const e=this;return i.map((t=>t instanceof Object?t:e.lights[t]))},setGroupsLoading(t){const i=this;this._getGroups(t).forEach((t=>{i.loadingGroups[t.id]=!0,t.lights&&i.setLightsLoading(t.lights)}))},unsetGroupsLoading(t){const i=this;this._getGroups(t).forEach((t=>{t.id in i.loadingGroups&&delete i.loadingGroups[t.id],t.lights&&i.setLightsLoading(t.lights)}))},setLightsLoading(t){const i=this;this._getLights(t).forEach((t=>{i.loadingLights[t.id]=!0}))},unsetLightsLoading(t){const i=this;this._getLights(t).forEach((t=>{t.id in i.loadingLights&&delete i.loadingLights[t.id]}))},async groupAction(t,i,...e){this.setGroupsLoading(e);try{return await this.request(t,i)}finally{this.unsetGroupsLoading(e)}},async lightAction(t,i,...e){this.setLightsLoading(e);try{return await this.request(t,i)}finally{this.unsetLightsLoading(e)}}}};const a=r;var g=a,h=e(4212),u=e(2628),l=e(1232),c={name:"LightHue",components:{Loading:l.Z,LightPlugin:o["default"]},mixins:[u.Z,g],props:{config:{type:Object,default:()=>{}}},data(){return{loading:!1,colorConverter:new h.N({hue:[0,65535],sat:[0,255],bri:[0,255],ct:[150,500]})}},computed:{initialGroup(){if(!this.config.groups||!Object.keys(this.config.groups).length)return null;const t=this.config.groups[0];return t in this.groups?this.groups[t].id:t in this.groupsByName?this.groupsByName[t].id:null}},methods:{async getLights(){return await this.request("light.hue.get_lights")},async getGroups(){return Object.entries(await this.request("light.hue.get_groups")).filter((t=>!t[1].recycle&&"room"===t[1].type.toLowerCase())).reduce(((t,[i,e])=>(t[i]=e,t)),{})},async getScenes(){return Object.entries(await this.request("light.hue.get_scenes")).filter((t=>!t[1].recycle&&"lightscene"===t[1].type.toLowerCase())).reduce(((t,[i,e])=>(t[i]=e,t)),{})},async getAnimations(){return await this.request("light.hue.get_animations")},async toggleGroup(t){let i=Object.values(this.groups),e={groups:i.map((t=>t.name))};null!=t&&(i=[t],e={groups:[t.name]}),await this.groupAction("light.hue.toggle",e,...i),await this.refresh(!0)},async toggleLight(t){const i=[t],e=null!=t?{lights:[t.name]}:{};await this.lightAction("light.hue.toggle",e,...i),await this.refresh(!0)},async setLight(t){let i=Object.keys(this.lights);const e=t.light,s={};e&&(s.lights=[e.name],i=[e]);const n=this,o=Object.entries(t.value).map((([t,e])=>{let o=null;switch(s.value=e,t){case"brightness":o="light.hue.bri";break;case"temperature":o="light.hue.ct";break;case"xy":o="light.hue.xy";break}if(o)return n.lightAction(o,s,...i)})).filter((t=>null!=t));await Promise.all(o),await this.refresh(!0)},async setGroup(t){if(!t.groupId)return this.setLight(t);const i=this.groups[t.groupId],e={groups:[i.name]},s=this,n=Object.entries(t.value).map((([t,n])=>{let o=null;switch(e.value=n,t){case"brightness":o="light.hue.bri";break;case"temperature":o="light.hue.ct";break;case"xy":o="light.hue.xy";break}if(o)return s.groupAction(o,e,i)})).filter((t=>null!=t));await Promise.all(n),await this.refresh(!0)},async setScene(t){await this.groupAction("light.hue.scene",{name:this.scenes[t.sceneId].name,groups:[this.groups[t.groupId].name]},this.groups[t.groupId]),await this.refresh(!0)},async refresh(t){t||(this.loading=!0);try{[this.lights,this.groups,this.scenes,this.animations]=await Promise.all([this.getLights(),this.getGroups(),this.getScenes(),this.getAnimations()])}finally{t||(this.loading=!1)}},async startAnimation(t){await this.request("light.hue.animate",{lights:t.lights,...t.animation}),await this.refresh(!0)},async stopAnimation(){await this.request("light.hue.stop_animation"),await this.refresh(!0)},onLightChanged(t){this.lights[t.id].state={...this.lights[t.id].state,...t.state}}},mounted(){this.refresh()}},p=e(3744);const d=(0,p.Z)(c,[["render",n]]);var m=d}}]); +//# sourceMappingURL=3674.3c7517b4.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/3674.011836da.js.map b/platypush/backend/http/webapp/dist/static/js/3674.3c7517b4.js.map similarity index 99% rename from platypush/backend/http/webapp/dist/static/js/3674.011836da.js.map rename to platypush/backend/http/webapp/dist/static/js/3674.3c7517b4.js.map index 8aa21788b..8b26b3eda 100644 --- a/platypush/backend/http/webapp/dist/static/js/3674.011836da.js.map +++ b/platypush/backend/http/webapp/dist/static/js/3674.3c7517b4.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/3674.011836da.js","mappings":"gSACiB,EAAAA,UAAA,WAAf,QAA0B,aAA1B,gBACA,QAIyG,GAJ5F,cAAY,YAAaC,OAAQ,EAAAA,OAASC,OAAQ,EAAAA,OAASC,OAAQ,EAAAA,OAASC,OAAQ,EAAAA,OACnFC,WAAY,EAAAA,WAAa,gBAAe,EAAAC,aAAe,iBAAgB,EAAAC,cACvE,kBAAiB,EAAAC,eAAiB,cAAc,EAAAC,YAAc,eAAe,EAAAC,eAC7E,cAAc,EAAAC,YAAc,WAAW,EAAAC,SAAW,WAAW,EAAAC,SAAW,cAAc,EAAAC,SACtF,iBAAiB,EAAAC,eAAiB,gBAAgB,EAAAC,cAAgB,UAAO,eAAE,EAAAC,SAAO,KAJhG,mP,cCDF,GACEC,KAAM,QACNC,OACE,MAAO,CACLjB,OAAQ,GACRC,OAAQ,GACRC,OAAQ,GACRC,WAAY,GACZe,cAAe,GACfb,cAAe,KAInBc,SAAU,CACRC,eACE,OAAKC,KAAKpB,OAGHqB,OAAOC,QAAQF,KAAKpB,QAAQuB,QAAO,CAACvB,GAASwB,EAAIC,MACtDzB,EAAOyB,EAAMV,MAAQS,GAAM,IACtBC,EACHD,GAAIA,GAGCxB,IACN,IATM,KAab0B,QAAS,CACPC,WAAWC,GACT,MAAM5B,EAAS4B,EAASC,QAA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AAS,eACT,MAEF,IAAK,KACHA,EAAS,eACT,MAGJ,GAAIA,EACF,OAAOtC,EAAKgC,YAAYM,EAAQzB,EAAMpB,MACvCI,QAAQ0C,GAAe,MAAPA,UAEbC,QAAQC,IAAIN,SACZ/C,KAAKN,SAAQ,IAGrB6B,eAAeuB,SACP9C,KAAK4C,YAAY,kBAAoB,CACzCjD,KAAMK,KAAKnB,OAAOiE,EAAMS,SAAS5D,KACjCf,OAAQ,CAACoB,KAAKpB,OAAOkE,EAAMQ,SAAS3D,OACnCK,KAAKpB,OAAOkE,EAAMQ,gBAEftD,KAAKN,SAAQ,IAGrB6B,cAAciC,GACPA,IACHxD,KAAKvB,SAAU,GAEjB,KACGuB,KAAKrB,OAAQqB,KAAKpB,OAAQoB,KAAKnB,OAAQmB,KAAKlB,kBAAoBsE,QAAQC,IAAI,CAC3ErD,KAAKyD,YACLzD,KAAK0D,YACL1D,KAAK2D,YACL3D,KAAK4D,kBALT,QAQOJ,IACHxD,KAAKvB,SAAU,KAIrB8C,qBAAqBuB,SACb9C,KAAK0B,QAAQ,oBAAqB,CACtC/C,OAAQmE,EAAMnE,UACXmE,EAAMe,kBAGL7D,KAAKN,SAAQ,IAGrB6B,4BACQvB,KAAK0B,QAAQ,kCACb1B,KAAKN,SAAQ,IAGrBP,eAAe2D,GACb9C,KAAKrB,OAAOmE,EAAM1C,IAAI0D,MAAQ,IACzB9D,KAAKrB,OAAOmE,EAAM1C,IAAI0D,SACtBhB,EAAMgB,SAKfC,UACE/D,KAAKN,Y,UGhOT,MAAM,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASsE,KAEpE","sources":["webpack://platypush/./src/components/panels/LightHue/Index.vue","webpack://platypush/./src/components/panels/Light/Utils.vue","webpack://platypush/./src/components/panels/Light/Utils.vue?50cb","webpack://platypush/./src/components/panels/LightHue/Index.vue?9d94"],"sourcesContent":["\n\n\n","\n","import script from \"./Utils.vue?vue&type=script&lang=js\"\nexport * from \"./Utils.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=54ae8cdd\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["loading","config","lights","groups","scenes","animations","initialGroup","loadingGroups","colorConverter","toggleGroup","onLightChanged","toggleLight","setLight","setGroup","setScene","startAnimation","stopAnimation","refresh","name","data","loadingLights","computed","groupsByName","this","Object","entries","reduce","id","group","methods","_getGroups","groupIds","filter","length","values","self","map","_getLights","lightIds","setGroupsLoading","groupsIds","forEach","setLightsLoading","unsetGroupsLoading","light","unsetLightsLoading","async","action","args","request","__exports__","components","Loading","LightPlugin","mixins","props","type","default","hue","sat","bri","ct","keys","recycle","toLowerCase","obj","scene","groupAction","lightAction","event","requests","value","attr","method","req","Promise","all","groupId","sceneId","background","getLights","getGroups","getScenes","getAnimations","animation","state","mounted","render"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/3674.3c7517b4.js","mappings":"gSACiB,EAAAA,UAAA,WAAf,QAA0B,aAA1B,gBACA,QAIyG,GAJ5F,cAAY,YAAaC,OAAQ,EAAAA,OAASC,OAAQ,EAAAA,OAASC,OAAQ,EAAAA,OAASC,OAAQ,EAAAA,OACnFC,WAAY,EAAAA,WAAa,gBAAe,EAAAC,aAAe,iBAAgB,EAAAC,cACvE,kBAAiB,EAAAC,eAAiB,cAAc,EAAAC,YAAc,eAAe,EAAAC,eAC7E,cAAc,EAAAC,YAAc,WAAW,EAAAC,SAAW,WAAW,EAAAC,SAAW,cAAc,EAAAC,SACtF,iBAAiB,EAAAC,eAAiB,gBAAgB,EAAAC,cAAgB,UAAO,eAAE,EAAAC,SAAO,KAJhG,mP,aCDF,GACEC,KAAM,QACNC,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ACtBhB,EAAMgB,SAKfC,UACE/D,KAAKN,Y,UGhOT,MAAM,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASsE,KAEpE","sources":["webpack://platypush/./src/components/panels/LightHue/Index.vue","webpack://platypush/./src/components/panels/Light/Utils.vue","webpack://platypush/./src/components/panels/Light/Utils.vue?50cb","webpack://platypush/./src/components/panels/LightHue/Index.vue?9d94"],"sourcesContent":["\n\n\n","\n","import script from \"./Utils.vue?vue&type=script&lang=js\"\nexport * from \"./Utils.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=54ae8cdd\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["loading","config","lights","groups","scenes","animations","initialGroup","loadingGroups","colorConverter","toggleGroup","onLightChanged","toggleLight","setLight","setGroup","setScene","startAnimation","stopAnimation","refresh","name","data","loadingLights","computed","groupsByName","this","Object","entries","reduce","id","group","methods","_getGroups","groupIds","filter","length","values","self","map","_getLights","lightIds","setGroupsLoading","groupsIds","forEach","setLightsLoading","unsetGroupsLoading","light","unsetLightsLoading","async","action","args","request","__exports__","components","Loading","LightPlugin","mixins","props","type","default","hue","sat","bri","ct","keys","recycle","toLowerCase","obj","scene","groupAction","lightAction","event","requests","value","attr","method","req","Promise","all","groupId","sceneId","background","getLights","getGroups","getScenes","getAnimations","animation","state","mounted","render"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/3785-legacy.3401a917.js b/platypush/backend/http/webapp/dist/static/js/3785-legacy.3401a917.js new file mode 100644 index 000000000..ea6b65a3c --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/3785-legacy.3401a917.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3785],{6137:function(e,n,t){t.d(n,{Z:function(){return w}});var i=t(6252),o=t(3577),s=t(9963),c=function(e){return(0,i.dD)("data-v-8e097228"),e=e(),(0,i.Cn)(),e},l=["checked"],a=c((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),r={class:"label"};function u(e,n,t,c,u,d){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,s.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,l),(0,i._)("label",null,[a,(0,i._)("span",r,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=t(3744);const f=(0,v.Z)(d,[["render",u],["__scopeId","data-v-8e097228"]]);var w=f},4004:function(e,n,t){t.d(n,{Z:function(){return l}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(2628)),s={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,n){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==n&&(n=e),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:n});case 3:o=i.sent,t.devices[e].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=n.sent.reduce((function(e,n){var t,i=null!==(t=n.name)&&void 0!==t&&t.length?n.name:n.id;return e[i]=n,e}),{});case 5:return n.prev=5,e.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(n){n&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const c=s;var l=c},8671:function(e,n,t){t.d(n,{Z:function(){return _}});t(8309);var i=t(6252),o=t(9963),s=t(3577),c=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},l={class:"name col-l-10 col-m-9 col-s-8"},a=c((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),r=[a],u=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function v(e,n,t,c,a,v){var f=(0,i.up)("Loading"),w=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:n[1]||(n[1]=(0,o.iM)((function(){return v.onToggle&&v.onToggle.apply(v,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(f,{key:0})):(0,i.kq)("",!0),(0,i._)("div",l,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:n[0]||(n[0]=(0,o.iM)((function(){return v.onInfo&&v.onInfo.apply(v,arguments)}),["prevent"]))},r)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,s.zw)(t.name)},null,8,u)]),(0,i._)("div",d,[(0,i.Wm)(w,{disabled:t.loading,value:t.state,onInput:v.onToggle},null,8,["disabled","value","onInput"])])])}var f=t(6137),w=t(1232),h={name:"Switch",components:{Loading:w.Z,ToggleSwitch:f.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},p=t(3744);const g=(0,p.Z)(h,[["render",v],["__scopeId","data-v-38eb9831"]]);var _=g},3785:function(e,n,t){t.r(n),t.d(n,{default:function(){return K}});t(7941),t(8309);var i=t(6252),o=t(3577),s=function(e){return(0,i.dD)("data-v-e259fb36"),e=e(),(0,i.Cn)(),e},c={class:"switches tplink-switches"},l={key:1,class:"no-content"},a={key:0,class:"switch-info"},r={class:"row"},u=s((function(){return(0,i._)("div",{class:"name"},"Name",-1)})),d=["textContent"],v={class:"row"},f=s((function(){return(0,i._)("div",{class:"name"},"On",-1)})),w=["textContent"],h={class:"row"},p=s((function(){return(0,i._)("div",{class:"name"},"IP",-1)})),g=["textContent"],_={key:0,class:"row"},m=s((function(){return(0,i._)("div",{class:"name"},"MAC",-1)})),D=["textContent"],k={key:1,class:"row"},C=s((function(){return(0,i._)("div",{class:"name"},"Current Consumption",-1)})),y=["textContent"],x={key:2,class:"row"},I=s((function(){return(0,i._)("div",{class:"name"},"Device Type",-1)})),b=["textContent"],q={key:3,class:"row"},Z=s((function(){return(0,i._)("div",{class:"name"},"Firmware ID",-1)})),z=["textContent"],S={key:4,class:"row"},T=s((function(){return(0,i._)("div",{class:"name"},"Hardware ID",-1)})),M=["textContent"],R={key:5,class:"row"},j=s((function(){return(0,i._)("div",{class:"name"},"Hardware Version",-1)})),B=["textContent"],N={key:6,class:"row"},$=s((function(){return(0,i._)("div",{class:"name"},"Software Version",-1)})),L=["textContent"];function O(e,n,t,s,O,P){var E=(0,i.up)("Loading"),H=(0,i.up)("Switch"),W=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",c,[e.loading?((0,i.wg)(),(0,i.j4)(E,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",l,"No TP-Link switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(n,t){return(0,i.wg)(),(0,i.j4)(H,{loading:e.loading,name:t,state:n.on,onToggle:function(n){return e.toggle(t)},key:t,"has-info":!0,onInfo:function(n){e.selectedDevice=t,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])})),128)),(0,i.Wm)(W,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((function(){var n,t,s,c,l,O;return[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",a,[(0,i._)("div",r,[u,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].name)},null,8,d)]),(0,i._)("div",v,[f,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].on)},null,8,w)]),(0,i._)("div",h,[p,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].ip)},null,8,g)]),null!==(n=e.devices[e.selectedDevice].hw_info)&&void 0!==n&&n.mac?((0,i.wg)(),(0,i.iD)("div",_,[m,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.mac)},null,8,D)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].current_consumption?((0,i.wg)(),(0,i.iD)("div",k,[C,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].current_consumption)},null,8,y)])):(0,i.kq)("",!0),null!==(t=e.devices[e.selectedDevice].hw_info)&&void 0!==t&&t.dev_name?((0,i.wg)(),(0,i.iD)("div",x,[I,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.dev_name)},null,8,b)])):(0,i.kq)("",!0),null!==(s=e.devices[e.selectedDevice].hw_info)&&void 0!==s&&s.fwId?((0,i.wg)(),(0,i.iD)("div",q,[Z,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.fwId)},null,8,z)])):(0,i.kq)("",!0),null!==(c=e.devices[e.selectedDevice].hw_info)&&void 0!==c&&c.hwId?((0,i.wg)(),(0,i.iD)("div",S,[T,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.hwId)},null,8,M)])):(0,i.kq)("",!0),null!==(l=e.devices[e.selectedDevice].hw_info)&&void 0!==l&&l.hw_ver?((0,i.wg)(),(0,i.iD)("div",R,[j,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.hw_ver)},null,8,B)])):(0,i.kq)("",!0),null!==(O=e.devices[e.selectedDevice].hw_info)&&void 0!==O&&O.sw_ver?((0,i.wg)(),(0,i.iD)("div",N,[$,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.sw_ver)},null,8,L)])):(0,i.kq)("",!0)])):(0,i.kq)("",!0)]})),_:1},512)])}var P=t(1232),E=t(4004),H=t(8671),W=t(9642),V={name:"SwitchTplink",components:{Modal:W.Z,Switch:H.Z,Loading:P.Z},mixins:[E.Z]},A=t(3744);const F=(0,A.Z)(V,[["render",O],["__scopeId","data-v-e259fb36"]]);var K=F}}]); +//# sourceMappingURL=3785-legacy.3401a917.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/3785-legacy.3401a917.js.map b/platypush/backend/http/webapp/dist/static/js/3785-legacy.3401a917.js.map new file mode 100644 index 000000000..a205ed455 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/3785-legacy.3401a917.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/3785-legacy.3401a917.js","mappings":"6RAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,M,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,wCAAO,EAAAC,SAAA,EAAAA,QAAA,qBAAO,YAA5E,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,EAA9B,QAAC,EAAA6B,gBAAgBkC,QAAQI,OAA3D,cAFF,eAK+C,QAc3C,EAdmB,EAAArC,QAAQ,EAAAD,gBAAgBkC,eAAA,OAAxB,EAAiCK,OAAA,WAAxD,QAGM,MAHN,EAGM,CAFJ,GACA,OAAmE,OAA9DpE,MAAM,Q,aAAQ,QAA6C,EAA9B,QAAC,EAAA6B,gBAAgBkC,QAAQK,OAA3D,cAFF,eAK+C,QAS3C,EATmB,EAAAtC,QAAQ,EAAAD,gBAAgBkC,eAAA,OAAxB,EAAiCM,SAAA,WAAxD,QAGM,MAHN,EAGM,CAFJ,GACA,OAAqE,OAAhErE,MAAM,Q,aAAQ,QAA+C,EAAhC,QAAC,EAAA6B,gBAAgBkC,QAAQM,SAA3D,cAFF,eAK+C,QAI3C,EAJmB,EAAAvC,QAAQ,EAAAD,gBAAgBkC,eAAA,OAAxB,EAAiCO,SAAA,WAAxD,QAGM,MAHN,EAGM,CAFJ,GACA,OAAqE,OAAhEtE,MAAM,Q,aAAQ,QAA+C,EAAhC,QAAC,EAAA6B,gBAAgBkC,QAAQO,SAA3D,cAFF,mBA9CF,mB,KADF,O,4CA8DJ,GACEhE,KAAM,eACN6C,WAAY,CAACoB,MAAAA,EAAA,EAAOC,OAAAA,EAAA,EAAQpB,QAAAA,EAAA,GAC5BnC,OAAQ,CAAC,M,UCnEX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchTplink/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchTplink/Index.vue?8843"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=e259fb36&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=e259fb36&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e259fb36\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","key","$refs","switchInfoModal","show","title","ref","ip","hw_info","mac","current_consumption","dev_name","fwId","hwId","hw_ver","sw_ver","Modal","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/3785-legacy.cbdaa7cb.js b/platypush/backend/http/webapp/dist/static/js/3785-legacy.cbdaa7cb.js deleted file mode 100644 index 9c031b791..000000000 --- a/platypush/backend/http/webapp/dist/static/js/3785-legacy.cbdaa7cb.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3785],{3567:function(e,n,t){t.d(n,{Z:function(){return f}});var i=t(6252),o=t(3577),s=function(e){return(0,i.dD)("data-v-8fae7678"),e=e(),(0,i.Cn)(),e},c=["checked"],l=s((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),a={class:"label"};function r(e,n,t,s,r,u){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=function(){return u.onInput&&u.onInput.apply(u,arguments)})},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,c),(0,i._)("label",null,[l,(0,i._)("span",a,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},d=t(3744);const v=(0,d.Z)(u,[["render",r],["__scopeId","data-v-8fae7678"]]);var f=v},4004:function(e,n,t){t.d(n,{Z:function(){return l}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(2628)),s={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,n){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==n&&(n=e),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:n});case 3:o=i.sent,t.devices[e].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=n.sent.reduce((function(e,n){var t,i=null!==(t=n.name)&&void 0!==t&&t.length?n.name:n.id;return e[i]=n,e}),{});case 5:return n.prev=5,e.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(n){n&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const c=s;var l=c},8671:function(e,n,t){t.d(n,{Z:function(){return _}});t(8309);var i=t(6252),o=t(9963),s=t(3577),c=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},l={class:"name col-l-10 col-m-9 col-s-8"},a=c((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),r=[a],u=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function v(e,n,t,c,a,v){var f=(0,i.up)("Loading"),w=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:n[1]||(n[1]=(0,o.iM)((function(){return v.onToggle&&v.onToggle.apply(v,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(f,{key:0})):(0,i.kq)("",!0),(0,i._)("div",l,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:n[0]||(n[0]=(0,o.iM)((function(){return v.onInfo&&v.onInfo.apply(v,arguments)}),["prevent"]))},r)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,s.zw)(t.name)},null,8,u)]),(0,i._)("div",d,[(0,i.Wm)(w,{disabled:t.loading,value:t.state,onInput:v.onToggle},null,8,["disabled","value","onInput"])])])}var f=t(3567),w=t(1232),h={name:"Switch",components:{Loading:w.Z,ToggleSwitch:f.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},p=t(3744);const g=(0,p.Z)(h,[["render",v],["__scopeId","data-v-38eb9831"]]);var _=g},3785:function(e,n,t){t.r(n),t.d(n,{default:function(){return K}});t(7941),t(8309);var i=t(6252),o=t(3577),s=function(e){return(0,i.dD)("data-v-e259fb36"),e=e(),(0,i.Cn)(),e},c={class:"switches tplink-switches"},l={key:1,class:"no-content"},a={key:0,class:"switch-info"},r={class:"row"},u=s((function(){return(0,i._)("div",{class:"name"},"Name",-1)})),d=["textContent"],v={class:"row"},f=s((function(){return(0,i._)("div",{class:"name"},"On",-1)})),w=["textContent"],h={class:"row"},p=s((function(){return(0,i._)("div",{class:"name"},"IP",-1)})),g=["textContent"],_={key:0,class:"row"},m=s((function(){return(0,i._)("div",{class:"name"},"MAC",-1)})),D=["textContent"],k={key:1,class:"row"},C=s((function(){return(0,i._)("div",{class:"name"},"Current Consumption",-1)})),y=["textContent"],x={key:2,class:"row"},I=s((function(){return(0,i._)("div",{class:"name"},"Device Type",-1)})),b=["textContent"],q={key:3,class:"row"},Z=s((function(){return(0,i._)("div",{class:"name"},"Firmware ID",-1)})),z=["textContent"],S={key:4,class:"row"},T=s((function(){return(0,i._)("div",{class:"name"},"Hardware ID",-1)})),M=["textContent"],R={key:5,class:"row"},j=s((function(){return(0,i._)("div",{class:"name"},"Hardware Version",-1)})),B=["textContent"],N={key:6,class:"row"},$=s((function(){return(0,i._)("div",{class:"name"},"Software Version",-1)})),L=["textContent"];function P(e,n,t,s,P,O){var E=(0,i.up)("Loading"),H=(0,i.up)("Switch"),W=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",c,[e.loading?((0,i.wg)(),(0,i.j4)(E,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",l,"No TP-Link switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(n,t){return(0,i.wg)(),(0,i.j4)(H,{loading:e.loading,name:t,state:n.on,onToggle:function(n){return e.toggle(t)},key:t,"has-info":!0,onInfo:function(n){e.selectedDevice=t,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])})),128)),(0,i.Wm)(W,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((function(){var n,t,s,c,l,P;return[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",a,[(0,i._)("div",r,[u,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].name)},null,8,d)]),(0,i._)("div",v,[f,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].on)},null,8,w)]),(0,i._)("div",h,[p,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].ip)},null,8,g)]),null!==(n=e.devices[e.selectedDevice].hw_info)&&void 0!==n&&n.mac?((0,i.wg)(),(0,i.iD)("div",_,[m,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.mac)},null,8,D)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].current_consumption?((0,i.wg)(),(0,i.iD)("div",k,[C,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].current_consumption)},null,8,y)])):(0,i.kq)("",!0),null!==(t=e.devices[e.selectedDevice].hw_info)&&void 0!==t&&t.dev_name?((0,i.wg)(),(0,i.iD)("div",x,[I,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.dev_name)},null,8,b)])):(0,i.kq)("",!0),null!==(s=e.devices[e.selectedDevice].hw_info)&&void 0!==s&&s.fwId?((0,i.wg)(),(0,i.iD)("div",q,[Z,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.fwId)},null,8,z)])):(0,i.kq)("",!0),null!==(c=e.devices[e.selectedDevice].hw_info)&&void 0!==c&&c.hwId?((0,i.wg)(),(0,i.iD)("div",S,[T,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.hwId)},null,8,M)])):(0,i.kq)("",!0),null!==(l=e.devices[e.selectedDevice].hw_info)&&void 0!==l&&l.hw_ver?((0,i.wg)(),(0,i.iD)("div",R,[j,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.hw_ver)},null,8,B)])):(0,i.kq)("",!0),null!==(P=e.devices[e.selectedDevice].hw_info)&&void 0!==P&&P.sw_ver?((0,i.wg)(),(0,i.iD)("div",N,[$,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].hw_info.sw_ver)},null,8,L)])):(0,i.kq)("",!0)])):(0,i.kq)("",!0)]})),_:1},512)])}var O=t(1232),E=t(4004),H=t(8671),W=t(9642),V={name:"SwitchTplink",components:{Modal:W.Z,Switch:H.Z,Loading:O.Z},mixins:[E.Z]},A=t(3744);const F=(0,A.Z)(V,[["render",P],["__scopeId","data-v-e259fb36"]]);var K=F}}]); -//# sourceMappingURL=3785-legacy.cbdaa7cb.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/3785-legacy.cbdaa7cb.js.map b/platypush/backend/http/webapp/dist/static/js/3785-legacy.cbdaa7cb.js.map deleted file mode 100644 index 27e7c9aca..000000000 --- a/platypush/backend/http/webapp/dist/static/js/3785-legacy.cbdaa7cb.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/3785-legacy.cbdaa7cb.js","mappings":"mRAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,M,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAE,EAAAC,SAAA,EAAAA,QAAA,sBAAhE,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QADO,SACCU,GAEN,GADAA,EAAMC,kBACFC,KAAKb,SACP,OAAO,EAETa,KAAKC,MAAM,QAASH,M,UC/B1B,MAAMI,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S,uGCNA,GACEX,KAAM,gBACNY,OAAQ,CAACC,EAAA,GAETX,MAAO,CACLY,WAAY,CACVjB,KAAMkB,OACNC,UAAU,GAGZC,IAAK,CACHpB,KAAMqB,OACNF,UAAU,GAGZG,OAAQ,CACNtB,KAAMqB,OACNd,QAAS,WAAQ,MAAO,KAG1BgB,SAAU,CACRvB,KAAMM,QACNC,SAAS,IAIbiB,KA1Ba,WA2BX,MAAO,CACLC,SAAS,EACTC,aAAa,EACbC,eAAgB,KAChBC,QAAS,KAIbpB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,WAAY,CAACmB,MAAAA,EAAA,EAAOC,OAAAA,EAAA,EAAQnB,QAAAA,EAAA,GAC5BnC,OAAQ,CAAC,M,UCnEX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchTplink/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchTplink/Index.vue?8843"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=e259fb36&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=e259fb36&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e259fb36\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","stopPropagation","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","keys","key","$refs","switchInfoModal","show","title","ref","ip","hw_info","mac","current_consumption","dev_name","fwId","hwId","hw_ver","sw_ver","Modal","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/3785.4e8ba117.js b/platypush/backend/http/webapp/dist/static/js/3785.4e8ba117.js deleted file mode 100644 index b2016a245..000000000 --- a/platypush/backend/http/webapp/dist/static/js/3785.4e8ba117.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3785],{3567:function(e,t,n){n.d(t,{Z:function(){return w}});var i=n(6252),s=n(3577);const o=e=>((0,i.dD)("data-v-8fae7678"),e=e(),(0,i.Cn)(),e),l=["checked"],a=o((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),c={class:"label"};function d(e,t,n,o,d,v){return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(...e)=>v.onInput&&v.onInput(...e))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,l),(0,i._)("label",null,[a,(0,i._)("span",c,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var v={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},u=n(3744);const r=(0,u.Z)(v,[["render",d],["__scopeId","data-v-8fae7678"]]);var w=r},4004:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(2628),s={name:"SwitchesMixin",mixins:[i.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const o=s;var l=o},8671:function(e,t,n){n.d(t,{Z:function(){return _}});var i=n(6252),s=n(9963),o=n(3577);const l=e=>((0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e),a={class:"name col-l-10 col-m-9 col-s-8"},c=l((()=>(0,i._)("i",{class:"fa fa-info"},null,-1))),d=[c],v=["textContent"],u={class:"toggler col-l-2 col-m-3 col-s-4"};function r(e,t,n,l,c,r){const w=(0,i.up)("Loading"),h=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,s.iM)(((...e)=>r.onToggle&&r.onToggle(...e)),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(w,{key:0})):(0,i.kq)("",!0),(0,i._)("div",a,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,s.iM)(((...e)=>r.onInfo&&r.onInfo(...e)),["prevent"]))},d)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,o.zw)(n.name)},null,8,v)]),(0,i._)("div",u,[(0,i.Wm)(h,{disabled:n.loading,value:n.state,onInput:r.onToggle},null,8,["disabled","value","onInput"])])])}var w=n(3567),h=n(1232),f={name:"Switch",components:{Loading:h.Z,ToggleSwitch:w.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},g=n(3744);const p=(0,g.Z)(f,[["render",r],["__scopeId","data-v-38eb9831"]]);var _=p},3785:function(e,t,n){n.r(t),n.d(t,{default:function(){return K}});var i=n(6252),s=n(3577);const o=e=>((0,i.dD)("data-v-e259fb36"),e=e(),(0,i.Cn)(),e),l={class:"switches tplink-switches"},a={key:1,class:"no-content"},c={key:0,class:"switch-info"},d={class:"row"},v=o((()=>(0,i._)("div",{class:"name"},"Name",-1))),u=["textContent"],r={class:"row"},w=o((()=>(0,i._)("div",{class:"name"},"On",-1))),h=["textContent"],f={class:"row"},g=o((()=>(0,i._)("div",{class:"name"},"IP",-1))),p=["textContent"],_={key:0,class:"row"},m=o((()=>(0,i._)("div",{class:"name"},"MAC",-1))),D=["textContent"],k={key:1,class:"row"},C=o((()=>(0,i._)("div",{class:"name"},"Current Consumption",-1))),y=["textContent"],x={key:2,class:"row"},I=o((()=>(0,i._)("div",{class:"name"},"Device Type",-1))),b=["textContent"],q={key:3,class:"row"},z=o((()=>(0,i._)("div",{class:"name"},"Firmware ID",-1))),Z=["textContent"],S={key:4,class:"row"},T=o((()=>(0,i._)("div",{class:"name"},"Hardware ID",-1))),M=["textContent"],$={key:5,class:"row"},j=o((()=>(0,i._)("div",{class:"name"},"Hardware Version",-1))),B=["textContent"],N={key:6,class:"row"},L=o((()=>(0,i._)("div",{class:"name"},"Software Version",-1))),P=["textContent"];function O(e,t,n,o,O,E){const H=(0,i.up)("Loading"),R=(0,i.up)("Switch"),W=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",l,[e.loading?((0,i.wg)(),(0,i.j4)(H,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,"No TP-Link switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,((t,n)=>((0,i.wg)(),(0,i.j4)(R,{loading:e.loading,name:n,state:t.on,onToggle:t=>e.toggle(n),key:n,"has-info":!0,onInfo:t=>{e.selectedDevice=n,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])))),128)),(0,i.Wm)(W,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((()=>[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",c,[(0,i._)("div",d,[v,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].name)},null,8,u)]),(0,i._)("div",r,[w,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].on)},null,8,h)]),(0,i._)("div",f,[g,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].ip)},null,8,p)]),e.devices[e.selectedDevice].hw_info?.mac?((0,i.wg)(),(0,i.iD)("div",_,[m,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.mac)},null,8,D)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].current_consumption?((0,i.wg)(),(0,i.iD)("div",k,[C,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].current_consumption)},null,8,y)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.dev_name?((0,i.wg)(),(0,i.iD)("div",x,[I,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.dev_name)},null,8,b)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.fwId?((0,i.wg)(),(0,i.iD)("div",q,[z,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.fwId)},null,8,Z)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.hwId?((0,i.wg)(),(0,i.iD)("div",S,[T,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.hwId)},null,8,M)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.hw_ver?((0,i.wg)(),(0,i.iD)("div",$,[j,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.hw_ver)},null,8,B)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.sw_ver?((0,i.wg)(),(0,i.iD)("div",N,[L,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.sw_ver)},null,8,P)])):(0,i.kq)("",!0)])):(0,i.kq)("",!0)])),_:1},512)])}var E=n(1232),H=n(4004),R=n(8671),W=n(9642),V={name:"SwitchTplink",components:{Modal:W.Z,Switch:R.Z,Loading:E.Z},mixins:[H.Z]},A=n(3744);const F=(0,A.Z)(V,[["render",O],["__scopeId","data-v-e259fb36"]]);var K=F}}]); -//# sourceMappingURL=3785.4e8ba117.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/3785.4e8ba117.js.map b/platypush/backend/http/webapp/dist/static/js/3785.4e8ba117.js.map deleted file mode 100644 index 65e582771..000000000 --- a/platypush/backend/http/webapp/dist/static/js/3785.4e8ba117.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/3785.4e8ba117.js","mappings":"8PAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,oBAAE,EAAAC,SAAA,EAAAA,WAAA,KAAhE,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QAAQU,GAEN,GADAA,EAAMC,kBACFC,KAAKb,SACP,OAAO,EAETa,KAAKC,MAAM,QAASH,M,UC/B1B,MAAMI,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S,mECNA,GACEX,KAAM,gBACNY,OAAQ,CAACC,EAAA,GAETX,MAAO,CACLY,WAAY,CACVjB,KAAMkB,OACNC,UAAU,GAGZC,IAAK,CACHpB,KAAMqB,OACNF,UAAU,GAGZG,OAAQ,CACNtB,KAAMqB,OACNd,QAAS,KAAe,KAG1BgB,SAAU,CACRvB,KAAMM,QACNC,SAAS,IAIbiB,OACE,MAAO,CACLC,SAAS,EACTC,aAAa,EACbC,eAAgB,KAChBC,QAAS,KAIbpB,QAAS,CACPqB,eAAeZ,GACTA,IAAeN,KAAKM,YAGxBN,KAAKmB,WAGPC,aAAaC,EAAQC,GACT,MAANA,IACFA,EAAKD,GAEP,MAAME,QAAiBvB,KAAKwB,QAAS,GAAExB,KAAKM,oBAAqB,CAACe,OAAQC,IAC1EtB,KA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,CAFJ,GACA,OAAmE,OAA9DpE,MAAM,Q,aAAQ,QAA6C,EAA9B,QAAC,EAAA8B,gBAAgBkC,QAAQI,OAA3D,cAFF,eAKuB,EAAArC,QAAQ,EAAAD,gBAAgBkC,SAASK,OAAA,WAAxD,QAGM,MAHN,EAGM,CAFJ,GACA,OAAmE,OAA9DrE,MAAM,Q,aAAQ,QAA6C,EAA9B,QAAC,EAAA8B,gBAAgBkC,QAAQK,OAA3D,cAFF,eAKuB,EAAAtC,QAAQ,EAAAD,gBAAgBkC,SAASM,SAAA,WAAxD,QAGM,MAHN,EAGM,CAFJ,GACA,OAAqE,OAAhEtE,MAAM,Q,aAAQ,QAA+C,EAAhC,QAAC,EAAA8B,gBAAgBkC,QAAQM,SAA3D,cAFF,eAKuB,EAAAvC,QAAQ,EAAAD,gBAAgBkC,SAASO,SAAA,WAAxD,QAGM,MAHN,EAGM,CAFJ,GACA,OAAqE,OAAhEvE,MAAM,Q,aAAQ,QAA+C,EAAhC,QAAC,EAAA8B,gBAAgBkC,QAAQO,SAA3D,cAFF,mBA9CF,kB,KADF,O,4CA8DJ,GACEjE,KAAM,eACN8C,WAAY,CAACoB,MAAD,IAAQC,OAAR,IAAgBpB,QAAO,KACnCnC,OAAQ,CAAC,M,UCnEX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchTplink/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchTplink/Index.vue?8843"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=e259fb36&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=e259fb36&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e259fb36\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","stopPropagation","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","keys","toggle","key","$refs","switchInfoModal","show","title","ref","ip","hw_info","mac","current_consumption","dev_name","fwId","hwId","hw_ver","sw_ver","Modal","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/3785.8c572e27.js b/platypush/backend/http/webapp/dist/static/js/3785.8c572e27.js new file mode 100644 index 000000000..730a6b1ee --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/3785.8c572e27.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3785],{6137:function(e,t,n){n.d(t,{Z:function(){return h}});var i=n(6252),s=n(3577),o=n(9963);const l=e=>((0,i.dD)("data-v-8e097228"),e=e(),(0,i.Cn)(),e),a=["checked"],c=l((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),d={class:"label"};function v(e,t,n,l,v,u){return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,o.iM)(((...e)=>u.onInput&&u.onInput(...e)),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,a),(0,i._)("label",null,[c,(0,i._)("span",d,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},r=n(3744);const w=(0,r.Z)(u,[["render",v],["__scopeId","data-v-8e097228"]]);var h=w},4004:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(2628),s={name:"SwitchesMixin",mixins:[i.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const o=s;var l=o},8671:function(e,t,n){n.d(t,{Z:function(){return _}});var i=n(6252),s=n(9963),o=n(3577);const l=e=>((0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e),a={class:"name col-l-10 col-m-9 col-s-8"},c=l((()=>(0,i._)("i",{class:"fa fa-info"},null,-1))),d=[c],v=["textContent"],u={class:"toggler col-l-2 col-m-3 col-s-4"};function r(e,t,n,l,c,r){const w=(0,i.up)("Loading"),h=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,s.iM)(((...e)=>r.onToggle&&r.onToggle(...e)),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(w,{key:0})):(0,i.kq)("",!0),(0,i._)("div",a,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,s.iM)(((...e)=>r.onInfo&&r.onInfo(...e)),["prevent"]))},d)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,o.zw)(n.name)},null,8,v)]),(0,i._)("div",u,[(0,i.Wm)(h,{disabled:n.loading,value:n.state,onInput:r.onToggle},null,8,["disabled","value","onInput"])])])}var w=n(6137),h=n(1232),f={name:"Switch",components:{Loading:h.Z,ToggleSwitch:w.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},g=n(3744);const p=(0,g.Z)(f,[["render",r],["__scopeId","data-v-38eb9831"]]);var _=p},3785:function(e,t,n){n.r(t),n.d(t,{default:function(){return K}});var i=n(6252),s=n(3577);const o=e=>((0,i.dD)("data-v-e259fb36"),e=e(),(0,i.Cn)(),e),l={class:"switches tplink-switches"},a={key:1,class:"no-content"},c={key:0,class:"switch-info"},d={class:"row"},v=o((()=>(0,i._)("div",{class:"name"},"Name",-1))),u=["textContent"],r={class:"row"},w=o((()=>(0,i._)("div",{class:"name"},"On",-1))),h=["textContent"],f={class:"row"},g=o((()=>(0,i._)("div",{class:"name"},"IP",-1))),p=["textContent"],_={key:0,class:"row"},m=o((()=>(0,i._)("div",{class:"name"},"MAC",-1))),D=["textContent"],k={key:1,class:"row"},C=o((()=>(0,i._)("div",{class:"name"},"Current Consumption",-1))),y=["textContent"],x={key:2,class:"row"},I=o((()=>(0,i._)("div",{class:"name"},"Device Type",-1))),b=["textContent"],q={key:3,class:"row"},z=o((()=>(0,i._)("div",{class:"name"},"Firmware ID",-1))),Z=["textContent"],S={key:4,class:"row"},T=o((()=>(0,i._)("div",{class:"name"},"Hardware ID",-1))),M=["textContent"],$={key:5,class:"row"},j=o((()=>(0,i._)("div",{class:"name"},"Hardware Version",-1))),B=["textContent"],N={key:6,class:"row"},L=o((()=>(0,i._)("div",{class:"name"},"Software Version",-1))),O=["textContent"];function P(e,t,n,o,P,E){const H=(0,i.up)("Loading"),R=(0,i.up)("Switch"),W=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",l,[e.loading?((0,i.wg)(),(0,i.j4)(H,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,"No TP-Link switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,((t,n)=>((0,i.wg)(),(0,i.j4)(R,{loading:e.loading,name:n,state:t.on,onToggle:t=>e.toggle(n),key:n,"has-info":!0,onInfo:t=>{e.selectedDevice=n,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])))),128)),(0,i.Wm)(W,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((()=>[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",c,[(0,i._)("div",d,[v,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].name)},null,8,u)]),(0,i._)("div",r,[w,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].on)},null,8,h)]),(0,i._)("div",f,[g,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].ip)},null,8,p)]),e.devices[e.selectedDevice].hw_info?.mac?((0,i.wg)(),(0,i.iD)("div",_,[m,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.mac)},null,8,D)])):(0,i.kq)("",!0),null!=e.devices[e.selectedDevice].current_consumption?((0,i.wg)(),(0,i.iD)("div",k,[C,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].current_consumption)},null,8,y)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.dev_name?((0,i.wg)(),(0,i.iD)("div",x,[I,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.dev_name)},null,8,b)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.fwId?((0,i.wg)(),(0,i.iD)("div",q,[z,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.fwId)},null,8,Z)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.hwId?((0,i.wg)(),(0,i.iD)("div",S,[T,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.hwId)},null,8,M)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.hw_ver?((0,i.wg)(),(0,i.iD)("div",$,[j,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.hw_ver)},null,8,B)])):(0,i.kq)("",!0),e.devices[e.selectedDevice].hw_info?.sw_ver?((0,i.wg)(),(0,i.iD)("div",N,[L,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].hw_info.sw_ver)},null,8,O)])):(0,i.kq)("",!0)])):(0,i.kq)("",!0)])),_:1},512)])}var E=n(1232),H=n(4004),R=n(8671),W=n(9642),V={name:"SwitchTplink",components:{Modal:W.Z,Switch:R.Z,Loading:E.Z},mixins:[H.Z]},A=n(3744);const F=(0,A.Z)(V,[["render",P],["__scopeId","data-v-e259fb36"]]);var K=F}}]); +//# sourceMappingURL=3785.8c572e27.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/3785.8c572e27.js.map b/platypush/backend/http/webapp/dist/static/js/3785.8c572e27.js.map new file mode 100644 index 000000000..3d4726c02 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/3785.8c572e27.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/3785.8c572e27.js","mappings":"wQAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAO,EAAAC,SAAA,EAAAA,WAAA,IAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,K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HN,EAGM,CAFJ,GACA,OAAqE,OAAhEvE,MAAM,Q,aAAQ,QAA+C,EAAhC,QAAC,EAAA6B,gBAAgBmC,QAAQO,SAA3D,cAFF,mBA9CF,kB,KADF,O,4CA8DJ,GACEjE,KAAM,eACN6C,WAAY,CAACqB,MAAD,IAAQC,OAAR,IAAgBrB,QAAO,KACnCnC,OAAQ,CAAC,M,UCnEX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchTplink/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchTplink/Index.vue?8843"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=e259fb36&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=e259fb36&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e259fb36\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","toggle","key","$refs","switchInfoModal","show","title","ref","ip","hw_info","mac","current_consumption","dev_name","fwId","hwId","hw_ver","sw_ver","Modal","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4276-legacy.6b94488f.js b/platypush/backend/http/webapp/dist/static/js/4276-legacy.9ed76a69.js similarity index 88% rename from platypush/backend/http/webapp/dist/static/js/4276-legacy.6b94488f.js rename to platypush/backend/http/webapp/dist/static/js/4276-legacy.9ed76a69.js index b91381b20..7f37becdf 100644 --- a/platypush/backend/http/webapp/dist/static/js/4276-legacy.6b94488f.js +++ b/platypush/backend/http/webapp/dist/static/js/4276-legacy.9ed76a69.js @@ -1,2 +1,2 @@ -(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4276],{4276:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return R}});t(7941);var i=t(6252),r=t(3577),s=t(9963),u=function(e){return(0,i.dD)("data-v-eac2ea44"),e=e(),(0,i.Cn)(),e},c={class:"switches-container"},l={class:"switch-plugins"},o={key:0,class:"no-content"},a=["onClick"],d=["textContent"],p={key:0,class:"refresh col-2"},f=["onClick","disabled"],g=u((function(){return(0,i._)("i",{class:"fa fa-sync"},null,-1)})),h=[g],w={class:"refresh-button"},v=["disabled"],m=u((function(){return(0,i._)("i",{class:"fa fa-sync"},null,-1)})),k=[m];function b(e,n,t,u,g,m){var b=(0,i.up)("Loading");return(0,i.wg)(),(0,i.iD)("div",c,[g.loading?((0,i.wg)(),(0,i.j4)(b,{key:0})):(0,i.kq)("",!0),(0,i._)("div",l,[Object.keys(g.plugins).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",o,"No switch plugins configured")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(Object.keys(g.plugins),(function(e){return(0,i.wg)(),(0,i.iD)("div",{class:"switch-plugin",key:e,onClick:function(n){return g.selectedPlugin=g.selectedPlugin===e?null:e}},[(0,i._)("div",{class:(0,r.C_)(["header",{selected:g.selectedPlugin===e}])},[(0,i._)("div",{class:"name col-10",textContent:(0,r.zw)(e)},null,8,d),g.selectedPlugin===e?((0,i.wg)(),(0,i.iD)("div",p,[(0,i._)("button",{onClick:(0,s.iM)((function(n){return g.bus.emit("refresh",e)}),["stop"]),title:"Refresh plugin",disabled:g.loading},h,8,f)])):(0,i.kq)("",!0)],2),(0,i._)("div",{class:(0,r.C_)(["body",{hidden:g.selectedPlugin!==e}])},[((0,i.wg)(),(0,i.j4)((0,i.LL)(g.components[e]),{config:g.plugins[e],"plugin-name":e,selected:g.selectedPlugin===e,bus:g.bus},null,8,["config","plugin-name","selected","bus"]))],2)],8,a)})),128))]),(0,i._)("div",w,[(0,i._)("button",{onClick:n[0]||(n[0]=function(){return m.refresh&&m.refresh.apply(m,arguments)}),disabled:g.loading,title:"Refresh plugins"},k,8,v)])])}var x=t(8534),_=(t(5666),t(1539),t(4747),t(9600),t(1249),t(4916),t(3123),t(7042),t(8783),t(3948),t(1232)),y=t(2628),C=t(9652),I={name:"Switches",components:{Loading:_.Z},mixins:[y.Z],data:function(){return{loading:!1,plugins:{},components:{},selectedPlugin:null,bus:(0,C.Z)()}},methods:{initPanels:function(){var e=this;this.components={},Object.keys(this.plugins).forEach(function(){var n=(0,x.Z)(regeneratorRuntime.mark((function n(r){var s,u,c;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return s=r.split(".").map((function(e){return e[0].toUpperCase()+e.slice(1)})).join(""),u=null,n.prev=2,n.next=5,t(6371)("./".concat(s,"/Index"));case 5:u=n.sent,n.next=11;break;case 8:return n.prev=8,n.t0=n["catch"](2),n.abrupt("return");case 11:c=(0,i.RC)((0,x.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",u);case 1:case"end":return e.stop()}}),e)})))),e.$options.components[r]=c,e.components[r]=c;case 14:case"end":return n.stop()}}),n,null,[[2,8]])})));return function(e){return n.apply(this,arguments)}}())},refresh:function(){var e=this;return(0,x.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("utils.get_switch_plugins");case 4:e.plugins=n.sent,e.initPanels();case 6:return n.prev=6,e.loading=!1,n.finish(6);case 9:case"end":return n.stop()}}),n,null,[[1,,6,9]])})))()}},mounted:function(){this.refresh()}},P=t(3744);const Z=(0,P.Z)(I,[["render",b],["__scopeId","data-v-eac2ea44"]]);var R=Z},6371:function(e,n,t){var i={"./LightHue/Index":[2844,7373,6590,2844],"./Smartthings/Index":[9196,7373,6590,9196],"./SwitchTplink/Index":[3785,7373,6590,3785],"./SwitchWemo/Index":[5210,7373,6590,5210],"./Switchbot/Index":[9694,7373,6590,9694],"./SwitchbotBluetooth/Index":[9694,7373,6590,9694],"./ZigbeeMqtt/Index":[5466,7373,6590,5466],"./Zwave/Index":[7262,7373,6590,7262],"./ZwaveMqtt/Index":[2380,7373,6590,2380]};function r(e){if(!t.o(i,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=i[e],r=n[0];return Promise.all(n.slice(1).map(t.e)).then((function(){return t(r)}))}r.keys=function(){return Object.keys(i)},r.id=6371,e.exports=r}}]); -//# sourceMappingURL=4276-legacy.6b94488f.js.map \ No newline at end of file +(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4276],{4276:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return R}});t(7941);var i=t(6252),r=t(3577),s=t(9963),u=function(e){return(0,i.dD)("data-v-eac2ea44"),e=e(),(0,i.Cn)(),e},c={class:"switches-container"},l={class:"switch-plugins"},o={key:0,class:"no-content"},a=["onClick"],d=["textContent"],p={key:0,class:"refresh col-2"},f=["onClick","disabled"],g=u((function(){return(0,i._)("i",{class:"fa fa-sync"},null,-1)})),h=[g],w={class:"refresh-button"},v=["disabled"],m=u((function(){return(0,i._)("i",{class:"fa fa-sync"},null,-1)})),k=[m];function b(e,n,t,u,g,m){var b=(0,i.up)("Loading");return(0,i.wg)(),(0,i.iD)("div",c,[g.loading?((0,i.wg)(),(0,i.j4)(b,{key:0})):(0,i.kq)("",!0),(0,i._)("div",l,[Object.keys(g.plugins).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",o,"No switch plugins configured")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(Object.keys(g.plugins),(function(e){return(0,i.wg)(),(0,i.iD)("div",{class:"switch-plugin",key:e,onClick:function(n){return g.selectedPlugin=g.selectedPlugin===e?null:e}},[(0,i._)("div",{class:(0,r.C_)(["header",{selected:g.selectedPlugin===e}])},[(0,i._)("div",{class:"name col-10",textContent:(0,r.zw)(e)},null,8,d),g.selectedPlugin===e?((0,i.wg)(),(0,i.iD)("div",p,[(0,i._)("button",{onClick:(0,s.iM)((function(n){return g.bus.emit("refresh",e)}),["stop"]),title:"Refresh plugin",disabled:g.loading},h,8,f)])):(0,i.kq)("",!0)],2),(0,i._)("div",{class:(0,r.C_)(["body",{hidden:g.selectedPlugin!==e}])},[((0,i.wg)(),(0,i.j4)((0,i.LL)(g.components[e]),{config:g.plugins[e],"plugin-name":e,selected:g.selectedPlugin===e,bus:g.bus},null,8,["config","plugin-name","selected","bus"]))],2)],8,a)})),128))]),(0,i._)("div",w,[(0,i._)("button",{onClick:n[0]||(n[0]=function(){return m.refresh&&m.refresh.apply(m,arguments)}),disabled:g.loading,title:"Refresh plugins"},k,8,v)])])}var x=t(8534),_=(t(5666),t(1539),t(4747),t(9600),t(1249),t(4916),t(3123),t(7042),t(8783),t(3948),t(1232)),y=t(2628),C=t(9652),I={name:"Switches",components:{Loading:_.Z},mixins:[y.Z],data:function(){return{loading:!1,plugins:{},components:{},selectedPlugin:null,bus:(0,C.Z)()}},methods:{initPanels:function(){var e=this;this.components={},Object.keys(this.plugins).forEach(function(){var n=(0,x.Z)(regeneratorRuntime.mark((function n(r){var s,u,c;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return s=r.split(".").map((function(e){return e[0].toUpperCase()+e.slice(1)})).join(""),u=null,n.prev=2,n.next=5,t(6371)("./".concat(s,"/Index"));case 5:u=n.sent,n.next=11;break;case 8:return n.prev=8,n.t0=n["catch"](2),n.abrupt("return");case 11:c=(0,i.RC)((0,x.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",u);case 1:case"end":return e.stop()}}),e)})))),e.$options.components[r]=c,e.components[r]=c;case 14:case"end":return n.stop()}}),n,null,[[2,8]])})));return function(e){return n.apply(this,arguments)}}())},refresh:function(){var e=this;return(0,x.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("utils.get_switch_plugins");case 4:e.plugins=n.sent,e.initPanels();case 6:return n.prev=6,e.loading=!1,n.finish(6);case 9:case"end":return n.stop()}}),n,null,[[1,,6,9]])})))()}},mounted:function(){this.refresh()}},P=t(3744);const Z=(0,P.Z)(I,[["render",b],["__scopeId","data-v-eac2ea44"]]);var R=Z},6371:function(e,n,t){var i={"./LightHue/Index":[2844,1474,6590,2844],"./Smartthings/Index":[9196,1474,6590,9196],"./SwitchTplink/Index":[3785,1474,6590,3785],"./SwitchWemo/Index":[5210,1474,6590,5210],"./Switchbot/Index":[9694,1474,6590,9694],"./SwitchbotBluetooth/Index":[9694,1474,6590,9694],"./ZigbeeMqtt/Index":[5466,1474,6590,5466],"./Zwave/Index":[7262,1474,6590,7262],"./ZwaveMqtt/Index":[2380,1474,6590,2380]};function r(e){if(!t.o(i,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=i[e],r=n[0];return Promise.all(n.slice(1).map(t.e)).then((function(){return t(r)}))}r.keys=function(){return Object.keys(i)},r.id=6371,e.exports=r}}]); +//# sourceMappingURL=4276-legacy.9ed76a69.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4276-legacy.6b94488f.js.map b/platypush/backend/http/webapp/dist/static/js/4276-legacy.9ed76a69.js.map similarity index 93% rename from platypush/backend/http/webapp/dist/static/js/4276-legacy.6b94488f.js.map rename to platypush/backend/http/webapp/dist/static/js/4276-legacy.9ed76a69.js.map index fce24ed75..482404cfa 100644 --- a/platypush/backend/http/webapp/dist/static/js/4276-legacy.6b94488f.js.map +++ b/platypush/backend/http/webapp/dist/static/js/4276-legacy.9ed76a69.js.map @@ -1 +1 @@ -{"version":3,"file":"static/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9B,OAAOG,QAAQC,UAAUC,MAAK,WAC7B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBP,EAAM,KAEjD,MADAM,EAAEE,KAAO,mBACHF,KAIR,IAAIG,EAAMtB,EAAIa,GAAMU,EAAKD,EAAI,GAC7B,OAAON,QAAQQ,IAAIF,EAAInB,MAAM,GAAGH,IAAIc,EAAoBK,IAAID,MAAK,WAChE,OAAOJ,EAAoBS,MAG7BX,EAAoBrC,KAAO,WAAa,OAAOD,OAAOC,KAAKyB,IAC3DY,EAAoBW,GAAK,KACzBE,EAAOC,QAAUd","sources":["webpack://platypush/./src/components/panels/Switches/Index.vue","webpack://platypush/./src/components/panels/Switches/Index.vue?3eac","webpack://platypush/./src/components/panels/Switches|lazy|/^\\.\\/.*\\/Index$/|groupOptions: {}|namespace object"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=eac2ea44&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=eac2ea44&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-eac2ea44\"]])\n\nexport default __exports__","var map = {\n\t\"./LightHue/Index\": [\n\t\t2844,\n\t\t7373,\n\t\t6590,\n\t\t2844\n\t],\n\t\"./Smartthings/Index\": [\n\t\t9196,\n\t\t7373,\n\t\t6590,\n\t\t9196\n\t],\n\t\"./SwitchTplink/Index\": [\n\t\t3785,\n\t\t7373,\n\t\t6590,\n\t\t3785\n\t],\n\t\"./SwitchWemo/Index\": [\n\t\t5210,\n\t\t7373,\n\t\t6590,\n\t\t5210\n\t],\n\t\"./Switchbot/Index\": [\n\t\t9694,\n\t\t7373,\n\t\t6590,\n\t\t9694\n\t],\n\t\"./SwitchbotBluetooth/Index\": [\n\t\t9694,\n\t\t7373,\n\t\t6590,\n\t\t9694\n\t],\n\t\"./ZigbeeMqtt/Index\": [\n\t\t5466,\n\t\t7373,\n\t\t6590,\n\t\t5466\n\t],\n\t\"./Zwave/Index\": [\n\t\t7262,\n\t\t7373,\n\t\t6590,\n\t\t7262\n\t],\n\t\"./ZwaveMqtt/Index\": [\n\t\t2380,\n\t\t7373,\n\t\t6590,\n\t\t2380\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 6371;\nmodule.exports = webpackAsyncContext;"],"names":["class","loading","Object","keys","plugins","length","pluginName","key","selectedPlugin","bus","emit","title","disabled","components","config","selected","refresh","name","Loading","mixins","Utils","data","methods","initPanels","this","forEach","componentName","split","map","token","toUpperCase","slice","join","comp","component","$options","request","mounted","__exports__","render","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","all","module","exports"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/4276-legacy.9ed76a69.js","mappings":"gRACOA,MAAM,sB,GAGJA,MAAM,kB,SACJA,MAAM,c,yCAMFA,MAAM,iB,gDAEP,OAAwB,KAArBA,MAAM,cAAY,Y,GAArB,G,GAYLA,MAAM,kB,sCAEP,OAAwB,KAArBA,MAAM,cAAY,Y,GAArB,G,oEA1BN,QA6BM,MA7BN,EA6BM,CA5BW,EAAAC,UAAA,WAAf,QAA0B,aAA1B,gBAEA,OAmBM,MAnBN,EAmBM,CAlB2BC,OAAOC,KAA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DY,EAAoBW,GAAK,KACzBE,EAAOC,QAAUd","sources":["webpack://platypush/./src/components/panels/Switches/Index.vue","webpack://platypush/./src/components/panels/Switches/Index.vue?3eac","webpack://platypush/./src/components/panels/Switches|lazy|/^\\.\\/.*\\/Index$/|groupOptions: {}|namespace object"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=eac2ea44&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=eac2ea44&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-eac2ea44\"]])\n\nexport default __exports__","var map = {\n\t\"./LightHue/Index\": [\n\t\t2844,\n\t\t1474,\n\t\t6590,\n\t\t2844\n\t],\n\t\"./Smartthings/Index\": [\n\t\t9196,\n\t\t1474,\n\t\t6590,\n\t\t9196\n\t],\n\t\"./SwitchTplink/Index\": [\n\t\t3785,\n\t\t1474,\n\t\t6590,\n\t\t3785\n\t],\n\t\"./SwitchWemo/Index\": [\n\t\t5210,\n\t\t1474,\n\t\t6590,\n\t\t5210\n\t],\n\t\"./Switchbot/Index\": [\n\t\t9694,\n\t\t1474,\n\t\t6590,\n\t\t9694\n\t],\n\t\"./SwitchbotBluetooth/Index\": [\n\t\t9694,\n\t\t1474,\n\t\t6590,\n\t\t9694\n\t],\n\t\"./ZigbeeMqtt/Index\": [\n\t\t5466,\n\t\t1474,\n\t\t6590,\n\t\t5466\n\t],\n\t\"./Zwave/Index\": [\n\t\t7262,\n\t\t1474,\n\t\t6590,\n\t\t7262\n\t],\n\t\"./ZwaveMqtt/Index\": [\n\t\t2380,\n\t\t1474,\n\t\t6590,\n\t\t2380\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 6371;\nmodule.exports = webpackAsyncContext;"],"names":["class","loading","Object","keys","plugins","length","pluginName","key","selectedPlugin","bus","emit","title","disabled","components","config","selected","refresh","name","Loading","mixins","Utils","data","methods","initPanels","this","forEach","componentName","split","map","token","toUpperCase","slice","join","comp","component","$options","request","mounted","__exports__","render","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","all","module","exports"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4276.c7a274f7.js b/platypush/backend/http/webapp/dist/static/js/4276.728421b8.js similarity index 87% rename from platypush/backend/http/webapp/dist/static/js/4276.c7a274f7.js rename to platypush/backend/http/webapp/dist/static/js/4276.728421b8.js index 7bfa6b740..79b8d85de 100644 --- a/platypush/backend/http/webapp/dist/static/js/4276.c7a274f7.js +++ b/platypush/backend/http/webapp/dist/static/js/4276.728421b8.js @@ -1,2 +1,2 @@ -(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4276],{4276:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return D}});var s=t(6252),i=t(3577),l=t(9963);const c=e=>((0,s.dD)("data-v-eac2ea44"),e=e(),(0,s.Cn)(),e),o={class:"switches-container"},a={class:"switch-plugins"},u={key:0,class:"no-content"},d=["onClick"],r=["textContent"],h={key:0,class:"refresh col-2"},g=["onClick","disabled"],p=c((()=>(0,s._)("i",{class:"fa fa-sync"},null,-1))),f=[p],w={class:"refresh-button"},b=["disabled"],k=c((()=>(0,s._)("i",{class:"fa fa-sync"},null,-1))),m=[k];function v(e,n,t,c,p,k){const v=(0,s.up)("Loading");return(0,s.wg)(),(0,s.iD)("div",o,[p.loading?((0,s.wg)(),(0,s.j4)(v,{key:0})):(0,s.kq)("",!0),(0,s._)("div",a,[Object.keys(p.plugins).length?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",u,"No switch plugins configured")),((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(Object.keys(p.plugins),(e=>((0,s.wg)(),(0,s.iD)("div",{class:"switch-plugin",key:e,onClick:n=>p.selectedPlugin=p.selectedPlugin===e?null:e},[(0,s._)("div",{class:(0,i.C_)(["header",{selected:p.selectedPlugin===e}])},[(0,s._)("div",{class:"name col-10",textContent:(0,i.zw)(e)},null,8,r),p.selectedPlugin===e?((0,s.wg)(),(0,s.iD)("div",h,[(0,s._)("button",{onClick:(0,l.iM)((n=>p.bus.emit("refresh",e)),["stop"]),title:"Refresh plugin",disabled:p.loading},f,8,g)])):(0,s.kq)("",!0)],2),(0,s._)("div",{class:(0,i.C_)(["body",{hidden:p.selectedPlugin!==e}])},[((0,s.wg)(),(0,s.j4)((0,s.LL)(p.components[e]),{config:p.plugins[e],"plugin-name":e,selected:p.selectedPlugin===e,bus:p.bus},null,8,["config","plugin-name","selected","bus"]))],2)],8,d)))),128))]),(0,s._)("div",w,[(0,s._)("button",{onClick:n[0]||(n[0]=(...e)=>k.refresh&&k.refresh(...e)),disabled:p.loading,title:"Refresh plugins"},m,8,b)])])}var y=t(1232),_=t(2628),C=t(9652),x={name:"Switches",components:{Loading:y.Z},mixins:[_.Z],data(){return{loading:!1,plugins:{},components:{},selectedPlugin:null,bus:(0,C.Z)()}},methods:{initPanels(){this.components={},Object.keys(this.plugins).forEach((async e=>{const n=e.split(".").map((e=>e[0].toUpperCase()+e.slice(1))).join("");let i=null;try{i=await t(6371)(`./${n}/Index`)}catch(c){return}const l=(0,s.RC)((async()=>i));this.$options.components[e]=l,this.components[e]=l}))},async refresh(){this.loading=!0;try{this.plugins=await this.request("utils.get_switch_plugins"),this.initPanels()}finally{this.loading=!1}}},mounted(){this.refresh()}},I=t(3744);const P=(0,I.Z)(x,[["render",v],["__scopeId","data-v-eac2ea44"]]);var D=P},6371:function(e,n,t){var s={"./LightHue/Index":[2844,7373,6590,2844],"./Smartthings/Index":[9196,7373,6590,9196],"./SwitchTplink/Index":[3785,7373,6590,3785],"./SwitchWemo/Index":[5210,7373,6590,5210],"./Switchbot/Index":[9694,7373,6590,9694],"./SwitchbotBluetooth/Index":[9694,7373,6590,9694],"./ZigbeeMqtt/Index":[5466,7373,6590,5466],"./Zwave/Index":[7262,7373,6590,7262],"./ZwaveMqtt/Index":[2380,7373,6590,2380]};function i(e){if(!t.o(s,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=s[e],i=n[0];return Promise.all(n.slice(1).map(t.e)).then((function(){return t(i)}))}i.keys=function(){return Object.keys(s)},i.id=6371,e.exports=i}}]); -//# sourceMappingURL=4276.c7a274f7.js.map \ No newline at end of file +(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4276],{4276:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return D}});var s=t(6252),i=t(3577),l=t(9963);const c=e=>((0,s.dD)("data-v-eac2ea44"),e=e(),(0,s.Cn)(),e),o={class:"switches-container"},a={class:"switch-plugins"},u={key:0,class:"no-content"},d=["onClick"],r=["textContent"],h={key:0,class:"refresh col-2"},g=["onClick","disabled"],p=c((()=>(0,s._)("i",{class:"fa fa-sync"},null,-1))),f=[p],w={class:"refresh-button"},b=["disabled"],k=c((()=>(0,s._)("i",{class:"fa fa-sync"},null,-1))),m=[k];function v(e,n,t,c,p,k){const v=(0,s.up)("Loading");return(0,s.wg)(),(0,s.iD)("div",o,[p.loading?((0,s.wg)(),(0,s.j4)(v,{key:0})):(0,s.kq)("",!0),(0,s._)("div",a,[Object.keys(p.plugins).length?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",u,"No switch plugins configured")),((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(Object.keys(p.plugins),(e=>((0,s.wg)(),(0,s.iD)("div",{class:"switch-plugin",key:e,onClick:n=>p.selectedPlugin=p.selectedPlugin===e?null:e},[(0,s._)("div",{class:(0,i.C_)(["header",{selected:p.selectedPlugin===e}])},[(0,s._)("div",{class:"name col-10",textContent:(0,i.zw)(e)},null,8,r),p.selectedPlugin===e?((0,s.wg)(),(0,s.iD)("div",h,[(0,s._)("button",{onClick:(0,l.iM)((n=>p.bus.emit("refresh",e)),["stop"]),title:"Refresh plugin",disabled:p.loading},f,8,g)])):(0,s.kq)("",!0)],2),(0,s._)("div",{class:(0,i.C_)(["body",{hidden:p.selectedPlugin!==e}])},[((0,s.wg)(),(0,s.j4)((0,s.LL)(p.components[e]),{config:p.plugins[e],"plugin-name":e,selected:p.selectedPlugin===e,bus:p.bus},null,8,["config","plugin-name","selected","bus"]))],2)],8,d)))),128))]),(0,s._)("div",w,[(0,s._)("button",{onClick:n[0]||(n[0]=(...e)=>k.refresh&&k.refresh(...e)),disabled:p.loading,title:"Refresh plugins"},m,8,b)])])}var y=t(1232),_=t(2628),C=t(9652),x={name:"Switches",components:{Loading:y.Z},mixins:[_.Z],data(){return{loading:!1,plugins:{},components:{},selectedPlugin:null,bus:(0,C.Z)()}},methods:{initPanels(){this.components={},Object.keys(this.plugins).forEach((async e=>{const n=e.split(".").map((e=>e[0].toUpperCase()+e.slice(1))).join("");let i=null;try{i=await t(6371)(`./${n}/Index`)}catch(c){return}const l=(0,s.RC)((async()=>i));this.$options.components[e]=l,this.components[e]=l}))},async refresh(){this.loading=!0;try{this.plugins=await this.request("utils.get_switch_plugins"),this.initPanels()}finally{this.loading=!1}}},mounted(){this.refresh()}},I=t(3744);const P=(0,I.Z)(x,[["render",v],["__scopeId","data-v-eac2ea44"]]);var D=P},6371:function(e,n,t){var s={"./LightHue/Index":[2844,1474,6590,2844],"./Smartthings/Index":[9196,1474,6590,9196],"./SwitchTplink/Index":[3785,1474,6590,3785],"./SwitchWemo/Index":[5210,1474,6590,5210],"./Switchbot/Index":[9694,1474,6590,9694],"./SwitchbotBluetooth/Index":[9694,1474,6590,9694],"./ZigbeeMqtt/Index":[5466,1474,6590,5466],"./Zwave/Index":[7262,1474,6590,7262],"./ZwaveMqtt/Index":[2380,1474,6590,2380]};function i(e){if(!t.o(s,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=s[e],i=n[0];return Promise.all(n.slice(1).map(t.e)).then((function(){return t(i)}))}i.keys=function(){return Object.keys(s)},i.id=6371,e.exports=i}}]); +//# sourceMappingURL=4276.728421b8.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4276.c7a274f7.js.map b/platypush/backend/http/webapp/dist/static/js/4276.728421b8.js.map similarity index 93% rename from platypush/backend/http/webapp/dist/static/js/4276.c7a274f7.js.map rename to platypush/backend/http/webapp/dist/static/js/4276.728421b8.js.map index 48f5187d4..d1ae86930 100644 --- a/platypush/backend/http/webapp/dist/static/js/4276.c7a274f7.js.map +++ b/platypush/backend/http/webapp/dist/static/js/4276.728421b8.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/4276.c7a274f7.js","mappings":"gQACOA,MAAM,sB,GAGJA,MAAM,kB,SACJA,MAAM,c,yCAMFA,MAAM,iB,mCAEP,OAAwB,KAArBA,MAAM,cAAY,W,GAArB,G,GAYLA,MAAM,kB,yBAEP,OAAwB,KAArBA,MAAM,cAAY,W,GAArB,G,sEA1BN,QA6BM,MA7BN,EA6BM,CA5BW,EAAAC,UAAA,WAAf,QAA0B,aAA1B,gBAEA,OAmBM,MAnBN,EAmBM,CAlB2BC,OAAOC,KAAK,EAAAC,SAASC,QAApD,iBAAoD,WAApD,QAA8F,MAA9F,EAA4D,mCAkBxD,aAhBJ,QAeM,mBAf0CH,OAAOC,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,IAC5DV,KAAKa,SAASxB,WAAWP,GAAc8B,EACvCZ,KAAKX,WAAWP,GAAc8B,MAIlCV,gBACEF,KAAKvB,SAAU,EAEf,IACEuB,KAAKpB,cAAgBoB,KAAKc,QAAQ,4BAClCd,KAAKD,aAFP,QAIEC,KAAKvB,SAAU,KAKrBsC,UACEf,KAAKR,Y,UC/ET,MAAMwB,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S,qBCTA,IAAIZ,EAAM,CACT,mBAAoB,CACnB,KACA,KACA,KACA,MAED,sBAAuB,CACtB,KACA,KACA,KACA,MAED,uBAAwB,CACvB,KACA,KACA,KACA,MAED,qBAAsB,CACrB,KACA,KACA,KACA,MAED,oBAAqB,CACpB,KACA,KACA,KACA,MAED,6BAA8B,CAC7B,KACA,KACA,KACA,MAED,qBAAsB,CACrB,KACA,KACA,KACA,MAED,gBAAiB,CAChB,KACA,KACA,KACA,MAED,oBAAqB,CACpB,KACA,KACA,KACA,OAGF,SAASa,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEhB,EAAKc,GAC9B,OAAOG,QAAQC,UAAUC,MAAK,WAC7B,IAAIb,EAAI,IAAIc,MAAM,uBAAyBN,EAAM,KAEjD,MADAR,EAAEe,KAAO,mBACHf,KAIR,IAAIgB,EAAMtB,EAAIc,GAAMS,EAAKD,EAAI,GAC7B,OAAOL,QAAQO,IAAIF,EAAInB,MAAM,GAAGH,IAAIe,EAAoBT,IAAIa,MAAK,WAChE,OAAOJ,EAAoBQ,MAG7BV,EAAoBvC,KAAO,WAAa,OAAOD,OAAOC,KAAK0B,IAC3Da,EAAoBU,GAAK,KACzBE,EAAOC,QAAUb","sources":["webpack://platypush/./src/components/panels/Switches/Index.vue","webpack://platypush/./src/components/panels/Switches/Index.vue?3eac","webpack://platypush/./src/components/panels/Switches|lazy|/^\\.\\/.*\\/Index$/|groupOptions: {}|namespace object"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=eac2ea44&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=eac2ea44&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-eac2ea44\"]])\n\nexport default __exports__","var map = {\n\t\"./LightHue/Index\": [\n\t\t2844,\n\t\t7373,\n\t\t6590,\n\t\t2844\n\t],\n\t\"./Smartthings/Index\": [\n\t\t9196,\n\t\t7373,\n\t\t6590,\n\t\t9196\n\t],\n\t\"./SwitchTplink/Index\": [\n\t\t3785,\n\t\t7373,\n\t\t6590,\n\t\t3785\n\t],\n\t\"./SwitchWemo/Index\": [\n\t\t5210,\n\t\t7373,\n\t\t6590,\n\t\t5210\n\t],\n\t\"./Switchbot/Index\": [\n\t\t9694,\n\t\t7373,\n\t\t6590,\n\t\t9694\n\t],\n\t\"./SwitchbotBluetooth/Index\": [\n\t\t9694,\n\t\t7373,\n\t\t6590,\n\t\t9694\n\t],\n\t\"./ZigbeeMqtt/Index\": [\n\t\t5466,\n\t\t7373,\n\t\t6590,\n\t\t5466\n\t],\n\t\"./Zwave/Index\": [\n\t\t7262,\n\t\t7373,\n\t\t6590,\n\t\t7262\n\t],\n\t\"./ZwaveMqtt/Index\": [\n\t\t2380,\n\t\t7373,\n\t\t6590,\n\t\t2380\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 6371;\nmodule.exports = webpackAsyncContext;"],"names":["class","loading","Object","keys","plugins","length","pluginName","key","selectedPlugin","bus","emit","title","disabled","components","config","selected","refresh","name","Loading","mixins","Utils","data","methods","initPanels","this","forEach","async","componentName","split","map","token","toUpperCase","slice","join","comp","e","component","$options","request","mounted","__exports__","render","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","Error","code","ids","id","all","module","exports"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/4276.728421b8.js","mappings":"gQACOA,MAAM,sB,GAGJA,MAAM,kB,SACJA,MAAM,c,yCAMFA,MAAM,iB,mCAEP,OAAwB,KAArBA,MAAM,cAAY,W,GAArB,G,GAYLA,MAAM,kB,yBAEP,OAAwB,KAArBA,MAAM,cAAY,W,GAArB,G,sEA1BN,QA6BM,MA7BN,EA6BM,CA5BW,EAAAC,UAAA,WAAf,QAA0B,aAA1B,gBAEA,OAmBM,MAnBN,EAmBM,CAlB2BC,OAAOC,KAAK,EAAAC,SAASC,QAApD,iBAAoD,WAApD,QAA8F,MAA9F,EAA4D,mCAkBxD,aAhBJ,QAeM,mBAf0CH,OAAOC,KAAK,EAAAC,UAA1BE,K,WAAlC,QAeM,OAfDN,MAAM,gBAA4DO,IAAKD,EACtE,QAAK,GAAE,EAAAE,eAAiB,EAAAA,iBAAmBF,EAAU,KAAUA,GADrE,EAEE,OAOM,OAPDN,OAAK,SAAC,SAAQ,UAAoB,EAAAQ,iBAAmBF,MAA1D,EACE,OAA+C,OAA1CN,MAAM,c,aAAc,QAAkB,IAA3C,UACiC,EAAAQ,iBAAmBF,IAAA,WAApD,QAIM,MAJN,EAIM,EAHJ,OAES,UAFA,SAAK,YAAO,EAAAG,IAAIC,KAAI,UAAYJ,IAAU,UAAGK,MAAM,iBAAkBC,SAAU,EAAAX,SAAxF,WADF,gBAFF,IASA,OAGM,OAHD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A,KACA,KACA,MAED,oBAAqB,CACpB,KACA,KACA,KACA,MAED,6BAA8B,CAC7B,KACA,KACA,KACA,MAED,qBAAsB,CACrB,KACA,KACA,KACA,MAED,gBAAiB,CAChB,KACA,KACA,KACA,MAED,oBAAqB,CACpB,KACA,KACA,KACA,OAGF,SAASa,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEhB,EAAKc,GAC9B,OAAOG,QAAQC,UAAUC,MAAK,WAC7B,IAAIb,EAAI,IAAIc,MAAM,uBAAyBN,EAAM,KAEjD,MADAR,EAAEe,KAAO,mBACHf,KAIR,IAAIgB,EAAMtB,EAAIc,GAAMS,EAAKD,EAAI,GAC7B,OAAOL,QAAQO,IAAIF,EAAInB,MAAM,GAAGH,IAAIe,EAAoBT,IAAIa,MAAK,WAChE,OAAOJ,EAAoBQ,MAG7BV,EAAoBvC,KAAO,WAAa,OAAOD,OAAOC,KAAK0B,IAC3Da,EAAoBU,GAAK,KACzBE,EAAOC,QAAUb","sources":["webpack://platypush/./src/components/panels/Switches/Index.vue","webpack://platypush/./src/components/panels/Switches/Index.vue?3eac","webpack://platypush/./src/components/panels/Switches|lazy|/^\\.\\/.*\\/Index$/|groupOptions: {}|namespace object"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=eac2ea44&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=eac2ea44&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-eac2ea44\"]])\n\nexport default __exports__","var map = {\n\t\"./LightHue/Index\": [\n\t\t2844,\n\t\t1474,\n\t\t6590,\n\t\t2844\n\t],\n\t\"./Smartthings/Index\": [\n\t\t9196,\n\t\t1474,\n\t\t6590,\n\t\t9196\n\t],\n\t\"./SwitchTplink/Index\": [\n\t\t3785,\n\t\t1474,\n\t\t6590,\n\t\t3785\n\t],\n\t\"./SwitchWemo/Index\": [\n\t\t5210,\n\t\t1474,\n\t\t6590,\n\t\t5210\n\t],\n\t\"./Switchbot/Index\": [\n\t\t9694,\n\t\t1474,\n\t\t6590,\n\t\t9694\n\t],\n\t\"./SwitchbotBluetooth/Index\": [\n\t\t9694,\n\t\t1474,\n\t\t6590,\n\t\t9694\n\t],\n\t\"./ZigbeeMqtt/Index\": [\n\t\t5466,\n\t\t1474,\n\t\t6590,\n\t\t5466\n\t],\n\t\"./Zwave/Index\": [\n\t\t7262,\n\t\t1474,\n\t\t6590,\n\t\t7262\n\t],\n\t\"./ZwaveMqtt/Index\": [\n\t\t2380,\n\t\t1474,\n\t\t6590,\n\t\t2380\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 6371;\nmodule.exports = webpackAsyncContext;"],"names":["class","loading","Object","keys","plugins","length","pluginName","key","selectedPlugin","bus","emit","title","disabled","components","config","selected","refresh","name","Loading","mixins","Utils","data","methods","initPanels","this","forEach","async","componentName","split","map","token","toUpperCase","slice","join","comp","e","component","$options","request","mounted","__exports__","render","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","Error","code","ids","id","all","module","exports"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4604-legacy.45e6aa25.js b/platypush/backend/http/webapp/dist/static/js/4604-legacy.45e6aa25.js deleted file mode 100644 index 6ae75f0e2..000000000 --- a/platypush/backend/http/webapp/dist/static/js/4604-legacy.45e6aa25.js +++ /dev/null @@ -1,2 +0,0 @@ -(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4604],{7556:function(e,t,n){var r=n(7293);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},5631:function(e,t,n){"use strict";var r=n(3070).f,i=n(30),a=n(2248),s=n(9974),o=n(5787),u=n(408),l=n(654),c=n(6340),d=n(9781),v=n(2423).fastKey,p=n(9909),f=p.set,m=p.getterFor;e.exports={getConstructor:function(e,t,n,l){var c=e((function(e,r){o(e,p),f(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),d||(e.size=0),void 0!=r&&u(r,e[l],{that:e,AS_ENTRIES:n})})),p=c.prototype,g=m(t),h=function(e,t,n){var r,i,a=g(e),s=b(e,t);return s?s.value=n:(a.last=s={index:i=v(t,!0),key:t,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=s),r&&(r.next=s),d?a.size++:e.size++,"F"!==i&&(a.index[i]=s)),e},b=function(e,t){var n,r=g(e),i=v(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return a(p,{clear:function(){var e=this,t=g(e),n=t.index,r=t.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;t.first=t.last=void 0,d?t.size=0:e.size=0},delete:function(e){var t=this,n=g(t),r=b(t,e);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first==r&&(n.first=i),n.last==r&&(n.last=a),d?n.size--:t.size--}return!!r},forEach:function(e){var t,n=g(this),r=s(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:n.first){r(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!b(this,e)}}),a(p,n?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return h(this,0===e?0:e,t)}}:{add:function(e){return h(this,e=0===e?0:e,e)}}),d&&r(p,"size",{get:function(){return g(this).size}}),c},setStrong:function(e,t,n){var r=t+" Iterator",i=m(t),a=m(r);l(e,t,(function(e,t){f(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){var e=a(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},7710:function(e,t,n){"use strict";var r=n(2109),i=n(7854),a=n(1702),s=n(4705),o=n(1320),u=n(2423),l=n(408),c=n(5787),d=n(614),v=n(111),p=n(7293),f=n(7072),m=n(8003),g=n(9587);e.exports=function(e,t,n){var h=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),y=h?"set":"add",w=i[e],_=w&&w.prototype,k=w,x={},q=function(e){var t=a(_[e]);o(_,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!v(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return b&&!v(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!v(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})},z=s(e,!d(w)||!(b||_.forEach&&!p((function(){(new w).entries().next()}))));if(z)k=n.getConstructor(t,e,h,y),u.enable();else if(s(e,!0)){var C=new k,D=C[y](b?{}:-0,1)!=C,R=p((function(){C.has(1)})),Z=f((function(e){new w(e)})),M=!b&&p((function(){var e=new w,t=5;while(t--)e[y](t,t);return!e.has(-0)}));Z||(k=t((function(e,t){c(e,_);var n=g(new w,e,k);return void 0!=t&&l(t,n[y],{that:n,AS_ENTRIES:h}),n})),k.prototype=_,_.constructor=k),(R||M)&&(q("delete"),q("has"),h&&q("get")),(M||D)&&q(y),b&&_.clear&&delete _.clear}return x[e]=k,r({global:!0,forced:k!=w},x),m(k,e),b||n.setStrong(k,e,h),k}},6677:function(e,t,n){var r=n(7293);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},647:function(e,t,n){var r=n(1702),i=n(7908),a=Math.floor,s=r("".charAt),o=r("".replace),u=r("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,d,v){var p=n+e.length,f=r.length,m=c;return void 0!==d&&(d=i(d),m=l),o(v,m,(function(i,o){var l;switch(s(o,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,n);case"'":return u(t,p);case"<":l=d[u(o,1,-1)];break;default:var c=+o;if(0===c)return i;if(c>f){var v=a(c/10);return 0===v?i:v<=f?void 0===r[v-1]?s(o,1):r[v-1]+s(o,1):i}l=r[c-1]}return void 0===l?"":l}))}},2423:function(e,t,n){var r=n(2109),i=n(1702),a=n(3501),s=n(111),o=n(2597),u=n(3070).f,l=n(8006),c=n(1156),d=n(2050),v=n(9711),p=n(6677),f=!1,m=v("meta"),g=0,h=function(e){u(e,m,{value:{objectID:"O"+g++,weakData:{}}})},b=function(e,t){if(!s(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,m)){if(!d(e))return"F";if(!t)return"E";h(e)}return e[m].objectID},y=function(e,t){if(!o(e,m)){if(!d(e))return!0;if(!t)return!1;h(e)}return e[m].weakData},w=function(e){return p&&f&&d(e)&&!o(e,m)&&h(e),e},_=function(){k.enable=function(){},f=!0;var e=l.f,t=i([].splice),n={};n[m]=1,e(n).length&&(l.f=function(n){for(var r=e(n),i=0,a=r.length;i")}));s("replace",(function(e,t,n){var a=R?"$":"$0";return[function(e,n){var r=p(this),a=void 0==e?void 0:m(e,y);return a?i(a,e,r,n):i(t,v(r),e,n)},function(e,i){var s=u(this),o=v(e);if("string"==typeof i&&-1===q(i,a)&&-1===q(i,"$<")){var p=n(t,s,o,i);if(p.done)return p.value}var m=l(i);m||(i=v(i));var b=s.global;if(b){var y=s.unicode;s.lastIndex=0}var D=[];while(1){var R=h(s,o);if(null===R)break;if(x(D,R),!b)break;var Z=v(R[0]);""===Z&&(s.lastIndex=f(o,d(s.lastIndex),y))}for(var M="",I=0,E=0;E=I&&(M+=z(o,I,N)+V,I=N+G.length)}return M+z(o,I)}]}),!Z||!D||R)},3210:function(e,t,n){"use strict";var r=n(2109),i=n(3111).trim,a=n(6091);r({target:"String",proto:!0,forced:a("trim")},{trim:function(){return i(this)}})},634:function(e,t,n){"use strict";n.d(t,{N:function(){return o}});var r=n(9584);n(1703);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n.5?u/(2-a-s):u/(a+s),a){case e:r=(t-n)/u+(tl&&o>u&&o>1?(u/=o,l/=o,o=1):u>l&&u>o&&u>1?(o/=u,l/=u,u=1):l>o&&l>u&&l>1&&(o/=l,u/=l,l=1),o=o<=.0031308?12.92*o:1.055*Math.pow(o,1/2.4)-.055,u=u<=.0031308?12.92*u:1.055*Math.pow(u,1/2.4)-.055,l=l<=.0031308?12.92*l:1.055*Math.pow(l,1/2.4)-.055,o=Math.round(255*o),u=Math.round(255*u),l=Math.round(255*l),isNaN(o)&&(o=0),isNaN(u)&&(u=0),isNaN(l)&&(l=0),[o,u,l].map((function(e){return Math.min(Math.max(0,e),255)}))}},{key:"rgbToXY",value:function(e,t,n){e>1&&(e/=255),t>1&&(t/=255),n>1&&(n/=255),e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var r=.664511*e+.154324*t+.162028*n,i=.283881*e+.668433*t+.047685*n,a=88e-6*e+.07231*t+.986039*n,s=parseFloat((r/(r+i+a)).toFixed(4)),o=parseFloat((i/(r+i+a)).toFixed(4));return isNaN(s)&&(s=0),isNaN(o)&&(o=0),[s,o]}},{key:"rgbToBri",value:function(e,t,n){return Math.min(2*this.rgbToHsl(e,t,n)[2],this.ranges.bri[1])}},{key:"getRGB",value:function(e){return null!=e.red&&null!=e.green&&null!=e.blue?[e.red,e.green,e.blue]:null!=e.r&&null!=e.g&&null!=e.b?[e.r,e.g,e.b]:e.rgb?e.rgb:void 0}},{key:"getXY",value:function(e){return null!=e.x&&null!=e.y?[e.x,e.y]:e.xy?e.xy:void 0}},{key:"toRGB",value:function(e){var t=this.getRGB(e);if(t)return t;var n=this.getXY(e);return n&&e.bri?this.xyToRgb.apply(this,(0,r.Z)(n).concat([e.bri])):e.hue&&e.sat&&e.bri?this.hslToRgb(e.hue,e.sat,e.bri):(console.debug("Could not determine color space"),void console.debug(e))}},{key:"toXY",value:function(e){var t=this.getXY(e);if(t&&e.bri)return[t[0],t[1],e.bri];var n=this.getRGB(e);if(n)return this.rgbToXY.apply(this,(0,r.Z)(n));if(e.hue&&e.sat&&e.bri){var i=this.hslToRgb(e.hue,e.sat,e.bri);return this.rgbToXY.apply(this,(0,r.Z)(i))}console.debug("Could not determine color space"),console.debug(e)}},{key:"toHSL",value:function(e){if(e.hue&&e.sat&&e.bri)return[e.hue,e.sat,e.bri];var t=this.getRGB(e);if(t)return this.rgbToHsl.apply(this,(0,r.Z)(t));var n=this.getXY(e);if(n&&e.bri){var i=this.xyToRgb.apply(this,(0,r.Z)(n).concat([e.bri]));return this.rgbToHsl.apply(this,(0,r.Z)(i))}console.debug("Could not determine color space"),console.debug(e)}}]),e}()},1120:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(6252),i=n(9963),a=n(3577),s={class:"slider-wrapper"},o=["min","max","step","disabled","value"],u={class:"track"},l={class:"track-inner",ref:"track"},c={class:"thumb",ref:"thumb"},d=["textContent"];function v(e,t,n,v,p,f){return(0,r.wg)(),(0,r.iD)("label",s,[(0,r._)("input",{class:"slider",type:"range",ref:"range",min:n.range[0],max:n.range[1],step:n.step,disabled:n.disabled,value:n.value,onInput:t[0]||(t[0]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onChange:t[1]||(t[1]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onMouseup:t[2]||(t[2]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onMousedown:t[3]||(t[3]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onTouchstart:t[4]||(t[4]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onTouchend:t[5]||(t[5]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onKeyup:t[6]||(t[6]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onKeydown:t[7]||(t[7]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"]))},null,40,o),(0,r._)("div",u,[(0,r._)("div",l,null,512)]),(0,r._)("div",c,null,512),n.withLabel?((0,r.wg)(),(0,r.iD)("span",{key:0,class:"label",textContent:(0,a.zw)(n.value)},null,8,d)):(0,r.kq)("",!0)])}var p=n(4648),f=(n(9653),{name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:function(){return[0,100]}},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate:function(e){this.update(e.target.value),this.$emit(e.type,(0,p.Z)((0,p.Z)({},e),{},{target:(0,p.Z)((0,p.Z)({},e.target),{},{value:this.$refs.range.value})}))},update:function(e){var t=100*e/(this.range[1]-this.range[0]);this.$refs.thumb.style.left="".concat(t,"%"),this.$refs.thumb.style.transform="translate(-".concat(t,"%, -50%)"),this.$refs.track.style.width="".concat(t,"%")}},mounted:function(){null!=this.value&&this.update(this.value)}}),m=n(3744);const g=(0,m.Z)(f,[["render",v],["__scopeId","data-v-288acf82"]]);var h=g},3567:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(6252),i=n(3577),a=function(e){return(0,r.dD)("data-v-8fae7678"),e=e(),(0,r.Cn)(),e},s=["checked"],o=a((function(){return(0,r._)("div",{class:"switch"},[(0,r._)("div",{class:"dot"})],-1)})),u={class:"label"};function l(e,t,n,a,l,c){return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=function(){return c.onInput&&c.onInput.apply(c,arguments)})},[(0,r._)("input",{type:"checkbox",checked:n.value},null,8,s),(0,r._)("label",null,[o,(0,r._)("span",u,[(0,r.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var c={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},d=n(3744);const v=(0,d.Z)(c,[["render",l],["__scopeId","data-v-8fae7678"]]);var p=v},4604:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return bn}});n(4916),n(5306),n(7042),n(7941);var r=n(6252),i=n(3577),a={class:"zigbee-container"},s={key:0,class:"info-body"},o={class:"row"},u=(0,r._)("div",{class:"param-name"},"State",-1),l=["textContent"],c={class:"row"},d=(0,r._)("div",{class:"param-name"},"Permit Join",-1),v=["textContent"],p={key:0,class:"row"},f=(0,r._)("div",{class:"param-name"},"Network Channel",-1),m=["textContent"],g={class:"row"},h=(0,r._)("div",{class:"param-name"},"Zigbee2MQTT Version",-1),b=["textContent"],y={key:1,class:"row"},w=(0,r._)("div",{class:"param-name"},"MQTT Server",-1),_=["textContent"],k={key:2,class:"row"},x=(0,r._)("div",{class:"param-name"},"Serial Port",-1),q=["textContent"],z={key:3,class:"row"},C=(0,r._)("div",{class:"param-name"},"Firmware Type",-1),D=["textContent"],R={key:4,class:"row"},Z=(0,r._)("div",{class:"param-name"},"Firmware Version",-1),M={class:"param-value"},I={key:5,class:"row"},E=(0,r._)("div",{class:"param-name"},"Firmware Revision",-1),G=["textContent"],N={class:"view-options"},j={class:"view-selector col-s-8 col-m-9 col-l-10"},S=["value"],T=["textContent","selected","value"],O={class:"buttons"},V=["disabled"],A=(0,r._)("i",{class:"fa fa-plus"},null,-1),$=[A],U=["disabled"],F=(0,r._)("i",{class:"fa fa-sync-alt"},null,-1),B=[F],P={class:"view-container"},Y={key:0,class:"view devices"},L={key:0,class:"no-items"},H={key:0,class:"loading"},K={key:1,class:"empty"},W={key:1,class:"view groups"},X={key:0,class:"no-items"},J={key:0,class:"loading"},Q={key:1,class:"empty"};function ee(e,t,n,A,F,ee){var te=this,ne=(0,r.up)("Loading"),re=(0,r.up)("Modal"),ie=(0,r.up)("DropdownItem"),ae=(0,r.up)("Dropdown"),se=(0,r.up)("Device"),oe=(0,r.up)("Group");return(0,r.wg)(),(0,r.iD)("div",a,[F.loading?((0,r.wg)(),(0,r.j4)(ne,{key:0})):(0,r.kq)("",!0),(0,r.Wm)(re,{title:"Network Info",ref:"infoModal"},{default:(0,r.w5)((function(){var e,t,n,a,N;return[F.status.info?((0,r.wg)(),(0,r.iD)("div",s,[(0,r._)("div",o,[u,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.state)},null,8,l)]),(0,r._)("div",c,[d,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.permit_join)},null,8,v)]),F.status.info.network?((0,r.wg)(),(0,r.iD)("div",p,[f,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.network.channel)},null,8,m)])):(0,r.kq)("",!0),(0,r._)("div",g,[h,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.version)},null,8,b)]),null!==(e=F.status.info.config)&&void 0!==e&&e.mqtt?((0,r.wg)(),(0,r.iD)("div",y,[w,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.config.mqtt.server)},null,8,_)])):(0,r.kq)("",!0),null!==(t=F.status.info.config)&&void 0!==t&&t.serial?((0,r.wg)(),(0,r.iD)("div",k,[x,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.config.serial.port)},null,8,q)])):(0,r.kq)("",!0),null!==(n=F.status.info.coordinator)&&void 0!==n&&n.type?((0,r.wg)(),(0,r.iD)("div",z,[C,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.coordinator.type)},null,8,D)])):(0,r.kq)("",!0),null!==(a=F.status.info.coordinator)&&void 0!==a&&a.meta?((0,r.wg)(),(0,r.iD)("div",R,[Z,(0,r._)("div",M,(0,i.zw)(F.status.info.coordinator.meta.maintrel)+"."+(0,i.zw)(F.status.info.coordinator.meta.majorrel)+"."+(0,i.zw)(F.status.info.coordinator.meta.minorrel),1)])):(0,r.kq)("",!0),null!==(N=F.status.info.coordinator)&&void 0!==N&&N.meta?((0,r.wg)(),(0,r.iD)("div",I,[E,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.coordinator.meta.revision)},null,8,G)])):(0,r.kq)("",!0)])):(0,r.kq)("",!0)]})),_:1},512),(0,r._)("div",N,[(0,r._)("div",j,[(0,r._)("label",null,[(0,r._)("select",{value:F.selected.view,onChange:t[0]||(t[0]=function(e){return te.selected.view=e.target.value})},[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(F.views,(function(e,t){return(0,r.wg)(),(0,r.iD)("option",{textContent:(0,i.zw)((t[0].toUpperCase()+t.slice(1)).replace("_"," ")),key:t,selected:e,value:t},null,8,T)})),128))],40,S)])]),(0,r._)("div",O,["groups"===F.selected.view?((0,r.wg)(),(0,r.iD)("button",{key:0,class:"btn btn-default",title:"Add Group",disabled:F.loading,onClick:t[1]||(t[1]=function(){return ee.addGroup&&ee.addGroup.apply(ee,arguments)})},$,8,V)):(0,r.kq)("",!0),(0,r.Wm)(ae,{ref:"networkCommandsDropdown","icon-class":"fa fa-cog",title:"Network commands"},{default:(0,r.w5)((function(){var n;return[(0,r.Wm)(ie,{text:"Network Info",disabled:F.loading,onClick:t[2]||(t[2]=function(t){return e.$refs.infoModal.show()})},null,8,["disabled"]),null!==(n=F.status.info)&&void 0!==n&&n.permit_join?((0,r.wg)(),(0,r.j4)(ie,{key:1,text:"Disable Join",disabled:F.loading,onClick:t[4]||(t[4]=function(e){return ee.permitJoin(!1)})},null,8,["disabled"])):((0,r.wg)(),(0,r.j4)(ie,{key:0,text:"Permit Join",disabled:F.loading,onClick:t[3]||(t[3]=function(e){return ee.permitJoin(!0)})},null,8,["disabled"])),(0,r.Wm)(ie,{text:"Factory Reset",disabled:F.loading,onClick:ee.factoryReset},null,8,["disabled","onClick"])]})),_:1},512),(0,r._)("button",{class:"btn btn-default",title:"Refresh network",disabled:F.loading,onClick:t[5]||(t[5]=function(){return ee.refresh&&ee.refresh.apply(ee,arguments)})},B,8,U)])]),(0,r._)("div",P,["devices"===F.selected.view?((0,r.wg)(),(0,r.iD)("div",Y,[Object.keys(F.devices).length?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("div",L,[F.loading?((0,r.wg)(),(0,r.iD)("div",H,"Loading devices...")):((0,r.wg)(),(0,r.iD)("div",K,"No devices found on the network"))])),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(F.devices,(function(e,t){return(0,r.wg)(),(0,r.j4)(se,{key:t,device:e,groups:F.groups,selected:F.selected.deviceId===t,onSelect:function(e){return F.selected.deviceId=F.selected.deviceId===t?null:t},onRename:ee.refreshDevices,onRemove:ee.refreshDevices,onGroupsEdit:ee.refreshGroups},null,8,["device","groups","selected","onSelect","onRename","onRemove","onGroupsEdit"])})),128))])):"groups"===F.selected.view?((0,r.wg)(),(0,r.iD)("div",W,[Object.keys(F.groups).length?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("div",X,[F.loading?((0,r.wg)(),(0,r.iD)("div",J,"Loading groups...")):((0,r.wg)(),(0,r.iD)("div",Q,"No groups available on the network"))])),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(F.groups,(function(e,t){return(0,r.wg)(),(0,r.j4)(oe,{key:t,group:e,devices:F.devices,selected:F.selected.groupId===t,onSelect:function(e){return F.selected.groupId=F.selected.groupId===t?null:t},onRename:ee.refreshGroups,onRemove:ee.refreshGroups,onEdit:ee.refreshGroups},null,8,["group","devices","selected","onSelect","onRename","onRemove","onEdit"])})),128))])):(0,r.kq)("",!0)])])}var te=n(4648),ne=n(8534),re=(n(5666),n(1539),n(3948),n(7021)),ie=n(455),ae=n(1232),se=n(2628),oe=(n(2526),n(1817),n(9600),n(1249),n(9714),n(9653),n(9963)),ue=function(e){return(0,r.dD)("data-v-b05d09fc"),e=e(),(0,r.Cn)(),e},le={class:"groups"},ce=["value","checked"],de=["textContent"],ve=ue((function(){return(0,r._)("div",{class:"footer buttons"},[(0,r._)("button",{type:"submit"},"Save")],-1)})),pe=["textContent"],fe={key:1,class:"params"},me={class:"row"},ge=ue((function(){return(0,r._)("div",{class:"param-name"},"Name",-1)})),he={class:"param-value"},be=["value"],ye={class:"buttons"},we=ue((function(){return(0,r._)("i",{class:"fas fa-times"},null,-1)})),_e=[we],ke=ue((function(){return(0,r._)("button",{type:"submit",class:"btn btn-default"},[(0,r._)("i",{class:"fa fa-check"})],-1)})),xe=["textContent"],qe={class:"buttons"},ze=ue((function(){return(0,r._)("i",{class:"fa fa-edit"},null,-1)})),Ce=[ze],De={class:"row"},Re=ue((function(){return(0,r._)("div",{class:"param-name"},"IEEE Address",-1)})),Ze=["textContent"],Me={key:0,class:"row"},Ie=ue((function(){return(0,r._)("div",{class:"param-name"},"Network Address",-1)})),Ee=["textContent"],Ge={class:"row"},Ne=ue((function(){return(0,r._)("div",{class:"param-name"},"Type",-1)})),je=["textContent"],Se={key:1,class:"row"},Te=ue((function(){return(0,r._)("div",{class:"param-name"},"Vendor",-1)})),Oe={class:"param-value"},Ve={key:2,class:"row"},Ae=ue((function(){return(0,r._)("div",{class:"param-name"},"Model",-1)})),$e={class:"param-value"},Ue={key:3,class:"row"},Fe=ue((function(){return(0,r._)("div",{class:"param-name"},"Model ID",-1)})),Be={class:"param-value"},Pe={key:4,class:"row"},Ye=ue((function(){return(0,r._)("div",{class:"param-name"},"Description",-1)})),Le={class:"param-value"},He={key:5,class:"row"},Ke=ue((function(){return(0,r._)("div",{class:"param-name"},"Software Build ID",-1)})),We={class:"param-value"},Xe={key:6,class:"row"},Je=ue((function(){return(0,r._)("div",{class:"param-name"},"Date Code",-1)})),Qe={class:"param-value"},et={key:7,class:"row"},tt=ue((function(){return(0,r._)("div",{class:"param-name"},"Power Source",-1)})),nt={class:"param-value"},rt={key:8,class:"section values"},it=ue((function(){return(0,r._)("div",{class:"header"},[(0,r._)("div",{class:"title"},"Values")],-1)})),at={class:"body"},st={class:"param-name"},ot={key:0,class:"text"},ut=["textContent"],lt=["textContent"],ct={class:"param-value"},dt={key:2},vt=["value","disabled","onChange"],pt={key:3},ft=["value","onChange"],mt={key:0},gt=["value","textContent","selected","disabled"],ht={key:4},bt=["onChange","value"],yt={key:5},wt=["disabled","value","onChange"],_t={class:"section actions"},kt=ue((function(){return(0,r._)("div",{class:"header"},[(0,r._)("div",{class:"title"},"Actions")],-1)})),xt={class:"body"},qt=ue((function(){return(0,r._)("div",{class:"param-name"},"Manage groups",-1)})),zt=ue((function(){return(0,r._)("div",{class:"param-value"},[(0,r._)("i",{class:"fa fa-network-wired"})],-1)})),Ct=[qt,zt],Dt={key:0,class:"param-name"},Rt={key:1,class:"param-name"},Zt=ue((function(){return(0,r._)("div",{class:"param-value"},[(0,r._)("i",{class:"fa fa-sync-alt"})],-1)})),Mt=ue((function(){return(0,r._)("div",{class:"param-name"},"Remove Device",-1)})),It=ue((function(){return(0,r._)("div",{class:"param-value"},[(0,r._)("i",{class:"fa fa-trash"})],-1)})),Et=[Mt,It],Gt=ue((function(){return(0,r._)("div",{class:"param-name"},"Force Remove Device",-1)})),Nt=ue((function(){return(0,r._)("div",{class:"param-value"},[(0,r._)("i",{class:"fa fa-trash"})],-1)})),jt=[Gt,Nt];function St(e,t,n,a,s,o){var u,l,c,d,v=(0,r.up)("Loading"),p=(0,r.up)("Modal"),f=(0,r.up)("ToggleSwitch"),m=(0,r.up)("Slider");return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["item device",{selected:n.selected}])},[s.loading?((0,r.wg)(),(0,r.j4)(v,{key:0})):(0,r.kq)("",!0),(0,r.Wm)(p,{class:"groups-modal",ref:"groupsModal",title:"Device groups"},{default:(0,r.w5)((function(){return[s.loading?((0,r.wg)(),(0,r.j4)(v,{key:0})):(0,r.kq)("",!0),(0,r._)("form",{class:"content",onSubmit:t[0]||(t[0]=(0,oe.iM)((function(){return o.manageGroups&&o.manageGroups.apply(o,arguments)}),["prevent"]))},[(0,r._)("div",le,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.groups,(function(e,t){var n;return(0,r.wg)(),(0,r.iD)("label",{class:"row group",key:t},[(0,r._)("input",{type:"checkbox",value:t,checked:o.associatedGroups.has(parseInt(e.id))},null,8,ce),(0,r._)("span",{class:"name",textContent:(0,i.zw)(null!==(n=e.friendly_name)&&void 0!==n&&n.length?e.friendly_name:"[Group #".concat(e.id,"]"))},null,8,de)])})),128))]),ve],32)]})),_:1},512),(0,r._)("div",{class:(0,i.C_)(["row name header vertical-center",{selected:n.selected}]),textContent:(0,i.zw)(n.device.friendly_name||n.device.ieee_address),onClick:t[1]||(t[1]=function(t){return e.$emit("select")})},null,10,pe),n.selected?((0,r.wg)(),(0,r.iD)("div",fe,[(0,r._)("div",me,[ge,(0,r._)("div",he,[(0,r._)("div",{class:(0,i.C_)(["name-edit",{hidden:!s.editName}])},[(0,r._)("form",{onSubmit:t[3]||(t[3]=(0,oe.iM)((function(){return o.rename&&o.rename.apply(o,arguments)}),["prevent"]))},[(0,r._)("label",null,[(0,r._)("input",{type:"text",name:"name",ref:"name",value:n.device.friendly_name},null,8,be)]),(0,r._)("span",ye,[(0,r._)("button",{type:"button",class:"btn btn-default",onClick:t[2]||(t[2]=function(e){return s.editName=!1})},_e),ke])],32)],2),(0,r._)("div",{class:(0,i.C_)(["name-edit",{hidden:s.editName}])},[(0,r._)("span",{textContent:(0,i.zw)(n.device.friendly_name)},null,8,xe),(0,r._)("span",qe,[(0,r._)("button",{type:"button",class:"btn btn-default",onClick:t[4]||(t[4]=function(e){return s.editName=!0})},Ce)])],2)])]),(0,r._)("div",De,[Re,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(n.device.ieee_address)},null,8,Ze)]),n.device.network_address?((0,r.wg)(),(0,r.iD)("div",Me,[Ie,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(n.device.network_address)},null,8,Ee)])):(0,r.kq)("",!0),(0,r._)("div",Ge,[Ne,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(n.device.type)},null,8,je)]),null!==(u=n.device.definition)&&void 0!==u&&u.vendor?((0,r.wg)(),(0,r.iD)("div",Se,[Te,(0,r._)("div",Oe,(0,i.zw)(n.device.definition.vendor),1)])):(0,r.kq)("",!0),null!==(l=n.device.definition)&&void 0!==l&&l.model?((0,r.wg)(),(0,r.iD)("div",Ve,[Ae,(0,r._)("div",$e,(0,i.zw)(n.device.definition.model),1)])):(0,r.kq)("",!0),n.device.model_id?((0,r.wg)(),(0,r.iD)("div",Ue,[Fe,(0,r._)("div",Be,(0,i.zw)(n.device.model_id),1)])):(0,r.kq)("",!0),null!==(c=n.device.definition)&&void 0!==c&&c.description?((0,r.wg)(),(0,r.iD)("div",Pe,[Ye,(0,r._)("div",Le,(0,i.zw)(n.device.definition.description),1)])):(0,r.kq)("",!0),n.device.software_build_id?((0,r.wg)(),(0,r.iD)("div",He,[Ke,(0,r._)("div",We,(0,i.zw)(n.device.software_build_id),1)])):(0,r.kq)("",!0),null!==(d=n.device.definition)&&void 0!==d&&d.date_code?((0,r.wg)(),(0,r.iD)("div",Xe,[Je,(0,r._)("div",Qe,(0,i.zw)(n.device.definition.date_code),1)])):(0,r.kq)("",!0),n.device.power_source?((0,r.wg)(),(0,r.iD)("div",et,[tt,(0,r._)("div",nt,(0,i.zw)(n.device.power_source),1)])):(0,r.kq)("",!0),Object.keys(o.displayedValues).length?((0,r.wg)(),(0,r.iD)("div",rt,[it,(0,r._)("div",at,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(o.displayedValues,(function(e,t){var n,a,s,u,l,c,d,v;return(0,r.wg)(),(0,r.iD)("div",{class:"row value",key:t},[(0,r._)("div",st,[(0,r.Uk)((0,i.zw)(e.description)+" ",1),null!=o.rgbColor&&null!=(null===(n=e.value)||void 0===n?void 0:n.x)&&null!=(null===(a=e.value)||void 0===a?void 0:a.y)||null!=(null===(s=e.value)||void 0===s?void 0:s.hue)&&null!=(null===(u=e.value)||void 0===u?void 0:u.saturation)?((0,r.wg)(),(0,r.iD)("span",ot,"Color")):(0,r.kq)("",!0),e.property?((0,r.wg)(),(0,r.iD)("span",{key:1,class:"name",textContent:(0,i.zw)(e.property)},null,8,ut)):(0,r.kq)("",!0),e.unit?((0,r.wg)(),(0,r.iD)("span",{key:2,class:"unit",textContent:(0,i.zw)(e.unit)},null,8,lt)):(0,r.kq)("",!0)]),(0,r._)("div",ct,["binary"===e.type?((0,r.wg)(),(0,r.j4)(f,{key:0,value:null!=e.value_on?e.value===e.value_on:!!e.value,disabled:!e.writable,onInput:function(t){return o.setValue(e,t)}},null,8,["value","disabled","onInput"])):"numeric"===e.type&&null!=e.value_min&&null!=e.value_max?((0,r.wg)(),(0,r.j4)(m,{key:1,"with-label":!0,range:[e.value_min,e.value_max],value:e.value,disabled:!e.writable,onChange:function(t){return o.setValue(e,t)}},null,8,["range","value","disabled","onChange"])):"numeric"!==e.type||null!=e.value_min&&null!=e.value_max?"enum"===e.type?((0,r.wg)(),(0,r.iD)("label",pt,[(0,r._)("select",{value:e.readable&&null!=e.value?e.value:"",onChange:function(t){return o.setValue(e,t)}},[e.readable?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("option",mt)),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.values,(function(t){return(0,r.wg)(),(0,r.iD)("option",{key:t,value:t,textContent:(0,i.zw)(t),selected:e.readable&&e.value===t,disabled:!e.writable},null,8,gt)})),128))],40,ft)])):null!=o.rgbColor&&null!=(null===(l=e.value)||void 0===l?void 0:l.x)&&null!=(null===(c=e.value)||void 0===c?void 0:c.y)||null!=(null===(d=e.value)||void 0===d?void 0:d.hue)&&null!=(null===(v=e.value)||void 0===v?void 0:v.saturation)?((0,r.wg)(),(0,r.iD)("label",ht,[(0,r._)("input",{type:"color",onChange:(0,oe.iM)((function(t){return o.setValue(e,t)}),["stop"]),value:"#"+o.rgbColor.map((function(e){return e=Number(e).toString(16),1===e.length?"0"+e:e})).join("")},null,40,bt)])):((0,r.wg)(),(0,r.iD)("label",yt,[(0,r._)("input",{type:"text",disabled:!e.writable,value:e.value,onChange:function(t){return o.setValue(e,t)}},null,40,wt)])):((0,r.wg)(),(0,r.iD)("label",dt,[(0,r._)("input",{type:"number","with-label":!0,value:e.value,disabled:!e.writable,onChange:function(t){return o.setValue(e,t)}},null,40,vt)]))])])})),128))])])):(0,r.kq)("",!0),(0,r._)("div",_t,[kt,(0,r._)("div",xt,[(0,r._)("div",{class:"row",onClick:t[5]||(t[5]=function(t){return e.$refs.groupsModal.show()})},Ct),(0,r._)("div",{class:"row",onClick:t[6]||(t[6]=function(e){return s.otaUpdatesAvailable?o.installOtaUpdates():o.checkOtaUpdates()})},[s.otaUpdatesAvailable?((0,r.wg)(),(0,r.iD)("div",Rt,"Install updates")):((0,r.wg)(),(0,r.iD)("div",Dt,"Check for updates")),Zt]),(0,r._)("div",{class:"row",onClick:t[7]||(t[7]=function(e){return o.remove(!1)})},Et),(0,r._)("div",{class:"row error",onClick:t[8]||(t[8]=function(e){return o.remove(!0)})},jt)])])])):(0,r.kq)("",!0)],2)}var Tt=n(9584),Ot=n(6084),Vt=n(6347),At=(n(7327),n(9720),n(189),n(8783),n(2479),n(3210),n(8309),n(3123),n(1120)),$t=n(3567),Ut=n(634),Ft=n(9642),Bt={name:"Device",components:{Modal:Ft.Z,ToggleSwitch:$t.Z,Slider:At.Z,Loading:ae.Z},mixins:[se.Z],emits:["select","rename","remove","groups-edit"],props:{device:{type:Object,required:!0},groups:{type:Object,default:function(){}},selected:{type:Boolean,default:!1}},data:function(){return{editName:!1,loading:!1,status:{},otaUpdatesAvailable:!1}},computed:{values:function(){var e;if(null===(e=this.device.definition)||void 0===e||!e.exposes)return{};var t=function(e){var t,n=function e(t,n){if(t.features){t.property&&(n[t.property]=n[t.property]||{},n=n[t.property]);var r,i=(0,Vt.Z)(t.features);try{for(i.s();!(r=i.n()).done;){var a=r.value;e(a,n)}}catch(s){i.e(s)}finally{i.f()}}else t.property&&(n[t.property]=t)},r={},i=(0,Vt.Z)(e);try{for(i.s();!(t=i.n()).done;){var a=t.value;n(a,r)}}catch(s){i.e(s)}finally{i.f()}return r};return t(this.device.definition.exposes)},displayedValues:function(){var e=this,t={},n=function t(n,r){var i=(0,Ot.Z)(r,2),a=i[0],s=i[1];return a in e.status&&(s=(0,te.Z)((0,te.Z)({},s),{},{value:e.status[a]})),null!=s.access&&(s.readable=!!(1&s.access),s.writable=!!(2&s.access),delete s.access),n[a]=s,Object.entries(s).filter((function(e){return e[1]instanceof Object})).reduce(t,n[a]),n};return Object.entries(this.values).reduce(n,t),t},rgbColor:function(){var e;if(this.displayedValues.color){var t=null===(e=this.displayedValues.color)||void 0===e?void 0:e.value;if(t){if(null!=t.x&&null!=t.y){var n,r,i=new Ut.N({bri:[(null===(n=this.displayedValues.brightness)||void 0===n?void 0:n.value_min)||0,(null===(r=this.displayedValues.brightness)||void 0===r?void 0:r.value_max)||255]});return i.xyToRgb(t.x,t.y,this.displayedValues.brightness.value)}if(null!=t.hue&&(null!=t.saturation||null!=t.sat)){var a,s,o,u,l=null!=t.saturation?"saturation":"sat",c=new Ut.N({hue:[(null===(a=this.displayedValues.color.hue)||void 0===a?void 0:a.value_min)||0,this.displayedValues.color.hue.value_max||65535],sat:[(null===(s=this.displayedValues.color[l])||void 0===s?void 0:s.value_min)||0,this.displayedValues.color[l].value_max||255],bri:[(null===(o=this.displayedValues.brightness)||void 0===o?void 0:o.value_min)||0,(null===(u=this.displayedValues.brightness)||void 0===u?void 0:u.value_max)||255]});return c.hslToRgb(t.hue,t[l],this.displayedValues.brightness.value)}return null}}},associatedGroups:function(){var e=this;return new Set(Object.values(this.groups).filter((function(t){return new Set((t.members||[]).map((function(e){return e.ieee_address}))).has(e.device.ieee_address)})).map((function(e){return parseInt(e.id)})))}},methods:{refresh:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.device_get",{device:e.device.friendly_name||e.device.ieee_address});case 4:e.status=t.sent;case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},rename:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=(e.$refs.name.value||"").trim(),n.length&&n!==e.device.friendly_name){t.next=3;break}return t.abrupt("return");case 3:return e.loading=!0,t.prev=4,t.next=7,e.request("zigbee.mqtt.device_rename",{device:null!==(r=e.device.friendly_name)&&void 0!==r&&r.length?e.device.friendly_name:e.device.ieee_address,name:n});case 7:e.$emit("rename",{name:e.device.friendly_name,newName:n});case 8:return t.prev=8,e.editName=!1,e.loading=!1,t.finish(8);case 12:case"end":return t.stop()}}),t,null,[[4,,8,12]])})))()},remove:function(e){var t=this;return(0,ne.Z)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(confirm("Are you really sure that you want to remove this device from the network?")){n.next=2;break}return n.abrupt("return");case 2:return e=!!e,t.loading=!0,n.prev=4,n.next=7,t.request("zigbee.mqtt.device_remove",{device:null!==(r=t.device.friendly_name)&&void 0!==r&&r.length?t.device.friendly_name:t.device.ieee_address,force:e});case 7:t.$emit("remove",{device:t.device.friendly_name||t.device.ieee_address});case 8:return n.prev=8,t.loading=!1,n.finish(8);case 11:case"end":return n.stop()}}),n,null,[[4,,8,11]])})))()},setValue:function(e,t){var n=this;return(0,ne.Z)(regeneratorRuntime.mark((function r(){var i,a,s,o,u,l,c,d,v,p,f,m,g,h;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:a={device:n.device.friendly_name||n.device.ieee_address,property:e.property,value:null},r.t0=e.type,r.next="binary"===r.t0?4:"numeric"===r.t0?6:"enum"===r.t0?8:10;break;case 4:return e.value_toggle?a.value=e.value_toggle:e.value_on&&e.value_off?a.value=e.value===e.value_on?e.value_off:e.value_on:a.value=!e.value,r.abrupt("break",12);case 6:return a.value=parseFloat(t.target.value),r.abrupt("break",12);case 8:return null!==(i=t.target.value)&&void 0!==i&&i.length&&(a.value=t.target.value),r.abrupt("break",12);case 10:return(null!=e.x&&null!=e.y||null!=e.hue&&(null!=e.saturation||null!=e.sat))&&(a.property="color",s=t.target.value.slice(1).split(/([0-9a-fA-F]{2})/).filter((function(e,t){return t%2})).map((function(e){return parseInt(e,16)})),null!=e.x&&null!=e.y?(l=new Ut.N({bri:[(null===(o=n.displayedValues.brightness)||void 0===o?void 0:o.value_min)||0,(null===(u=n.displayedValues.brightness)||void 0===u?void 0:u.value_max)||255]}),c=l.rgbToXY.apply(l,(0,Tt.Z)(s)),a.value={color:{x:c[0],y:c[1]}}):(m=null!=n.displayedValues.color.saturation?"saturation":"sat",g=new Ut.N({hue:[(null===(d=n.displayedValues.color.hue)||void 0===d?void 0:d.value_min)||0,n.displayedValues.color.hue.value_max||65535],sat:[(null===(v=n.displayedValues.color[m])||void 0===v?void 0:v.value_min)||0,n.displayedValues.color[m].value_max||255],bri:[(null===(p=n.displayedValues.brightness)||void 0===p?void 0:p.value_min)||0,(null===(f=n.displayedValues.brightness)||void 0===f?void 0:f.value_max)||255]}),h=g.rgbToHsl.apply(g,(0,Tt.Z)(s)),a.value={brightness:h[2],color:{hue:h[0]}},a.value.color[m]=h[1])),r.abrupt("break",12);case 12:if(null!=a.value){r.next=14;break}return r.abrupt("return");case 14:return n.loading=!0,r.prev=15,r.next=18,n.request("zigbee.mqtt.device_set",a);case 18:return r.next=20,n.refresh();case 20:return r.prev=20,n.loading=!1,r.finish(20);case 23:case"end":return r.stop()}}),r,null,[[15,,20,23]])})))()},manageGroups:function(e){var t=this;return(0,ne.Z)(regeneratorRuntime.mark((function n(){var r,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=(0,Tt.Z)(e.target.querySelectorAll("input[type=checkbox]")).reduce((function(e,n){var r=parseInt(n.value);return n.checked&&!t.associatedGroups.has(r)?e.add.add(r):!n.checked&&t.associatedGroups.has(r)&&e.remove.add(r),e}),{add:new Set,remove:new Set}),i=function(){var e=(0,ne.Z)(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all((0,Tt.Z)(r[n]).map(function(){var e=(0,ne.Z)(regeneratorRuntime.mark((function e(r){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.request("zigbee.mqtt.group_".concat(n,"_device"),{group:t.groups[r].friendly_name,device:null!==(i=t.device.friendly_name)&&void 0!==i&&i.length?t.device.friendly_name:t.device.ieee_address});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.loading=!0,n.prev=3,n.next=6,Promise.all(Object.keys(r).map(i));case 6:t.$emit("groups-edit",r);case 7:return n.prev=7,t.loading=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[3,,7,10]])})))()},checkOtaUpdates:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.device_check_ota_updates",{device:null!==(n=e.device.friendly_name)&&void 0!==n&&n.length?e.device.friendly_name:e.device.ieee_address});case 4:e.otaUpdatesAvailable=t.sent.update_available,e.otaUpdatesAvailable?e.notify({text:"A firmware update is available for the device",image:{iconClass:"fa fa-sync-alt"}}):e.notify({text:"The device is up to date",image:{iconClass:"fa fa-check"}});case 6:return t.prev=6,e.loading=!1,t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[1,,6,9]])})))()},installOtaUpdates:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.device_install_ota_updates",{device:null!==(n=e.device.friendly_name)&&void 0!==n&&n.length?e.device.friendly_name:e.device.ieee_address});case 4:return t.prev=4,e.loading=!1,t.finish(4);case 7:case"end":return t.stop()}}),t,null,[[1,,4,7]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(t){t&&e.refresh()})),this.$watch((function(){return e.status.update_available}),(function(t){e.otaUpdatesAvailable=t})),this.subscribe((function(t){t.device!==e.device.friendly_name&&t.device!==e.device.ieee_address||(e.status=(0,te.Z)((0,te.Z)({},e.status),t.properties))}),"on-property-change-".concat(this.device.ieee_address),"platypush.message.event.zigbee.mqtt.ZigbeeMqttDevicePropertySetEvent")},unmounted:function(){this.unsubscribe("on-property-change-".concat(this.device.ieee_address))}},Pt=n(3744);const Yt=(0,Pt.Z)(Bt,[["render",St],["__scopeId","data-v-b05d09fc"]]);var Lt=Yt,Ht=function(e){return(0,r.dD)("data-v-7667f7ba"),e=e(),(0,r.Cn)(),e},Kt=["textContent"],Wt={key:1,class:"params"},Xt={class:"section devices"},Jt=Ht((function(){return(0,r._)("div",{class:"header"},[(0,r._)("div",{class:"title"},"Devices")],-1)})),Qt={class:"body"},en=["checked","value","onChange"],tn=["textContent"],nn={class:"section actions"},rn=Ht((function(){return(0,r._)("div",{class:"header"},[(0,r._)("div",{class:"title"},"Actions")],-1)})),an={class:"body"},sn=Ht((function(){return(0,r._)("div",{class:"col-10"},"Rename Group",-1)})),on=Ht((function(){return(0,r._)("div",{class:"buttons col-2 pull-right"},[(0,r._)("i",{class:"fa fa-edit"})],-1)})),un=[sn,on],ln=Ht((function(){return(0,r._)("div",{class:"col-10"},"Remove Group",-1)})),cn=Ht((function(){return(0,r._)("div",{class:"buttons col-2 pull-right"},[(0,r._)("i",{class:"fa fa-trash"})],-1)})),dn=[ln,cn];function vn(e,t,n,a,s,o){var u=(0,r.up)("Loading");return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["item group",{selected:n.selected}])},[s.loading?((0,r.wg)(),(0,r.j4)(u,{key:0})):(0,r.kq)("",!0),(0,r._)("div",{class:(0,i.C_)(["row name header vertical-center",{selected:n.selected}]),textContent:(0,i.zw)(n.group.friendly_name),onClick:t[0]||(t[0]=function(t){return e.$emit("select")})},null,10,Kt),n.selected?((0,r.wg)(),(0,r.iD)("div",Wt,[(0,r._)("div",Xt,[Jt,(0,r._)("div",Qt,[(0,r._)("form",null,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.devices,(function(e,t){var n;return(0,r.wg)(),(0,r.iD)("label",{class:"row",key:t},[(0,r._)("input",{type:"checkbox",checked:o.members.has(e.ieee_address),value:e.ieee_address,onChange:function(t){return o.toggleDevice(e.ieee_address)}},null,40,en),(0,r._)("span",{class:"label",textContent:(0,i.zw)(null!==(n=e.friendly_name)&&void 0!==n&&n.length?e.friendly_name:e.ieee_address)},null,8,tn)])})),128))])])]),(0,r._)("div",nn,[rn,(0,r._)("div",an,[(0,r._)("div",{class:"row",onClick:t[1]||(t[1]=function(){return o.rename&&o.rename.apply(o,arguments)})},un),(0,r._)("div",{class:"row",onClick:t[2]||(t[2]=function(){return o.remove&&o.remove.apply(o,arguments)})},dn)])])])):(0,r.kq)("",!0)],2)}var pn={name:"Group",emits:["select","remove","edit"],mixins:[se.Z],components:{Loading:ae.Z},props:{group:{type:Object,required:!0},devices:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,values:{}}},computed:{devicesByAddress:function(){return Object.entries(this.devices).reduce((function(e,t){var n=t[1];return e[n.ieee_address]=n,e}),{})},members:function(){return new Set((this.group.members||[]).map((function(e){return e.ieee_address})))}},methods:{remove:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(confirm("Are you sure that you want to remove this group?")){t.next=2;break}return t.abrupt("return");case 2:return e.loading=!0,t.prev=3,t.next=6,e.request("zigbee.mqtt.group_remove",{name:e.group.friendly_name});case 6:e.$emit("remove",{name:e.group.friendly_name});case 7:return t.prev=7,e.loading=!1,t.finish(7);case 10:case"end":return t.stop()}}),t,null,[[3,,7,10]])})))()},rename:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(r=prompt("New group name",e.group.friendly_name),null!==(n=r)&&void 0!==n&&n.length){t.next=3;break}return t.abrupt("return");case 3:return r=r.trim(),e.loading=!0,t.prev=5,t.next=8,e.request("zigbee.mqtt.group_rename",{group:e.group.friendly_name||e.group.id,name:r});case 8:e.$emit("rename",{name:e.group.friendly_name,newName:r});case 9:return t.prev=9,e.loading=!1,t.finish(9);case 12:case"end":return t.stop()}}),t,null,[[5,,9,12]])})))()},toggleDevice:function(e){var t=this;return(0,ne.Z)(regeneratorRuntime.mark((function n(){var r,i,a,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=t.devicesByAddress[e],a=null!==(r=i.friendly_name)&&void 0!==r&&r.length?i.friendly_name:e,s=t.members.has(e)?"remove":"add",t.loading=!0,n.prev=4,n.next=7,t.request("zigbee.mqtt.group_".concat(s,"_device"),{group:t.group.friendly_name,device:a});case 7:t.$emit("edit",{device:a,method:s});case 8:return n.prev=8,t.loading=!1,n.finish(8);case 11:case"end":return n.stop()}}),n,null,[[4,,8,11]])})))()}}};const fn=(0,Pt.Z)(pn,[["render",vn],["__scopeId","data-v-7667f7ba"]]);var mn=fn,gn={name:"ZigbeeMqtt",components:{Modal:Ft.Z,Dropdown:re.Z,DropdownItem:ie.Z,Loading:ae.Z,Device:Lt,Group:mn},mixins:[se.Z],data:function(){return{devices:{},groups:{},status:{},loading:!1,selected:{view:"devices",deviceId:void 0,groupId:void 0},views:{devices:!0,groups:!0},modal:{group:{visible:!1}}}},methods:{refreshDevices:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.devices");case 4:e.devices=t.sent.reduce((function(t,n){return n.friendly_name in e.devices&&(n=(0,te.Z)({values:e.devices[n.friendly_name].values||{}},e.devices[n.friendly_name])),t[n.friendly_name]=n,t}),{});case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},refreshGroups:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.groups");case 4:e.groups=t.sent.reduce((function(e,t){return e[t.id]=t,e}),{});case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},refreshInfo:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.info");case 4:e.status=t.sent;case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},refresh:function(){this.refreshDevices(),this.refreshGroups(),this.refreshInfo()},updateProperties:function(e,t){this.devices[e].values=t},addGroup:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=prompt("Group name"),n&&n.length){t.next=3;break}return t.abrupt("return");case 3:return e.loading=!0,t.prev=4,t.next=7,e.request("zigbee.mqtt.group_add",{name:n});case 7:return t.prev=7,e.loading=!1,t.finish(7);case 10:return t.next=12,e.refreshGroups();case 12:case"end":return t.stop()}}),t,null,[[4,,7,10]])})))()},permitJoin:function(e){var t=this;return(0,ne.Z)(regeneratorRuntime.mark((function n(){var r,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r={permit:!!e},e&&(i=prompt("Join allow period in seconds (0 or empty for no time limits)","60"),r.seconds=i.length?parseInt(i):null),t.loading=!0,n.prev=3,n.next=6,t.request("zigbee.mqtt.permit_join",r);case 6:setTimeout(t.refreshInfo,1e3);case 7:return n.prev=7,t.loading=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[3,,7,10]])})))()},factoryReset:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(confirm("Are you SURE that you want to do a device factory reset?")){t.next=3;break}if(confirm("Are you REALLY sure? ALL network information and custom firmware will be lost!!")){t.next=3;break}return t.abrupt("return");case 3:return e.loading=!0,t.prev=4,t.next=7,e.request("zigbee.mqtt.factory_reset");case 7:return t.prev=7,e.loading=!1,t.finish(7);case 10:case"end":return t.stop()}}),t,null,[[4,,7,10]])})))()},addToGroup:function(e,t){var n=this;return(0,ne.Z)(regeneratorRuntime.mark((function r(){var i;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return n.loading=!0,r.next=3,n.request("zigbee.mqtt.group_add_device",{device:e,group:t});case 3:n.loading=!1,i=n,setTimeout((function(){i.refresh(),i.refreshGroups()}),100);case 6:case"end":return r.stop()}}),r)})))()}},created:function(){var e=this;this.subscribe((function(){e.notify({text:"WARNING: The controller is offline",error:!0})}),"on-zigbee-offline","platypush.message.event.zigbee.mqtt.ZigbeeMqttOfflineEvent"),this.subscribe((function(){e.notify({text:"The controller is now online",iconClass:"fas fa-check"})}),"on-zigbee-online","platypush.message.event.zigbee.mqtt.ZigbeeMqttOnlineEvent"),this.subscribe((function(){e.notify({text:"Failed to remove the device",error:!0})}),"on-zigbee-device-remove-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRemovedFailedEvent"),this.subscribe((function(){e.notify({text:"Failed to add the group",error:!0})}),"on-zigbee-group-add-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupAddedFailedEvent"),this.subscribe((function(){e.notify({text:"Failed to remove group",error:!0})}),"on-zigbee-group-remove-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemovedFailedEvent"),this.subscribe((function(){e.notify({text:"Failed to remove the devices from group",error:!0})}),"on-zigbee-remove-all-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemoveAllFailedEvent"),this.subscribe((function(t){e.notify({text:t.error||"[Unknown error]",error:!0})}),"on-zigbee-error","platypush.message.event.zigbee.mqtt.ZigbeeMqttErrorEvent"),this.subscribe(this.refresh,"on-zigbee-device-update","platypush.message.event.zigbee.mqtt.ZigbeeMqttOnlineEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDevicePairingEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceConnectedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceBannedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRemovedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceWhitelistedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRenamedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceBindEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceUnbindEvent"),this.subscribe(this.refreshGroups,"on-zigbee-group-update","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupAddedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemovedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemoveAllEvent")},mounted:function(){this.refresh()},unmounted:function(){this.unsubscribe("on-zigbee-error"),this.unsubscribe("on-zigbee-remove-all-failed"),this.unsubscribe("on-zigbee-group-remove-failed"),this.unsubscribe("on-zigbee-group-add-failed"),this.unsubscribe("on-zigbee-device-remove-failed"),this.unsubscribe("on-zigbee-online"),this.unsubscribe("on-zigbee-offline"),this.unsubscribe("on-zigbee-device-update"),this.unsubscribe("on-zigbee-group-update")}};const hn=(0,Pt.Z)(gn,[["render",ee]]);var bn=hn}}]); -//# sourceMappingURL=4604-legacy.45e6aa25.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4604-legacy.45e6aa25.js.map b/platypush/backend/http/webapp/dist/static/js/4604-legacy.45e6aa25.js.map deleted file mode 100644 index 57e9a6318..000000000 --- a/platypush/backend/http/webapp/dist/static/js/4604-legacy.45e6aa25.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/4604-legacy.45e6aa25.js","mappings":"qGACA,IAAIA,EAAQ,EAAQ,MAEpBC,EAAOC,QAAUF,GAAM,WACrB,GAA0B,mBAAfG,YAA2B,CACpC,IAAIC,EAAS,IAAID,YAAY,GAEzBE,OAAOC,aAAaF,IAASC,OAAOE,eAAeH,EAAQ,IAAK,CAAEI,MAAO,S,kCCNjF,IAAID,EAAiB,UACjBE,EAAS,EAAQ,IACjBC,EAAc,EAAQ,MACtBC,EAAO,EAAQ,MACfC,EAAa,EAAQ,MACrBC,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AAKL,OAAO,CACVxF,KAAM,+BACN0F,UAAW,mBAEZ,mBAAoB,6DAEvB9W,KAAKiX,WAAU,WACb,EAAKL,OAAO,CACVxF,KAAM,8BACNqH,OAAO,MAER,iCAAkC,0EAErCzY,KAAKiX,WAAU,WACb,EAAKL,OAAO,CACVxF,KAAM,0BACNqH,OAAO,MAER,6BAA8B,uEAEjCzY,KAAKiX,WAAU,WACb,EAAKL,OAAO,CACVxF,KAAM,yBACNqH,OAAO,MAER,gCAAiC,yEAEpCzY,KAAKiX,WAAU,WACb,EAAKL,OAAO,CACVxF,KAAM,0CACNqH,OAAO,MAER,8BACC,2EAEJzY,KAAKiX,WAAU,SAACvI,GACd,EAAKkI,OAAO,CACVxF,KAAM1C,EAAM+J,OAAS,kBACrBA,OAAO,MAER,kBAAmB,4DAEtBzY,KAAKiX,UAAUjX,KAAKyR,QAAS,0BACzB,4DACA,mEACA,qEACA,kEACA,mEACA,uEACA,mEACA,gEACA,mEAGJzR,KAAKiX,UAAUjX,KAAK8R,cAAe,yBAC/B,gEACA,kEACA,sEAINzC,QArNa,WAsNXrP,KAAKyR,WAGP0F,UAzNa,WA0NXnX,KAAKoX,YAAY,mBACjBpX,KAAKoX,YAAY,+BACjBpX,KAAKoX,YAAY,iCACjBpX,KAAKoX,YAAY,8BACjBpX,KAAKoX,YAAY,kCACjBpX,KAAKoX,YAAY,oBACjBpX,KAAKoX,YAAY,qBACjBpX,KAAKoX,YAAY,2BACjBpX,KAAKoX,YAAY,4BKxVrB,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAAS7H,MAEpE","sources":["webpack://platypush/./node_modules/core-js/internals/array-buffer-non-extensible.js","webpack://platypush/./node_modules/core-js/internals/collection-strong.js","webpack://platypush/./node_modules/core-js/internals/collection.js","webpack://platypush/./node_modules/core-js/internals/freezing.js","webpack://platypush/./node_modules/core-js/internals/get-substitution.js","webpack://platypush/./node_modules/core-js/internals/internal-metadata.js","webpack://platypush/./node_modules/core-js/internals/object-is-extensible.js","webpack://platypush/./node_modules/core-js/internals/string-trim-forced.js","webpack://platypush/./node_modules/core-js/modules/es.set.js","webpack://platypush/./node_modules/core-js/modules/es.string.replace.js","webpack://platypush/./node_modules/core-js/modules/es.string.trim.js","webpack://platypush/./node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack://platypush/./node_modules/@babel/runtime/helpers/esm/createClass.js","webpack://platypush/./src/components/panels/Light/color.js","webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/ZigbeeMqtt/Index.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Device.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Device.vue?8b6d","webpack://platypush/./src/components/panels/ZigbeeMqtt/Group.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Group.vue?46cd","webpack://platypush/./src/components/panels/ZigbeeMqtt/Index.vue?dac0"],"sourcesContent":["// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\n\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n }\n});\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar create = require('../internals/object-create');\nvar redefineAll = require('../internals/redefine-all');\nvar bind = require('../internals/function-bind-context');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar defineIterator = require('../internals/define-iterator');\nvar setSpecies = require('../internals/set-species');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fastKey = require('../internals/internal-metadata').fastKey;\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n index: create(null),\n first: undefined,\n last: undefined,\n size: 0\n });\n if (!DESCRIPTORS) that.size = 0;\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n var previous, index;\n // change existing entry\n if (entry) {\n entry.value = value;\n // create new entry\n } else {\n state.last = entry = {\n index: index = fastKey(key, true),\n key: key,\n value: value,\n previous: previous = state.last,\n next: undefined,\n removed: false\n };\n if (!state.first) state.first = entry;\n if (previous) previous.next = entry;\n if (DESCRIPTORS) state.size++;\n else that.size++;\n // add to index\n if (index !== 'F') state.index[index] = entry;\n } return that;\n };\n\n var getEntry = function (that, key) {\n var state = getInternalState(that);\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return state.index[index];\n // frozen object case\n for (entry = state.first; entry; entry = entry.next) {\n if (entry.key == key) return entry;\n }\n };\n\n redefineAll(Prototype, {\n // `{ Map, Set }.prototype.clear()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.clear\n // https://tc39.es/ecma262/#sec-set.prototype.clear\n clear: function clear() {\n var that = this;\n var state = getInternalState(that);\n var data = state.index;\n var entry = state.first;\n while (entry) {\n entry.removed = true;\n if (entry.previous) entry.previous = entry.previous.next = undefined;\n delete data[entry.index];\n entry = entry.next;\n }\n state.first = state.last = undefined;\n if (DESCRIPTORS) state.size = 0;\n else that.size = 0;\n },\n // `{ Map, Set }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.delete\n // https://tc39.es/ecma262/#sec-set.prototype.delete\n 'delete': function (key) {\n var that = this;\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.next;\n var prev = entry.previous;\n delete state.index[entry.index];\n entry.removed = true;\n if (prev) prev.next = next;\n if (next) next.previous = prev;\n if (state.first == entry) state.first = next;\n if (state.last == entry) state.last = prev;\n if (DESCRIPTORS) state.size--;\n else that.size--;\n } return !!entry;\n },\n // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.foreach\n // https://tc39.es/ecma262/#sec-set.prototype.foreach\n forEach: function forEach(callbackfn /* , that = undefined */) {\n var state = getInternalState(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // `{ Map, Set}.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.has\n // https://tc39.es/ecma262/#sec-set.prototype.has\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n redefineAll(Prototype, IS_MAP ? {\n // `Map.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-map.prototype.get\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // `Map.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-map.prototype.set\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // `Set.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-set.prototype.add\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineProperty(Prototype, 'size', {\n get: function () {\n return getInternalState(this).size;\n }\n });\n return Constructor;\n },\n setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.entries\n // https://tc39.es/ecma262/#sec-map.prototype.keys\n // https://tc39.es/ecma262/#sec-map.prototype.values\n // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n // https://tc39.es/ecma262/#sec-set.prototype.entries\n // https://tc39.es/ecma262/#sec-set.prototype.keys\n // https://tc39.es/ecma262/#sec-set.prototype.values\n // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return { value: undefined, done: true };\n }\n // return step by kind\n if (kind == 'keys') return { value: entry.key, done: false };\n if (kind == 'values') return { value: entry.value, done: false };\n return { value: [entry.key, entry.value], done: false };\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // `{ Map, Set }.prototype[@@species]` accessors\n // https://tc39.es/ecma262/#sec-get-map-@@species\n // https://tc39.es/ecma262/#sec-get-set-@@species\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);\n redefine(NativePrototype, KEY,\n KEY == 'add' ? function add(value) {\n uncurriedNativeMethod(this, value === 0 ? 0 : value);\n return this;\n } : KEY == 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n uncurriedNativeMethod(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n var REPLACE = isForced(\n CONSTRUCTOR_NAME,\n !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n }))\n );\n\n if (REPLACE) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new -- required for testing\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, NativePrototype);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, forced: Constructor != NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\ncollection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n var replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","export class ColorConverter {\n constructor(ranges) {\n this.ranges = {\n hue: [0, 360],\n sat: [0, 100],\n bri: [0, 100],\n ct: [154, 500],\n }\n\n if (ranges)\n for (const attr of Object.keys(this.ranges))\n if (ranges[attr])\n this.ranges[attr] = ranges[attr]\n }\n\n normalize(x, xRange, yRange) {\n return yRange[0] + (((x-xRange[0]) * (yRange[1]-yRange[0])) / (xRange[1]-xRange[0]))\n }\n\n hslToRgb(h, s, l) {\n [h, s, l] = [\n this.normalize(h, this.ranges.hue, [0, 360]),\n this.normalize(s, this.ranges.sat, [0, 100]),\n this.normalize(l, this.ranges.bri, [0, 100]),\n ]\n\n l /= 100\n const a = s * Math.min(l, 1 - l) / 100\n const f = n => {\n const k = (n + h / 30) % 12\n const color = l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1)\n return Math.round(255 * color)\n }\n\n return [f(0), f(8), f(4)]\n }\n\n rgbToHsl(r, g, b){\n r /= 255\n g /= 255\n b /= 255;\n const max = Math.max(r, g, b), min = Math.min(r, g, b);\n let h, s, l = (max + min) / 2;\n\n if(max === min){\n h = s = 0; // achromatic\n } else {\n const d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n\n switch(max){\n case r: h = (g - b) / d + (g < b ? 6 : 0); break;\n case g: h = (b - r) / d + 2; break;\n case b: h = (r - g) / d + 4; break;\n }\n h /= 6;\n }\n\n return [\n parseInt(this.normalize(h, [0, 1], this.ranges.hue)),\n parseInt(this.normalize(s, [0, 1], this.ranges.sat)),\n parseInt(this.normalize(l, [0, 1], this.ranges.bri)),\n ]\n }\n\n xyToRgb(x, y, brightness) {\n // Set to maximum brightness if no custom value was given (Not the slick ECMAScript 6 way for compatibility reasons)\n if (brightness == null)\n brightness = this.ranges.bri[1];\n\n const z = 1.0 - x - y;\n const Y = (brightness / (this.ranges.bri[1]-1)).toFixed(2);\n const X = (Y / y) * x;\n const Z = (Y / y) * z;\n\n //Convert to RGB using Wide RGB D65 conversion\n let red \t= X * 1.656492 - Y * 0.354851 - Z * 0.255038;\n let green = -X * 0.707196 + Y * 1.655397 + Z * 0.036152;\n let blue \t= X * 0.051713 - Y * 0.121364 + Z * 1.011530;\n\n //If red, green or blue is larger than 1.0 set it back to the maximum of 1.0\n if (red > blue && red > green && red > 1.0) {\n green = green / red;\n blue = blue / red;\n red = 1.0;\n } else if (green > blue && green > red && green > 1.0) {\n red = red / green;\n blue = blue / green;\n green = 1.0;\n } else if (blue > red && blue > green && blue > 1.0) {\n red = red / blue;\n green = green / blue;\n blue = 1.0;\n }\n\n //Reverse gamma correction\n red \t= red <= 0.0031308 ? 12.92 * red : (1.0 + 0.055) * Math.pow(red, (1.0 / 2.4)) - 0.055;\n green \t= green <= 0.0031308 ? 12.92 * green : (1.0 + 0.055) * Math.pow(green, (1.0 / 2.4)) - 0.055;\n blue \t= blue <= 0.0031308 ? 12.92 * blue : (1.0 + 0.055) * Math.pow(blue, (1.0 / 2.4)) - 0.055;\n\n //Convert normalized decimal to decimal\n red \t= Math.round(red * 255);\n green \t= Math.round(green * 255);\n blue \t= Math.round(blue * 255);\n\n if (isNaN(red))\n red = 0;\n if (isNaN(green))\n green = 0;\n if (isNaN(blue))\n blue = 0;\n\n return [red, green, blue].map(\n (c) => Math.min(Math.max(0, c), 255)) // lgtm [js/automatic-semicolon-insertion]\n }\n\n rgbToXY(red, green, blue) {\n if (red > 1) { red /= 255; }\n if (green > 1) { green /= 255; }\n if (blue > 1) { blue /= 255; }\n\n //Apply a gamma correction to the RGB values, which makes the color more vivid and more the like the color displayed on the screen of your device\n red \t= (red > 0.04045) ? Math.pow((red + 0.055) / (1.0 + 0.055), 2.4) : (red / 12.92);\n green \t= (green > 0.04045) ? Math.pow((green + 0.055) / (1.0 + 0.055), 2.4) : (green / 12.92);\n blue \t= (blue > 0.04045) ? Math.pow((blue + 0.055) / (1.0 + 0.055), 2.4) : (blue / 12.92);\n\n //RGB values to XYZ using the Wide RGB D65 conversion formula\n const X \t\t= red * 0.664511 + green * 0.154324 + blue * 0.162028;\n const Y \t\t= red * 0.283881 + green * 0.668433 + blue * 0.047685;\n const Z \t\t= red * 0.000088 + green * 0.072310 + blue * 0.986039;\n\n //Calculate the xy values from the XYZ values\n let x \t\t= parseFloat((X / (X + Y + Z)).toFixed(4));\n let y \t\t= parseFloat((Y / (X + Y + Z)).toFixed(4));\n\n if (isNaN(x))\n x = 0;\n if (isNaN(y))\n y = 0;\n\n return [x, y];\n }\n\n rgbToBri(red, green, blue) {\n return Math.min(2 * this.rgbToHsl(red, green, blue)[2], this.ranges.bri[1])\n }\n\n getRGB(color) {\n if (color.red != null && color.green != null && color.blue != null)\n return [color.red, color.green, color.blue]\n if (color.r != null && color.g != null && color.b != null)\n return [color.r, color.g, color.b]\n if (color.rgb)\n return color.rgb\n }\n\n getXY(color) {\n if (color.x != null && color.y != null)\n return [color.x, color.y]\n if (color.xy)\n return color.xy\n }\n\n toRGB(color) {\n const rgb = this.getRGB(color)\n if (rgb)\n return rgb\n\n const xy = this.getXY(color)\n if (xy && color.bri)\n return this.xyToRgb(...xy, color.bri)\n if (color.hue && color.sat && color.bri)\n return this.hslToRgb(color.hue, color.sat, color.bri)\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toXY(color) {\n const xy = this.getXY(color)\n if (xy && color.bri)\n return [xy[0], xy[1], color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToXY(...rgb)\n\n if (color.hue && color.sat && color.bri) {\n const rgb = this.hslToRgb(color.hue, color.sat, color.bri)\n return this.rgbToXY(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toHSL(color) {\n if (color.hue && color.sat && color.bri)\n return [color.hue, color.sat, color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToHsl(...rgb)\n\n const xy = this.getXY(color)\n if (xy && color.bri) {\n const rgb = this.xyToRgb(...xy, color.bri)\n return this.rgbToHsl(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n}\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Device.vue?vue&type=template&id=b05d09fc&scoped=true\"\nimport script from \"./Device.vue?vue&type=script&lang=js\"\nexport * from \"./Device.vue?vue&type=script&lang=js\"\n\nimport \"./Device.vue?vue&type=style&index=0&id=b05d09fc&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b05d09fc\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Group.vue?vue&type=template&id=7667f7ba&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=7667f7ba&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7667f7ba\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=b15233ac\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=b15233ac&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["fails","module","exports","ArrayBuffer","buffer","Object","isExtensible","defineProperty","value","create","redefineAll","bind","anInstance","iterate","defineIterator","setSpecies","DESCRIPTORS","fastKey","InternalStateModule","setInternalState","set","internalStateGetterFor","getterFor","getConstructor","wrapper","CONSTRUCTOR_NAME","IS_MAP","ADDER","Constructor","that","iterable","Prototype","type","index","first","undefined","last","size","AS_ENTRIES","prototype","getInternalState","define","key","previous","state","entry","getEntry","next","removed","clear","this","data","prev","forEach","callbackfn","boundFunction","arguments","length","has","get","add","setStrong","ITERATOR_NAME","getInternalCollectionState","getInternalIteratorState","iterated","kind","target","done","$","global","uncurryThis","isForced","redefine","InternalMetadataModule","isCallable","isObject","checkCorrectnessOfIteration","setToStringTag","inheritIfRequired","common","indexOf","IS_WEAK","NativeConstructor","NativePrototype","exported","fixMethod","KEY","uncurriedNativeMethod","REPLACE","entries","enable","instance","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","BUGGY_ZERO","$instance","dummy","constructor","forced","preventExtensions","toObject","floor","Math","charAt","replace","stringSlice","slice","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","matched","str","position","captures","namedCaptures","replacement","tailPos","m","symbols","match","ch","capture","n","f","hiddenKeys","hasOwn","getOwnPropertyNamesModule","getOwnPropertyNamesExternalModule","uid","FREEZING","REQUIRED","METADATA","id","setMetadata","it","objectID","weakData","getWeakData","onFreeze","meta","getOwnPropertyNames","splice","test","result","i","stat","classof","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","FAILS_ON_PRIMITIVES","PROPER_FUNCTION_NAME","whitespaces","non","METHOD_NAME","name","collection","collectionStrong","init","apply","call","fixRegExpWellKnownSymbolLogic","anObject","toIntegerOrInfinity","toLength","toString","requireObjectCoercible","advanceStringIndex","getMethod","getSubstitution","regExpExec","wellKnownSymbol","max","min","concat","push","stringIndexOf","maybeToString","String","REPLACE_KEEPS_$0","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","REPLACE_SUPPORTS_NAMED_GROUPS","re","exec","groups","a","_","nativeReplace","maybeCallNative","UNSAFE_SUBSTITUTE","searchValue","replaceValue","O","replacer","string","rx","S","res","functionalReplace","fullUnicode","unicode","lastIndex","results","matchStr","accumulatedResult","nextSourcePosition","j","replacerArgs","$trim","forcedStringTrimMethod","proto","trim","_classCallCheck","TypeError","_defineProperties","props","descriptor","enumerable","configurable","writable","_createClass","protoProps","staticProps","ColorConverter","ranges","hue","sat","bri","ct","keys","attr","x","xRange","yRange","h","s","l","normalize","k","color","round","r","g","b","d","parseInt","y","brightness","z","Y","toFixed","X","Z","red","green","blue","pow","isNaN","map","c","parseFloat","rgbToHsl","rgb","xy","getRGB","getXY","xyToRgb","hslToRgb","console","debug","rgbToXY","class","ref","range","step","disabled","onUpdate","withLabel","emits","Number","Boolean","default","Array","methods","event","update","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","stopPropagation","loading","title","status","info","permit_join","network","channel","version","config","mqtt","server","serial","port","coordinator","maintrel","majorrel","minorrel","revision","selected","view","$event","views","enabled","toUpperCase","addGroup","text","infoModal","show","permitJoin","factoryReset","refresh","devices","device","deviceId","refreshDevices","refreshGroups","group","groupId","manageGroups","associatedGroups","friendly_name","ieee_address","editName","rename","network_address","definition","vendor","model","model_id","description","software_build_id","date_code","power_source","displayedValues","property","rgbColor","unit","value_on","setValue","value_min","value_max","readable","values","option","join","groupsModal","otaUpdatesAvailable","installOtaUpdates","checkOtaUpdates","remove","components","Modal","ToggleSwitch","Slider","Loading","mixins","Utils","required","computed","exposes","extractValues","extractValue","root","features","feature","ret","mergeValues","obj","access","filter","v","reduce","converter","saturation","satAttr","Set","members","member","request","newName","force","confirm","value_toggle","value_off","split","hsl","querySelectorAll","element","editGroups","action","Promise","all","update_available","notify","image","iconClass","$watch","newValue","subscribe","properties","unmounted","unsubscribe","toggleDevice","devicesByAddress","prompt","ieeeAddress","method","Dropdown","DropdownItem","Device","Group","modal","visible","refreshInfo","updateProperties","permit","args","seconds","setTimeout","addToGroup","self","created","error"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4604-legacy.6d373d71.js b/platypush/backend/http/webapp/dist/static/js/4604-legacy.6d373d71.js new file mode 100644 index 000000000..5ab4d41dc --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/4604-legacy.6d373d71.js @@ -0,0 +1,2 @@ +(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4604],{7556:function(e,t,n){var r=n(7293);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},5631:function(e,t,n){"use strict";var r=n(3070).f,i=n(30),a=n(2248),s=n(9974),o=n(5787),u=n(408),l=n(654),c=n(6340),d=n(9781),v=n(2423).fastKey,p=n(9909),f=p.set,m=p.getterFor;e.exports={getConstructor:function(e,t,n,l){var c=e((function(e,r){o(e,p),f(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),d||(e.size=0),void 0!=r&&u(r,e[l],{that:e,AS_ENTRIES:n})})),p=c.prototype,g=m(t),h=function(e,t,n){var r,i,a=g(e),s=b(e,t);return s?s.value=n:(a.last=s={index:i=v(t,!0),key:t,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=s),r&&(r.next=s),d?a.size++:e.size++,"F"!==i&&(a.index[i]=s)),e},b=function(e,t){var n,r=g(e),i=v(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return a(p,{clear:function(){var e=this,t=g(e),n=t.index,r=t.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;t.first=t.last=void 0,d?t.size=0:e.size=0},delete:function(e){var t=this,n=g(t),r=b(t,e);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first==r&&(n.first=i),n.last==r&&(n.last=a),d?n.size--:t.size--}return!!r},forEach:function(e){var t,n=g(this),r=s(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:n.first){r(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!b(this,e)}}),a(p,n?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return h(this,0===e?0:e,t)}}:{add:function(e){return h(this,e=0===e?0:e,e)}}),d&&r(p,"size",{get:function(){return g(this).size}}),c},setStrong:function(e,t,n){var r=t+" Iterator",i=m(t),a=m(r);l(e,t,(function(e,t){f(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){var e=a(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},7710:function(e,t,n){"use strict";var r=n(2109),i=n(7854),a=n(1702),s=n(4705),o=n(1320),u=n(2423),l=n(408),c=n(5787),d=n(614),v=n(111),p=n(7293),f=n(7072),m=n(8003),g=n(9587);e.exports=function(e,t,n){var h=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),y=h?"set":"add",w=i[e],_=w&&w.prototype,k=w,x={},q=function(e){var t=a(_[e]);o(_,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!v(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return b&&!v(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!v(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})},z=s(e,!d(w)||!(b||_.forEach&&!p((function(){(new w).entries().next()}))));if(z)k=n.getConstructor(t,e,h,y),u.enable();else if(s(e,!0)){var C=new k,D=C[y](b?{}:-0,1)!=C,R=p((function(){C.has(1)})),Z=f((function(e){new w(e)})),M=!b&&p((function(){var e=new w,t=5;while(t--)e[y](t,t);return!e.has(-0)}));Z||(k=t((function(e,t){c(e,_);var n=g(new w,e,k);return void 0!=t&&l(t,n[y],{that:n,AS_ENTRIES:h}),n})),k.prototype=_,_.constructor=k),(R||M)&&(q("delete"),q("has"),h&&q("get")),(M||D)&&q(y),b&&_.clear&&delete _.clear}return x[e]=k,r({global:!0,forced:k!=w},x),m(k,e),b||n.setStrong(k,e,h),k}},6677:function(e,t,n){var r=n(7293);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},647:function(e,t,n){var r=n(1702),i=n(7908),a=Math.floor,s=r("".charAt),o=r("".replace),u=r("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,d,v){var p=n+e.length,f=r.length,m=c;return void 0!==d&&(d=i(d),m=l),o(v,m,(function(i,o){var l;switch(s(o,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,n);case"'":return u(t,p);case"<":l=d[u(o,1,-1)];break;default:var c=+o;if(0===c)return i;if(c>f){var v=a(c/10);return 0===v?i:v<=f?void 0===r[v-1]?s(o,1):r[v-1]+s(o,1):i}l=r[c-1]}return void 0===l?"":l}))}},2423:function(e,t,n){var r=n(2109),i=n(1702),a=n(3501),s=n(111),o=n(2597),u=n(3070).f,l=n(8006),c=n(1156),d=n(2050),v=n(9711),p=n(6677),f=!1,m=v("meta"),g=0,h=function(e){u(e,m,{value:{objectID:"O"+g++,weakData:{}}})},b=function(e,t){if(!s(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,m)){if(!d(e))return"F";if(!t)return"E";h(e)}return e[m].objectID},y=function(e,t){if(!o(e,m)){if(!d(e))return!0;if(!t)return!1;h(e)}return e[m].weakData},w=function(e){return p&&f&&d(e)&&!o(e,m)&&h(e),e},_=function(){k.enable=function(){},f=!0;var e=l.f,t=i([].splice),n={};n[m]=1,e(n).length&&(l.f=function(n){for(var r=e(n),i=0,a=r.length;i")}));s("replace",(function(e,t,n){var a=R?"$":"$0";return[function(e,n){var r=p(this),a=void 0==e?void 0:m(e,y);return a?i(a,e,r,n):i(t,v(r),e,n)},function(e,i){var s=u(this),o=v(e);if("string"==typeof i&&-1===q(i,a)&&-1===q(i,"$<")){var p=n(t,s,o,i);if(p.done)return p.value}var m=l(i);m||(i=v(i));var b=s.global;if(b){var y=s.unicode;s.lastIndex=0}var D=[];while(1){var R=h(s,o);if(null===R)break;if(x(D,R),!b)break;var Z=v(R[0]);""===Z&&(s.lastIndex=f(o,d(s.lastIndex),y))}for(var M="",I=0,E=0;E=I&&(M+=z(o,I,N)+V,I=N+G.length)}return M+z(o,I)}]}),!Z||!D||R)},3210:function(e,t,n){"use strict";var r=n(2109),i=n(3111).trim,a=n(6091);r({target:"String",proto:!0,forced:a("trim")},{trim:function(){return i(this)}})},634:function(e,t,n){"use strict";n.d(t,{N:function(){return o}});var r=n(9584);n(1703);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n.5?u/(2-a-s):u/(a+s),a){case e:r=(t-n)/u+(tl&&o>u&&o>1?(u/=o,l/=o,o=1):u>l&&u>o&&u>1?(o/=u,l/=u,u=1):l>o&&l>u&&l>1&&(o/=l,u/=l,l=1),o=o<=.0031308?12.92*o:1.055*Math.pow(o,1/2.4)-.055,u=u<=.0031308?12.92*u:1.055*Math.pow(u,1/2.4)-.055,l=l<=.0031308?12.92*l:1.055*Math.pow(l,1/2.4)-.055,o=Math.round(255*o),u=Math.round(255*u),l=Math.round(255*l),isNaN(o)&&(o=0),isNaN(u)&&(u=0),isNaN(l)&&(l=0),[o,u,l].map((function(e){return Math.min(Math.max(0,e),255)}))}},{key:"rgbToXY",value:function(e,t,n){e>1&&(e/=255),t>1&&(t/=255),n>1&&(n/=255),e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var r=.664511*e+.154324*t+.162028*n,i=.283881*e+.668433*t+.047685*n,a=88e-6*e+.07231*t+.986039*n,s=parseFloat((r/(r+i+a)).toFixed(4)),o=parseFloat((i/(r+i+a)).toFixed(4));return isNaN(s)&&(s=0),isNaN(o)&&(o=0),[s,o]}},{key:"rgbToBri",value:function(e,t,n){return Math.min(2*this.rgbToHsl(e,t,n)[2],this.ranges.bri[1])}},{key:"getRGB",value:function(e){return null!=e.red&&null!=e.green&&null!=e.blue?[e.red,e.green,e.blue]:null!=e.r&&null!=e.g&&null!=e.b?[e.r,e.g,e.b]:e.rgb?e.rgb:void 0}},{key:"getXY",value:function(e){return null!=e.x&&null!=e.y?[e.x,e.y]:e.xy?e.xy:void 0}},{key:"toRGB",value:function(e){var t=this.getRGB(e);if(t)return t;var n=this.getXY(e);return n&&e.bri?this.xyToRgb.apply(this,(0,r.Z)(n).concat([e.bri])):e.hue&&e.sat&&e.bri?this.hslToRgb(e.hue,e.sat,e.bri):(console.debug("Could not determine color space"),void console.debug(e))}},{key:"toXY",value:function(e){var t=this.getXY(e);if(t&&e.bri)return[t[0],t[1],e.bri];var n=this.getRGB(e);if(n)return this.rgbToXY.apply(this,(0,r.Z)(n));if(e.hue&&e.sat&&e.bri){var i=this.hslToRgb(e.hue,e.sat,e.bri);return this.rgbToXY.apply(this,(0,r.Z)(i))}console.debug("Could not determine color space"),console.debug(e)}},{key:"toHSL",value:function(e){if(e.hue&&e.sat&&e.bri)return[e.hue,e.sat,e.bri];var t=this.getRGB(e);if(t)return this.rgbToHsl.apply(this,(0,r.Z)(t));var n=this.getXY(e);if(n&&e.bri){var i=this.xyToRgb.apply(this,(0,r.Z)(n).concat([e.bri]));return this.rgbToHsl.apply(this,(0,r.Z)(i))}console.debug("Could not determine color space"),console.debug(e)}}]),e}()},1120:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(6252),i=n(9963),a=n(3577),s={class:"slider-wrapper"},o=["min","max","step","disabled","value"],u={class:"track"},l={class:"track-inner",ref:"track"},c={class:"thumb",ref:"thumb"},d=["textContent"];function v(e,t,n,v,p,f){return(0,r.wg)(),(0,r.iD)("label",s,[(0,r._)("input",{class:"slider",type:"range",ref:"range",min:n.range[0],max:n.range[1],step:n.step,disabled:n.disabled,value:n.value,onInput:t[0]||(t[0]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onChange:t[1]||(t[1]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onMouseup:t[2]||(t[2]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onMousedown:t[3]||(t[3]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onTouchstart:t[4]||(t[4]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onTouchend:t[5]||(t[5]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onKeyup:t[6]||(t[6]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"])),onKeydown:t[7]||(t[7]=(0,i.iM)((function(){return f.onUpdate&&f.onUpdate.apply(f,arguments)}),["stop"]))},null,40,o),(0,r._)("div",u,[(0,r._)("div",l,null,512)]),(0,r._)("div",c,null,512),n.withLabel?((0,r.wg)(),(0,r.iD)("span",{key:0,class:"label",textContent:(0,a.zw)(n.value)},null,8,d)):(0,r.kq)("",!0)])}var p=n(4648),f=(n(9653),{name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:function(){return[0,100]}},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate:function(e){this.update(e.target.value),this.$emit(e.type,(0,p.Z)((0,p.Z)({},e),{},{target:(0,p.Z)((0,p.Z)({},e.target),{},{value:this.$refs.range.value})}))},update:function(e){var t=100*e/(this.range[1]-this.range[0]);this.$refs.thumb.style.left="".concat(t,"%"),this.$refs.thumb.style.transform="translate(-".concat(t,"%, -50%)"),this.$refs.track.style.width="".concat(t,"%")}},mounted:function(){null!=this.value&&this.update(this.value)}}),m=n(3744);const g=(0,m.Z)(f,[["render",v],["__scopeId","data-v-288acf82"]]);var h=g},6137:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(6252),i=n(3577),a=n(9963),s=function(e){return(0,r.dD)("data-v-8e097228"),e=e(),(0,r.Cn)(),e},o=["checked"],u=s((function(){return(0,r._)("div",{class:"switch"},[(0,r._)("div",{class:"dot"})],-1)})),l={class:"label"};function c(e,t,n,s,c,d){return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,a.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,r._)("input",{type:"checkbox",checked:n.value},null,8,o),(0,r._)("label",null,[u,(0,r._)("span",l,[(0,r.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=n(3744);const p=(0,v.Z)(d,[["render",c],["__scopeId","data-v-8e097228"]]);var f=p},4604:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return bn}});n(4916),n(5306),n(7042),n(7941);var r=n(6252),i=n(3577),a={class:"zigbee-container"},s={key:0,class:"info-body"},o={class:"row"},u=(0,r._)("div",{class:"param-name"},"State",-1),l=["textContent"],c={class:"row"},d=(0,r._)("div",{class:"param-name"},"Permit Join",-1),v=["textContent"],p={key:0,class:"row"},f=(0,r._)("div",{class:"param-name"},"Network Channel",-1),m=["textContent"],g={class:"row"},h=(0,r._)("div",{class:"param-name"},"Zigbee2MQTT Version",-1),b=["textContent"],y={key:1,class:"row"},w=(0,r._)("div",{class:"param-name"},"MQTT Server",-1),_=["textContent"],k={key:2,class:"row"},x=(0,r._)("div",{class:"param-name"},"Serial Port",-1),q=["textContent"],z={key:3,class:"row"},C=(0,r._)("div",{class:"param-name"},"Firmware Type",-1),D=["textContent"],R={key:4,class:"row"},Z=(0,r._)("div",{class:"param-name"},"Firmware Version",-1),M={class:"param-value"},I={key:5,class:"row"},E=(0,r._)("div",{class:"param-name"},"Firmware Revision",-1),G=["textContent"],N={class:"view-options"},j={class:"view-selector col-s-8 col-m-9 col-l-10"},S=["value"],T=["textContent","selected","value"],O={class:"buttons"},V=["disabled"],A=(0,r._)("i",{class:"fa fa-plus"},null,-1),$=[A],U=["disabled"],F=(0,r._)("i",{class:"fa fa-sync-alt"},null,-1),B=[F],Y={class:"view-container"},P={key:0,class:"view devices"},L={key:0,class:"no-items"},H={key:0,class:"loading"},K={key:1,class:"empty"},W={key:1,class:"view groups"},X={key:0,class:"no-items"},J={key:0,class:"loading"},Q={key:1,class:"empty"};function ee(e,t,n,A,F,ee){var te=this,ne=(0,r.up)("Loading"),re=(0,r.up)("Modal"),ie=(0,r.up)("DropdownItem"),ae=(0,r.up)("Dropdown"),se=(0,r.up)("Device"),oe=(0,r.up)("Group");return(0,r.wg)(),(0,r.iD)("div",a,[F.loading?((0,r.wg)(),(0,r.j4)(ne,{key:0})):(0,r.kq)("",!0),(0,r.Wm)(re,{title:"Network Info",ref:"infoModal"},{default:(0,r.w5)((function(){var e,t,n,a,N;return[F.status.info?((0,r.wg)(),(0,r.iD)("div",s,[(0,r._)("div",o,[u,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.state)},null,8,l)]),(0,r._)("div",c,[d,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.permit_join)},null,8,v)]),F.status.info.network?((0,r.wg)(),(0,r.iD)("div",p,[f,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.network.channel)},null,8,m)])):(0,r.kq)("",!0),(0,r._)("div",g,[h,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.version)},null,8,b)]),null!==(e=F.status.info.config)&&void 0!==e&&e.mqtt?((0,r.wg)(),(0,r.iD)("div",y,[w,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.config.mqtt.server)},null,8,_)])):(0,r.kq)("",!0),null!==(t=F.status.info.config)&&void 0!==t&&t.serial?((0,r.wg)(),(0,r.iD)("div",k,[x,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.config.serial.port)},null,8,q)])):(0,r.kq)("",!0),null!==(n=F.status.info.coordinator)&&void 0!==n&&n.type?((0,r.wg)(),(0,r.iD)("div",z,[C,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.coordinator.type)},null,8,D)])):(0,r.kq)("",!0),null!==(a=F.status.info.coordinator)&&void 0!==a&&a.meta?((0,r.wg)(),(0,r.iD)("div",R,[Z,(0,r._)("div",M,(0,i.zw)(F.status.info.coordinator.meta.maintrel)+"."+(0,i.zw)(F.status.info.coordinator.meta.majorrel)+"."+(0,i.zw)(F.status.info.coordinator.meta.minorrel),1)])):(0,r.kq)("",!0),null!==(N=F.status.info.coordinator)&&void 0!==N&&N.meta?((0,r.wg)(),(0,r.iD)("div",I,[E,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.coordinator.meta.revision)},null,8,G)])):(0,r.kq)("",!0)])):(0,r.kq)("",!0)]})),_:1},512),(0,r._)("div",N,[(0,r._)("div",j,[(0,r._)("label",null,[(0,r._)("select",{value:F.selected.view,onChange:t[0]||(t[0]=function(e){return te.selected.view=e.target.value})},[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(F.views,(function(e,t){return(0,r.wg)(),(0,r.iD)("option",{textContent:(0,i.zw)((t[0].toUpperCase()+t.slice(1)).replace("_"," ")),key:t,selected:e,value:t},null,8,T)})),128))],40,S)])]),(0,r._)("div",O,["groups"===F.selected.view?((0,r.wg)(),(0,r.iD)("button",{key:0,class:"btn btn-default",title:"Add Group",disabled:F.loading,onClick:t[1]||(t[1]=function(){return ee.addGroup&&ee.addGroup.apply(ee,arguments)})},$,8,V)):(0,r.kq)("",!0),(0,r.Wm)(ae,{ref:"networkCommandsDropdown","icon-class":"fa fa-cog",title:"Network commands"},{default:(0,r.w5)((function(){var n;return[(0,r.Wm)(ie,{text:"Network Info",disabled:F.loading,onClick:t[2]||(t[2]=function(t){return e.$refs.infoModal.show()})},null,8,["disabled"]),null!==(n=F.status.info)&&void 0!==n&&n.permit_join?((0,r.wg)(),(0,r.j4)(ie,{key:1,text:"Disable Join",disabled:F.loading,onClick:t[4]||(t[4]=function(e){return ee.permitJoin(!1)})},null,8,["disabled"])):((0,r.wg)(),(0,r.j4)(ie,{key:0,text:"Permit Join",disabled:F.loading,onClick:t[3]||(t[3]=function(e){return ee.permitJoin(!0)})},null,8,["disabled"])),(0,r.Wm)(ie,{text:"Factory Reset",disabled:F.loading,onClick:ee.factoryReset},null,8,["disabled","onClick"])]})),_:1},512),(0,r._)("button",{class:"btn btn-default",title:"Refresh network",disabled:F.loading,onClick:t[5]||(t[5]=function(){return ee.refresh&&ee.refresh.apply(ee,arguments)})},B,8,U)])]),(0,r._)("div",Y,["devices"===F.selected.view?((0,r.wg)(),(0,r.iD)("div",P,[Object.keys(F.devices).length?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("div",L,[F.loading?((0,r.wg)(),(0,r.iD)("div",H,"Loading devices...")):((0,r.wg)(),(0,r.iD)("div",K,"No devices found on the network"))])),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(F.devices,(function(e,t){return(0,r.wg)(),(0,r.j4)(se,{key:t,device:e,groups:F.groups,selected:F.selected.deviceId===t,onSelect:function(e){return F.selected.deviceId=F.selected.deviceId===t?null:t},onRename:ee.refreshDevices,onRemove:ee.refreshDevices,onGroupsEdit:ee.refreshGroups},null,8,["device","groups","selected","onSelect","onRename","onRemove","onGroupsEdit"])})),128))])):"groups"===F.selected.view?((0,r.wg)(),(0,r.iD)("div",W,[Object.keys(F.groups).length?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("div",X,[F.loading?((0,r.wg)(),(0,r.iD)("div",J,"Loading groups...")):((0,r.wg)(),(0,r.iD)("div",Q,"No groups available on the network"))])),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(F.groups,(function(e,t){return(0,r.wg)(),(0,r.j4)(oe,{key:t,group:e,devices:F.devices,selected:F.selected.groupId===t,onSelect:function(e){return F.selected.groupId=F.selected.groupId===t?null:t},onRename:ee.refreshGroups,onRemove:ee.refreshGroups,onEdit:ee.refreshGroups},null,8,["group","devices","selected","onSelect","onRename","onRemove","onEdit"])})),128))])):(0,r.kq)("",!0)])])}var te=n(4648),ne=n(8534),re=(n(5666),n(1539),n(3948),n(7021)),ie=n(455),ae=n(1232),se=n(2628),oe=(n(2526),n(1817),n(9600),n(1249),n(9714),n(9653),n(9963)),ue=function(e){return(0,r.dD)("data-v-b05d09fc"),e=e(),(0,r.Cn)(),e},le={class:"groups"},ce=["value","checked"],de=["textContent"],ve=ue((function(){return(0,r._)("div",{class:"footer buttons"},[(0,r._)("button",{type:"submit"},"Save")],-1)})),pe=["textContent"],fe={key:1,class:"params"},me={class:"row"},ge=ue((function(){return(0,r._)("div",{class:"param-name"},"Name",-1)})),he={class:"param-value"},be=["value"],ye={class:"buttons"},we=ue((function(){return(0,r._)("i",{class:"fas fa-times"},null,-1)})),_e=[we],ke=ue((function(){return(0,r._)("button",{type:"submit",class:"btn btn-default"},[(0,r._)("i",{class:"fa fa-check"})],-1)})),xe=["textContent"],qe={class:"buttons"},ze=ue((function(){return(0,r._)("i",{class:"fa fa-edit"},null,-1)})),Ce=[ze],De={class:"row"},Re=ue((function(){return(0,r._)("div",{class:"param-name"},"IEEE Address",-1)})),Ze=["textContent"],Me={key:0,class:"row"},Ie=ue((function(){return(0,r._)("div",{class:"param-name"},"Network Address",-1)})),Ee=["textContent"],Ge={class:"row"},Ne=ue((function(){return(0,r._)("div",{class:"param-name"},"Type",-1)})),je=["textContent"],Se={key:1,class:"row"},Te=ue((function(){return(0,r._)("div",{class:"param-name"},"Vendor",-1)})),Oe={class:"param-value"},Ve={key:2,class:"row"},Ae=ue((function(){return(0,r._)("div",{class:"param-name"},"Model",-1)})),$e={class:"param-value"},Ue={key:3,class:"row"},Fe=ue((function(){return(0,r._)("div",{class:"param-name"},"Model ID",-1)})),Be={class:"param-value"},Ye={key:4,class:"row"},Pe=ue((function(){return(0,r._)("div",{class:"param-name"},"Description",-1)})),Le={class:"param-value"},He={key:5,class:"row"},Ke=ue((function(){return(0,r._)("div",{class:"param-name"},"Software Build ID",-1)})),We={class:"param-value"},Xe={key:6,class:"row"},Je=ue((function(){return(0,r._)("div",{class:"param-name"},"Date Code",-1)})),Qe={class:"param-value"},et={key:7,class:"row"},tt=ue((function(){return(0,r._)("div",{class:"param-name"},"Power Source",-1)})),nt={class:"param-value"},rt={key:8,class:"section values"},it=ue((function(){return(0,r._)("div",{class:"header"},[(0,r._)("div",{class:"title"},"Values")],-1)})),at={class:"body"},st={class:"param-name"},ot={key:0,class:"text"},ut=["textContent"],lt=["textContent"],ct={class:"param-value"},dt={key:2},vt=["value","disabled","onChange"],pt={key:3},ft=["value","onChange"],mt={key:0},gt=["value","textContent","selected","disabled"],ht={key:4},bt=["onChange","value"],yt={key:5},wt=["disabled","value","onChange"],_t={class:"section actions"},kt=ue((function(){return(0,r._)("div",{class:"header"},[(0,r._)("div",{class:"title"},"Actions")],-1)})),xt={class:"body"},qt=ue((function(){return(0,r._)("div",{class:"param-name"},"Manage groups",-1)})),zt=ue((function(){return(0,r._)("div",{class:"param-value"},[(0,r._)("i",{class:"fa fa-network-wired"})],-1)})),Ct=[qt,zt],Dt={key:0,class:"param-name"},Rt={key:1,class:"param-name"},Zt=ue((function(){return(0,r._)("div",{class:"param-value"},[(0,r._)("i",{class:"fa fa-sync-alt"})],-1)})),Mt=ue((function(){return(0,r._)("div",{class:"param-name"},"Remove Device",-1)})),It=ue((function(){return(0,r._)("div",{class:"param-value"},[(0,r._)("i",{class:"fa fa-trash"})],-1)})),Et=[Mt,It],Gt=ue((function(){return(0,r._)("div",{class:"param-name"},"Force Remove Device",-1)})),Nt=ue((function(){return(0,r._)("div",{class:"param-value"},[(0,r._)("i",{class:"fa fa-trash"})],-1)})),jt=[Gt,Nt];function St(e,t,n,a,s,o){var u,l,c,d,v=(0,r.up)("Loading"),p=(0,r.up)("Modal"),f=(0,r.up)("ToggleSwitch"),m=(0,r.up)("Slider");return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["item device",{selected:n.selected}])},[s.loading?((0,r.wg)(),(0,r.j4)(v,{key:0})):(0,r.kq)("",!0),(0,r.Wm)(p,{class:"groups-modal",ref:"groupsModal",title:"Device groups"},{default:(0,r.w5)((function(){return[s.loading?((0,r.wg)(),(0,r.j4)(v,{key:0})):(0,r.kq)("",!0),(0,r._)("form",{class:"content",onSubmit:t[0]||(t[0]=(0,oe.iM)((function(){return o.manageGroups&&o.manageGroups.apply(o,arguments)}),["prevent"]))},[(0,r._)("div",le,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.groups,(function(e,t){var n;return(0,r.wg)(),(0,r.iD)("label",{class:"row group",key:t},[(0,r._)("input",{type:"checkbox",value:t,checked:o.associatedGroups.has(parseInt(e.id))},null,8,ce),(0,r._)("span",{class:"name",textContent:(0,i.zw)(null!==(n=e.friendly_name)&&void 0!==n&&n.length?e.friendly_name:"[Group #".concat(e.id,"]"))},null,8,de)])})),128))]),ve],32)]})),_:1},512),(0,r._)("div",{class:(0,i.C_)(["row name header vertical-center",{selected:n.selected}]),textContent:(0,i.zw)(n.device.friendly_name||n.device.ieee_address),onClick:t[1]||(t[1]=function(t){return e.$emit("select")})},null,10,pe),n.selected?((0,r.wg)(),(0,r.iD)("div",fe,[(0,r._)("div",me,[ge,(0,r._)("div",he,[(0,r._)("div",{class:(0,i.C_)(["name-edit",{hidden:!s.editName}])},[(0,r._)("form",{onSubmit:t[3]||(t[3]=(0,oe.iM)((function(){return o.rename&&o.rename.apply(o,arguments)}),["prevent"]))},[(0,r._)("label",null,[(0,r._)("input",{type:"text",name:"name",ref:"name",value:n.device.friendly_name},null,8,be)]),(0,r._)("span",ye,[(0,r._)("button",{type:"button",class:"btn btn-default",onClick:t[2]||(t[2]=function(e){return s.editName=!1})},_e),ke])],32)],2),(0,r._)("div",{class:(0,i.C_)(["name-edit",{hidden:s.editName}])},[(0,r._)("span",{textContent:(0,i.zw)(n.device.friendly_name)},null,8,xe),(0,r._)("span",qe,[(0,r._)("button",{type:"button",class:"btn btn-default",onClick:t[4]||(t[4]=function(e){return s.editName=!0})},Ce)])],2)])]),(0,r._)("div",De,[Re,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(n.device.ieee_address)},null,8,Ze)]),n.device.network_address?((0,r.wg)(),(0,r.iD)("div",Me,[Ie,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(n.device.network_address)},null,8,Ee)])):(0,r.kq)("",!0),(0,r._)("div",Ge,[Ne,(0,r._)("div",{class:"param-value",textContent:(0,i.zw)(n.device.type)},null,8,je)]),null!==(u=n.device.definition)&&void 0!==u&&u.vendor?((0,r.wg)(),(0,r.iD)("div",Se,[Te,(0,r._)("div",Oe,(0,i.zw)(n.device.definition.vendor),1)])):(0,r.kq)("",!0),null!==(l=n.device.definition)&&void 0!==l&&l.model?((0,r.wg)(),(0,r.iD)("div",Ve,[Ae,(0,r._)("div",$e,(0,i.zw)(n.device.definition.model),1)])):(0,r.kq)("",!0),n.device.model_id?((0,r.wg)(),(0,r.iD)("div",Ue,[Fe,(0,r._)("div",Be,(0,i.zw)(n.device.model_id),1)])):(0,r.kq)("",!0),null!==(c=n.device.definition)&&void 0!==c&&c.description?((0,r.wg)(),(0,r.iD)("div",Ye,[Pe,(0,r._)("div",Le,(0,i.zw)(n.device.definition.description),1)])):(0,r.kq)("",!0),n.device.software_build_id?((0,r.wg)(),(0,r.iD)("div",He,[Ke,(0,r._)("div",We,(0,i.zw)(n.device.software_build_id),1)])):(0,r.kq)("",!0),null!==(d=n.device.definition)&&void 0!==d&&d.date_code?((0,r.wg)(),(0,r.iD)("div",Xe,[Je,(0,r._)("div",Qe,(0,i.zw)(n.device.definition.date_code),1)])):(0,r.kq)("",!0),n.device.power_source?((0,r.wg)(),(0,r.iD)("div",et,[tt,(0,r._)("div",nt,(0,i.zw)(n.device.power_source),1)])):(0,r.kq)("",!0),Object.keys(o.displayedValues).length?((0,r.wg)(),(0,r.iD)("div",rt,[it,(0,r._)("div",at,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(o.displayedValues,(function(e,t){var n,a,s,u,l,c,d,v;return(0,r.wg)(),(0,r.iD)("div",{class:"row value",key:t},[(0,r._)("div",st,[(0,r.Uk)((0,i.zw)(e.description)+" ",1),null!=o.rgbColor&&null!=(null===(n=e.value)||void 0===n?void 0:n.x)&&null!=(null===(a=e.value)||void 0===a?void 0:a.y)||null!=(null===(s=e.value)||void 0===s?void 0:s.hue)&&null!=(null===(u=e.value)||void 0===u?void 0:u.saturation)?((0,r.wg)(),(0,r.iD)("span",ot,"Color")):(0,r.kq)("",!0),e.property?((0,r.wg)(),(0,r.iD)("span",{key:1,class:"name",textContent:(0,i.zw)(e.property)},null,8,ut)):(0,r.kq)("",!0),e.unit?((0,r.wg)(),(0,r.iD)("span",{key:2,class:"unit",textContent:(0,i.zw)(e.unit)},null,8,lt)):(0,r.kq)("",!0)]),(0,r._)("div",ct,["binary"===e.type?((0,r.wg)(),(0,r.j4)(f,{key:0,value:null!=e.value_on?e.value===e.value_on:!!e.value,disabled:!e.writable,onInput:function(t){return o.setValue(e,t)}},null,8,["value","disabled","onInput"])):"numeric"===e.type&&null!=e.value_min&&null!=e.value_max?((0,r.wg)(),(0,r.j4)(m,{key:1,"with-label":!0,range:[e.value_min,e.value_max],value:e.value,disabled:!e.writable,onChange:function(t){return o.setValue(e,t)}},null,8,["range","value","disabled","onChange"])):"numeric"!==e.type||null!=e.value_min&&null!=e.value_max?"enum"===e.type?((0,r.wg)(),(0,r.iD)("label",pt,[(0,r._)("select",{value:e.readable&&null!=e.value?e.value:"",onChange:function(t){return o.setValue(e,t)}},[e.readable?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("option",mt)),((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(e.values,(function(t){return(0,r.wg)(),(0,r.iD)("option",{key:t,value:t,textContent:(0,i.zw)(t),selected:e.readable&&e.value===t,disabled:!e.writable},null,8,gt)})),128))],40,ft)])):null!=o.rgbColor&&null!=(null===(l=e.value)||void 0===l?void 0:l.x)&&null!=(null===(c=e.value)||void 0===c?void 0:c.y)||null!=(null===(d=e.value)||void 0===d?void 0:d.hue)&&null!=(null===(v=e.value)||void 0===v?void 0:v.saturation)?((0,r.wg)(),(0,r.iD)("label",ht,[(0,r._)("input",{type:"color",onChange:(0,oe.iM)((function(t){return o.setValue(e,t)}),["stop"]),value:"#"+o.rgbColor.map((function(e){return e=Number(e).toString(16),1===e.length?"0"+e:e})).join("")},null,40,bt)])):((0,r.wg)(),(0,r.iD)("label",yt,[(0,r._)("input",{type:"text",disabled:!e.writable,value:e.value,onChange:function(t){return o.setValue(e,t)}},null,40,wt)])):((0,r.wg)(),(0,r.iD)("label",dt,[(0,r._)("input",{type:"number","with-label":!0,value:e.value,disabled:!e.writable,onChange:function(t){return o.setValue(e,t)}},null,40,vt)]))])])})),128))])])):(0,r.kq)("",!0),(0,r._)("div",_t,[kt,(0,r._)("div",xt,[(0,r._)("div",{class:"row",onClick:t[5]||(t[5]=function(t){return e.$refs.groupsModal.show()})},Ct),(0,r._)("div",{class:"row",onClick:t[6]||(t[6]=function(e){return s.otaUpdatesAvailable?o.installOtaUpdates():o.checkOtaUpdates()})},[s.otaUpdatesAvailable?((0,r.wg)(),(0,r.iD)("div",Rt,"Install updates")):((0,r.wg)(),(0,r.iD)("div",Dt,"Check for updates")),Zt]),(0,r._)("div",{class:"row",onClick:t[7]||(t[7]=function(e){return o.remove(!1)})},Et),(0,r._)("div",{class:"row error",onClick:t[8]||(t[8]=function(e){return o.remove(!0)})},jt)])])])):(0,r.kq)("",!0)],2)}var Tt=n(9584),Ot=n(6084),Vt=n(6347),At=(n(7327),n(9720),n(189),n(8783),n(2479),n(3210),n(8309),n(3123),n(1120)),$t=n(6137),Ut=n(634),Ft=n(9642),Bt={name:"Device",components:{Modal:Ft.Z,ToggleSwitch:$t.Z,Slider:At.Z,Loading:ae.Z},mixins:[se.Z],emits:["select","rename","remove","groups-edit"],props:{device:{type:Object,required:!0},groups:{type:Object,default:function(){}},selected:{type:Boolean,default:!1}},data:function(){return{editName:!1,loading:!1,status:{},otaUpdatesAvailable:!1}},computed:{values:function(){var e;if(null===(e=this.device.definition)||void 0===e||!e.exposes)return{};var t=function(e){var t,n=function e(t,n){if(t.features){t.property&&(n[t.property]=n[t.property]||{},n=n[t.property]);var r,i=(0,Vt.Z)(t.features);try{for(i.s();!(r=i.n()).done;){var a=r.value;e(a,n)}}catch(s){i.e(s)}finally{i.f()}}else t.property&&(n[t.property]=t)},r={},i=(0,Vt.Z)(e);try{for(i.s();!(t=i.n()).done;){var a=t.value;n(a,r)}}catch(s){i.e(s)}finally{i.f()}return r};return t(this.device.definition.exposes)},displayedValues:function(){var e=this,t={},n=function t(n,r){var i=(0,Ot.Z)(r,2),a=i[0],s=i[1];return a in e.status&&(s=(0,te.Z)((0,te.Z)({},s),{},{value:e.status[a]})),null!=s.access&&(s.readable=!!(1&s.access),s.writable=!!(2&s.access),delete s.access),n[a]=s,Object.entries(s).filter((function(e){return e[1]instanceof Object})).reduce(t,n[a]),n};return Object.entries(this.values).reduce(n,t),t},rgbColor:function(){var e;if(this.displayedValues.color){var t=null===(e=this.displayedValues.color)||void 0===e?void 0:e.value;if(t){if(null!=t.x&&null!=t.y){var n,r,i=new Ut.N({bri:[(null===(n=this.displayedValues.brightness)||void 0===n?void 0:n.value_min)||0,(null===(r=this.displayedValues.brightness)||void 0===r?void 0:r.value_max)||255]});return i.xyToRgb(t.x,t.y,this.displayedValues.brightness.value)}if(null!=t.hue&&(null!=t.saturation||null!=t.sat)){var a,s,o,u,l=null!=t.saturation?"saturation":"sat",c=new Ut.N({hue:[(null===(a=this.displayedValues.color.hue)||void 0===a?void 0:a.value_min)||0,this.displayedValues.color.hue.value_max||65535],sat:[(null===(s=this.displayedValues.color[l])||void 0===s?void 0:s.value_min)||0,this.displayedValues.color[l].value_max||255],bri:[(null===(o=this.displayedValues.brightness)||void 0===o?void 0:o.value_min)||0,(null===(u=this.displayedValues.brightness)||void 0===u?void 0:u.value_max)||255]});return c.hslToRgb(t.hue,t[l],this.displayedValues.brightness.value)}return null}}},associatedGroups:function(){var e=this;return new Set(Object.values(this.groups).filter((function(t){return new Set((t.members||[]).map((function(e){return e.ieee_address}))).has(e.device.ieee_address)})).map((function(e){return parseInt(e.id)})))}},methods:{refresh:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.device_get",{device:e.device.friendly_name||e.device.ieee_address});case 4:e.status=t.sent;case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},rename:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=(e.$refs.name.value||"").trim(),n.length&&n!==e.device.friendly_name){t.next=3;break}return t.abrupt("return");case 3:return e.loading=!0,t.prev=4,t.next=7,e.request("zigbee.mqtt.device_rename",{device:null!==(r=e.device.friendly_name)&&void 0!==r&&r.length?e.device.friendly_name:e.device.ieee_address,name:n});case 7:e.$emit("rename",{name:e.device.friendly_name,newName:n});case 8:return t.prev=8,e.editName=!1,e.loading=!1,t.finish(8);case 12:case"end":return t.stop()}}),t,null,[[4,,8,12]])})))()},remove:function(e){var t=this;return(0,ne.Z)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(confirm("Are you really sure that you want to remove this device from the network?")){n.next=2;break}return n.abrupt("return");case 2:return e=!!e,t.loading=!0,n.prev=4,n.next=7,t.request("zigbee.mqtt.device_remove",{device:null!==(r=t.device.friendly_name)&&void 0!==r&&r.length?t.device.friendly_name:t.device.ieee_address,force:e});case 7:t.$emit("remove",{device:t.device.friendly_name||t.device.ieee_address});case 8:return n.prev=8,t.loading=!1,n.finish(8);case 11:case"end":return n.stop()}}),n,null,[[4,,8,11]])})))()},setValue:function(e,t){var n=this;return(0,ne.Z)(regeneratorRuntime.mark((function r(){var i,a,s,o,u,l,c,d,v,p,f,m,g,h;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:a={device:n.device.friendly_name||n.device.ieee_address,property:e.property,value:null},r.t0=e.type,r.next="binary"===r.t0?4:"numeric"===r.t0?6:"enum"===r.t0?8:10;break;case 4:return e.value_toggle?a.value=e.value_toggle:e.value_on&&e.value_off?a.value=e.value===e.value_on?e.value_off:e.value_on:a.value=!e.value,r.abrupt("break",12);case 6:return a.value=parseFloat(t.target.value),r.abrupt("break",12);case 8:return null!==(i=t.target.value)&&void 0!==i&&i.length&&(a.value=t.target.value),r.abrupt("break",12);case 10:return(null!=e.x&&null!=e.y||null!=e.hue&&(null!=e.saturation||null!=e.sat))&&(a.property="color",s=t.target.value.slice(1).split(/([0-9a-fA-F]{2})/).filter((function(e,t){return t%2})).map((function(e){return parseInt(e,16)})),null!=e.x&&null!=e.y?(l=new Ut.N({bri:[(null===(o=n.displayedValues.brightness)||void 0===o?void 0:o.value_min)||0,(null===(u=n.displayedValues.brightness)||void 0===u?void 0:u.value_max)||255]}),c=l.rgbToXY.apply(l,(0,Tt.Z)(s)),a.value={color:{x:c[0],y:c[1]}}):(m=null!=n.displayedValues.color.saturation?"saturation":"sat",g=new Ut.N({hue:[(null===(d=n.displayedValues.color.hue)||void 0===d?void 0:d.value_min)||0,n.displayedValues.color.hue.value_max||65535],sat:[(null===(v=n.displayedValues.color[m])||void 0===v?void 0:v.value_min)||0,n.displayedValues.color[m].value_max||255],bri:[(null===(p=n.displayedValues.brightness)||void 0===p?void 0:p.value_min)||0,(null===(f=n.displayedValues.brightness)||void 0===f?void 0:f.value_max)||255]}),h=g.rgbToHsl.apply(g,(0,Tt.Z)(s)),a.value={brightness:h[2],color:{hue:h[0]}},a.value.color[m]=h[1])),r.abrupt("break",12);case 12:if(null!=a.value){r.next=14;break}return r.abrupt("return");case 14:return n.loading=!0,r.prev=15,r.next=18,n.request("zigbee.mqtt.device_set",a);case 18:return r.next=20,n.refresh();case 20:return r.prev=20,n.loading=!1,r.finish(20);case 23:case"end":return r.stop()}}),r,null,[[15,,20,23]])})))()},manageGroups:function(e){var t=this;return(0,ne.Z)(regeneratorRuntime.mark((function n(){var r,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=(0,Tt.Z)(e.target.querySelectorAll("input[type=checkbox]")).reduce((function(e,n){var r=parseInt(n.value);return n.checked&&!t.associatedGroups.has(r)?e.add.add(r):!n.checked&&t.associatedGroups.has(r)&&e.remove.add(r),e}),{add:new Set,remove:new Set}),i=function(){var e=(0,ne.Z)(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all((0,Tt.Z)(r[n]).map(function(){var e=(0,ne.Z)(regeneratorRuntime.mark((function e(r){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.request("zigbee.mqtt.group_".concat(n,"_device"),{group:t.groups[r].friendly_name,device:null!==(i=t.device.friendly_name)&&void 0!==i&&i.length?t.device.friendly_name:t.device.ieee_address});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.loading=!0,n.prev=3,n.next=6,Promise.all(Object.keys(r).map(i));case 6:t.$emit("groups-edit",r);case 7:return n.prev=7,t.loading=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[3,,7,10]])})))()},checkOtaUpdates:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.device_check_ota_updates",{device:null!==(n=e.device.friendly_name)&&void 0!==n&&n.length?e.device.friendly_name:e.device.ieee_address});case 4:e.otaUpdatesAvailable=t.sent.update_available,e.otaUpdatesAvailable?e.notify({text:"A firmware update is available for the device",image:{iconClass:"fa fa-sync-alt"}}):e.notify({text:"The device is up to date",image:{iconClass:"fa fa-check"}});case 6:return t.prev=6,e.loading=!1,t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[1,,6,9]])})))()},installOtaUpdates:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.device_install_ota_updates",{device:null!==(n=e.device.friendly_name)&&void 0!==n&&n.length?e.device.friendly_name:e.device.ieee_address});case 4:return t.prev=4,e.loading=!1,t.finish(4);case 7:case"end":return t.stop()}}),t,null,[[1,,4,7]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(t){t&&e.refresh()})),this.$watch((function(){return e.status.update_available}),(function(t){e.otaUpdatesAvailable=t})),this.subscribe((function(t){t.device!==e.device.friendly_name&&t.device!==e.device.ieee_address||(e.status=(0,te.Z)((0,te.Z)({},e.status),t.properties))}),"on-property-change-".concat(this.device.ieee_address),"platypush.message.event.zigbee.mqtt.ZigbeeMqttDevicePropertySetEvent")},unmounted:function(){this.unsubscribe("on-property-change-".concat(this.device.ieee_address))}},Yt=n(3744);const Pt=(0,Yt.Z)(Bt,[["render",St],["__scopeId","data-v-b05d09fc"]]);var Lt=Pt,Ht=function(e){return(0,r.dD)("data-v-7667f7ba"),e=e(),(0,r.Cn)(),e},Kt=["textContent"],Wt={key:1,class:"params"},Xt={class:"section devices"},Jt=Ht((function(){return(0,r._)("div",{class:"header"},[(0,r._)("div",{class:"title"},"Devices")],-1)})),Qt={class:"body"},en=["checked","value","onChange"],tn=["textContent"],nn={class:"section actions"},rn=Ht((function(){return(0,r._)("div",{class:"header"},[(0,r._)("div",{class:"title"},"Actions")],-1)})),an={class:"body"},sn=Ht((function(){return(0,r._)("div",{class:"col-10"},"Rename Group",-1)})),on=Ht((function(){return(0,r._)("div",{class:"buttons col-2 pull-right"},[(0,r._)("i",{class:"fa fa-edit"})],-1)})),un=[sn,on],ln=Ht((function(){return(0,r._)("div",{class:"col-10"},"Remove Group",-1)})),cn=Ht((function(){return(0,r._)("div",{class:"buttons col-2 pull-right"},[(0,r._)("i",{class:"fa fa-trash"})],-1)})),dn=[ln,cn];function vn(e,t,n,a,s,o){var u=(0,r.up)("Loading");return(0,r.wg)(),(0,r.iD)("div",{class:(0,i.C_)(["item group",{selected:n.selected}])},[s.loading?((0,r.wg)(),(0,r.j4)(u,{key:0})):(0,r.kq)("",!0),(0,r._)("div",{class:(0,i.C_)(["row name header vertical-center",{selected:n.selected}]),textContent:(0,i.zw)(n.group.friendly_name),onClick:t[0]||(t[0]=function(t){return e.$emit("select")})},null,10,Kt),n.selected?((0,r.wg)(),(0,r.iD)("div",Wt,[(0,r._)("div",Xt,[Jt,(0,r._)("div",Qt,[(0,r._)("form",null,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(n.devices,(function(e,t){var n;return(0,r.wg)(),(0,r.iD)("label",{class:"row",key:t},[(0,r._)("input",{type:"checkbox",checked:o.members.has(e.ieee_address),value:e.ieee_address,onChange:function(t){return o.toggleDevice(e.ieee_address)}},null,40,en),(0,r._)("span",{class:"label",textContent:(0,i.zw)(null!==(n=e.friendly_name)&&void 0!==n&&n.length?e.friendly_name:e.ieee_address)},null,8,tn)])})),128))])])]),(0,r._)("div",nn,[rn,(0,r._)("div",an,[(0,r._)("div",{class:"row",onClick:t[1]||(t[1]=function(){return o.rename&&o.rename.apply(o,arguments)})},un),(0,r._)("div",{class:"row",onClick:t[2]||(t[2]=function(){return o.remove&&o.remove.apply(o,arguments)})},dn)])])])):(0,r.kq)("",!0)],2)}var pn={name:"Group",emits:["select","remove","edit"],mixins:[se.Z],components:{Loading:ae.Z},props:{group:{type:Object,required:!0},devices:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,values:{}}},computed:{devicesByAddress:function(){return Object.entries(this.devices).reduce((function(e,t){var n=t[1];return e[n.ieee_address]=n,e}),{})},members:function(){return new Set((this.group.members||[]).map((function(e){return e.ieee_address})))}},methods:{remove:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(confirm("Are you sure that you want to remove this group?")){t.next=2;break}return t.abrupt("return");case 2:return e.loading=!0,t.prev=3,t.next=6,e.request("zigbee.mqtt.group_remove",{name:e.group.friendly_name});case 6:e.$emit("remove",{name:e.group.friendly_name});case 7:return t.prev=7,e.loading=!1,t.finish(7);case 10:case"end":return t.stop()}}),t,null,[[3,,7,10]])})))()},rename:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(r=prompt("New group name",e.group.friendly_name),null!==(n=r)&&void 0!==n&&n.length){t.next=3;break}return t.abrupt("return");case 3:return r=r.trim(),e.loading=!0,t.prev=5,t.next=8,e.request("zigbee.mqtt.group_rename",{group:e.group.friendly_name||e.group.id,name:r});case 8:e.$emit("rename",{name:e.group.friendly_name,newName:r});case 9:return t.prev=9,e.loading=!1,t.finish(9);case 12:case"end":return t.stop()}}),t,null,[[5,,9,12]])})))()},toggleDevice:function(e){var t=this;return(0,ne.Z)(regeneratorRuntime.mark((function n(){var r,i,a,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=t.devicesByAddress[e],a=null!==(r=i.friendly_name)&&void 0!==r&&r.length?i.friendly_name:e,s=t.members.has(e)?"remove":"add",t.loading=!0,n.prev=4,n.next=7,t.request("zigbee.mqtt.group_".concat(s,"_device"),{group:t.group.friendly_name,device:a});case 7:t.$emit("edit",{device:a,method:s});case 8:return n.prev=8,t.loading=!1,n.finish(8);case 11:case"end":return n.stop()}}),n,null,[[4,,8,11]])})))()}}};const fn=(0,Yt.Z)(pn,[["render",vn],["__scopeId","data-v-7667f7ba"]]);var mn=fn,gn={name:"ZigbeeMqtt",components:{Modal:Ft.Z,Dropdown:re.Z,DropdownItem:ie.Z,Loading:ae.Z,Device:Lt,Group:mn},mixins:[se.Z],data:function(){return{devices:{},groups:{},status:{},loading:!1,selected:{view:"devices",deviceId:void 0,groupId:void 0},views:{devices:!0,groups:!0},modal:{group:{visible:!1}}}},methods:{refreshDevices:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.devices");case 4:e.devices=t.sent.reduce((function(t,n){return n.friendly_name in e.devices&&(n=(0,te.Z)({values:e.devices[n.friendly_name].values||{}},e.devices[n.friendly_name])),t[n.friendly_name]=n,t}),{});case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},refreshGroups:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.groups");case 4:e.groups=t.sent.reduce((function(e,t){return e[t.id]=t,e}),{});case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},refreshInfo:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("zigbee.mqtt.info");case 4:e.status=t.sent;case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},refresh:function(){this.refreshDevices(),this.refreshGroups(),this.refreshInfo()},updateProperties:function(e,t){this.devices[e].values=t},addGroup:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=prompt("Group name"),n&&n.length){t.next=3;break}return t.abrupt("return");case 3:return e.loading=!0,t.prev=4,t.next=7,e.request("zigbee.mqtt.group_add",{name:n});case 7:return t.prev=7,e.loading=!1,t.finish(7);case 10:return t.next=12,e.refreshGroups();case 12:case"end":return t.stop()}}),t,null,[[4,,7,10]])})))()},permitJoin:function(e){var t=this;return(0,ne.Z)(regeneratorRuntime.mark((function n(){var r,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r={permit:!!e},e&&(i=prompt("Join allow period in seconds (0 or empty for no time limits)","60"),r.seconds=i.length?parseInt(i):null),t.loading=!0,n.prev=3,n.next=6,t.request("zigbee.mqtt.permit_join",r);case 6:setTimeout(t.refreshInfo,1e3);case 7:return n.prev=7,t.loading=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[3,,7,10]])})))()},factoryReset:function(){var e=this;return(0,ne.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(confirm("Are you SURE that you want to do a device factory reset?")){t.next=3;break}if(confirm("Are you REALLY sure? ALL network information and custom firmware will be lost!!")){t.next=3;break}return t.abrupt("return");case 3:return e.loading=!0,t.prev=4,t.next=7,e.request("zigbee.mqtt.factory_reset");case 7:return t.prev=7,e.loading=!1,t.finish(7);case 10:case"end":return t.stop()}}),t,null,[[4,,7,10]])})))()},addToGroup:function(e,t){var n=this;return(0,ne.Z)(regeneratorRuntime.mark((function r(){var i;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return n.loading=!0,r.next=3,n.request("zigbee.mqtt.group_add_device",{device:e,group:t});case 3:n.loading=!1,i=n,setTimeout((function(){i.refresh(),i.refreshGroups()}),100);case 6:case"end":return r.stop()}}),r)})))()}},created:function(){var e=this;this.subscribe((function(){e.notify({text:"WARNING: The controller is offline",error:!0})}),"on-zigbee-offline","platypush.message.event.zigbee.mqtt.ZigbeeMqttOfflineEvent"),this.subscribe((function(){e.notify({text:"The controller is now online",iconClass:"fas fa-check"})}),"on-zigbee-online","platypush.message.event.zigbee.mqtt.ZigbeeMqttOnlineEvent"),this.subscribe((function(){e.notify({text:"Failed to remove the device",error:!0})}),"on-zigbee-device-remove-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRemovedFailedEvent"),this.subscribe((function(){e.notify({text:"Failed to add the group",error:!0})}),"on-zigbee-group-add-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupAddedFailedEvent"),this.subscribe((function(){e.notify({text:"Failed to remove group",error:!0})}),"on-zigbee-group-remove-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemovedFailedEvent"),this.subscribe((function(){e.notify({text:"Failed to remove the devices from group",error:!0})}),"on-zigbee-remove-all-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemoveAllFailedEvent"),this.subscribe((function(t){e.notify({text:t.error||"[Unknown error]",error:!0})}),"on-zigbee-error","platypush.message.event.zigbee.mqtt.ZigbeeMqttErrorEvent"),this.subscribe(this.refresh,"on-zigbee-device-update","platypush.message.event.zigbee.mqtt.ZigbeeMqttOnlineEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDevicePairingEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceConnectedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceBannedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRemovedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceWhitelistedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRenamedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceBindEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceUnbindEvent"),this.subscribe(this.refreshGroups,"on-zigbee-group-update","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupAddedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemovedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemoveAllEvent")},mounted:function(){this.refresh()},unmounted:function(){this.unsubscribe("on-zigbee-error"),this.unsubscribe("on-zigbee-remove-all-failed"),this.unsubscribe("on-zigbee-group-remove-failed"),this.unsubscribe("on-zigbee-group-add-failed"),this.unsubscribe("on-zigbee-device-remove-failed"),this.unsubscribe("on-zigbee-online"),this.unsubscribe("on-zigbee-offline"),this.unsubscribe("on-zigbee-device-update"),this.unsubscribe("on-zigbee-group-update")}};const hn=(0,Yt.Z)(gn,[["render",ee]]);var bn=hn}}]); +//# sourceMappingURL=4604-legacy.6d373d71.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4604-legacy.6d373d71.js.map b/platypush/backend/http/webapp/dist/static/js/4604-legacy.6d373d71.js.map new file mode 100644 index 000000000..c2a5e6813 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/4604-legacy.6d373d71.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/4604-legacy.6d373d71.js","mappings":"qGACA,IAAIA,EAAQ,EAAQ,MAEpBC,EAAOC,QAAUF,GAAM,WACrB,GAA0B,mBAAfG,YAA2B,CACpC,IAAIC,EAAS,IAAID,YAAY,GAEzBE,OAAOC,aAAaF,IAASC,OAAOE,eAAeH,EAAQ,IAAK,CAAEI,MAAO,S,kCCNjF,IAAID,EAAiB,UACjBE,EAAS,EAAQ,IACjBC,EAAc,EAAQ,MACtBC,EAAO,EAAQ,MACfC,EAAa,EAAQ,MACrBC,EAAU,EAAQ,KAClBC,EAAiB,EAAQ,KACzBC,EAAa,EAAQ,MACrBC,EAAc,EAAQ,MACtBC,EAAU,gBACVC,EAAsB,EAAQ,MAE9BC,EAAmBD,EAAoBE,IACvCC,EAAyBH,EAA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X,WAAU,WACb,EAAKL,OAAO,CACVxF,KAAM,0BACNqH,OAAO,MAER,6BAA8B,uEAEjCxY,KAAKgX,WAAU,WACb,EAAKL,OAAO,CACVxF,KAAM,yBACNqH,OAAO,MAER,gCAAiC,yEAEpCxY,KAAKgX,WAAU,WACb,EAAKL,OAAO,CACVxF,KAAM,0CACNqH,OAAO,MAER,8BACC,2EAEJxY,KAAKgX,WAAU,SAACtI,GACd,EAAKiI,OAAO,CACVxF,KAAMzC,EAAM8J,OAAS,kBACrBA,OAAO,MAER,kBAAmB,4DAEtBxY,KAAKgX,UAAUhX,KAAKwR,QAAS,0BACzB,4DACA,mEACA,qEACA,kEACA,mEACA,uEACA,mEACA,gEACA,mEAGJxR,KAAKgX,UAAUhX,KAAK6R,cAAe,yBAC/B,gEACA,kEACA,sEAINxC,QArNa,WAsNXrP,KAAKwR,WAGP0F,UAzNa,WA0NXlX,KAAKmX,YAAY,mBACjBnX,KAAKmX,YAAY,+BACjBnX,KAAKmX,YAAY,iCACjBnX,KAAKmX,YAAY,8BACjBnX,KAAKmX,YAAY,kCACjBnX,KAAKmX,YAAY,oBACjBnX,KAAKmX,YAAY,qBACjBnX,KAAKmX,YAAY,2BACjBnX,KAAKmX,YAAY,4BKxVrB,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAAS5H,MAEpE","sources":["webpack://platypush/./node_modules/core-js/internals/array-buffer-non-extensible.js","webpack://platypush/./node_modules/core-js/internals/collection-strong.js","webpack://platypush/./node_modules/core-js/internals/collection.js","webpack://platypush/./node_modules/core-js/internals/freezing.js","webpack://platypush/./node_modules/core-js/internals/get-substitution.js","webpack://platypush/./node_modules/core-js/internals/internal-metadata.js","webpack://platypush/./node_modules/core-js/internals/object-is-extensible.js","webpack://platypush/./node_modules/core-js/internals/string-trim-forced.js","webpack://platypush/./node_modules/core-js/modules/es.set.js","webpack://platypush/./node_modules/core-js/modules/es.string.replace.js","webpack://platypush/./node_modules/core-js/modules/es.string.trim.js","webpack://platypush/./node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack://platypush/./node_modules/@babel/runtime/helpers/esm/createClass.js","webpack://platypush/./src/components/panels/Light/color.js","webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/ZigbeeMqtt/Index.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Device.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Device.vue?8b6d","webpack://platypush/./src/components/panels/ZigbeeMqtt/Group.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Group.vue?46cd","webpack://platypush/./src/components/panels/ZigbeeMqtt/Index.vue?dac0"],"sourcesContent":["// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\n\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n }\n});\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar create = require('../internals/object-create');\nvar redefineAll = require('../internals/redefine-all');\nvar bind = require('../internals/function-bind-context');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar defineIterator = require('../internals/define-iterator');\nvar setSpecies = require('../internals/set-species');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fastKey = require('../internals/internal-metadata').fastKey;\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n index: create(null),\n first: undefined,\n last: undefined,\n size: 0\n });\n if (!DESCRIPTORS) that.size = 0;\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n var previous, index;\n // change existing entry\n if (entry) {\n entry.value = value;\n // create new entry\n } else {\n state.last = entry = {\n index: index = fastKey(key, true),\n key: key,\n value: value,\n previous: previous = state.last,\n next: undefined,\n removed: false\n };\n if (!state.first) state.first = entry;\n if (previous) previous.next = entry;\n if (DESCRIPTORS) state.size++;\n else that.size++;\n // add to index\n if (index !== 'F') state.index[index] = entry;\n } return that;\n };\n\n var getEntry = function (that, key) {\n var state = getInternalState(that);\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return state.index[index];\n // frozen object case\n for (entry = state.first; entry; entry = entry.next) {\n if (entry.key == key) return entry;\n }\n };\n\n redefineAll(Prototype, {\n // `{ Map, Set }.prototype.clear()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.clear\n // https://tc39.es/ecma262/#sec-set.prototype.clear\n clear: function clear() {\n var that = this;\n var state = getInternalState(that);\n var data = state.index;\n var entry = state.first;\n while (entry) {\n entry.removed = true;\n if (entry.previous) entry.previous = entry.previous.next = undefined;\n delete data[entry.index];\n entry = entry.next;\n }\n state.first = state.last = undefined;\n if (DESCRIPTORS) state.size = 0;\n else that.size = 0;\n },\n // `{ Map, Set }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.delete\n // https://tc39.es/ecma262/#sec-set.prototype.delete\n 'delete': function (key) {\n var that = this;\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.next;\n var prev = entry.previous;\n delete state.index[entry.index];\n entry.removed = true;\n if (prev) prev.next = next;\n if (next) next.previous = prev;\n if (state.first == entry) state.first = next;\n if (state.last == entry) state.last = prev;\n if (DESCRIPTORS) state.size--;\n else that.size--;\n } return !!entry;\n },\n // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.foreach\n // https://tc39.es/ecma262/#sec-set.prototype.foreach\n forEach: function forEach(callbackfn /* , that = undefined */) {\n var state = getInternalState(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // `{ Map, Set}.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.has\n // https://tc39.es/ecma262/#sec-set.prototype.has\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n redefineAll(Prototype, IS_MAP ? {\n // `Map.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-map.prototype.get\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // `Map.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-map.prototype.set\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // `Set.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-set.prototype.add\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineProperty(Prototype, 'size', {\n get: function () {\n return getInternalState(this).size;\n }\n });\n return Constructor;\n },\n setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.entries\n // https://tc39.es/ecma262/#sec-map.prototype.keys\n // https://tc39.es/ecma262/#sec-map.prototype.values\n // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n // https://tc39.es/ecma262/#sec-set.prototype.entries\n // https://tc39.es/ecma262/#sec-set.prototype.keys\n // https://tc39.es/ecma262/#sec-set.prototype.values\n // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return { value: undefined, done: true };\n }\n // return step by kind\n if (kind == 'keys') return { value: entry.key, done: false };\n if (kind == 'values') return { value: entry.value, done: false };\n return { value: [entry.key, entry.value], done: false };\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // `{ Map, Set }.prototype[@@species]` accessors\n // https://tc39.es/ecma262/#sec-get-map-@@species\n // https://tc39.es/ecma262/#sec-get-set-@@species\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);\n redefine(NativePrototype, KEY,\n KEY == 'add' ? function add(value) {\n uncurriedNativeMethod(this, value === 0 ? 0 : value);\n return this;\n } : KEY == 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n uncurriedNativeMethod(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n var REPLACE = isForced(\n CONSTRUCTOR_NAME,\n !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n }))\n );\n\n if (REPLACE) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new -- required for testing\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, NativePrototype);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, forced: Constructor != NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\ncollection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n var replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","export class ColorConverter {\n constructor(ranges) {\n this.ranges = {\n hue: [0, 360],\n sat: [0, 100],\n bri: [0, 100],\n ct: [154, 500],\n }\n\n if (ranges)\n for (const attr of Object.keys(this.ranges))\n if (ranges[attr])\n this.ranges[attr] = ranges[attr]\n }\n\n normalize(x, xRange, yRange) {\n return yRange[0] + (((x-xRange[0]) * (yRange[1]-yRange[0])) / (xRange[1]-xRange[0]))\n }\n\n hslToRgb(h, s, l) {\n [h, s, l] = [\n this.normalize(h, this.ranges.hue, [0, 360]),\n this.normalize(s, this.ranges.sat, [0, 100]),\n this.normalize(l, this.ranges.bri, [0, 100]),\n ]\n\n l /= 100\n const a = s * Math.min(l, 1 - l) / 100\n const f = n => {\n const k = (n + h / 30) % 12\n const color = l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1)\n return Math.round(255 * color)\n }\n\n return [f(0), f(8), f(4)]\n }\n\n rgbToHsl(r, g, b){\n r /= 255\n g /= 255\n b /= 255;\n const max = Math.max(r, g, b), min = Math.min(r, g, b);\n let h, s, l = (max + min) / 2;\n\n if(max === min){\n h = s = 0; // achromatic\n } else {\n const d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n\n switch(max){\n case r: h = (g - b) / d + (g < b ? 6 : 0); break;\n case g: h = (b - r) / d + 2; break;\n case b: h = (r - g) / d + 4; break;\n }\n h /= 6;\n }\n\n return [\n parseInt(this.normalize(h, [0, 1], this.ranges.hue)),\n parseInt(this.normalize(s, [0, 1], this.ranges.sat)),\n parseInt(this.normalize(l, [0, 1], this.ranges.bri)),\n ]\n }\n\n xyToRgb(x, y, brightness) {\n // Set to maximum brightness if no custom value was given (Not the slick ECMAScript 6 way for compatibility reasons)\n if (brightness == null)\n brightness = this.ranges.bri[1];\n\n const z = 1.0 - x - y;\n const Y = (brightness / (this.ranges.bri[1]-1)).toFixed(2);\n const X = (Y / y) * x;\n const Z = (Y / y) * z;\n\n //Convert to RGB using Wide RGB D65 conversion\n let red \t= X * 1.656492 - Y * 0.354851 - Z * 0.255038;\n let green = -X * 0.707196 + Y * 1.655397 + Z * 0.036152;\n let blue \t= X * 0.051713 - Y * 0.121364 + Z * 1.011530;\n\n //If red, green or blue is larger than 1.0 set it back to the maximum of 1.0\n if (red > blue && red > green && red > 1.0) {\n green = green / red;\n blue = blue / red;\n red = 1.0;\n } else if (green > blue && green > red && green > 1.0) {\n red = red / green;\n blue = blue / green;\n green = 1.0;\n } else if (blue > red && blue > green && blue > 1.0) {\n red = red / blue;\n green = green / blue;\n blue = 1.0;\n }\n\n //Reverse gamma correction\n red \t= red <= 0.0031308 ? 12.92 * red : (1.0 + 0.055) * Math.pow(red, (1.0 / 2.4)) - 0.055;\n green \t= green <= 0.0031308 ? 12.92 * green : (1.0 + 0.055) * Math.pow(green, (1.0 / 2.4)) - 0.055;\n blue \t= blue <= 0.0031308 ? 12.92 * blue : (1.0 + 0.055) * Math.pow(blue, (1.0 / 2.4)) - 0.055;\n\n //Convert normalized decimal to decimal\n red \t= Math.round(red * 255);\n green \t= Math.round(green * 255);\n blue \t= Math.round(blue * 255);\n\n if (isNaN(red))\n red = 0;\n if (isNaN(green))\n green = 0;\n if (isNaN(blue))\n blue = 0;\n\n return [red, green, blue].map(\n (c) => Math.min(Math.max(0, c), 255)) // lgtm [js/automatic-semicolon-insertion]\n }\n\n rgbToXY(red, green, blue) {\n if (red > 1) { red /= 255; }\n if (green > 1) { green /= 255; }\n if (blue > 1) { blue /= 255; }\n\n //Apply a gamma correction to the RGB values, which makes the color more vivid and more the like the color displayed on the screen of your device\n red \t= (red > 0.04045) ? Math.pow((red + 0.055) / (1.0 + 0.055), 2.4) : (red / 12.92);\n green \t= (green > 0.04045) ? Math.pow((green + 0.055) / (1.0 + 0.055), 2.4) : (green / 12.92);\n blue \t= (blue > 0.04045) ? Math.pow((blue + 0.055) / (1.0 + 0.055), 2.4) : (blue / 12.92);\n\n //RGB values to XYZ using the Wide RGB D65 conversion formula\n const X \t\t= red * 0.664511 + green * 0.154324 + blue * 0.162028;\n const Y \t\t= red * 0.283881 + green * 0.668433 + blue * 0.047685;\n const Z \t\t= red * 0.000088 + green * 0.072310 + blue * 0.986039;\n\n //Calculate the xy values from the XYZ values\n let x \t\t= parseFloat((X / (X + Y + Z)).toFixed(4));\n let y \t\t= parseFloat((Y / (X + Y + Z)).toFixed(4));\n\n if (isNaN(x))\n x = 0;\n if (isNaN(y))\n y = 0;\n\n return [x, y];\n }\n\n rgbToBri(red, green, blue) {\n return Math.min(2 * this.rgbToHsl(red, green, blue)[2], this.ranges.bri[1])\n }\n\n getRGB(color) {\n if (color.red != null && color.green != null && color.blue != null)\n return [color.red, color.green, color.blue]\n if (color.r != null && color.g != null && color.b != null)\n return [color.r, color.g, color.b]\n if (color.rgb)\n return color.rgb\n }\n\n getXY(color) {\n if (color.x != null && color.y != null)\n return [color.x, color.y]\n if (color.xy)\n return color.xy\n }\n\n toRGB(color) {\n const rgb = this.getRGB(color)\n if (rgb)\n return rgb\n\n const xy = this.getXY(color)\n if (xy && color.bri)\n return this.xyToRgb(...xy, color.bri)\n if (color.hue && color.sat && color.bri)\n return this.hslToRgb(color.hue, color.sat, color.bri)\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toXY(color) {\n const xy = this.getXY(color)\n if (xy && color.bri)\n return [xy[0], xy[1], color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToXY(...rgb)\n\n if (color.hue && color.sat && color.bri) {\n const rgb = this.hslToRgb(color.hue, color.sat, color.bri)\n return this.rgbToXY(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toHSL(color) {\n if (color.hue && color.sat && color.bri)\n return [color.hue, color.sat, color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToHsl(...rgb)\n\n const xy = this.getXY(color)\n if (xy && color.bri) {\n const rgb = this.xyToRgb(...xy, color.bri)\n return this.rgbToHsl(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n}\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Device.vue?vue&type=template&id=b05d09fc&scoped=true\"\nimport script from \"./Device.vue?vue&type=script&lang=js\"\nexport * from \"./Device.vue?vue&type=script&lang=js\"\n\nimport \"./Device.vue?vue&type=style&index=0&id=b05d09fc&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b05d09fc\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Group.vue?vue&type=template&id=7667f7ba&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=7667f7ba&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7667f7ba\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=b15233ac\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=b15233ac&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["fails","module","exports","ArrayBuffer","buffer","Object","isExtensible","defineProperty","value","create","redefineAll","bind","anInstance","iterate","defineIterator","setSpecies","DESCRIPTORS","fastKey","InternalStateModule","setInternalState","set","internalStateGetterFor","getterFor","getConstructor","wrapper","CONSTRUCTOR_NAME","IS_MAP","ADDER","Constructor","that","iterable","Prototype","type","index","first","undefined","last","size","AS_ENTRIES","prototype","getInternalState","define","key","previous","state","entry","getEntry","next","removed","clear","this","data","prev","forEach","callbackfn","boundFunction","arguments","length","has","get","add","setStrong","ITERATOR_NAME","getInternalCollectionState","getInternalIteratorState","iterated","kind","target","done","$","global","uncurryThis","isForced","redefine","InternalMetadataModule","isCallable","isObject","checkCorrectnessOfIteration","setToStringTag","inheritIfRequired","common","indexOf","IS_WEAK","NativeConstructor","NativePrototype","exported","fixMethod","KEY","uncurriedNativeMethod","REPLACE","entries","enable","instance","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","BUGGY_ZERO","$instance","dummy","constructor","forced","preventExtensions","toObject","floor","Math","charAt","replace","stringSlice","slice","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","matched","str","position","captures","namedCaptures","replacement","tailPos","m","symbols","match","ch","capture","n","f","hiddenKeys","hasOwn","getOwnPropertyNamesModule","getOwnPropertyNamesExternalModule","uid","FREEZING","REQUIRED","METADATA","id","setMetadata","it","objectID","weakData","getWeakData","onFreeze","meta","getOwnPropertyNames","splice","test","result","i","stat","classof","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","FAILS_ON_PRIMITIVES","PROPER_FUNCTION_NAME","whitespaces","non","METHOD_NAME","name","collection","collectionStrong","init","apply","call","fixRegExpWellKnownSymbolLogic","anObject","toIntegerOrInfinity","toLength","toString","requireObjectCoercible","advanceStringIndex","getMethod","getSubstitution","regExpExec","wellKnownSymbol","max","min","concat","push","stringIndexOf","maybeToString","String","REPLACE_KEEPS_$0","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","REPLACE_SUPPORTS_NAMED_GROUPS","re","exec","groups","a","_","nativeReplace","maybeCallNative","UNSAFE_SUBSTITUTE","searchValue","replaceValue","O","replacer","string","rx","S","res","functionalReplace","fullUnicode","unicode","lastIndex","results","matchStr","accumulatedResult","nextSourcePosition","j","replacerArgs","$trim","forcedStringTrimMethod","proto","trim","_classCallCheck","TypeError","_defineProperties","props","descriptor","enumerable","configurable","writable","_createClass","protoProps","staticProps","ColorConverter","ranges","hue","sat","bri","ct","keys","attr","x","xRange","yRange","h","s","l","normalize","k","color","round","r","g","b","d","parseInt","y","brightness","z","Y","toFixed","X","Z","red","green","blue","pow","isNaN","map","c","parseFloat","rgbToHsl","rgb","xy","getRGB","getXY","xyToRgb","hslToRgb","console","debug","rgbToXY","class","ref","range","step","disabled","onUpdate","withLabel","emits","Number","Boolean","default","Array","methods","event","update","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","loading","title","status","info","permit_join","network","channel","version","config","mqtt","server","serial","port","coordinator","maintrel","majorrel","minorrel","revision","selected","view","$event","views","enabled","toUpperCase","addGroup","text","infoModal","show","permitJoin","factoryReset","refresh","devices","device","deviceId","refreshDevices","refreshGroups","group","groupId","manageGroups","associatedGroups","friendly_name","ieee_address","editName","rename","network_address","definition","vendor","model","model_id","description","software_build_id","date_code","power_source","displayedValues","property","rgbColor","unit","value_on","setValue","value_min","value_max","readable","values","option","join","groupsModal","otaUpdatesAvailable","installOtaUpdates","checkOtaUpdates","remove","components","Modal","ToggleSwitch","Slider","Loading","mixins","Utils","required","computed","exposes","extractValues","extractValue","root","features","feature","ret","mergeValues","obj","access","filter","v","reduce","converter","saturation","satAttr","Set","members","member","request","newName","force","confirm","value_toggle","value_off","split","hsl","querySelectorAll","element","editGroups","action","Promise","all","update_available","notify","image","iconClass","$watch","newValue","subscribe","properties","unmounted","unsubscribe","toggleDevice","devicesByAddress","prompt","ieeeAddress","method","Dropdown","DropdownItem","Device","Group","modal","visible","refreshInfo","updateProperties","permit","args","seconds","setTimeout","addToGroup","self","created","error"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4604.3ded66e7.js b/platypush/backend/http/webapp/dist/static/js/4604.3ded66e7.js new file mode 100644 index 000000000..fe0a14067 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/4604.3ded66e7.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4604],{4212:function(e,t,s){s.d(t,{N:function(){return a}});class a{constructor(e){if(this.ranges={hue:[0,360],sat:[0,100],bri:[0,100],ct:[154,500]},e)for(const t of Object.keys(this.ranges))e[t]&&(this.ranges[t]=e[t])}normalize(e,t,s){return s[0]+(e-t[0])*(s[1]-s[0])/(t[1]-t[0])}hslToRgb(e,t,s){[e,t,s]=[this.normalize(e,this.ranges.hue,[0,360]),this.normalize(t,this.ranges.sat,[0,100]),this.normalize(s,this.ranges.bri,[0,100])],s/=100;const a=t*Math.min(s,1-s)/100,i=t=>{const i=(t+e/30)%12,n=s-a*Math.max(Math.min(i-3,9-i,1),-1);return Math.round(255*n)};return[i(0),i(8),i(4)]}rgbToHsl(e,t,s){e/=255,t/=255,s/=255;const a=Math.max(e,t,s),i=Math.min(e,t,s);let n,l,o=(a+i)/2;if(a===i)n=l=0;else{const r=a-i;switch(l=o>.5?r/(2-a-i):r/(a+i),a){case e:n=(t-s)/r+(td&&o>r&&o>1?(r/=o,d/=o,o=1):r>d&&r>o&&r>1?(o/=r,d/=r,r=1):d>o&&d>r&&d>1&&(o/=d,r/=d,d=1),o=o<=.0031308?12.92*o:1.055*Math.pow(o,1/2.4)-.055,r=r<=.0031308?12.92*r:1.055*Math.pow(r,1/2.4)-.055,d=d<=.0031308?12.92*d:1.055*Math.pow(d,1/2.4)-.055,o=Math.round(255*o),r=Math.round(255*r),d=Math.round(255*d),isNaN(o)&&(o=0),isNaN(r)&&(r=0),isNaN(d)&&(d=0),[o,r,d].map((e=>Math.min(Math.max(0,e),255)))}rgbToXY(e,t,s){e>1&&(e/=255),t>1&&(t/=255),s>1&&(s/=255),e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92;const a=.664511*e+.154324*t+.162028*s,i=.283881*e+.668433*t+.047685*s,n=88e-6*e+.07231*t+.986039*s;let l=parseFloat((a/(a+i+n)).toFixed(4)),o=parseFloat((i/(a+i+n)).toFixed(4));return isNaN(l)&&(l=0),isNaN(o)&&(o=0),[l,o]}rgbToBri(e,t,s){return Math.min(2*this.rgbToHsl(e,t,s)[2],this.ranges.bri[1])}getRGB(e){return null!=e.red&&null!=e.green&&null!=e.blue?[e.red,e.green,e.blue]:null!=e.r&&null!=e.g&&null!=e.b?[e.r,e.g,e.b]:e.rgb?e.rgb:void 0}getXY(e){return null!=e.x&&null!=e.y?[e.x,e.y]:e.xy?e.xy:void 0}toRGB(e){const t=this.getRGB(e);if(t)return t;const s=this.getXY(e);return s&&e.bri?this.xyToRgb(...s,e.bri):e.hue&&e.sat&&e.bri?this.hslToRgb(e.hue,e.sat,e.bri):(console.debug("Could not determine color space"),void console.debug(e))}toXY(e){const t=this.getXY(e);if(t&&e.bri)return[t[0],t[1],e.bri];const s=this.getRGB(e);if(s)return this.rgbToXY(...s);if(e.hue&&e.sat&&e.bri){const t=this.hslToRgb(e.hue,e.sat,e.bri);return this.rgbToXY(...t)}console.debug("Could not determine color space"),console.debug(e)}toHSL(e){if(e.hue&&e.sat&&e.bri)return[e.hue,e.sat,e.bri];const t=this.getRGB(e);if(t)return this.rgbToHsl(...t);const s=this.getXY(e);if(s&&e.bri){const t=this.xyToRgb(...s,e.bri);return this.rgbToHsl(...t)}console.debug("Could not determine color space"),console.debug(e)}}},1120:function(e,t,s){s.d(t,{Z:function(){return g}});var a=s(6252),i=s(9963),n=s(3577);const l={class:"slider-wrapper"},o=["min","max","step","disabled","value"],r={class:"track"},d={class:"track-inner",ref:"track"},u={class:"thumb",ref:"thumb"},c=["textContent"];function v(e,t,s,v,p,h){return(0,a.wg)(),(0,a.iD)("label",l,[(0,a._)("input",{class:"slider",type:"range",ref:"range",min:s.range[0],max:s.range[1],step:s.step,disabled:s.disabled,value:s.value,onInput:t[0]||(t[0]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onChange:t[1]||(t[1]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onMouseup:t[2]||(t[2]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onMousedown:t[3]||(t[3]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onTouchstart:t[4]||(t[4]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onTouchend:t[5]||(t[5]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onKeyup:t[6]||(t[6]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onKeydown:t[7]||(t[7]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"]))},null,40,o),(0,a._)("div",r,[(0,a._)("div",d,null,512)]),(0,a._)("div",u,null,512),s.withLabel?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"label",textContent:(0,n.zw)(s.value)},null,8,c)):(0,a.kq)("",!0)])}var p={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const t=100*e/(this.range[1]-this.range[0]);this.$refs.thumb.style.left=`${t}%`,this.$refs.thumb.style.transform=`translate(-${t}%, -50%)`,this.$refs.track.style.width=`${t}%`}},mounted(){null!=this.value&&this.update(this.value)}},h=s(3744);const m=(0,h.Z)(p,[["render",v],["__scopeId","data-v-288acf82"]]);var g=m},6137:function(e,t,s){s.d(t,{Z:function(){return h}});var a=s(6252),i=s(3577),n=s(9963);const l=e=>((0,a.dD)("data-v-8e097228"),e=e(),(0,a.Cn)(),e),o=["checked"],r=l((()=>(0,a._)("div",{class:"switch"},[(0,a._)("div",{class:"dot"})],-1))),d={class:"label"};function u(e,t,s,l,u,c){return(0,a.wg)(),(0,a.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:s.disabled}]),onClick:t[0]||(t[0]=(0,n.iM)(((...e)=>c.onInput&&c.onInput(...e)),["stop"]))},[(0,a._)("input",{type:"checkbox",checked:s.value},null,8,o),(0,a._)("label",null,[r,(0,a._)("span",d,[(0,a.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var c={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=s(3744);const p=(0,v.Z)(c,[["render",u],["__scopeId","data-v-8e097228"]]);var h=p},4604:function(e,t,s){s.r(t),s.d(t,{default:function(){return vs}});var a=s(6252),i=s(3577);const n={class:"zigbee-container"},l={key:0,class:"info-body"},o={class:"row"},r=(0,a._)("div",{class:"param-name"},"State",-1),d=["textContent"],u={class:"row"},c=(0,a._)("div",{class:"param-name"},"Permit Join",-1),v=["textContent"],p={key:0,class:"row"},h=(0,a._)("div",{class:"param-name"},"Network Channel",-1),m=["textContent"],g={class:"row"},b=(0,a._)("div",{class:"param-name"},"Zigbee2MQTT Version",-1),y=["textContent"],f={key:1,class:"row"},_=(0,a._)("div",{class:"param-name"},"MQTT Server",-1),w=["textContent"],k={key:2,class:"row"},q=(0,a._)("div",{class:"param-name"},"Serial Port",-1),C=["textContent"],x={key:3,class:"row"},z=(0,a._)("div",{class:"param-name"},"Firmware Type",-1),D=["textContent"],M={key:4,class:"row"},G=(0,a._)("div",{class:"param-name"},"Firmware Version",-1),Z={class:"param-value"},R={key:5,class:"row"},I=(0,a._)("div",{class:"param-name"},"Firmware Revision",-1),N=["textContent"],T={class:"view-options"},V={class:"view-selector col-s-8 col-m-9 col-l-10"},U=["value"],E=["textContent","selected","value"],j={class:"buttons"},A=["disabled"],S=(0,a._)("i",{class:"fa fa-plus"},null,-1),$=[S],O=["disabled"],F=(0,a._)("i",{class:"fa fa-sync-alt"},null,-1),B=[F],Y={class:"view-container"},L={key:0,class:"view devices"},H={key:0,class:"no-items"},K={key:0,class:"loading"},P={key:1,class:"empty"},X={key:1,class:"view groups"},W={key:0,class:"no-items"},J={key:0,class:"loading"},Q={key:1,class:"empty"};function ee(e,t,s,S,F,ee){const te=(0,a.up)("Loading"),se=(0,a.up)("Modal"),ae=(0,a.up)("DropdownItem"),ie=(0,a.up)("Dropdown"),ne=(0,a.up)("Device"),le=(0,a.up)("Group");return(0,a.wg)(),(0,a.iD)("div",n,[F.loading?((0,a.wg)(),(0,a.j4)(te,{key:0})):(0,a.kq)("",!0),(0,a.Wm)(se,{title:"Network Info",ref:"infoModal"},{default:(0,a.w5)((()=>[F.status.info?((0,a.wg)(),(0,a.iD)("div",l,[(0,a._)("div",o,[r,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.state)},null,8,d)]),(0,a._)("div",u,[c,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.permit_join)},null,8,v)]),F.status.info.network?((0,a.wg)(),(0,a.iD)("div",p,[h,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.network.channel)},null,8,m)])):(0,a.kq)("",!0),(0,a._)("div",g,[b,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.version)},null,8,y)]),F.status.info.config?.mqtt?((0,a.wg)(),(0,a.iD)("div",f,[_,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.config.mqtt.server)},null,8,w)])):(0,a.kq)("",!0),F.status.info.config?.serial?((0,a.wg)(),(0,a.iD)("div",k,[q,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.config.serial.port)},null,8,C)])):(0,a.kq)("",!0),F.status.info.coordinator?.type?((0,a.wg)(),(0,a.iD)("div",x,[z,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.coordinator.type)},null,8,D)])):(0,a.kq)("",!0),F.status.info.coordinator?.meta?((0,a.wg)(),(0,a.iD)("div",M,[G,(0,a._)("div",Z,(0,i.zw)(F.status.info.coordinator.meta.maintrel)+"."+(0,i.zw)(F.status.info.coordinator.meta.majorrel)+"."+(0,i.zw)(F.status.info.coordinator.meta.minorrel),1)])):(0,a.kq)("",!0),F.status.info.coordinator?.meta?((0,a.wg)(),(0,a.iD)("div",R,[I,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.coordinator.meta.revision)},null,8,N)])):(0,a.kq)("",!0)])):(0,a.kq)("",!0)])),_:1},512),(0,a._)("div",T,[(0,a._)("div",V,[(0,a._)("label",null,[(0,a._)("select",{value:F.selected.view,onChange:t[0]||(t[0]=e=>this.selected.view=e.target.value)},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(F.views,((e,t)=>((0,a.wg)(),(0,a.iD)("option",{textContent:(0,i.zw)((t[0].toUpperCase()+t.slice(1)).replace("_"," ")),key:t,selected:e,value:t},null,8,E)))),128))],40,U)])]),(0,a._)("div",j,["groups"===F.selected.view?((0,a.wg)(),(0,a.iD)("button",{key:0,class:"btn btn-default",title:"Add Group",disabled:F.loading,onClick:t[1]||(t[1]=(...e)=>ee.addGroup&&ee.addGroup(...e))},$,8,A)):(0,a.kq)("",!0),(0,a.Wm)(ie,{ref:"networkCommandsDropdown","icon-class":"fa fa-cog",title:"Network commands"},{default:(0,a.w5)((()=>[(0,a.Wm)(ae,{text:"Network Info",disabled:F.loading,onClick:t[2]||(t[2]=t=>e.$refs.infoModal.show())},null,8,["disabled"]),F.status.info?.permit_join?((0,a.wg)(),(0,a.j4)(ae,{key:1,text:"Disable Join",disabled:F.loading,onClick:t[4]||(t[4]=e=>ee.permitJoin(!1))},null,8,["disabled"])):((0,a.wg)(),(0,a.j4)(ae,{key:0,text:"Permit Join",disabled:F.loading,onClick:t[3]||(t[3]=e=>ee.permitJoin(!0))},null,8,["disabled"])),(0,a.Wm)(ae,{text:"Factory Reset",disabled:F.loading,onClick:ee.factoryReset},null,8,["disabled","onClick"])])),_:1},512),(0,a._)("button",{class:"btn btn-default",title:"Refresh network",disabled:F.loading,onClick:t[5]||(t[5]=(...e)=>ee.refresh&&ee.refresh(...e))},B,8,O)])]),(0,a._)("div",Y,["devices"===F.selected.view?((0,a.wg)(),(0,a.iD)("div",L,[Object.keys(F.devices).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",H,[F.loading?((0,a.wg)(),(0,a.iD)("div",K,"Loading devices...")):((0,a.wg)(),(0,a.iD)("div",P,"No devices found on the network"))])),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(F.devices,((e,t)=>((0,a.wg)(),(0,a.j4)(ne,{key:t,device:e,groups:F.groups,selected:F.selected.deviceId===t,onSelect:e=>F.selected.deviceId=F.selected.deviceId===t?null:t,onRename:ee.refreshDevices,onRemove:ee.refreshDevices,onGroupsEdit:ee.refreshGroups},null,8,["device","groups","selected","onSelect","onRename","onRemove","onGroupsEdit"])))),128))])):"groups"===F.selected.view?((0,a.wg)(),(0,a.iD)("div",X,[Object.keys(F.groups).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",W,[F.loading?((0,a.wg)(),(0,a.iD)("div",J,"Loading groups...")):((0,a.wg)(),(0,a.iD)("div",Q,"No groups available on the network"))])),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(F.groups,((e,t)=>((0,a.wg)(),(0,a.j4)(le,{key:t,group:e,devices:F.devices,selected:F.selected.groupId===t,onSelect:e=>F.selected.groupId=F.selected.groupId===t?null:t,onRename:ee.refreshGroups,onRemove:ee.refreshGroups,onEdit:ee.refreshGroups},null,8,["group","devices","selected","onSelect","onRename","onRemove","onEdit"])))),128))])):(0,a.kq)("",!0)])])}var te=s(7021),se=s(455),ae=s(1232),ie=s(2628),ne=s(9963);const le=e=>((0,a.dD)("data-v-b05d09fc"),e=e(),(0,a.Cn)(),e),oe={class:"groups"},re=["value","checked"],de=["textContent"],ue=le((()=>(0,a._)("div",{class:"footer buttons"},[(0,a._)("button",{type:"submit"},"Save")],-1))),ce=["textContent"],ve={key:1,class:"params"},pe={class:"row"},he=le((()=>(0,a._)("div",{class:"param-name"},"Name",-1))),me={class:"param-value"},ge=["value"],be={class:"buttons"},ye=le((()=>(0,a._)("i",{class:"fas fa-times"},null,-1))),fe=[ye],_e=le((()=>(0,a._)("button",{type:"submit",class:"btn btn-default"},[(0,a._)("i",{class:"fa fa-check"})],-1))),we=["textContent"],ke={class:"buttons"},qe=le((()=>(0,a._)("i",{class:"fa fa-edit"},null,-1))),Ce=[qe],xe={class:"row"},ze=le((()=>(0,a._)("div",{class:"param-name"},"IEEE Address",-1))),De=["textContent"],Me={key:0,class:"row"},Ge=le((()=>(0,a._)("div",{class:"param-name"},"Network Address",-1))),Ze=["textContent"],Re={class:"row"},Ie=le((()=>(0,a._)("div",{class:"param-name"},"Type",-1))),Ne=["textContent"],Te={key:1,class:"row"},Ve=le((()=>(0,a._)("div",{class:"param-name"},"Vendor",-1))),Ue={class:"param-value"},Ee={key:2,class:"row"},je=le((()=>(0,a._)("div",{class:"param-name"},"Model",-1))),Ae={class:"param-value"},Se={key:3,class:"row"},$e=le((()=>(0,a._)("div",{class:"param-name"},"Model ID",-1))),Oe={class:"param-value"},Fe={key:4,class:"row"},Be=le((()=>(0,a._)("div",{class:"param-name"},"Description",-1))),Ye={class:"param-value"},Le={key:5,class:"row"},He=le((()=>(0,a._)("div",{class:"param-name"},"Software Build ID",-1))),Ke={class:"param-value"},Pe={key:6,class:"row"},Xe=le((()=>(0,a._)("div",{class:"param-name"},"Date Code",-1))),We={class:"param-value"},Je={key:7,class:"row"},Qe=le((()=>(0,a._)("div",{class:"param-name"},"Power Source",-1))),et={class:"param-value"},tt={key:8,class:"section values"},st=le((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Values")],-1))),at={class:"body"},it={class:"param-name"},nt={key:0,class:"text"},lt=["textContent"],ot=["textContent"],rt={class:"param-value"},dt={key:2},ut=["value","disabled","onChange"],ct={key:3},vt=["value","onChange"],pt={key:0},ht=["value","textContent","selected","disabled"],mt={key:4},gt=["onChange","value"],bt={key:5},yt=["disabled","value","onChange"],ft={class:"section actions"},_t=le((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Actions")],-1))),wt={class:"body"},kt=le((()=>(0,a._)("div",{class:"param-name"},"Manage groups",-1))),qt=le((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-network-wired"})],-1))),Ct=[kt,qt],xt={key:0,class:"param-name"},zt={key:1,class:"param-name"},Dt=le((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-sync-alt"})],-1))),Mt=le((()=>(0,a._)("div",{class:"param-name"},"Remove Device",-1))),Gt=le((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1))),Zt=[Mt,Gt],Rt=le((()=>(0,a._)("div",{class:"param-name"},"Force Remove Device",-1))),It=le((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1))),Nt=[Rt,It];function Tt(e,t,s,n,l,o){const r=(0,a.up)("Loading"),d=(0,a.up)("Modal"),u=(0,a.up)("ToggleSwitch"),c=(0,a.up)("Slider");return(0,a.wg)(),(0,a.iD)("div",{class:(0,i.C_)(["item device",{selected:s.selected}])},[l.loading?((0,a.wg)(),(0,a.j4)(r,{key:0})):(0,a.kq)("",!0),(0,a.Wm)(d,{class:"groups-modal",ref:"groupsModal",title:"Device groups"},{default:(0,a.w5)((()=>[l.loading?((0,a.wg)(),(0,a.j4)(r,{key:0})):(0,a.kq)("",!0),(0,a._)("form",{class:"content",onSubmit:t[0]||(t[0]=(0,ne.iM)(((...e)=>o.manageGroups&&o.manageGroups(...e)),["prevent"]))},[(0,a._)("div",oe,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(s.groups,((e,t)=>((0,a.wg)(),(0,a.iD)("label",{class:"row group",key:t},[(0,a._)("input",{type:"checkbox",value:t,checked:o.associatedGroups.has(parseInt(e.id))},null,8,re),(0,a._)("span",{class:"name",textContent:(0,i.zw)(e.friendly_name?.length?e.friendly_name:`[Group #${e.id}]`)},null,8,de)])))),128))]),ue],32)])),_:1},512),(0,a._)("div",{class:(0,i.C_)(["row name header vertical-center",{selected:s.selected}]),textContent:(0,i.zw)(s.device.friendly_name||s.device.ieee_address),onClick:t[1]||(t[1]=t=>e.$emit("select"))},null,10,ce),s.selected?((0,a.wg)(),(0,a.iD)("div",ve,[(0,a._)("div",pe,[he,(0,a._)("div",me,[(0,a._)("div",{class:(0,i.C_)(["name-edit",{hidden:!l.editName}])},[(0,a._)("form",{onSubmit:t[3]||(t[3]=(0,ne.iM)(((...e)=>o.rename&&o.rename(...e)),["prevent"]))},[(0,a._)("label",null,[(0,a._)("input",{type:"text",name:"name",ref:"name",value:s.device.friendly_name},null,8,ge)]),(0,a._)("span",be,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:t[2]||(t[2]=e=>l.editName=!1)},fe),_e])],32)],2),(0,a._)("div",{class:(0,i.C_)(["name-edit",{hidden:l.editName}])},[(0,a._)("span",{textContent:(0,i.zw)(s.device.friendly_name)},null,8,we),(0,a._)("span",ke,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:t[4]||(t[4]=e=>l.editName=!0)},Ce)])],2)])]),(0,a._)("div",xe,[ze,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(s.device.ieee_address)},null,8,De)]),s.device.network_address?((0,a.wg)(),(0,a.iD)("div",Me,[Ge,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(s.device.network_address)},null,8,Ze)])):(0,a.kq)("",!0),(0,a._)("div",Re,[Ie,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(s.device.type)},null,8,Ne)]),s.device.definition?.vendor?((0,a.wg)(),(0,a.iD)("div",Te,[Ve,(0,a._)("div",Ue,(0,i.zw)(s.device.definition.vendor),1)])):(0,a.kq)("",!0),s.device.definition?.model?((0,a.wg)(),(0,a.iD)("div",Ee,[je,(0,a._)("div",Ae,(0,i.zw)(s.device.definition.model),1)])):(0,a.kq)("",!0),s.device.model_id?((0,a.wg)(),(0,a.iD)("div",Se,[$e,(0,a._)("div",Oe,(0,i.zw)(s.device.model_id),1)])):(0,a.kq)("",!0),s.device.definition?.description?((0,a.wg)(),(0,a.iD)("div",Fe,[Be,(0,a._)("div",Ye,(0,i.zw)(s.device.definition.description),1)])):(0,a.kq)("",!0),s.device.software_build_id?((0,a.wg)(),(0,a.iD)("div",Le,[He,(0,a._)("div",Ke,(0,i.zw)(s.device.software_build_id),1)])):(0,a.kq)("",!0),s.device.definition?.date_code?((0,a.wg)(),(0,a.iD)("div",Pe,[Xe,(0,a._)("div",We,(0,i.zw)(s.device.definition.date_code),1)])):(0,a.kq)("",!0),s.device.power_source?((0,a.wg)(),(0,a.iD)("div",Je,[Qe,(0,a._)("div",et,(0,i.zw)(s.device.power_source),1)])):(0,a.kq)("",!0),Object.keys(o.displayedValues).length?((0,a.wg)(),(0,a.iD)("div",tt,[st,(0,a._)("div",at,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(o.displayedValues,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{class:"row value",key:t},[(0,a._)("div",it,[(0,a.Uk)((0,i.zw)(e.description)+" ",1),null!=o.rgbColor&&null!=e.value?.x&&null!=e.value?.y||null!=e.value?.hue&&null!=e.value?.saturation?((0,a.wg)(),(0,a.iD)("span",nt,"Color")):(0,a.kq)("",!0),e.property?((0,a.wg)(),(0,a.iD)("span",{key:1,class:"name",textContent:(0,i.zw)(e.property)},null,8,lt)):(0,a.kq)("",!0),e.unit?((0,a.wg)(),(0,a.iD)("span",{key:2,class:"unit",textContent:(0,i.zw)(e.unit)},null,8,ot)):(0,a.kq)("",!0)]),(0,a._)("div",rt,["binary"===e.type?((0,a.wg)(),(0,a.j4)(u,{key:0,value:null!=e.value_on?e.value===e.value_on:!!e.value,disabled:!e.writable,onInput:t=>o.setValue(e,t)},null,8,["value","disabled","onInput"])):"numeric"===e.type&&null!=e.value_min&&null!=e.value_max?((0,a.wg)(),(0,a.j4)(c,{key:1,"with-label":!0,range:[e.value_min,e.value_max],value:e.value,disabled:!e.writable,onChange:t=>o.setValue(e,t)},null,8,["range","value","disabled","onChange"])):"numeric"!==e.type||null!=e.value_min&&null!=e.value_max?"enum"===e.type?((0,a.wg)(),(0,a.iD)("label",ct,[(0,a._)("select",{value:e.readable&&null!=e.value?e.value:"",onChange:t=>o.setValue(e,t)},[e.readable?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("option",pt)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.values,(t=>((0,a.wg)(),(0,a.iD)("option",{key:t,value:t,textContent:(0,i.zw)(t),selected:e.readable&&e.value===t,disabled:!e.writable},null,8,ht)))),128))],40,vt)])):null!=o.rgbColor&&null!=e.value?.x&&null!=e.value?.y||null!=e.value?.hue&&null!=e.value?.saturation?((0,a.wg)(),(0,a.iD)("label",mt,[(0,a._)("input",{type:"color",onChange:(0,ne.iM)((t=>o.setValue(e,t)),["stop"]),value:"#"+o.rgbColor.map((e=>(e=Number(e).toString(16),1===e.length?"0"+e:e))).join("")},null,40,gt)])):((0,a.wg)(),(0,a.iD)("label",bt,[(0,a._)("input",{type:"text",disabled:!e.writable,value:e.value,onChange:t=>o.setValue(e,t)},null,40,yt)])):((0,a.wg)(),(0,a.iD)("label",dt,[(0,a._)("input",{type:"number","with-label":!0,value:e.value,disabled:!e.writable,onChange:t=>o.setValue(e,t)},null,40,ut)]))])])))),128))])])):(0,a.kq)("",!0),(0,a._)("div",ft,[_t,(0,a._)("div",wt,[(0,a._)("div",{class:"row",onClick:t[5]||(t[5]=t=>e.$refs.groupsModal.show())},Ct),(0,a._)("div",{class:"row",onClick:t[6]||(t[6]=e=>l.otaUpdatesAvailable?o.installOtaUpdates():o.checkOtaUpdates())},[l.otaUpdatesAvailable?((0,a.wg)(),(0,a.iD)("div",zt,"Install updates")):((0,a.wg)(),(0,a.iD)("div",xt,"Check for updates")),Dt]),(0,a._)("div",{class:"row",onClick:t[7]||(t[7]=e=>o.remove(!1))},Zt),(0,a._)("div",{class:"row error",onClick:t[8]||(t[8]=e=>o.remove(!0))},Nt)])])])):(0,a.kq)("",!0)],2)}var Vt=s(1120),Ut=s(6137),Et=s(4212),jt=s(9642),At={name:"Device",components:{Modal:jt.Z,ToggleSwitch:Ut.Z,Slider:Vt.Z,Loading:ae.Z},mixins:[ie.Z],emits:["select","rename","remove","groups-edit"],props:{device:{type:Object,required:!0},groups:{type:Object,default:()=>{}},selected:{type:Boolean,default:!1}},data(){return{editName:!1,loading:!1,status:{},otaUpdatesAvailable:!1}},computed:{values(){if(!this.device.definition?.exposes)return{};const e=e=>{const t=(e,s)=>{if(e.features){e.property&&(s[e.property]=s[e.property]||{},s=s[e.property]);for(const a of e.features)t(a,s)}else e.property&&(s[e.property]=e)},s={};for(const a of e)t(a,s);return s};return e(this.device.definition.exposes)},displayedValues(){const e={},t=(e,[s,a])=>(s in this.status&&(a={...a,value:this.status[s]}),null!=a.access&&(a.readable=!!(1&a.access),a.writable=!!(2&a.access),delete a.access),e[s]=a,Object.entries(a).filter((e=>e[1]instanceof Object)).reduce(t,e[s]),e);return Object.entries(this.values).reduce(t,e),e},rgbColor(){if(!this.displayedValues.color)return;const e=this.displayedValues.color?.value;if(e){if(null!=e.x&&null!=e.y){const t=new Et.N({bri:[this.displayedValues.brightness?.value_min||0,this.displayedValues.brightness?.value_max||255]});return t.xyToRgb(e.x,e.y,this.displayedValues.brightness.value)}if(null!=e.hue&&(null!=e.saturation||null!=e.sat)){const t=null!=e.saturation?"saturation":"sat",s=new Et.N({hue:[this.displayedValues.color.hue?.value_min||0,this.displayedValues.color.hue.value_max||65535],sat:[this.displayedValues.color[t]?.value_min||0,this.displayedValues.color[t].value_max||255],bri:[this.displayedValues.brightness?.value_min||0,this.displayedValues.brightness?.value_max||255]});return s.hslToRgb(e.hue,e[t],this.displayedValues.brightness.value)}return null}},associatedGroups(){return new Set(Object.values(this.groups).filter((e=>new Set((e.members||[]).map((e=>e.ieee_address))).has(this.device.ieee_address))).map((e=>parseInt(e.id))))}},methods:{async refresh(){this.loading=!0;try{this.status=await this.request("zigbee.mqtt.device_get",{device:this.device.friendly_name||this.device.ieee_address})}finally{this.loading=!1}},async rename(){const e=(this.$refs.name.value||"").trim();if(e.length&&e!==this.device.friendly_name){this.loading=!0;try{await this.request("zigbee.mqtt.device_rename",{device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address,name:e}),this.$emit("rename",{name:this.device.friendly_name,newName:e})}finally{this.editName=!1,this.loading=!1}}},async remove(e){if(confirm("Are you really sure that you want to remove this device from the network?")){e=!!e,this.loading=!0;try{await this.request("zigbee.mqtt.device_remove",{device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address,force:e}),this.$emit("remove",{device:this.device.friendly_name||this.device.ieee_address})}finally{this.loading=!1}}},async setValue(e,t){const s={device:this.device.friendly_name||this.device.ieee_address,property:e.property,value:null};switch(e.type){case"binary":e.value_toggle?s.value=e.value_toggle:e.value_on&&e.value_off?s.value=e.value===e.value_on?e.value_off:e.value_on:s.value=!e.value;break;case"numeric":s.value=parseFloat(t.target.value);break;case"enum":t.target.value?.length&&(s.value=t.target.value);break;default:if(null!=e.x&&null!=e.y||null!=e.hue&&(null!=e.saturation||null!=e.sat)){s.property="color";const a=t.target.value.slice(1).split(/([0-9a-fA-F]{2})/).filter(((e,t)=>t%2)).map((e=>parseInt(e,16)));if(null!=e.x&&null!=e.y){const e=new Et.N({bri:[this.displayedValues.brightness?.value_min||0,this.displayedValues.brightness?.value_max||255]}),t=e.rgbToXY(...a);s.value={color:{x:t[0],y:t[1]}}}else{const e=null!=this.displayedValues.color.saturation?"saturation":"sat",t=new Et.N({hue:[this.displayedValues.color.hue?.value_min||0,this.displayedValues.color.hue.value_max||65535],sat:[this.displayedValues.color[e]?.value_min||0,this.displayedValues.color[e].value_max||255],bri:[this.displayedValues.brightness?.value_min||0,this.displayedValues.brightness?.value_max||255]}),i=t.rgbToHsl(...a);s.value={brightness:i[2],color:{hue:i[0]}},s.value.color[e]=i[1]}}break}if(null!=s.value){this.loading=!0;try{await this.request("zigbee.mqtt.device_set",s),await this.refresh()}finally{this.loading=!1}}},async manageGroups(e){const t=[...e.target.querySelectorAll("input[type=checkbox]")].reduce(((e,t)=>{const s=parseInt(t.value);return t.checked&&!this.associatedGroups.has(s)?e.add.add(s):!t.checked&&this.associatedGroups.has(s)&&e.remove.add(s),e}),{add:new Set,remove:new Set}),s=async e=>{await Promise.all([...t[e]].map((async t=>{await this.request(`zigbee.mqtt.group_${e}_device`,{group:this.groups[t].friendly_name,device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address})})))};this.loading=!0;try{await Promise.all(Object.keys(t).map(s)),this.$emit("groups-edit",t)}finally{this.loading=!1}},async checkOtaUpdates(){this.loading=!0;try{this.otaUpdatesAvailable=(await this.request("zigbee.mqtt.device_check_ota_updates",{device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address})).update_available,this.otaUpdatesAvailable?this.notify({text:"A firmware update is available for the device",image:{iconClass:"fa fa-sync-alt"}}):this.notify({text:"The device is up to date",image:{iconClass:"fa fa-check"}})}finally{this.loading=!1}},async installOtaUpdates(){this.loading=!0;try{await this.request("zigbee.mqtt.device_install_ota_updates",{device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&this.refresh()})),this.$watch((()=>this.status.update_available),(e=>{this.otaUpdatesAvailable=e})),this.subscribe((e=>{e.device!==this.device.friendly_name&&e.device!==this.device.ieee_address||(this.status={...this.status,...e.properties})}),`on-property-change-${this.device.ieee_address}`,"platypush.message.event.zigbee.mqtt.ZigbeeMqttDevicePropertySetEvent")},unmounted(){this.unsubscribe(`on-property-change-${this.device.ieee_address}`)}},St=s(3744);const $t=(0,St.Z)(At,[["render",Tt],["__scopeId","data-v-b05d09fc"]]);var Ot=$t;const Ft=e=>((0,a.dD)("data-v-7667f7ba"),e=e(),(0,a.Cn)(),e),Bt=["textContent"],Yt={key:1,class:"params"},Lt={class:"section devices"},Ht=Ft((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Devices")],-1))),Kt={class:"body"},Pt=["checked","value","onChange"],Xt=["textContent"],Wt={class:"section actions"},Jt=Ft((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Actions")],-1))),Qt={class:"body"},es=Ft((()=>(0,a._)("div",{class:"col-10"},"Rename Group",-1))),ts=Ft((()=>(0,a._)("div",{class:"buttons col-2 pull-right"},[(0,a._)("i",{class:"fa fa-edit"})],-1))),ss=[es,ts],as=Ft((()=>(0,a._)("div",{class:"col-10"},"Remove Group",-1))),is=Ft((()=>(0,a._)("div",{class:"buttons col-2 pull-right"},[(0,a._)("i",{class:"fa fa-trash"})],-1))),ns=[as,is];function ls(e,t,s,n,l,o){const r=(0,a.up)("Loading");return(0,a.wg)(),(0,a.iD)("div",{class:(0,i.C_)(["item group",{selected:s.selected}])},[l.loading?((0,a.wg)(),(0,a.j4)(r,{key:0})):(0,a.kq)("",!0),(0,a._)("div",{class:(0,i.C_)(["row name header vertical-center",{selected:s.selected}]),textContent:(0,i.zw)(s.group.friendly_name),onClick:t[0]||(t[0]=t=>e.$emit("select"))},null,10,Bt),s.selected?((0,a.wg)(),(0,a.iD)("div",Yt,[(0,a._)("div",Lt,[Ht,(0,a._)("div",Kt,[(0,a._)("form",null,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(s.devices,((e,t)=>((0,a.wg)(),(0,a.iD)("label",{class:"row",key:t},[(0,a._)("input",{type:"checkbox",checked:o.members.has(e.ieee_address),value:e.ieee_address,onChange:t=>o.toggleDevice(e.ieee_address)},null,40,Pt),(0,a._)("span",{class:"label",textContent:(0,i.zw)(e.friendly_name?.length?e.friendly_name:e.ieee_address)},null,8,Xt)])))),128))])])]),(0,a._)("div",Wt,[Jt,(0,a._)("div",Qt,[(0,a._)("div",{class:"row",onClick:t[1]||(t[1]=(...e)=>o.rename&&o.rename(...e))},ss),(0,a._)("div",{class:"row",onClick:t[2]||(t[2]=(...e)=>o.remove&&o.remove(...e))},ns)])])])):(0,a.kq)("",!0)],2)}var os={name:"Group",emits:["select","remove","edit"],mixins:[ie.Z],components:{Loading:ae.Z},props:{group:{type:Object,required:!0},devices:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,values:{}}},computed:{devicesByAddress(){return Object.entries(this.devices).reduce(((e,t)=>{const s=t[1];return e[s.ieee_address]=s,e}),{})},members(){return new Set((this.group.members||[]).map((e=>e.ieee_address)))}},methods:{async remove(){if(confirm("Are you sure that you want to remove this group?")){this.loading=!0;try{await this.request("zigbee.mqtt.group_remove",{name:this.group.friendly_name}),this.$emit("remove",{name:this.group.friendly_name})}finally{this.loading=!1}}},async rename(){let e=prompt("New group name",this.group.friendly_name);if(e?.length){e=e.trim(),this.loading=!0;try{await this.request("zigbee.mqtt.group_rename",{group:this.group.friendly_name||this.group.id,name:e}),this.$emit("rename",{name:this.group.friendly_name,newName:e})}finally{this.loading=!1}}},async toggleDevice(e){const t=this.devicesByAddress[e],s=t.friendly_name?.length?t.friendly_name:e,a=this.members.has(e)?"remove":"add";this.loading=!0;try{await this.request(`zigbee.mqtt.group_${a}_device`,{group:this.group.friendly_name,device:s}),this.$emit("edit",{device:s,method:a})}finally{this.loading=!1}}}};const rs=(0,St.Z)(os,[["render",ls],["__scopeId","data-v-7667f7ba"]]);var ds=rs,us={name:"ZigbeeMqtt",components:{Modal:jt.Z,Dropdown:te.Z,DropdownItem:se.Z,Loading:ae.Z,Device:Ot,Group:ds},mixins:[ie.Z],data(){return{devices:{},groups:{},status:{},loading:!1,selected:{view:"devices",deviceId:void 0,groupId:void 0},views:{devices:!0,groups:!0},modal:{group:{visible:!1}}}},methods:{async refreshDevices(){this.loading=!0;try{this.devices=(await this.request("zigbee.mqtt.devices")).reduce(((e,t)=>(t.friendly_name in this.devices&&(t={values:this.devices[t.friendly_name].values||{},...this.devices[t.friendly_name]}),e[t.friendly_name]=t,e)),{})}finally{this.loading=!1}},async refreshGroups(){this.loading=!0;try{this.groups=(await this.request("zigbee.mqtt.groups")).reduce(((e,t)=>(e[t.id]=t,e)),{})}finally{this.loading=!1}},async refreshInfo(){this.loading=!0;try{this.status=await this.request("zigbee.mqtt.info")}finally{this.loading=!1}},refresh(){this.refreshDevices(),this.refreshGroups(),this.refreshInfo()},updateProperties(e,t){this.devices[e].values=t},async addGroup(){const e=prompt("Group name");if(e&&e.length){this.loading=!0;try{await this.request("zigbee.mqtt.group_add",{name:e})}finally{this.loading=!1}await this.refreshGroups()}},async permitJoin(e){const t={permit:!!e};if(e){let e=prompt("Join allow period in seconds (0 or empty for no time limits)","60");t.seconds=e.length?parseInt(e):null}this.loading=!0;try{await this.request("zigbee.mqtt.permit_join",t),setTimeout(this.refreshInfo,1e3)}finally{this.loading=!1}},async factoryReset(){if(confirm("Are you SURE that you want to do a device factory reset?")||confirm("Are you REALLY sure? ALL network information and custom firmware will be lost!!")){this.loading=!0;try{await this.request("zigbee.mqtt.factory_reset")}finally{this.loading=!1}}},async addToGroup(e,t){this.loading=!0,await this.request("zigbee.mqtt.group_add_device",{device:e,group:t}),this.loading=!1;const s=this;setTimeout((()=>{s.refresh(),s.refreshGroups()}),100)}},created(){this.subscribe((()=>{this.notify({text:"WARNING: The controller is offline",error:!0})}),"on-zigbee-offline","platypush.message.event.zigbee.mqtt.ZigbeeMqttOfflineEvent"),this.subscribe((()=>{this.notify({text:"The controller is now online",iconClass:"fas fa-check"})}),"on-zigbee-online","platypush.message.event.zigbee.mqtt.ZigbeeMqttOnlineEvent"),this.subscribe((()=>{this.notify({text:"Failed to remove the device",error:!0})}),"on-zigbee-device-remove-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRemovedFailedEvent"),this.subscribe((()=>{this.notify({text:"Failed to add the group",error:!0})}),"on-zigbee-group-add-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupAddedFailedEvent"),this.subscribe((()=>{this.notify({text:"Failed to remove group",error:!0})}),"on-zigbee-group-remove-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemovedFailedEvent"),this.subscribe((()=>{this.notify({text:"Failed to remove the devices from group",error:!0})}),"on-zigbee-remove-all-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemoveAllFailedEvent"),this.subscribe((e=>{this.notify({text:e.error||"[Unknown error]",error:!0})}),"on-zigbee-error","platypush.message.event.zigbee.mqtt.ZigbeeMqttErrorEvent"),this.subscribe(this.refresh,"on-zigbee-device-update","platypush.message.event.zigbee.mqtt.ZigbeeMqttOnlineEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDevicePairingEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceConnectedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceBannedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRemovedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceWhitelistedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRenamedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceBindEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceUnbindEvent"),this.subscribe(this.refreshGroups,"on-zigbee-group-update","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupAddedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemovedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemoveAllEvent")},mounted(){this.refresh()},unmounted(){this.unsubscribe("on-zigbee-error"),this.unsubscribe("on-zigbee-remove-all-failed"),this.unsubscribe("on-zigbee-group-remove-failed"),this.unsubscribe("on-zigbee-group-add-failed"),this.unsubscribe("on-zigbee-device-remove-failed"),this.unsubscribe("on-zigbee-online"),this.unsubscribe("on-zigbee-offline"),this.unsubscribe("on-zigbee-device-update"),this.unsubscribe("on-zigbee-group-update")}};const cs=(0,St.Z)(us,[["render",ee]]);var vs=cs}}]); +//# sourceMappingURL=4604.3ded66e7.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4604.3ded66e7.js.map b/platypush/backend/http/webapp/dist/static/js/4604.3ded66e7.js.map new file mode 100644 index 000000000..d9fc1ca61 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/4604.3ded66e7.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/4604.3ded66e7.js","mappings":"kJAAO,MAAMA,EACTC,YAAYC,GAQR,GAPAC,KAAKD,OAAS,CACVE,IAAK,CAAC,EAAG,KACTC,IAAK,CAAC,EAAG,KACTC,IAAK,CAAC,EAAG,KACTC,GAAI,CAAC,IAAK,MAGVL,EACA,IAAK,MAAMM,KAAQC,OAAOC,KAAKP,KAAKD,QAC5BA,EAAOM,KACPL,KAAKD,OAAOM,GAAQN,EAAOM,IAG3CG,UAAUC,EAAGC,EAAQC,GACjB,OAAOA,EAAO,IAAQF,EAAEC,EAAO,KAAOC,EAAO,GAAGA,EAAO,KAAQD,EAAO,GAAGA,EAAO,IAGpFE,SAASC,EAAGC,EAAGC,IACVF,EAAGC,EAAGC,GAAK,CACRf,KAAKQ,UAAUK,EAAGb,KAAKD,OAAOE,IAAK,CAAC,EAAG,MACvCD,KAAKQ,UAAUM,EAAGd,KAAKD,OAAOG,IAAK,CAAC,EAAG,MACvCF,KAAKQ,UAAUO,EAAGf,KAAKD,OAAOI,IAAK,CAAC,EAAG,OAG3CY,GAAK,IACL,MAAMC,EAAIF,EAAIG,KAAKC,IAAIH,EAAG,EAAIA,GAAK,IAC7BI,EAAIC,IACN,MAAMC,GAAKD,EAAIP,EAAI,IAAM,GACnBS,EAAQP,EAAIC,EAAIC,KAAKM,IAAIN,KAAKC,IAAIG,EAAI,EAAG,EAAIA,EAAG,IAAK,GAC3D,OAAOJ,KAAKO,MAAM,IAAMF,IAG5B,MAAO,CAACH,EAAE,GAAIA,EAAE,GAAIA,EAAE,IAG1BM,SAASC,EAAGC,EAAGC,GACXF,GAAK,IACLC,GAAK,IACLC,GAAK,IACL,MAAML,EAAMN,KAAKM,IAAIG,EAAGC,EAAGC,G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/color.js","webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/ZigbeeMqtt/Index.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Device.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Device.vue?8b6d","webpack://platypush/./src/components/panels/ZigbeeMqtt/Group.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Group.vue?46cd","webpack://platypush/./src/components/panels/ZigbeeMqtt/Index.vue?dac0"],"sourcesContent":["export class ColorConverter {\n constructor(ranges) {\n this.ranges = {\n hue: [0, 360],\n sat: [0, 100],\n bri: [0, 100],\n ct: [154, 500],\n }\n\n if (ranges)\n for (const attr of Object.keys(this.ranges))\n if (ranges[attr])\n this.ranges[attr] = ranges[attr]\n }\n\n normalize(x, xRange, yRange) {\n return yRange[0] + (((x-xRange[0]) * (yRange[1]-yRange[0])) / (xRange[1]-xRange[0]))\n }\n\n hslToRgb(h, s, l) {\n [h, s, l] = [\n this.normalize(h, this.ranges.hue, [0, 360]),\n this.normalize(s, this.ranges.sat, [0, 100]),\n this.normalize(l, this.ranges.bri, [0, 100]),\n ]\n\n l /= 100\n const a = s * Math.min(l, 1 - l) / 100\n const f = n => {\n const k = (n + h / 30) % 12\n const color = l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1)\n return Math.round(255 * color)\n }\n\n return [f(0), f(8), f(4)]\n }\n\n rgbToHsl(r, g, b){\n r /= 255\n g /= 255\n b /= 255;\n const max = Math.max(r, g, b), min = Math.min(r, g, b);\n let h, s, l = (max + min) / 2;\n\n if(max === min){\n h = s = 0; // achromatic\n } else {\n const d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n\n switch(max){\n case r: h = (g - b) / d + (g < b ? 6 : 0); break;\n case g: h = (b - r) / d + 2; break;\n case b: h = (r - g) / d + 4; break;\n }\n h /= 6;\n }\n\n return [\n parseInt(this.normalize(h, [0, 1], this.ranges.hue)),\n parseInt(this.normalize(s, [0, 1], this.ranges.sat)),\n parseInt(this.normalize(l, [0, 1], this.ranges.bri)),\n ]\n }\n\n xyToRgb(x, y, brightness) {\n // Set to maximum brightness if no custom value was given (Not the slick ECMAScript 6 way for compatibility reasons)\n if (brightness == null)\n brightness = this.ranges.bri[1];\n\n const z = 1.0 - x - y;\n const Y = (brightness / (this.ranges.bri[1]-1)).toFixed(2);\n const X = (Y / y) * x;\n const Z = (Y / y) * z;\n\n //Convert to RGB using Wide RGB D65 conversion\n let red \t= X * 1.656492 - Y * 0.354851 - Z * 0.255038;\n let green = -X * 0.707196 + Y * 1.655397 + Z * 0.036152;\n let blue \t= X * 0.051713 - Y * 0.121364 + Z * 1.011530;\n\n //If red, green or blue is larger than 1.0 set it back to the maximum of 1.0\n if (red > blue && red > green && red > 1.0) {\n green = green / red;\n blue = blue / red;\n red = 1.0;\n } else if (green > blue && green > red && green > 1.0) {\n red = red / green;\n blue = blue / green;\n green = 1.0;\n } else if (blue > red && blue > green && blue > 1.0) {\n red = red / blue;\n green = green / blue;\n blue = 1.0;\n }\n\n //Reverse gamma correction\n red \t= red <= 0.0031308 ? 12.92 * red : (1.0 + 0.055) * Math.pow(red, (1.0 / 2.4)) - 0.055;\n green \t= green <= 0.0031308 ? 12.92 * green : (1.0 + 0.055) * Math.pow(green, (1.0 / 2.4)) - 0.055;\n blue \t= blue <= 0.0031308 ? 12.92 * blue : (1.0 + 0.055) * Math.pow(blue, (1.0 / 2.4)) - 0.055;\n\n //Convert normalized decimal to decimal\n red \t= Math.round(red * 255);\n green \t= Math.round(green * 255);\n blue \t= Math.round(blue * 255);\n\n if (isNaN(red))\n red = 0;\n if (isNaN(green))\n green = 0;\n if (isNaN(blue))\n blue = 0;\n\n return [red, green, blue].map(\n (c) => Math.min(Math.max(0, c), 255)) // lgtm [js/automatic-semicolon-insertion]\n }\n\n rgbToXY(red, green, blue) {\n if (red > 1) { red /= 255; }\n if (green > 1) { green /= 255; }\n if (blue > 1) { blue /= 255; }\n\n //Apply a gamma correction to the RGB values, which makes the color more vivid and more the like the color displayed on the screen of your device\n red \t= (red > 0.04045) ? Math.pow((red + 0.055) / (1.0 + 0.055), 2.4) : (red / 12.92);\n green \t= (green > 0.04045) ? Math.pow((green + 0.055) / (1.0 + 0.055), 2.4) : (green / 12.92);\n blue \t= (blue > 0.04045) ? Math.pow((blue + 0.055) / (1.0 + 0.055), 2.4) : (blue / 12.92);\n\n //RGB values to XYZ using the Wide RGB D65 conversion formula\n const X \t\t= red * 0.664511 + green * 0.154324 + blue * 0.162028;\n const Y \t\t= red * 0.283881 + green * 0.668433 + blue * 0.047685;\n const Z \t\t= red * 0.000088 + green * 0.072310 + blue * 0.986039;\n\n //Calculate the xy values from the XYZ values\n let x \t\t= parseFloat((X / (X + Y + Z)).toFixed(4));\n let y \t\t= parseFloat((Y / (X + Y + Z)).toFixed(4));\n\n if (isNaN(x))\n x = 0;\n if (isNaN(y))\n y = 0;\n\n return [x, y];\n }\n\n rgbToBri(red, green, blue) {\n return Math.min(2 * this.rgbToHsl(red, green, blue)[2], this.ranges.bri[1])\n }\n\n getRGB(color) {\n if (color.red != null && color.green != null && color.blue != null)\n return [color.red, color.green, color.blue]\n if (color.r != null && color.g != null && color.b != null)\n return [color.r, color.g, color.b]\n if (color.rgb)\n return color.rgb\n }\n\n getXY(color) {\n if (color.x != null && color.y != null)\n return [color.x, color.y]\n if (color.xy)\n return color.xy\n }\n\n toRGB(color) {\n const rgb = this.getRGB(color)\n if (rgb)\n return rgb\n\n const xy = this.getXY(color)\n if (xy && color.bri)\n return this.xyToRgb(...xy, color.bri)\n if (color.hue && color.sat && color.bri)\n return this.hslToRgb(color.hue, color.sat, color.bri)\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toXY(color) {\n const xy = this.getXY(color)\n if (xy && color.bri)\n return [xy[0], xy[1], color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToXY(...rgb)\n\n if (color.hue && color.sat && color.bri) {\n const rgb = this.hslToRgb(color.hue, color.sat, color.bri)\n return this.rgbToXY(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toHSL(color) {\n if (color.hue && color.sat && color.bri)\n return [color.hue, color.sat, color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToHsl(...rgb)\n\n const xy = this.getXY(color)\n if (xy && color.bri) {\n const rgb = this.xyToRgb(...xy, color.bri)\n return this.rgbToHsl(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n}\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Device.vue?vue&type=template&id=b05d09fc&scoped=true\"\nimport script from \"./Device.vue?vue&type=script&lang=js\"\nexport * from \"./Device.vue?vue&type=script&lang=js\"\n\nimport \"./Device.vue?vue&type=style&index=0&id=b05d09fc&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b05d09fc\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Group.vue?vue&type=template&id=7667f7ba&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=7667f7ba&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7667f7ba\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=b15233ac\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=b15233ac&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["ColorConverter","constructor","ranges","this","hue","sat","bri","ct","attr","Object","keys","normalize","x","xRange","yRange","hslToRgb","h","s","l","a","Math","min","f","n","k","color","max","round","rgbToHsl","r","g","b","d","parseInt","xyToRgb","y","brightness","z","Y","toFixed","X","Z","red","green","blue","pow","isNaN","map","c","rgbToXY","parseFloat","rgbToBri","getRGB","rgb","getXY","xy","toRGB","console","debug","toXY","toHSL","class","ref","type","range","step","disabled","value","onUpdate","withLabel","name","emits","props","Number","Boolean","default","Array","methods","event","update","target","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","loading","title","status","info","state","permit_join","network","channel","version","config","mqtt","server","serial","port","coordinator","meta","maintrel","majorrel","minorrel","revision","selected","view","$event","views","enabled","toUpperCase","slice","replace","key","addGroup","text","infoModal","show","permitJoin","factoryReset","refresh","devices","length","device","id","groups","deviceId","refreshDevices","refreshGroups","group","groupId","manageGroups","associatedGroups","has","friendly_name","ieee_address","editName","rename","network_address","definition","vendor","model","model_id","description","software_build_id","date_code","power_source","displayedValues","property","rgbColor","unit","value_on","writable","setValue","value_min","value_max","readable","values","option","i","toString","join","groupsModal","otaUpdatesAvailable","installOtaUpdates","checkOtaUpdates","remove","components","Modal","ToggleSwitch","Slider","Loading","mixins","Utils","required","data","computed","exposes","extractValues","extractValue","root","features","feature","ret","mergeValues","obj","access","entries","filter","v","reduce","converter","saturation","satAttr","Set","members","member","async","request","trim","newName","force","confirm","value_toggle","value_off","split","_","hsl","querySelectorAll","element","add","editGroups","Promise","all","action","update_available","notify","image","iconClass","$watch","newValue","subscribe","properties","unmounted","unsubscribe","toggleDevice","devicesByAddress","entry","prompt","ieeeAddress","method","Dropdown","DropdownItem","Device","Group","undefined","modal","visible","refreshInfo","updateProperties","permit","args","seconds","setTimeout","self","created","error"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4604.e1d1b224.js b/platypush/backend/http/webapp/dist/static/js/4604.e1d1b224.js deleted file mode 100644 index 5921e0b85..000000000 --- a/platypush/backend/http/webapp/dist/static/js/4604.e1d1b224.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4604],{4212:function(e,t,s){s.d(t,{N:function(){return a}});class a{constructor(e){if(this.ranges={hue:[0,360],sat:[0,100],bri:[0,100],ct:[154,500]},e)for(const t of Object.keys(this.ranges))e[t]&&(this.ranges[t]=e[t])}normalize(e,t,s){return s[0]+(e-t[0])*(s[1]-s[0])/(t[1]-t[0])}hslToRgb(e,t,s){[e,t,s]=[this.normalize(e,this.ranges.hue,[0,360]),this.normalize(t,this.ranges.sat,[0,100]),this.normalize(s,this.ranges.bri,[0,100])],s/=100;const a=t*Math.min(s,1-s)/100,i=t=>{const i=(t+e/30)%12,n=s-a*Math.max(Math.min(i-3,9-i,1),-1);return Math.round(255*n)};return[i(0),i(8),i(4)]}rgbToHsl(e,t,s){e/=255,t/=255,s/=255;const a=Math.max(e,t,s),i=Math.min(e,t,s);let n,l,o=(a+i)/2;if(a===i)n=l=0;else{const r=a-i;switch(l=o>.5?r/(2-a-i):r/(a+i),a){case e:n=(t-s)/r+(td&&o>r&&o>1?(r/=o,d/=o,o=1):r>d&&r>o&&r>1?(o/=r,d/=r,r=1):d>o&&d>r&&d>1&&(o/=d,r/=d,d=1),o=o<=.0031308?12.92*o:1.055*Math.pow(o,1/2.4)-.055,r=r<=.0031308?12.92*r:1.055*Math.pow(r,1/2.4)-.055,d=d<=.0031308?12.92*d:1.055*Math.pow(d,1/2.4)-.055,o=Math.round(255*o),r=Math.round(255*r),d=Math.round(255*d),isNaN(o)&&(o=0),isNaN(r)&&(r=0),isNaN(d)&&(d=0),[o,r,d].map((e=>Math.min(Math.max(0,e),255)))}rgbToXY(e,t,s){e>1&&(e/=255),t>1&&(t/=255),s>1&&(s/=255),e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92;const a=.664511*e+.154324*t+.162028*s,i=.283881*e+.668433*t+.047685*s,n=88e-6*e+.07231*t+.986039*s;let l=parseFloat((a/(a+i+n)).toFixed(4)),o=parseFloat((i/(a+i+n)).toFixed(4));return isNaN(l)&&(l=0),isNaN(o)&&(o=0),[l,o]}rgbToBri(e,t,s){return Math.min(2*this.rgbToHsl(e,t,s)[2],this.ranges.bri[1])}getRGB(e){return null!=e.red&&null!=e.green&&null!=e.blue?[e.red,e.green,e.blue]:null!=e.r&&null!=e.g&&null!=e.b?[e.r,e.g,e.b]:e.rgb?e.rgb:void 0}getXY(e){return null!=e.x&&null!=e.y?[e.x,e.y]:e.xy?e.xy:void 0}toRGB(e){const t=this.getRGB(e);if(t)return t;const s=this.getXY(e);return s&&e.bri?this.xyToRgb(...s,e.bri):e.hue&&e.sat&&e.bri?this.hslToRgb(e.hue,e.sat,e.bri):(console.debug("Could not determine color space"),void console.debug(e))}toXY(e){const t=this.getXY(e);if(t&&e.bri)return[t[0],t[1],e.bri];const s=this.getRGB(e);if(s)return this.rgbToXY(...s);if(e.hue&&e.sat&&e.bri){const t=this.hslToRgb(e.hue,e.sat,e.bri);return this.rgbToXY(...t)}console.debug("Could not determine color space"),console.debug(e)}toHSL(e){if(e.hue&&e.sat&&e.bri)return[e.hue,e.sat,e.bri];const t=this.getRGB(e);if(t)return this.rgbToHsl(...t);const s=this.getXY(e);if(s&&e.bri){const t=this.xyToRgb(...s,e.bri);return this.rgbToHsl(...t)}console.debug("Could not determine color space"),console.debug(e)}}},1120:function(e,t,s){s.d(t,{Z:function(){return g}});var a=s(6252),i=s(9963),n=s(3577);const l={class:"slider-wrapper"},o=["min","max","step","disabled","value"],r={class:"track"},d={class:"track-inner",ref:"track"},u={class:"thumb",ref:"thumb"},c=["textContent"];function v(e,t,s,v,p,h){return(0,a.wg)(),(0,a.iD)("label",l,[(0,a._)("input",{class:"slider",type:"range",ref:"range",min:s.range[0],max:s.range[1],step:s.step,disabled:s.disabled,value:s.value,onInput:t[0]||(t[0]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onChange:t[1]||(t[1]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onMouseup:t[2]||(t[2]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onMousedown:t[3]||(t[3]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onTouchstart:t[4]||(t[4]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onTouchend:t[5]||(t[5]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onKeyup:t[6]||(t[6]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onKeydown:t[7]||(t[7]=(0,i.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"]))},null,40,o),(0,a._)("div",r,[(0,a._)("div",d,null,512)]),(0,a._)("div",u,null,512),s.withLabel?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"label",textContent:(0,n.zw)(s.value)},null,8,c)):(0,a.kq)("",!0)])}var p={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const t=100*e/(this.range[1]-this.range[0]);this.$refs.thumb.style.left=`${t}%`,this.$refs.thumb.style.transform=`translate(-${t}%, -50%)`,this.$refs.track.style.width=`${t}%`}},mounted(){null!=this.value&&this.update(this.value)}},h=s(3744);const m=(0,h.Z)(p,[["render",v],["__scopeId","data-v-288acf82"]]);var g=m},3567:function(e,t,s){s.d(t,{Z:function(){return p}});var a=s(6252),i=s(3577);const n=e=>((0,a.dD)("data-v-8fae7678"),e=e(),(0,a.Cn)(),e),l=["checked"],o=n((()=>(0,a._)("div",{class:"switch"},[(0,a._)("div",{class:"dot"})],-1))),r={class:"label"};function d(e,t,s,n,d,u){return(0,a.wg)(),(0,a.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:s.disabled}]),onClick:t[0]||(t[0]=(...e)=>u.onInput&&u.onInput(...e))},[(0,a._)("input",{type:"checkbox",checked:s.value},null,8,l),(0,a._)("label",null,[o,(0,a._)("span",r,[(0,a.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},c=s(3744);const v=(0,c.Z)(u,[["render",d],["__scopeId","data-v-8fae7678"]]);var p=v},4604:function(e,t,s){s.r(t),s.d(t,{default:function(){return vs}});var a=s(6252),i=s(3577);const n={class:"zigbee-container"},l={key:0,class:"info-body"},o={class:"row"},r=(0,a._)("div",{class:"param-name"},"State",-1),d=["textContent"],u={class:"row"},c=(0,a._)("div",{class:"param-name"},"Permit Join",-1),v=["textContent"],p={key:0,class:"row"},h=(0,a._)("div",{class:"param-name"},"Network Channel",-1),m=["textContent"],g={class:"row"},b=(0,a._)("div",{class:"param-name"},"Zigbee2MQTT Version",-1),y=["textContent"],f={key:1,class:"row"},_=(0,a._)("div",{class:"param-name"},"MQTT Server",-1),w=["textContent"],k={key:2,class:"row"},q=(0,a._)("div",{class:"param-name"},"Serial Port",-1),C=["textContent"],x={key:3,class:"row"},z=(0,a._)("div",{class:"param-name"},"Firmware Type",-1),D=["textContent"],M={key:4,class:"row"},G=(0,a._)("div",{class:"param-name"},"Firmware Version",-1),Z={class:"param-value"},R={key:5,class:"row"},I=(0,a._)("div",{class:"param-name"},"Firmware Revision",-1),N=["textContent"],T={class:"view-options"},V={class:"view-selector col-s-8 col-m-9 col-l-10"},U=["value"],E=["textContent","selected","value"],j={class:"buttons"},A=["disabled"],S=(0,a._)("i",{class:"fa fa-plus"},null,-1),$=[S],O=["disabled"],F=(0,a._)("i",{class:"fa fa-sync-alt"},null,-1),B=[F],Y={class:"view-container"},L={key:0,class:"view devices"},H={key:0,class:"no-items"},P={key:0,class:"loading"},K={key:1,class:"empty"},X={key:1,class:"view groups"},W={key:0,class:"no-items"},J={key:0,class:"loading"},Q={key:1,class:"empty"};function ee(e,t,s,S,F,ee){const te=(0,a.up)("Loading"),se=(0,a.up)("Modal"),ae=(0,a.up)("DropdownItem"),ie=(0,a.up)("Dropdown"),ne=(0,a.up)("Device"),le=(0,a.up)("Group");return(0,a.wg)(),(0,a.iD)("div",n,[F.loading?((0,a.wg)(),(0,a.j4)(te,{key:0})):(0,a.kq)("",!0),(0,a.Wm)(se,{title:"Network Info",ref:"infoModal"},{default:(0,a.w5)((()=>[F.status.info?((0,a.wg)(),(0,a.iD)("div",l,[(0,a._)("div",o,[r,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.state)},null,8,d)]),(0,a._)("div",u,[c,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.permit_join)},null,8,v)]),F.status.info.network?((0,a.wg)(),(0,a.iD)("div",p,[h,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.network.channel)},null,8,m)])):(0,a.kq)("",!0),(0,a._)("div",g,[b,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.version)},null,8,y)]),F.status.info.config?.mqtt?((0,a.wg)(),(0,a.iD)("div",f,[_,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.config.mqtt.server)},null,8,w)])):(0,a.kq)("",!0),F.status.info.config?.serial?((0,a.wg)(),(0,a.iD)("div",k,[q,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.config.serial.port)},null,8,C)])):(0,a.kq)("",!0),F.status.info.coordinator?.type?((0,a.wg)(),(0,a.iD)("div",x,[z,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.coordinator.type)},null,8,D)])):(0,a.kq)("",!0),F.status.info.coordinator?.meta?((0,a.wg)(),(0,a.iD)("div",M,[G,(0,a._)("div",Z,(0,i.zw)(F.status.info.coordinator.meta.maintrel)+"."+(0,i.zw)(F.status.info.coordinator.meta.majorrel)+"."+(0,i.zw)(F.status.info.coordinator.meta.minorrel),1)])):(0,a.kq)("",!0),F.status.info.coordinator?.meta?((0,a.wg)(),(0,a.iD)("div",R,[I,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(F.status.info.coordinator.meta.revision)},null,8,N)])):(0,a.kq)("",!0)])):(0,a.kq)("",!0)])),_:1},512),(0,a._)("div",T,[(0,a._)("div",V,[(0,a._)("label",null,[(0,a._)("select",{value:F.selected.view,onChange:t[0]||(t[0]=e=>this.selected.view=e.target.value)},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(F.views,((e,t)=>((0,a.wg)(),(0,a.iD)("option",{textContent:(0,i.zw)((t[0].toUpperCase()+t.slice(1)).replace("_"," ")),key:t,selected:e,value:t},null,8,E)))),128))],40,U)])]),(0,a._)("div",j,["groups"===F.selected.view?((0,a.wg)(),(0,a.iD)("button",{key:0,class:"btn btn-default",title:"Add Group",disabled:F.loading,onClick:t[1]||(t[1]=(...e)=>ee.addGroup&&ee.addGroup(...e))},$,8,A)):(0,a.kq)("",!0),(0,a.Wm)(ie,{ref:"networkCommandsDropdown","icon-class":"fa fa-cog",title:"Network commands"},{default:(0,a.w5)((()=>[(0,a.Wm)(ae,{text:"Network Info",disabled:F.loading,onClick:t[2]||(t[2]=t=>e.$refs.infoModal.show())},null,8,["disabled"]),F.status.info?.permit_join?((0,a.wg)(),(0,a.j4)(ae,{key:1,text:"Disable Join",disabled:F.loading,onClick:t[4]||(t[4]=e=>ee.permitJoin(!1))},null,8,["disabled"])):((0,a.wg)(),(0,a.j4)(ae,{key:0,text:"Permit Join",disabled:F.loading,onClick:t[3]||(t[3]=e=>ee.permitJoin(!0))},null,8,["disabled"])),(0,a.Wm)(ae,{text:"Factory Reset",disabled:F.loading,onClick:ee.factoryReset},null,8,["disabled","onClick"])])),_:1},512),(0,a._)("button",{class:"btn btn-default",title:"Refresh network",disabled:F.loading,onClick:t[5]||(t[5]=(...e)=>ee.refresh&&ee.refresh(...e))},B,8,O)])]),(0,a._)("div",Y,["devices"===F.selected.view?((0,a.wg)(),(0,a.iD)("div",L,[Object.keys(F.devices).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",H,[F.loading?((0,a.wg)(),(0,a.iD)("div",P,"Loading devices...")):((0,a.wg)(),(0,a.iD)("div",K,"No devices found on the network"))])),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(F.devices,((e,t)=>((0,a.wg)(),(0,a.j4)(ne,{key:t,device:e,groups:F.groups,selected:F.selected.deviceId===t,onSelect:e=>F.selected.deviceId=F.selected.deviceId===t?null:t,onRename:ee.refreshDevices,onRemove:ee.refreshDevices,onGroupsEdit:ee.refreshGroups},null,8,["device","groups","selected","onSelect","onRename","onRemove","onGroupsEdit"])))),128))])):"groups"===F.selected.view?((0,a.wg)(),(0,a.iD)("div",X,[Object.keys(F.groups).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",W,[F.loading?((0,a.wg)(),(0,a.iD)("div",J,"Loading groups...")):((0,a.wg)(),(0,a.iD)("div",Q,"No groups available on the network"))])),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(F.groups,((e,t)=>((0,a.wg)(),(0,a.j4)(le,{key:t,group:e,devices:F.devices,selected:F.selected.groupId===t,onSelect:e=>F.selected.groupId=F.selected.groupId===t?null:t,onRename:ee.refreshGroups,onRemove:ee.refreshGroups,onEdit:ee.refreshGroups},null,8,["group","devices","selected","onSelect","onRename","onRemove","onEdit"])))),128))])):(0,a.kq)("",!0)])])}var te=s(7021),se=s(455),ae=s(1232),ie=s(2628),ne=s(9963);const le=e=>((0,a.dD)("data-v-b05d09fc"),e=e(),(0,a.Cn)(),e),oe={class:"groups"},re=["value","checked"],de=["textContent"],ue=le((()=>(0,a._)("div",{class:"footer buttons"},[(0,a._)("button",{type:"submit"},"Save")],-1))),ce=["textContent"],ve={key:1,class:"params"},pe={class:"row"},he=le((()=>(0,a._)("div",{class:"param-name"},"Name",-1))),me={class:"param-value"},ge=["value"],be={class:"buttons"},ye=le((()=>(0,a._)("i",{class:"fas fa-times"},null,-1))),fe=[ye],_e=le((()=>(0,a._)("button",{type:"submit",class:"btn btn-default"},[(0,a._)("i",{class:"fa fa-check"})],-1))),we=["textContent"],ke={class:"buttons"},qe=le((()=>(0,a._)("i",{class:"fa fa-edit"},null,-1))),Ce=[qe],xe={class:"row"},ze=le((()=>(0,a._)("div",{class:"param-name"},"IEEE Address",-1))),De=["textContent"],Me={key:0,class:"row"},Ge=le((()=>(0,a._)("div",{class:"param-name"},"Network Address",-1))),Ze=["textContent"],Re={class:"row"},Ie=le((()=>(0,a._)("div",{class:"param-name"},"Type",-1))),Ne=["textContent"],Te={key:1,class:"row"},Ve=le((()=>(0,a._)("div",{class:"param-name"},"Vendor",-1))),Ue={class:"param-value"},Ee={key:2,class:"row"},je=le((()=>(0,a._)("div",{class:"param-name"},"Model",-1))),Ae={class:"param-value"},Se={key:3,class:"row"},$e=le((()=>(0,a._)("div",{class:"param-name"},"Model ID",-1))),Oe={class:"param-value"},Fe={key:4,class:"row"},Be=le((()=>(0,a._)("div",{class:"param-name"},"Description",-1))),Ye={class:"param-value"},Le={key:5,class:"row"},He=le((()=>(0,a._)("div",{class:"param-name"},"Software Build ID",-1))),Pe={class:"param-value"},Ke={key:6,class:"row"},Xe=le((()=>(0,a._)("div",{class:"param-name"},"Date Code",-1))),We={class:"param-value"},Je={key:7,class:"row"},Qe=le((()=>(0,a._)("div",{class:"param-name"},"Power Source",-1))),et={class:"param-value"},tt={key:8,class:"section values"},st=le((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Values")],-1))),at={class:"body"},it={class:"param-name"},nt={key:0,class:"text"},lt=["textContent"],ot=["textContent"],rt={class:"param-value"},dt={key:2},ut=["value","disabled","onChange"],ct={key:3},vt=["value","onChange"],pt={key:0},ht=["value","textContent","selected","disabled"],mt={key:4},gt=["onChange","value"],bt={key:5},yt=["disabled","value","onChange"],ft={class:"section actions"},_t=le((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Actions")],-1))),wt={class:"body"},kt=le((()=>(0,a._)("div",{class:"param-name"},"Manage groups",-1))),qt=le((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-network-wired"})],-1))),Ct=[kt,qt],xt={key:0,class:"param-name"},zt={key:1,class:"param-name"},Dt=le((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-sync-alt"})],-1))),Mt=le((()=>(0,a._)("div",{class:"param-name"},"Remove Device",-1))),Gt=le((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1))),Zt=[Mt,Gt],Rt=le((()=>(0,a._)("div",{class:"param-name"},"Force Remove Device",-1))),It=le((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1))),Nt=[Rt,It];function Tt(e,t,s,n,l,o){const r=(0,a.up)("Loading"),d=(0,a.up)("Modal"),u=(0,a.up)("ToggleSwitch"),c=(0,a.up)("Slider");return(0,a.wg)(),(0,a.iD)("div",{class:(0,i.C_)(["item device",{selected:s.selected}])},[l.loading?((0,a.wg)(),(0,a.j4)(r,{key:0})):(0,a.kq)("",!0),(0,a.Wm)(d,{class:"groups-modal",ref:"groupsModal",title:"Device groups"},{default:(0,a.w5)((()=>[l.loading?((0,a.wg)(),(0,a.j4)(r,{key:0})):(0,a.kq)("",!0),(0,a._)("form",{class:"content",onSubmit:t[0]||(t[0]=(0,ne.iM)(((...e)=>o.manageGroups&&o.manageGroups(...e)),["prevent"]))},[(0,a._)("div",oe,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(s.groups,((e,t)=>((0,a.wg)(),(0,a.iD)("label",{class:"row group",key:t},[(0,a._)("input",{type:"checkbox",value:t,checked:o.associatedGroups.has(parseInt(e.id))},null,8,re),(0,a._)("span",{class:"name",textContent:(0,i.zw)(e.friendly_name?.length?e.friendly_name:`[Group #${e.id}]`)},null,8,de)])))),128))]),ue],32)])),_:1},512),(0,a._)("div",{class:(0,i.C_)(["row name header vertical-center",{selected:s.selected}]),textContent:(0,i.zw)(s.device.friendly_name||s.device.ieee_address),onClick:t[1]||(t[1]=t=>e.$emit("select"))},null,10,ce),s.selected?((0,a.wg)(),(0,a.iD)("div",ve,[(0,a._)("div",pe,[he,(0,a._)("div",me,[(0,a._)("div",{class:(0,i.C_)(["name-edit",{hidden:!l.editName}])},[(0,a._)("form",{onSubmit:t[3]||(t[3]=(0,ne.iM)(((...e)=>o.rename&&o.rename(...e)),["prevent"]))},[(0,a._)("label",null,[(0,a._)("input",{type:"text",name:"name",ref:"name",value:s.device.friendly_name},null,8,ge)]),(0,a._)("span",be,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:t[2]||(t[2]=e=>l.editName=!1)},fe),_e])],32)],2),(0,a._)("div",{class:(0,i.C_)(["name-edit",{hidden:l.editName}])},[(0,a._)("span",{textContent:(0,i.zw)(s.device.friendly_name)},null,8,we),(0,a._)("span",ke,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:t[4]||(t[4]=e=>l.editName=!0)},Ce)])],2)])]),(0,a._)("div",xe,[ze,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(s.device.ieee_address)},null,8,De)]),s.device.network_address?((0,a.wg)(),(0,a.iD)("div",Me,[Ge,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(s.device.network_address)},null,8,Ze)])):(0,a.kq)("",!0),(0,a._)("div",Re,[Ie,(0,a._)("div",{class:"param-value",textContent:(0,i.zw)(s.device.type)},null,8,Ne)]),s.device.definition?.vendor?((0,a.wg)(),(0,a.iD)("div",Te,[Ve,(0,a._)("div",Ue,(0,i.zw)(s.device.definition.vendor),1)])):(0,a.kq)("",!0),s.device.definition?.model?((0,a.wg)(),(0,a.iD)("div",Ee,[je,(0,a._)("div",Ae,(0,i.zw)(s.device.definition.model),1)])):(0,a.kq)("",!0),s.device.model_id?((0,a.wg)(),(0,a.iD)("div",Se,[$e,(0,a._)("div",Oe,(0,i.zw)(s.device.model_id),1)])):(0,a.kq)("",!0),s.device.definition?.description?((0,a.wg)(),(0,a.iD)("div",Fe,[Be,(0,a._)("div",Ye,(0,i.zw)(s.device.definition.description),1)])):(0,a.kq)("",!0),s.device.software_build_id?((0,a.wg)(),(0,a.iD)("div",Le,[He,(0,a._)("div",Pe,(0,i.zw)(s.device.software_build_id),1)])):(0,a.kq)("",!0),s.device.definition?.date_code?((0,a.wg)(),(0,a.iD)("div",Ke,[Xe,(0,a._)("div",We,(0,i.zw)(s.device.definition.date_code),1)])):(0,a.kq)("",!0),s.device.power_source?((0,a.wg)(),(0,a.iD)("div",Je,[Qe,(0,a._)("div",et,(0,i.zw)(s.device.power_source),1)])):(0,a.kq)("",!0),Object.keys(o.displayedValues).length?((0,a.wg)(),(0,a.iD)("div",tt,[st,(0,a._)("div",at,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(o.displayedValues,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{class:"row value",key:t},[(0,a._)("div",it,[(0,a.Uk)((0,i.zw)(e.description)+" ",1),null!=o.rgbColor&&null!=e.value?.x&&null!=e.value?.y||null!=e.value?.hue&&null!=e.value?.saturation?((0,a.wg)(),(0,a.iD)("span",nt,"Color")):(0,a.kq)("",!0),e.property?((0,a.wg)(),(0,a.iD)("span",{key:1,class:"name",textContent:(0,i.zw)(e.property)},null,8,lt)):(0,a.kq)("",!0),e.unit?((0,a.wg)(),(0,a.iD)("span",{key:2,class:"unit",textContent:(0,i.zw)(e.unit)},null,8,ot)):(0,a.kq)("",!0)]),(0,a._)("div",rt,["binary"===e.type?((0,a.wg)(),(0,a.j4)(u,{key:0,value:null!=e.value_on?e.value===e.value_on:!!e.value,disabled:!e.writable,onInput:t=>o.setValue(e,t)},null,8,["value","disabled","onInput"])):"numeric"===e.type&&null!=e.value_min&&null!=e.value_max?((0,a.wg)(),(0,a.j4)(c,{key:1,"with-label":!0,range:[e.value_min,e.value_max],value:e.value,disabled:!e.writable,onChange:t=>o.setValue(e,t)},null,8,["range","value","disabled","onChange"])):"numeric"!==e.type||null!=e.value_min&&null!=e.value_max?"enum"===e.type?((0,a.wg)(),(0,a.iD)("label",ct,[(0,a._)("select",{value:e.readable&&null!=e.value?e.value:"",onChange:t=>o.setValue(e,t)},[e.readable?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("option",pt)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.values,(t=>((0,a.wg)(),(0,a.iD)("option",{key:t,value:t,textContent:(0,i.zw)(t),selected:e.readable&&e.value===t,disabled:!e.writable},null,8,ht)))),128))],40,vt)])):null!=o.rgbColor&&null!=e.value?.x&&null!=e.value?.y||null!=e.value?.hue&&null!=e.value?.saturation?((0,a.wg)(),(0,a.iD)("label",mt,[(0,a._)("input",{type:"color",onChange:(0,ne.iM)((t=>o.setValue(e,t)),["stop"]),value:"#"+o.rgbColor.map((e=>(e=Number(e).toString(16),1===e.length?"0"+e:e))).join("")},null,40,gt)])):((0,a.wg)(),(0,a.iD)("label",bt,[(0,a._)("input",{type:"text",disabled:!e.writable,value:e.value,onChange:t=>o.setValue(e,t)},null,40,yt)])):((0,a.wg)(),(0,a.iD)("label",dt,[(0,a._)("input",{type:"number","with-label":!0,value:e.value,disabled:!e.writable,onChange:t=>o.setValue(e,t)},null,40,ut)]))])])))),128))])])):(0,a.kq)("",!0),(0,a._)("div",ft,[_t,(0,a._)("div",wt,[(0,a._)("div",{class:"row",onClick:t[5]||(t[5]=t=>e.$refs.groupsModal.show())},Ct),(0,a._)("div",{class:"row",onClick:t[6]||(t[6]=e=>l.otaUpdatesAvailable?o.installOtaUpdates():o.checkOtaUpdates())},[l.otaUpdatesAvailable?((0,a.wg)(),(0,a.iD)("div",zt,"Install updates")):((0,a.wg)(),(0,a.iD)("div",xt,"Check for updates")),Dt]),(0,a._)("div",{class:"row",onClick:t[7]||(t[7]=e=>o.remove(!1))},Zt),(0,a._)("div",{class:"row error",onClick:t[8]||(t[8]=e=>o.remove(!0))},Nt)])])])):(0,a.kq)("",!0)],2)}var Vt=s(1120),Ut=s(3567),Et=s(4212),jt=s(9642),At={name:"Device",components:{Modal:jt.Z,ToggleSwitch:Ut.Z,Slider:Vt.Z,Loading:ae.Z},mixins:[ie.Z],emits:["select","rename","remove","groups-edit"],props:{device:{type:Object,required:!0},groups:{type:Object,default:()=>{}},selected:{type:Boolean,default:!1}},data(){return{editName:!1,loading:!1,status:{},otaUpdatesAvailable:!1}},computed:{values(){if(!this.device.definition?.exposes)return{};const e=e=>{const t=(e,s)=>{if(e.features){e.property&&(s[e.property]=s[e.property]||{},s=s[e.property]);for(const a of e.features)t(a,s)}else e.property&&(s[e.property]=e)},s={};for(const a of e)t(a,s);return s};return e(this.device.definition.exposes)},displayedValues(){const e={},t=(e,[s,a])=>(s in this.status&&(a={...a,value:this.status[s]}),null!=a.access&&(a.readable=!!(1&a.access),a.writable=!!(2&a.access),delete a.access),e[s]=a,Object.entries(a).filter((e=>e[1]instanceof Object)).reduce(t,e[s]),e);return Object.entries(this.values).reduce(t,e),e},rgbColor(){if(!this.displayedValues.color)return;const e=this.displayedValues.color?.value;if(e){if(null!=e.x&&null!=e.y){const t=new Et.N({bri:[this.displayedValues.brightness?.value_min||0,this.displayedValues.brightness?.value_max||255]});return t.xyToRgb(e.x,e.y,this.displayedValues.brightness.value)}if(null!=e.hue&&(null!=e.saturation||null!=e.sat)){const t=null!=e.saturation?"saturation":"sat",s=new Et.N({hue:[this.displayedValues.color.hue?.value_min||0,this.displayedValues.color.hue.value_max||65535],sat:[this.displayedValues.color[t]?.value_min||0,this.displayedValues.color[t].value_max||255],bri:[this.displayedValues.brightness?.value_min||0,this.displayedValues.brightness?.value_max||255]});return s.hslToRgb(e.hue,e[t],this.displayedValues.brightness.value)}return null}},associatedGroups(){return new Set(Object.values(this.groups).filter((e=>new Set((e.members||[]).map((e=>e.ieee_address))).has(this.device.ieee_address))).map((e=>parseInt(e.id))))}},methods:{async refresh(){this.loading=!0;try{this.status=await this.request("zigbee.mqtt.device_get",{device:this.device.friendly_name||this.device.ieee_address})}finally{this.loading=!1}},async rename(){const e=(this.$refs.name.value||"").trim();if(e.length&&e!==this.device.friendly_name){this.loading=!0;try{await this.request("zigbee.mqtt.device_rename",{device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address,name:e}),this.$emit("rename",{name:this.device.friendly_name,newName:e})}finally{this.editName=!1,this.loading=!1}}},async remove(e){if(confirm("Are you really sure that you want to remove this device from the network?")){e=!!e,this.loading=!0;try{await this.request("zigbee.mqtt.device_remove",{device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address,force:e}),this.$emit("remove",{device:this.device.friendly_name||this.device.ieee_address})}finally{this.loading=!1}}},async setValue(e,t){const s={device:this.device.friendly_name||this.device.ieee_address,property:e.property,value:null};switch(e.type){case"binary":e.value_toggle?s.value=e.value_toggle:e.value_on&&e.value_off?s.value=e.value===e.value_on?e.value_off:e.value_on:s.value=!e.value;break;case"numeric":s.value=parseFloat(t.target.value);break;case"enum":t.target.value?.length&&(s.value=t.target.value);break;default:if(null!=e.x&&null!=e.y||null!=e.hue&&(null!=e.saturation||null!=e.sat)){s.property="color";const a=t.target.value.slice(1).split(/([0-9a-fA-F]{2})/).filter(((e,t)=>t%2)).map((e=>parseInt(e,16)));if(null!=e.x&&null!=e.y){const e=new Et.N({bri:[this.displayedValues.brightness?.value_min||0,this.displayedValues.brightness?.value_max||255]}),t=e.rgbToXY(...a);s.value={color:{x:t[0],y:t[1]}}}else{const e=null!=this.displayedValues.color.saturation?"saturation":"sat",t=new Et.N({hue:[this.displayedValues.color.hue?.value_min||0,this.displayedValues.color.hue.value_max||65535],sat:[this.displayedValues.color[e]?.value_min||0,this.displayedValues.color[e].value_max||255],bri:[this.displayedValues.brightness?.value_min||0,this.displayedValues.brightness?.value_max||255]}),i=t.rgbToHsl(...a);s.value={brightness:i[2],color:{hue:i[0]}},s.value.color[e]=i[1]}}break}if(null!=s.value){this.loading=!0;try{await this.request("zigbee.mqtt.device_set",s),await this.refresh()}finally{this.loading=!1}}},async manageGroups(e){const t=[...e.target.querySelectorAll("input[type=checkbox]")].reduce(((e,t)=>{const s=parseInt(t.value);return t.checked&&!this.associatedGroups.has(s)?e.add.add(s):!t.checked&&this.associatedGroups.has(s)&&e.remove.add(s),e}),{add:new Set,remove:new Set}),s=async e=>{await Promise.all([...t[e]].map((async t=>{await this.request(`zigbee.mqtt.group_${e}_device`,{group:this.groups[t].friendly_name,device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address})})))};this.loading=!0;try{await Promise.all(Object.keys(t).map(s)),this.$emit("groups-edit",t)}finally{this.loading=!1}},async checkOtaUpdates(){this.loading=!0;try{this.otaUpdatesAvailable=(await this.request("zigbee.mqtt.device_check_ota_updates",{device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address})).update_available,this.otaUpdatesAvailable?this.notify({text:"A firmware update is available for the device",image:{iconClass:"fa fa-sync-alt"}}):this.notify({text:"The device is up to date",image:{iconClass:"fa fa-check"}})}finally{this.loading=!1}},async installOtaUpdates(){this.loading=!0;try{await this.request("zigbee.mqtt.device_install_ota_updates",{device:this.device.friendly_name?.length?this.device.friendly_name:this.device.ieee_address})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&this.refresh()})),this.$watch((()=>this.status.update_available),(e=>{this.otaUpdatesAvailable=e})),this.subscribe((e=>{e.device!==this.device.friendly_name&&e.device!==this.device.ieee_address||(this.status={...this.status,...e.properties})}),`on-property-change-${this.device.ieee_address}`,"platypush.message.event.zigbee.mqtt.ZigbeeMqttDevicePropertySetEvent")},unmounted(){this.unsubscribe(`on-property-change-${this.device.ieee_address}`)}},St=s(3744);const $t=(0,St.Z)(At,[["render",Tt],["__scopeId","data-v-b05d09fc"]]);var Ot=$t;const Ft=e=>((0,a.dD)("data-v-7667f7ba"),e=e(),(0,a.Cn)(),e),Bt=["textContent"],Yt={key:1,class:"params"},Lt={class:"section devices"},Ht=Ft((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Devices")],-1))),Pt={class:"body"},Kt=["checked","value","onChange"],Xt=["textContent"],Wt={class:"section actions"},Jt=Ft((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Actions")],-1))),Qt={class:"body"},es=Ft((()=>(0,a._)("div",{class:"col-10"},"Rename Group",-1))),ts=Ft((()=>(0,a._)("div",{class:"buttons col-2 pull-right"},[(0,a._)("i",{class:"fa fa-edit"})],-1))),ss=[es,ts],as=Ft((()=>(0,a._)("div",{class:"col-10"},"Remove Group",-1))),is=Ft((()=>(0,a._)("div",{class:"buttons col-2 pull-right"},[(0,a._)("i",{class:"fa fa-trash"})],-1))),ns=[as,is];function ls(e,t,s,n,l,o){const r=(0,a.up)("Loading");return(0,a.wg)(),(0,a.iD)("div",{class:(0,i.C_)(["item group",{selected:s.selected}])},[l.loading?((0,a.wg)(),(0,a.j4)(r,{key:0})):(0,a.kq)("",!0),(0,a._)("div",{class:(0,i.C_)(["row name header vertical-center",{selected:s.selected}]),textContent:(0,i.zw)(s.group.friendly_name),onClick:t[0]||(t[0]=t=>e.$emit("select"))},null,10,Bt),s.selected?((0,a.wg)(),(0,a.iD)("div",Yt,[(0,a._)("div",Lt,[Ht,(0,a._)("div",Pt,[(0,a._)("form",null,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(s.devices,((e,t)=>((0,a.wg)(),(0,a.iD)("label",{class:"row",key:t},[(0,a._)("input",{type:"checkbox",checked:o.members.has(e.ieee_address),value:e.ieee_address,onChange:t=>o.toggleDevice(e.ieee_address)},null,40,Kt),(0,a._)("span",{class:"label",textContent:(0,i.zw)(e.friendly_name?.length?e.friendly_name:e.ieee_address)},null,8,Xt)])))),128))])])]),(0,a._)("div",Wt,[Jt,(0,a._)("div",Qt,[(0,a._)("div",{class:"row",onClick:t[1]||(t[1]=(...e)=>o.rename&&o.rename(...e))},ss),(0,a._)("div",{class:"row",onClick:t[2]||(t[2]=(...e)=>o.remove&&o.remove(...e))},ns)])])])):(0,a.kq)("",!0)],2)}var os={name:"Group",emits:["select","remove","edit"],mixins:[ie.Z],components:{Loading:ae.Z},props:{group:{type:Object,required:!0},devices:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,values:{}}},computed:{devicesByAddress(){return Object.entries(this.devices).reduce(((e,t)=>{const s=t[1];return e[s.ieee_address]=s,e}),{})},members(){return new Set((this.group.members||[]).map((e=>e.ieee_address)))}},methods:{async remove(){if(confirm("Are you sure that you want to remove this group?")){this.loading=!0;try{await this.request("zigbee.mqtt.group_remove",{name:this.group.friendly_name}),this.$emit("remove",{name:this.group.friendly_name})}finally{this.loading=!1}}},async rename(){let e=prompt("New group name",this.group.friendly_name);if(e?.length){e=e.trim(),this.loading=!0;try{await this.request("zigbee.mqtt.group_rename",{group:this.group.friendly_name||this.group.id,name:e}),this.$emit("rename",{name:this.group.friendly_name,newName:e})}finally{this.loading=!1}}},async toggleDevice(e){const t=this.devicesByAddress[e],s=t.friendly_name?.length?t.friendly_name:e,a=this.members.has(e)?"remove":"add";this.loading=!0;try{await this.request(`zigbee.mqtt.group_${a}_device`,{group:this.group.friendly_name,device:s}),this.$emit("edit",{device:s,method:a})}finally{this.loading=!1}}}};const rs=(0,St.Z)(os,[["render",ls],["__scopeId","data-v-7667f7ba"]]);var ds=rs,us={name:"ZigbeeMqtt",components:{Modal:jt.Z,Dropdown:te.Z,DropdownItem:se.Z,Loading:ae.Z,Device:Ot,Group:ds},mixins:[ie.Z],data(){return{devices:{},groups:{},status:{},loading:!1,selected:{view:"devices",deviceId:void 0,groupId:void 0},views:{devices:!0,groups:!0},modal:{group:{visible:!1}}}},methods:{async refreshDevices(){this.loading=!0;try{this.devices=(await this.request("zigbee.mqtt.devices")).reduce(((e,t)=>(t.friendly_name in this.devices&&(t={values:this.devices[t.friendly_name].values||{},...this.devices[t.friendly_name]}),e[t.friendly_name]=t,e)),{})}finally{this.loading=!1}},async refreshGroups(){this.loading=!0;try{this.groups=(await this.request("zigbee.mqtt.groups")).reduce(((e,t)=>(e[t.id]=t,e)),{})}finally{this.loading=!1}},async refreshInfo(){this.loading=!0;try{this.status=await this.request("zigbee.mqtt.info")}finally{this.loading=!1}},refresh(){this.refreshDevices(),this.refreshGroups(),this.refreshInfo()},updateProperties(e,t){this.devices[e].values=t},async addGroup(){const e=prompt("Group name");if(e&&e.length){this.loading=!0;try{await this.request("zigbee.mqtt.group_add",{name:e})}finally{this.loading=!1}await this.refreshGroups()}},async permitJoin(e){const t={permit:!!e};if(e){let e=prompt("Join allow period in seconds (0 or empty for no time limits)","60");t.seconds=e.length?parseInt(e):null}this.loading=!0;try{await this.request("zigbee.mqtt.permit_join",t),setTimeout(this.refreshInfo,1e3)}finally{this.loading=!1}},async factoryReset(){if(confirm("Are you SURE that you want to do a device factory reset?")||confirm("Are you REALLY sure? ALL network information and custom firmware will be lost!!")){this.loading=!0;try{await this.request("zigbee.mqtt.factory_reset")}finally{this.loading=!1}}},async addToGroup(e,t){this.loading=!0,await this.request("zigbee.mqtt.group_add_device",{device:e,group:t}),this.loading=!1;const s=this;setTimeout((()=>{s.refresh(),s.refreshGroups()}),100)}},created(){this.subscribe((()=>{this.notify({text:"WARNING: The controller is offline",error:!0})}),"on-zigbee-offline","platypush.message.event.zigbee.mqtt.ZigbeeMqttOfflineEvent"),this.subscribe((()=>{this.notify({text:"The controller is now online",iconClass:"fas fa-check"})}),"on-zigbee-online","platypush.message.event.zigbee.mqtt.ZigbeeMqttOnlineEvent"),this.subscribe((()=>{this.notify({text:"Failed to remove the device",error:!0})}),"on-zigbee-device-remove-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRemovedFailedEvent"),this.subscribe((()=>{this.notify({text:"Failed to add the group",error:!0})}),"on-zigbee-group-add-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupAddedFailedEvent"),this.subscribe((()=>{this.notify({text:"Failed to remove group",error:!0})}),"on-zigbee-group-remove-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemovedFailedEvent"),this.subscribe((()=>{this.notify({text:"Failed to remove the devices from group",error:!0})}),"on-zigbee-remove-all-failed","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemoveAllFailedEvent"),this.subscribe((e=>{this.notify({text:e.error||"[Unknown error]",error:!0})}),"on-zigbee-error","platypush.message.event.zigbee.mqtt.ZigbeeMqttErrorEvent"),this.subscribe(this.refresh,"on-zigbee-device-update","platypush.message.event.zigbee.mqtt.ZigbeeMqttOnlineEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDevicePairingEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceConnectedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceBannedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRemovedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceWhitelistedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceRenamedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceBindEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttDeviceUnbindEvent"),this.subscribe(this.refreshGroups,"on-zigbee-group-update","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupAddedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemovedEvent","platypush.message.event.zigbee.mqtt.ZigbeeMqttGroupRemoveAllEvent")},mounted(){this.refresh()},unmounted(){this.unsubscribe("on-zigbee-error"),this.unsubscribe("on-zigbee-remove-all-failed"),this.unsubscribe("on-zigbee-group-remove-failed"),this.unsubscribe("on-zigbee-group-add-failed"),this.unsubscribe("on-zigbee-device-remove-failed"),this.unsubscribe("on-zigbee-online"),this.unsubscribe("on-zigbee-offline"),this.unsubscribe("on-zigbee-device-update"),this.unsubscribe("on-zigbee-group-update")}};const cs=(0,St.Z)(us,[["render",ee]]);var vs=cs}}]); -//# sourceMappingURL=4604.e1d1b224.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4604.e1d1b224.js.map b/platypush/backend/http/webapp/dist/static/js/4604.e1d1b224.js.map deleted file mode 100644 index dfb0a40df..000000000 --- a/platypush/backend/http/webapp/dist/static/js/4604.e1d1b224.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/4604.e1d1b224.js","mappings":"kJAAO,MAAMA,EACTC,YAAYC,GAQR,GAPAC,KAAKD,OAAS,CACVE,IAAK,CAAC,EAAG,KACTC,IAAK,CAAC,EAAG,KACTC,IAAK,CAAC,EAAG,KACTC,GAAI,CAAC,IAAK,MAGVL,EACA,IAAK,MAAMM,KAAQC,OAAOC,KAAKP,KAAKD,QAC5BA,EAAOM,KACPL,KAAKD,OAAOM,GAAQN,EAAOM,IAG3CG,UAAUC,EAAGC,EAAQC,GACjB,OAAOA,EAAO,IAAQF,EAAEC,EAAO,KAAOC,EAAO,GAAGA,EAAO,KAAQD,EAAO,GAAGA,EAAO,IAGpFE,SAASC,EAAGC,EAAGC,IACVF,EAAGC,EAAGC,GAAK,CACRf,KAAKQ,UAAUK,EAAGb,KAAKD,OAAOE,IAAK,CAAC,EAAG,MACvCD,KAAKQ,UAAUM,EAAGd,KAAKD,OAAOG,IAAK,CAAC,EAAG,MACvCF,KAAKQ,UAAUO,EAAGf,KAAKD,OAAOI,IAAK,CAAC,EAAG,OAG3CY,GAAK,IACL,MAAMC,EAAIF,EAAIG,KAAKC,IAAIH,EAAG,EAAIA,GAAK,IAC7BI,EAAIC,IACN,MAAMC,GAAKD,EAAIP,EAAI,IAAM,GACnBS,EAAQP,EAAIC,EAAIC,KAAKM,IAAIN,KAAKC,IAAIG,EAAI,EAAG,EAAIA,EAAG,IAAK,GAC3D,OAAOJ,KAAKO,MAAM,IAAMF,IAG5B,MAAO,CAACH,EAAE,GAAIA,EAAE,GAAIA,EAAE,IAG1BM,SAASC,EAAGC,EAAGC,GACXF,GAAK,IACLC,GAAK,IACLC,GAAK,IACL,MAAML,EAAMN,KAAKM,IAAIG,EAAGC,EAAGC,GAAIV,EAAMD,KAAKC,IAAIQ,EAAGC,EAAGC,G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P,KAEb2P,YAAW,KACTC,EAAK5H,UACL4H,EAAKpH,kBACJ,OAIPqH,UACE7P,KAAKqO,WAAU,KACbrO,KAAKgO,OAAO,CACVrG,KAAM,qCACNmI,OAAO,MAER,oBAAqB,8DAExB9P,KAAKqO,WAAU,KACbrO,KAAKgO,OAAO,CACVrG,KAAM,+BACNuG,UAAW,mBAEZ,mBAAoB,6DAEvBlO,KAAKqO,WAAU,KACbrO,KAAKgO,OAAO,CACVrG,KAAM,8BACNmI,OAAO,MAER,iCAAkC,0EAErC9P,KAAKqO,WAAU,KACbrO,KAAKgO,OAAO,CACVrG,KAAM,0BACNmI,OAAO,MAER,6BAA8B,uEAEjC9P,KAAKqO,WAAU,KACbrO,KAAKgO,OAAO,CACVrG,KAAM,yBACNmI,OAAO,MAER,gCAAiC,yEAEpC9P,KAAKqO,WAAU,KACbrO,KAAKgO,OAAO,CACVrG,KAAM,0CACNmI,OAAO,MAER,8BACC,2EAEJ9P,KAAKqO,WAAW1J,IACd3E,KAAKgO,OAAO,CACVrG,KAAMhD,EAAMmL,OAAS,kBACrBA,OAAO,MAER,kBAAmB,4DAEtB9P,KAAKqO,UAAUrO,KAAKgI,QAAS,0BACzB,4DACA,mEACA,qEACA,kEACA,mEACA,uEACA,mEACA,gEACA,mEAGJhI,KAAKqO,UAAUrO,KAAKwI,cAAe,yBAC/B,gEACA,kEACA,sEAINjD,UACEvF,KAAKgI,WAGPuG,YACEvO,KAAKwO,YAAY,mBACjBxO,KAAKwO,YAAY,+BACjBxO,KAAKwO,YAAY,iCACjBxO,KAAKwO,YAAY,8BACjBxO,KAAKwO,YAAY,kCACjBxO,KAAKwO,YAAY,oBACjBxO,KAAKwO,YAAY,qBACjBxO,KAAKwO,YAAY,2BACjBxO,KAAKwO,YAAY,4BKxVrB,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAAS/I,MAEpE","sources":["webpack://platypush/./src/components/panels/Light/color.js","webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/ZigbeeMqtt/Index.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Device.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Device.vue?8b6d","webpack://platypush/./src/components/panels/ZigbeeMqtt/Group.vue","webpack://platypush/./src/components/panels/ZigbeeMqtt/Group.vue?46cd","webpack://platypush/./src/components/panels/ZigbeeMqtt/Index.vue?dac0"],"sourcesContent":["export class ColorConverter {\n constructor(ranges) {\n this.ranges = {\n hue: [0, 360],\n sat: [0, 100],\n bri: [0, 100],\n ct: [154, 500],\n }\n\n if (ranges)\n for (const attr of Object.keys(this.ranges))\n if (ranges[attr])\n this.ranges[attr] = ranges[attr]\n }\n\n normalize(x, xRange, yRange) {\n return yRange[0] + (((x-xRange[0]) * (yRange[1]-yRange[0])) / (xRange[1]-xRange[0]))\n }\n\n hslToRgb(h, s, l) {\n [h, s, l] = [\n this.normalize(h, this.ranges.hue, [0, 360]),\n this.normalize(s, this.ranges.sat, [0, 100]),\n this.normalize(l, this.ranges.bri, [0, 100]),\n ]\n\n l /= 100\n const a = s * Math.min(l, 1 - l) / 100\n const f = n => {\n const k = (n + h / 30) % 12\n const color = l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1)\n return Math.round(255 * color)\n }\n\n return [f(0), f(8), f(4)]\n }\n\n rgbToHsl(r, g, b){\n r /= 255\n g /= 255\n b /= 255;\n const max = Math.max(r, g, b), min = Math.min(r, g, b);\n let h, s, l = (max + min) / 2;\n\n if(max === min){\n h = s = 0; // achromatic\n } else {\n const d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n\n switch(max){\n case r: h = (g - b) / d + (g < b ? 6 : 0); break;\n case g: h = (b - r) / d + 2; break;\n case b: h = (r - g) / d + 4; break;\n }\n h /= 6;\n }\n\n return [\n parseInt(this.normalize(h, [0, 1], this.ranges.hue)),\n parseInt(this.normalize(s, [0, 1], this.ranges.sat)),\n parseInt(this.normalize(l, [0, 1], this.ranges.bri)),\n ]\n }\n\n xyToRgb(x, y, brightness) {\n // Set to maximum brightness if no custom value was given (Not the slick ECMAScript 6 way for compatibility reasons)\n if (brightness == null)\n brightness = this.ranges.bri[1];\n\n const z = 1.0 - x - y;\n const Y = (brightness / (this.ranges.bri[1]-1)).toFixed(2);\n const X = (Y / y) * x;\n const Z = (Y / y) * z;\n\n //Convert to RGB using Wide RGB D65 conversion\n let red \t= X * 1.656492 - Y * 0.354851 - Z * 0.255038;\n let green = -X * 0.707196 + Y * 1.655397 + Z * 0.036152;\n let blue \t= X * 0.051713 - Y * 0.121364 + Z * 1.011530;\n\n //If red, green or blue is larger than 1.0 set it back to the maximum of 1.0\n if (red > blue && red > green && red > 1.0) {\n green = green / red;\n blue = blue / red;\n red = 1.0;\n } else if (green > blue && green > red && green > 1.0) {\n red = red / green;\n blue = blue / green;\n green = 1.0;\n } else if (blue > red && blue > green && blue > 1.0) {\n red = red / blue;\n green = green / blue;\n blue = 1.0;\n }\n\n //Reverse gamma correction\n red \t= red <= 0.0031308 ? 12.92 * red : (1.0 + 0.055) * Math.pow(red, (1.0 / 2.4)) - 0.055;\n green \t= green <= 0.0031308 ? 12.92 * green : (1.0 + 0.055) * Math.pow(green, (1.0 / 2.4)) - 0.055;\n blue \t= blue <= 0.0031308 ? 12.92 * blue : (1.0 + 0.055) * Math.pow(blue, (1.0 / 2.4)) - 0.055;\n\n //Convert normalized decimal to decimal\n red \t= Math.round(red * 255);\n green \t= Math.round(green * 255);\n blue \t= Math.round(blue * 255);\n\n if (isNaN(red))\n red = 0;\n if (isNaN(green))\n green = 0;\n if (isNaN(blue))\n blue = 0;\n\n return [red, green, blue].map(\n (c) => Math.min(Math.max(0, c), 255)) // lgtm [js/automatic-semicolon-insertion]\n }\n\n rgbToXY(red, green, blue) {\n if (red > 1) { red /= 255; }\n if (green > 1) { green /= 255; }\n if (blue > 1) { blue /= 255; }\n\n //Apply a gamma correction to the RGB values, which makes the color more vivid and more the like the color displayed on the screen of your device\n red \t= (red > 0.04045) ? Math.pow((red + 0.055) / (1.0 + 0.055), 2.4) : (red / 12.92);\n green \t= (green > 0.04045) ? Math.pow((green + 0.055) / (1.0 + 0.055), 2.4) : (green / 12.92);\n blue \t= (blue > 0.04045) ? Math.pow((blue + 0.055) / (1.0 + 0.055), 2.4) : (blue / 12.92);\n\n //RGB values to XYZ using the Wide RGB D65 conversion formula\n const X \t\t= red * 0.664511 + green * 0.154324 + blue * 0.162028;\n const Y \t\t= red * 0.283881 + green * 0.668433 + blue * 0.047685;\n const Z \t\t= red * 0.000088 + green * 0.072310 + blue * 0.986039;\n\n //Calculate the xy values from the XYZ values\n let x \t\t= parseFloat((X / (X + Y + Z)).toFixed(4));\n let y \t\t= parseFloat((Y / (X + Y + Z)).toFixed(4));\n\n if (isNaN(x))\n x = 0;\n if (isNaN(y))\n y = 0;\n\n return [x, y];\n }\n\n rgbToBri(red, green, blue) {\n return Math.min(2 * this.rgbToHsl(red, green, blue)[2], this.ranges.bri[1])\n }\n\n getRGB(color) {\n if (color.red != null && color.green != null && color.blue != null)\n return [color.red, color.green, color.blue]\n if (color.r != null && color.g != null && color.b != null)\n return [color.r, color.g, color.b]\n if (color.rgb)\n return color.rgb\n }\n\n getXY(color) {\n if (color.x != null && color.y != null)\n return [color.x, color.y]\n if (color.xy)\n return color.xy\n }\n\n toRGB(color) {\n const rgb = this.getRGB(color)\n if (rgb)\n return rgb\n\n const xy = this.getXY(color)\n if (xy && color.bri)\n return this.xyToRgb(...xy, color.bri)\n if (color.hue && color.sat && color.bri)\n return this.hslToRgb(color.hue, color.sat, color.bri)\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toXY(color) {\n const xy = this.getXY(color)\n if (xy && color.bri)\n return [xy[0], xy[1], color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToXY(...rgb)\n\n if (color.hue && color.sat && color.bri) {\n const rgb = this.hslToRgb(color.hue, color.sat, color.bri)\n return this.rgbToXY(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toHSL(color) {\n if (color.hue && color.sat && color.bri)\n return [color.hue, color.sat, color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToHsl(...rgb)\n\n const xy = this.getXY(color)\n if (xy && color.bri) {\n const rgb = this.xyToRgb(...xy, color.bri)\n return this.rgbToHsl(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n}\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Device.vue?vue&type=template&id=b05d09fc&scoped=true\"\nimport script from \"./Device.vue?vue&type=script&lang=js\"\nexport * from \"./Device.vue?vue&type=script&lang=js\"\n\nimport \"./Device.vue?vue&type=style&index=0&id=b05d09fc&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b05d09fc\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Group.vue?vue&type=template&id=7667f7ba&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=7667f7ba&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7667f7ba\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=b15233ac\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=b15233ac&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["ColorConverter","constructor","ranges","this","hue","sat","bri","ct","attr","Object","keys","normalize","x","xRange","yRange","hslToRgb","h","s","l","a","Math","min","f","n","k","color","max","round","rgbToHsl","r","g","b","d","parseInt","xyToRgb","y","brightness","z","Y","toFixed","X","Z","red","green","blue","pow","isNaN","map","c","rgbToXY","parseFloat","rgbToBri","getRGB","rgb","getXY","xy","toRGB","console","debug","toXY","toHSL","class","ref","type","range","step","disabled","value","onUpdate","withLabel","name","emits","props","Number","Boolean","default","Array","methods","event","update","target","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","stopPropagation","loading","title","status","info","state","permit_join","network","channel","version","config","mqtt","server","serial","port","coordinator","meta","maintrel","majorrel","minorrel","revision","selected","view","$event","views","enabled","toUpperCase","slice","replace","key","addGroup","text","infoModal","show","permitJoin","factoryReset","refresh","devices","length","device","id","groups","deviceId","refreshDevices","refreshGroups","group","groupId","manageGroups","associatedGroups","has","friendly_name","ieee_address","editName","rename","network_address","definition","vendor","model","model_id","description","software_build_id","date_code","power_source","displayedValues","property","rgbColor","unit","value_on","writable","setValue","value_min","value_max","readable","values","option","i","toString","join","groupsModal","otaUpdatesAvailable","installOtaUpdates","checkOtaUpdates","remove","components","Modal","ToggleSwitch","Slider","Loading","mixins","Utils","required","data","computed","exposes","extractValues","extractValue","root","features","feature","ret","mergeValues","obj","access","entries","filter","v","reduce","converter","saturation","satAttr","Set","members","member","async","request","trim","newName","force","confirm","value_toggle","value_off","split","_","hsl","querySelectorAll","element","add","editGroups","Promise","all","action","update_available","notify","image","iconClass","$watch","newValue","subscribe","properties","unmounted","unsubscribe","toggleDevice","devicesByAddress","entry","prompt","ieeeAddress","method","Dropdown","DropdownItem","Device","Group","undefined","modal","visible","refreshInfo","updateProperties","permit","args","seconds","setTimeout","self","created","error"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4764.81b5120a.js b/platypush/backend/http/webapp/dist/static/js/4764.81b5120a.js new file mode 100644 index 000000000..a71112c9e --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/4764.81b5120a.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4764],{1120:function(e,n,t){t.d(n,{Z:function(){return h}});var a=t(6252),s=t(9963),i=t(3577);const l={class:"slider-wrapper"},o=["min","max","step","disabled","value"],d={class:"track"},c={class:"track-inner",ref:"track"},r={class:"thumb",ref:"thumb"},u=["textContent"];function m(e,n,t,m,v,p){return(0,a.wg)(),(0,a.iD)("label",l,[(0,a._)("input",{class:"slider",type:"range",ref:"range",min:t.range[0],max:t.range[1],step:t.step,disabled:t.disabled,value:t.value,onInput:n[0]||(n[0]=(0,s.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onChange:n[1]||(n[1]=(0,s.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onMouseup:n[2]||(n[2]=(0,s.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onMousedown:n[3]||(n[3]=(0,s.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onTouchstart:n[4]||(n[4]=(0,s.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onTouchend:n[5]||(n[5]=(0,s.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onKeyup:n[6]||(n[6]=(0,s.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onKeydown:n[7]||(n[7]=(0,s.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"]))},null,40,o),(0,a._)("div",d,[(0,a._)("div",c,null,512)]),(0,a._)("div",r,null,512),t.withLabel?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"label",textContent:(0,i.zw)(t.value)},null,8,u)):(0,a.kq)("",!0)])}var v={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const n=100*e/(this.range[1]-this.range[0]);this.$refs.thumb.style.left=`${n}%`,this.$refs.thumb.style.transform=`translate(-${n}%, -50%)`,this.$refs.track.style.width=`${n}%`}},mounted(){null!=this.value&&this.update(this.value)}},p=t(3744);const _=(0,p.Z)(v,[["render",m],["__scopeId","data-v-288acf82"]]);var h=_},6137:function(e,n,t){t.d(n,{Z:function(){return p}});var a=t(6252),s=t(3577),i=t(9963);const l=e=>((0,a.dD)("data-v-8e097228"),e=e(),(0,a.Cn)(),e),o=["checked"],d=l((()=>(0,a._)("div",{class:"switch"},[(0,a._)("div",{class:"dot"})],-1))),c={class:"label"};function r(e,n,t,l,r,u){return(0,a.wg)(),(0,a.iD)("div",{class:(0,s.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,i.iM)(((...e)=>u.onInput&&u.onInput(...e)),["stop"]))},[(0,a._)("input",{type:"checkbox",checked:t.value},null,8,o),(0,a._)("label",null,[d,(0,a._)("span",c,[(0,a.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},m=t(3744);const v=(0,m.Z)(u,[["render",r],["__scopeId","data-v-8e097228"]]);var p=v},4764:function(e,n,t){t.d(n,{Z:function(){return js}});var a=t(6252),s=t(3577);const i={class:"zwave-container"},l={class:"network-info"},o={key:1,class:"params"},d={class:"row"},c=(0,a._)("div",{class:"param-name"},"State",-1),r=["textContent"],u={class:"row"},m=(0,a._)("div",{class:"param-name"},"Device",-1),v=["textContent"],p={class:"section"},_=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Statistics")],-1),h={class:"body"},w=["textContent"],g=["textContent"],y={class:"group-add"},f={class:"params"},k={class:"section"},b=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Select nodes to add")],-1),C={key:0,class:"body"},x=["onClick"],R=["textContent"],z={class:"view-options"},D={class:"view-selector col-s-6 col-m-8 col-l-9"},N=["textContent","selected","value"],q={class:"buttons col-s-6 col-m-4 col-l-3"},I=(0,a._)("i",{class:"fa fa-plus"},null,-1),S=[I],j=(0,a._)("i",{class:"fa fa-sync-alt"},null,-1),M=[j],V={class:"view-container"},O={key:0,class:"view nodes"},Z={key:1,class:"no-items"},A=(0,a._)("div",{class:"empty"},"No nodes available on the network",-1),U=[A],T={key:1,class:"view groups"},E={key:1,class:"no-items"},$=(0,a._)("div",{class:"empty"},"No groups available on the network",-1),W=[$],F={key:2,class:"view scenes"},H={key:1,class:"no-items"},G=(0,a._)("div",{class:"empty"},"No scenes configured on the network",-1),K=[G],L=["textContent","onClick"],B={key:0,class:"params"},Y={class:"row"},P=(0,a._)("div",{class:"param-name"},"Scene ID",-1),J=["textContent"],Q={class:"row"},X=(0,a._)("div",{class:"param-name"},"Activate",-1),ee={class:"param-value"},ne={key:0,class:"section values"},te=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Values")],-1),ae={class:"body"},se={class:"param-name"},ie={class:"param-value"},le=["textContent"],oe={class:"buttons"},de=["onClick"],ce=(0,a._)("i",{class:"fa fa-trash"},null,-1),re=[ce],ue={class:"section actions"},me=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Actions")],-1),ve={class:"body"},pe=["onClick"],_e=(0,a._)("div",{class:"param-name"},"Remove Scene",-1),he=(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1),we=[_e,he],ge=["onClick"],ye=(0,a._)("div",{class:"param-name"},"Rename Scene",-1),fe=(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-edit"})],-1),ke=[ye,fe],be={key:3,class:"view values"},Ce={key:1,class:"no-items"},xe=(0,a._)("div",{class:"empty"},"No nodes found on the network",-1),Re=[xe],ze=["textContent","onClick"],De={key:0,class:"params"},Ne={key:0,class:"value-display"};function qe(e,n,t,I,j,A){const $=(0,a.up)("Loading"),G=(0,a.up)("Modal"),ce=(0,a.up)("DropdownItem"),_e=(0,a.up)("Dropdown"),he=(0,a.up)("Node"),ye=(0,a.up)("Group"),fe=(0,a.up)("ToggleSwitch"),xe=(0,a.up)("Value");return(0,a.wg)(),(0,a.iD)("div",i,[(0,a.Wm)(G,{title:"Network info",ref:"networkInfoModal"},{default:(0,a.w5)((()=>[(0,a._)("div",l,[j.loading.status?((0,a.wg)(),(0,a.j4)($,{key:0})):((0,a.wg)(),(0,a.iD)("div",o,[(0,a._)("div",d,[c,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(j.status.state)},null,8,r)]),(0,a._)("div",u,[m,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(j.status.device)},null,8,v)]),(0,a._)("div",p,[_,(0,a._)("div",h,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(j.status.stats,((e,n)=>((0,a.wg)(),(0,a.iD)("div",{class:"row",key:n},[(0,a._)("div",{class:"param-name",textContent:(0,s.zw)(n)},null,8,w),(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(e)},null,8,g)])))),128))])])]))])])),_:1},512),(0,a.Wm)(G,{title:"Add nodes to group",ref:"addNodesToGroupModal"},{default:(0,a.w5)((()=>[(0,a._)("div",y,[(0,a._)("div",f,[(0,a._)("div",k,[b,null!=j.selected.groupId?((0,a.wg)(),(0,a.iD)("div",C,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Object.values(j.nodes||{}).filter((e=>j.groups[j.selected.groupId].associations.indexOf(e.node_id)<0)),(e=>((0,a.wg)(),(0,a.iD)("div",{class:"row clickable",onClick:n=>A.addToGroup(e.node_id,j.selected.groupId),key:e.node_id},[(0,a._)("div",{class:"param-name",textContent:(0,s.zw)(e.name)},null,8,R)],8,x)))),128))])):(0,a.kq)("",!0)])])])])),_:1},512),(0,a._)("div",z,[(0,a._)("div",D,[(0,a._)("label",null,[(0,a._)("select",{onChange:n[0]||(n[0]=e=>j.selected.view=e.target.value)},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(j.views,((e,n)=>((0,a.wg)(),(0,a.iD)("option",{key:e,textContent:(0,s.zw)((n[0].toUpperCase()+n.slice(1)).replace("_"," ")),selected:n===j.selected.view,value:n},null,8,N)))),128))],32)])]),(0,a._)("div",q,["scenes"===j.selected.view?((0,a.wg)(),(0,a.iD)("button",{key:0,class:"btn btn-default",title:"Create Scene",onClick:n[1]||(n[1]=(...e)=>A.addScene&&A.addScene(...e))},S)):(0,a.kq)("",!0),(0,a.Wm)(_e,{title:"Network commands","icon-class":"fa fa-cog"},{default:(0,a.w5)((()=>[(0,a.Wm)(ce,{text:"Network Info",disabled:j.commandRunning,onClick:A.networkInfoModalOpen},null,8,["disabled","onClick"]),(0,a.Wm)(ce,{text:"Start Network",disabled:j.commandRunning,onClick:A.startNetwork},null,8,["disabled","onClick"]),(0,a.Wm)(ce,{text:"Stop Network",disabled:j.commandRunning,onClick:A.stopNetwork},null,8,["disabled","onClick"]),"nodes"===j.selected.view?((0,a.wg)(),(0,a.j4)(ce,{key:0,text:"Add Node",disabled:j.commandRunning,onClick:A.addNode},null,8,["disabled","onClick"])):(0,a.kq)("",!0),"nodes"===j.selected.view?((0,a.wg)(),(0,a.j4)(ce,{key:1,text:"Remove Node",disabled:j.commandRunning,onClick:A.removeNode},null,8,["disabled","onClick"])):(0,a.kq)("",!0),(0,a.Wm)(ce,{text:"Switch All On",disabled:j.commandRunning,onClick:n[2]||(n[2]=e=>A.switchAll(!0))},null,8,["disabled"]),(0,a.Wm)(ce,{text:"Switch All Off",disabled:j.commandRunning,onClick:n[3]||(n[3]=e=>A.switchAll(!1))},null,8,["disabled"]),(0,a.Wm)(ce,{text:"Cancel Command",disabled:j.commandRunning,onClick:A.cancelCommand},null,8,["disabled","onClick"]),(0,a.Wm)(ce,{text:"Kill Command",disabled:j.commandRunning,onClick:A.killCommand},null,8,["disabled","onClick"]),(0,a.Wm)(ce,{text:"Receive Configuration",disabled:j.commandRunning,onClick:A.receiveConfiguration},null,8,["disabled","onClick"]),(0,a.Wm)(ce,{text:"Create New Primary",disabled:j.commandRunning,onClick:A.createNewPrimary},null,8,["disabled","onClick"]),(0,a.Wm)(ce,{text:"Transfer Primary Role",disabled:j.commandRunning,onClick:A.transferPrimaryRole},null,8,["disabled","onClick"]),(0,a.Wm)(ce,{text:"Heal Network",disabled:j.commandRunning,onClick:A.healNetwork},null,8,["disabled","onClick"]),(0,a.Wm)(ce,{text:"Soft Reset",disabled:j.commandRunning,onClick:A.softReset},null,8,["disabled","onClick"]),(0,a.Wm)(ce,{text:"Hard Reset",disabled:j.commandRunning,onClick:A.hardReset},null,8,["disabled","onClick"])])),_:1}),(0,a._)("button",{class:"btn btn-default",title:"Refresh Network",onClick:n[4]||(n[4]=(...e)=>A.refresh&&A.refresh(...e))},M)])]),(0,a._)("div",V,["nodes"===j.selected.view?((0,a.wg)(),(0,a.iD)("div",O,[j.loading.nodes?((0,a.wg)(),(0,a.j4)($,{key:0})):Object.keys(j.nodes||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",Z,U)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(j.nodes,((n,t)=>((0,a.wg)(),(0,a.j4)(he,{key:t,node:n,selected:j.selected.nodeId===t,"plugin-name":e.pluginName,onSelect:e=>A.onNodeClick(t)},null,8,["node","selected","plugin-name","onSelect"])))),128))])):"groups"===j.selected.view?((0,a.wg)(),(0,a.iD)("div",T,[j.loading.groups?((0,a.wg)(),(0,a.j4)($,{key:0})):Object.keys(j.groups||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",E,W)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(j.groups,((t,s)=>((0,a.wg)(),(0,a.j4)(ye,{key:s,group:t,selected:j.selected.groupId===s,nodes:s in j.groups?j.groups[s].associations.map((e=>j.nodes[e])).reduce(((e,n)=>(e[n.node_id]=n,e)),{}):{},owner:null!=t.node_id?j.nodes[t.node_id]:null,"plugin-name":e.pluginName,onSelect:e=>j.selected.groupId=s===j.selected.groupId?void 0:s,onOpenAddNodesToGroup:n[5]||(n[5]=n=>e.$refs.addNodesToGroupModal.show())},null,8,["group","selected","nodes","owner","plugin-name","onSelect"])))),128))])):"scenes"===j.selected.view?((0,a.wg)(),(0,a.iD)("div",F,[j.loading.scenes?((0,a.wg)(),(0,a.j4)($,{key:0})):Object.keys(j.scenes||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",H,K)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(j.scenes,((e,n)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,s.C_)(["item scene",{selected:j.selected.sceneId===n}]),key:n},[(0,a._)("div",{class:(0,s.C_)(["row name header vertical-center",{selected:j.selected.sceneId===n}]),textContent:(0,s.zw)(e.label),onClick:e=>j.selected.sceneId=n===j.selected.sceneId?void 0:n},null,10,L),j.selected.sceneId===n?((0,a.wg)(),(0,a.iD)("div",B,[(0,a._)("div",Y,[P,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(n)},null,8,J)]),(0,a._)("div",Q,[X,(0,a._)("div",ee,[(0,a.Wm)(fe,{value:!1,onInput:e=>A.activateScene(n)},null,8,["onInput"])])]),Object.values(e?.values)?.length?((0,a.wg)(),(0,a.iD)("div",ne,[te,(0,a._)("div",ae,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Object.values(e.values),(e=>((0,a.wg)(),(0,a.iD)("div",{class:"row",key:e.id_on_network},[(0,a._)("div",se,(0,s.zw)(j.nodes[e.node_id].name)+" ⇨ "+(0,s.zw)(A.valuesMap[e.id_on_network].label),1),(0,a._)("div",ie,[(0,a._)("span",{textContent:(0,s.zw)(e.data)},null,8,le),(0,a._)("span",oe,[(0,a._)("button",{class:"btn btn-default",title:"Remove value",onClick:t=>A.removeValueFromScene({sceneId:n,valueId:e.id_on_network})},re,8,de)])])])))),128))])])):(0,a.kq)("",!0),(0,a._)("div",ue,[me,(0,a._)("div",ve,[(0,a._)("div",{class:"row",onClick:e=>A.removeScene(n)},we,8,pe),(0,a._)("div",{class:"row",onClick:e=>A.renameScene(n)},ke,8,ge)])])])):(0,a.kq)("",!0)],2)))),128))])):((0,a.wg)(),(0,a.iD)("div",be,[j.loading.nodes?((0,a.wg)(),(0,a.j4)($,{key:0})):Object.keys(j.nodes||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",Ce,Re)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(j.nodes,((n,t)=>((0,a.wg)(),(0,a.iD)("div",{class:"node-container",key:t},["values"===j.selected.view||Object.values(n.values).filter((e=>e.id_on_network in j.values[j.selected.view])).length>0?((0,a.wg)(),(0,a.iD)("div",{key:0,class:(0,s.C_)(["item node",{selected:j.selected.nodeId===t}])},[(0,a._)("div",{class:(0,s.C_)(["row name header vertical-center",{selected:j.selected.nodeId===t}]),textContent:(0,s.zw)(n.name),onClick:e=>A.onNodeClick(t)},null,10,ze),j.selected.nodeId===t?((0,a.wg)(),(0,a.iD)("div",De,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(n.values,((t,s)=>((0,a.wg)(),(0,a.iD)("div",{class:"value-container",key:s},[t.id_on_network&&("values"===j.selected.view||t.id_on_network in j.values[j.selected.view])?((0,a.wg)(),(0,a.iD)("div",Ne,[(0,a.Wm)(xe,{value:t,node:n,scenes:j.scenes,onAddToScene:A.addValueToScene,onRemoveFromScene:A.removeValueFromScene,onRefresh:A.refreshNodes,"plugin-name":e.pluginName},null,8,["value","node","scenes","onAddToScene","onRemoveFromScene","onRefresh","plugin-name"])])):(0,a.kq)("",!0)])))),128))])):(0,a.kq)("",!0)],2)):(0,a.kq)("",!0)])))),128))]))])])}const Ie=e=>((0,a.dD)("data-v-56458f8e"),e=e(),(0,a.Cn)(),e),Se=["textContent"],je={key:0,class:"params"},Me={key:0,class:"section owner"},Ve=Ie((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Owner")],-1))),Oe={class:"body"},Ze=["textContent"],Ae={class:"section nodes"},Ue={class:"header"},Te=Ie((()=>(0,a._)("div",{class:"title col-10"},"Nodes",-1))),Ee={class:"buttons col-2"},$e=Ie((()=>(0,a._)("i",{class:"fa fa-plus"},null,-1))),We=[$e],Fe={class:"body"},He=["textContent"],Ge={class:"buttons col-2"},Ke=["disabled","onClick"],Le=Ie((()=>(0,a._)("i",{class:"fa fa-trash"},null,-1))),Be=[Le],Ye={class:"section config"},Pe=Ie((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Parameters")],-1))),Je={class:"body"},Qe={class:"row"},Xe=Ie((()=>(0,a._)("div",{class:"param-name"},"Index",-1))),en=["textContent"],nn={class:"row"},tn=Ie((()=>(0,a._)("div",{class:"param-name"},"Max associations",-1))),an=["textContent"];function sn(e,n,t,i,l,o){return(0,a.wg)(),(0,a.iD)("div",{class:(0,s.C_)(["item group",{selected:t.selected}])},[(0,a._)("div",{class:(0,s.C_)(["row name header vertical-center",{selected:t.selected}]),textContent:(0,s.zw)(t.group.label),onClick:n[0]||(n[0]=n=>e.$emit("select",t.group.index))},null,10,Se),t.selected?((0,a.wg)(),(0,a.iD)("div",je,[t.owner&&Object.keys(t.owner).length?((0,a.wg)(),(0,a.iD)("div",Me,[Ve,(0,a._)("div",Oe,[(0,a._)("div",{class:"row",textContent:(0,s.zw)(t.owner.name)},null,8,Ze)])])):(0,a.kq)("",!0),(0,a._)("div",Ae,[(0,a._)("div",Ue,[Te,(0,a._)("div",Ee,[!t.group.max_associations||Object.keys(t.nodes||{}).lengthe.$emit("open-add-nodes-to-group",t.group.index))},We)):(0,a.kq)("",!0)])]),(0,a._)("div",Fe,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(t.nodes,((e,n)=>((0,a.wg)(),(0,a.iD)("div",{class:"row",key:n},[(0,a._)("div",{class:"col-10",textContent:(0,s.zw)(e.name?.length?e.name:``)},null,8,He),(0,a._)("div",Ge,[(0,a._)("button",{class:"btn btn-default",title:"Remove from group",disabled:l.commandRunning,onClick:n=>o.removeFromGroup(e.node_id)},Be,8,Ke)])])))),128))])]),(0,a._)("div",Ye,[Pe,(0,a._)("div",Je,[(0,a._)("div",Qe,[Xe,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.group.index)},null,8,en)]),(0,a._)("div",nn,[tn,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.group.max_associations)},null,8,an)])])])])):(0,a.kq)("",!0)],2)}var ln=t(2628),on={mixins:[ln.Z],props:{pluginName:{type:String,required:!0}},methods:{async zrequest(e,n){return await this.request(`${this.pluginName}.${e}`,n)}}},dn={name:"Group",emits:["select","open-add-nodes-to-group"],mixins:[on],props:{group:{type:Object,required:!0},owner:{type:Object},nodes:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{commandRunning:!1}},methods:{async removeFromGroup(e){if(!confirm("Are you sure that you want to remove this node from "+this.group.label+"?"))return;this.commandRunning=!0;const n={node_id:e};null!=this.group.group_id?n.group_id=this.group.group_id:n.group_index=this.group.index;try{await this.zrequest("remove_node_from_group",n)}finally{this.commandRunning=!1}}}},cn=t(3744);const rn=(0,cn.Z)(dn,[["render",sn],["__scopeId","data-v-56458f8e"]]);var un=rn,mn=t(9963);const vn=e=>((0,a.dD)("data-v-3da196a6"),e=e(),(0,a.Cn)(),e),pn=["textContent"],_n={key:0,class:"params"},hn={class:"row"},wn=vn((()=>(0,a._)("div",{class:"param-name"},"Name",-1))),gn={class:"param-value"},yn=["value","disabled"],fn={class:"buttons"},kn=vn((()=>(0,a._)("i",{class:"fas fa-times"},null,-1))),bn=[kn],Cn=["disabled"],xn=vn((()=>(0,a._)("i",{class:"fa fa-check"},null,-1))),Rn=[xn],zn=["textContent"],Dn={class:"buttons"},Nn=["disabled"],qn=vn((()=>(0,a._)("i",{class:"fa fa-edit"},null,-1))),In=[qn],Sn={class:"row"},jn=vn((()=>(0,a._)("div",{class:"param-name"},"Location",-1))),Mn={class:"param-value"},Vn=["value","disabled"],On={class:"buttons"},Zn=vn((()=>(0,a._)("i",{class:"fas fa-times"},null,-1))),An=[Zn],Un=["disabled"],Tn=vn((()=>(0,a._)("i",{class:"fa fa-check"},null,-1))),En=[Tn],$n=["textContent"],Wn={class:"buttons"},Fn=["disabled"],Hn=vn((()=>(0,a._)("i",{class:"fa fa-edit"},null,-1))),Gn=[Hn],Kn={class:"row"},Ln=vn((()=>(0,a._)("div",{class:"param-name"},"Type",-1))),Bn=["textContent"],Yn={class:"row"},Pn=vn((()=>(0,a._)("div",{class:"param-name"},"Role",-1))),Jn=["textContent"],Qn={class:"row"},Xn=vn((()=>(0,a._)("div",{class:"param-name"},"Node ID",-1))),et=["textContent"],nt={key:0,class:"row"},tt=vn((()=>(0,a._)("div",{class:"param-name"},"Neighbours",-1))),at={class:"param-value"},st=["textContent"],it={class:"row"},lt=vn((()=>(0,a._)("div",{class:"param-name"},"Is Ready",-1))),ot=["textContent"],dt={class:"row"},ct=vn((()=>(0,a._)("div",{class:"param-name"},"Is Failed",-1))),rt=["textContent"],ut={class:"row"},mt=vn((()=>(0,a._)("div",{class:"param-name"},"Product ID",-1))),vt=["textContent"],pt={class:"row"},_t=vn((()=>(0,a._)("div",{class:"param-name"},"Product Type",-1))),ht=["textContent"],wt={key:1,class:"row"},gt=vn((()=>(0,a._)("div",{class:"param-name"},"Product Name",-1))),yt=["textContent"],ft={class:"row"},kt=vn((()=>(0,a._)("div",{class:"param-name"},"Manufacturer ID",-1))),bt=["textContent"],Ct={key:2,class:"row"},xt=vn((()=>(0,a._)("div",{class:"param-name"},"Manufacturer Name",-1))),Rt=["textContent"],zt={class:"row"},Dt=vn((()=>(0,a._)("div",{class:"param-name"},"Capabilities",-1))),Nt=["textContent"],qt={class:"row"},It=vn((()=>(0,a._)("div",{class:"param-name"},"Command Classes",-1))),St=["textContent"],jt={class:"row"},Mt=vn((()=>(0,a._)("div",{class:"param-name"},"Groups",-1))),Vt=["textContent"],Ot={key:3,class:"row"},Zt=vn((()=>(0,a._)("div",{class:"param-name"},"Home ID",-1))),At=["textContent"],Ut={class:"row"},Tt=vn((()=>(0,a._)("div",{class:"param-name"},"Is Awake",-1))),Et=["textContent"],$t={key:4,class:"row"},Wt=vn((()=>(0,a._)("div",{class:"param-name"},"Is Locked",-1))),Ft=["textContent"],Ht={key:5,class:"row"},Gt=vn((()=>(0,a._)("div",{class:"param-name"},"Last Update",-1))),Kt=["textContent"],Lt={key:6,class:"row"},Bt=vn((()=>(0,a._)("div",{class:"param-name"},"Baud Rate",-1))),Yt=["textContent"],Pt={key:7,class:"row"},Jt=vn((()=>(0,a._)("div",{class:"param-name"},"Max Baud Rate",-1))),Qt=["textContent"],Xt={class:"section actions"},ea=vn((()=>(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Actions")],-1))),na={class:"body"},ta=vn((()=>(0,a._)("div",{class:"param-name"},"Remove Failed Node",-1))),aa=vn((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1))),sa=[ta,aa],ia=vn((()=>(0,a._)("div",{class:"param-name"},"Replace Failed Node",-1))),la=vn((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-sync-alt"})],-1))),oa=[ia,la],da=vn((()=>(0,a._)("div",{class:"param-name"},"Heal Node",-1))),ca=vn((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fas fa-wrench"})],-1))),ra=[da,ca],ua=vn((()=>(0,a._)("div",{class:"param-name"},"Replicate info to secondary controller",-1))),ma=vn((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-clone"})],-1))),va=[ua,ma],pa=vn((()=>(0,a._)("div",{class:"param-name"},"Request network update",-1))),_a=vn((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fas fa-wifi"})],-1))),ha=[pa,_a],wa=vn((()=>(0,a._)("div",{class:"param-name"},"Request neighbours update",-1))),ga=vn((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fas fa-network-wired"})],-1))),ya=[wa,ga];function fa(e,n,t,i,l,o){return(0,a.wg)(),(0,a.iD)("div",{class:(0,s.C_)(["item node",{selected:t.selected}])},[(0,a._)("div",{class:(0,s.C_)(["row name header vertical-center",{selected:t.selected}]),textContent:(0,s.zw)(t.node.name&&t.node.name.length?t.node.name:``),onClick:n[0]||(n[0]=n=>e.$emit("select"))},null,10,pn),t.selected?((0,a.wg)(),(0,a.iD)("div",_n,[(0,a._)("div",hn,[wn,(0,a._)("div",gn,[(0,a._)("div",{class:(0,s.C_)(["edit-cell",{hidden:!l.editMode.name}])},[(0,a._)("form",{ref:"nameForm",onSubmit:n[2]||(n[2]=(0,mn.iM)(((...e)=>o.editName&&o.editName(...e)),["prevent"]))},[(0,a._)("label",null,[(0,a._)("input",{type:"text",name:"name",value:t.node.name,disabled:l.commandRunning},null,8,yn)]),(0,a._)("span",fn,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[1]||(n[1]=e=>l.editMode.name=!1)},bn),(0,a._)("button",{type:"submit",class:"btn btn-default",disabled:l.commandRunning},Rn,8,Cn)])],544)],2),(0,a._)("div",{class:(0,s.C_)({hidden:l.editMode.name})},[(0,a._)("span",{textContent:(0,s.zw)(t.node.name?.length?t.node.name:``)},null,8,zn),(0,a._)("span",Dn,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[3]||(n[3]=e=>o.onEditMode("name")),disabled:l.commandRunning},In,8,Nn)])],2)])]),(0,a._)("div",Sn,[jn,(0,a._)("div",Mn,[(0,a._)("div",{class:(0,s.C_)(["edit-cell",{hidden:!l.editMode.location}])},[(0,a._)("form",{ref:"locationForm",onSubmit:n[5]||(n[5]=(0,mn.iM)(((...e)=>o.editLocation&&o.editLocation(...e)),["prevent"]))},[(0,a._)("label",null,[(0,a._)("input",{type:"text",name:"location",value:t.node.location,disabled:l.commandRunning},null,8,Vn)]),(0,a._)("span",On,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[4]||(n[4]=e=>l.editMode.location=!1)},An),(0,a._)("button",{type:"submit",class:"btn btn-default",disabled:l.commandRunning},En,8,Un)])],544)],2),(0,a._)("div",{class:(0,s.C_)({hidden:l.editMode.location})},[(0,a._)("span",{textContent:(0,s.zw)(t.node.location?.length?t.node.location:"")},null,8,$n),(0,a._)("span",Wn,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[6]||(n[6]=e=>o.onEditMode("location")),disabled:l.commandRunning},Gn,8,Fn)])],2)])]),(0,a._)("div",Kn,[Ln,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.node.type)},null,8,Bn)]),(0,a._)("div",Yn,[Pn,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.node.role)},null,8,Jn)]),(0,a._)("div",Qn,[Xn,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.node.node_id)},null,8,et)]),t.node.neighbours.length?((0,a.wg)(),(0,a.iD)("div",nt,[tt,(0,a._)("div",at,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(t.node.neighbours,((e,n)=>((0,a.wg)(),(0,a.iD)("div",{class:"row pull-right",key:n,textContent:(0,s.zw)(e)},null,8,st)))),128))])])):(0,a.kq)("",!0),(0,a._)("div",it,[lt,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.node.is_ready)},null,8,ot)]),(0,a._)("div",dt,[ct,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.node.is_failed)},null,8,rt)]),(0,a._)("div",ut,[mt,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.node.manufacturer_id)},null,8,vt)]),(0,a._)("div",pt,[_t,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.node.product_type)},null,8,ht)]),t.node.product_name?.length?((0,a.wg)(),(0,a.iD)("div",wt,[gt,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.node.product_name)},null,8,yt)])):(0,a.kq)("",!0),(0,a._)("div",ft,[kt,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.node.manufacturer_id)},null,8,bt)]),t.node.manufacturer_name?.length?((0,a.wg)(),(0,a.iD)("div",Ct,[xt,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.node.manufacturer_name)},null,8,Rt)])):(0,a.kq)("",!0),(0,a._)("div",zt,[Dt,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.node.capabilities.join(", "))},null,8,Nt)]),(0,a._)("div",qt,[It,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.node.command_classes.join(", "))},null,8,St)]),(0,a._)("div",jt,[Mt,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(Object.values(t.node.groups).map((e=>e.label||"")).join(", "))},null,8,Vt)]),t.node.home_id?((0,a.wg)(),(0,a.iD)("div",Ot,[Zt,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.node.home_id.toString(16))},null,8,At)])):(0,a.kq)("",!0),(0,a._)("div",Ut,[Tt,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.node.is_awake)},null,8,Et)]),null!=t.node.is_locked?((0,a.wg)(),(0,a.iD)("div",$t,[Wt,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.node.is_locked)},null,8,Ft)])):(0,a.kq)("",!0),t.node.last_update?((0,a.wg)(),(0,a.iD)("div",Ht,[Gt,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(e.formatDateTime(t.node.last_update))},null,8,Kt)])):(0,a.kq)("",!0),t.node.baud_rate?((0,a.wg)(),(0,a.iD)("div",Lt,[Bt,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.node.baud_rate)},null,8,Yt)])):(0,a.kq)("",!0),t.node.max_baud_rate?((0,a.wg)(),(0,a.iD)("div",Pt,[Jt,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.node.max_baud_rate)},null,8,Qt)])):(0,a.kq)("",!0),(0,a._)("div",Xt,[ea,(0,a._)("div",na,[t.node.is_failed?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"row error",onClick:n[7]||(n[7]=(...e)=>o.removeFailedNode&&o.removeFailedNode(...e))},sa)):(0,a.kq)("",!0),t.node.is_failed?((0,a.wg)(),(0,a.iD)("div",{key:1,class:"row error",onClick:n[8]||(n[8]=(...e)=>o.replaceFailedNode&&o.replaceFailedNode(...e))},oa)):(0,a.kq)("",!0),(0,a._)("div",{class:"row",onClick:n[9]||(n[9]=(...e)=>o.heal&&o.heal(...e))},ra),(0,a._)("div",{class:"row",onClick:n[10]||(n[10]=(...e)=>o.replicationSend&&o.replicationSend(...e))},va),(0,a._)("div",{class:"row",onClick:n[11]||(n[11]=(...e)=>o.requestNetworkUpdate&&o.requestNetworkUpdate(...e))},ha),(0,a._)("div",{class:"row",onClick:n[12]||(n[12]=(...e)=>o.requestNeighbourUpdate&&o.requestNeighbourUpdate(...e))},ya)])])])):(0,a.kq)("",!0)],2)}var ka={name:"Node",emits:["select"],mixins:[on],props:{node:{type:Object,required:!0},selected:{type:Boolean,default:!1}},data(){return{commandRunning:!1,editMode:{name:!1,location:!1}}},methods:{async removeFailedNode(){if(this.commandRunning)this.notify({text:"A command is already running"});else if(confirm("Are you sure that you want to remove this node?")){this.commandRunning=!0;try{await this.zrequest("remove_node",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},async replaceFailedNode(){if(this.commandRunning)this.notify({text:"A command is already running"});else if(confirm("Are you sure that you want to replace this node?")){this.commandRunning=!0;try{await this.zrequest("replace_node",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},async replicationSend(){if(this.commandRunning)this.notify({text:"A command is already running"});else{this.commandRunning=!0;try{await this.zrequest("replication_send",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},async requestNetworkUpdate(){if(this.commandRunning)this.notify({text:"A command is already running"});else{this.commandRunning=!0;try{await this.zrequest("request_network_update",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},async requestNeighbourUpdate(){if(this.commandRunning)this.notify({text:"A command is already running"});else{this.commandRunning=!0;try{await this.zrequest("request_node_neighbour_update",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},onEditMode(e){this.editMode[e]=!0;const n=this.$refs[e+"Form"],t=n.querySelector("input[type=text]");setTimeout((()=>{t.focus(),t.select()}),10)},async editName(e){const n=e.target.querySelector("input[name=name]").value;this.commandRunning=!0;try{await this.zrequest("set_node_name",{node_id:this.node.node_id,new_name:n})}finally{this.commandRunning=!1}this.editMode.name=!1},async editLocation(e){const n=e.target.querySelector("input[name=location]").value;this.commandRunning=!0;try{await this.zrequest("set_node_location",{node_id:this.node.node_id,location:n})}finally{this.commandRunning=!1}this.editMode.location=!1},async heal(){if(this.commandRunning)console.log("A command is already running");else{this.commandRunning=!0;try{await this.zrequest("node_heal",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}}}};const ba=(0,cn.Z)(ka,[["render",fa],["__scopeId","data-v-3da196a6"]]);var Ca=ba,xa=t(9642),Ra=t(7021),za=t(455),Da=t(1232),Na=t(6137);const qa=e=>((0,a.dD)("data-v-0021cd76"),e=e(),(0,a.Cn)(),e),Ia={class:"section value"},Sa={class:"header"},ja={class:"title"},Ma=["disabled","data-id-on-network"],Va=qa((()=>(0,a._)("i",{class:"fa fa-edit"},null,-1))),Oa=[Va],Za={class:"body"},Aa={class:"row"},Ua=qa((()=>(0,a._)("div",{class:"param-name"},"Value",-1))),Ta={class:"param-value"},Ea={key:0,class:"value-view"},$a=["textContent"],Wa=["textContent"],Fa={key:1,class:"value-edit"},Ha={key:0,class:"list"},Ga=["textContent","selected","value"],Ka={key:1,class:"numeric slider-container"},La={class:"col-10"},Ba={class:"row"},Ya=["textContent"],Pa=["textContent"],Ja={class:"row"},Qa={class:"col-2"},Xa=["value"],es={key:2,class:"boolean"},ns={key:3,class:"value-data"},ts=["value"],as=["textContent"],ss=qa((()=>(0,a._)("div",{class:"param-name"},"Remove From Scene",-1))),is=qa((()=>(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1))),ls=[ss,is],os={key:1,class:"row",style:{cursor:"pointer"}},ds=qa((()=>(0,a._)("div",{class:"param-name"},"Add To Scene",-1))),cs={class:"param-value"},rs={key:2,class:"row"},us=qa((()=>(0,a._)("div",{class:"param-name"},"Help",-1))),ms=["textContent"],vs={class:"row"},ps=qa((()=>(0,a._)("div",{class:"param-name"},"Value ID",-1))),_s=["textContent"],hs={key:3,class:"row"},ws=qa((()=>(0,a._)("div",{class:"param-name"},"ID on Network",-1))),gs=["textContent"],ys={class:"row"},fs=qa((()=>(0,a._)("div",{class:"param-name"},"Command Class",-1))),ks=["textContent"],bs={key:4,class:"row"},Cs=qa((()=>(0,a._)("div",{class:"param-name"},"Last Update",-1))),xs=["textContent"];function Rs(e,n,t,i,l,o){const d=(0,a.up)("Slider"),c=(0,a.up)("ToggleSwitch"),r=(0,a.up)("DropdownItem"),u=(0,a.up)("Dropdown");return(0,a.wg)(),(0,a.iD)("div",Ia,[(0,a._)("div",Sa,[(0,a._)("div",ja,[(0,a._)("button",{class:"btn btn-default btn-value-name-edit",title:"Edit value name",disabled:l.commandRunning,"data-id-on-network":t.value.id_on_network,onClick:n[0]||(n[0]=(...e)=>o.editName&&o.editName(...e))},Oa,8,Ma),(0,a.Uk)(" "+(0,s.zw)(t.value.label),1)])]),(0,a._)("div",Za,[(0,a._)("div",Aa,[Ua,(0,a._)("div",Ta,[t.value.is_read_only?((0,a.wg)(),(0,a.iD)("div",Ea,[(0,a._)("div",{class:"value-data",textContent:(0,s.zw)(t.value.data)},null,8,$a),t.value.units?.length?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"unit",textContent:(0,s.zw)(t.value.units)},null,8,Wa)):(0,a.kq)("",!0)])):((0,a.wg)(),(0,a.iD)("div",Fa,[(0,a._)("div",{class:(0,s.C_)(["col-"+(t.value.units?.length?"11":"12")])},["List"===t.value.type?((0,a.wg)(),(0,a.iD)("div",Ha,[(0,a._)("label",null,[(0,a._)("select",{onChange:n[1]||(n[1]=(...e)=>o.onValueChange&&o.onValueChange(...e))},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(t.value.data_items,((e,n)=>((0,a.wg)(),(0,a.iD)("option",{textContent:(0,s.zw)("object"===typeof e?e.text:e),key:n,selected:"object"===typeof e?t.value.data===e.value:t.value.data===e,value:"object"===typeof e?e.value:n},null,8,Ga)))),128))],32)])])):["Int","Long","Byte","Decimal","Short"].indexOf(t.value.type)>=0?((0,a.wg)(),(0,a.iD)("div",Ka,[(0,a._)("div",La,[(0,a._)("div",Ba,[(0,a._)("span",{class:"value-min",textContent:(0,s.zw)(t.value.min)},null,8,Ya),(0,a._)("span",{class:"value-max",textContent:(0,s.zw)(t.value.max)},null,8,Pa)]),(0,a._)("div",Ja,[(0,a._)("label",null,[(0,a.Wm)(d,{range:[t.value.min,t.value.max],value:t.value.data,onChange:o.onValueChange},null,8,["range","value","onChange"])])])]),(0,a._)("div",Qa,[(0,a._)("label",null,[(0,a._)("input",{type:"text",value:t.value.data,onChange:n[2]||(n[2]=(...e)=>o.onValueChange&&o.onValueChange(...e))},null,40,Xa)])])])):["Bool","Button"].indexOf(t.value.type)>=0?((0,a.wg)(),(0,a.iD)("div",es,[(0,a.Wm)(c,{value:t.value.data,onInput:n[3]||(n[3]=e=>o.onValueChange(e,!t.value.data))},null,8,["value"])])):((0,a.wg)(),(0,a.iD)("div",ns,[(0,a._)("label",null,[(0,a._)("input",{type:"text",value:t.value.data,onChange:n[4]||(n[4]=(...e)=>o.onValueChange&&o.onValueChange(...e))},null,40,ts)])]))],2),t.value.units?.length?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"col-1 unit",textContent:(0,s.zw)(t.value.units)},null,8,as)):(0,a.kq)("",!0)]))])]),null!=t.sceneId?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"row",style:{cursor:"pointer"},onClick:n[5]||(n[5]=n=>e.$emit("remove-from-scene",{valueId:t.value.id_on_network,sceneId:t.sceneId}))},ls)):(0,a.kq)("",!0),o.addValueToSceneItems?.length?((0,a.wg)(),(0,a.iD)("div",os,[ds,(0,a._)("div",cs,[(0,a.Wm)(u,{title:"Add to scene","icon-class":"fa fa-plus"},{default:(0,a.w5)((()=>[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(o.addValueToSceneItems,((n,s)=>((0,a.wg)(),(0,a.j4)(r,{key:s,text:n.label,disabled:l.commandRunning,onClick:a=>e.$emit("add-to-scene",{sceneId:n.scene_id,valueId:t.value.id_on_network})},null,8,["text","disabled","onClick"])))),128))])),_:1})])])):(0,a.kq)("",!0),t.value.help?.length?((0,a.wg)(),(0,a.iD)("div",rs,[us,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.value.help)},null,8,ms)])):(0,a.kq)("",!0),(0,a._)("div",vs,[ps,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.value.value_id)},null,8,_s)]),t.value.value_id!==t.value.id_on_network?((0,a.wg)(),(0,a.iD)("div",hs,[ws,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.value.id_on_network)},null,8,gs)])):(0,a.kq)("",!0),(0,a._)("div",ys,[fs,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(t.value.command_class_name||t.value.command_class)},null,8,ks)]),t.value.last_update?((0,a.wg)(),(0,a.iD)("div",bs,[Cs,(0,a._)("div",{class:"param-value",textContent:(0,s.zw)(e.formatDateTime(t.value.last_update))},null,8,xs)])):(0,a.kq)("",!0)])])}var zs=t(1120),Ds={name:"Value",components:{Slider:zs.Z,Dropdown:Ra.Z,DropdownItem:za.Z,ToggleSwitch:Na.Z},mixins:[on],emits:["remove-from-scene","add-to-scene","refresh"],props:{value:{type:Object,required:!0},node:{type:Object,required:!0},selected:{type:Boolean,default:!1},sceneId:{type:Number},scenes:{type:Object,default:()=>({})}},data(){return{commandRunning:!1}},computed:{addValueToSceneItems(){return Object.values(this.scenes||{}).filter((e=>!(this.value.id_on_network in e.values)))}},methods:{async editName(){const e=this.node.values[this.value.id_on_network];let n=prompt("New name",e.label);if(n?.length&&(n=n.trim()),n?.length&&n!==e.label){this.commandRunning=!0;try{await this.zrequest("set_value_label",{id_on_network:e.id_on_network,new_label:n})}finally{this.commandRunning=!1}this.$emit("refresh"),this.notify({text:"Value successfully renamed",image:{iconClass:"fa fa-check"}})}},async onValueChange(e,n){const t=e.target?e.target:e.event.target.parentElement,a=this.node.values[this.value.id_on_network];switch(void 0===n&&(n=null!=t.value?t.value:e.value),a.type){case"List":n=a.data_items[e.target.value];break;case"Int":case"Short":case"Long":case"Byte":n=parseInt(n);break;case"Decimal":n=parseFloat(n);break}"object"===typeof n&&(n=n.value),this.commandRunning=!0;try{await this.zrequest("set_value",{id_on_network:a.id_on_network,data:n})}finally{this.commandRunning=!1}this.$emit("refresh"),this.notify({text:"Value successfully modified",image:{iconClass:"fa fa-check"}})}}};const Ns=(0,cn.Z)(Ds,[["render",Rs],["__scopeId","data-v-0021cd76"]]);var qs=Ns,Is={name:"Zwave",components:{Value:qs,ToggleSwitch:Na.Z,Loading:Da.Z,DropdownItem:za.Z,Dropdown:Ra.Z,Modal:xa.Z,Group:un,Node:Ca},mixins:[on],data(){return{status:{},views:{},nodes:{},groups:{},scenes:{},commandRunning:!1,values:{switches:{},dimmers:{},sensors:{},battery_levels:{},power_levels:{},bulbs:{},doorlocks:{},usercodes:{},thermostats:{},protections:{}},selected:{view:"nodes",nodeId:void 0,groupId:void 0,sceneId:void 0,valueId:void 0},loading:{status:!1,nodes:!1,groups:!1,scenes:!1}}},computed:{valuesMap(){const e={};for(const n of Object.values(this.nodes))for(const t of Object.values(n.values))e[t.id_on_network]=t;return e}},methods:{async refreshNodes(){this.loading.nodes=!0;try{this.nodes=await this.zrequest("get_nodes")}finally{this.loading.nodes=!1}Object.keys(this.nodes||{}).length&&(this.views.values=!0)},async refreshGroups(){this.loading.groups=!0;try{this.groups=Object.values(await this.zrequest("get_groups")).filter((e=>e.index)).reduce(((e,n)=>{const t=n.group_id||n.index;return e[t]=n,e}),{})}finally{this.loading.groups=!1}Object.keys(this.groups||{}).length&&(this.views.groups=!0)},async refreshScenes(){this.loading.scenes=!0;try{this.scenes=Object.values(await this.zrequest("get_scenes")).filter((e=>e.scene_id)).reduce(((e,n)=>(e[n.scene_id]=n,e)),{})}finally{this.loading.scenes=!1}Object.keys(this.scenes||{}).length&&(this.views.values=!0)},async refreshValues(e){this.loading.values=!0;try{this.values[e]=Object.values(await this.zrequest("get_"+e)).filter((e=>e.id_on_network)).reduce(((e,n)=>(e[n.id_on_network]=!0,e)),{})}finally{this.loading.values=!1}Object.keys(this.values[e]).length&&(this.views[e]=!0)},async refreshStatus(){this.loading.status=!0;try{this.status=await this.zrequest("status")}finally{this.loading.status=!1}},refresh(){this.views={nodes:!0,scenes:!0},this.refreshNodes(),this.refreshGroups(),this.refreshScenes(),this.refreshValues("switches"),this.refreshValues("dimmers"),this.refreshValues("sensors"),this.refreshValues("bulbs"),this.refreshValues("doorlocks"),this.refreshValues("usercodes"),this.refreshValues("thermostats"),this.refreshValues("protections"),this.refreshValues("battery_levels"),this.refreshValues("power_levels"),this.refreshValues("node_config"),this.refreshStatus()},async addScene(){let e=prompt("Scene name");if(e?.length&&(e=e.trim()),e?.length){this.commandRunning=!0;try{await this.zrequest("create_scene",{label:e}),await this.refreshScenes()}finally{this.commandRunning=!1}}},async removeScene(e){if(confirm("Are you sure that you want to delete this scene?")){this.commandRunning=!0;try{await this.zrequest("remove_scene",{scene_id:e}),await this.refreshScenes()}finally{this.commandRunning=!1}}},onNodeUpdate(e){this.nodes[e.node.node_id]=e.node,e.value&&(this.nodes[e.node.node_id].values[e.value.id_on_network]=e.value)},onNodeClick(e){this.selected.nodeId=e===this.selected.nodeId?void 0:e},networkInfoModalOpen(){this.refreshStatus(),this.$refs.networkInfoModal.show()},onCommandEvent(e){e.error&&e.error.length&&this.notify({text:e.state_description+": "+e.error_description,error:!0})},async addNode(){this.commandRunning=!0;try{await this.zrequest("add_node")}finally{this.commandRunning=!1}await this.refreshNodes()},async addToGroup(e,n){this.commandRunning=!0;try{await this.zrequest("add_node_to_group",{node_id:e,group_index:n})}finally{this.commandRunning=!1}await this.refreshGroups()},async removeNode(){this.commandRunning=!0;try{await this.zrequest("remove_node")}finally{this.commandRunning=!1}await this.refreshNodes()},async removeValueFromScene(e){if(confirm("Are you sure that you want to remove this value from the scene?")){this.commandRunning=!0;try{await this.zrequest("scene_remove_value",{id_on_network:e.valueId,scene_id:e.sceneId})}finally{this.commandRunning=!1}await this.refreshScenes()}},async renameScene(e){const n=this.scenes[e];let t=prompt("New name",n.label);if(t&&(t=t.trim()),t?.length&&t!==n.label){this.commandRunning=!0;try{await this.zrequest("set_scene_label",{new_label:t,scene_id:e})}finally{this.commandRunning=!1}await this.refreshScenes()}},async startNetwork(){this.commandRunning=!0;try{await this.zrequest("start_network")}finally{this.commandRunning=!1}},async stopNetwork(){this.commandRunning=!0;try{await this.zrequest("stop_network")}finally{this.commandRunning=!1}},async switchAll(e){this.commandRunning=!0;try{await this.zrequest("switch_all",{state:e}),this.refresh()}finally{this.commandRunning=!1}},async cancelCommand(){this.commandRunning=!0;try{await this.zrequest("cancel_command")}finally{this.commandRunning=!1}},async killCommand(){this.commandRunning=!0;try{await this.zrequest("kill_command")}finally{this.commandRunning=!1}},async receiveConfiguration(){this.commandRunning=!0;try{await this.zrequest("receive_configuration")}finally{this.commandRunning=!1}this.refresh()},async createNewPrimary(){this.commandRunning=!0;try{await this.zrequest("create_new_primary")}finally{this.commandRunning=!1}this.refresh()},async transferPrimaryRole(){this.commandRunning=!0;try{await this.zrequest("transfer_primary_role")}finally{this.commandRunning=!1}this.refresh()},async healNetwork(){this.commandRunning=!0;try{await this.zrequest("heal")}finally{this.commandRunning=!1}this.refresh()},async softReset(){confirm("Are you sure that you want to do a device soft reset? This won't lose network information")&&await this.zrequest("soft_reset")},async hardReset(){confirm("Are you sure that you want to do a device soft reset? All network information will be LOST!")&&await this.zrequest("hard_reset")},async activateScene(e){this.commandRunning=!0;try{await this.zrequest("activate_scene",{scene_id:e})}finally{this.commandRunning=!1}},async addValueToScene(e){this.commandRunning=!0;try{await this.zrequest("scene_add_value",{id_on_network:e.valueId,scene_id:e.sceneId,data:this.valuesMap[e.valueId].data})}finally{this.commandRunning=!1}this.refresh()}},mounted(){this.refresh(),this.subscribe(this.refreshGroups,"on-zwave-node-group-event","platypush.message.event.zwave.ZwaveNodeGroupEvent"),this.subscribe(this.refreshScenes,"on-zwave-node-scene-event","platypush.message.event.zwave.ZwaveNodeSceneEvent"),this.subscribe(this.refreshNodes,"on-zwave-node-removed-event","platypush.message.event.zwave.ZwaveNodeRemovedEvent"),this.subscribe(this.onCommandEvent,"on-zwave-command-event","platypush.message.event.zwave.ZwaveCommandEvent"),this.subscribe(this.refreshStatus,"on-zwave-network-event","platypush.message.event.zwave.ZwaveNetworkReadyEvent","platypush.message.event.zwave.ZwaveNetworkStoppedEvent","platypush.message.event.zwave.ZwaveNetworkErrorEvent","platypush.message.event.zwave.ZwaveNetworkResetEvent"),this.subscribe(this.onNodeUpdate,"on-zwave-node-update-event","platypush.message.event.zwave.ZwaveNodeEvent","platypush.message.event.zwave.ZwaveNodeAddedEvent","platypush.message.event.zwave.ZwaveNodeRenamedEvent","platypush.message.event.zwave.ZwaveNodeReadyEvent","platypush.message.event.zwave.ZwaveValueAddedEvent","platypush.message.event.zwave.ZwaveValueChangedEvent","platypush.message.event.zwave.ZwaveValueRemovedEvent","platypush.message.event.zwave.ZwaveValueRefreshedEvent")},unmounted(){["on-zwave-node-group-event","on-zwave-node-scene-event","on-zwave-node-removed-event","on-zwave-command-event","on-zwave-network-event","on-zwave-node-update-event"].forEach((e=>this.unsubscribe(e)))}};const Ss=(0,cn.Z)(Is,[["render",qe]]);var js=Ss}}]); +//# sourceMappingURL=4764.81b5120a.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4764.81b5120a.js.map b/platypush/backend/http/webapp/dist/static/js/4764.81b5120a.js.map new file mode 100644 index 000000000..d2803ff0b --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/4764.81b5120a.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/4764.81b5120a.js","mappings":"6LACSA,MAAM,kB,6CAYPA,MAAM,S,GACJA,MAAM,cAAcC,IAAI,S,GAE1BD,MAAM,QAAQC,IAAI,S,4DAfxB,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AGNO,YACE,CACE,4BAA6B,4BAA6B,8BAA+B,yBACzF,yBAA0B,8BAC1BC,SAASC,GAAcvM,KAAKwM,YAAYD,OQhqB9C,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAASzL,MAEpE","sources":["webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Zwave/Zwave.vue","webpack://platypush/./src/components/panels/Zwave/Group.vue","webpack://platypush/./src/components/panels/Zwave/mixin.js","webpack://platypush/./src/components/panels/Zwave/Group.vue?d37f","webpack://platypush/./src/components/panels/Zwave/Node.vue","webpack://platypush/./src/components/panels/Zwave/Node.vue?4a32","webpack://platypush/./src/components/panels/Zwave/Value.vue","webpack://platypush/./src/components/panels/Zwave/Value.vue?c87f","webpack://platypush/./src/components/panels/Zwave/Zwave.vue?dac2"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import Utils from \"@/Utils\";\n\nexport default {\n mixins: [Utils],\n props: {\n pluginName: {\n type: String,\n required: true,\n },\n },\n\n methods: {\n async zrequest(method, args) {\n return await this.request(`${this.pluginName}.${method}`, args)\n },\n }\n}\n","import { render } from \"./Group.vue?vue&type=template&id=56458f8e&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=56458f8e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-56458f8e\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Node.vue?vue&type=template&id=3da196a6&scoped=true\"\nimport script from \"./Node.vue?vue&type=script&lang=js\"\nexport * from \"./Node.vue?vue&type=script&lang=js\"\n\nimport \"./Node.vue?vue&type=style&index=0&id=3da196a6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3da196a6\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Value.vue?vue&type=template&id=0021cd76&scoped=true\"\nimport script from \"./Value.vue?vue&type=script&lang=js\"\nexport * from \"./Value.vue?vue&type=script&lang=js\"\n\nimport \"./Value.vue?vue&type=style&index=0&id=0021cd76&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0021cd76\"]])\n\nexport default __exports__","import { render } from \"./Zwave.vue?vue&type=template&id=4a234aca\"\nimport script from \"./Zwave.vue?vue&type=script&lang=js\"\nexport * from \"./Zwave.vue?vue&type=script&lang=js\"\n\nimport \"./Zwave.vue?vue&type=style&index=0&id=4a234aca&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","ref","type","min","range","max","step","disabled","value","onUpdate","withLabel","name","emits","props","Number","Boolean","default","Array","methods","event","this","update","target","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","title","loading","status","state","device","stats","key","selected","groupId","Object","values","nodes","filter","node","addToGroup","node_id","view","$event","views","id","toUpperCase","slice","replace","addScene","text","commandRunning","networkInfoModalOpen","startNetwork","stopNetwork","addNode","removeNode","switchAll","cancelCommand","killCommand","receiveConfiguration","createNewPrimary","transferPrimaryRole","healNetwork","softReset","hardReset","refresh","keys","length","nodeId","pluginName","onNodeClick","groups","group","associations","map","owner","undefined","addNodesToGroupModal","show","scenes","scene","sceneId","label","activateScene","id_on_network","valuesMap","data","removeValueFromScene","removeScene","renameScene","valueId","addValueToScene","refreshNodes","index","max_associations","i","removeFromGroup","mixins","Utils","String","required","async","method","args","request","mixin","confirm","group_id","group_index","zrequest","editMode","editName","onEditMode","location","editLocation","role","neighbours","neighbour","is_ready","is_failed","manufacturer_id","product_type","product_name","manufacturer_name","capabilities","join","command_classes","g","home_id","toString","is_awake","is_locked","last_update","baud_rate","max_baud_rate","removeFailedNode","replaceFailedNode","heal","replicationSend","requestNetworkUpdate","requestNeighbourUpdate","notify","mode","form","input","querySelector","setTimeout","focus","select","new_name","console","log","is_read_only","units","onValueChange","data_items","indexOf","addValueToSceneItems","scene_id","help","value_id","command_class_name","command_class","components","Slider","Dropdown","DropdownItem","ToggleSwitch","computed","prompt","trim","new_label","image","iconClass","parentElement","parseInt","parseFloat","Value","Loading","Modal","Group","Node","switches","dimmers","sensors","battery_levels","power_levels","bulbs","doorlocks","usercodes","thermostats","protections","reduce","item","refreshGroups","refreshScenes","refreshValues","refreshStatus","onNodeUpdate","networkInfoModal","onCommandEvent","error","state_description","error_description","subscribe","unmounted","forEach","eventType","unsubscribe"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4764.ea0fe8cf.js b/platypush/backend/http/webapp/dist/static/js/4764.ea0fe8cf.js deleted file mode 100644 index d8e5f56aa..000000000 --- a/platypush/backend/http/webapp/dist/static/js/4764.ea0fe8cf.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4764],{1120:function(e,n,a){a.d(n,{Z:function(){return h}});var t=a(6252),s=a(9963),i=a(3577);const l={class:"slider-wrapper"},o=["min","max","step","disabled","value"],d={class:"track"},c={class:"track-inner",ref:"track"},r={class:"thumb",ref:"thumb"},u=["textContent"];function m(e,n,a,m,v,p){return(0,t.wg)(),(0,t.iD)("label",l,[(0,t._)("input",{class:"slider",type:"range",ref:"range",min:a.range[0],max:a.range[1],step:a.step,disabled:a.disabled,value:a.value,onInput:n[0]||(n[0]=(0,s.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onChange:n[1]||(n[1]=(0,s.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onMouseup:n[2]||(n[2]=(0,s.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onMousedown:n[3]||(n[3]=(0,s.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onTouchstart:n[4]||(n[4]=(0,s.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onTouchend:n[5]||(n[5]=(0,s.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onKeyup:n[6]||(n[6]=(0,s.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onKeydown:n[7]||(n[7]=(0,s.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"]))},null,40,o),(0,t._)("div",d,[(0,t._)("div",c,null,512)]),(0,t._)("div",r,null,512),a.withLabel?((0,t.wg)(),(0,t.iD)("span",{key:0,class:"label",textContent:(0,i.zw)(a.value)},null,8,u)):(0,t.kq)("",!0)])}var v={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const n=100*e/(this.range[1]-this.range[0]);this.$refs.thumb.style.left=`${n}%`,this.$refs.thumb.style.transform=`translate(-${n}%, -50%)`,this.$refs.track.style.width=`${n}%`}},mounted(){null!=this.value&&this.update(this.value)}},p=a(3744);const _=(0,p.Z)(v,[["render",m],["__scopeId","data-v-288acf82"]]);var h=_},3567:function(e,n,a){a.d(n,{Z:function(){return v}});var t=a(6252),s=a(3577);const i=e=>((0,t.dD)("data-v-8fae7678"),e=e(),(0,t.Cn)(),e),l=["checked"],o=i((()=>(0,t._)("div",{class:"switch"},[(0,t._)("div",{class:"dot"})],-1))),d={class:"label"};function c(e,n,a,i,c,r){return(0,t.wg)(),(0,t.iD)("div",{class:(0,s.C_)(["power-switch",{disabled:a.disabled}]),onClick:n[0]||(n[0]=(...e)=>r.onInput&&r.onInput(...e))},[(0,t._)("input",{type:"checkbox",checked:a.value},null,8,l),(0,t._)("label",null,[o,(0,t._)("span",d,[(0,t.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var r={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},u=a(3744);const m=(0,u.Z)(r,[["render",c],["__scopeId","data-v-8fae7678"]]);var v=m},4764:function(e,n,a){a.d(n,{Z:function(){return js}});var t=a(6252),s=a(3577);const i={class:"zwave-container"},l={class:"network-info"},o={key:1,class:"params"},d={class:"row"},c=(0,t._)("div",{class:"param-name"},"State",-1),r=["textContent"],u={class:"row"},m=(0,t._)("div",{class:"param-name"},"Device",-1),v=["textContent"],p={class:"section"},_=(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Statistics")],-1),h={class:"body"},w=["textContent"],g=["textContent"],y={class:"group-add"},f={class:"params"},k={class:"section"},b=(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Select nodes to add")],-1),C={key:0,class:"body"},x=["onClick"],R=["textContent"],z={class:"view-options"},D={class:"view-selector col-s-6 col-m-8 col-l-9"},N=["textContent","selected","value"],q={class:"buttons col-s-6 col-m-4 col-l-3"},I=(0,t._)("i",{class:"fa fa-plus"},null,-1),S=[I],j=(0,t._)("i",{class:"fa fa-sync-alt"},null,-1),V=[j],M={class:"view-container"},O={key:0,class:"view nodes"},Z={key:1,class:"no-items"},A=(0,t._)("div",{class:"empty"},"No nodes available on the network",-1),U=[A],T={key:1,class:"view groups"},E={key:1,class:"no-items"},$=(0,t._)("div",{class:"empty"},"No groups available on the network",-1),W=[$],F={key:2,class:"view scenes"},H={key:1,class:"no-items"},G=(0,t._)("div",{class:"empty"},"No scenes configured on the network",-1),K=[G],L=["textContent","onClick"],B={key:0,class:"params"},Y={class:"row"},P=(0,t._)("div",{class:"param-name"},"Scene ID",-1),J=["textContent"],Q={class:"row"},X=(0,t._)("div",{class:"param-name"},"Activate",-1),ee={class:"param-value"},ne={key:0,class:"section values"},ae=(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Values")],-1),te={class:"body"},se={class:"param-name"},ie={class:"param-value"},le=["textContent"],oe={class:"buttons"},de=["onClick"],ce=(0,t._)("i",{class:"fa fa-trash"},null,-1),re=[ce],ue={class:"section actions"},me=(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Actions")],-1),ve={class:"body"},pe=["onClick"],_e=(0,t._)("div",{class:"param-name"},"Remove Scene",-1),he=(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fa fa-trash"})],-1),we=[_e,he],ge=["onClick"],ye=(0,t._)("div",{class:"param-name"},"Rename Scene",-1),fe=(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fa fa-edit"})],-1),ke=[ye,fe],be={key:3,class:"view values"},Ce={key:1,class:"no-items"},xe=(0,t._)("div",{class:"empty"},"No nodes found on the network",-1),Re=[xe],ze=["textContent","onClick"],De={key:0,class:"params"},Ne={key:0,class:"value-display"};function qe(e,n,a,I,j,A){const $=(0,t.up)("Loading"),G=(0,t.up)("Modal"),ce=(0,t.up)("DropdownItem"),_e=(0,t.up)("Dropdown"),he=(0,t.up)("Node"),ye=(0,t.up)("Group"),fe=(0,t.up)("ToggleSwitch"),xe=(0,t.up)("Value");return(0,t.wg)(),(0,t.iD)("div",i,[(0,t.Wm)(G,{title:"Network info",ref:"networkInfoModal"},{default:(0,t.w5)((()=>[(0,t._)("div",l,[j.loading.status?((0,t.wg)(),(0,t.j4)($,{key:0})):((0,t.wg)(),(0,t.iD)("div",o,[(0,t._)("div",d,[c,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(j.status.state)},null,8,r)]),(0,t._)("div",u,[m,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(j.status.device)},null,8,v)]),(0,t._)("div",p,[_,(0,t._)("div",h,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(j.status.stats,((e,n)=>((0,t.wg)(),(0,t.iD)("div",{class:"row",key:n},[(0,t._)("div",{class:"param-name",textContent:(0,s.zw)(n)},null,8,w),(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(e)},null,8,g)])))),128))])])]))])])),_:1},512),(0,t.Wm)(G,{title:"Add nodes to group",ref:"addNodesToGroupModal"},{default:(0,t.w5)((()=>[(0,t._)("div",y,[(0,t._)("div",f,[(0,t._)("div",k,[b,null!=j.selected.groupId?((0,t.wg)(),(0,t.iD)("div",C,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(Object.values(j.nodes||{}).filter((e=>j.groups[j.selected.groupId].associations.indexOf(e.node_id)<0)),(e=>((0,t.wg)(),(0,t.iD)("div",{class:"row clickable",onClick:n=>A.addToGroup(e.node_id,j.selected.groupId),key:e.node_id},[(0,t._)("div",{class:"param-name",textContent:(0,s.zw)(e.name)},null,8,R)],8,x)))),128))])):(0,t.kq)("",!0)])])])])),_:1},512),(0,t._)("div",z,[(0,t._)("div",D,[(0,t._)("label",null,[(0,t._)("select",{onChange:n[0]||(n[0]=e=>j.selected.view=e.target.value)},[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(j.views,((e,n)=>((0,t.wg)(),(0,t.iD)("option",{key:e,textContent:(0,s.zw)((n[0].toUpperCase()+n.slice(1)).replace("_"," ")),selected:n===j.selected.view,value:n},null,8,N)))),128))],32)])]),(0,t._)("div",q,["scenes"===j.selected.view?((0,t.wg)(),(0,t.iD)("button",{key:0,class:"btn btn-default",title:"Create Scene",onClick:n[1]||(n[1]=(...e)=>A.addScene&&A.addScene(...e))},S)):(0,t.kq)("",!0),(0,t.Wm)(_e,{title:"Network commands","icon-class":"fa fa-cog"},{default:(0,t.w5)((()=>[(0,t.Wm)(ce,{text:"Network Info",disabled:j.commandRunning,onClick:A.networkInfoModalOpen},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Start Network",disabled:j.commandRunning,onClick:A.startNetwork},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Stop Network",disabled:j.commandRunning,onClick:A.stopNetwork},null,8,["disabled","onClick"]),"nodes"===j.selected.view?((0,t.wg)(),(0,t.j4)(ce,{key:0,text:"Add Node",disabled:j.commandRunning,onClick:A.addNode},null,8,["disabled","onClick"])):(0,t.kq)("",!0),"nodes"===j.selected.view?((0,t.wg)(),(0,t.j4)(ce,{key:1,text:"Remove Node",disabled:j.commandRunning,onClick:A.removeNode},null,8,["disabled","onClick"])):(0,t.kq)("",!0),(0,t.Wm)(ce,{text:"Switch All On",disabled:j.commandRunning,onClick:n[2]||(n[2]=e=>A.switchAll(!0))},null,8,["disabled"]),(0,t.Wm)(ce,{text:"Switch All Off",disabled:j.commandRunning,onClick:n[3]||(n[3]=e=>A.switchAll(!1))},null,8,["disabled"]),(0,t.Wm)(ce,{text:"Cancel Command",disabled:j.commandRunning,onClick:A.cancelCommand},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Kill Command",disabled:j.commandRunning,onClick:A.killCommand},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Receive Configuration",disabled:j.commandRunning,onClick:A.receiveConfiguration},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Create New Primary",disabled:j.commandRunning,onClick:A.createNewPrimary},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Transfer Primary Role",disabled:j.commandRunning,onClick:A.transferPrimaryRole},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Heal Network",disabled:j.commandRunning,onClick:A.healNetwork},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Soft Reset",disabled:j.commandRunning,onClick:A.softReset},null,8,["disabled","onClick"]),(0,t.Wm)(ce,{text:"Hard Reset",disabled:j.commandRunning,onClick:A.hardReset},null,8,["disabled","onClick"])])),_:1}),(0,t._)("button",{class:"btn btn-default",title:"Refresh Network",onClick:n[4]||(n[4]=(...e)=>A.refresh&&A.refresh(...e))},V)])]),(0,t._)("div",M,["nodes"===j.selected.view?((0,t.wg)(),(0,t.iD)("div",O,[j.loading.nodes?((0,t.wg)(),(0,t.j4)($,{key:0})):Object.keys(j.nodes||{}).length?(0,t.kq)("",!0):((0,t.wg)(),(0,t.iD)("div",Z,U)),((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(j.nodes,((n,a)=>((0,t.wg)(),(0,t.j4)(he,{key:a,node:n,selected:j.selected.nodeId===a,"plugin-name":e.pluginName,onSelect:e=>A.onNodeClick(a)},null,8,["node","selected","plugin-name","onSelect"])))),128))])):"groups"===j.selected.view?((0,t.wg)(),(0,t.iD)("div",T,[j.loading.groups?((0,t.wg)(),(0,t.j4)($,{key:0})):Object.keys(j.groups||{}).length?(0,t.kq)("",!0):((0,t.wg)(),(0,t.iD)("div",E,W)),((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(j.groups,((a,s)=>((0,t.wg)(),(0,t.j4)(ye,{key:s,group:a,selected:j.selected.groupId===s,nodes:s in j.groups?j.groups[s].associations.map((e=>j.nodes[e])).reduce(((e,n)=>(e[n.node_id]=n,e)),{}):{},owner:null!=a.node_id?j.nodes[a.node_id]:null,"plugin-name":e.pluginName,onSelect:e=>j.selected.groupId=s===j.selected.groupId?void 0:s,onOpenAddNodesToGroup:n[5]||(n[5]=n=>e.$refs.addNodesToGroupModal.show())},null,8,["group","selected","nodes","owner","plugin-name","onSelect"])))),128))])):"scenes"===j.selected.view?((0,t.wg)(),(0,t.iD)("div",F,[j.loading.scenes?((0,t.wg)(),(0,t.j4)($,{key:0})):Object.keys(j.scenes||{}).length?(0,t.kq)("",!0):((0,t.wg)(),(0,t.iD)("div",H,K)),((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(j.scenes,((e,n)=>((0,t.wg)(),(0,t.iD)("div",{class:(0,s.C_)(["item scene",{selected:j.selected.sceneId===n}]),key:n},[(0,t._)("div",{class:(0,s.C_)(["row name header vertical-center",{selected:j.selected.sceneId===n}]),textContent:(0,s.zw)(e.label),onClick:e=>j.selected.sceneId=n===j.selected.sceneId?void 0:n},null,10,L),j.selected.sceneId===n?((0,t.wg)(),(0,t.iD)("div",B,[(0,t._)("div",Y,[P,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(n)},null,8,J)]),(0,t._)("div",Q,[X,(0,t._)("div",ee,[(0,t.Wm)(fe,{value:!1,onInput:e=>A.activateScene(n)},null,8,["onInput"])])]),Object.values(e?.values)?.length?((0,t.wg)(),(0,t.iD)("div",ne,[ae,(0,t._)("div",te,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(Object.values(e.values),(e=>((0,t.wg)(),(0,t.iD)("div",{class:"row",key:e.id_on_network},[(0,t._)("div",se,(0,s.zw)(j.nodes[e.node_id].name)+" ⇨ "+(0,s.zw)(A.valuesMap[e.id_on_network].label),1),(0,t._)("div",ie,[(0,t._)("span",{textContent:(0,s.zw)(e.data)},null,8,le),(0,t._)("span",oe,[(0,t._)("button",{class:"btn btn-default",title:"Remove value",onClick:a=>A.removeValueFromScene({sceneId:n,valueId:e.id_on_network})},re,8,de)])])])))),128))])])):(0,t.kq)("",!0),(0,t._)("div",ue,[me,(0,t._)("div",ve,[(0,t._)("div",{class:"row",onClick:e=>A.removeScene(n)},we,8,pe),(0,t._)("div",{class:"row",onClick:e=>A.renameScene(n)},ke,8,ge)])])])):(0,t.kq)("",!0)],2)))),128))])):((0,t.wg)(),(0,t.iD)("div",be,[j.loading.nodes?((0,t.wg)(),(0,t.j4)($,{key:0})):Object.keys(j.nodes||{}).length?(0,t.kq)("",!0):((0,t.wg)(),(0,t.iD)("div",Ce,Re)),((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(j.nodes,((n,a)=>((0,t.wg)(),(0,t.iD)("div",{class:"node-container",key:a},["values"===j.selected.view||Object.values(n.values).filter((e=>e.id_on_network in j.values[j.selected.view])).length>0?((0,t.wg)(),(0,t.iD)("div",{key:0,class:(0,s.C_)(["item node",{selected:j.selected.nodeId===a}])},[(0,t._)("div",{class:(0,s.C_)(["row name header vertical-center",{selected:j.selected.nodeId===a}]),textContent:(0,s.zw)(n.name),onClick:e=>A.onNodeClick(a)},null,10,ze),j.selected.nodeId===a?((0,t.wg)(),(0,t.iD)("div",De,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(n.values,((a,s)=>((0,t.wg)(),(0,t.iD)("div",{class:"value-container",key:s},[a.id_on_network&&("values"===j.selected.view||a.id_on_network in j.values[j.selected.view])?((0,t.wg)(),(0,t.iD)("div",Ne,[(0,t.Wm)(xe,{value:a,node:n,scenes:j.scenes,onAddToScene:A.addValueToScene,onRemoveFromScene:A.removeValueFromScene,onRefresh:A.refreshNodes,"plugin-name":e.pluginName},null,8,["value","node","scenes","onAddToScene","onRemoveFromScene","onRefresh","plugin-name"])])):(0,t.kq)("",!0)])))),128))])):(0,t.kq)("",!0)],2)):(0,t.kq)("",!0)])))),128))]))])])}const Ie=e=>((0,t.dD)("data-v-56458f8e"),e=e(),(0,t.Cn)(),e),Se=["textContent"],je={key:0,class:"params"},Ve={key:0,class:"section owner"},Me=Ie((()=>(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Owner")],-1))),Oe={class:"body"},Ze=["textContent"],Ae={class:"section nodes"},Ue={class:"header"},Te=Ie((()=>(0,t._)("div",{class:"title col-10"},"Nodes",-1))),Ee={class:"buttons col-2"},$e=Ie((()=>(0,t._)("i",{class:"fa fa-plus"},null,-1))),We=[$e],Fe={class:"body"},He=["textContent"],Ge={class:"buttons col-2"},Ke=["disabled","onClick"],Le=Ie((()=>(0,t._)("i",{class:"fa fa-trash"},null,-1))),Be=[Le],Ye={class:"section config"},Pe=Ie((()=>(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Parameters")],-1))),Je={class:"body"},Qe={class:"row"},Xe=Ie((()=>(0,t._)("div",{class:"param-name"},"Index",-1))),en=["textContent"],nn={class:"row"},an=Ie((()=>(0,t._)("div",{class:"param-name"},"Max associations",-1))),tn=["textContent"];function sn(e,n,a,i,l,o){return(0,t.wg)(),(0,t.iD)("div",{class:(0,s.C_)(["item group",{selected:a.selected}])},[(0,t._)("div",{class:(0,s.C_)(["row name header vertical-center",{selected:a.selected}]),textContent:(0,s.zw)(a.group.label),onClick:n[0]||(n[0]=n=>e.$emit("select",a.group.index))},null,10,Se),a.selected?((0,t.wg)(),(0,t.iD)("div",je,[a.owner&&Object.keys(a.owner).length?((0,t.wg)(),(0,t.iD)("div",Ve,[Me,(0,t._)("div",Oe,[(0,t._)("div",{class:"row",textContent:(0,s.zw)(a.owner.name)},null,8,Ze)])])):(0,t.kq)("",!0),(0,t._)("div",Ae,[(0,t._)("div",Ue,[Te,(0,t._)("div",Ee,[!a.group.max_associations||Object.keys(a.nodes||{}).lengthe.$emit("open-add-nodes-to-group",a.group.index))},We)):(0,t.kq)("",!0)])]),(0,t._)("div",Fe,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(a.nodes,((e,n)=>((0,t.wg)(),(0,t.iD)("div",{class:"row",key:n},[(0,t._)("div",{class:"col-10",textContent:(0,s.zw)(e.name?.length?e.name:``)},null,8,He),(0,t._)("div",Ge,[(0,t._)("button",{class:"btn btn-default",title:"Remove from group",disabled:l.commandRunning,onClick:n=>o.removeFromGroup(e.node_id)},Be,8,Ke)])])))),128))])]),(0,t._)("div",Ye,[Pe,(0,t._)("div",Je,[(0,t._)("div",Qe,[Xe,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.group.index)},null,8,en)]),(0,t._)("div",nn,[an,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.group.max_associations)},null,8,tn)])])])])):(0,t.kq)("",!0)],2)}var ln=a(2628),on={mixins:[ln.Z],props:{pluginName:{type:String,required:!0}},methods:{async zrequest(e,n){return await this.request(`${this.pluginName}.${e}`,n)}}},dn={name:"Group",emits:["select","open-add-nodes-to-group"],mixins:[on],props:{group:{type:Object,required:!0},owner:{type:Object},nodes:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{commandRunning:!1}},methods:{async removeFromGroup(e){if(!confirm("Are you sure that you want to remove this node from "+this.group.label+"?"))return;this.commandRunning=!0;const n={node_id:e};null!=this.group.group_id?n.group_id=this.group.group_id:n.group_index=this.group.index;try{await this.zrequest("remove_node_from_group",n)}finally{this.commandRunning=!1}}}},cn=a(3744);const rn=(0,cn.Z)(dn,[["render",sn],["__scopeId","data-v-56458f8e"]]);var un=rn,mn=a(9963);const vn=e=>((0,t.dD)("data-v-3da196a6"),e=e(),(0,t.Cn)(),e),pn=["textContent"],_n={key:0,class:"params"},hn={class:"row"},wn=vn((()=>(0,t._)("div",{class:"param-name"},"Name",-1))),gn={class:"param-value"},yn=["value","disabled"],fn={class:"buttons"},kn=vn((()=>(0,t._)("i",{class:"fas fa-times"},null,-1))),bn=[kn],Cn=["disabled"],xn=vn((()=>(0,t._)("i",{class:"fa fa-check"},null,-1))),Rn=[xn],zn=["textContent"],Dn={class:"buttons"},Nn=["disabled"],qn=vn((()=>(0,t._)("i",{class:"fa fa-edit"},null,-1))),In=[qn],Sn={class:"row"},jn=vn((()=>(0,t._)("div",{class:"param-name"},"Location",-1))),Vn={class:"param-value"},Mn=["value","disabled"],On={class:"buttons"},Zn=vn((()=>(0,t._)("i",{class:"fas fa-times"},null,-1))),An=[Zn],Un=["disabled"],Tn=vn((()=>(0,t._)("i",{class:"fa fa-check"},null,-1))),En=[Tn],$n=["textContent"],Wn={class:"buttons"},Fn=["disabled"],Hn=vn((()=>(0,t._)("i",{class:"fa fa-edit"},null,-1))),Gn=[Hn],Kn={class:"row"},Ln=vn((()=>(0,t._)("div",{class:"param-name"},"Type",-1))),Bn=["textContent"],Yn={class:"row"},Pn=vn((()=>(0,t._)("div",{class:"param-name"},"Role",-1))),Jn=["textContent"],Qn={class:"row"},Xn=vn((()=>(0,t._)("div",{class:"param-name"},"Node ID",-1))),ea=["textContent"],na={key:0,class:"row"},aa=vn((()=>(0,t._)("div",{class:"param-name"},"Neighbours",-1))),ta={class:"param-value"},sa=["textContent"],ia={class:"row"},la=vn((()=>(0,t._)("div",{class:"param-name"},"Is Ready",-1))),oa=["textContent"],da={class:"row"},ca=vn((()=>(0,t._)("div",{class:"param-name"},"Is Failed",-1))),ra=["textContent"],ua={class:"row"},ma=vn((()=>(0,t._)("div",{class:"param-name"},"Product ID",-1))),va=["textContent"],pa={class:"row"},_a=vn((()=>(0,t._)("div",{class:"param-name"},"Product Type",-1))),ha=["textContent"],wa={key:1,class:"row"},ga=vn((()=>(0,t._)("div",{class:"param-name"},"Product Name",-1))),ya=["textContent"],fa={class:"row"},ka=vn((()=>(0,t._)("div",{class:"param-name"},"Manufacturer ID",-1))),ba=["textContent"],Ca={key:2,class:"row"},xa=vn((()=>(0,t._)("div",{class:"param-name"},"Manufacturer Name",-1))),Ra=["textContent"],za={class:"row"},Da=vn((()=>(0,t._)("div",{class:"param-name"},"Capabilities",-1))),Na=["textContent"],qa={class:"row"},Ia=vn((()=>(0,t._)("div",{class:"param-name"},"Command Classes",-1))),Sa=["textContent"],ja={class:"row"},Va=vn((()=>(0,t._)("div",{class:"param-name"},"Groups",-1))),Ma=["textContent"],Oa={key:3,class:"row"},Za=vn((()=>(0,t._)("div",{class:"param-name"},"Home ID",-1))),Aa=["textContent"],Ua={class:"row"},Ta=vn((()=>(0,t._)("div",{class:"param-name"},"Is Awake",-1))),Ea=["textContent"],$a={key:4,class:"row"},Wa=vn((()=>(0,t._)("div",{class:"param-name"},"Is Locked",-1))),Fa=["textContent"],Ha={key:5,class:"row"},Ga=vn((()=>(0,t._)("div",{class:"param-name"},"Last Update",-1))),Ka=["textContent"],La={key:6,class:"row"},Ba=vn((()=>(0,t._)("div",{class:"param-name"},"Baud Rate",-1))),Ya=["textContent"],Pa={key:7,class:"row"},Ja=vn((()=>(0,t._)("div",{class:"param-name"},"Max Baud Rate",-1))),Qa=["textContent"],Xa={class:"section actions"},et=vn((()=>(0,t._)("div",{class:"header"},[(0,t._)("div",{class:"title"},"Actions")],-1))),nt={class:"body"},at=vn((()=>(0,t._)("div",{class:"param-name"},"Remove Failed Node",-1))),tt=vn((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fa fa-trash"})],-1))),st=[at,tt],it=vn((()=>(0,t._)("div",{class:"param-name"},"Replace Failed Node",-1))),lt=vn((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fa fa-sync-alt"})],-1))),ot=[it,lt],dt=vn((()=>(0,t._)("div",{class:"param-name"},"Heal Node",-1))),ct=vn((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fas fa-wrench"})],-1))),rt=[dt,ct],ut=vn((()=>(0,t._)("div",{class:"param-name"},"Replicate info to secondary controller",-1))),mt=vn((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fa fa-clone"})],-1))),vt=[ut,mt],pt=vn((()=>(0,t._)("div",{class:"param-name"},"Request network update",-1))),_t=vn((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fas fa-wifi"})],-1))),ht=[pt,_t],wt=vn((()=>(0,t._)("div",{class:"param-name"},"Request neighbours update",-1))),gt=vn((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fas fa-network-wired"})],-1))),yt=[wt,gt];function ft(e,n,a,i,l,o){return(0,t.wg)(),(0,t.iD)("div",{class:(0,s.C_)(["item node",{selected:a.selected}])},[(0,t._)("div",{class:(0,s.C_)(["row name header vertical-center",{selected:a.selected}]),textContent:(0,s.zw)(a.node.name&&a.node.name.length?a.node.name:``),onClick:n[0]||(n[0]=n=>e.$emit("select"))},null,10,pn),a.selected?((0,t.wg)(),(0,t.iD)("div",_n,[(0,t._)("div",hn,[wn,(0,t._)("div",gn,[(0,t._)("div",{class:(0,s.C_)(["edit-cell",{hidden:!l.editMode.name}])},[(0,t._)("form",{ref:"nameForm",onSubmit:n[2]||(n[2]=(0,mn.iM)(((...e)=>o.editName&&o.editName(...e)),["prevent"]))},[(0,t._)("label",null,[(0,t._)("input",{type:"text",name:"name",value:a.node.name,disabled:l.commandRunning},null,8,yn)]),(0,t._)("span",fn,[(0,t._)("button",{type:"button",class:"btn btn-default",onClick:n[1]||(n[1]=e=>l.editMode.name=!1)},bn),(0,t._)("button",{type:"submit",class:"btn btn-default",disabled:l.commandRunning},Rn,8,Cn)])],544)],2),(0,t._)("div",{class:(0,s.C_)({hidden:l.editMode.name})},[(0,t._)("span",{textContent:(0,s.zw)(a.node.name?.length?a.node.name:``)},null,8,zn),(0,t._)("span",Dn,[(0,t._)("button",{type:"button",class:"btn btn-default",onClick:n[3]||(n[3]=e=>o.onEditMode("name")),disabled:l.commandRunning},In,8,Nn)])],2)])]),(0,t._)("div",Sn,[jn,(0,t._)("div",Vn,[(0,t._)("div",{class:(0,s.C_)(["edit-cell",{hidden:!l.editMode.location}])},[(0,t._)("form",{ref:"locationForm",onSubmit:n[5]||(n[5]=(0,mn.iM)(((...e)=>o.editLocation&&o.editLocation(...e)),["prevent"]))},[(0,t._)("label",null,[(0,t._)("input",{type:"text",name:"location",value:a.node.location,disabled:l.commandRunning},null,8,Mn)]),(0,t._)("span",On,[(0,t._)("button",{type:"button",class:"btn btn-default",onClick:n[4]||(n[4]=e=>l.editMode.location=!1)},An),(0,t._)("button",{type:"submit",class:"btn btn-default",disabled:l.commandRunning},En,8,Un)])],544)],2),(0,t._)("div",{class:(0,s.C_)({hidden:l.editMode.location})},[(0,t._)("span",{textContent:(0,s.zw)(a.node.location?.length?a.node.location:"")},null,8,$n),(0,t._)("span",Wn,[(0,t._)("button",{type:"button",class:"btn btn-default",onClick:n[6]||(n[6]=e=>o.onEditMode("location")),disabled:l.commandRunning},Gn,8,Fn)])],2)])]),(0,t._)("div",Kn,[Ln,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.type)},null,8,Bn)]),(0,t._)("div",Yn,[Pn,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.role)},null,8,Jn)]),(0,t._)("div",Qn,[Xn,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.node_id)},null,8,ea)]),a.node.neighbours.length?((0,t.wg)(),(0,t.iD)("div",na,[aa,(0,t._)("div",ta,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(a.node.neighbours,((e,n)=>((0,t.wg)(),(0,t.iD)("div",{class:"row pull-right",key:n,textContent:(0,s.zw)(e)},null,8,sa)))),128))])])):(0,t.kq)("",!0),(0,t._)("div",ia,[la,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.is_ready)},null,8,oa)]),(0,t._)("div",da,[ca,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.is_failed)},null,8,ra)]),(0,t._)("div",ua,[ma,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.manufacturer_id)},null,8,va)]),(0,t._)("div",pa,[_a,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.product_type)},null,8,ha)]),a.node.product_name?.length?((0,t.wg)(),(0,t.iD)("div",wa,[ga,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.product_name)},null,8,ya)])):(0,t.kq)("",!0),(0,t._)("div",fa,[ka,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.manufacturer_id)},null,8,ba)]),a.node.manufacturer_name?.length?((0,t.wg)(),(0,t.iD)("div",Ca,[xa,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.manufacturer_name)},null,8,Ra)])):(0,t.kq)("",!0),(0,t._)("div",za,[Da,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.capabilities.join(", "))},null,8,Na)]),(0,t._)("div",qa,[Ia,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.command_classes.join(", "))},null,8,Sa)]),(0,t._)("div",ja,[Va,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(Object.values(a.node.groups).map((e=>e.label||"")).join(", "))},null,8,Ma)]),a.node.home_id?((0,t.wg)(),(0,t.iD)("div",Oa,[Za,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.home_id.toString(16))},null,8,Aa)])):(0,t.kq)("",!0),(0,t._)("div",Ua,[Ta,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.is_awake)},null,8,Ea)]),null!=a.node.is_locked?((0,t.wg)(),(0,t.iD)("div",$a,[Wa,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.is_locked)},null,8,Fa)])):(0,t.kq)("",!0),a.node.last_update?((0,t.wg)(),(0,t.iD)("div",Ha,[Ga,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(e.formatDateTime(a.node.last_update))},null,8,Ka)])):(0,t.kq)("",!0),a.node.baud_rate?((0,t.wg)(),(0,t.iD)("div",La,[Ba,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.baud_rate)},null,8,Ya)])):(0,t.kq)("",!0),a.node.max_baud_rate?((0,t.wg)(),(0,t.iD)("div",Pa,[Ja,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.node.max_baud_rate)},null,8,Qa)])):(0,t.kq)("",!0),(0,t._)("div",Xa,[et,(0,t._)("div",nt,[a.node.is_failed?((0,t.wg)(),(0,t.iD)("div",{key:0,class:"row error",onClick:n[7]||(n[7]=(...e)=>o.removeFailedNode&&o.removeFailedNode(...e))},st)):(0,t.kq)("",!0),a.node.is_failed?((0,t.wg)(),(0,t.iD)("div",{key:1,class:"row error",onClick:n[8]||(n[8]=(...e)=>o.replaceFailedNode&&o.replaceFailedNode(...e))},ot)):(0,t.kq)("",!0),(0,t._)("div",{class:"row",onClick:n[9]||(n[9]=(...e)=>o.heal&&o.heal(...e))},rt),(0,t._)("div",{class:"row",onClick:n[10]||(n[10]=(...e)=>o.replicationSend&&o.replicationSend(...e))},vt),(0,t._)("div",{class:"row",onClick:n[11]||(n[11]=(...e)=>o.requestNetworkUpdate&&o.requestNetworkUpdate(...e))},ht),(0,t._)("div",{class:"row",onClick:n[12]||(n[12]=(...e)=>o.requestNeighbourUpdate&&o.requestNeighbourUpdate(...e))},yt)])])])):(0,t.kq)("",!0)],2)}var kt={name:"Node",emits:["select"],mixins:[on],props:{node:{type:Object,required:!0},selected:{type:Boolean,default:!1}},data(){return{commandRunning:!1,editMode:{name:!1,location:!1}}},methods:{async removeFailedNode(){if(this.commandRunning)this.notify({text:"A command is already running"});else if(confirm("Are you sure that you want to remove this node?")){this.commandRunning=!0;try{await this.zrequest("remove_node",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},async replaceFailedNode(){if(this.commandRunning)this.notify({text:"A command is already running"});else if(confirm("Are you sure that you want to replace this node?")){this.commandRunning=!0;try{await this.zrequest("replace_node",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},async replicationSend(){if(this.commandRunning)this.notify({text:"A command is already running"});else{this.commandRunning=!0;try{await this.zrequest("replication_send",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},async requestNetworkUpdate(){if(this.commandRunning)this.notify({text:"A command is already running"});else{this.commandRunning=!0;try{await this.zrequest("request_network_update",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},async requestNeighbourUpdate(){if(this.commandRunning)this.notify({text:"A command is already running"});else{this.commandRunning=!0;try{await this.zrequest("request_node_neighbour_update",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}},onEditMode(e){this.editMode[e]=!0;const n=this.$refs[e+"Form"],a=n.querySelector("input[type=text]");setTimeout((()=>{a.focus(),a.select()}),10)},async editName(e){const n=e.target.querySelector("input[name=name]").value;this.commandRunning=!0;try{await this.zrequest("set_node_name",{node_id:this.node.node_id,new_name:n})}finally{this.commandRunning=!1}this.editMode.name=!1},async editLocation(e){const n=e.target.querySelector("input[name=location]").value;this.commandRunning=!0;try{await this.zrequest("set_node_location",{node_id:this.node.node_id,location:n})}finally{this.commandRunning=!1}this.editMode.location=!1},async heal(){if(this.commandRunning)console.log("A command is already running");else{this.commandRunning=!0;try{await this.zrequest("node_heal",{node_id:this.node.node_id})}finally{this.commandRunning=!1}}}}};const bt=(0,cn.Z)(kt,[["render",ft],["__scopeId","data-v-3da196a6"]]);var Ct=bt,xt=a(9642),Rt=a(7021),zt=a(455),Dt=a(1232),Nt=a(3567);const qt=e=>((0,t.dD)("data-v-0021cd76"),e=e(),(0,t.Cn)(),e),It={class:"section value"},St={class:"header"},jt={class:"title"},Vt=["disabled","data-id-on-network"],Mt=qt((()=>(0,t._)("i",{class:"fa fa-edit"},null,-1))),Ot=[Mt],Zt={class:"body"},At={class:"row"},Ut=qt((()=>(0,t._)("div",{class:"param-name"},"Value",-1))),Tt={class:"param-value"},Et={key:0,class:"value-view"},$t=["textContent"],Wt=["textContent"],Ft={key:1,class:"value-edit"},Ht={key:0,class:"list"},Gt=["textContent","selected","value"],Kt={key:1,class:"numeric slider-container"},Lt={class:"col-10"},Bt={class:"row"},Yt=["textContent"],Pt=["textContent"],Jt={class:"row"},Qt={class:"col-2"},Xt=["value"],es={key:2,class:"boolean"},ns={key:3,class:"value-data"},as=["value"],ts=["textContent"],ss=qt((()=>(0,t._)("div",{class:"param-name"},"Remove From Scene",-1))),is=qt((()=>(0,t._)("div",{class:"param-value"},[(0,t._)("i",{class:"fa fa-trash"})],-1))),ls=[ss,is],os={key:1,class:"row",style:{cursor:"pointer"}},ds=qt((()=>(0,t._)("div",{class:"param-name"},"Add To Scene",-1))),cs={class:"param-value"},rs={key:2,class:"row"},us=qt((()=>(0,t._)("div",{class:"param-name"},"Help",-1))),ms=["textContent"],vs={class:"row"},ps=qt((()=>(0,t._)("div",{class:"param-name"},"Value ID",-1))),_s=["textContent"],hs={key:3,class:"row"},ws=qt((()=>(0,t._)("div",{class:"param-name"},"ID on Network",-1))),gs=["textContent"],ys={class:"row"},fs=qt((()=>(0,t._)("div",{class:"param-name"},"Command Class",-1))),ks=["textContent"],bs={key:4,class:"row"},Cs=qt((()=>(0,t._)("div",{class:"param-name"},"Last Update",-1))),xs=["textContent"];function Rs(e,n,a,i,l,o){const d=(0,t.up)("Slider"),c=(0,t.up)("ToggleSwitch"),r=(0,t.up)("DropdownItem"),u=(0,t.up)("Dropdown");return(0,t.wg)(),(0,t.iD)("div",It,[(0,t._)("div",St,[(0,t._)("div",jt,[(0,t._)("button",{class:"btn btn-default btn-value-name-edit",title:"Edit value name",disabled:l.commandRunning,"data-id-on-network":a.value.id_on_network,onClick:n[0]||(n[0]=(...e)=>o.editName&&o.editName(...e))},Ot,8,Vt),(0,t.Uk)(" "+(0,s.zw)(a.value.label),1)])]),(0,t._)("div",Zt,[(0,t._)("div",At,[Ut,(0,t._)("div",Tt,[a.value.is_read_only?((0,t.wg)(),(0,t.iD)("div",Et,[(0,t._)("div",{class:"value-data",textContent:(0,s.zw)(a.value.data)},null,8,$t),a.value.units?.length?((0,t.wg)(),(0,t.iD)("div",{key:0,class:"unit",textContent:(0,s.zw)(a.value.units)},null,8,Wt)):(0,t.kq)("",!0)])):((0,t.wg)(),(0,t.iD)("div",Ft,[(0,t._)("div",{class:(0,s.C_)(["col-"+(a.value.units?.length?"11":"12")])},["List"===a.value.type?((0,t.wg)(),(0,t.iD)("div",Ht,[(0,t._)("label",null,[(0,t._)("select",{onChange:n[1]||(n[1]=(...e)=>o.onValueChange&&o.onValueChange(...e))},[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(a.value.data_items,((e,n)=>((0,t.wg)(),(0,t.iD)("option",{textContent:(0,s.zw)("object"===typeof e?e.text:e),key:n,selected:"object"===typeof e?a.value.data===e.value:a.value.data===e,value:"object"===typeof e?e.value:n},null,8,Gt)))),128))],32)])])):["Int","Long","Byte","Decimal","Short"].indexOf(a.value.type)>=0?((0,t.wg)(),(0,t.iD)("div",Kt,[(0,t._)("div",Lt,[(0,t._)("div",Bt,[(0,t._)("span",{class:"value-min",textContent:(0,s.zw)(a.value.min)},null,8,Yt),(0,t._)("span",{class:"value-max",textContent:(0,s.zw)(a.value.max)},null,8,Pt)]),(0,t._)("div",Jt,[(0,t._)("label",null,[(0,t.Wm)(d,{range:[a.value.min,a.value.max],value:a.value.data,onChange:o.onValueChange},null,8,["range","value","onChange"])])])]),(0,t._)("div",Qt,[(0,t._)("label",null,[(0,t._)("input",{type:"text",value:a.value.data,onChange:n[2]||(n[2]=(...e)=>o.onValueChange&&o.onValueChange(...e))},null,40,Xt)])])])):["Bool","Button"].indexOf(a.value.type)>=0?((0,t.wg)(),(0,t.iD)("div",es,[(0,t.Wm)(c,{value:a.value.data,onInput:n[3]||(n[3]=e=>o.onValueChange(e,!a.value.data))},null,8,["value"])])):((0,t.wg)(),(0,t.iD)("div",ns,[(0,t._)("label",null,[(0,t._)("input",{type:"text",value:a.value.data,onChange:n[4]||(n[4]=(...e)=>o.onValueChange&&o.onValueChange(...e))},null,40,as)])]))],2),a.value.units?.length?((0,t.wg)(),(0,t.iD)("div",{key:0,class:"col-1 unit",textContent:(0,s.zw)(a.value.units)},null,8,ts)):(0,t.kq)("",!0)]))])]),null!=a.sceneId?((0,t.wg)(),(0,t.iD)("div",{key:0,class:"row",style:{cursor:"pointer"},onClick:n[5]||(n[5]=n=>e.$emit("remove-from-scene",{valueId:a.value.id_on_network,sceneId:a.sceneId}))},ls)):(0,t.kq)("",!0),o.addValueToSceneItems?.length?((0,t.wg)(),(0,t.iD)("div",os,[ds,(0,t._)("div",cs,[(0,t.Wm)(u,{title:"Add to scene","icon-class":"fa fa-plus"},{default:(0,t.w5)((()=>[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(o.addValueToSceneItems,((n,s)=>((0,t.wg)(),(0,t.j4)(r,{key:s,text:n.label,disabled:l.commandRunning,onClick:t=>e.$emit("add-to-scene",{sceneId:n.scene_id,valueId:a.value.id_on_network})},null,8,["text","disabled","onClick"])))),128))])),_:1})])])):(0,t.kq)("",!0),a.value.help?.length?((0,t.wg)(),(0,t.iD)("div",rs,[us,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.value.help)},null,8,ms)])):(0,t.kq)("",!0),(0,t._)("div",vs,[ps,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.value.value_id)},null,8,_s)]),a.value.value_id!==a.value.id_on_network?((0,t.wg)(),(0,t.iD)("div",hs,[ws,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.value.id_on_network)},null,8,gs)])):(0,t.kq)("",!0),(0,t._)("div",ys,[fs,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(a.value.command_class_name||a.value.command_class)},null,8,ks)]),a.value.last_update?((0,t.wg)(),(0,t.iD)("div",bs,[Cs,(0,t._)("div",{class:"param-value",textContent:(0,s.zw)(e.formatDateTime(a.value.last_update))},null,8,xs)])):(0,t.kq)("",!0)])])}var zs=a(1120),Ds={name:"Value",components:{Slider:zs.Z,Dropdown:Rt.Z,DropdownItem:zt.Z,ToggleSwitch:Nt.Z},mixins:[on],emits:["remove-from-scene","add-to-scene","refresh"],props:{value:{type:Object,required:!0},node:{type:Object,required:!0},selected:{type:Boolean,default:!1},sceneId:{type:Number},scenes:{type:Object,default:()=>({})}},data(){return{commandRunning:!1}},computed:{addValueToSceneItems(){return Object.values(this.scenes||{}).filter((e=>!(this.value.id_on_network in e.values)))}},methods:{async editName(){const e=this.node.values[this.value.id_on_network];let n=prompt("New name",e.label);if(n?.length&&(n=n.trim()),n?.length&&n!==e.label){this.commandRunning=!0;try{await this.zrequest("set_value_label",{id_on_network:e.id_on_network,new_label:n})}finally{this.commandRunning=!1}this.$emit("refresh"),this.notify({text:"Value successfully renamed",image:{iconClass:"fa fa-check"}})}},async onValueChange(e,n){const a=e.target?e.target:e.event.target.parentElement,t=this.node.values[this.value.id_on_network];switch(void 0===n&&(n=null!=a.value?a.value:e.value),t.type){case"List":n=t.data_items[e.target.value];break;case"Int":case"Short":case"Long":case"Byte":n=parseInt(n);break;case"Decimal":n=parseFloat(n);break}"object"===typeof n&&(n=n.value),this.commandRunning=!0;try{await this.zrequest("set_value",{id_on_network:t.id_on_network,data:n})}finally{this.commandRunning=!1}this.$emit("refresh"),this.notify({text:"Value successfully modified",image:{iconClass:"fa fa-check"}})}}};const Ns=(0,cn.Z)(Ds,[["render",Rs],["__scopeId","data-v-0021cd76"]]);var qs=Ns,Is={name:"Zwave",components:{Value:qs,ToggleSwitch:Nt.Z,Loading:Dt.Z,DropdownItem:zt.Z,Dropdown:Rt.Z,Modal:xt.Z,Group:un,Node:Ct},mixins:[on],data(){return{status:{},views:{},nodes:{},groups:{},scenes:{},commandRunning:!1,values:{switches:{},dimmers:{},sensors:{},battery_levels:{},power_levels:{},bulbs:{},doorlocks:{},usercodes:{},thermostats:{},protections:{}},selected:{view:"nodes",nodeId:void 0,groupId:void 0,sceneId:void 0,valueId:void 0},loading:{status:!1,nodes:!1,groups:!1,scenes:!1}}},computed:{valuesMap(){const e={};for(const n of Object.values(this.nodes))for(const a of Object.values(n.values))e[a.id_on_network]=a;return e}},methods:{async refreshNodes(){this.loading.nodes=!0;try{this.nodes=await this.zrequest("get_nodes")}finally{this.loading.nodes=!1}Object.keys(this.nodes||{}).length&&(this.views.values=!0)},async refreshGroups(){this.loading.groups=!0;try{this.groups=Object.values(await this.zrequest("get_groups")).filter((e=>e.index)).reduce(((e,n)=>{const a=n.group_id||n.index;return e[a]=n,e}),{})}finally{this.loading.groups=!1}Object.keys(this.groups||{}).length&&(this.views.groups=!0)},async refreshScenes(){this.loading.scenes=!0;try{this.scenes=Object.values(await this.zrequest("get_scenes")).filter((e=>e.scene_id)).reduce(((e,n)=>(e[n.scene_id]=n,e)),{})}finally{this.loading.scenes=!1}Object.keys(this.scenes||{}).length&&(this.views.values=!0)},async refreshValues(e){this.loading.values=!0;try{this.values[e]=Object.values(await this.zrequest("get_"+e)).filter((e=>e.id_on_network)).reduce(((e,n)=>(e[n.id_on_network]=!0,e)),{})}finally{this.loading.values=!1}Object.keys(this.values[e]).length&&(this.views[e]=!0)},async refreshStatus(){this.loading.status=!0;try{this.status=await this.zrequest("status")}finally{this.loading.status=!1}},refresh(){this.views={nodes:!0,scenes:!0},this.refreshNodes(),this.refreshGroups(),this.refreshScenes(),this.refreshValues("switches"),this.refreshValues("dimmers"),this.refreshValues("sensors"),this.refreshValues("bulbs"),this.refreshValues("doorlocks"),this.refreshValues("usercodes"),this.refreshValues("thermostats"),this.refreshValues("protections"),this.refreshValues("battery_levels"),this.refreshValues("power_levels"),this.refreshValues("node_config"),this.refreshStatus()},async addScene(){let e=prompt("Scene name");if(e?.length&&(e=e.trim()),e?.length){this.commandRunning=!0;try{await this.zrequest("create_scene",{label:e}),await this.refreshScenes()}finally{this.commandRunning=!1}}},async removeScene(e){if(confirm("Are you sure that you want to delete this scene?")){this.commandRunning=!0;try{await this.zrequest("remove_scene",{scene_id:e}),await this.refreshScenes()}finally{this.commandRunning=!1}}},onNodeUpdate(e){this.nodes[e.node.node_id]=e.node,e.value&&(this.nodes[e.node.node_id].values[e.value.id_on_network]=e.value)},onNodeClick(e){this.selected.nodeId=e===this.selected.nodeId?void 0:e},networkInfoModalOpen(){this.refreshStatus(),this.$refs.networkInfoModal.show()},onCommandEvent(e){e.error&&e.error.length&&this.notify({text:e.state_description+": "+e.error_description,error:!0})},async addNode(){this.commandRunning=!0;try{await this.zrequest("add_node")}finally{this.commandRunning=!1}await this.refreshNodes()},async addToGroup(e,n){this.commandRunning=!0;try{await this.zrequest("add_node_to_group",{node_id:e,group_index:n})}finally{this.commandRunning=!1}await this.refreshGroups()},async removeNode(){this.commandRunning=!0;try{await this.zrequest("remove_node")}finally{this.commandRunning=!1}await this.refreshNodes()},async removeValueFromScene(e){if(confirm("Are you sure that you want to remove this value from the scene?")){this.commandRunning=!0;try{await this.zrequest("scene_remove_value",{id_on_network:e.valueId,scene_id:e.sceneId})}finally{this.commandRunning=!1}await this.refreshScenes()}},async renameScene(e){const n=this.scenes[e];let a=prompt("New name",n.label);if(a&&(a=a.trim()),a?.length&&a!==n.label){this.commandRunning=!0;try{await this.zrequest("set_scene_label",{new_label:a,scene_id:e})}finally{this.commandRunning=!1}await this.refreshScenes()}},async startNetwork(){this.commandRunning=!0;try{await this.zrequest("start_network")}finally{this.commandRunning=!1}},async stopNetwork(){this.commandRunning=!0;try{await this.zrequest("stop_network")}finally{this.commandRunning=!1}},async switchAll(e){this.commandRunning=!0;try{await this.zrequest("switch_all",{state:e}),this.refresh()}finally{this.commandRunning=!1}},async cancelCommand(){this.commandRunning=!0;try{await this.zrequest("cancel_command")}finally{this.commandRunning=!1}},async killCommand(){this.commandRunning=!0;try{await this.zrequest("kill_command")}finally{this.commandRunning=!1}},async receiveConfiguration(){this.commandRunning=!0;try{await this.zrequest("receive_configuration")}finally{this.commandRunning=!1}this.refresh()},async createNewPrimary(){this.commandRunning=!0;try{await this.zrequest("create_new_primary")}finally{this.commandRunning=!1}this.refresh()},async transferPrimaryRole(){this.commandRunning=!0;try{await this.zrequest("transfer_primary_role")}finally{this.commandRunning=!1}this.refresh()},async healNetwork(){this.commandRunning=!0;try{await this.zrequest("heal")}finally{this.commandRunning=!1}this.refresh()},async softReset(){confirm("Are you sure that you want to do a device soft reset? This won't lose network information")&&await this.zrequest("soft_reset")},async hardReset(){confirm("Are you sure that you want to do a device soft reset? All network information will be LOST!")&&await this.zrequest("hard_reset")},async activateScene(e){this.commandRunning=!0;try{await this.zrequest("activate_scene",{scene_id:e})}finally{this.commandRunning=!1}},async addValueToScene(e){this.commandRunning=!0;try{await this.zrequest("scene_add_value",{id_on_network:e.valueId,scene_id:e.sceneId,data:this.valuesMap[e.valueId].data})}finally{this.commandRunning=!1}this.refresh()}},mounted(){this.refresh(),this.subscribe(this.refreshGroups,"on-zwave-node-group-event","platypush.message.event.zwave.ZwaveNodeGroupEvent"),this.subscribe(this.refreshScenes,"on-zwave-node-scene-event","platypush.message.event.zwave.ZwaveNodeSceneEvent"),this.subscribe(this.refreshNodes,"on-zwave-node-removed-event","platypush.message.event.zwave.ZwaveNodeRemovedEvent"),this.subscribe(this.onCommandEvent,"on-zwave-command-event","platypush.message.event.zwave.ZwaveCommandEvent"),this.subscribe(this.refreshStatus,"on-zwave-network-event","platypush.message.event.zwave.ZwaveNetworkReadyEvent","platypush.message.event.zwave.ZwaveNetworkStoppedEvent","platypush.message.event.zwave.ZwaveNetworkErrorEvent","platypush.message.event.zwave.ZwaveNetworkResetEvent"),this.subscribe(this.onNodeUpdate,"on-zwave-node-update-event","platypush.message.event.zwave.ZwaveNodeEvent","platypush.message.event.zwave.ZwaveNodeAddedEvent","platypush.message.event.zwave.ZwaveNodeRenamedEvent","platypush.message.event.zwave.ZwaveNodeReadyEvent","platypush.message.event.zwave.ZwaveValueAddedEvent","platypush.message.event.zwave.ZwaveValueChangedEvent","platypush.message.event.zwave.ZwaveValueRemovedEvent","platypush.message.event.zwave.ZwaveValueRefreshedEvent")},unmounted(){["on-zwave-node-group-event","on-zwave-node-scene-event","on-zwave-node-removed-event","on-zwave-command-event","on-zwave-network-event","on-zwave-node-update-event"].forEach((e=>this.unsubscribe(e)))}};const Ss=(0,cn.Z)(Is,[["render",qe]]);var js=Ss}}]); -//# sourceMappingURL=4764.ea0fe8cf.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/4764.ea0fe8cf.js.map b/platypush/backend/http/webapp/dist/static/js/4764.ea0fe8cf.js.map deleted file mode 100644 index 3e411ed47..000000000 --- a/platypush/backend/http/webapp/dist/static/js/4764.ea0fe8cf.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/4764.ea0fe8cf.js","mappings":"6LACSA,MAAM,kB,6CAYPA,MAAM,S,GACJA,MAAM,cAAcC,IAAI,S,GAE1BD,MAAM,QAAQC,IAAI,S,4DAfxB,QAiBQ,QAjBR,EAiBQ,EAhBN,OASgC,SATzBD,MAAM,SAASE,KAAK,QAAQD,IAAI,QAASE,IAAK,EAAAC,MAAK,GAAMC,IAAK,EAAAD,MAAK,GAClEE,KAAM,EAAAA,KAAOC,SAAU,EAAAA,SAAWC,MAAO,EAAAA,MACzC,QAAK,8BAAO,EAAAC,UAAA,EAAAA,YAAA,IAAQ,WACpB,SAAM,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACrB,UAAO,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACtB,YAAS,8BAAO,EAAAA,UAAA,EAAAA,YAAA,IAAQ,WACxB,aAAU,8BAAO,EAAAA,UAAA,EAAAA,YAA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AGPnG,KAAKsG,SAAS,eAGtBR,kBACOK,QAAQ,sGAGPnG,KAAKsG,SAAS,eAGtBR,oBAAoBpB,GAClB1E,KAAK2C,gBAAiB,EACtB,UACQ3C,KAAKsG,SAAS,iBAAkB,CAACiD,SAAU7E,IADnD,QAGE1E,KAAK2C,gBAAiB,IAI1BmD,sBAAsB/F,GACpBC,KAAK2C,gBAAiB,EACtB,UACQ3C,KAAKsG,SAAS,kBAAmB,CACrCzB,cAAe9E,EAAMoF,QACrBoE,SAAUxJ,EAAM2E,QAChBK,KAAM/E,KAAK8E,UAAU/E,EAAMoF,SAASJ,OAJxC,QAOE/E,KAAK2C,gBAAiB,EAGxB3C,KAAK0D,YAIT9C,UACEZ,KAAK0D,UAEL1D,KAAKqM,UAAUrM,KAAK2L,cAAe,4BAC/B,qDAEJ3L,KAAKqM,UAAUrM,KAAK4L,cAAe,4BAC/B,qDAEJ5L,KAAKqM,UAAUrM,KAAKqF,aAAc,8BAC9B,uDAEJrF,KAAKqM,UAAUrM,KAAKiM,eAAgB,yBAChC,mDAEJjM,KAAKqM,UAAUrM,KAAK8L,cAAe,yBAC/B,uDACA,yDACA,uDACA,wDAEJ9L,KAAKqM,UAAUrM,KAAK+L,aAAc,6BAC9B,+CACA,oDACA,sDACA,oDACA,qDACA,uDACA,uDACA,2DAGNO,YACE,CACE,4BAA6B,4BAA6B,8BAA+B,yBACzF,yBAA0B,8BAC1BC,SAASC,GAAcxM,KAAKyM,YAAYD,OQhqB9C,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,SAAS1L,MAEpE","sources":["webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Zwave/Zwave.vue","webpack://platypush/./src/components/panels/Zwave/Group.vue","webpack://platypush/./src/components/panels/Zwave/mixin.js","webpack://platypush/./src/components/panels/Zwave/Group.vue?d37f","webpack://platypush/./src/components/panels/Zwave/Node.vue","webpack://platypush/./src/components/panels/Zwave/Node.vue?4a32","webpack://platypush/./src/components/panels/Zwave/Value.vue","webpack://platypush/./src/components/panels/Zwave/Value.vue?c87f","webpack://platypush/./src/components/panels/Zwave/Zwave.vue?dac2"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import Utils from \"@/Utils\";\n\nexport default {\n mixins: [Utils],\n props: {\n pluginName: {\n type: String,\n required: true,\n },\n },\n\n methods: {\n async zrequest(method, args) {\n return await this.request(`${this.pluginName}.${method}`, args)\n },\n }\n}\n","import { render } from \"./Group.vue?vue&type=template&id=56458f8e&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=56458f8e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-56458f8e\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Node.vue?vue&type=template&id=3da196a6&scoped=true\"\nimport script from \"./Node.vue?vue&type=script&lang=js\"\nexport * from \"./Node.vue?vue&type=script&lang=js\"\n\nimport \"./Node.vue?vue&type=style&index=0&id=3da196a6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3da196a6\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Value.vue?vue&type=template&id=0021cd76&scoped=true\"\nimport script from \"./Value.vue?vue&type=script&lang=js\"\nexport * from \"./Value.vue?vue&type=script&lang=js\"\n\nimport \"./Value.vue?vue&type=style&index=0&id=0021cd76&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0021cd76\"]])\n\nexport default __exports__","import { render } from \"./Zwave.vue?vue&type=template&id=4a234aca\"\nimport script from \"./Zwave.vue?vue&type=script&lang=js\"\nexport * from \"./Zwave.vue?vue&type=script&lang=js\"\n\nimport \"./Zwave.vue?vue&type=style&index=0&id=4a234aca&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","ref","type","min","range","max","step","disabled","value","onUpdate","withLabel","name","emits","props","Number","Boolean","default","Array","methods","event","this","update","target","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","stopPropagation","title","loading","status","state","device","stats","key","selected","groupId","Object","values","nodes","filter","node","addToGroup","node_id","view","$event","views","id","toUpperCase","slice","replace","addScene","text","commandRunning","networkInfoModalOpen","startNetwork","stopNetwork","addNode","removeNode","switchAll","cancelCommand","killCommand","receiveConfiguration","createNewPrimary","transferPrimaryRole","healNetwork","softReset","hardReset","refresh","keys","length","nodeId","pluginName","onNodeClick","groups","group","associations","map","owner","undefined","addNodesToGroupModal","show","scenes","scene","sceneId","label","activateScene","id_on_network","valuesMap","data","removeValueFromScene","removeScene","renameScene","valueId","addValueToScene","refreshNodes","index","max_associations","i","removeFromGroup","mixins","Utils","String","required","async","method","args","request","mixin","confirm","group_id","group_index","zrequest","editMode","editName","onEditMode","location","editLocation","role","neighbours","neighbour","is_ready","is_failed","manufacturer_id","product_type","product_name","manufacturer_name","capabilities","join","command_classes","g","home_id","toString","is_awake","is_locked","last_update","baud_rate","max_baud_rate","removeFailedNode","replaceFailedNode","heal","replicationSend","requestNetworkUpdate","requestNeighbourUpdate","notify","mode","form","input","querySelector","setTimeout","focus","select","new_name","console","log","is_read_only","units","onValueChange","data_items","indexOf","addValueToSceneItems","scene_id","help","value_id","command_class_name","command_class","components","Slider","Dropdown","DropdownItem","ToggleSwitch","computed","prompt","trim","new_label","image","iconClass","parentElement","parseInt","parseFloat","Value","Loading","Modal","Group","Node","switches","dimmers","sensors","battery_levels","power_levels","bulbs","doorlocks","usercodes","thermostats","protections","reduce","item","refreshGroups","refreshScenes","refreshValues","refreshStatus","onNodeUpdate","networkInfoModal","onCommandEvent","error","state_description","error_description","subscribe","unmounted","forEach","eventType","unsubscribe"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5210-legacy.38d0da8d.js b/platypush/backend/http/webapp/dist/static/js/5210-legacy.38d0da8d.js new file mode 100644 index 000000000..f616e1b3f --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/5210-legacy.38d0da8d.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5210],{6137:function(e,n,t){t.d(n,{Z:function(){return p}});var i=t(6252),o=t(3577),a=t(9963),s=function(e){return(0,i.dD)("data-v-8e097228"),e=e(),(0,i.Cn)(),e},c=["checked"],r=s((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),u={class:"label"};function l(e,n,t,s,l,d){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,a.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,c),(0,i._)("label",null,[r,(0,i._)("span",u,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},f=t(3744);const v=(0,f.Z)(d,[["render",l],["__scopeId","data-v-8e097228"]]);var p=v},4004:function(e,n,t){t.d(n,{Z:function(){return c}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(2628)),a={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,n){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==n&&(n=e),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:n});case 3:o=i.sent,t.devices[e].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=n.sent.reduce((function(e,n){var t,i=null!==(t=n.name)&&void 0!==t&&t.length?n.name:n.id;return e[i]=n,e}),{});case 5:return n.prev=5,e.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(n){n&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const s=a;var c=s},8671:function(e,n,t){t.d(n,{Z:function(){return m}});t(8309);var i=t(6252),o=t(9963),a=t(3577),s=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},c={class:"name col-l-10 col-m-9 col-s-8"},r=s((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),u=[r],l=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function f(e,n,t,s,r,f){var v=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:n[1]||(n[1]=(0,o.iM)((function(){return f.onToggle&&f.onToggle.apply(f,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(v,{key:0})):(0,i.kq)("",!0),(0,i._)("div",c,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:n[0]||(n[0]=(0,o.iM)((function(){return f.onInfo&&f.onInfo.apply(f,arguments)}),["prevent"]))},u)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,a.zw)(t.name)},null,8,l)]),(0,i._)("div",d,[(0,i.Wm)(p,{disabled:t.loading,value:t.state,onInput:f.onToggle},null,8,["disabled","value","onInput"])])])}var v=t(6137),p=t(1232),g={name:"Switch",components:{Loading:p.Z,ToggleSwitch:v.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},h=t(3744);const w=(0,h.Z)(g,[["render",f],["__scopeId","data-v-38eb9831"]]);var m=w},5210:function(e,n,t){t.r(n),t.d(n,{default:function(){return x}});t(7941),t(8309);var i=t(6252),o=t(3577),a=function(e){return(0,i.dD)("data-v-5c936ba2"),e=e(),(0,i.Cn)(),e},s={class:"switches wemo-switches"},c={key:1,class:"no-content"},r={key:0,class:"switch-info"},u={class:"row"},l=a((function(){return(0,i._)("div",{class:"name"},"Name",-1)})),d=["textContent"],f={class:"row"},v=a((function(){return(0,i._)("div",{class:"name"},"On",-1)})),p=["textContent"],g={class:"row"},h=a((function(){return(0,i._)("div",{class:"name"},"IP",-1)})),w=["textContent"];function m(e,n,t,a,m,_){var y=(0,i.up)("Loading"),k=(0,i.up)("Switch"),b=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",s,[e.loading?((0,i.wg)(),(0,i.j4)(y,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",c,"No WeMo switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(n,t){return(0,i.wg)(),(0,i.j4)(k,{loading:e.loading,name:t,state:n.on,onToggle:function(n){return e.toggle(t)},key:t,"has-info":!0,onInfo:function(n){e.selectedDevice=t,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])})),128)),(0,i.Wm)(b,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((function(){return[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",r,[(0,i._)("div",u,[l,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].name)},null,8,d)]),(0,i._)("div",f,[v,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].on)},null,8,p)]),(0,i._)("div",g,[h,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].ip)},null,8,w)])])):(0,i.kq)("",!0)]})),_:1},512)])}var _=t(1232),y=t(4004),k=t(8671),b=t(9642),I={name:"SwitchWemo",components:{Modal:b.Z,Switch:k.Z,Loading:_.Z},mixins:[y.Z]},C=t(3744);const D=(0,C.Z)(I,[["render",m],["__scopeId","data-v-5c936ba2"]]);var x=D}}]); +//# sourceMappingURL=5210-legacy.38d0da8d.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5210-legacy.38d0da8d.js.map b/platypush/backend/http/webapp/dist/static/js/5210-legacy.38d0da8d.js.map new file mode 100644 index 000000000..0fdd0ac01 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/5210-legacy.38d0da8d.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/5210-legacy.38d0da8d.js","mappings":"6RAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,M,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,wCAAO,EAAAC,SAAA,EAAAA,QAAA,qBAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QADO,SACCU,GACN,GAAIC,KAAKZ,SACP,OAAO,EAETY,KAAKC,MAAM,QAASF,M,UC9B1B,MAA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,OAArBA,MAAM,QAAO,MAAE,M,+HArB5B,QA0BM,MA1BN,EA0BM,CAzBW,EAAA2B,UAAA,WAAf,QAA0B,YACUJ,OAAOgC,KAAK,EAAAzB,SAASW,QAAzD,iBAAyD,WAAzD,QAA8F,MAA9F,EAAiE,8BAwB7D,aAtBJ,QAEsE,mBADrC,EAAAX,SAAO,SAAxBI,EAAQ5B,G,kBADxB,QAEsE,GAF7DqB,QAAS,EAAAA,QAAUrB,KAAMA,EAAO4C,MAAOhB,EAAOI,GAAK,SAAM,mBAAE,EAAAL,OAAO3B,IAChCkD,IAAKlD,EAAO,YAAU,EACxD,OAAI,YAAE,EAAAuB,eAAiBvB,EAAM,EAAAmD,MAAMC,gBAAgBC,SAF5D,iEAIA,QAiBQ,GAjBDC,MAAM,cAAcC,IAAI,mBAA/B,C,kBACE,iBAeM,CAfyB,EAAAhC,iBAAA,WAA/B,QAeM,MAfN,EAeM,EAdJ,OAGM,MAHN,EAGM,CAFJ,GACA,OAA2D,OAAtD7B,MAAM,Q,aAAQ,QAAqC,EAAtB,QAAC,EAAA6B,gBAAgBvB,OAAnD,aAGF,OAGM,MAHN,EAGM,CAFJ,GACA,OAAyD,OAApDN,MAAM,Q,aAAQ,QAAmC,EAApB,QAAC,EAAA6B,gBAAgBS,KAAnD,aAGF,OAGM,MAHN,EAGM,CAFJ,GACA,OAAyD,OAApDtC,MAAM,Q,aAAQ,QAAmC,EAApB,QAAC,EAAA6B,gBAAgBiC,KAAnD,gBAbJ,mB,KADF,O,4CA2BJ,GACExD,KAAM,aACN6C,WAAY,CAACY,MAAAA,EAAA,EAAOC,OAAAA,EAAA,EAAQZ,QAAAA,EAAA,GAC5BnC,OAAQ,CAAC,M,UChCX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchWemo/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchWemo/Index.vue?7364"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=5c936ba2&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=5c936ba2&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5c936ba2\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","key","$refs","switchInfoModal","show","title","ref","ip","Modal","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5210-legacy.d694eb5d.js b/platypush/backend/http/webapp/dist/static/js/5210-legacy.d694eb5d.js deleted file mode 100644 index 8a43bd913..000000000 --- a/platypush/backend/http/webapp/dist/static/js/5210-legacy.d694eb5d.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5210],{3567:function(e,n,t){t.d(n,{Z:function(){return v}});var i=t(6252),o=t(3577),a=function(e){return(0,i.dD)("data-v-8fae7678"),e=e(),(0,i.Cn)(),e},s=["checked"],r=a((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),c={class:"label"};function u(e,n,t,a,u,l){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=function(){return l.onInput&&l.onInput.apply(l,arguments)})},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,s),(0,i._)("label",null,[r,(0,i._)("span",c,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var l={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},d=t(3744);const f=(0,d.Z)(l,[["render",u],["__scopeId","data-v-8fae7678"]]);var v=f},4004:function(e,n,t){t.d(n,{Z:function(){return r}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(2628)),a={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,n){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==n&&(n=e),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:n});case 3:o=i.sent,t.devices[e].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=n.sent.reduce((function(e,n){var t,i=null!==(t=n.name)&&void 0!==t&&t.length?n.name:n.id;return e[i]=n,e}),{});case 5:return n.prev=5,e.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(n){n&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const s=a;var r=s},8671:function(e,n,t){t.d(n,{Z:function(){return m}});t(8309);var i=t(6252),o=t(9963),a=t(3577),s=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},r={class:"name col-l-10 col-m-9 col-s-8"},c=s((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),u=[c],l=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function f(e,n,t,s,c,f){var v=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:n[1]||(n[1]=(0,o.iM)((function(){return f.onToggle&&f.onToggle.apply(f,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(v,{key:0})):(0,i.kq)("",!0),(0,i._)("div",r,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:n[0]||(n[0]=(0,o.iM)((function(){return f.onInfo&&f.onInfo.apply(f,arguments)}),["prevent"]))},u)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,a.zw)(t.name)},null,8,l)]),(0,i._)("div",d,[(0,i.Wm)(p,{disabled:t.loading,value:t.state,onInput:f.onToggle},null,8,["disabled","value","onInput"])])])}var v=t(3567),p=t(1232),g={name:"Switch",components:{Loading:p.Z,ToggleSwitch:v.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},h=t(3744);const w=(0,h.Z)(g,[["render",f],["__scopeId","data-v-38eb9831"]]);var m=w},5210:function(e,n,t){t.r(n),t.d(n,{default:function(){return x}});t(7941),t(8309);var i=t(6252),o=t(3577),a=function(e){return(0,i.dD)("data-v-5c936ba2"),e=e(),(0,i.Cn)(),e},s={class:"switches wemo-switches"},r={key:1,class:"no-content"},c={key:0,class:"switch-info"},u={class:"row"},l=a((function(){return(0,i._)("div",{class:"name"},"Name",-1)})),d=["textContent"],f={class:"row"},v=a((function(){return(0,i._)("div",{class:"name"},"On",-1)})),p=["textContent"],g={class:"row"},h=a((function(){return(0,i._)("div",{class:"name"},"IP",-1)})),w=["textContent"];function m(e,n,t,a,m,_){var y=(0,i.up)("Loading"),k=(0,i.up)("Switch"),b=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",s,[e.loading?((0,i.wg)(),(0,i.j4)(y,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",r,"No WeMo switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(n,t){return(0,i.wg)(),(0,i.j4)(k,{loading:e.loading,name:t,state:n.on,onToggle:function(n){return e.toggle(t)},key:t,"has-info":!0,onInfo:function(n){e.selectedDevice=t,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])})),128)),(0,i.Wm)(b,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((function(){return[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",c,[(0,i._)("div",u,[l,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].name)},null,8,d)]),(0,i._)("div",f,[v,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].on)},null,8,p)]),(0,i._)("div",g,[h,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].ip)},null,8,w)])])):(0,i.kq)("",!0)]})),_:1},512)])}var _=t(1232),y=t(4004),k=t(8671),b=t(9642),I={name:"SwitchWemo",components:{Modal:b.Z,Switch:k.Z,Loading:_.Z},mixins:[y.Z]},C=t(3744);const D=(0,C.Z)(I,[["render",m],["__scopeId","data-v-5c936ba2"]]);var x=D}}]); -//# sourceMappingURL=5210-legacy.d694eb5d.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5210-legacy.d694eb5d.js.map b/platypush/backend/http/webapp/dist/static/js/5210-legacy.d694eb5d.js.map deleted file mode 100644 index 998ded940..000000000 --- a/platypush/backend/http/webapp/dist/static/js/5210-legacy.d694eb5d.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/5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8B,gBAAgBxB,OAAnD,aAGF,OAGM,MAHN,EAGM,CAFJ,GACA,OAAyD,OAApDN,MAAM,Q,aAAQ,QAAmC,EAApB,QAAC,EAAA8B,gBAAgBS,KAAnD,aAGF,OAGM,MAHN,EAGM,CAFJ,GACA,OAAyD,OAApDvC,MAAM,Q,aAAQ,QAAmC,EAApB,QAAC,EAAA8B,gBAAgBgC,KAAnD,gBAbJ,mB,KADF,O,4CA2BJ,GACExD,KAAM,aACN8C,WAAY,CAACW,MAAAA,EAAA,EAAOC,OAAAA,EAAA,EAAQX,QAAAA,EAAA,GAC5BnC,OAAQ,CAAC,M,UChCX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchWemo/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchWemo/Index.vue?7364"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=5c936ba2&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=5c936ba2&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5c936ba2\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","stopPropagation","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","keys","key","$refs","switchInfoModal","show","title","ref","ip","Modal","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5210.2fa788d0.js b/platypush/backend/http/webapp/dist/static/js/5210.2fa788d0.js deleted file mode 100644 index 2e68063ae..000000000 --- a/platypush/backend/http/webapp/dist/static/js/5210.2fa788d0.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5210],{3567:function(e,t,n){n.d(t,{Z:function(){return h}});var i=n(6252),s=n(3577);const o=e=>((0,i.dD)("data-v-8fae7678"),e=e(),(0,i.Cn)(),e),a=["checked"],l=o((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),c={class:"label"};function d(e,t,n,o,d,u){return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(...e)=>u.onInput&&u.onInput(...e))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,a),(0,i._)("label",null,[l,(0,i._)("span",c,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},r=n(3744);const g=(0,r.Z)(u,[["render",d],["__scopeId","data-v-8fae7678"]]);var h=g},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(2628),s={name:"SwitchesMixin",mixins:[i.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const o=s;var a=o},8671:function(e,t,n){n.d(t,{Z:function(){return m}});var i=n(6252),s=n(9963),o=n(3577);const a=e=>((0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e),l={class:"name col-l-10 col-m-9 col-s-8"},c=a((()=>(0,i._)("i",{class:"fa fa-info"},null,-1))),d=[c],u=["textContent"],r={class:"toggler col-l-2 col-m-3 col-s-4"};function g(e,t,n,a,c,g){const h=(0,i.up)("Loading"),v=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,s.iM)(((...e)=>g.onToggle&&g.onToggle(...e)),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(h,{key:0})):(0,i.kq)("",!0),(0,i._)("div",l,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,s.iM)(((...e)=>g.onInfo&&g.onInfo(...e)),["prevent"]))},d)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,o.zw)(n.name)},null,8,u)]),(0,i._)("div",r,[(0,i.Wm)(v,{disabled:n.loading,value:n.state,onInput:g.onToggle},null,8,["disabled","value","onInput"])])])}var h=n(3567),v=n(1232),p={name:"Switch",components:{Loading:v.Z,ToggleSwitch:h.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},f=n(3744);const w=(0,f.Z)(p,[["render",g],["__scopeId","data-v-38eb9831"]]);var m=w},5210:function(e,t,n){n.r(t),n.d(t,{default:function(){return Z}});var i=n(6252),s=n(3577);const o=e=>((0,i.dD)("data-v-5c936ba2"),e=e(),(0,i.Cn)(),e),a={class:"switches wemo-switches"},l={key:1,class:"no-content"},c={key:0,class:"switch-info"},d={class:"row"},u=o((()=>(0,i._)("div",{class:"name"},"Name",-1))),r=["textContent"],g={class:"row"},h=o((()=>(0,i._)("div",{class:"name"},"On",-1))),v=["textContent"],p={class:"row"},f=o((()=>(0,i._)("div",{class:"name"},"IP",-1))),w=["textContent"];function m(e,t,n,o,m,_){const y=(0,i.up)("Loading"),b=(0,i.up)("Switch"),k=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",a,[e.loading?((0,i.wg)(),(0,i.j4)(y,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",l,"No WeMo switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,((t,n)=>((0,i.wg)(),(0,i.j4)(b,{loading:e.loading,name:n,state:t.on,onToggle:t=>e.toggle(n),key:n,"has-info":!0,onInfo:t=>{e.selectedDevice=n,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])))),128)),(0,i.Wm)(k,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((()=>[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",c,[(0,i._)("div",d,[u,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].name)},null,8,r)]),(0,i._)("div",g,[h,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].on)},null,8,v)]),(0,i._)("div",p,[f,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].ip)},null,8,w)])])):(0,i.kq)("",!0)])),_:1},512)])}var _=n(1232),y=n(4004),b=n(8671),k=n(9642),I={name:"SwitchWemo",components:{Modal:k.Z,Switch:b.Z,Loading:_.Z},mixins:[y.Z]},C=n(3744);const D=(0,C.Z)(I,[["render",m],["__scopeId","data-v-5c936ba2"]]);var Z=D}}]); -//# sourceMappingURL=5210.2fa788d0.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5210.2fa788d0.js.map b/platypush/backend/http/webapp/dist/static/js/5210.2fa788d0.js.map deleted file mode 100644 index 4fc78e251..000000000 --- a/platypush/backend/http/webapp/dist/static/js/5210.2fa788d0.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/5210.2fa788d0.js","mappings":"8PAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,oBAAE,EAAAC,SAAA,EAAAA,WAAA,KAAhE,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QAAQU,GAEN,GADAA,EAAMC,kBACFC,KAAKb,SACP,OAAO,EAETa,KAAKC,MAAM,QAASH,M,UC/B1B,MAAMI,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S,mECNA,GACEX,KAAM,gBACNY,OAAQ,CAACC,EAAA,GAETX,MAAO,CACLY,WAAY,CACVjB,KAAMkB,OACNC,UAAU,GAGZC,IAAK,CACHpB,KAAMqB,OACNF,UAAU,GAGZG,OAAQ,CACNtB,KAAMqB,OACNd,QAAS,KAAe,KAG1BgB,SAAU,CACRvB,KAAMM,QACNC,SAAS,IAIbiB,OACE,MAAO,CACLC,SAAS,EACTC,aAAa,EACbC,eAAgB,KAChBC,QAAS,KAIbpB,QAAS,CACPqB,eAAeZ,GACTA,IAAeN,KAAKM,YAGxBN,KAAKmB,WAGPC,aAAaC,EAAQC,GACT,MAANA,IACFA,EAAKD,GAEP,MAAME,QAAiBvB,KAAKwB,QAAS,GAAExB,KAAKM,oBAAqB,CAACe,OAAQC,IAC1EtB,KAAKiB,QAAQ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M,Q,aAAQ,QAAmC,EAApB,QAAC,EAAA8B,gBAAgBS,KAAnD,aAGF,OAGM,MAHN,EAGM,CAFJ,GACA,OAAyD,OAApDvC,MAAM,Q,aAAQ,QAAmC,EAApB,QAAC,EAAA8B,gBAAgBiC,KAAnD,gBAbJ,kB,KADF,O,4CA2BJ,GACEzD,KAAM,aACN8C,WAAY,CAACY,MAAD,IAAQC,OAAR,IAAgBZ,QAAO,KACnCnC,OAAQ,CAAC,M,UChCX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchWemo/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchWemo/Index.vue?7364"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=5c936ba2&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=5c936ba2&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5c936ba2\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","stopPropagation","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","keys","toggle","key","$refs","switchInfoModal","show","title","ref","ip","Modal","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5210.fae85e4c.js b/platypush/backend/http/webapp/dist/static/js/5210.fae85e4c.js new file mode 100644 index 000000000..54bf30ae1 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/5210.fae85e4c.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5210],{6137:function(e,t,n){n.d(t,{Z:function(){return v}});var i=n(6252),s=n(3577),o=n(9963);const a=e=>((0,i.dD)("data-v-8e097228"),e=e(),(0,i.Cn)(),e),l=["checked"],c=a((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),d={class:"label"};function u(e,t,n,a,u,r){return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,o.iM)(((...e)=>r.onInput&&r.onInput(...e)),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,l),(0,i._)("label",null,[c,(0,i._)("span",d,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var r={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},h=n(3744);const g=(0,h.Z)(r,[["render",u],["__scopeId","data-v-8e097228"]]);var v=g},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(2628),s={name:"SwitchesMixin",mixins:[i.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const o=s;var a=o},8671:function(e,t,n){n.d(t,{Z:function(){return m}});var i=n(6252),s=n(9963),o=n(3577);const a=e=>((0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e),l={class:"name col-l-10 col-m-9 col-s-8"},c=a((()=>(0,i._)("i",{class:"fa fa-info"},null,-1))),d=[c],u=["textContent"],r={class:"toggler col-l-2 col-m-3 col-s-4"};function h(e,t,n,a,c,h){const g=(0,i.up)("Loading"),v=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,s.iM)(((...e)=>h.onToggle&&h.onToggle(...e)),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(g,{key:0})):(0,i.kq)("",!0),(0,i._)("div",l,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,s.iM)(((...e)=>h.onInfo&&h.onInfo(...e)),["prevent"]))},d)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,o.zw)(n.name)},null,8,u)]),(0,i._)("div",r,[(0,i.Wm)(v,{disabled:n.loading,value:n.state,onInput:h.onToggle},null,8,["disabled","value","onInput"])])])}var g=n(6137),v=n(1232),p={name:"Switch",components:{Loading:v.Z,ToggleSwitch:g.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},f=n(3744);const w=(0,f.Z)(p,[["render",h],["__scopeId","data-v-38eb9831"]]);var m=w},5210:function(e,t,n){n.r(t),n.d(t,{default:function(){return Z}});var i=n(6252),s=n(3577);const o=e=>((0,i.dD)("data-v-5c936ba2"),e=e(),(0,i.Cn)(),e),a={class:"switches wemo-switches"},l={key:1,class:"no-content"},c={key:0,class:"switch-info"},d={class:"row"},u=o((()=>(0,i._)("div",{class:"name"},"Name",-1))),r=["textContent"],h={class:"row"},g=o((()=>(0,i._)("div",{class:"name"},"On",-1))),v=["textContent"],p={class:"row"},f=o((()=>(0,i._)("div",{class:"name"},"IP",-1))),w=["textContent"];function m(e,t,n,o,m,_){const y=(0,i.up)("Loading"),b=(0,i.up)("Switch"),k=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",a,[e.loading?((0,i.wg)(),(0,i.j4)(y,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",l,"No WeMo switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,((t,n)=>((0,i.wg)(),(0,i.j4)(b,{loading:e.loading,name:n,state:t.on,onToggle:t=>e.toggle(n),key:n,"has-info":!0,onInfo:t=>{e.selectedDevice=n,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])))),128)),(0,i.Wm)(k,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((()=>[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",c,[(0,i._)("div",d,[u,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].name)},null,8,r)]),(0,i._)("div",h,[g,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].on)},null,8,v)]),(0,i._)("div",p,[f,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.devices[e.selectedDevice].ip)},null,8,w)])])):(0,i.kq)("",!0)])),_:1},512)])}var _=n(1232),y=n(4004),b=n(8671),k=n(9642),I={name:"SwitchWemo",components:{Modal:k.Z,Switch:b.Z,Loading:_.Z},mixins:[y.Z]},C=n(3744);const D=(0,C.Z)(I,[["render",m],["__scopeId","data-v-5c936ba2"]]);var Z=D}}]); +//# sourceMappingURL=5210.fae85e4c.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5210.fae85e4c.js.map b/platypush/backend/http/webapp/dist/static/js/5210.fae85e4c.js.map new file mode 100644 index 000000000..807c2dedb --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/5210.fae85e4c.js.map @@ -0,0 +1 @@ +{"version":3,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J,GACA,OAAyD,OAApDtC,MAAM,Q,aAAQ,QAAmC,EAApB,QAAC,EAAA6B,gBAAgBkC,KAAnD,gBAbJ,kB,KADF,O,4CA2BJ,GACEzD,KAAM,aACN6C,WAAY,CAACa,MAAD,IAAQC,OAAR,IAAgBb,QAAO,KACnCnC,OAAQ,CAAC,M,UChCX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchWemo/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchWemo/Index.vue?7364"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=5c936ba2&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=5c936ba2&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5c936ba2\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","toggle","key","$refs","switchInfoModal","show","title","ref","ip","Modal","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5466-legacy.112f0d2e.js b/platypush/backend/http/webapp/dist/static/js/5466-legacy.112f0d2e.js new file mode 100644 index 000000000..558a31467 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/5466-legacy.112f0d2e.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5466],{6137:function(e,n,t){t.d(n,{Z:function(){return p}});var i=t(6252),o=t(3577),a=t(9963),r=function(e){return(0,i.dD)("data-v-8e097228"),e=e(),(0,i.Cn)(),e},s=["checked"],u=r((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),c={class:"label"};function l(e,n,t,r,l,d){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,a.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,s),(0,i._)("label",null,[u,(0,i._)("span",c,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},f=t(3744);const g=(0,f.Z)(d,[["render",l],["__scopeId","data-v-8e097228"]]);var p=g},4004:function(e,n,t){t.d(n,{Z:function(){return s}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(2628)),a={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,n){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==n&&(n=e),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:n});case 3:o=i.sent,t.devices[e].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=n.sent.reduce((function(e,n){var t,i=null!==(t=n.name)&&void 0!==t&&t.length?n.name:n.id;return e[i]=n,e}),{});case 5:return n.prev=5,e.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(n){n&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const r=a;var s=r},8671:function(e,n,t){t.d(n,{Z:function(){return w}});t(8309);var i=t(6252),o=t(9963),a=t(3577),r=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},s={class:"name col-l-10 col-m-9 col-s-8"},u=r((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),c=[u],l=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function f(e,n,t,r,u,f){var g=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:n[1]||(n[1]=(0,o.iM)((function(){return f.onToggle&&f.onToggle.apply(f,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(g,{key:0})):(0,i.kq)("",!0),(0,i._)("div",s,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:n[0]||(n[0]=(0,o.iM)((function(){return f.onInfo&&f.onInfo.apply(f,arguments)}),["prevent"]))},c)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,a.zw)(t.name)},null,8,l)]),(0,i._)("div",d,[(0,i.Wm)(p,{disabled:t.loading,value:t.state,onInput:f.onToggle},null,8,["disabled","value","onInput"])])])}var g=t(6137),p=t(1232),h={name:"Switch",components:{Loading:p.Z,ToggleSwitch:g.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},v=t(3744);const m=(0,v.Z)(h,[["render",f],["__scopeId","data-v-38eb9831"]]);var w=m},5466:function(e,n,t){t.r(n),t.d(n,{default:function(){return g}});t(7941);var i=t(6252),o={class:"switches zigbee-mqtt-switches"},a={key:1,class:"no-content"};function r(e,n,t,r,s,u){var c=(0,i.up)("Loading"),l=(0,i.up)("Switch");return(0,i.wg)(),(0,i.iD)("div",o,[e.loading?((0,i.wg)(),(0,i.j4)(c,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,"No Zigbee switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(n,t){return(0,i.wg)(),(0,i.j4)(l,{loading:e.loading,name:t,state:n.on,onToggle:function(n){return e.toggle(t)},key:t},null,8,["loading","name","state","onToggle"])})),128))])}var s=t(1232),u=t(4004),c=t(8671),l={name:"ZigbeeMqtt",components:{Switch:c.Z,Loading:s.Z},mixins:[u.Z]},d=t(3744);const f=(0,d.Z)(l,[["render",r],["__scopeId","data-v-33812db1"]]);var g=f}}]); +//# sourceMappingURL=5466-legacy.112f0d2e.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5466-legacy.112f0d2e.js.map b/platypush/backend/http/webapp/dist/static/js/5466-legacy.112f0d2e.js.map new file mode 100644 index 000000000..44c3bfb71 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/5466-legacy.112f0d2e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/5466-legacy.112f0d2e.js","mappings":"6RAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,M,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,wCAAO,EAAAC,SAAA,EAAAA,QAAA,qBAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCAT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AASC,GAAQ,CAAC,YAAY,qBAEzF,S,2FCROhB,MAAM,iC,SAEJA,MAAM,c,yFAFb,QAMM,MANN,EAMM,CALW,EAAA2B,UAAA,WAAf,QAA0B,YACUJ,OAAOgC,KAAK,EAAAzB,SAASW,QAAzD,iBAAyD,WAAzD,QAAgG,MAAhG,EAAiE,gCAI7D,aAFJ,QACwD,mBAAvB,EAAAX,SAAO,SAAxBI,EAAQ5B,G,kBADxB,QACwD,GAD/CqB,QAAS,EAAAA,QAAUrB,KAAMA,EAAO4C,MAAOhB,EAAOI,GAAK,SAAM,mBAAE,EAAAL,OAAO3B,IAChCkD,IAAKlD,GADhD,yD,kCAUJ,GACEA,KAAM,aACN6C,WAAY,CAACM,OAAAA,EAAA,EAAQL,QAAAA,EAAA,GACrBnC,OAAQ,CAAC,M,UCXX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/ZigbeeMqtt/Index.vue","webpack://platypush/./src/components/panels/Switches/ZigbeeMqtt/Index.vue?87da"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=33812db1&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=33812db1&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-33812db1\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","key","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5466-legacy.acdc5b3a.js b/platypush/backend/http/webapp/dist/static/js/5466-legacy.acdc5b3a.js deleted file mode 100644 index d0db2d6f2..000000000 --- a/platypush/backend/http/webapp/dist/static/js/5466-legacy.acdc5b3a.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5466],{3567:function(e,n,t){t.d(n,{Z:function(){return g}});var i=t(6252),o=t(3577),a=function(e){return(0,i.dD)("data-v-8fae7678"),e=e(),(0,i.Cn)(),e},r=["checked"],s=a((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),u={class:"label"};function c(e,n,t,a,c,l){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=function(){return l.onInput&&l.onInput.apply(l,arguments)})},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,r),(0,i._)("label",null,[s,(0,i._)("span",u,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var l={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},d=t(3744);const f=(0,d.Z)(l,[["render",c],["__scopeId","data-v-8fae7678"]]);var g=f},4004:function(e,n,t){t.d(n,{Z:function(){return s}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(2628)),a={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,n){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==n&&(n=e),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:n});case 3:o=i.sent,t.devices[e].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=n.sent.reduce((function(e,n){var t,i=null!==(t=n.name)&&void 0!==t&&t.length?n.name:n.id;return e[i]=n,e}),{});case 5:return n.prev=5,e.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(n){n&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const r=a;var s=r},8671:function(e,n,t){t.d(n,{Z:function(){return w}});t(8309);var i=t(6252),o=t(9963),a=t(3577),r=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},s={class:"name col-l-10 col-m-9 col-s-8"},u=r((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),c=[u],l=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function f(e,n,t,r,u,f){var g=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:n[1]||(n[1]=(0,o.iM)((function(){return f.onToggle&&f.onToggle.apply(f,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(g,{key:0})):(0,i.kq)("",!0),(0,i._)("div",s,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:n[0]||(n[0]=(0,o.iM)((function(){return f.onInfo&&f.onInfo.apply(f,arguments)}),["prevent"]))},c)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,a.zw)(t.name)},null,8,l)]),(0,i._)("div",d,[(0,i.Wm)(p,{disabled:t.loading,value:t.state,onInput:f.onToggle},null,8,["disabled","value","onInput"])])])}var g=t(3567),p=t(1232),h={name:"Switch",components:{Loading:p.Z,ToggleSwitch:g.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},v=t(3744);const m=(0,v.Z)(h,[["render",f],["__scopeId","data-v-38eb9831"]]);var w=m},5466:function(e,n,t){t.r(n),t.d(n,{default:function(){return g}});t(7941);var i=t(6252),o={class:"switches zigbee-mqtt-switches"},a={key:1,class:"no-content"};function r(e,n,t,r,s,u){var c=(0,i.up)("Loading"),l=(0,i.up)("Switch");return(0,i.wg)(),(0,i.iD)("div",o,[e.loading?((0,i.wg)(),(0,i.j4)(c,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,"No Zigbee switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(n,t){return(0,i.wg)(),(0,i.j4)(l,{loading:e.loading,name:t,state:n.on,onToggle:function(n){return e.toggle(t)},key:t},null,8,["loading","name","state","onToggle"])})),128))])}var s=t(1232),u=t(4004),c=t(8671),l={name:"ZigbeeMqtt",components:{Switch:c.Z,Loading:s.Z},mixins:[u.Z]},d=t(3744);const f=(0,d.Z)(l,[["render",r],["__scopeId","data-v-33812db1"]]);var g=f}}]); -//# sourceMappingURL=5466-legacy.acdc5b3a.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5466-legacy.acdc5b3a.js.map b/platypush/backend/http/webapp/dist/static/js/5466-legacy.acdc5b3a.js.map deleted file mode 100644 index d97704f98..000000000 --- a/platypush/backend/http/webapp/dist/static/js/5466-legacy.acdc5b3a.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/5466-legacy.acdc5b3a.js","mappings":"mRAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OA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GXuC,QAAS,CACP9C,KAAMM,QACNC,SAAS,GAGX0B,GAAI,CACFjC,KAAMkB,SAIVV,QAAS,CACPuC,OADO,SACAtC,GAGL,OAFAA,EAAMC,kBACNC,KAAKC,MAAM,SACJ,GAGTiC,SAPO,SAOEpC,GAGP,OAFAA,EAAMC,kBACNC,KAAKC,MAAM,WACJ,K,UCrDb,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S,2FCROjB,MAAM,iC,SAEJA,MAAM,c,yFAFb,QAMM,MANN,EAMM,CALW,EAAA4B,UAAA,WAAf,QAA0B,YACUJ,OAAO+B,KAAK,EAAAxB,SAASW,QAAzD,iBAAyD,WAAzD,QAAgG,MAAhG,EAAiE,gCAI7D,aAFJ,QACwD,mBAAvB,EAAAX,SAAO,SAAxBI,EAAQ7B,G,kBADxB,QACwD,GAD/CsB,QAAS,EAAAA,QAAUtB,KAAMA,EAAO6C,MAAOhB,EAAOI,GAAK,SAAM,mBAAE,EAAAL,OAAO5B,IAChCkD,IAAKlD,GADhD,yD,kCAUJ,GACEA,KAAM,aACN8C,WAAY,CAACK,OAAAA,EAAA,EAAQJ,QAAAA,EAAA,GACrBnC,OAAQ,CAAC,M,UCXX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/ZigbeeMqtt/Index.vue","webpack://platypush/./src/components/panels/Switches/ZigbeeMqtt/Index.vue?87da"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=33812db1&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=33812db1&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-33812db1\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","stopPropagation","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","keys","key","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5466.2c2a80df.js b/platypush/backend/http/webapp/dist/static/js/5466.2c2a80df.js new file mode 100644 index 000000000..e1e0af581 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/5466.2c2a80df.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5466],{6137:function(e,t,n){n.d(t,{Z:function(){return p}});var i=n(6252),o=n(3577),s=n(9963);const a=e=>((0,i.dD)("data-v-8e097228"),e=e(),(0,i.Cn)(),e),l=["checked"],c=a((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),d={class:"label"};function u(e,t,n,a,u,r){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,s.iM)(((...e)=>r.onInput&&r.onInput(...e)),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,l),(0,i._)("label",null,[c,(0,i._)("span",d,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var r={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},g=n(3744);const h=(0,g.Z)(r,[["render",u],["__scopeId","data-v-8e097228"]]);var p=h},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(2628),o={name:"SwitchesMixin",mixins:[i.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const s=o;var a=s},8671:function(e,t,n){n.d(t,{Z:function(){return w}});var i=n(6252),o=n(9963),s=n(3577);const a=e=>((0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e),l={class:"name col-l-10 col-m-9 col-s-8"},c=a((()=>(0,i._)("i",{class:"fa fa-info"},null,-1))),d=[c],u=["textContent"],r={class:"toggler col-l-2 col-m-3 col-s-4"};function g(e,t,n,a,c,g){const h=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,o.iM)(((...e)=>g.onToggle&&g.onToggle(...e)),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(h,{key:0})):(0,i.kq)("",!0),(0,i._)("div",l,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,o.iM)(((...e)=>g.onInfo&&g.onInfo(...e)),["prevent"]))},d)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,s.zw)(n.name)},null,8,u)]),(0,i._)("div",r,[(0,i.Wm)(p,{disabled:n.loading,value:n.state,onInput:g.onToggle},null,8,["disabled","value","onInput"])])])}var h=n(6137),p=n(1232),f={name:"Switch",components:{Loading:p.Z,ToggleSwitch:h.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},v=n(3744);const m=(0,v.Z)(f,[["render",g],["__scopeId","data-v-38eb9831"]]);var w=m},5466:function(e,t,n){n.r(t),n.d(t,{default:function(){return h}});var i=n(6252);const o={class:"switches zigbee-mqtt-switches"},s={key:1,class:"no-content"};function a(e,t,n,a,l,c){const d=(0,i.up)("Loading"),u=(0,i.up)("Switch");return(0,i.wg)(),(0,i.iD)("div",o,[e.loading?((0,i.wg)(),(0,i.j4)(d,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",s,"No Zigbee switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,((t,n)=>((0,i.wg)(),(0,i.j4)(u,{loading:e.loading,name:n,state:t.on,onToggle:t=>e.toggle(n),key:n},null,8,["loading","name","state","onToggle"])))),128))])}var l=n(1232),c=n(4004),d=n(8671),u={name:"ZigbeeMqtt",components:{Switch:d.Z,Loading:l.Z},mixins:[c.Z]},r=n(3744);const g=(0,r.Z)(u,[["render",a],["__scopeId","data-v-33812db1"]]);var h=g}}]); +//# sourceMappingURL=5466.2c2a80df.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5466.2c2a80df.js.map b/platypush/backend/http/webapp/dist/static/js/5466.2c2a80df.js.map new file mode 100644 index 000000000..6b2b7729e --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/5466.2c2a80df.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/5466.2c2a80df.js","mappings":"wQAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAO,EAAAC,SAAA,EAAAA,WAAA,IAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,Q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,MANN,EAMM,CALW,EAAA2B,UAAA,WAAf,QAA0B,YACUJ,OAAOgC,KAAK,EAAAzB,SAASW,QAAzD,iBAAyD,WAAzD,QAAgG,MAAhG,EAAiE,gCAI7D,aAFJ,QACwD,mBAAvB,EAAAX,SAAO,CAAxBI,EAAQ5B,M,WADxB,QACwD,GAD/CqB,QAAS,EAAAA,QAAUrB,KAAMA,EAAO4C,MAAOhB,EAAOI,GAAK,SAAM,GAAE,EAAAkB,OAAOlD,GAChCmD,IAAKnD,GADhD,yD,kCAUJ,GACEA,KAAM,aACN6C,WAAY,CAACO,OAAD,IAASN,QAAO,KAC5BnC,OAAQ,CAAC,M,UCXX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/ZigbeeMqtt/Index.vue","webpack://platypush/./src/components/panels/Switches/ZigbeeMqtt/Index.vue?87da"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=33812db1&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=33812db1&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-33812db1\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","toggle","key","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5466.4824c7fa.js b/platypush/backend/http/webapp/dist/static/js/5466.4824c7fa.js deleted file mode 100644 index 20771a764..000000000 --- a/platypush/backend/http/webapp/dist/static/js/5466.4824c7fa.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5466],{3567:function(e,t,n){n.d(t,{Z:function(){return h}});var i=n(6252),o=n(3577);const s=e=>((0,i.dD)("data-v-8fae7678"),e=e(),(0,i.Cn)(),e),a=["checked"],l=s((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),c={class:"label"};function d(e,t,n,s,d,u){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(...e)=>u.onInput&&u.onInput(...e))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,a),(0,i._)("label",null,[l,(0,i._)("span",c,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},r=n(3744);const g=(0,r.Z)(u,[["render",d],["__scopeId","data-v-8fae7678"]]);var h=g},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(2628),o={name:"SwitchesMixin",mixins:[i.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const s=o;var a=s},8671:function(e,t,n){n.d(t,{Z:function(){return w}});var i=n(6252),o=n(9963),s=n(3577);const a=e=>((0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e),l={class:"name col-l-10 col-m-9 col-s-8"},c=a((()=>(0,i._)("i",{class:"fa fa-info"},null,-1))),d=[c],u=["textContent"],r={class:"toggler col-l-2 col-m-3 col-s-4"};function g(e,t,n,a,c,g){const h=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,o.iM)(((...e)=>g.onToggle&&g.onToggle(...e)),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(h,{key:0})):(0,i.kq)("",!0),(0,i._)("div",l,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,o.iM)(((...e)=>g.onInfo&&g.onInfo(...e)),["prevent"]))},d)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,s.zw)(n.name)},null,8,u)]),(0,i._)("div",r,[(0,i.Wm)(p,{disabled:n.loading,value:n.state,onInput:g.onToggle},null,8,["disabled","value","onInput"])])])}var h=n(3567),p=n(1232),f={name:"Switch",components:{Loading:p.Z,ToggleSwitch:h.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},v=n(3744);const m=(0,v.Z)(f,[["render",g],["__scopeId","data-v-38eb9831"]]);var w=m},5466:function(e,t,n){n.r(t),n.d(t,{default:function(){return h}});var i=n(6252);const o={class:"switches zigbee-mqtt-switches"},s={key:1,class:"no-content"};function a(e,t,n,a,l,c){const d=(0,i.up)("Loading"),u=(0,i.up)("Switch");return(0,i.wg)(),(0,i.iD)("div",o,[e.loading?((0,i.wg)(),(0,i.j4)(d,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",s,"No Zigbee switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,((t,n)=>((0,i.wg)(),(0,i.j4)(u,{loading:e.loading,name:n,state:t.on,onToggle:t=>e.toggle(n),key:n},null,8,["loading","name","state","onToggle"])))),128))])}var l=n(1232),c=n(4004),d=n(8671),u={name:"ZigbeeMqtt",components:{Switch:d.Z,Loading:l.Z},mixins:[c.Z]},r=n(3744);const g=(0,r.Z)(u,[["render",a],["__scopeId","data-v-33812db1"]]);var h=g}}]); -//# sourceMappingURL=5466.4824c7fa.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5466.4824c7fa.js.map b/platypush/backend/http/webapp/dist/static/js/5466.4824c7fa.js.map deleted file mode 100644 index 336fe49a0..000000000 --- a/platypush/backend/http/webapp/dist/static/js/5466.4824c7fa.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/5466.4824c7fa.js","mappings":"8PAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,oBAAE,EAAAC,SAAA,EAAAA,WAAA,KAAhE,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QAAQU,GAEN,GADAA,EAAMC,kBACFC,KAAKb,SACP,OAAO,EAETa,KAAKC,MAAM,QAASH,M,UC/B1B,MAAMI,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,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AAO,KAC5BnC,OAAQ,CAAC,M,UCXX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/ZigbeeMqtt/Index.vue","webpack://platypush/./src/components/panels/Switches/ZigbeeMqtt/Index.vue?87da"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=33812db1&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=33812db1&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-33812db1\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","stopPropagation","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","keys","toggle","key","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5824-legacy.b75ef6a8.js.map b/platypush/backend/http/webapp/dist/static/js/5824-legacy.b75ef6a8.js.map deleted file mode 100644 index 9cc6bd35d..000000000 --- a/platypush/backend/http/webapp/dist/static/js/5824-legacy.b75ef6a8.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/5824-legacy.b75ef6a8.js","mappings":"qGAAA,IAAIA,EAAuB,eACvBC,EAAQ,EAAQ,MAChBC,EAAc,EAAQ,MAEtBC,EAAM,MAIVC,EAAOC,QAAU,SAAUC,GACzB,OAAOL,GAAM,WACX,QAASC,EAAYI,MAChBH,EAAIG,OAAmBH,GACtBH,GAAwBE,EAAYI,GAAaC,OAASD,O,kCCXpE,IAAIE,EAAI,EAAQ,MACZC,EAAQ,aACRC,EAAyB,EAAQ,MAIrCF,EAAE,CAAEG,OAAQ,SAAUC,OAAO,EAAMC,OAAQH,EAAuB,SAAW,CAC3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,UAAoB,EAAAoB,YAAY,QAAK,8BAAE,EAAAa,SAAA,EAAAA,QAAA,sBAAhE,EAEE,OAAwC,SAAjC7I,KAAK,WAAY8I,QAAS,EAAA1H,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEnC,KAAM,eACNkJ,MAAO,CAAC,SACRrI,MAAO,CACLsB,MAAO,CACLpB,KAAMoI,QACNjD,SAAS,GAGX6C,SAAU,CACRhI,KAAMoI,QACNjD,SAAS,IAIb9E,QAAS,CACPwI,QADO,SACCpG,GAEN,GADAA,EAAMsG,kBACFtJ,KAAKuI,SACP,OAAO,EAETvI,KAAK6I,MAAM,QAAS7F,M,UC/B1B,MAAMuE,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASnC,GAAQ,CAAC,YAAY,qBAEzF,S,gGdRO+B,MAAM,oB,GAEJA,MAAM,YAAYkB,IAAI,a,oEAF7B,QAGM,MAHN,EAGM,CAFW,EAAA3H,UAAA,WAAf,QAA0B,aAA1B,gBACA,OAAyC,MAAzC,EAAyC,Y,wBeI7C,MAAM6G,GAA2B,OAAgB,IAAQ,CAAC,CAAC,SAASnC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./node_modules/core-js/internals/string-trim-forced.js","webpack://platypush/./node_modules/core-js/modules/es.string.trim.js","webpack://platypush/./src/components/widgets/Component/Index.vue","webpack://platypush/./src/components/widgets/Component/components/mixins.js","webpack://platypush/./src/components/widgets/Component/components/Run.vue","webpack://platypush/./src/components/widgets/Component/components/Run.vue?73ce","webpack://platypush/./src/components/widgets/Component/components/Sensor.vue","webpack://platypush/./src/components/widgets/Component/components/Sensor.vue?66dc","webpack://platypush/./src/components/widgets/Component/components/Slider.vue","webpack://platypush/./src/components/widgets/Component/components/Slider.vue?fc3e","webpack://platypush/./src/components/widgets/Component/components/Switch.vue","webpack://platypush/./src/components/widgets/Component/components/Switch.vue?ce7f","webpack://platypush/./src/components/widgets/Component/index.js","webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/widgets/Component/Index.vue?276d"],"sourcesContent":["var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","\n\n\n\n\n","import Utils from \"@/Utils\";\n\nexport default {\n mixins: [Utils],\n props: {\n /**\n * Component name\n */\n name: {\n type: String,\n default: '[Unnamed sensor]',\n },\n\n /**\n * Action (FontAwesome) icon class (default: `fa fa-play`)\n */\n iconClass: {\n type: String,\n },\n\n /**\n * Action icon URL (default: `fa fa-play`)\n */\n iconUrl: {\n type: String,\n },\n\n /**\n * Action icon color override, for FontAwesome icons\n */\n iconColor: {\n type: String,\n },\n\n /**\n * Actions to run upon interaction with the widget. Format:\n *\n * [\n * {\n * \"action\": \"light.hue.toggle\",\n * \"args\": {\n * \"lights\": [\"Bulb 1\", \"Bulb 2\"]\n * }\n * },\n * {\n * \"action\": \"music.mpd.pause\"\n * }\n * ]\n */\n actions: {\n type: Array,\n default: () => { return [] },\n },\n\n /**\n * Map of variables used by this component, in the form\n * variable_name -> variable_value.\n */\n _vars: {\n type: Object,\n default: () => { return {} },\n },\n\n /**\n * Map of handlers, in the form of event_type -> functions.\n * Supported event handler types:\n *\n * - mounted: Function to execute when the component is mounted.\n * - beforeActions: Function to execute before the component action is run.\n * - afterActions: Function to execute after the component action is run.\n * - refresh: Function to be called at startup (if mounted is also specified\n * then refresh will be called after mounted when the component is\n * first mounted) and at regular intervals defined on the\n * interval property (default: 10 seconds).\n * - events: This is a mapping of functions that react to Platypush\n * platform events published on the websocket (e.g. lights or\n * switches toggles, media events etc.). The form is\n * platypush_event_type -> function.\n */\n handlers: {\n type: Object,\n default: () => { return {} },\n },\n\n /**\n * Event bus\n */\n bus: {\n type: Object,\n },\n },\n\n data() {\n return {\n vars: {...(this._vars || {})},\n _interval: undefined,\n refresh: null,\n refreshInterval: null,\n value: null,\n loading: false,\n }\n },\n\n computed: {\n iconStyle() {\n if (!this.iconClass?.length && this.iconColor?.length)\n return\n\n return {'color': this.iconColor}\n },\n\n hasIcon() {\n return this.iconUrl?.length || this.iconClass?.length\n },\n },\n\n methods: {\n async run() {\n if (this.handlers.input)\n return this.handlers.input(this)(this.value)\n\n if (this.handlers.beforeActions)\n await this.handlers.beforeActions(this)\n for (const action of this.actions)\n await this.request_(action)\n if (this.handlers.afterActions) {\n await this.handlers.afterActions(this)\n }\n },\n\n async request_(action) {\n const args = Object.entries(action.args).reduce((args, [key, value]) => {\n if (value.trim) {\n value = value.trim()\n const m = value.match(/^{{\\s*(.*)\\s*}}/)\n if (m) {\n value = eval(`// noinspection JSUnusedLocalSymbols\n (function (self) {\n return ${m[1]}\n })`)(this)\n }\n }\n\n args[key] = value\n return args\n }, {})\n\n await this.request(action.action, args)\n },\n\n async processEvent(event) {\n const hndl = (this.handlers.events || {})[event.type]\n if (hndl)\n await hndl(this)(event)\n },\n },\n\n async mounted() {\n this.$root.bus.on('event', this.processEvent)\n\n if (this.handlers.mounted)\n await this.handlers.mounted(this)\n\n if (this.handlers.refresh) {\n this.refreshInterval = (this.handlers.refresh?.interval || 0) * 1000\n this.refresh = () => {\n this.handlers.refresh.handler(this)\n }\n\n await this.refresh()\n if (this.refreshInterval) {\n const self = this\n const wrapper = () => { return self.refresh() }\n this._interval = setInterval(wrapper, this.refreshInterval)\n }\n }\n },\n\n unmounted() {\n if (this._interval)\n clearInterval(this._interval)\n }\n}\n","\n\n\n\n\n","import { render } from \"./Run.vue?vue&type=template&id=7478b72d&scoped=true\"\nimport script from \"./Run.vue?vue&type=script&lang=js\"\nexport * from \"./Run.vue?vue&type=script&lang=js\"\n\nimport \"./Run.vue?vue&type=style&index=0&id=7478b72d&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7478b72d\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Sensor.vue?vue&type=template&id=53594122&scoped=true\"\nimport script from \"./Sensor.vue?vue&type=script&lang=js\"\nexport * from \"./Sensor.vue?vue&type=script&lang=js\"\n\nimport \"./Sensor.vue?vue&type=style&index=0&id=53594122&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-53594122\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=772cf288&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=772cf288&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-772cf288\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=97d3a936&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=97d3a936&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-97d3a936\"]])\n\nexport default __exports__","import Run from './components/Run'\nimport Sensor from \"./components/Sensor\";\nimport Slider from './components/Slider'\nimport Switch from './components/Switch'\n\nexport default {\n Run,\n Sensor,\n Slider,\n Switch,\n}\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=450fcab1&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=450fcab1&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-450fcab1\"]])\n\nexport default __exports__"],"names":["PROPER_FUNCTION_NAME","fails","whitespaces","non","module","exports","METHOD_NAME","name","$","$trim","forcedStringTrimMethod","target","proto","forced","trim","this","bus","components","Loading","mixins","props","content","type","String","data","loading","unwatch","methods","_parseActions","element","actionsTags","children","filter","node","tagName","toLowerCase","length","actionTags","map","actionTag","action","attributes","value","args","reduce","obj","arg","undefined","JSON","parse","innerText","e","_parseVars","varsTags","vars","varTag","_parseHandlers","handlers","parseHndlScript","hndlText","app","eval","parseEventHndl","event","hndlTags","mounted","refresh","handler","interval","events","hndlTag","beforeActionsTags","beforeActions","afterActionsTags","afterActions","_parseProps","attr","propagateEvent","emit","_addEventHandler","subscribe","_removeEventHandler","$refs","container","innerHTML","Object","entries","forEach","component","$options","getElementsByTagName","actions","_vars","newEl","document","createElement","setAttribute","parentNode","replaceChild","render","h","mount","removeChild","unmounted","Utils","default","iconClass","iconUrl","iconColor","Array","_interval","refreshInterval","computed","iconStyle","hasIcon","run","input","request_","key","m","match","request","processEvent","hndl","$root","on","self","wrapper","setInterval","clearInterval","class","src","alt","style","__exports__","unit","range","parseFloat","min","max","SliderElement","Slider","Number","required","ToggleSwitch","Run","Sensor","Switch","ref","step","disabled","onUpdate","withLabel","emits","Boolean","update","$emit","percent","thumb","left","transform","track","width","onInput","checked","stopPropagation"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5824-legacy.b75ef6a8.js b/platypush/backend/http/webapp/dist/static/js/5824-legacy.f18a2b68.js similarity index 93% rename from platypush/backend/http/webapp/dist/static/js/5824-legacy.b75ef6a8.js rename to platypush/backend/http/webapp/dist/static/js/5824-legacy.f18a2b68.js index 8c8cb81b2..d0747bbbf 100644 --- a/platypush/backend/http/webapp/dist/static/js/5824-legacy.b75ef6a8.js +++ b/platypush/backend/http/webapp/dist/static/js/5824-legacy.f18a2b68.js @@ -1,2 +1,2 @@ -(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5824],{6091:function(e,_,t){var n=t(6530).PROPER,r=t(7293),a=t(1361),s="​…᠎";e.exports=function(e){return r((function(){return!!a[e]()||s[e]()!==s||n&&a[e].name!==e}))}},3210:function(e,_,t){"use strict";var n=t(2109),r=t(3111).trim,a=t(6091);n({target:"String",proto:!0,forced:a("trim")},{trim:function(){return r(this)}})},3275:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _home_blacklight_git_tree_platypush_platypush_backend_http_webapp_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(6084),_home_blacklight_git_tree_platypush_platypush_backend_http_webapp_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(9584),core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(7327),core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2__),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1539),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__),core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1249),core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_4__),core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(8309),core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_5__),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(4747),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_6__),core_js_modules_es_object_entries_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(9720),core_js_modules_es_object_entries_js__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(core_js_modules_es_object_entries_js__WEBPACK_IMPORTED_MODULE_7__),_Utils__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(2628),_components_Loading__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(1232),_index__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(9016),vue__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(9963),vue__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(6252),mitt__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(9652),bus=(0,mitt__WEBPACK_IMPORTED_MODULE_11__.Z)();__webpack_exports__["Z"]={name:"Elements",components:{Loading:_components_Loading__WEBPACK_IMPORTED_MODULE_9__.Z},mixins:[_Utils__WEBPACK_IMPORTED_MODULE_8__.Z],props:{content:{type:String}},data:function(){return{loading:!1,unwatch:null}},methods:{_parseActions:function(e){var _=(0,_home_blacklight_git_tree_platypush_platypush_backend_http_webapp_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(e.children).filter((function(e){var _;return"actions"===(null===(_=e.tagName)||void 0===_?void 0:_.toLowerCase())})),t=null!==_&&void 0!==_&&_.length?_[0].children:e.children,n=(0,_home_blacklight_git_tree_platypush_platypush_backend_http_webapp_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(t).filter((function(e){var _;return"action"===(null===(_=e.tagName)||void 0===_?void 0:_.toLowerCase())}));if(null!==n&&void 0!==n&&n.length)return(0,_home_blacklight_git_tree_platypush_platypush_backend_http_webapp_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(n).map((function(e){return{action:e.attributes.name.value,args:(0,_home_blacklight_git_tree_platypush_platypush_backend_http_webapp_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(e.children).reduce((function(e,_){var t=void 0;try{t=JSON.parse(_.innerText)}catch(r){var n;null!==(n=_.innerText)&&void 0!==n&&n.length&&(t=_.innerText)}return e[_.tagName.toLowerCase()]=t,e}),{})}}))},_parseVars:function(e){var _=(0,_home_blacklight_git_tree_platypush_platypush_backend_http_webapp_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(e.children).filter((function(e){var _;return"vars"===(null===(_=e.tagName)||void 0===_?void 0:_.toLowerCase())}));if(null!==_&&void 0!==_&&_.length)return(0,_home_blacklight_git_tree_platypush_platypush_backend_http_webapp_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(_[0].children).reduce((function(e,_){var t=void 0;try{t=JSON.parse(_.innerText)}catch(r){var n;null!==(n=_.innerText)&&void 0!==n&&n.length&&(t=_.innerText)}return e[_.tagName.toLowerCase()]=t,e}),{})},_parseHandlers:function _parseHandlers(element){var handlers={},parseHndlScript=function parseHndlScript(hndlText){return function(app){return eval("// noinspection JSUnusedLocalSymbols\n (async function (self) {\n ".concat(hndlText,"\n })"))(app)}},parseEventHndl=function parseEventHndl(hndlText){return function(app){return function(event){return eval("// noinspection JSUnusedLocalSymbols\n (async function (self, event) {\n ".concat(hndlText,"\n })"))(app,event)}}},hndlTags=(0,_home_blacklight_git_tree_platypush_platypush_backend_http_webapp_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(element.children).filter((function(e){var _;return"handlers"===(null===(_=e.tagName)||void 0===_?void 0:_.toLowerCase())}));if(null!==hndlTags&&void 0!==hndlTags&&hndlTags.length){var mounted=(0,_home_blacklight_git_tree_platypush_platypush_backend_http_webapp_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(hndlTags[0].children).filter((function(e){var _;return"mounted"===(null===(_=e.tagName)||void 0===_?void 0:_.toLowerCase())}));null!==mounted&&void 0!==mounted&&mounted.length&&(handlers.mounted=parseHndlScript(mounted[0].innerText));var refresh=(0,_home_blacklight_git_tree_platypush_platypush_backend_http_webapp_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(hndlTags[0].children).filter((function(e){var _;return"refresh"===(null===(_=e.tagName)||void 0===_?void 0:_.toLowerCase())})),_refresh$0$attributes;if(null!==refresh&&void 0!==refresh&&refresh.length)handlers.refresh={handler:parseHndlScript(refresh[0].innerText),interval:(null===(_refresh$0$attributes=refresh[0].attributes.interval)||void 0===_refresh$0$attributes?void 0:_refresh$0$attributes.value)||10};var events=(0,_home_blacklight_git_tree_platypush_platypush_backend_http_webapp_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(hndlTags[0].children).filter((function(e){var _;return"event"===(null===(_=e.tagName)||void 0===_?void 0:_.toLowerCase())}));null!==events&&void 0!==events&&events.length&&(handlers.events=events.reduce((function(e,_){return e[_.attributes.type.value]=parseEventHndl(_.innerText),e}),{}))}var actionsTags=(0,_home_blacklight_git_tree_platypush_platypush_backend_http_webapp_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(element.children).filter((function(e){var _;return"actions"===(null===(_=e.tagName)||void 0===_?void 0:_.toLowerCase())}));if(null!==actionsTags&&void 0!==actionsTags&&actionsTags.length){var beforeActionsTags=(0,_home_blacklight_git_tree_platypush_platypush_backend_http_webapp_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(actionsTags[0].children).filter((function(e){var _;return"before"===(null===(_=e.tagName)||void 0===_?void 0:_.toLowerCase())}));null!==beforeActionsTags&&void 0!==beforeActionsTags&&beforeActionsTags.length&&(handlers.beforeActions=parseHndlScript(beforeActionsTags[0].innerText));var afterActionsTags=(0,_home_blacklight_git_tree_platypush_platypush_backend_http_webapp_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(actionsTags[0].children).filter((function(e){var _;return"after"===(null===(_=e.tagName)||void 0===_?void 0:_.toLowerCase())}));null!==afterActionsTags&&void 0!==afterActionsTags&&afterActionsTags.length&&(handlers.afterActions=parseHndlScript(afterActionsTags[0].innerText))}return handlers},_parseProps:function(e){return(0,_home_blacklight_git_tree_platypush_platypush_backend_http_webapp_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(e.attributes).reduce((function(e,_){return e[_.name]=_.value,e}),{})},propagateEvent:function(e){bus.emit("event",e)},_addEventHandler:function(){this.unwatch=this.subscribe((function(e){bus.emit("event",e)}))},_removeEventHandler:function(){this.unwatch&&(this.unwatch(),this.unwatch=null)}},mounted:function(){var e=this;this.loading=!0,this._addEventHandler();try{this.$refs.container.innerHTML=this.content,Object.entries(_index__WEBPACK_IMPORTED_MODULE_10__.Z).forEach((function(_){var t=(0,_home_blacklight_git_tree_platypush_platypush_backend_http_webapp_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__.Z)(_,2),n=t[0],r=t[1];e.$options.components[n]=r,(0,_home_blacklight_git_tree_platypush_platypush_backend_http_webapp_node_modules_babel_runtime_helpers_esm_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__.Z)(e.$refs.container.getElementsByTagName(n)).forEach((function(_){var t=e._parseProps(_);t.actions=e._parseActions(_),t.handlers=e._parseHandlers(_),t._vars=e._parseVars(_);var n=document.createElement("div");n.setAttribute("class","component"),n.innerHTML=_.innerHTML,_.parentNode.replaceChild(n,_),(0,vue__WEBPACK_IMPORTED_MODULE_12__.ri)({render:function(){return(0,vue__WEBPACK_IMPORTED_MODULE_13__.h)(r,t)},data:function(){return{bus:bus}}}).mount(n)}))}));for(var _=0,t=["handlers","actions","vars"];_\n
\n \n
\n
\n\n\n\n\n\n","import Utils from \"@/Utils\";\n\nexport default {\n mixins: [Utils],\n props: {\n /**\n * Component name\n */\n name: {\n type: String,\n default: '[Unnamed sensor]',\n },\n\n /**\n * Action (FontAwesome) icon class (default: `fa fa-play`)\n */\n iconClass: {\n type: String,\n },\n\n /**\n * Action icon URL (default: `fa fa-play`)\n */\n iconUrl: {\n type: String,\n },\n\n /**\n * Action icon color override, for FontAwesome icons\n */\n iconColor: {\n type: String,\n },\n\n /**\n * Actions to run upon interaction with the widget. Format:\n *\n * [\n * {\n * \"action\": \"light.hue.toggle\",\n * \"args\": {\n * \"lights\": [\"Bulb 1\", \"Bulb 2\"]\n * }\n * },\n * {\n * \"action\": \"music.mpd.pause\"\n * }\n * ]\n */\n actions: {\n type: Array,\n default: () => { return [] },\n },\n\n /**\n * Map of variables used by this component, in the form\n * variable_name -> variable_value.\n */\n _vars: {\n type: Object,\n default: () => { return {} },\n },\n\n /**\n * Map of handlers, in the form of event_type -> functions.\n * Supported event handler types:\n *\n * - mounted: Function to execute when the component is mounted.\n * - beforeActions: Function to execute before the component action is run.\n * - afterActions: Function to execute after the component action is run.\n * - refresh: Function to be called at startup (if mounted is also specified\n * then refresh will be called after mounted when the component is\n * first mounted) and at regular intervals defined on the\n * interval property (default: 10 seconds).\n * - events: This is a mapping of functions that react to Platypush\n * platform events published on the websocket (e.g. lights or\n * switches toggles, media events etc.). The form is\n * platypush_event_type -> function.\n */\n handlers: {\n type: Object,\n default: () => { return {} },\n },\n\n /**\n * Event bus\n */\n bus: {\n type: Object,\n },\n },\n\n data() {\n return {\n vars: {...(this._vars || {})},\n _interval: undefined,\n refresh: null,\n refreshInterval: null,\n value: null,\n loading: false,\n }\n },\n\n computed: {\n iconStyle() {\n if (!this.iconClass?.length && this.iconColor?.length)\n return\n\n return {'color': this.iconColor}\n },\n\n hasIcon() {\n return this.iconUrl?.length || this.iconClass?.length\n },\n },\n\n methods: {\n async run() {\n if (this.handlers.input)\n return this.handlers.input(this)(this.value)\n\n if (this.handlers.beforeActions)\n await this.handlers.beforeActions(this)\n for (const action of this.actions)\n await this.request_(action)\n if (this.handlers.afterActions) {\n await this.handlers.afterActions(this)\n }\n },\n\n async request_(action) {\n const args = Object.entries(action.args).reduce((args, [key, value]) => {\n if (value.trim) {\n value = value.trim()\n const m = value.match(/^{{\\s*(.*)\\s*}}/)\n if (m) {\n value = eval(`// noinspection JSUnusedLocalSymbols\n (function (self) {\n return ${m[1]}\n })`)(this)\n }\n }\n\n args[key] = value\n return args\n }, {})\n\n await this.request(action.action, args)\n },\n\n async processEvent(event) {\n const hndl = (this.handlers.events || {})[event.type]\n if (hndl)\n await hndl(this)(event)\n },\n },\n\n async mounted() {\n this.$root.bus.on('event', this.processEvent)\n\n if (this.handlers.mounted)\n await this.handlers.mounted(this)\n\n if (this.handlers.refresh) {\n this.refreshInterval = (this.handlers.refresh?.interval || 0) * 1000\n this.refresh = () => {\n this.handlers.refresh.handler(this)\n }\n\n await this.refresh()\n if (this.refreshInterval) {\n const self = this\n const wrapper = () => { return self.refresh() }\n this._interval = setInterval(wrapper, this.refreshInterval)\n }\n }\n },\n\n unmounted() {\n if (this._interval)\n clearInterval(this._interval)\n }\n}\n","\n\n\n\n\n","import { render } from \"./Run.vue?vue&type=template&id=7478b72d&scoped=true\"\nimport script from \"./Run.vue?vue&type=script&lang=js\"\nexport * from \"./Run.vue?vue&type=script&lang=js\"\n\nimport \"./Run.vue?vue&type=style&index=0&id=7478b72d&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7478b72d\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Sensor.vue?vue&type=template&id=53594122&scoped=true\"\nimport script from \"./Sensor.vue?vue&type=script&lang=js\"\nexport * from \"./Sensor.vue?vue&type=script&lang=js\"\n\nimport \"./Sensor.vue?vue&type=style&index=0&id=53594122&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-53594122\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=772cf288&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=772cf288&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-772cf288\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=97d3a936&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=97d3a936&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-97d3a936\"]])\n\nexport default __exports__","import Run from './components/Run'\nimport Sensor from \"./components/Sensor\";\nimport Slider from './components/Slider'\nimport Switch from './components/Switch'\n\nexport default {\n Run,\n Sensor,\n Slider,\n Switch,\n}\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=450fcab1&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=450fcab1&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-450fcab1\"]])\n\nexport default __exports__"],"names":["PROPER_FUNCTION_NAME","fails","whitespaces","non","module","exports","METHOD_NAME","name","$","$trim","forcedStringTrimMethod","target","proto","forced","trim","this","bus","components","Loading","mixins","props","content","type","String","data","loading","unwatch","methods","_parseActions","element","actionsTags","children","filter","node","tagName","toLowerCase","length","actionTags","map","actionTag","action","attributes","value","args","reduce","obj","arg","undefined","JSON","parse","innerText","e","_parseVars","varsTags","vars","varTag","_parseHandlers","handlers","parseHndlScript","hndlText","app","eval","parseEventHndl","event","hndlTags","mounted","refresh","handler","interval","events","hndlTag","beforeActionsTags","beforeActions","afterActionsTags","afterActions","_parseProps","attr","propagateEvent","emit","_addEventHandler","subscribe","_removeEventHandler","$refs","container","innerHTML","Object","entries","forEach","component","$options","getElementsByTagName","actions","_vars","newEl","document","createElement","setAttribute","parentNode","replaceChild","render","h","mount","removeChild","unmounted","Utils","default","iconClass","iconUrl","iconColor","Array","_interval","refreshInterval","computed","iconStyle","hasIcon","run","input","request_","key","m","match","request","processEvent","hndl","$root","on","self","wrapper","setInterval","clearInterval","class","src","alt","style","__exports__","unit","range","parseFloat","min","max","SliderElement","Slider","Number","required","ToggleSwitch","Run","Sensor","Switch","ref","step","disabled","onUpdate","withLabel","emits","Boolean","update","$emit","percent","thumb","left","transform","track","width","onInput","checked"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5824.735f4933.js b/platypush/backend/http/webapp/dist/static/js/5824.0dd40d21.js similarity index 88% rename from platypush/backend/http/webapp/dist/static/js/5824.735f4933.js rename to platypush/backend/http/webapp/dist/static/js/5824.0dd40d21.js index 9c12a34e1..f92705d01 100644 --- a/platypush/backend/http/webapp/dist/static/js/5824.735f4933.js +++ b/platypush/backend/http/webapp/dist/static/js/5824.0dd40d21.js @@ -1,2 +1,2 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5824],{3275:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _Utils__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2628),_components_Loading__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1232),_index__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(9016),vue__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(9963),vue__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(6252),mitt__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(9652);const bus=(0,mitt__WEBPACK_IMPORTED_MODULE_3__.Z)();__webpack_exports__["Z"]={name:"Elements",components:{Loading:_components_Loading__WEBPACK_IMPORTED_MODULE_1__.Z},mixins:[_Utils__WEBPACK_IMPORTED_MODULE_0__.Z],props:{content:{type:String}},data(){return{loading:!1,unwatch:null}},methods:{_parseActions(e){const t=[...e.children].filter((e=>"actions"===e.tagName?.toLowerCase())),n=t?.length?t[0].children:e.children,s=[...n].filter((e=>"action"===e.tagName?.toLowerCase()));if(s?.length)return[...s].map((e=>({action:e.attributes.name.value,args:[...e.children].reduce(((e,t)=>{let n;try{n=JSON.parse(t.innerText)}catch(s){t.innerText?.length&&(n=t.innerText)}return e[t.tagName.toLowerCase()]=n,e}),{})})))},_parseVars(e){const t=[...e.children].filter((e=>"vars"===e.tagName?.toLowerCase()));if(t?.length)return[...t[0].children].reduce(((e,t)=>{let n;try{n=JSON.parse(t.innerText)}catch(s){t.innerText?.length&&(n=t.innerText)}return e[t.tagName.toLowerCase()]=n,e}),{})},_parseHandlers(element){const handlers={},parseHndlScript=hndlText=>app=>eval(`// noinspection JSUnusedLocalSymbols\n (async function (self) {\n ${hndlText}\n })`)(app),parseEventHndl=hndlText=>app=>event=>eval(`// noinspection JSUnusedLocalSymbols\n (async function (self, event) {\n ${hndlText}\n })`)(app,event),hndlTags=[...element.children].filter((e=>"handlers"===e.tagName?.toLowerCase()));if(hndlTags?.length){const e=[...hndlTags[0].children].filter((e=>"mounted"===e.tagName?.toLowerCase()));e?.length&&(handlers.mounted=parseHndlScript(e[0].innerText));const t=[...hndlTags[0].children].filter((e=>"refresh"===e.tagName?.toLowerCase()));t?.length&&(handlers.refresh={handler:parseHndlScript(t[0].innerText),interval:t[0].attributes.interval?.value||10});const n=[...hndlTags[0].children].filter((e=>"event"===e.tagName?.toLowerCase()));n?.length&&(handlers.events=n.reduce(((e,t)=>(e[t.attributes.type.value]=parseEventHndl(t.innerText),e)),{}))}const actionsTags=[...element.children].filter((e=>"actions"===e.tagName?.toLowerCase()));if(actionsTags?.length){const e=[...actionsTags[0].children].filter((e=>"before"===e.tagName?.toLowerCase()));e?.length&&(handlers.beforeActions=parseHndlScript(e[0].innerText));const t=[...actionsTags[0].children].filter((e=>"after"===e.tagName?.toLowerCase()));t?.length&&(handlers.afterActions=parseHndlScript(t[0].innerText))}return handlers},_parseProps(e){return[...e.attributes].reduce(((e,t)=>(e[t.name]=t.value,e)),{})},propagateEvent(e){bus.emit("event",e)},_addEventHandler(){this.unwatch=this.subscribe((e=>{bus.emit("event",e)}))},_removeEventHandler(){this.unwatch&&(this.unwatch(),this.unwatch=null)}},mounted(){this.loading=!0,this._addEventHandler();try{this.$refs.container.innerHTML=this.content,Object.entries(_index__WEBPACK_IMPORTED_MODULE_2__.Z).forEach((([e,t])=>{this.$options.components[e]=t,[...this.$refs.container.getElementsByTagName(e)].forEach((e=>{const n=this._parseProps(e);n.actions=this._parseActions(e),n.handlers=this._parseHandlers(e),n._vars=this._parseVars(e);const s=document.createElement("div");s.setAttribute("class","component"),s.innerHTML=e.innerHTML,e.parentNode.replaceChild(s,e),(0,vue__WEBPACK_IMPORTED_MODULE_4__.ri)({render(){return(0,vue__WEBPACK_IMPORTED_MODULE_5__.h)(t,n)},data(){return{bus:bus}}}).mount(s)}))}));for(const e of["handlers","actions","vars"])this.$refs.container.getElementsByTagName(e).forEach((e=>{e.parentNode.removeChild(e)}))}finally{this.loading=!1}},unmounted(){this._removeEventHandler()}}},7105:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _Utils__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2628);__webpack_exports__["Z"]={mixins:[_Utils__WEBPACK_IMPORTED_MODULE_0__.Z],props:{name:{type:String,default:"[Unnamed sensor]"},iconClass:{type:String},iconUrl:{type:String},iconColor:{type:String},actions:{type:Array,default:()=>[]},_vars:{type:Object,default:()=>({})},handlers:{type:Object,default:()=>({})},bus:{type:Object}},data(){return{vars:{...this._vars||{}},_interval:void 0,refresh:null,refreshInterval:null,value:null,loading:!1}},computed:{iconStyle(){if(this.iconClass?.length||!this.iconColor?.length)return{color:this.iconColor}},hasIcon(){return this.iconUrl?.length||this.iconClass?.length}},methods:{async run(){if(this.handlers.input)return this.handlers.input(this)(this.value);this.handlers.beforeActions&&await this.handlers.beforeActions(this);for(const e of this.actions)await this.request_(e);this.handlers.afterActions&&await this.handlers.afterActions(this)},async request_(action){const args=Object.entries(action.args).reduce(((args,[key,value])=>{if(value.trim){value=value.trim();const m=value.match(/^{{\s*(.*)\s*}}/);m&&(value=eval(`// noinspection JSUnusedLocalSymbols\n (function (self) {\n return ${m[1]}\n })`)(this))}return args[key]=value,args}),{});await this.request(action.action,args)},async processEvent(e){const t=(this.handlers.events||{})[e.type];t&&await t(this)(e)}},async mounted(){if(this.$root.bus.on("event",this.processEvent),this.handlers.mounted&&await this.handlers.mounted(this),this.handlers.refresh&&(this.refreshInterval=1e3*(this.handlers.refresh?.interval||0),this.refresh=()=>{this.handlers.refresh.handler(this)},await this.refresh(),this.refreshInterval)){const e=this,t=()=>e.refresh();this._interval=setInterval(t,this.refreshInterval)}},unmounted(){this._interval&&clearInterval(this._interval)}}},9016:function(e,t,n){n.d(t,{Z:function(){return z}});var s=n(6252),a=n(3577);const r={key:0,class:"col-1 icon-container"},i=["src","alt"],o=["textContent"];function l(e,t,n,l,c,u){return(0,s.wg)(),(0,s.iD)("div",{class:"run component-row",onClick:t[0]||(t[0]=(...t)=>e.run&&e.run(...t))},[e.hasIcon?((0,s.wg)(),(0,s.iD)("div",r,[e.iconUrl?.length?((0,s.wg)(),(0,s.iD)("img",{key:0,class:"icon",src:e.iconUrl,alt:e.name},null,8,i)):((0,s.wg)(),(0,s.iD)("i",{key:1,class:(0,a.C_)(["icon",e.iconClass]),style:(0,a.j5)(e.iconStyle)},null,6))])):(0,s.kq)("",!0),(0,s._)("div",{class:(0,a.C_)({"col-11":e.hasIcon,"col-12":!e.hasIcon}),textContent:(0,a.zw)(e.name)},null,10,o)])}var c=n(7105),u={name:"Run",mixins:[c.Z]},d=n(3744);const _=(0,d.Z)(u,[["render",l],["__scopeId","data-v-7478b72d"]]);var h=_;const p={key:0,class:"col-1 icon-container"},v=["src","alt"],m=["textContent"],g={class:"col-3 value-container"},f={class:"value"},w=["textContent"];function y(e,t,n,r,i,o){return(0,s.wg)(),(0,s.iD)("div",{class:"sensor component-row",onClick:t[0]||(t[0]=(...e)=>o.run&&o.run(...e))},[e.hasIcon?((0,s.wg)(),(0,s.iD)("div",p,[e.iconUrl?.length?((0,s.wg)(),(0,s.iD)("img",{key:0,class:"icon",src:e.iconUrl,alt:e.name},null,8,v)):((0,s.wg)(),(0,s.iD)("i",{key:1,class:(0,a.C_)(["icon",e.iconClass]),style:(0,a.j5)(e.iconStyle)},null,6))])):(0,s.kq)("",!0),(0,s._)("div",{class:(0,a.C_)({"col-8":e.hasIcon,"col-9":!e.hasIcon}),textContent:(0,a.zw)(e.name)},null,10,m),(0,s._)("div",g,[(0,s._)("div",f,[(0,s.Uk)((0,a.zw)(e.value)+" ",1),n.unit?((0,s.wg)(),(0,s.iD)("span",{key:0,textContent:(0,a.zw)(n.unit)},null,8,w)):(0,s.kq)("",!0)])])])}var b={name:"Sensor",mixins:[c.Z],props:{unit:{type:String}},methods:{async run(){if(this.handlers.beforeActions&&await this.handlers.beforeActions(this),this.actions?.length)for(const e of this.actions)await this.request_(e);else await this.refresh();this.handlers.afterActions&&await this.handlers.afterActions(this)}}};const C=(0,d.Z)(b,[["render",y],["__scopeId","data-v-53594122"]]);var E=C;const k={class:"slider-root component-row"},D={key:0,class:"col-1 icon-container"},U=["src","alt"],T=["textContent"],I={class:"col-5 slider-container"},x={class:"slider"};function M(e,t,n,r,i,o){const l=(0,s.up)("SliderElement");return(0,s.wg)(),(0,s.iD)("div",k,[e.hasIcon?((0,s.wg)(),(0,s.iD)("div",D,[e.iconUrl?.length?((0,s.wg)(),(0,s.iD)("img",{key:0,class:"icon",src:e.iconUrl,alt:e.name},null,8,U)):((0,s.wg)(),(0,s.iD)("i",{key:1,class:(0,a.C_)(["icon",e.iconClass]),style:(0,a.j5)(e.iconStyle)},null,6))])):(0,s.kq)("",!0),(0,s._)("div",{class:(0,a.C_)({"col-6":e.hasIcon,"col-7":!e.hasIcon}),textContent:(0,a.zw)(e.name)},null,10,T),(0,s._)("div",I,[(0,s._)("div",x,[(0,s.Wm)(l,{value:e.value,range:[parseFloat(n.min),parseFloat(n.max)],onMouseup:o.run},null,8,["value","range","onMouseup"])])])])}var L=n(1120),S={name:"Slider",components:{SliderElement:L.Z},mixins:[c.Z],props:{min:{type:[String,Number],default:0},max:{type:[String,Number],required:!0}},methods:{async run(e){this.value=parseFloat(e.target.value),this.handlers.beforeActions&&await this.handlers.beforeActions(this);for(const t of this.actions)await this.request_(t);this.handlers.afterActions&&await this.handlers.afterActions(this)}}};const O=(0,d.Z)(S,[["render",M],["__scopeId","data-v-772cf288"]]);var A=O,P=n(9963);const Z={key:0,class:"col-1 icon-container"},q=["src","alt"],N=["textContent"],B={class:"col-2 toggle-container"},$={class:"toggle"};function W(e,t,n,r,i,o){const l=(0,s.up)("ToggleSwitch");return(0,s.wg)(),(0,s.iD)("div",{class:"switch component-row",onClick:t[0]||(t[0]=(...t)=>e.run&&e.run(...t))},[e.hasIcon?((0,s.wg)(),(0,s.iD)("div",Z,[e.iconUrl?.length?((0,s.wg)(),(0,s.iD)("img",{key:0,class:"icon",src:e.iconUrl,alt:e.name},null,8,q)):((0,s.wg)(),(0,s.iD)("i",{key:1,class:(0,a.C_)(["icon",e.iconClass]),style:(0,a.j5)(e.iconStyle)},null,6))])):(0,s.kq)("",!0),(0,s._)("div",{class:(0,a.C_)({"col-9":e.hasIcon,"col-10":!e.hasIcon}),textContent:(0,a.zw)(e.name)},null,10,N),(0,s._)("div",B,[(0,s._)("div",$,[(0,s.Wm)(l,{value:e.value,onInput:(0,P.iM)(e.run,["stop"])},null,8,["value","onInput"])])])])}var H=n(3567),K={name:"Switch",components:{ToggleSwitch:H.Z},mixins:[c.Z]};const R=(0,d.Z)(K,[["render",W],["__scopeId","data-v-97d3a936"]]);var j=R,z={Run:h,Sensor:E,Slider:A,Switch:j}},1120:function(e,t,n){n.d(t,{Z:function(){return m}});var s=n(6252),a=n(9963),r=n(3577);const i={class:"slider-wrapper"},o=["min","max","step","disabled","value"],l={class:"track"},c={class:"track-inner",ref:"track"},u={class:"thumb",ref:"thumb"},d=["textContent"];function _(e,t,n,_,h,p){return(0,s.wg)(),(0,s.iD)("label",i,[(0,s._)("input",{class:"slider",type:"range",ref:"range",min:n.range[0],max:n.range[1],step:n.step,disabled:n.disabled,value:n.value,onInput:t[0]||(t[0]=(0,a.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onChange:t[1]||(t[1]=(0,a.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onMouseup:t[2]||(t[2]=(0,a.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onMousedown:t[3]||(t[3]=(0,a.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onTouchstart:t[4]||(t[4]=(0,a.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onTouchend:t[5]||(t[5]=(0,a.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onKeyup:t[6]||(t[6]=(0,a.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onKeydown:t[7]||(t[7]=(0,a.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"]))},null,40,o),(0,s._)("div",l,[(0,s._)("div",c,null,512)]),(0,s._)("div",u,null,512),n.withLabel?((0,s.wg)(),(0,s.iD)("span",{key:0,class:"label",textContent:(0,r.zw)(n.value)},null,8,d)):(0,s.kq)("",!0)])}var h={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const t=100*e/(this.range[1]-this.range[0]);this.$refs.thumb.style.left=`${t}%`,this.$refs.thumb.style.transform=`translate(-${t}%, -50%)`,this.$refs.track.style.width=`${t}%`}},mounted(){null!=this.value&&this.update(this.value)}},p=n(3744);const v=(0,p.Z)(h,[["render",_],["__scopeId","data-v-288acf82"]]);var m=v},3567:function(e,t,n){n.d(t,{Z:function(){return h}});var s=n(6252),a=n(3577);const r=e=>((0,s.dD)("data-v-8fae7678"),e=e(),(0,s.Cn)(),e),i=["checked"],o=r((()=>(0,s._)("div",{class:"switch"},[(0,s._)("div",{class:"dot"})],-1))),l={class:"label"};function c(e,t,n,r,c,u){return(0,s.wg)(),(0,s.iD)("div",{class:(0,a.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(...e)=>u.onInput&&u.onInput(...e))},[(0,s._)("input",{type:"checkbox",checked:n.value},null,8,i),(0,s._)("label",null,[o,(0,s._)("span",l,[(0,s.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},d=n(3744);const _=(0,d.Z)(u,[["render",c],["__scopeId","data-v-8fae7678"]]);var h=_},5824:function(e,t,n){n.r(t),n.d(t,{default:function(){return u}});var s=n(6252);const a={class:"component-widget"},r={class:"container",ref:"container"};function i(e,t,n,i,o,l){const c=(0,s.up)("Loading");return(0,s.wg)(),(0,s.iD)("div",a,[o.loading?((0,s.wg)(),(0,s.j4)(c,{key:0})):(0,s.kq)("",!0),(0,s._)("div",r,null,512)])}var o=n(3275),l=n(3744);const c=(0,l.Z)(o.Z,[["render",i],["__scopeId","data-v-450fcab1"]]);var u=c}}]); -//# sourceMappingURL=5824.735f4933.js.map \ No newline at end of file +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5824],{3275:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _Utils__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2628),_components_Loading__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1232),_index__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(9016),vue__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(9963),vue__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(6252),mitt__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(9652);const bus=(0,mitt__WEBPACK_IMPORTED_MODULE_3__.Z)();__webpack_exports__["Z"]={name:"Elements",components:{Loading:_components_Loading__WEBPACK_IMPORTED_MODULE_1__.Z},mixins:[_Utils__WEBPACK_IMPORTED_MODULE_0__.Z],props:{content:{type:String}},data(){return{loading:!1,unwatch:null}},methods:{_parseActions(e){const t=[...e.children].filter((e=>"actions"===e.tagName?.toLowerCase())),n=t?.length?t[0].children:e.children,s=[...n].filter((e=>"action"===e.tagName?.toLowerCase()));if(s?.length)return[...s].map((e=>({action:e.attributes.name.value,args:[...e.children].reduce(((e,t)=>{let n;try{n=JSON.parse(t.innerText)}catch(s){t.innerText?.length&&(n=t.innerText)}return e[t.tagName.toLowerCase()]=n,e}),{})})))},_parseVars(e){const t=[...e.children].filter((e=>"vars"===e.tagName?.toLowerCase()));if(t?.length)return[...t[0].children].reduce(((e,t)=>{let n;try{n=JSON.parse(t.innerText)}catch(s){t.innerText?.length&&(n=t.innerText)}return e[t.tagName.toLowerCase()]=n,e}),{})},_parseHandlers(element){const handlers={},parseHndlScript=hndlText=>app=>eval(`// noinspection JSUnusedLocalSymbols\n (async function (self) {\n ${hndlText}\n })`)(app),parseEventHndl=hndlText=>app=>event=>eval(`// noinspection JSUnusedLocalSymbols\n (async function (self, event) {\n ${hndlText}\n })`)(app,event),hndlTags=[...element.children].filter((e=>"handlers"===e.tagName?.toLowerCase()));if(hndlTags?.length){const e=[...hndlTags[0].children].filter((e=>"mounted"===e.tagName?.toLowerCase()));e?.length&&(handlers.mounted=parseHndlScript(e[0].innerText));const t=[...hndlTags[0].children].filter((e=>"refresh"===e.tagName?.toLowerCase()));t?.length&&(handlers.refresh={handler:parseHndlScript(t[0].innerText),interval:t[0].attributes.interval?.value||10});const n=[...hndlTags[0].children].filter((e=>"event"===e.tagName?.toLowerCase()));n?.length&&(handlers.events=n.reduce(((e,t)=>(e[t.attributes.type.value]=parseEventHndl(t.innerText),e)),{}))}const actionsTags=[...element.children].filter((e=>"actions"===e.tagName?.toLowerCase()));if(actionsTags?.length){const e=[...actionsTags[0].children].filter((e=>"before"===e.tagName?.toLowerCase()));e?.length&&(handlers.beforeActions=parseHndlScript(e[0].innerText));const t=[...actionsTags[0].children].filter((e=>"after"===e.tagName?.toLowerCase()));t?.length&&(handlers.afterActions=parseHndlScript(t[0].innerText))}return handlers},_parseProps(e){return[...e.attributes].reduce(((e,t)=>(e[t.name]=t.value,e)),{})},propagateEvent(e){bus.emit("event",e)},_addEventHandler(){this.unwatch=this.subscribe((e=>{bus.emit("event",e)}))},_removeEventHandler(){this.unwatch&&(this.unwatch(),this.unwatch=null)}},mounted(){this.loading=!0,this._addEventHandler();try{this.$refs.container.innerHTML=this.content,Object.entries(_index__WEBPACK_IMPORTED_MODULE_2__.Z).forEach((([e,t])=>{this.$options.components[e]=t,[...this.$refs.container.getElementsByTagName(e)].forEach((e=>{const n=this._parseProps(e);n.actions=this._parseActions(e),n.handlers=this._parseHandlers(e),n._vars=this._parseVars(e);const s=document.createElement("div");s.setAttribute("class","component"),s.innerHTML=e.innerHTML,e.parentNode.replaceChild(s,e),(0,vue__WEBPACK_IMPORTED_MODULE_4__.ri)({render(){return(0,vue__WEBPACK_IMPORTED_MODULE_5__.h)(t,n)},data(){return{bus:bus}}}).mount(s)}))}));for(const e of["handlers","actions","vars"])this.$refs.container.getElementsByTagName(e).forEach((e=>{e.parentNode.removeChild(e)}))}finally{this.loading=!1}},unmounted(){this._removeEventHandler()}}},7105:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _Utils__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2628);__webpack_exports__["Z"]={mixins:[_Utils__WEBPACK_IMPORTED_MODULE_0__.Z],props:{name:{type:String,default:"[Unnamed sensor]"},iconClass:{type:String},iconUrl:{type:String},iconColor:{type:String},actions:{type:Array,default:()=>[]},_vars:{type:Object,default:()=>({})},handlers:{type:Object,default:()=>({})},bus:{type:Object}},data(){return{vars:{...this._vars||{}},_interval:void 0,refresh:null,refreshInterval:null,value:null,loading:!1}},computed:{iconStyle(){if(this.iconClass?.length||!this.iconColor?.length)return{color:this.iconColor}},hasIcon(){return this.iconUrl?.length||this.iconClass?.length}},methods:{async run(){if(this.handlers.input)return this.handlers.input(this)(this.value);this.handlers.beforeActions&&await this.handlers.beforeActions(this);for(const e of this.actions)await this.request_(e);this.handlers.afterActions&&await this.handlers.afterActions(this)},async request_(action){const args=Object.entries(action.args).reduce(((args,[key,value])=>{if(value.trim){value=value.trim();const m=value.match(/^{{\s*(.*)\s*}}/);m&&(value=eval(`// noinspection JSUnusedLocalSymbols\n (function (self) {\n return ${m[1]}\n })`)(this))}return args[key]=value,args}),{});await this.request(action.action,args)},async processEvent(e){const t=(this.handlers.events||{})[e.type];t&&await t(this)(e)}},async mounted(){if(this.$root.bus.on("event",this.processEvent),this.handlers.mounted&&await this.handlers.mounted(this),this.handlers.refresh&&(this.refreshInterval=1e3*(this.handlers.refresh?.interval||0),this.refresh=()=>{this.handlers.refresh.handler(this)},await this.refresh(),this.refreshInterval)){const e=this,t=()=>e.refresh();this._interval=setInterval(t,this.refreshInterval)}},unmounted(){this._interval&&clearInterval(this._interval)}}},9016:function(e,t,n){n.d(t,{Z:function(){return z}});var s=n(6252),a=n(3577);const r={key:0,class:"col-1 icon-container"},i=["src","alt"],o=["textContent"];function l(e,t,n,l,c,u){return(0,s.wg)(),(0,s.iD)("div",{class:"run component-row",onClick:t[0]||(t[0]=(...t)=>e.run&&e.run(...t))},[e.hasIcon?((0,s.wg)(),(0,s.iD)("div",r,[e.iconUrl?.length?((0,s.wg)(),(0,s.iD)("img",{key:0,class:"icon",src:e.iconUrl,alt:e.name},null,8,i)):((0,s.wg)(),(0,s.iD)("i",{key:1,class:(0,a.C_)(["icon",e.iconClass]),style:(0,a.j5)(e.iconStyle)},null,6))])):(0,s.kq)("",!0),(0,s._)("div",{class:(0,a.C_)({"col-11":e.hasIcon,"col-12":!e.hasIcon}),textContent:(0,a.zw)(e.name)},null,10,o)])}var c=n(7105),u={name:"Run",mixins:[c.Z]},d=n(3744);const _=(0,d.Z)(u,[["render",l],["__scopeId","data-v-7478b72d"]]);var h=_;const p={key:0,class:"col-1 icon-container"},v=["src","alt"],m=["textContent"],g={class:"col-3 value-container"},f={class:"value"},w=["textContent"];function y(e,t,n,r,i,o){return(0,s.wg)(),(0,s.iD)("div",{class:"sensor component-row",onClick:t[0]||(t[0]=(...e)=>o.run&&o.run(...e))},[e.hasIcon?((0,s.wg)(),(0,s.iD)("div",p,[e.iconUrl?.length?((0,s.wg)(),(0,s.iD)("img",{key:0,class:"icon",src:e.iconUrl,alt:e.name},null,8,v)):((0,s.wg)(),(0,s.iD)("i",{key:1,class:(0,a.C_)(["icon",e.iconClass]),style:(0,a.j5)(e.iconStyle)},null,6))])):(0,s.kq)("",!0),(0,s._)("div",{class:(0,a.C_)({"col-8":e.hasIcon,"col-9":!e.hasIcon}),textContent:(0,a.zw)(e.name)},null,10,m),(0,s._)("div",g,[(0,s._)("div",f,[(0,s.Uk)((0,a.zw)(e.value)+" ",1),n.unit?((0,s.wg)(),(0,s.iD)("span",{key:0,textContent:(0,a.zw)(n.unit)},null,8,w)):(0,s.kq)("",!0)])])])}var b={name:"Sensor",mixins:[c.Z],props:{unit:{type:String}},methods:{async run(){if(this.handlers.beforeActions&&await this.handlers.beforeActions(this),this.actions?.length)for(const e of this.actions)await this.request_(e);else await this.refresh();this.handlers.afterActions&&await this.handlers.afterActions(this)}}};const C=(0,d.Z)(b,[["render",y],["__scopeId","data-v-53594122"]]);var E=C;const k={class:"slider-root component-row"},D={key:0,class:"col-1 icon-container"},U=["src","alt"],T=["textContent"],I={class:"col-5 slider-container"},M={class:"slider"};function x(e,t,n,r,i,o){const l=(0,s.up)("SliderElement");return(0,s.wg)(),(0,s.iD)("div",k,[e.hasIcon?((0,s.wg)(),(0,s.iD)("div",D,[e.iconUrl?.length?((0,s.wg)(),(0,s.iD)("img",{key:0,class:"icon",src:e.iconUrl,alt:e.name},null,8,U)):((0,s.wg)(),(0,s.iD)("i",{key:1,class:(0,a.C_)(["icon",e.iconClass]),style:(0,a.j5)(e.iconStyle)},null,6))])):(0,s.kq)("",!0),(0,s._)("div",{class:(0,a.C_)({"col-6":e.hasIcon,"col-7":!e.hasIcon}),textContent:(0,a.zw)(e.name)},null,10,T),(0,s._)("div",I,[(0,s._)("div",M,[(0,s.Wm)(l,{value:e.value,range:[parseFloat(n.min),parseFloat(n.max)],onMouseup:o.run},null,8,["value","range","onMouseup"])])])])}var L=n(1120),S={name:"Slider",components:{SliderElement:L.Z},mixins:[c.Z],props:{min:{type:[String,Number],default:0},max:{type:[String,Number],required:!0}},methods:{async run(e){this.value=parseFloat(e.target.value),this.handlers.beforeActions&&await this.handlers.beforeActions(this);for(const t of this.actions)await this.request_(t);this.handlers.afterActions&&await this.handlers.afterActions(this)}}};const O=(0,d.Z)(S,[["render",x],["__scopeId","data-v-772cf288"]]);var A=O,P=n(9963);const Z={key:0,class:"col-1 icon-container"},q=["src","alt"],N=["textContent"],B={class:"col-2 toggle-container"},$={class:"toggle"};function W(e,t,n,r,i,o){const l=(0,s.up)("ToggleSwitch");return(0,s.wg)(),(0,s.iD)("div",{class:"switch component-row",onClick:t[0]||(t[0]=(...t)=>e.run&&e.run(...t))},[e.hasIcon?((0,s.wg)(),(0,s.iD)("div",Z,[e.iconUrl?.length?((0,s.wg)(),(0,s.iD)("img",{key:0,class:"icon",src:e.iconUrl,alt:e.name},null,8,q)):((0,s.wg)(),(0,s.iD)("i",{key:1,class:(0,a.C_)(["icon",e.iconClass]),style:(0,a.j5)(e.iconStyle)},null,6))])):(0,s.kq)("",!0),(0,s._)("div",{class:(0,a.C_)({"col-9":e.hasIcon,"col-10":!e.hasIcon}),textContent:(0,a.zw)(e.name)},null,10,N),(0,s._)("div",B,[(0,s._)("div",$,[(0,s.Wm)(l,{value:e.value,onInput:(0,P.iM)(e.run,["stop"])},null,8,["value","onInput"])])])])}var H=n(6137),K={name:"Switch",components:{ToggleSwitch:H.Z},mixins:[c.Z]};const R=(0,d.Z)(K,[["render",W],["__scopeId","data-v-97d3a936"]]);var j=R,z={Run:h,Sensor:E,Slider:A,Switch:j}},1120:function(e,t,n){n.d(t,{Z:function(){return m}});var s=n(6252),a=n(9963),r=n(3577);const i={class:"slider-wrapper"},o=["min","max","step","disabled","value"],l={class:"track"},c={class:"track-inner",ref:"track"},u={class:"thumb",ref:"thumb"},d=["textContent"];function _(e,t,n,_,h,p){return(0,s.wg)(),(0,s.iD)("label",i,[(0,s._)("input",{class:"slider",type:"range",ref:"range",min:n.range[0],max:n.range[1],step:n.step,disabled:n.disabled,value:n.value,onInput:t[0]||(t[0]=(0,a.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onChange:t[1]||(t[1]=(0,a.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onMouseup:t[2]||(t[2]=(0,a.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onMousedown:t[3]||(t[3]=(0,a.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onTouchstart:t[4]||(t[4]=(0,a.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onTouchend:t[5]||(t[5]=(0,a.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onKeyup:t[6]||(t[6]=(0,a.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"])),onKeydown:t[7]||(t[7]=(0,a.iM)(((...e)=>p.onUpdate&&p.onUpdate(...e)),["stop"]))},null,40,o),(0,s._)("div",l,[(0,s._)("div",c,null,512)]),(0,s._)("div",u,null,512),n.withLabel?((0,s.wg)(),(0,s.iD)("span",{key:0,class:"label",textContent:(0,r.zw)(n.value)},null,8,d)):(0,s.kq)("",!0)])}var h={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const t=100*e/(this.range[1]-this.range[0]);this.$refs.thumb.style.left=`${t}%`,this.$refs.thumb.style.transform=`translate(-${t}%, -50%)`,this.$refs.track.style.width=`${t}%`}},mounted(){null!=this.value&&this.update(this.value)}},p=n(3744);const v=(0,p.Z)(h,[["render",_],["__scopeId","data-v-288acf82"]]);var m=v},6137:function(e,t,n){n.d(t,{Z:function(){return p}});var s=n(6252),a=n(3577),r=n(9963);const i=e=>((0,s.dD)("data-v-8e097228"),e=e(),(0,s.Cn)(),e),o=["checked"],l=i((()=>(0,s._)("div",{class:"switch"},[(0,s._)("div",{class:"dot"})],-1))),c={class:"label"};function u(e,t,n,i,u,d){return(0,s.wg)(),(0,s.iD)("div",{class:(0,a.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,r.iM)(((...e)=>d.onInput&&d.onInput(...e)),["stop"]))},[(0,s._)("input",{type:"checkbox",checked:n.value},null,8,o),(0,s._)("label",null,[l,(0,s._)("span",c,[(0,s.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},_=n(3744);const h=(0,_.Z)(d,[["render",u],["__scopeId","data-v-8e097228"]]);var p=h},5824:function(e,t,n){n.r(t),n.d(t,{default:function(){return u}});var s=n(6252);const a={class:"component-widget"},r={class:"container",ref:"container"};function i(e,t,n,i,o,l){const c=(0,s.up)("Loading");return(0,s.wg)(),(0,s.iD)("div",a,[o.loading?((0,s.wg)(),(0,s.j4)(c,{key:0})):(0,s.kq)("",!0),(0,s._)("div",r,null,512)])}var o=n(3275),l=n(3744);const c=(0,l.Z)(o.Z,[["render",i],["__scopeId","data-v-450fcab1"]]);var u=c}}]); +//# sourceMappingURL=5824.0dd40d21.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5824.0dd40d21.js.map b/platypush/backend/http/webapp/dist/static/js/5824.0dd40d21.js.map new file mode 100644 index 000000000..62cac3527 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/5824.0dd40d21.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/5824.0dd40d21.js","mappings":"yiBAcA,MAAMA,KAAM,yCAEZ,0BACEC,KAAM,WACNC,WAAY,CAACC,QAAO,oDACpBC,OAAQ,CAAC,uCACTC,MAAO,CACLC,QAAS,CACPC,KAAMC,SAIVC,OACE,MAAO,CACLC,SAAS,EACTC,QAAS,OAIbC,QAAS,CACPC,cAAcC,GACZ,MAAMC,EAAc,IAAID,EAAQE,UAAUC,QAAQC,GAAyC,YAAhCA,EAAKC,SAASC,gBACnEJ,EAAWD,GAAaM,OAASN,EAAY,GAAGC,SAAWF,EAAQE,SACnEM,EAAa,IAAIN,GAAUC,QAAQC,GAAyC,WAAhCA,EAAKC,SAASC,gBAEhE,GAAKE,GAAYD,OAGjB,MAAO,IAAIC,G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H,GAA2B,OAAgB,IAAQ,CAAC,CAAC,SAAStC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/widgets/Component/Index.vue","webpack://platypush/./src/components/widgets/Component/components/mixins.js","webpack://platypush/./src/components/widgets/Component/components/Run.vue","webpack://platypush/./src/components/widgets/Component/components/Run.vue?73ce","webpack://platypush/./src/components/widgets/Component/components/Sensor.vue","webpack://platypush/./src/components/widgets/Component/components/Sensor.vue?66dc","webpack://platypush/./src/components/widgets/Component/components/Slider.vue","webpack://platypush/./src/components/widgets/Component/components/Slider.vue?fc3e","webpack://platypush/./src/components/widgets/Component/components/Switch.vue","webpack://platypush/./src/components/widgets/Component/components/Switch.vue?ce7f","webpack://platypush/./src/components/widgets/Component/index.js","webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/widgets/Component/Index.vue?276d"],"sourcesContent":["\n\n\n\n\n","import Utils from \"@/Utils\";\n\nexport default {\n mixins: [Utils],\n props: {\n /**\n * Component name\n */\n name: {\n type: String,\n default: '[Unnamed sensor]',\n },\n\n /**\n * Action (FontAwesome) icon class (default: `fa fa-play`)\n */\n iconClass: {\n type: String,\n },\n\n /**\n * Action icon URL (default: `fa fa-play`)\n */\n iconUrl: {\n type: String,\n },\n\n /**\n * Action icon color override, for FontAwesome icons\n */\n iconColor: {\n type: String,\n },\n\n /**\n * Actions to run upon interaction with the widget. Format:\n *\n * [\n * {\n * \"action\": \"light.hue.toggle\",\n * \"args\": {\n * \"lights\": [\"Bulb 1\", \"Bulb 2\"]\n * }\n * },\n * {\n * \"action\": \"music.mpd.pause\"\n * }\n * ]\n */\n actions: {\n type: Array,\n default: () => { return [] },\n },\n\n /**\n * Map of variables used by this component, in the form\n * variable_name -> variable_value.\n */\n _vars: {\n type: Object,\n default: () => { return {} },\n },\n\n /**\n * Map of handlers, in the form of event_type -> functions.\n * Supported event handler types:\n *\n * - mounted: Function to execute when the component is mounted.\n * - beforeActions: Function to execute before the component action is run.\n * - afterActions: Function to execute after the component action is run.\n * - refresh: Function to be called at startup (if mounted is also specified\n * then refresh will be called after mounted when the component is\n * first mounted) and at regular intervals defined on the\n * interval property (default: 10 seconds).\n * - events: This is a mapping of functions that react to Platypush\n * platform events published on the websocket (e.g. lights or\n * switches toggles, media events etc.). The form is\n * platypush_event_type -> function.\n */\n handlers: {\n type: Object,\n default: () => { return {} },\n },\n\n /**\n * Event bus\n */\n bus: {\n type: Object,\n },\n },\n\n data() {\n return {\n vars: {...(this._vars || {})},\n _interval: undefined,\n refresh: null,\n refreshInterval: null,\n value: null,\n loading: false,\n }\n },\n\n computed: {\n iconStyle() {\n if (!this.iconClass?.length && this.iconColor?.length)\n return\n\n return {'color': this.iconColor}\n },\n\n hasIcon() {\n return this.iconUrl?.length || this.iconClass?.length\n },\n },\n\n methods: {\n async run() {\n if (this.handlers.input)\n return this.handlers.input(this)(this.value)\n\n if (this.handlers.beforeActions)\n await this.handlers.beforeActions(this)\n for (const action of this.actions)\n await this.request_(action)\n if (this.handlers.afterActions) {\n await this.handlers.afterActions(this)\n }\n },\n\n async request_(action) {\n const args = Object.entries(action.args).reduce((args, [key, value]) => {\n if (value.trim) {\n value = value.trim()\n const m = value.match(/^{{\\s*(.*)\\s*}}/)\n if (m) {\n value = eval(`// noinspection JSUnusedLocalSymbols\n (function (self) {\n return ${m[1]}\n })`)(this)\n }\n }\n\n args[key] = value\n return args\n }, {})\n\n await this.request(action.action, args)\n },\n\n async processEvent(event) {\n const hndl = (this.handlers.events || {})[event.type]\n if (hndl)\n await hndl(this)(event)\n },\n },\n\n async mounted() {\n this.$root.bus.on('event', this.processEvent)\n\n if (this.handlers.mounted)\n await this.handlers.mounted(this)\n\n if (this.handlers.refresh) {\n this.refreshInterval = (this.handlers.refresh?.interval || 0) * 1000\n this.refresh = () => {\n this.handlers.refresh.handler(this)\n }\n\n await this.refresh()\n if (this.refreshInterval) {\n const self = this\n const wrapper = () => { return self.refresh() }\n this._interval = setInterval(wrapper, this.refreshInterval)\n }\n }\n },\n\n unmounted() {\n if (this._interval)\n clearInterval(this._interval)\n }\n}\n","\n\n\n\n\n","import { render } from \"./Run.vue?vue&type=template&id=7478b72d&scoped=true\"\nimport script from \"./Run.vue?vue&type=script&lang=js\"\nexport * from \"./Run.vue?vue&type=script&lang=js\"\n\nimport \"./Run.vue?vue&type=style&index=0&id=7478b72d&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7478b72d\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Sensor.vue?vue&type=template&id=53594122&scoped=true\"\nimport script from \"./Sensor.vue?vue&type=script&lang=js\"\nexport * from \"./Sensor.vue?vue&type=script&lang=js\"\n\nimport \"./Sensor.vue?vue&type=style&index=0&id=53594122&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-53594122\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=772cf288&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=772cf288&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-772cf288\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=97d3a936&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=97d3a936&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-97d3a936\"]])\n\nexport default __exports__","import Run from './components/Run'\nimport Sensor from \"./components/Sensor\";\nimport Slider from './components/Slider'\nimport Switch from './components/Switch'\n\nexport default {\n Run,\n Sensor,\n Slider,\n Switch,\n}\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=450fcab1&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=450fcab1&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-450fcab1\"]])\n\nexport default __exports__"],"names":["bus","name","components","Loading","mixins","props","content","type","String","data","loading","unwatch","methods","_parseActions","element","actionsTags","children","filter","node","tagName","toLowerCase","length","actionTags","map","actionTag","action","attributes","value","args","reduce","obj","arg","JSON","parse","innerText","e","_parseVars","varsTags","vars","varTag","_parseHandlers","handlers","parseHndlScript","hndlText","app","eval","parseEventHndl","event","hndlTags","mounted","refresh","handler","interval","events","hndlTag","beforeActionsTags","beforeActions","afterActionsTags","afterActions","_parseProps","attr","propagateEvent","emit","_addEventHandler","this","subscribe","_removeEventHandler","$refs","container","innerHTML","Object","entries","forEach","component","$options","getElementsByTagName","actions","_vars","newEl","document","createElement","setAttribute","parentNode","replaceChild","render","h","mount","removeChild","unmounted","Utils","default","iconClass","iconUrl","iconColor","Array","_interval","undefined","refreshInterval","computed","iconStyle","hasIcon","async","input","request_","key","trim","m","match","request","hndl","$root","on","processEvent","self","wrapper","setInterval","clearInterval","class","run","src","alt","style","__exports__","unit","range","parseFloat","min","max","SliderElement","Number","required","target","ToggleSwitch","Run","Sensor","Slider","Switch","ref","step","disabled","onUpdate","withLabel","emits","Boolean","update","$emit","percent","thumb","left","transform","track","width","onInput","checked"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/5824.735f4933.js.map b/platypush/backend/http/webapp/dist/static/js/5824.735f4933.js.map deleted file mode 100644 index 024cab47c..000000000 --- a/platypush/backend/http/webapp/dist/static/js/5824.735f4933.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/5824.735f4933.js","mappings":"yiBAcA,MAAMA,KAAM,yCAEZ,0BACEC,KAAM,W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,GAGXiD,SAAU,CACRpI,KAAMwI,QACNrD,SAAS,IAIb9E,QAAS,CACP4I,QAAQzG,GAEN,GADAA,EAAM2G,kBACF1F,KAAK2E,SACP,OAAO,EAET3E,KAAKiF,MAAM,QAASlG,M,UC/B1B,MAAM2E,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAAStC,GAAQ,CAAC,YAAY,qBAEzF,S,yFdROiC,MAAM,oB,GAEJA,MAAM,YAAYoB,IAAI,a,sEAF7B,QAGM,MAHN,EAGM,CAFW,EAAA/H,UAAA,WAAf,QAA0B,aAA1B,gBACA,OAAyC,MAAzC,EAAyC,Y,wBeI7C,MAAMgH,GAA2B,OAAgB,IAAQ,CAAC,CAAC,SAAStC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/widgets/Component/Index.vue","webpack://platypush/./src/components/widgets/Component/components/mixins.js","webpack://platypush/./src/components/widgets/Component/components/Run.vue","webpack://platypush/./src/components/widgets/Component/components/Run.vue?73ce","webpack://platypush/./src/components/widgets/Component/components/Sensor.vue","webpack://platypush/./src/components/widgets/Component/components/Sensor.vue?66dc","webpack://platypush/./src/components/widgets/Component/components/Slider.vue","webpack://platypush/./src/components/widgets/Component/components/Slider.vue?fc3e","webpack://platypush/./src/components/widgets/Component/components/Switch.vue","webpack://platypush/./src/components/widgets/Component/components/Switch.vue?ce7f","webpack://platypush/./src/components/widgets/Component/index.js","webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/widgets/Component/Index.vue?276d"],"sourcesContent":["\n\n\n\n\n","import Utils from \"@/Utils\";\n\nexport default {\n mixins: [Utils],\n props: {\n /**\n * Component name\n */\n name: {\n type: String,\n default: '[Unnamed sensor]',\n },\n\n /**\n * Action (FontAwesome) icon class (default: `fa fa-play`)\n */\n iconClass: {\n type: String,\n },\n\n /**\n * Action icon URL (default: `fa fa-play`)\n */\n iconUrl: {\n type: String,\n },\n\n /**\n * Action icon color override, for FontAwesome icons\n */\n iconColor: {\n type: String,\n },\n\n /**\n * Actions to run upon interaction with the widget. Format:\n *\n * [\n * {\n * \"action\": \"light.hue.toggle\",\n * \"args\": {\n * \"lights\": [\"Bulb 1\", \"Bulb 2\"]\n * }\n * },\n * {\n * \"action\": \"music.mpd.pause\"\n * }\n * ]\n */\n actions: {\n type: Array,\n default: () => { return [] },\n },\n\n /**\n * Map of variables used by this component, in the form\n * variable_name -> variable_value.\n */\n _vars: {\n type: Object,\n default: () => { return {} },\n },\n\n /**\n * Map of handlers, in the form of event_type -> functions.\n * Supported event handler types:\n *\n * - mounted: Function to execute when the component is mounted.\n * - beforeActions: Function to execute before the component action is run.\n * - afterActions: Function to execute after the component action is run.\n * - refresh: Function to be called at startup (if mounted is also specified\n * then refresh will be called after mounted when the component is\n * first mounted) and at regular intervals defined on the\n * interval property (default: 10 seconds).\n * - events: This is a mapping of functions that react to Platypush\n * platform events published on the websocket (e.g. lights or\n * switches toggles, media events etc.). The form is\n * platypush_event_type -> function.\n */\n handlers: {\n type: Object,\n default: () => { return {} },\n },\n\n /**\n * Event bus\n */\n bus: {\n type: Object,\n },\n },\n\n data() {\n return {\n vars: {...(this._vars || {})},\n _interval: undefined,\n refresh: null,\n refreshInterval: null,\n value: null,\n loading: false,\n }\n },\n\n computed: {\n iconStyle() {\n if (!this.iconClass?.length && this.iconColor?.length)\n return\n\n return {'color': this.iconColor}\n },\n\n hasIcon() {\n return this.iconUrl?.length || this.iconClass?.length\n },\n },\n\n methods: {\n async run() {\n if (this.handlers.input)\n return this.handlers.input(this)(this.value)\n\n if (this.handlers.beforeActions)\n await this.handlers.beforeActions(this)\n for (const action of this.actions)\n await this.request_(action)\n if (this.handlers.afterActions) {\n await this.handlers.afterActions(this)\n }\n },\n\n async request_(action) {\n const args = Object.entries(action.args).reduce((args, [key, value]) => {\n if (value.trim) {\n value = value.trim()\n const m = value.match(/^{{\\s*(.*)\\s*}}/)\n if (m) {\n value = eval(`// noinspection JSUnusedLocalSymbols\n (function (self) {\n return ${m[1]}\n })`)(this)\n }\n }\n\n args[key] = value\n return args\n }, {})\n\n await this.request(action.action, args)\n },\n\n async processEvent(event) {\n const hndl = (this.handlers.events || {})[event.type]\n if (hndl)\n await hndl(this)(event)\n },\n },\n\n async mounted() {\n this.$root.bus.on('event', this.processEvent)\n\n if (this.handlers.mounted)\n await this.handlers.mounted(this)\n\n if (this.handlers.refresh) {\n this.refreshInterval = (this.handlers.refresh?.interval || 0) * 1000\n this.refresh = () => {\n this.handlers.refresh.handler(this)\n }\n\n await this.refresh()\n if (this.refreshInterval) {\n const self = this\n const wrapper = () => { return self.refresh() }\n this._interval = setInterval(wrapper, this.refreshInterval)\n }\n }\n },\n\n unmounted() {\n if (this._interval)\n clearInterval(this._interval)\n }\n}\n","\n\n\n\n\n","import { render } from \"./Run.vue?vue&type=template&id=7478b72d&scoped=true\"\nimport script from \"./Run.vue?vue&type=script&lang=js\"\nexport * from \"./Run.vue?vue&type=script&lang=js\"\n\nimport \"./Run.vue?vue&type=style&index=0&id=7478b72d&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7478b72d\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Sensor.vue?vue&type=template&id=53594122&scoped=true\"\nimport script from \"./Sensor.vue?vue&type=script&lang=js\"\nexport * from \"./Sensor.vue?vue&type=script&lang=js\"\n\nimport \"./Sensor.vue?vue&type=style&index=0&id=53594122&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-53594122\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=772cf288&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=772cf288&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-772cf288\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=97d3a936&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=97d3a936&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-97d3a936\"]])\n\nexport default __exports__","import Run from './components/Run'\nimport Sensor from \"./components/Sensor\";\nimport Slider from './components/Slider'\nimport Switch from './components/Switch'\n\nexport default {\n Run,\n Sensor,\n Slider,\n Switch,\n}\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=450fcab1&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=450fcab1&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-450fcab1\"]])\n\nexport default __exports__"],"names":["bus","name","components","Loading","mixins","props","content","type","String","data","loading","unwatch","methods","_parseActions","element","actionsTags","children","filter","node","tagName","toLowerCase","length","actionTags","map","actionTag","action","attributes","value","args","reduce","obj","arg","JSON","parse","innerText","e","_parseVars","varsTags","vars","varTag","_parseHandlers","handlers","parseHndlScript","hndlText","app","eval","parseEventHndl","event","hndlTags","mounted","refresh","handler","interval","events","hndlTag","beforeActionsTags","beforeActions","afterActionsTags","afterActions","_parseProps","attr","propagateEvent","emit","_addEventHandler","this","subscribe","_removeEventHandler","$refs","container","innerHTML","Object","entries","forEach","component","$options","getElementsByTagName","actions","_vars","newEl","document","createElement","setAttribute","parentNode","replaceChild","render","h","mount","removeChild","unmounted","Utils","default","iconClass","iconUrl","iconColor","Array","_interval","undefined","refreshInterval","computed","iconStyle","hasIcon","async","input","request_","key","trim","m","match","request","hndl","$root","on","processEvent","self","wrapper","setInterval","clearInterval","class","run","src","alt","style","__exports__","unit","range","parseFloat","min","max","SliderElement","Number","required","target","ToggleSwitch","Run","Sensor","Slider","Switch","ref","step","disabled","onUpdate","withLabel","emits","Boolean","update","$emit","percent","thumb","left","transform","track","width","onInput","checked","stopPropagation"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/6849-legacy.880b0312.js b/platypush/backend/http/webapp/dist/static/js/6849-legacy.880b0312.js new file mode 100644 index 000000000..a8acd2e4d --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/6849-legacy.880b0312.js @@ -0,0 +1,2 @@ +(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6849],{647:function(e,n,t){var a=t(1702),r=t(7908),s=Math.floor,o=a("".charAt),i=a("".replace),u=a("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,a,d,v){var m=t+e.length,p=a.length,f=c;return void 0!==d&&(d=r(d),f=l),i(v,f,(function(r,i){var l;switch(o(i,0)){case"$":return"$";case"&":return e;case"`":return u(n,0,t);case"'":return u(n,m);case"<":l=d[u(i,1,-1)];break;default:var c=+i;if(0===c)return r;if(c>p){var v=s(c/10);return 0===v?r:v<=p?void 0===a[v-1]?o(i,1):a[v-1]+o(i,1):r}l=a[c-1]}return void 0===l?"":l}))}},6091:function(e,n,t){var a=t(6530).PROPER,r=t(7293),s=t(1361),o="​…᠎";e.exports=function(e){return r((function(){return!!s[e]()||o[e]()!==o||a&&s[e].name!==e}))}},5306:function(e,n,t){"use strict";var a=t(2104),r=t(6916),s=t(1702),o=t(7007),i=t(7293),u=t(9670),l=t(614),c=t(9303),d=t(7466),v=t(1340),m=t(4488),p=t(1530),f=t(8173),w=t(647),g=t(7651),_=t(5112),h=_("replace"),k=Math.max,b=Math.min,x=s([].concat),y=s([].push),C=s("".indexOf),R=s("".slice),z=function(e){return void 0===e?e:String(e)},D=function(){return"$0"==="a".replace(/./,"$0")}(),N=function(){return!!/./[h]&&""===/./[h]("a","$0")}(),q=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$
")}));o("replace",(function(e,n,t){var s=N?"$":"$0";return[function(e,t){var a=m(this),s=void 0==e?void 0:f(e,h);return s?r(s,e,a,t):r(n,v(a),e,t)},function(e,r){var o=u(this),i=v(e);if("string"==typeof r&&-1===C(r,s)&&-1===C(r,"$<")){var m=t(n,o,i,r);if(m.done)return m.value}var f=l(r);f||(r=v(r));var _=o.global;if(_){var h=o.unicode;o.lastIndex=0}var D=[];while(1){var N=g(o,i);if(null===N)break;if(y(D,N),!_)break;var q=v(N[0]);""===q&&(o.lastIndex=p(i,d(o.lastIndex),h))}for(var S="",I=0,Z=0;Z=I&&(S+=R(i,I,M)+U,I=M+j.length)}return S+R(i,I)}]}),!q||!D||N)},3210:function(e,n,t){"use strict";var a=t(2109),r=t(3111).trim,s=t(6091);a({target:"String",proto:!0,forced:s("trim")},{trim:function(){return r(this)}})},1120:function(e,n,t){"use strict";t.d(n,{Z:function(){return g}});var a=t(6252),r=t(9963),s=t(3577),o={class:"slider-wrapper"},i=["min","max","step","disabled","value"],u={class:"track"},l={class:"track-inner",ref:"track"},c={class:"thumb",ref:"thumb"},d=["textContent"];function v(e,n,t,v,m,p){return(0,a.wg)(),(0,a.iD)("label",o,[(0,a._)("input",{class:"slider",type:"range",ref:"range",min:t.range[0],max:t.range[1],step:t.step,disabled:t.disabled,value:t.value,onInput:n[0]||(n[0]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onChange:n[1]||(n[1]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onMouseup:n[2]||(n[2]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onMousedown:n[3]||(n[3]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onTouchstart:n[4]||(n[4]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onTouchend:n[5]||(n[5]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onKeyup:n[6]||(n[6]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onKeydown:n[7]||(n[7]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"]))},null,40,i),(0,a._)("div",u,[(0,a._)("div",l,null,512)]),(0,a._)("div",c,null,512),t.withLabel?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"label",textContent:(0,s.zw)(t.value)},null,8,d)):(0,a.kq)("",!0)])}var m=t(4648),p=(t(9653),{name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:function(){return[0,100]}},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate:function(e){this.update(e.target.value),this.$emit(e.type,(0,m.Z)((0,m.Z)({},e),{},{target:(0,m.Z)((0,m.Z)({},e.target),{},{value:this.$refs.range.value})}))},update:function(e){var n=100*e/(this.range[1]-this.range[0]);this.$refs.thumb.style.left="".concat(n,"%"),this.$refs.thumb.style.transform="translate(-".concat(n,"%, -50%)"),this.$refs.track.style.width="".concat(n,"%")}},mounted:function(){null!=this.value&&this.update(this.value)}}),f=t(3744);const w=(0,f.Z)(p,[["render",v],["__scopeId","data-v-288acf82"]]);var g=w},6137:function(e,n,t){"use strict";t.d(n,{Z:function(){return p}});var a=t(6252),r=t(3577),s=t(9963),o=function(e){return(0,a.dD)("data-v-8e097228"),e=e(),(0,a.Cn)(),e},i=["checked"],u=o((function(){return(0,a._)("div",{class:"switch"},[(0,a._)("div",{class:"dot"})],-1)})),l={class:"label"};function c(e,n,t,o,c,d){return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,s.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,a._)("input",{type:"checkbox",checked:t.value},null,8,i),(0,a._)("label",null,[u,(0,a._)("span",l,[(0,a.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=t(3744);const m=(0,v.Z)(d,[["render",c],["__scopeId","data-v-8e097228"]]);var p=m},6849:function(e,n,t){"use strict";t.d(n,{Z:function(){return Mr}});t(7327),t(1539),t(2479),t(8309),t(4916),t(5306),t(7042),t(7941),t(1249),t(3948);var a=t(6252),r=t(3577),s={class:"zwave-container"},o={class:"network-info"},i={key:1,class:"params"},u={class:"row"},l=(0,a._)("div",{class:"param-name"},"State",-1),c=["textContent"],d={class:"row"},v=(0,a._)("div",{class:"param-name"},"Device",-1),m=["textContent"],p={class:"section"},f=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Statistics")],-1),w={class:"body"},g=["textContent"],_=["textContent"],h={class:"group-add"},k={class:"params"},b={class:"section"},x=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Select nodes to add")],-1),y={key:0,class:"body"},C=["onClick"],R=["textContent"],z={class:"view-options"},D={class:"view-selector col-s-6 col-m-8 col-l-9"},N=["textContent","selected","value"],q={class:"buttons col-s-6 col-m-4 col-l-3"},S=(0,a._)("i",{class:"fa fa-plus"},null,-1),I=[S],Z=(0,a._)("i",{class:"fa fa-sync-alt"},null,-1),j=[Z],M={class:"view-container"},V={key:0,class:"view nodes"},O={key:1,class:"no-items"},A=(0,a._)("div",{class:"empty"},"No nodes available on the network",-1),$=[A],U={key:1,class:"view groups"},T={key:1,class:"no-items"},E=(0,a._)("div",{class:"empty"},"No groups available on the network",-1),W=[E],F={key:2,class:"view scenes"},H={key:1,class:"no-items"},G=(0,a._)("div",{class:"empty"},"No scenes configured on the network",-1),K=[G],L=["textContent","onClick"],B={key:0,class:"params"},Y={class:"row"},P=(0,a._)("div",{class:"param-name"},"Scene ID",-1),J=["textContent"],Q={class:"row"},X=(0,a._)("div",{class:"param-name"},"Activate",-1),ee={class:"param-value"},ne={key:0,class:"section values"},te=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Values")],-1),ae={class:"body"},re={class:"param-name"},se={class:"param-value"},oe=["textContent"],ie={class:"buttons"},ue=["onClick"],le=(0,a._)("i",{class:"fa fa-trash"},null,-1),ce=[le],de={class:"section actions"},ve=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Actions")],-1),me={class:"body"},pe=["onClick"],fe=(0,a._)("div",{class:"param-name"},"Remove Scene",-1),we=(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1),ge=[fe,we],_e=["onClick"],he=(0,a._)("div",{class:"param-name"},"Rename Scene",-1),ke=(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-edit"})],-1),be=[he,ke],xe={key:3,class:"view values"},ye={key:1,class:"no-items"},Ce=(0,a._)("div",{class:"empty"},"No nodes found on the network",-1),Re=[Ce],ze=["textContent","onClick"],De={key:0,class:"params"},Ne={key:0,class:"value-display"};function qe(e,n,t,S,Z,A){var E=(0,a.up)("Loading"),G=(0,a.up)("Modal"),le=(0,a.up)("DropdownItem"),fe=(0,a.up)("Dropdown"),we=(0,a.up)("Node"),he=(0,a.up)("Group"),ke=(0,a.up)("ToggleSwitch"),Ce=(0,a.up)("Value");return(0,a.wg)(),(0,a.iD)("div",s,[(0,a.Wm)(G,{title:"Network info",ref:"networkInfoModal"},{default:(0,a.w5)((function(){return[(0,a._)("div",o,[Z.loading.status?((0,a.wg)(),(0,a.j4)(E,{key:0})):((0,a.wg)(),(0,a.iD)("div",i,[(0,a._)("div",u,[l,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(Z.status.state)},null,8,c)]),(0,a._)("div",d,[v,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(Z.status.device)},null,8,m)]),(0,a._)("div",p,[f,(0,a._)("div",w,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.status.stats,(function(e,n){return(0,a.wg)(),(0,a.iD)("div",{class:"row",key:n},[(0,a._)("div",{class:"param-name",textContent:(0,r.zw)(n)},null,8,g),(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(e)},null,8,_)])})),128))])])]))])]})),_:1},512),(0,a.Wm)(G,{title:"Add nodes to group",ref:"addNodesToGroupModal"},{default:(0,a.w5)((function(){return[(0,a._)("div",h,[(0,a._)("div",k,[(0,a._)("div",b,[x,null!=Z.selected.groupId?((0,a.wg)(),(0,a.iD)("div",y,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Object.values(Z.nodes||{}).filter((function(e){return Z.groups[Z.selected.groupId].associations.indexOf(e.node_id)<0})),(function(e){return(0,a.wg)(),(0,a.iD)("div",{class:"row clickable",onClick:function(n){return A.addToGroup(e.node_id,Z.selected.groupId)},key:e.node_id},[(0,a._)("div",{class:"param-name",textContent:(0,r.zw)(e.name)},null,8,R)],8,C)})),128))])):(0,a.kq)("",!0)])])])]})),_:1},512),(0,a._)("div",z,[(0,a._)("div",D,[(0,a._)("label",null,[(0,a._)("select",{onChange:n[0]||(n[0]=function(e){return Z.selected.view=e.target.value})},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.views,(function(e,n){return(0,a.wg)(),(0,a.iD)("option",{key:e,textContent:(0,r.zw)((n[0].toUpperCase()+n.slice(1)).replace("_"," ")),selected:n===Z.selected.view,value:n},null,8,N)})),128))],32)])]),(0,a._)("div",q,["scenes"===Z.selected.view?((0,a.wg)(),(0,a.iD)("button",{key:0,class:"btn btn-default",title:"Create Scene",onClick:n[1]||(n[1]=function(){return A.addScene&&A.addScene.apply(A,arguments)})},I)):(0,a.kq)("",!0),(0,a.Wm)(fe,{title:"Network commands","icon-class":"fa fa-cog"},{default:(0,a.w5)((function(){return[(0,a.Wm)(le,{text:"Network Info",disabled:Z.commandRunning,onClick:A.networkInfoModalOpen},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Start Network",disabled:Z.commandRunning,onClick:A.startNetwork},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Stop Network",disabled:Z.commandRunning,onClick:A.stopNetwork},null,8,["disabled","onClick"]),"nodes"===Z.selected.view?((0,a.wg)(),(0,a.j4)(le,{key:0,text:"Add Node",disabled:Z.commandRunning,onClick:A.addNode},null,8,["disabled","onClick"])):(0,a.kq)("",!0),"nodes"===Z.selected.view?((0,a.wg)(),(0,a.j4)(le,{key:1,text:"Remove Node",disabled:Z.commandRunning,onClick:A.removeNode},null,8,["disabled","onClick"])):(0,a.kq)("",!0),(0,a.Wm)(le,{text:"Switch All On",disabled:Z.commandRunning,onClick:n[2]||(n[2]=function(e){return A.switchAll(!0)})},null,8,["disabled"]),(0,a.Wm)(le,{text:"Switch All Off",disabled:Z.commandRunning,onClick:n[3]||(n[3]=function(e){return A.switchAll(!1)})},null,8,["disabled"]),(0,a.Wm)(le,{text:"Cancel Command",disabled:Z.commandRunning,onClick:A.cancelCommand},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Kill Command",disabled:Z.commandRunning,onClick:A.killCommand},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Receive Configuration",disabled:Z.commandRunning,onClick:A.receiveConfiguration},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Create New Primary",disabled:Z.commandRunning,onClick:A.createNewPrimary},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Transfer Primary Role",disabled:Z.commandRunning,onClick:A.transferPrimaryRole},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Heal Network",disabled:Z.commandRunning,onClick:A.healNetwork},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Soft Reset",disabled:Z.commandRunning,onClick:A.softReset},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Hard Reset",disabled:Z.commandRunning,onClick:A.hardReset},null,8,["disabled","onClick"])]})),_:1}),(0,a._)("button",{class:"btn btn-default",title:"Refresh Network",onClick:n[4]||(n[4]=function(){return A.refresh&&A.refresh.apply(A,arguments)})},j)])]),(0,a._)("div",M,["nodes"===Z.selected.view?((0,a.wg)(),(0,a.iD)("div",V,[Z.loading.nodes?((0,a.wg)(),(0,a.j4)(E,{key:0})):Object.keys(Z.nodes||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",O,$)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.nodes,(function(n,t){return(0,a.wg)(),(0,a.j4)(we,{key:t,node:n,selected:Z.selected.nodeId===t,"plugin-name":e.pluginName,onSelect:function(e){return A.onNodeClick(t)}},null,8,["node","selected","plugin-name","onSelect"])})),128))])):"groups"===Z.selected.view?((0,a.wg)(),(0,a.iD)("div",U,[Z.loading.groups?((0,a.wg)(),(0,a.j4)(E,{key:0})):Object.keys(Z.groups||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",T,W)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.groups,(function(t,r){return(0,a.wg)(),(0,a.j4)(he,{key:r,group:t,selected:Z.selected.groupId===r,nodes:r in Z.groups?Z.groups[r].associations.map((function(e){return Z.nodes[e]})).reduce((function(e,n){return e[n.node_id]=n,e}),{}):{},owner:null!=t.node_id?Z.nodes[t.node_id]:null,"plugin-name":e.pluginName,onSelect:function(e){return Z.selected.groupId=r===Z.selected.groupId?void 0:r},onOpenAddNodesToGroup:n[5]||(n[5]=function(n){return e.$refs.addNodesToGroupModal.show()})},null,8,["group","selected","nodes","owner","plugin-name","onSelect"])})),128))])):"scenes"===Z.selected.view?((0,a.wg)(),(0,a.iD)("div",F,[Z.loading.scenes?((0,a.wg)(),(0,a.j4)(E,{key:0})):Object.keys(Z.scenes||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",H,K)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.scenes,(function(e,n){var t;return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["item scene",{selected:Z.selected.sceneId===n}]),key:n},[(0,a._)("div",{class:(0,r.C_)(["row name header vertical-center",{selected:Z.selected.sceneId===n}]),textContent:(0,r.zw)(e.label),onClick:function(e){return Z.selected.sceneId=n===Z.selected.sceneId?void 0:n}},null,10,L),Z.selected.sceneId===n?((0,a.wg)(),(0,a.iD)("div",B,[(0,a._)("div",Y,[P,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(n)},null,8,J)]),(0,a._)("div",Q,[X,(0,a._)("div",ee,[(0,a.Wm)(ke,{value:!1,onInput:function(e){return A.activateScene(n)}},null,8,["onInput"])])]),null!==(t=Object.values(null===e||void 0===e?void 0:e.values))&&void 0!==t&&t.length?((0,a.wg)(),(0,a.iD)("div",ne,[te,(0,a._)("div",ae,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Object.values(e.values),(function(e){return(0,a.wg)(),(0,a.iD)("div",{class:"row",key:e.id_on_network},[(0,a._)("div",re,(0,r.zw)(Z.nodes[e.node_id].name)+" ⇨ "+(0,r.zw)(A.valuesMap[e.id_on_network].label),1),(0,a._)("div",se,[(0,a._)("span",{textContent:(0,r.zw)(e.data)},null,8,oe),(0,a._)("span",ie,[(0,a._)("button",{class:"btn btn-default",title:"Remove value",onClick:function(t){return A.removeValueFromScene({sceneId:n,valueId:e.id_on_network})}},ce,8,ue)])])])})),128))])])):(0,a.kq)("",!0),(0,a._)("div",de,[ve,(0,a._)("div",me,[(0,a._)("div",{class:"row",onClick:function(e){return A.removeScene(n)}},ge,8,pe),(0,a._)("div",{class:"row",onClick:function(e){return A.renameScene(n)}},be,8,_e)])])])):(0,a.kq)("",!0)],2)})),128))])):((0,a.wg)(),(0,a.iD)("div",xe,[Z.loading.nodes?((0,a.wg)(),(0,a.j4)(E,{key:0})):Object.keys(Z.nodes||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",ye,Re)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.nodes,(function(n,t){return(0,a.wg)(),(0,a.iD)("div",{class:"node-container",key:t},["values"===Z.selected.view||Object.values(n.values).filter((function(e){return e.id_on_network in Z.values[Z.selected.view]})).length>0?((0,a.wg)(),(0,a.iD)("div",{key:0,class:(0,r.C_)(["item node",{selected:Z.selected.nodeId===t}])},[(0,a._)("div",{class:(0,r.C_)(["row name header vertical-center",{selected:Z.selected.nodeId===t}]),textContent:(0,r.zw)(n.name),onClick:function(e){return A.onNodeClick(t)}},null,10,ze),Z.selected.nodeId===t?((0,a.wg)(),(0,a.iD)("div",De,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(n.values,(function(t,r){return(0,a.wg)(),(0,a.iD)("div",{class:"value-container",key:r},[t.id_on_network&&("values"===Z.selected.view||t.id_on_network in Z.values[Z.selected.view])?((0,a.wg)(),(0,a.iD)("div",Ne,[(0,a.Wm)(Ce,{value:t,node:n,scenes:Z.scenes,onAddToScene:A.addValueToScene,onRemoveFromScene:A.removeValueFromScene,onRefresh:A.refreshNodes,"plugin-name":e.pluginName},null,8,["value","node","scenes","onAddToScene","onRemoveFromScene","onRefresh","plugin-name"])])):(0,a.kq)("",!0)])})),128))])):(0,a.kq)("",!0)],2)):(0,a.kq)("",!0)])})),128))]))])])}var Se=t(8534),Ie=(t(5666),t(3210),function(e){return(0,a.dD)("data-v-56458f8e"),e=e(),(0,a.Cn)(),e}),Ze=["textContent"],je={key:0,class:"params"},Me={key:0,class:"section owner"},Ve=Ie((function(){return(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Owner")],-1)})),Oe={class:"body"},Ae=["textContent"],$e={class:"section nodes"},Ue={class:"header"},Te=Ie((function(){return(0,a._)("div",{class:"title col-10"},"Nodes",-1)})),Ee={class:"buttons col-2"},We=Ie((function(){return(0,a._)("i",{class:"fa fa-plus"},null,-1)})),Fe=[We],He={class:"body"},Ge=["textContent"],Ke={class:"buttons col-2"},Le=["disabled","onClick"],Be=Ie((function(){return(0,a._)("i",{class:"fa fa-trash"},null,-1)})),Ye=[Be],Pe={class:"section config"},Je=Ie((function(){return(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Parameters")],-1)})),Qe={class:"body"},Xe={class:"row"},en=Ie((function(){return(0,a._)("div",{class:"param-name"},"Index",-1)})),nn=["textContent"],tn={class:"row"},an=Ie((function(){return(0,a._)("div",{class:"param-name"},"Max associations",-1)})),rn=["textContent"];function sn(e,n,t,s,o,i){return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["item group",{selected:t.selected}])},[(0,a._)("div",{class:(0,r.C_)(["row name header vertical-center",{selected:t.selected}]),textContent:(0,r.zw)(t.group.label),onClick:n[0]||(n[0]=function(n){return e.$emit("select",t.group.index)})},null,10,Ze),t.selected?((0,a.wg)(),(0,a.iD)("div",je,[t.owner&&Object.keys(t.owner).length?((0,a.wg)(),(0,a.iD)("div",Me,[Ve,(0,a._)("div",Oe,[(0,a._)("div",{class:"row",textContent:(0,r.zw)(t.owner.name)},null,8,Ae)])])):(0,a.kq)("",!0),(0,a._)("div",$e,[(0,a._)("div",Ue,[Te,(0,a._)("div",Ee,[!t.group.max_associations||Object.keys(t.nodes||{}).length"))},null,8,Ge),(0,a._)("div",Ke,[(0,a._)("button",{class:"btn btn-default",title:"Remove from group",disabled:o.commandRunning,onClick:function(n){return i.removeFromGroup(e.node_id)}},Ye,8,Le)])])})),128))])]),(0,a._)("div",Pe,[Je,(0,a._)("div",Qe,[(0,a._)("div",Xe,[en,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.group.index)},null,8,nn)]),(0,a._)("div",tn,[an,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.group.max_associations)},null,8,rn)])])])])):(0,a.kq)("",!0)],2)}t(2222);var on=t(2628),un={mixins:[on.Z],props:{pluginName:{type:String,required:!0}},methods:{zrequest:function(e,n){var t=this;return(0,Se.Z)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,t.request("".concat(t.pluginName,".").concat(e),n);case 2:return a.abrupt("return",a.sent);case 3:case"end":return a.stop()}}),a)})))()}}},ln={name:"Group",emits:["select","open-add-nodes-to-group"],mixins:[un],props:{group:{type:Object,required:!0},owner:{type:Object},nodes:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{commandRunning:!1}},methods:{removeFromGroup:function(e){var n=this;return(0,Se.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(confirm("Are you sure that you want to remove this node from "+n.group.label+"?")){t.next=2;break}return t.abrupt("return");case 2:return n.commandRunning=!0,a={node_id:e},null!=n.group.group_id?a.group_id=n.group.group_id:a.group_index=n.group.index,t.prev=5,t.next=8,n.zrequest("remove_node_from_group",a);case 8:return t.prev=8,n.commandRunning=!1,t.finish(8);case 11:case"end":return t.stop()}}),t,null,[[5,,8,11]])})))()}}},cn=t(3744);const dn=(0,cn.Z)(ln,[["render",sn],["__scopeId","data-v-56458f8e"]]);var vn=dn,mn=(t(9600),t(9714),t(9963)),pn=function(e){return(0,a.dD)("data-v-3da196a6"),e=e(),(0,a.Cn)(),e},fn=["textContent"],wn={key:0,class:"params"},gn={class:"row"},_n=pn((function(){return(0,a._)("div",{class:"param-name"},"Name",-1)})),hn={class:"param-value"},kn=["value","disabled"],bn={class:"buttons"},xn=pn((function(){return(0,a._)("i",{class:"fas fa-times"},null,-1)})),yn=[xn],Cn=["disabled"],Rn=pn((function(){return(0,a._)("i",{class:"fa fa-check"},null,-1)})),zn=[Rn],Dn=["textContent"],Nn={class:"buttons"},qn=["disabled"],Sn=pn((function(){return(0,a._)("i",{class:"fa fa-edit"},null,-1)})),In=[Sn],Zn={class:"row"},jn=pn((function(){return(0,a._)("div",{class:"param-name"},"Location",-1)})),Mn={class:"param-value"},Vn=["value","disabled"],On={class:"buttons"},An=pn((function(){return(0,a._)("i",{class:"fas fa-times"},null,-1)})),$n=[An],Un=["disabled"],Tn=pn((function(){return(0,a._)("i",{class:"fa fa-check"},null,-1)})),En=[Tn],Wn=["textContent"],Fn={class:"buttons"},Hn=["disabled"],Gn=pn((function(){return(0,a._)("i",{class:"fa fa-edit"},null,-1)})),Kn=[Gn],Ln={class:"row"},Bn=pn((function(){return(0,a._)("div",{class:"param-name"},"Type",-1)})),Yn=["textContent"],Pn={class:"row"},Jn=pn((function(){return(0,a._)("div",{class:"param-name"},"Role",-1)})),Qn=["textContent"],Xn={class:"row"},et=pn((function(){return(0,a._)("div",{class:"param-name"},"Node ID",-1)})),nt=["textContent"],tt={key:0,class:"row"},at=pn((function(){return(0,a._)("div",{class:"param-name"},"Neighbours",-1)})),rt={class:"param-value"},st=["textContent"],ot={class:"row"},it=pn((function(){return(0,a._)("div",{class:"param-name"},"Is Ready",-1)})),ut=["textContent"],lt={class:"row"},ct=pn((function(){return(0,a._)("div",{class:"param-name"},"Is Failed",-1)})),dt=["textContent"],vt={class:"row"},mt=pn((function(){return(0,a._)("div",{class:"param-name"},"Product ID",-1)})),pt=["textContent"],ft={class:"row"},wt=pn((function(){return(0,a._)("div",{class:"param-name"},"Product Type",-1)})),gt=["textContent"],_t={key:1,class:"row"},ht=pn((function(){return(0,a._)("div",{class:"param-name"},"Product Name",-1)})),kt=["textContent"],bt={class:"row"},xt=pn((function(){return(0,a._)("div",{class:"param-name"},"Manufacturer ID",-1)})),yt=["textContent"],Ct={key:2,class:"row"},Rt=pn((function(){return(0,a._)("div",{class:"param-name"},"Manufacturer Name",-1)})),zt=["textContent"],Dt={class:"row"},Nt=pn((function(){return(0,a._)("div",{class:"param-name"},"Capabilities",-1)})),qt=["textContent"],St={class:"row"},It=pn((function(){return(0,a._)("div",{class:"param-name"},"Command Classes",-1)})),Zt=["textContent"],jt={class:"row"},Mt=pn((function(){return(0,a._)("div",{class:"param-name"},"Groups",-1)})),Vt=["textContent"],Ot={key:3,class:"row"},At=pn((function(){return(0,a._)("div",{class:"param-name"},"Home ID",-1)})),$t=["textContent"],Ut={class:"row"},Tt=pn((function(){return(0,a._)("div",{class:"param-name"},"Is Awake",-1)})),Et=["textContent"],Wt={key:4,class:"row"},Ft=pn((function(){return(0,a._)("div",{class:"param-name"},"Is Locked",-1)})),Ht=["textContent"],Gt={key:5,class:"row"},Kt=pn((function(){return(0,a._)("div",{class:"param-name"},"Last Update",-1)})),Lt=["textContent"],Bt={key:6,class:"row"},Yt=pn((function(){return(0,a._)("div",{class:"param-name"},"Baud Rate",-1)})),Pt=["textContent"],Jt={key:7,class:"row"},Qt=pn((function(){return(0,a._)("div",{class:"param-name"},"Max Baud Rate",-1)})),Xt=["textContent"],ea={class:"section actions"},na=pn((function(){return(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Actions")],-1)})),ta={class:"body"},aa=pn((function(){return(0,a._)("div",{class:"param-name"},"Remove Failed Node",-1)})),ra=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1)})),sa=[aa,ra],oa=pn((function(){return(0,a._)("div",{class:"param-name"},"Replace Failed Node",-1)})),ia=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-sync-alt"})],-1)})),ua=[oa,ia],la=pn((function(){return(0,a._)("div",{class:"param-name"},"Heal Node",-1)})),ca=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fas fa-wrench"})],-1)})),da=[la,ca],va=pn((function(){return(0,a._)("div",{class:"param-name"},"Replicate info to secondary controller",-1)})),ma=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-clone"})],-1)})),pa=[va,ma],fa=pn((function(){return(0,a._)("div",{class:"param-name"},"Request network update",-1)})),wa=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fas fa-wifi"})],-1)})),ga=[fa,wa],_a=pn((function(){return(0,a._)("div",{class:"param-name"},"Request neighbours update",-1)})),ha=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fas fa-network-wired"})],-1)})),ka=[_a,ha];function ba(e,n,t,s,o,i){var u,l,c,d;return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["item node",{selected:t.selected}])},[(0,a._)("div",{class:(0,r.C_)(["row name header vertical-center",{selected:t.selected}]),textContent:(0,r.zw)(t.node.name&&t.node.name.length?t.node.name:"")),onClick:n[0]||(n[0]=function(n){return e.$emit("select")})},null,10,fn),t.selected?((0,a.wg)(),(0,a.iD)("div",wn,[(0,a._)("div",gn,[_n,(0,a._)("div",hn,[(0,a._)("div",{class:(0,r.C_)(["edit-cell",{hidden:!o.editMode.name}])},[(0,a._)("form",{ref:"nameForm",onSubmit:n[2]||(n[2]=(0,mn.iM)((function(){return i.editName&&i.editName.apply(i,arguments)}),["prevent"]))},[(0,a._)("label",null,[(0,a._)("input",{type:"text",name:"name",value:t.node.name,disabled:o.commandRunning},null,8,kn)]),(0,a._)("span",bn,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[1]||(n[1]=function(e){return o.editMode.name=!1})},yn),(0,a._)("button",{type:"submit",class:"btn btn-default",disabled:o.commandRunning},zn,8,Cn)])],544)],2),(0,a._)("div",{class:(0,r.C_)({hidden:o.editMode.name})},[(0,a._)("span",{textContent:(0,r.zw)(null!==(u=t.node.name)&&void 0!==u&&u.length?t.node.name:""))},null,8,Dn),(0,a._)("span",Nn,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[3]||(n[3]=function(e){return i.onEditMode("name")}),disabled:o.commandRunning},In,8,qn)])],2)])]),(0,a._)("div",Zn,[jn,(0,a._)("div",Mn,[(0,a._)("div",{class:(0,r.C_)(["edit-cell",{hidden:!o.editMode.location}])},[(0,a._)("form",{ref:"locationForm",onSubmit:n[5]||(n[5]=(0,mn.iM)((function(){return i.editLocation&&i.editLocation.apply(i,arguments)}),["prevent"]))},[(0,a._)("label",null,[(0,a._)("input",{type:"text",name:"location",value:t.node.location,disabled:o.commandRunning},null,8,Vn)]),(0,a._)("span",On,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[4]||(n[4]=function(e){return o.editMode.location=!1})},$n),(0,a._)("button",{type:"submit",class:"btn btn-default",disabled:o.commandRunning},En,8,Un)])],544)],2),(0,a._)("div",{class:(0,r.C_)({hidden:o.editMode.location})},[(0,a._)("span",{textContent:(0,r.zw)(null!==(l=t.node.location)&&void 0!==l&&l.length?t.node.location:"")},null,8,Wn),(0,a._)("span",Fn,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[6]||(n[6]=function(e){return i.onEditMode("location")}),disabled:o.commandRunning},Kn,8,Hn)])],2)])]),(0,a._)("div",Ln,[Bn,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.type)},null,8,Yn)]),(0,a._)("div",Pn,[Jn,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.role)},null,8,Qn)]),(0,a._)("div",Xn,[et,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.node_id)},null,8,nt)]),t.node.neighbours.length?((0,a.wg)(),(0,a.iD)("div",tt,[at,(0,a._)("div",rt,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(t.node.neighbours,(function(e,n){return(0,a.wg)(),(0,a.iD)("div",{class:"row pull-right",key:n,textContent:(0,r.zw)(e)},null,8,st)})),128))])])):(0,a.kq)("",!0),(0,a._)("div",ot,[it,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.is_ready)},null,8,ut)]),(0,a._)("div",lt,[ct,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.is_failed)},null,8,dt)]),(0,a._)("div",vt,[mt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.manufacturer_id)},null,8,pt)]),(0,a._)("div",ft,[wt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.product_type)},null,8,gt)]),null!==(c=t.node.product_name)&&void 0!==c&&c.length?((0,a.wg)(),(0,a.iD)("div",_t,[ht,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.product_name)},null,8,kt)])):(0,a.kq)("",!0),(0,a._)("div",bt,[xt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.manufacturer_id)},null,8,yt)]),null!==(d=t.node.manufacturer_name)&&void 0!==d&&d.length?((0,a.wg)(),(0,a.iD)("div",Ct,[Rt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.manufacturer_name)},null,8,zt)])):(0,a.kq)("",!0),(0,a._)("div",Dt,[Nt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.capabilities.join(", "))},null,8,qt)]),(0,a._)("div",St,[It,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.command_classes.join(", "))},null,8,Zt)]),(0,a._)("div",jt,[Mt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(Object.values(t.node.groups).map((function(e){return e.label||""})).join(", "))},null,8,Vt)]),t.node.home_id?((0,a.wg)(),(0,a.iD)("div",Ot,[At,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.home_id.toString(16))},null,8,$t)])):(0,a.kq)("",!0),(0,a._)("div",Ut,[Tt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.is_awake)},null,8,Et)]),null!=t.node.is_locked?((0,a.wg)(),(0,a.iD)("div",Wt,[Ft,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.is_locked)},null,8,Ht)])):(0,a.kq)("",!0),t.node.last_update?((0,a.wg)(),(0,a.iD)("div",Gt,[Kt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(e.formatDateTime(t.node.last_update))},null,8,Lt)])):(0,a.kq)("",!0),t.node.baud_rate?((0,a.wg)(),(0,a.iD)("div",Bt,[Yt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.baud_rate)},null,8,Pt)])):(0,a.kq)("",!0),t.node.max_baud_rate?((0,a.wg)(),(0,a.iD)("div",Jt,[Qt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.max_baud_rate)},null,8,Xt)])):(0,a.kq)("",!0),(0,a._)("div",ea,[na,(0,a._)("div",ta,[t.node.is_failed?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"row error",onClick:n[7]||(n[7]=function(){return i.removeFailedNode&&i.removeFailedNode.apply(i,arguments)})},sa)):(0,a.kq)("",!0),t.node.is_failed?((0,a.wg)(),(0,a.iD)("div",{key:1,class:"row error",onClick:n[8]||(n[8]=function(){return i.replaceFailedNode&&i.replaceFailedNode.apply(i,arguments)})},ua)):(0,a.kq)("",!0),(0,a._)("div",{class:"row",onClick:n[9]||(n[9]=function(){return i.heal&&i.heal.apply(i,arguments)})},da),(0,a._)("div",{class:"row",onClick:n[10]||(n[10]=function(){return i.replicationSend&&i.replicationSend.apply(i,arguments)})},pa),(0,a._)("div",{class:"row",onClick:n[11]||(n[11]=function(){return i.requestNetworkUpdate&&i.requestNetworkUpdate.apply(i,arguments)})},ga),(0,a._)("div",{class:"row",onClick:n[12]||(n[12]=function(){return i.requestNeighbourUpdate&&i.requestNeighbourUpdate.apply(i,arguments)})},ka)])])])):(0,a.kq)("",!0)],2)}var xa={name:"Node",emits:["select"],mixins:[un],props:{node:{type:Object,required:!0},selected:{type:Boolean,default:!1}},data:function(){return{commandRunning:!1,editMode:{name:!1,location:!1}}},methods:{removeFailedNode:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:if(confirm("Are you sure that you want to remove this node?")){n.next=5;break}return n.abrupt("return");case 5:return e.commandRunning=!0,n.prev=6,n.next=9,e.zrequest("remove_node",{node_id:e.node.node_id});case 9:return n.prev=9,e.commandRunning=!1,n.finish(9);case 12:case"end":return n.stop()}}),n,null,[[6,,9,12]])})))()},replaceFailedNode:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:if(confirm("Are you sure that you want to replace this node?")){n.next=5;break}return n.abrupt("return");case 5:return e.commandRunning=!0,n.prev=6,n.next=9,e.zrequest("replace_node",{node_id:e.node.node_id});case 9:return n.prev=9,e.commandRunning=!1,n.finish(9);case 12:case"end":return n.stop()}}),n,null,[[6,,9,12]])})))()},replicationSend:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:return e.commandRunning=!0,n.prev=4,n.next=7,e.zrequest("replication_send",{node_id:e.node.node_id});case 7:return n.prev=7,e.commandRunning=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[4,,7,10]])})))()},requestNetworkUpdate:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:return e.commandRunning=!0,n.prev=4,n.next=7,e.zrequest("request_network_update",{node_id:e.node.node_id});case 7:return n.prev=7,e.commandRunning=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[4,,7,10]])})))()},requestNeighbourUpdate:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:return e.commandRunning=!0,n.prev=4,n.next=7,e.zrequest("request_node_neighbour_update",{node_id:e.node.node_id});case 7:return n.prev=7,e.commandRunning=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[4,,7,10]])})))()},onEditMode:function(e){this.editMode[e]=!0;var n=this.$refs[e+"Form"],t=n.querySelector("input[type=text]");setTimeout((function(){t.focus(),t.select()}),10)},editName:function(e){var n=this;return(0,Se.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.target.querySelector("input[name=name]").value,n.commandRunning=!0,t.prev=2,t.next=5,n.zrequest("set_node_name",{node_id:n.node.node_id,new_name:a});case 5:return t.prev=5,n.commandRunning=!1,t.finish(5);case 8:n.editMode.name=!1;case 9:case"end":return t.stop()}}),t,null,[[2,,5,8]])})))()},editLocation:function(e){var n=this;return(0,Se.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.target.querySelector("input[name=location]").value,n.commandRunning=!0,t.prev=2,t.next=5,n.zrequest("set_node_location",{node_id:n.node.node_id,location:a});case 5:return t.prev=5,n.commandRunning=!1,t.finish(5);case 8:n.editMode.location=!1;case 9:case"end":return t.stop()}}),t,null,[[2,,5,8]])})))()},heal:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return console.log("A command is already running"),n.abrupt("return");case 3:return e.commandRunning=!0,n.prev=4,n.next=7,e.zrequest("node_heal",{node_id:e.node.node_id});case 7:return n.prev=7,e.commandRunning=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[4,,7,10]])})))()}}};const ya=(0,cn.Z)(xa,[["render",ba],["__scopeId","data-v-3da196a6"]]);var Ca=ya,Ra=t(9642),za=t(7021),Da=t(455),Na=t(1232),qa=t(6137);t(2526),t(1817),t(2165),t(8783);function Sa(e){return Sa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sa(e)}var Ia=function(e){return(0,a.dD)("data-v-0021cd76"),e=e(),(0,a.Cn)(),e},Za={class:"section value"},ja={class:"header"},Ma={class:"title"},Va=["disabled","data-id-on-network"],Oa=Ia((function(){return(0,a._)("i",{class:"fa fa-edit"},null,-1)})),Aa=[Oa],$a={class:"body"},Ua={class:"row"},Ta=Ia((function(){return(0,a._)("div",{class:"param-name"},"Value",-1)})),Ea={class:"param-value"},Wa={key:0,class:"value-view"},Fa=["textContent"],Ha=["textContent"],Ga={key:1,class:"value-edit"},Ka={key:0,class:"list"},La=["textContent","selected","value"],Ba={key:1,class:"numeric slider-container"},Ya={class:"col-10"},Pa={class:"row"},Ja=["textContent"],Qa=["textContent"],Xa={class:"row"},er={class:"col-2"},nr=["value"],tr={key:2,class:"boolean"},ar={key:3,class:"value-data"},rr=["value"],sr=["textContent"],or=Ia((function(){return(0,a._)("div",{class:"param-name"},"Remove From Scene",-1)})),ir=Ia((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1)})),ur=[or,ir],lr={key:1,class:"row",style:{cursor:"pointer"}},cr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Add To Scene",-1)})),dr={class:"param-value"},vr={key:2,class:"row"},mr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Help",-1)})),pr=["textContent"],fr={class:"row"},wr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Value ID",-1)})),gr=["textContent"],_r={key:3,class:"row"},hr=Ia((function(){return(0,a._)("div",{class:"param-name"},"ID on Network",-1)})),kr=["textContent"],br={class:"row"},xr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Command Class",-1)})),yr=["textContent"],Cr={key:4,class:"row"},Rr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Last Update",-1)})),zr=["textContent"];function Dr(e,n,t,s,o,i){var u,l,c,d,v,m=(0,a.up)("Slider"),p=(0,a.up)("ToggleSwitch"),f=(0,a.up)("DropdownItem"),w=(0,a.up)("Dropdown");return(0,a.wg)(),(0,a.iD)("div",Za,[(0,a._)("div",ja,[(0,a._)("div",Ma,[(0,a._)("button",{class:"btn btn-default btn-value-name-edit",title:"Edit value name",disabled:o.commandRunning,"data-id-on-network":t.value.id_on_network,onClick:n[0]||(n[0]=function(){return i.editName&&i.editName.apply(i,arguments)})},Aa,8,Va),(0,a.Uk)(" "+(0,r.zw)(t.value.label),1)])]),(0,a._)("div",$a,[(0,a._)("div",Ua,[Ta,(0,a._)("div",Ea,[t.value.is_read_only?((0,a.wg)(),(0,a.iD)("div",Wa,[(0,a._)("div",{class:"value-data",textContent:(0,r.zw)(t.value.data)},null,8,Fa),null!==(u=t.value.units)&&void 0!==u&&u.length?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"unit",textContent:(0,r.zw)(t.value.units)},null,8,Ha)):(0,a.kq)("",!0)])):((0,a.wg)(),(0,a.iD)("div",Ga,[(0,a._)("div",{class:(0,r.C_)(["col-"+(null!==(l=t.value.units)&&void 0!==l&&l.length?"11":"12")])},["List"===t.value.type?((0,a.wg)(),(0,a.iD)("div",Ka,[(0,a._)("label",null,[(0,a._)("select",{onChange:n[1]||(n[1]=function(){return i.onValueChange&&i.onValueChange.apply(i,arguments)})},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(t.value.data_items,(function(e,n){return(0,a.wg)(),(0,a.iD)("option",{textContent:(0,r.zw)("object"===Sa(e)?e.text:e),key:n,selected:"object"===Sa(e)?t.value.data===e.value:t.value.data===e,value:"object"===Sa(e)?e.value:n},null,8,La)})),128))],32)])])):["Int","Long","Byte","Decimal","Short"].indexOf(t.value.type)>=0?((0,a.wg)(),(0,a.iD)("div",Ba,[(0,a._)("div",Ya,[(0,a._)("div",Pa,[(0,a._)("span",{class:"value-min",textContent:(0,r.zw)(t.value.min)},null,8,Ja),(0,a._)("span",{class:"value-max",textContent:(0,r.zw)(t.value.max)},null,8,Qa)]),(0,a._)("div",Xa,[(0,a._)("label",null,[(0,a.Wm)(m,{range:[t.value.min,t.value.max],value:t.value.data,onChange:i.onValueChange},null,8,["range","value","onChange"])])])]),(0,a._)("div",er,[(0,a._)("label",null,[(0,a._)("input",{type:"text",value:t.value.data,onChange:n[2]||(n[2]=function(){return i.onValueChange&&i.onValueChange.apply(i,arguments)})},null,40,nr)])])])):["Bool","Button"].indexOf(t.value.type)>=0?((0,a.wg)(),(0,a.iD)("div",tr,[(0,a.Wm)(p,{value:t.value.data,onInput:n[3]||(n[3]=function(e){return i.onValueChange(e,!t.value.data)})},null,8,["value"])])):((0,a.wg)(),(0,a.iD)("div",ar,[(0,a._)("label",null,[(0,a._)("input",{type:"text",value:t.value.data,onChange:n[4]||(n[4]=function(){return i.onValueChange&&i.onValueChange.apply(i,arguments)})},null,40,rr)])]))],2),null!==(c=t.value.units)&&void 0!==c&&c.length?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"col-1 unit",textContent:(0,r.zw)(t.value.units)},null,8,sr)):(0,a.kq)("",!0)]))])]),null!=t.sceneId?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"row",style:{cursor:"pointer"},onClick:n[5]||(n[5]=function(n){return e.$emit("remove-from-scene",{valueId:t.value.id_on_network,sceneId:t.sceneId})})},ur)):(0,a.kq)("",!0),null!==(d=i.addValueToSceneItems)&&void 0!==d&&d.length?((0,a.wg)(),(0,a.iD)("div",lr,[cr,(0,a._)("div",dr,[(0,a.Wm)(w,{title:"Add to scene","icon-class":"fa fa-plus"},{default:(0,a.w5)((function(){return[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(i.addValueToSceneItems,(function(n,r){return(0,a.wg)(),(0,a.j4)(f,{key:r,text:n.label,disabled:o.commandRunning,onClick:function(a){return e.$emit("add-to-scene",{sceneId:n.scene_id,valueId:t.value.id_on_network})}},null,8,["text","disabled","onClick"])})),128))]})),_:1})])])):(0,a.kq)("",!0),null!==(v=t.value.help)&&void 0!==v&&v.length?((0,a.wg)(),(0,a.iD)("div",vr,[mr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.value.help)},null,8,pr)])):(0,a.kq)("",!0),(0,a._)("div",fr,[wr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.value.value_id)},null,8,gr)]),t.value.value_id!==t.value.id_on_network?((0,a.wg)(),(0,a.iD)("div",_r,[hr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.value.id_on_network)},null,8,kr)])):(0,a.kq)("",!0),(0,a._)("div",br,[xr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.value.command_class_name||t.value.command_class)},null,8,yr)]),t.value.last_update?((0,a.wg)(),(0,a.iD)("div",Cr,[Rr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(e.formatDateTime(t.value.last_update))},null,8,zr)])):(0,a.kq)("",!0)])])}t(9653);var Nr=t(1120),qr={name:"Value",components:{Slider:Nr.Z,Dropdown:za.Z,DropdownItem:Da.Z,ToggleSwitch:qa.Z},mixins:[un],emits:["remove-from-scene","add-to-scene","refresh"],props:{value:{type:Object,required:!0},node:{type:Object,required:!0},selected:{type:Boolean,default:!1},sceneId:{type:Number},scenes:{type:Object,default:function(){return{}}}},data:function(){return{commandRunning:!1}},computed:{addValueToSceneItems:function(){var e=this;return Object.values(this.scenes||{}).filter((function(n){return!(e.value.id_on_network in n.values)}))}},methods:{editName:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){var t,a,r,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=e.node.values[e.value.id_on_network],s=prompt("New name",r.label),null!==(t=s)&&void 0!==t&&t.length&&(s=s.trim()),null!==(a=s)&&void 0!==a&&a.length&&s!==r.label){n.next=5;break}return n.abrupt("return");case 5:return e.commandRunning=!0,n.prev=6,n.next=9,e.zrequest("set_value_label",{id_on_network:r.id_on_network,new_label:s});case 9:return n.prev=9,e.commandRunning=!1,n.finish(9);case 12:e.$emit("refresh"),e.notify({text:"Value successfully renamed",image:{iconClass:"fa fa-check"}});case 14:case"end":return n.stop()}}),n,null,[[6,,9,12]])})))()},onValueChange:function(e,n){var t=this;return(0,Se.Z)(regeneratorRuntime.mark((function a(){var r,s;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:r=e.target?e.target:e.event.target.parentElement,s=t.node.values[t.value.id_on_network],void 0===n&&(n=null!=r.value?r.value:e.value),a.t0=s.type,a.next="List"===a.t0?6:"Int"===a.t0||"Short"===a.t0||"Long"===a.t0||"Byte"===a.t0?8:"Decimal"===a.t0?10:12;break;case 6:return n=s.data_items[e.target.value],a.abrupt("break",12);case 8:return n=parseInt(n),a.abrupt("break",12);case 10:return n=parseFloat(n),a.abrupt("break",12);case 12:return"object"===Sa(n)&&(n=n.value),t.commandRunning=!0,a.prev=14,a.next=17,t.zrequest("set_value",{id_on_network:s.id_on_network,data:n});case 17:return a.prev=17,t.commandRunning=!1,a.finish(17);case 20:t.$emit("refresh"),t.notify({text:"Value successfully modified",image:{iconClass:"fa fa-check"}});case 22:case"end":return a.stop()}}),a,null,[[14,,17,20]])})))()}}};const Sr=(0,cn.Z)(qr,[["render",Dr],["__scopeId","data-v-0021cd76"]]);var Ir=Sr,Zr={name:"Zwave",components:{Value:Ir,ToggleSwitch:qa.Z,Loading:Na.Z,DropdownItem:Da.Z,Dropdown:za.Z,Modal:Ra.Z,Group:vn,Node:Ca},mixins:[un],data:function(){return{status:{},views:{},nodes:{},groups:{},scenes:{},commandRunning:!1,values:{switches:{},dimmers:{},sensors:{},battery_levels:{},power_levels:{},bulbs:{},doorlocks:{},usercodes:{},thermostats:{},protections:{}},selected:{view:"nodes",nodeId:void 0,groupId:void 0,sceneId:void 0,valueId:void 0},loading:{status:!1,nodes:!1,groups:!1,scenes:!1}}},computed:{valuesMap:function(){for(var e={},n=0,t=Object.values(this.nodes);n]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n var replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import Utils from \"@/Utils\";\n\nexport default {\n mixins: [Utils],\n props: {\n pluginName: {\n type: String,\n required: true,\n },\n },\n\n methods: {\n async zrequest(method, args) {\n return await this.request(`${this.pluginName}.${method}`, args)\n },\n }\n}\n","import { render } from \"./Group.vue?vue&type=template&id=56458f8e&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=56458f8e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-56458f8e\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Node.vue?vue&type=template&id=3da196a6&scoped=true\"\nimport script from \"./Node.vue?vue&type=script&lang=js\"\nexport * from \"./Node.vue?vue&type=script&lang=js\"\n\nimport \"./Node.vue?vue&type=style&index=0&id=3da196a6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3da196a6\"]])\n\nexport default __exports__","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","\n\n\n\n\n","import { render } from \"./Value.vue?vue&type=template&id=0021cd76&scoped=true\"\nimport script from \"./Value.vue?vue&type=script&lang=js\"\nexport * from \"./Value.vue?vue&type=script&lang=js\"\n\nimport \"./Value.vue?vue&type=style&index=0&id=0021cd76&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0021cd76\"]])\n\nexport default __exports__","import { render } from \"./Zwave.vue?vue&type=template&id=4a234aca\"\nimport script from \"./Zwave.vue?vue&type=script&lang=js\"\nexport * from \"./Zwave.vue?vue&type=script&lang=js\"\n\nimport \"./Zwave.vue?vue&type=style&index=0&id=4a234aca&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["uncurryThis","toObject","floor","Math","charAt","replace","stringSlice","slice","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","module","exports","matched","str","position","captures","namedCaptures","replacement","tailPos","length","m","symbols","undefined","match","ch","capture","n","f","PROPER_FUNCTION_NAME","fails","whitespaces","non","METHOD_NAME","name","apply","call","fixRegExpWellKnownSymbolLogic","anObject","isCallable","toIntegerOrInfinity","toLength","toString","requireObjectCoercible","advanceStringIndex","getMethod","getSubstitution","regExpExec","wellKnownSymbol","REPLACE","max","min","concat","push","stringIndexOf","indexOf","maybeToString","it","String","REPLACE_KEEPS_$0","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","REPLACE_SUPPORTS_NAMED_GROUPS","re","exec","result","groups","a","_","nativeReplace","maybeCallNative","UNSAFE_SUBSTITUTE","searchValue","replaceValue","O","this","replacer","string","rx","S","res","done","value","functionalReplace","global","fullUnicode","unicode","lastIndex","results","matchStr","accumulatedResult","nextSourcePosition","i","index","j","replacerArgs","$","$trim","forcedStringTrimMethod","target","proto","forced","trim","class","ref","type","range","step","disabled","onUpdate","withLabel","emits","props","Number","Boolean","default","Array","methods","event","update","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","title","loading","status","state","device","stats","key","selected","groupId","Object","values","nodes","filter","node","addToGroup","node_id","view","$event","views","id","toUpperCase","addScene","text","commandRunning","networkInfoModalOpen","startNetwork","stopNetwork","addNode","removeNode","switchAll","cancelCommand","killCommand","receiveConfiguration","createNewPrimary","transferPrimaryRole","healNetwork","softReset","hardReset","refresh","keys","nodeId","pluginName","onNodeClick","group","associations","map","owner","addNodesToGroupModal","show","scenes","scene","sceneId","label","activateScene","id_on_network","valuesMap","data","removeValueFromScene","removeScene","renameScene","valueId","addValueToScene","refreshNodes","max_associations","removeFromGroup","mixins","Utils","required","zrequest","method","args","request","mixin","confirm","group_id","group_index","editMode","editName","onEditMode","location","editLocation","role","neighbours","neighbour","is_ready","is_failed","manufacturer_id","product_type","product_name","manufacturer_name","capabilities","join","command_classes","g","home_id","is_awake","is_locked","last_update","baud_rate","max_baud_rate","removeFailedNode","replaceFailedNode","heal","replicationSend","requestNetworkUpdate","requestNeighbourUpdate","notify","mode","form","input","querySelector","setTimeout","focus","select","new_name","console","log","_typeof","obj","Symbol","iterator","constructor","prototype","is_read_only","units","onValueChange","data_items","addValueToSceneItems","scene_id","help","value_id","command_class_name","command_class","components","Slider","Dropdown","DropdownItem","ToggleSwitch","computed","prompt","new_label","image","iconClass","parentElement","parseInt","parseFloat","Value","Loading","Modal","Group","Node","switches","dimmers","sensors","battery_levels","power_levels","bulbs","doorlocks","usercodes","thermostats","protections","refreshGroups","reduce","refreshScenes","refreshValues","item","refreshStatus","onNodeUpdate","networkInfoModal","onCommandEvent","error","state_description","error_description","subscribe","unmounted","forEach","eventType","unsubscribe"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/6849-legacy.ae049c3f.js b/platypush/backend/http/webapp/dist/static/js/6849-legacy.ae049c3f.js deleted file mode 100644 index aaabf11a6..000000000 --- a/platypush/backend/http/webapp/dist/static/js/6849-legacy.ae049c3f.js +++ /dev/null @@ -1,2 +0,0 @@ -(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6849],{647:function(e,n,t){var a=t(1702),r=t(7908),s=Math.floor,o=a("".charAt),i=a("".replace),u=a("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,a,d,v){var m=t+e.length,p=a.length,f=c;return void 0!==d&&(d=r(d),f=l),i(v,f,(function(r,i){var l;switch(o(i,0)){case"$":return"$";case"&":return e;case"`":return u(n,0,t);case"'":return u(n,m);case"<":l=d[u(i,1,-1)];break;default:var c=+i;if(0===c)return r;if(c>p){var v=s(c/10);return 0===v?r:v<=p?void 0===a[v-1]?o(i,1):a[v-1]+o(i,1):r}l=a[c-1]}return void 0===l?"":l}))}},6091:function(e,n,t){var a=t(6530).PROPER,r=t(7293),s=t(1361),o="​…᠎";e.exports=function(e){return r((function(){return!!s[e]()||o[e]()!==o||a&&s[e].name!==e}))}},5306:function(e,n,t){"use strict";var a=t(2104),r=t(6916),s=t(1702),o=t(7007),i=t(7293),u=t(9670),l=t(614),c=t(9303),d=t(7466),v=t(1340),m=t(4488),p=t(1530),f=t(8173),w=t(647),g=t(7651),_=t(5112),h=_("replace"),k=Math.max,b=Math.min,x=s([].concat),y=s([].push),C=s("".indexOf),R=s("".slice),z=function(e){return void 0===e?e:String(e)},D=function(){return"$0"==="a".replace(/./,"$0")}(),N=function(){return!!/./[h]&&""===/./[h]("a","$0")}(),q=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}));o("replace",(function(e,n,t){var s=N?"$":"$0";return[function(e,t){var a=m(this),s=void 0==e?void 0:f(e,h);return s?r(s,e,a,t):r(n,v(a),e,t)},function(e,r){var o=u(this),i=v(e);if("string"==typeof r&&-1===C(r,s)&&-1===C(r,"$<")){var m=t(n,o,i,r);if(m.done)return m.value}var f=l(r);f||(r=v(r));var _=o.global;if(_){var h=o.unicode;o.lastIndex=0}var D=[];while(1){var N=g(o,i);if(null===N)break;if(y(D,N),!_)break;var q=v(N[0]);""===q&&(o.lastIndex=p(i,d(o.lastIndex),h))}for(var S="",I=0,Z=0;Z=I&&(S+=R(i,I,M)+U,I=M+j.length)}return S+R(i,I)}]}),!q||!D||N)},3210:function(e,n,t){"use strict";var a=t(2109),r=t(3111).trim,s=t(6091);a({target:"String",proto:!0,forced:s("trim")},{trim:function(){return r(this)}})},1120:function(e,n,t){"use strict";t.d(n,{Z:function(){return g}});var a=t(6252),r=t(9963),s=t(3577),o={class:"slider-wrapper"},i=["min","max","step","disabled","value"],u={class:"track"},l={class:"track-inner",ref:"track"},c={class:"thumb",ref:"thumb"},d=["textContent"];function v(e,n,t,v,m,p){return(0,a.wg)(),(0,a.iD)("label",o,[(0,a._)("input",{class:"slider",type:"range",ref:"range",min:t.range[0],max:t.range[1],step:t.step,disabled:t.disabled,value:t.value,onInput:n[0]||(n[0]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onChange:n[1]||(n[1]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onMouseup:n[2]||(n[2]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onMousedown:n[3]||(n[3]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onTouchstart:n[4]||(n[4]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onTouchend:n[5]||(n[5]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onKeyup:n[6]||(n[6]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"])),onKeydown:n[7]||(n[7]=(0,r.iM)((function(){return p.onUpdate&&p.onUpdate.apply(p,arguments)}),["stop"]))},null,40,i),(0,a._)("div",u,[(0,a._)("div",l,null,512)]),(0,a._)("div",c,null,512),t.withLabel?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"label",textContent:(0,s.zw)(t.value)},null,8,d)):(0,a.kq)("",!0)])}var m=t(4648),p=(t(9653),{name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:function(){return[0,100]}},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate:function(e){this.update(e.target.value),this.$emit(e.type,(0,m.Z)((0,m.Z)({},e),{},{target:(0,m.Z)((0,m.Z)({},e.target),{},{value:this.$refs.range.value})}))},update:function(e){var n=100*e/(this.range[1]-this.range[0]);this.$refs.thumb.style.left="".concat(n,"%"),this.$refs.thumb.style.transform="translate(-".concat(n,"%, -50%)"),this.$refs.track.style.width="".concat(n,"%")}},mounted:function(){null!=this.value&&this.update(this.value)}}),f=t(3744);const w=(0,f.Z)(p,[["render",v],["__scopeId","data-v-288acf82"]]);var g=w},3567:function(e,n,t){"use strict";t.d(n,{Z:function(){return m}});var a=t(6252),r=t(3577),s=function(e){return(0,a.dD)("data-v-8fae7678"),e=e(),(0,a.Cn)(),e},o=["checked"],i=s((function(){return(0,a._)("div",{class:"switch"},[(0,a._)("div",{class:"dot"})],-1)})),u={class:"label"};function l(e,n,t,s,l,c){return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=function(){return c.onInput&&c.onInput.apply(c,arguments)})},[(0,a._)("input",{type:"checkbox",checked:t.value},null,8,o),(0,a._)("label",null,[i,(0,a._)("span",u,[(0,a.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var c={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},d=t(3744);const v=(0,d.Z)(c,[["render",l],["__scopeId","data-v-8fae7678"]]);var m=v},6849:function(e,n,t){"use strict";t.d(n,{Z:function(){return Mr}});t(7327),t(1539),t(2479),t(8309),t(4916),t(5306),t(7042),t(7941),t(1249),t(3948);var a=t(6252),r=t(3577),s={class:"zwave-container"},o={class:"network-info"},i={key:1,class:"params"},u={class:"row"},l=(0,a._)("div",{class:"param-name"},"State",-1),c=["textContent"],d={class:"row"},v=(0,a._)("div",{class:"param-name"},"Device",-1),m=["textContent"],p={class:"section"},f=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Statistics")],-1),w={class:"body"},g=["textContent"],_=["textContent"],h={class:"group-add"},k={class:"params"},b={class:"section"},x=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Select nodes to add")],-1),y={key:0,class:"body"},C=["onClick"],R=["textContent"],z={class:"view-options"},D={class:"view-selector col-s-6 col-m-8 col-l-9"},N=["textContent","selected","value"],q={class:"buttons col-s-6 col-m-4 col-l-3"},S=(0,a._)("i",{class:"fa fa-plus"},null,-1),I=[S],Z=(0,a._)("i",{class:"fa fa-sync-alt"},null,-1),j=[Z],M={class:"view-container"},V={key:0,class:"view nodes"},O={key:1,class:"no-items"},A=(0,a._)("div",{class:"empty"},"No nodes available on the network",-1),$=[A],U={key:1,class:"view groups"},T={key:1,class:"no-items"},E=(0,a._)("div",{class:"empty"},"No groups available on the network",-1),W=[E],F={key:2,class:"view scenes"},H={key:1,class:"no-items"},G=(0,a._)("div",{class:"empty"},"No scenes configured on the network",-1),K=[G],L=["textContent","onClick"],B={key:0,class:"params"},P={class:"row"},Y=(0,a._)("div",{class:"param-name"},"Scene ID",-1),J=["textContent"],Q={class:"row"},X=(0,a._)("div",{class:"param-name"},"Activate",-1),ee={class:"param-value"},ne={key:0,class:"section values"},te=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Values")],-1),ae={class:"body"},re={class:"param-name"},se={class:"param-value"},oe=["textContent"],ie={class:"buttons"},ue=["onClick"],le=(0,a._)("i",{class:"fa fa-trash"},null,-1),ce=[le],de={class:"section actions"},ve=(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Actions")],-1),me={class:"body"},pe=["onClick"],fe=(0,a._)("div",{class:"param-name"},"Remove Scene",-1),we=(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1),ge=[fe,we],_e=["onClick"],he=(0,a._)("div",{class:"param-name"},"Rename Scene",-1),ke=(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-edit"})],-1),be=[he,ke],xe={key:3,class:"view values"},ye={key:1,class:"no-items"},Ce=(0,a._)("div",{class:"empty"},"No nodes found on the network",-1),Re=[Ce],ze=["textContent","onClick"],De={key:0,class:"params"},Ne={key:0,class:"value-display"};function qe(e,n,t,S,Z,A){var E=(0,a.up)("Loading"),G=(0,a.up)("Modal"),le=(0,a.up)("DropdownItem"),fe=(0,a.up)("Dropdown"),we=(0,a.up)("Node"),he=(0,a.up)("Group"),ke=(0,a.up)("ToggleSwitch"),Ce=(0,a.up)("Value");return(0,a.wg)(),(0,a.iD)("div",s,[(0,a.Wm)(G,{title:"Network info",ref:"networkInfoModal"},{default:(0,a.w5)((function(){return[(0,a._)("div",o,[Z.loading.status?((0,a.wg)(),(0,a.j4)(E,{key:0})):((0,a.wg)(),(0,a.iD)("div",i,[(0,a._)("div",u,[l,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(Z.status.state)},null,8,c)]),(0,a._)("div",d,[v,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(Z.status.device)},null,8,m)]),(0,a._)("div",p,[f,(0,a._)("div",w,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.status.stats,(function(e,n){return(0,a.wg)(),(0,a.iD)("div",{class:"row",key:n},[(0,a._)("div",{class:"param-name",textContent:(0,r.zw)(n)},null,8,g),(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(e)},null,8,_)])})),128))])])]))])]})),_:1},512),(0,a.Wm)(G,{title:"Add nodes to group",ref:"addNodesToGroupModal"},{default:(0,a.w5)((function(){return[(0,a._)("div",h,[(0,a._)("div",k,[(0,a._)("div",b,[x,null!=Z.selected.groupId?((0,a.wg)(),(0,a.iD)("div",y,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Object.values(Z.nodes||{}).filter((function(e){return Z.groups[Z.selected.groupId].associations.indexOf(e.node_id)<0})),(function(e){return(0,a.wg)(),(0,a.iD)("div",{class:"row clickable",onClick:function(n){return A.addToGroup(e.node_id,Z.selected.groupId)},key:e.node_id},[(0,a._)("div",{class:"param-name",textContent:(0,r.zw)(e.name)},null,8,R)],8,C)})),128))])):(0,a.kq)("",!0)])])])]})),_:1},512),(0,a._)("div",z,[(0,a._)("div",D,[(0,a._)("label",null,[(0,a._)("select",{onChange:n[0]||(n[0]=function(e){return Z.selected.view=e.target.value})},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.views,(function(e,n){return(0,a.wg)(),(0,a.iD)("option",{key:e,textContent:(0,r.zw)((n[0].toUpperCase()+n.slice(1)).replace("_"," ")),selected:n===Z.selected.view,value:n},null,8,N)})),128))],32)])]),(0,a._)("div",q,["scenes"===Z.selected.view?((0,a.wg)(),(0,a.iD)("button",{key:0,class:"btn btn-default",title:"Create Scene",onClick:n[1]||(n[1]=function(){return A.addScene&&A.addScene.apply(A,arguments)})},I)):(0,a.kq)("",!0),(0,a.Wm)(fe,{title:"Network commands","icon-class":"fa fa-cog"},{default:(0,a.w5)((function(){return[(0,a.Wm)(le,{text:"Network Info",disabled:Z.commandRunning,onClick:A.networkInfoModalOpen},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Start Network",disabled:Z.commandRunning,onClick:A.startNetwork},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Stop Network",disabled:Z.commandRunning,onClick:A.stopNetwork},null,8,["disabled","onClick"]),"nodes"===Z.selected.view?((0,a.wg)(),(0,a.j4)(le,{key:0,text:"Add Node",disabled:Z.commandRunning,onClick:A.addNode},null,8,["disabled","onClick"])):(0,a.kq)("",!0),"nodes"===Z.selected.view?((0,a.wg)(),(0,a.j4)(le,{key:1,text:"Remove Node",disabled:Z.commandRunning,onClick:A.removeNode},null,8,["disabled","onClick"])):(0,a.kq)("",!0),(0,a.Wm)(le,{text:"Switch All On",disabled:Z.commandRunning,onClick:n[2]||(n[2]=function(e){return A.switchAll(!0)})},null,8,["disabled"]),(0,a.Wm)(le,{text:"Switch All Off",disabled:Z.commandRunning,onClick:n[3]||(n[3]=function(e){return A.switchAll(!1)})},null,8,["disabled"]),(0,a.Wm)(le,{text:"Cancel Command",disabled:Z.commandRunning,onClick:A.cancelCommand},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Kill Command",disabled:Z.commandRunning,onClick:A.killCommand},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Receive Configuration",disabled:Z.commandRunning,onClick:A.receiveConfiguration},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Create New Primary",disabled:Z.commandRunning,onClick:A.createNewPrimary},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Transfer Primary Role",disabled:Z.commandRunning,onClick:A.transferPrimaryRole},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Heal Network",disabled:Z.commandRunning,onClick:A.healNetwork},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Soft Reset",disabled:Z.commandRunning,onClick:A.softReset},null,8,["disabled","onClick"]),(0,a.Wm)(le,{text:"Hard Reset",disabled:Z.commandRunning,onClick:A.hardReset},null,8,["disabled","onClick"])]})),_:1}),(0,a._)("button",{class:"btn btn-default",title:"Refresh Network",onClick:n[4]||(n[4]=function(){return A.refresh&&A.refresh.apply(A,arguments)})},j)])]),(0,a._)("div",M,["nodes"===Z.selected.view?((0,a.wg)(),(0,a.iD)("div",V,[Z.loading.nodes?((0,a.wg)(),(0,a.j4)(E,{key:0})):Object.keys(Z.nodes||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",O,$)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.nodes,(function(n,t){return(0,a.wg)(),(0,a.j4)(we,{key:t,node:n,selected:Z.selected.nodeId===t,"plugin-name":e.pluginName,onSelect:function(e){return A.onNodeClick(t)}},null,8,["node","selected","plugin-name","onSelect"])})),128))])):"groups"===Z.selected.view?((0,a.wg)(),(0,a.iD)("div",U,[Z.loading.groups?((0,a.wg)(),(0,a.j4)(E,{key:0})):Object.keys(Z.groups||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",T,W)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.groups,(function(t,r){return(0,a.wg)(),(0,a.j4)(he,{key:r,group:t,selected:Z.selected.groupId===r,nodes:r in Z.groups?Z.groups[r].associations.map((function(e){return Z.nodes[e]})).reduce((function(e,n){return e[n.node_id]=n,e}),{}):{},owner:null!=t.node_id?Z.nodes[t.node_id]:null,"plugin-name":e.pluginName,onSelect:function(e){return Z.selected.groupId=r===Z.selected.groupId?void 0:r},onOpenAddNodesToGroup:n[5]||(n[5]=function(n){return e.$refs.addNodesToGroupModal.show()})},null,8,["group","selected","nodes","owner","plugin-name","onSelect"])})),128))])):"scenes"===Z.selected.view?((0,a.wg)(),(0,a.iD)("div",F,[Z.loading.scenes?((0,a.wg)(),(0,a.j4)(E,{key:0})):Object.keys(Z.scenes||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",H,K)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.scenes,(function(e,n){var t;return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["item scene",{selected:Z.selected.sceneId===n}]),key:n},[(0,a._)("div",{class:(0,r.C_)(["row name header vertical-center",{selected:Z.selected.sceneId===n}]),textContent:(0,r.zw)(e.label),onClick:function(e){return Z.selected.sceneId=n===Z.selected.sceneId?void 0:n}},null,10,L),Z.selected.sceneId===n?((0,a.wg)(),(0,a.iD)("div",B,[(0,a._)("div",P,[Y,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(n)},null,8,J)]),(0,a._)("div",Q,[X,(0,a._)("div",ee,[(0,a.Wm)(ke,{value:!1,onInput:function(e){return A.activateScene(n)}},null,8,["onInput"])])]),null!==(t=Object.values(null===e||void 0===e?void 0:e.values))&&void 0!==t&&t.length?((0,a.wg)(),(0,a.iD)("div",ne,[te,(0,a._)("div",ae,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Object.values(e.values),(function(e){return(0,a.wg)(),(0,a.iD)("div",{class:"row",key:e.id_on_network},[(0,a._)("div",re,(0,r.zw)(Z.nodes[e.node_id].name)+" ⇨ "+(0,r.zw)(A.valuesMap[e.id_on_network].label),1),(0,a._)("div",se,[(0,a._)("span",{textContent:(0,r.zw)(e.data)},null,8,oe),(0,a._)("span",ie,[(0,a._)("button",{class:"btn btn-default",title:"Remove value",onClick:function(t){return A.removeValueFromScene({sceneId:n,valueId:e.id_on_network})}},ce,8,ue)])])])})),128))])])):(0,a.kq)("",!0),(0,a._)("div",de,[ve,(0,a._)("div",me,[(0,a._)("div",{class:"row",onClick:function(e){return A.removeScene(n)}},ge,8,pe),(0,a._)("div",{class:"row",onClick:function(e){return A.renameScene(n)}},be,8,_e)])])])):(0,a.kq)("",!0)],2)})),128))])):((0,a.wg)(),(0,a.iD)("div",xe,[Z.loading.nodes?((0,a.wg)(),(0,a.j4)(E,{key:0})):Object.keys(Z.nodes||{}).length?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",ye,Re)),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(Z.nodes,(function(n,t){return(0,a.wg)(),(0,a.iD)("div",{class:"node-container",key:t},["values"===Z.selected.view||Object.values(n.values).filter((function(e){return e.id_on_network in Z.values[Z.selected.view]})).length>0?((0,a.wg)(),(0,a.iD)("div",{key:0,class:(0,r.C_)(["item node",{selected:Z.selected.nodeId===t}])},[(0,a._)("div",{class:(0,r.C_)(["row name header vertical-center",{selected:Z.selected.nodeId===t}]),textContent:(0,r.zw)(n.name),onClick:function(e){return A.onNodeClick(t)}},null,10,ze),Z.selected.nodeId===t?((0,a.wg)(),(0,a.iD)("div",De,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(n.values,(function(t,r){return(0,a.wg)(),(0,a.iD)("div",{class:"value-container",key:r},[t.id_on_network&&("values"===Z.selected.view||t.id_on_network in Z.values[Z.selected.view])?((0,a.wg)(),(0,a.iD)("div",Ne,[(0,a.Wm)(Ce,{value:t,node:n,scenes:Z.scenes,onAddToScene:A.addValueToScene,onRemoveFromScene:A.removeValueFromScene,onRefresh:A.refreshNodes,"plugin-name":e.pluginName},null,8,["value","node","scenes","onAddToScene","onRemoveFromScene","onRefresh","plugin-name"])])):(0,a.kq)("",!0)])})),128))])):(0,a.kq)("",!0)],2)):(0,a.kq)("",!0)])})),128))]))])])}var Se=t(8534),Ie=(t(5666),t(3210),function(e){return(0,a.dD)("data-v-56458f8e"),e=e(),(0,a.Cn)(),e}),Ze=["textContent"],je={key:0,class:"params"},Me={key:0,class:"section owner"},Ve=Ie((function(){return(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Owner")],-1)})),Oe={class:"body"},Ae=["textContent"],$e={class:"section nodes"},Ue={class:"header"},Te=Ie((function(){return(0,a._)("div",{class:"title col-10"},"Nodes",-1)})),Ee={class:"buttons col-2"},We=Ie((function(){return(0,a._)("i",{class:"fa fa-plus"},null,-1)})),Fe=[We],He={class:"body"},Ge=["textContent"],Ke={class:"buttons col-2"},Le=["disabled","onClick"],Be=Ie((function(){return(0,a._)("i",{class:"fa fa-trash"},null,-1)})),Pe=[Be],Ye={class:"section config"},Je=Ie((function(){return(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Parameters")],-1)})),Qe={class:"body"},Xe={class:"row"},en=Ie((function(){return(0,a._)("div",{class:"param-name"},"Index",-1)})),nn=["textContent"],tn={class:"row"},an=Ie((function(){return(0,a._)("div",{class:"param-name"},"Max associations",-1)})),rn=["textContent"];function sn(e,n,t,s,o,i){return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["item group",{selected:t.selected}])},[(0,a._)("div",{class:(0,r.C_)(["row name header vertical-center",{selected:t.selected}]),textContent:(0,r.zw)(t.group.label),onClick:n[0]||(n[0]=function(n){return e.$emit("select",t.group.index)})},null,10,Ze),t.selected?((0,a.wg)(),(0,a.iD)("div",je,[t.owner&&Object.keys(t.owner).length?((0,a.wg)(),(0,a.iD)("div",Me,[Ve,(0,a._)("div",Oe,[(0,a._)("div",{class:"row",textContent:(0,r.zw)(t.owner.name)},null,8,Ae)])])):(0,a.kq)("",!0),(0,a._)("div",$e,[(0,a._)("div",Ue,[Te,(0,a._)("div",Ee,[!t.group.max_associations||Object.keys(t.nodes||{}).length"))},null,8,Ge),(0,a._)("div",Ke,[(0,a._)("button",{class:"btn btn-default",title:"Remove from group",disabled:o.commandRunning,onClick:function(n){return i.removeFromGroup(e.node_id)}},Pe,8,Le)])])})),128))])]),(0,a._)("div",Ye,[Je,(0,a._)("div",Qe,[(0,a._)("div",Xe,[en,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.group.index)},null,8,nn)]),(0,a._)("div",tn,[an,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.group.max_associations)},null,8,rn)])])])])):(0,a.kq)("",!0)],2)}t(2222);var on=t(2628),un={mixins:[on.Z],props:{pluginName:{type:String,required:!0}},methods:{zrequest:function(e,n){var t=this;return(0,Se.Z)(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,t.request("".concat(t.pluginName,".").concat(e),n);case 2:return a.abrupt("return",a.sent);case 3:case"end":return a.stop()}}),a)})))()}}},ln={name:"Group",emits:["select","open-add-nodes-to-group"],mixins:[un],props:{group:{type:Object,required:!0},owner:{type:Object},nodes:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{commandRunning:!1}},methods:{removeFromGroup:function(e){var n=this;return(0,Se.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(confirm("Are you sure that you want to remove this node from "+n.group.label+"?")){t.next=2;break}return t.abrupt("return");case 2:return n.commandRunning=!0,a={node_id:e},null!=n.group.group_id?a.group_id=n.group.group_id:a.group_index=n.group.index,t.prev=5,t.next=8,n.zrequest("remove_node_from_group",a);case 8:return t.prev=8,n.commandRunning=!1,t.finish(8);case 11:case"end":return t.stop()}}),t,null,[[5,,8,11]])})))()}}},cn=t(3744);const dn=(0,cn.Z)(ln,[["render",sn],["__scopeId","data-v-56458f8e"]]);var vn=dn,mn=(t(9600),t(9714),t(9963)),pn=function(e){return(0,a.dD)("data-v-3da196a6"),e=e(),(0,a.Cn)(),e},fn=["textContent"],wn={key:0,class:"params"},gn={class:"row"},_n=pn((function(){return(0,a._)("div",{class:"param-name"},"Name",-1)})),hn={class:"param-value"},kn=["value","disabled"],bn={class:"buttons"},xn=pn((function(){return(0,a._)("i",{class:"fas fa-times"},null,-1)})),yn=[xn],Cn=["disabled"],Rn=pn((function(){return(0,a._)("i",{class:"fa fa-check"},null,-1)})),zn=[Rn],Dn=["textContent"],Nn={class:"buttons"},qn=["disabled"],Sn=pn((function(){return(0,a._)("i",{class:"fa fa-edit"},null,-1)})),In=[Sn],Zn={class:"row"},jn=pn((function(){return(0,a._)("div",{class:"param-name"},"Location",-1)})),Mn={class:"param-value"},Vn=["value","disabled"],On={class:"buttons"},An=pn((function(){return(0,a._)("i",{class:"fas fa-times"},null,-1)})),$n=[An],Un=["disabled"],Tn=pn((function(){return(0,a._)("i",{class:"fa fa-check"},null,-1)})),En=[Tn],Wn=["textContent"],Fn={class:"buttons"},Hn=["disabled"],Gn=pn((function(){return(0,a._)("i",{class:"fa fa-edit"},null,-1)})),Kn=[Gn],Ln={class:"row"},Bn=pn((function(){return(0,a._)("div",{class:"param-name"},"Type",-1)})),Pn=["textContent"],Yn={class:"row"},Jn=pn((function(){return(0,a._)("div",{class:"param-name"},"Role",-1)})),Qn=["textContent"],Xn={class:"row"},et=pn((function(){return(0,a._)("div",{class:"param-name"},"Node ID",-1)})),nt=["textContent"],tt={key:0,class:"row"},at=pn((function(){return(0,a._)("div",{class:"param-name"},"Neighbours",-1)})),rt={class:"param-value"},st=["textContent"],ot={class:"row"},it=pn((function(){return(0,a._)("div",{class:"param-name"},"Is Ready",-1)})),ut=["textContent"],lt={class:"row"},ct=pn((function(){return(0,a._)("div",{class:"param-name"},"Is Failed",-1)})),dt=["textContent"],vt={class:"row"},mt=pn((function(){return(0,a._)("div",{class:"param-name"},"Product ID",-1)})),pt=["textContent"],ft={class:"row"},wt=pn((function(){return(0,a._)("div",{class:"param-name"},"Product Type",-1)})),gt=["textContent"],_t={key:1,class:"row"},ht=pn((function(){return(0,a._)("div",{class:"param-name"},"Product Name",-1)})),kt=["textContent"],bt={class:"row"},xt=pn((function(){return(0,a._)("div",{class:"param-name"},"Manufacturer ID",-1)})),yt=["textContent"],Ct={key:2,class:"row"},Rt=pn((function(){return(0,a._)("div",{class:"param-name"},"Manufacturer Name",-1)})),zt=["textContent"],Dt={class:"row"},Nt=pn((function(){return(0,a._)("div",{class:"param-name"},"Capabilities",-1)})),qt=["textContent"],St={class:"row"},It=pn((function(){return(0,a._)("div",{class:"param-name"},"Command Classes",-1)})),Zt=["textContent"],jt={class:"row"},Mt=pn((function(){return(0,a._)("div",{class:"param-name"},"Groups",-1)})),Vt=["textContent"],Ot={key:3,class:"row"},At=pn((function(){return(0,a._)("div",{class:"param-name"},"Home ID",-1)})),$t=["textContent"],Ut={class:"row"},Tt=pn((function(){return(0,a._)("div",{class:"param-name"},"Is Awake",-1)})),Et=["textContent"],Wt={key:4,class:"row"},Ft=pn((function(){return(0,a._)("div",{class:"param-name"},"Is Locked",-1)})),Ht=["textContent"],Gt={key:5,class:"row"},Kt=pn((function(){return(0,a._)("div",{class:"param-name"},"Last Update",-1)})),Lt=["textContent"],Bt={key:6,class:"row"},Pt=pn((function(){return(0,a._)("div",{class:"param-name"},"Baud Rate",-1)})),Yt=["textContent"],Jt={key:7,class:"row"},Qt=pn((function(){return(0,a._)("div",{class:"param-name"},"Max Baud Rate",-1)})),Xt=["textContent"],ea={class:"section actions"},na=pn((function(){return(0,a._)("div",{class:"header"},[(0,a._)("div",{class:"title"},"Actions")],-1)})),ta={class:"body"},aa=pn((function(){return(0,a._)("div",{class:"param-name"},"Remove Failed Node",-1)})),ra=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1)})),sa=[aa,ra],oa=pn((function(){return(0,a._)("div",{class:"param-name"},"Replace Failed Node",-1)})),ia=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-sync-alt"})],-1)})),ua=[oa,ia],la=pn((function(){return(0,a._)("div",{class:"param-name"},"Heal Node",-1)})),ca=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fas fa-wrench"})],-1)})),da=[la,ca],va=pn((function(){return(0,a._)("div",{class:"param-name"},"Replicate info to secondary controller",-1)})),ma=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-clone"})],-1)})),pa=[va,ma],fa=pn((function(){return(0,a._)("div",{class:"param-name"},"Request network update",-1)})),wa=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fas fa-wifi"})],-1)})),ga=[fa,wa],_a=pn((function(){return(0,a._)("div",{class:"param-name"},"Request neighbours update",-1)})),ha=pn((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fas fa-network-wired"})],-1)})),ka=[_a,ha];function ba(e,n,t,s,o,i){var u,l,c,d;return(0,a.wg)(),(0,a.iD)("div",{class:(0,r.C_)(["item node",{selected:t.selected}])},[(0,a._)("div",{class:(0,r.C_)(["row name header vertical-center",{selected:t.selected}]),textContent:(0,r.zw)(t.node.name&&t.node.name.length?t.node.name:"")),onClick:n[0]||(n[0]=function(n){return e.$emit("select")})},null,10,fn),t.selected?((0,a.wg)(),(0,a.iD)("div",wn,[(0,a._)("div",gn,[_n,(0,a._)("div",hn,[(0,a._)("div",{class:(0,r.C_)(["edit-cell",{hidden:!o.editMode.name}])},[(0,a._)("form",{ref:"nameForm",onSubmit:n[2]||(n[2]=(0,mn.iM)((function(){return i.editName&&i.editName.apply(i,arguments)}),["prevent"]))},[(0,a._)("label",null,[(0,a._)("input",{type:"text",name:"name",value:t.node.name,disabled:o.commandRunning},null,8,kn)]),(0,a._)("span",bn,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[1]||(n[1]=function(e){return o.editMode.name=!1})},yn),(0,a._)("button",{type:"submit",class:"btn btn-default",disabled:o.commandRunning},zn,8,Cn)])],544)],2),(0,a._)("div",{class:(0,r.C_)({hidden:o.editMode.name})},[(0,a._)("span",{textContent:(0,r.zw)(null!==(u=t.node.name)&&void 0!==u&&u.length?t.node.name:""))},null,8,Dn),(0,a._)("span",Nn,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[3]||(n[3]=function(e){return i.onEditMode("name")}),disabled:o.commandRunning},In,8,qn)])],2)])]),(0,a._)("div",Zn,[jn,(0,a._)("div",Mn,[(0,a._)("div",{class:(0,r.C_)(["edit-cell",{hidden:!o.editMode.location}])},[(0,a._)("form",{ref:"locationForm",onSubmit:n[5]||(n[5]=(0,mn.iM)((function(){return i.editLocation&&i.editLocation.apply(i,arguments)}),["prevent"]))},[(0,a._)("label",null,[(0,a._)("input",{type:"text",name:"location",value:t.node.location,disabled:o.commandRunning},null,8,Vn)]),(0,a._)("span",On,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[4]||(n[4]=function(e){return o.editMode.location=!1})},$n),(0,a._)("button",{type:"submit",class:"btn btn-default",disabled:o.commandRunning},En,8,Un)])],544)],2),(0,a._)("div",{class:(0,r.C_)({hidden:o.editMode.location})},[(0,a._)("span",{textContent:(0,r.zw)(null!==(l=t.node.location)&&void 0!==l&&l.length?t.node.location:"")},null,8,Wn),(0,a._)("span",Fn,[(0,a._)("button",{type:"button",class:"btn btn-default",onClick:n[6]||(n[6]=function(e){return i.onEditMode("location")}),disabled:o.commandRunning},Kn,8,Hn)])],2)])]),(0,a._)("div",Ln,[Bn,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.type)},null,8,Pn)]),(0,a._)("div",Yn,[Jn,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.role)},null,8,Qn)]),(0,a._)("div",Xn,[et,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.node_id)},null,8,nt)]),t.node.neighbours.length?((0,a.wg)(),(0,a.iD)("div",tt,[at,(0,a._)("div",rt,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(t.node.neighbours,(function(e,n){return(0,a.wg)(),(0,a.iD)("div",{class:"row pull-right",key:n,textContent:(0,r.zw)(e)},null,8,st)})),128))])])):(0,a.kq)("",!0),(0,a._)("div",ot,[it,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.is_ready)},null,8,ut)]),(0,a._)("div",lt,[ct,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.is_failed)},null,8,dt)]),(0,a._)("div",vt,[mt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.manufacturer_id)},null,8,pt)]),(0,a._)("div",ft,[wt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.product_type)},null,8,gt)]),null!==(c=t.node.product_name)&&void 0!==c&&c.length?((0,a.wg)(),(0,a.iD)("div",_t,[ht,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.product_name)},null,8,kt)])):(0,a.kq)("",!0),(0,a._)("div",bt,[xt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.manufacturer_id)},null,8,yt)]),null!==(d=t.node.manufacturer_name)&&void 0!==d&&d.length?((0,a.wg)(),(0,a.iD)("div",Ct,[Rt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.manufacturer_name)},null,8,zt)])):(0,a.kq)("",!0),(0,a._)("div",Dt,[Nt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.capabilities.join(", "))},null,8,qt)]),(0,a._)("div",St,[It,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.command_classes.join(", "))},null,8,Zt)]),(0,a._)("div",jt,[Mt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(Object.values(t.node.groups).map((function(e){return e.label||""})).join(", "))},null,8,Vt)]),t.node.home_id?((0,a.wg)(),(0,a.iD)("div",Ot,[At,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.home_id.toString(16))},null,8,$t)])):(0,a.kq)("",!0),(0,a._)("div",Ut,[Tt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.is_awake)},null,8,Et)]),null!=t.node.is_locked?((0,a.wg)(),(0,a.iD)("div",Wt,[Ft,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.is_locked)},null,8,Ht)])):(0,a.kq)("",!0),t.node.last_update?((0,a.wg)(),(0,a.iD)("div",Gt,[Kt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(e.formatDateTime(t.node.last_update))},null,8,Lt)])):(0,a.kq)("",!0),t.node.baud_rate?((0,a.wg)(),(0,a.iD)("div",Bt,[Pt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.baud_rate)},null,8,Yt)])):(0,a.kq)("",!0),t.node.max_baud_rate?((0,a.wg)(),(0,a.iD)("div",Jt,[Qt,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.node.max_baud_rate)},null,8,Xt)])):(0,a.kq)("",!0),(0,a._)("div",ea,[na,(0,a._)("div",ta,[t.node.is_failed?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"row error",onClick:n[7]||(n[7]=function(){return i.removeFailedNode&&i.removeFailedNode.apply(i,arguments)})},sa)):(0,a.kq)("",!0),t.node.is_failed?((0,a.wg)(),(0,a.iD)("div",{key:1,class:"row error",onClick:n[8]||(n[8]=function(){return i.replaceFailedNode&&i.replaceFailedNode.apply(i,arguments)})},ua)):(0,a.kq)("",!0),(0,a._)("div",{class:"row",onClick:n[9]||(n[9]=function(){return i.heal&&i.heal.apply(i,arguments)})},da),(0,a._)("div",{class:"row",onClick:n[10]||(n[10]=function(){return i.replicationSend&&i.replicationSend.apply(i,arguments)})},pa),(0,a._)("div",{class:"row",onClick:n[11]||(n[11]=function(){return i.requestNetworkUpdate&&i.requestNetworkUpdate.apply(i,arguments)})},ga),(0,a._)("div",{class:"row",onClick:n[12]||(n[12]=function(){return i.requestNeighbourUpdate&&i.requestNeighbourUpdate.apply(i,arguments)})},ka)])])])):(0,a.kq)("",!0)],2)}var xa={name:"Node",emits:["select"],mixins:[un],props:{node:{type:Object,required:!0},selected:{type:Boolean,default:!1}},data:function(){return{commandRunning:!1,editMode:{name:!1,location:!1}}},methods:{removeFailedNode:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:if(confirm("Are you sure that you want to remove this node?")){n.next=5;break}return n.abrupt("return");case 5:return e.commandRunning=!0,n.prev=6,n.next=9,e.zrequest("remove_node",{node_id:e.node.node_id});case 9:return n.prev=9,e.commandRunning=!1,n.finish(9);case 12:case"end":return n.stop()}}),n,null,[[6,,9,12]])})))()},replaceFailedNode:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:if(confirm("Are you sure that you want to replace this node?")){n.next=5;break}return n.abrupt("return");case 5:return e.commandRunning=!0,n.prev=6,n.next=9,e.zrequest("replace_node",{node_id:e.node.node_id});case 9:return n.prev=9,e.commandRunning=!1,n.finish(9);case 12:case"end":return n.stop()}}),n,null,[[6,,9,12]])})))()},replicationSend:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:return e.commandRunning=!0,n.prev=4,n.next=7,e.zrequest("replication_send",{node_id:e.node.node_id});case 7:return n.prev=7,e.commandRunning=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[4,,7,10]])})))()},requestNetworkUpdate:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:return e.commandRunning=!0,n.prev=4,n.next=7,e.zrequest("request_network_update",{node_id:e.node.node_id});case 7:return n.prev=7,e.commandRunning=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[4,,7,10]])})))()},requestNeighbourUpdate:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return e.notify({text:"A command is already running"}),n.abrupt("return");case 3:return e.commandRunning=!0,n.prev=4,n.next=7,e.zrequest("request_node_neighbour_update",{node_id:e.node.node_id});case 7:return n.prev=7,e.commandRunning=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[4,,7,10]])})))()},onEditMode:function(e){this.editMode[e]=!0;var n=this.$refs[e+"Form"],t=n.querySelector("input[type=text]");setTimeout((function(){t.focus(),t.select()}),10)},editName:function(e){var n=this;return(0,Se.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.target.querySelector("input[name=name]").value,n.commandRunning=!0,t.prev=2,t.next=5,n.zrequest("set_node_name",{node_id:n.node.node_id,new_name:a});case 5:return t.prev=5,n.commandRunning=!1,t.finish(5);case 8:n.editMode.name=!1;case 9:case"end":return t.stop()}}),t,null,[[2,,5,8]])})))()},editLocation:function(e){var n=this;return(0,Se.Z)(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e.target.querySelector("input[name=location]").value,n.commandRunning=!0,t.prev=2,t.next=5,n.zrequest("set_node_location",{node_id:n.node.node_id,location:a});case 5:return t.prev=5,n.commandRunning=!1,t.finish(5);case 8:n.editMode.location=!1;case 9:case"end":return t.stop()}}),t,null,[[2,,5,8]])})))()},heal:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.commandRunning){n.next=3;break}return console.log("A command is already running"),n.abrupt("return");case 3:return e.commandRunning=!0,n.prev=4,n.next=7,e.zrequest("node_heal",{node_id:e.node.node_id});case 7:return n.prev=7,e.commandRunning=!1,n.finish(7);case 10:case"end":return n.stop()}}),n,null,[[4,,7,10]])})))()}}};const ya=(0,cn.Z)(xa,[["render",ba],["__scopeId","data-v-3da196a6"]]);var Ca=ya,Ra=t(9642),za=t(7021),Da=t(455),Na=t(1232),qa=t(3567);t(2526),t(1817),t(2165),t(8783);function Sa(e){return Sa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sa(e)}var Ia=function(e){return(0,a.dD)("data-v-0021cd76"),e=e(),(0,a.Cn)(),e},Za={class:"section value"},ja={class:"header"},Ma={class:"title"},Va=["disabled","data-id-on-network"],Oa=Ia((function(){return(0,a._)("i",{class:"fa fa-edit"},null,-1)})),Aa=[Oa],$a={class:"body"},Ua={class:"row"},Ta=Ia((function(){return(0,a._)("div",{class:"param-name"},"Value",-1)})),Ea={class:"param-value"},Wa={key:0,class:"value-view"},Fa=["textContent"],Ha=["textContent"],Ga={key:1,class:"value-edit"},Ka={key:0,class:"list"},La=["textContent","selected","value"],Ba={key:1,class:"numeric slider-container"},Pa={class:"col-10"},Ya={class:"row"},Ja=["textContent"],Qa=["textContent"],Xa={class:"row"},er={class:"col-2"},nr=["value"],tr={key:2,class:"boolean"},ar={key:3,class:"value-data"},rr=["value"],sr=["textContent"],or=Ia((function(){return(0,a._)("div",{class:"param-name"},"Remove From Scene",-1)})),ir=Ia((function(){return(0,a._)("div",{class:"param-value"},[(0,a._)("i",{class:"fa fa-trash"})],-1)})),ur=[or,ir],lr={key:1,class:"row",style:{cursor:"pointer"}},cr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Add To Scene",-1)})),dr={class:"param-value"},vr={key:2,class:"row"},mr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Help",-1)})),pr=["textContent"],fr={class:"row"},wr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Value ID",-1)})),gr=["textContent"],_r={key:3,class:"row"},hr=Ia((function(){return(0,a._)("div",{class:"param-name"},"ID on Network",-1)})),kr=["textContent"],br={class:"row"},xr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Command Class",-1)})),yr=["textContent"],Cr={key:4,class:"row"},Rr=Ia((function(){return(0,a._)("div",{class:"param-name"},"Last Update",-1)})),zr=["textContent"];function Dr(e,n,t,s,o,i){var u,l,c,d,v,m=(0,a.up)("Slider"),p=(0,a.up)("ToggleSwitch"),f=(0,a.up)("DropdownItem"),w=(0,a.up)("Dropdown");return(0,a.wg)(),(0,a.iD)("div",Za,[(0,a._)("div",ja,[(0,a._)("div",Ma,[(0,a._)("button",{class:"btn btn-default btn-value-name-edit",title:"Edit value name",disabled:o.commandRunning,"data-id-on-network":t.value.id_on_network,onClick:n[0]||(n[0]=function(){return i.editName&&i.editName.apply(i,arguments)})},Aa,8,Va),(0,a.Uk)(" "+(0,r.zw)(t.value.label),1)])]),(0,a._)("div",$a,[(0,a._)("div",Ua,[Ta,(0,a._)("div",Ea,[t.value.is_read_only?((0,a.wg)(),(0,a.iD)("div",Wa,[(0,a._)("div",{class:"value-data",textContent:(0,r.zw)(t.value.data)},null,8,Fa),null!==(u=t.value.units)&&void 0!==u&&u.length?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"unit",textContent:(0,r.zw)(t.value.units)},null,8,Ha)):(0,a.kq)("",!0)])):((0,a.wg)(),(0,a.iD)("div",Ga,[(0,a._)("div",{class:(0,r.C_)(["col-"+(null!==(l=t.value.units)&&void 0!==l&&l.length?"11":"12")])},["List"===t.value.type?((0,a.wg)(),(0,a.iD)("div",Ka,[(0,a._)("label",null,[(0,a._)("select",{onChange:n[1]||(n[1]=function(){return i.onValueChange&&i.onValueChange.apply(i,arguments)})},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(t.value.data_items,(function(e,n){return(0,a.wg)(),(0,a.iD)("option",{textContent:(0,r.zw)("object"===Sa(e)?e.text:e),key:n,selected:"object"===Sa(e)?t.value.data===e.value:t.value.data===e,value:"object"===Sa(e)?e.value:n},null,8,La)})),128))],32)])])):["Int","Long","Byte","Decimal","Short"].indexOf(t.value.type)>=0?((0,a.wg)(),(0,a.iD)("div",Ba,[(0,a._)("div",Pa,[(0,a._)("div",Ya,[(0,a._)("span",{class:"value-min",textContent:(0,r.zw)(t.value.min)},null,8,Ja),(0,a._)("span",{class:"value-max",textContent:(0,r.zw)(t.value.max)},null,8,Qa)]),(0,a._)("div",Xa,[(0,a._)("label",null,[(0,a.Wm)(m,{range:[t.value.min,t.value.max],value:t.value.data,onChange:i.onValueChange},null,8,["range","value","onChange"])])])]),(0,a._)("div",er,[(0,a._)("label",null,[(0,a._)("input",{type:"text",value:t.value.data,onChange:n[2]||(n[2]=function(){return i.onValueChange&&i.onValueChange.apply(i,arguments)})},null,40,nr)])])])):["Bool","Button"].indexOf(t.value.type)>=0?((0,a.wg)(),(0,a.iD)("div",tr,[(0,a.Wm)(p,{value:t.value.data,onInput:n[3]||(n[3]=function(e){return i.onValueChange(e,!t.value.data)})},null,8,["value"])])):((0,a.wg)(),(0,a.iD)("div",ar,[(0,a._)("label",null,[(0,a._)("input",{type:"text",value:t.value.data,onChange:n[4]||(n[4]=function(){return i.onValueChange&&i.onValueChange.apply(i,arguments)})},null,40,rr)])]))],2),null!==(c=t.value.units)&&void 0!==c&&c.length?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"col-1 unit",textContent:(0,r.zw)(t.value.units)},null,8,sr)):(0,a.kq)("",!0)]))])]),null!=t.sceneId?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"row",style:{cursor:"pointer"},onClick:n[5]||(n[5]=function(n){return e.$emit("remove-from-scene",{valueId:t.value.id_on_network,sceneId:t.sceneId})})},ur)):(0,a.kq)("",!0),null!==(d=i.addValueToSceneItems)&&void 0!==d&&d.length?((0,a.wg)(),(0,a.iD)("div",lr,[cr,(0,a._)("div",dr,[(0,a.Wm)(w,{title:"Add to scene","icon-class":"fa fa-plus"},{default:(0,a.w5)((function(){return[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(i.addValueToSceneItems,(function(n,r){return(0,a.wg)(),(0,a.j4)(f,{key:r,text:n.label,disabled:o.commandRunning,onClick:function(a){return e.$emit("add-to-scene",{sceneId:n.scene_id,valueId:t.value.id_on_network})}},null,8,["text","disabled","onClick"])})),128))]})),_:1})])])):(0,a.kq)("",!0),null!==(v=t.value.help)&&void 0!==v&&v.length?((0,a.wg)(),(0,a.iD)("div",vr,[mr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.value.help)},null,8,pr)])):(0,a.kq)("",!0),(0,a._)("div",fr,[wr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.value.value_id)},null,8,gr)]),t.value.value_id!==t.value.id_on_network?((0,a.wg)(),(0,a.iD)("div",_r,[hr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.value.id_on_network)},null,8,kr)])):(0,a.kq)("",!0),(0,a._)("div",br,[xr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(t.value.command_class_name||t.value.command_class)},null,8,yr)]),t.value.last_update?((0,a.wg)(),(0,a.iD)("div",Cr,[Rr,(0,a._)("div",{class:"param-value",textContent:(0,r.zw)(e.formatDateTime(t.value.last_update))},null,8,zr)])):(0,a.kq)("",!0)])])}t(9653);var Nr=t(1120),qr={name:"Value",components:{Slider:Nr.Z,Dropdown:za.Z,DropdownItem:Da.Z,ToggleSwitch:qa.Z},mixins:[un],emits:["remove-from-scene","add-to-scene","refresh"],props:{value:{type:Object,required:!0},node:{type:Object,required:!0},selected:{type:Boolean,default:!1},sceneId:{type:Number},scenes:{type:Object,default:function(){return{}}}},data:function(){return{commandRunning:!1}},computed:{addValueToSceneItems:function(){var e=this;return Object.values(this.scenes||{}).filter((function(n){return!(e.value.id_on_network in n.values)}))}},methods:{editName:function(){var e=this;return(0,Se.Z)(regeneratorRuntime.mark((function n(){var t,a,r,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=e.node.values[e.value.id_on_network],s=prompt("New name",r.label),null!==(t=s)&&void 0!==t&&t.length&&(s=s.trim()),null!==(a=s)&&void 0!==a&&a.length&&s!==r.label){n.next=5;break}return n.abrupt("return");case 5:return e.commandRunning=!0,n.prev=6,n.next=9,e.zrequest("set_value_label",{id_on_network:r.id_on_network,new_label:s});case 9:return n.prev=9,e.commandRunning=!1,n.finish(9);case 12:e.$emit("refresh"),e.notify({text:"Value successfully renamed",image:{iconClass:"fa fa-check"}});case 14:case"end":return n.stop()}}),n,null,[[6,,9,12]])})))()},onValueChange:function(e,n){var t=this;return(0,Se.Z)(regeneratorRuntime.mark((function a(){var r,s;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:r=e.target?e.target:e.event.target.parentElement,s=t.node.values[t.value.id_on_network],void 0===n&&(n=null!=r.value?r.value:e.value),a.t0=s.type,a.next="List"===a.t0?6:"Int"===a.t0||"Short"===a.t0||"Long"===a.t0||"Byte"===a.t0?8:"Decimal"===a.t0?10:12;break;case 6:return n=s.data_items[e.target.value],a.abrupt("break",12);case 8:return n=parseInt(n),a.abrupt("break",12);case 10:return n=parseFloat(n),a.abrupt("break",12);case 12:return"object"===Sa(n)&&(n=n.value),t.commandRunning=!0,a.prev=14,a.next=17,t.zrequest("set_value",{id_on_network:s.id_on_network,data:n});case 17:return a.prev=17,t.commandRunning=!1,a.finish(17);case 20:t.$emit("refresh"),t.notify({text:"Value successfully modified",image:{iconClass:"fa fa-check"}});case 22:case"end":return a.stop()}}),a,null,[[14,,17,20]])})))()}}};const Sr=(0,cn.Z)(qr,[["render",Dr],["__scopeId","data-v-0021cd76"]]);var Ir=Sr,Zr={name:"Zwave",components:{Value:Ir,ToggleSwitch:qa.Z,Loading:Na.Z,DropdownItem:Da.Z,Dropdown:za.Z,Modal:Ra.Z,Group:vn,Node:Ca},mixins:[un],data:function(){return{status:{},views:{},nodes:{},groups:{},scenes:{},commandRunning:!1,values:{switches:{},dimmers:{},sensors:{},battery_levels:{},power_levels:{},bulbs:{},doorlocks:{},usercodes:{},thermostats:{},protections:{}},selected:{view:"nodes",nodeId:void 0,groupId:void 0,sceneId:void 0,valueId:void 0},loading:{status:!1,nodes:!1,groups:!1,scenes:!1}}},computed:{valuesMap:function(){for(var e={},n=0,t=Object.values(this.nodes);n]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n var replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import Utils from \"@/Utils\";\n\nexport default {\n mixins: [Utils],\n props: {\n pluginName: {\n type: String,\n required: true,\n },\n },\n\n methods: {\n async zrequest(method, args) {\n return await this.request(`${this.pluginName}.${method}`, args)\n },\n }\n}\n","import { render } from \"./Group.vue?vue&type=template&id=56458f8e&scoped=true\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=56458f8e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-56458f8e\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Node.vue?vue&type=template&id=3da196a6&scoped=true\"\nimport script from \"./Node.vue?vue&type=script&lang=js\"\nexport * from \"./Node.vue?vue&type=script&lang=js\"\n\nimport \"./Node.vue?vue&type=style&index=0&id=3da196a6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3da196a6\"]])\n\nexport default __exports__","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","\n\n\n\n\n","import { render } from \"./Value.vue?vue&type=template&id=0021cd76&scoped=true\"\nimport script from \"./Value.vue?vue&type=script&lang=js\"\nexport * from \"./Value.vue?vue&type=script&lang=js\"\n\nimport \"./Value.vue?vue&type=style&index=0&id=0021cd76&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0021cd76\"]])\n\nexport default __exports__","import { render } from \"./Zwave.vue?vue&type=template&id=4a234aca\"\nimport script from \"./Zwave.vue?vue&type=script&lang=js\"\nexport * from \"./Zwave.vue?vue&type=script&lang=js\"\n\nimport \"./Zwave.vue?vue&type=style&index=0&id=4a234aca&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["uncurryThis","toObject","floor","Math","charAt","replace","stringSlice","slice","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","module","exports","matched","str","position","captures","namedCaptures","replacement","tailPos","length","m","symbols","undefined","match","ch","capture","n","f","PROPER_FUNCTION_NAME","fails","whitespaces","non","METHOD_NAME","name","apply","call","fixRegExpWellKnownSymbolLogic","anObject","isCallable","toIntegerOrInfinity","toLength","toString","requireObjectCoercible","advanceStringIndex","getMethod","getSubstitution","regExpExec","wellKnownSymbol","REPLACE","max","min","concat","push","stringIndexOf","indexOf","maybeToString","it","String","REPLACE_KEEPS_$0","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","REPLACE_SUPPORTS_NAMED_GROUPS","re","exec","result","groups","a","_","nativeReplace","maybeCallNative","UNSAFE_SUBSTITUTE","searchValue","replaceValue","O","this","replacer","string","rx","S","res","done","value","functionalReplace","global","fullUnicode","unicode","lastIndex","results","matchStr","accumulatedResult","nextSourcePosition","i","index","j","replacerArgs","$","$trim","forcedStringTrimMethod","target","proto","forced","trim","class","ref","type","range","step","disabled","onUpdate","withLabel","emits","props","Number","Boolean","default","Array","methods","event","update","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","stopPropagation","title","loading","status","state","device","stats","key","selected","groupId","Object","values","nodes","filter","node","addToGroup","node_id","view","$event","views","id","toUpperCase","addScene","text","commandRunning","networkInfoModalOpen","startNetwork","stopNetwork","addNode","removeNode","switchAll","cancelCommand","killCommand","receiveConfiguration","createNewPrimary","transferPrimaryRole","healNetwork","softReset","hardReset","refresh","keys","nodeId","pluginName","onNodeClick","group","associations","map","owner","addNodesToGroupModal","show","scenes","scene","sceneId","label","activateScene","id_on_network","valuesMap","data","removeValueFromScene","removeScene","renameScene","valueId","addValueToScene","refreshNodes","max_associations","removeFromGroup","mixins","Utils","required","zrequest","method","args","request","mixin","confirm","group_id","group_index","editMode","editName","onEditMode","location","editLocation","role","neighbours","neighbour","is_ready","is_failed","manufacturer_id","product_type","product_name","manufacturer_name","capabilities","join","command_classes","g","home_id","is_awake","is_locked","last_update","baud_rate","max_baud_rate","removeFailedNode","replaceFailedNode","heal","replicationSend","requestNetworkUpdate","requestNeighbourUpdate","notify","mode","form","input","querySelector","setTimeout","focus","select","new_name","console","log","_typeof","obj","Symbol","iterator","constructor","prototype","is_read_only","units","onValueChange","data_items","addValueToSceneItems","scene_id","help","value_id","command_class_name","command_class","components","Slider","Dropdown","DropdownItem","ToggleSwitch","computed","prompt","new_label","image","iconClass","parentElement","parseInt","parseFloat","Value","Loading","Modal","Group","Node","switches","dimmers","sensors","battery_levels","power_levels","bulbs","doorlocks","usercodes","thermostats","protections","refreshGroups","reduce","refreshScenes","refreshValues","item","refreshStatus","onNodeUpdate","networkInfoModal","onCommandEvent","error","state_description","error_description","subscribe","unmounted","forEach","eventType","unsubscribe"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/7262-legacy.3d1734c7.js b/platypush/backend/http/webapp/dist/static/js/7262-legacy.3d1734c7.js deleted file mode 100644 index 57b79f3d7..000000000 --- a/platypush/backend/http/webapp/dist/static/js/7262-legacy.3d1734c7.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7262],{3567:function(e,n,t){t.d(n,{Z:function(){return p}});var i=t(6252),o=t(3577),a=function(e){return(0,i.dD)("data-v-8fae7678"),e=e(),(0,i.Cn)(),e},r=["checked"],s=a((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),u={class:"label"};function c(e,n,t,a,c,l){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=function(){return l.onInput&&l.onInput.apply(l,arguments)})},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,r),(0,i._)("label",null,[s,(0,i._)("span",u,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var l={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},d=t(3744);const f=(0,d.Z)(l,[["render",c],["__scopeId","data-v-8fae7678"]]);var p=f},4004:function(e,n,t){t.d(n,{Z:function(){return s}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(2628)),a={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,n){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==n&&(n=e),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:n});case 3:o=i.sent,t.devices[e].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=n.sent.reduce((function(e,n){var t,i=null!==(t=n.name)&&void 0!==t&&t.length?n.name:n.id;return e[i]=n,e}),{});case 5:return n.prev=5,e.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(n){n&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const r=a;var s=r},8671:function(e,n,t){t.d(n,{Z:function(){return w}});t(8309);var i=t(6252),o=t(9963),a=t(3577),r=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},s={class:"name col-l-10 col-m-9 col-s-8"},u=r((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),c=[u],l=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function f(e,n,t,r,u,f){var p=(0,i.up)("Loading"),g=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:n[1]||(n[1]=(0,o.iM)((function(){return f.onToggle&&f.onToggle.apply(f,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(p,{key:0})):(0,i.kq)("",!0),(0,i._)("div",s,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:n[0]||(n[0]=(0,o.iM)((function(){return f.onInfo&&f.onInfo.apply(f,arguments)}),["prevent"]))},c)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,a.zw)(t.name)},null,8,l)]),(0,i._)("div",d,[(0,i.Wm)(g,{disabled:t.loading,value:t.state,onInput:f.onToggle},null,8,["disabled","value","onInput"])])])}var p=t(3567),g=t(1232),h={name:"Switch",components:{Loading:g.Z,ToggleSwitch:p.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},v=t(3744);const m=(0,v.Z)(h,[["render",f],["__scopeId","data-v-38eb9831"]]);var w=m},7262:function(e,n,t){t.r(n),t.d(n,{default:function(){return p}});t(7941);var i=t(6252),o={class:"switches zwave-switches"},a={key:1,class:"no-content"};function r(e,n,t,r,s,u){var c=(0,i.up)("Loading"),l=(0,i.up)("Switch");return(0,i.wg)(),(0,i.iD)("div",o,[e.loading?((0,i.wg)(),(0,i.j4)(c,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,"No Z-Wave switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(n,t){return(0,i.wg)(),(0,i.j4)(l,{loading:e.loading,name:t,state:n.on,id:n.id,onToggle:function(i){return e.toggle(t,n.id)},key:t},null,8,["loading","name","state","id","onToggle"])})),128))])}var s=t(1232),u=t(4004),c=t(8671),l={name:"Zwave",components:{Switch:c.Z,Loading:s.Z},mixins:[u.Z]},d=t(3744);const f=(0,d.Z)(l,[["render",r],["__scopeId","data-v-6aa1e625"]]);var p=f}}]); -//# sourceMappingURL=7262-legacy.3d1734c7.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/7262-legacy.3d1734c7.js.map b/platypush/backend/http/webapp/dist/static/js/7262-legacy.3d1734c7.js.map deleted file mode 100644 index 64977bb27..000000000 --- a/platypush/backend/http/webapp/dist/static/js/7262-legacy.3d1734c7.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/7262-legacy.3d1734c7.js","mappings":"mRAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,M,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAE,EAAAC,SAAA,EAAAA,QAAA,sBAAhE,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QADO,SACCU,GAEN,GADAA,EAAMC,kBACFC,KAAKb,SACP,OAAO,EAETa,KAAKC,MAAM,QAASH,M,UC/B1B,MAAMI,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S,uGCNA,GACEX,KAAM,gBACNY,OAAQ,CAACC,EAAA,GAETX,MAAO,CACLY,WAAY,CACVjB,KAAMkB,OACNC,UAAU,GAGZC,IAAK,CACHpB,KAAMqB,OACNF,UAAU,GAGZG,OAAQ,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KAAM,QACN8C,WAAY,CAACK,OAAAA,EAAA,EAAQJ,QAAAA,EAAA,GACrBnC,OAAQ,CAAC,M,UCXX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/Zwave/Index.vue","webpack://platypush/./src/components/panels/Switches/Zwave/Index.vue?dbad"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=6aa1e625&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=6aa1e625&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6aa1e625\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","stopPropagation","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","keys","key","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/7262-legacy.53030e4c.js b/platypush/backend/http/webapp/dist/static/js/7262-legacy.53030e4c.js new file mode 100644 index 000000000..6f1f6e6b0 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/7262-legacy.53030e4c.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7262],{6137:function(e,n,t){t.d(n,{Z:function(){return g}});var i=t(6252),o=t(3577),a=t(9963),r=function(e){return(0,i.dD)("data-v-8e097228"),e=e(),(0,i.Cn)(),e},s=["checked"],u=r((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),c={class:"label"};function l(e,n,t,r,l,d){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,a.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,s),(0,i._)("label",null,[u,(0,i._)("span",c,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},f=t(3744);const p=(0,f.Z)(d,[["render",l],["__scopeId","data-v-8e097228"]]);var g=p},4004:function(e,n,t){t.d(n,{Z:function(){return s}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(2628)),a={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,n){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==n&&(n=e),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:n});case 3:o=i.sent,t.devices[e].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=n.sent.reduce((function(e,n){var t,i=null!==(t=n.name)&&void 0!==t&&t.length?n.name:n.id;return e[i]=n,e}),{});case 5:return n.prev=5,e.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(n){n&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const r=a;var s=r},8671:function(e,n,t){t.d(n,{Z:function(){return w}});t(8309);var i=t(6252),o=t(9963),a=t(3577),r=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},s={class:"name col-l-10 col-m-9 col-s-8"},u=r((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),c=[u],l=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function f(e,n,t,r,u,f){var p=(0,i.up)("Loading"),g=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:n[1]||(n[1]=(0,o.iM)((function(){return f.onToggle&&f.onToggle.apply(f,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(p,{key:0})):(0,i.kq)("",!0),(0,i._)("div",s,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:n[0]||(n[0]=(0,o.iM)((function(){return f.onInfo&&f.onInfo.apply(f,arguments)}),["prevent"]))},c)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,a.zw)(t.name)},null,8,l)]),(0,i._)("div",d,[(0,i.Wm)(g,{disabled:t.loading,value:t.state,onInput:f.onToggle},null,8,["disabled","value","onInput"])])])}var p=t(6137),g=t(1232),h={name:"Switch",components:{Loading:g.Z,ToggleSwitch:p.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},v=t(3744);const m=(0,v.Z)(h,[["render",f],["__scopeId","data-v-38eb9831"]]);var w=m},7262:function(e,n,t){t.r(n),t.d(n,{default:function(){return p}});t(7941);var i=t(6252),o={class:"switches zwave-switches"},a={key:1,class:"no-content"};function r(e,n,t,r,s,u){var c=(0,i.up)("Loading"),l=(0,i.up)("Switch");return(0,i.wg)(),(0,i.iD)("div",o,[e.loading?((0,i.wg)(),(0,i.j4)(c,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,"No Z-Wave switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(n,t){return(0,i.wg)(),(0,i.j4)(l,{loading:e.loading,name:t,state:n.on,id:n.id,onToggle:function(i){return e.toggle(t,n.id)},key:t},null,8,["loading","name","state","id","onToggle"])})),128))])}var s=t(1232),u=t(4004),c=t(8671),l={name:"Zwave",components:{Switch:c.Z,Loading:s.Z},mixins:[u.Z]},d=t(3744);const f=(0,d.Z)(l,[["render",r],["__scopeId","data-v-6aa1e625"]]);var p=f}}]); +//# sourceMappingURL=7262-legacy.53030e4c.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/7262-legacy.53030e4c.js.map b/platypush/backend/http/webapp/dist/static/js/7262-legacy.53030e4c.js.map new file mode 100644 index 000000000..5e89f542a --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/7262-legacy.53030e4c.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/7262-legacy.53030e4c.js","mappings":"6RAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,M,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,wCAAO,EAAAC,SAAA,EAAAA,QAAA,qBAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QADO,SACCU,GAC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,QAAzD,iBAAyD,WAAzD,QAAgG,MAAhG,EAAiE,gCAI7D,aAFJ,QACwD,mBAAvB,EAAAX,SAAO,SAAxBI,EAAQ5B,G,kBADxB,QACwD,GAD/CqB,QAAS,EAAAA,QAAUrB,KAAMA,EAAO4C,MAAOhB,EAAOI,GAAKH,GAAID,EAAOC,GAAK,SAAM,mBAAE,EAAAF,OAAO3B,EAAM4B,EAAOC,KAC7DqB,IAAKlD,GADhD,8D,kCAUJ,GACEA,KAAM,QACN6C,WAAY,CAACM,OAAAA,EAAA,EAAQL,QAAAA,EAAA,GACrBnC,OAAQ,CAAC,M,UCXX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/Zwave/Index.vue","webpack://platypush/./src/components/panels/Switches/Zwave/Index.vue?dbad"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=6aa1e625&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=6aa1e625&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6aa1e625\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","key","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/7262.b0ebadee.js b/platypush/backend/http/webapp/dist/static/js/7262.b0ebadee.js new file mode 100644 index 000000000..39f36a46b --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/7262.b0ebadee.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7262],{6137:function(e,t,n){n.d(t,{Z:function(){return p}});var i=n(6252),o=n(3577),s=n(9963);const a=e=>((0,i.dD)("data-v-8e097228"),e=e(),(0,i.Cn)(),e),l=["checked"],d=a((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),c={class:"label"};function u(e,t,n,a,u,r){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,s.iM)(((...e)=>r.onInput&&r.onInput(...e)),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,l),(0,i._)("label",null,[d,(0,i._)("span",c,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var r={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},g=n(3744);const h=(0,g.Z)(r,[["render",u],["__scopeId","data-v-8e097228"]]);var p=h},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(2628),o={name:"SwitchesMixin",mixins:[i.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const s=o;var a=s},8671:function(e,t,n){n.d(t,{Z:function(){return w}});var i=n(6252),o=n(9963),s=n(3577);const a=e=>((0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e),l={class:"name col-l-10 col-m-9 col-s-8"},d=a((()=>(0,i._)("i",{class:"fa fa-info"},null,-1))),c=[d],u=["textContent"],r={class:"toggler col-l-2 col-m-3 col-s-4"};function g(e,t,n,a,d,g){const h=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,o.iM)(((...e)=>g.onToggle&&g.onToggle(...e)),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(h,{key:0})):(0,i.kq)("",!0),(0,i._)("div",l,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,o.iM)(((...e)=>g.onInfo&&g.onInfo(...e)),["prevent"]))},c)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,s.zw)(n.name)},null,8,u)]),(0,i._)("div",r,[(0,i.Wm)(p,{disabled:n.loading,value:n.state,onInput:g.onToggle},null,8,["disabled","value","onInput"])])])}var h=n(6137),p=n(1232),f={name:"Switch",components:{Loading:p.Z,ToggleSwitch:h.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},v=n(3744);const m=(0,v.Z)(f,[["render",g],["__scopeId","data-v-38eb9831"]]);var w=m},7262:function(e,t,n){n.r(t),n.d(t,{default:function(){return h}});var i=n(6252);const o={class:"switches zwave-switches"},s={key:1,class:"no-content"};function a(e,t,n,a,l,d){const c=(0,i.up)("Loading"),u=(0,i.up)("Switch");return(0,i.wg)(),(0,i.iD)("div",o,[e.loading?((0,i.wg)(),(0,i.j4)(c,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",s,"No Z-Wave switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,((t,n)=>((0,i.wg)(),(0,i.j4)(u,{loading:e.loading,name:n,state:t.on,id:t.id,onToggle:i=>e.toggle(n,t.id),key:n},null,8,["loading","name","state","id","onToggle"])))),128))])}var l=n(1232),d=n(4004),c=n(8671),u={name:"Zwave",components:{Switch:c.Z,Loading:l.Z},mixins:[d.Z]},r=n(3744);const g=(0,r.Z)(u,[["render",a],["__scopeId","data-v-6aa1e625"]]);var h=g}}]); +//# sourceMappingURL=7262.b0ebadee.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/7262.b0ebadee.js.map b/platypush/backend/http/webapp/dist/static/js/7262.b0ebadee.js.map new file mode 100644 index 000000000..5fb3add61 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/7262.b0ebadee.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/7262.b0ebadee.js","mappings":"wQAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAO,EAAAC,SAAA,EAAAA,WAAA,IAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QAAQU,GACN,GAAIC,KAAKZ,SACP,OAAO,EAETY,KAAKC,MAAM,QAASF,M,UC9B1B,MAAMG,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S,mECNA,GACEV,KAAM,gBACNW,O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,OAAD,IAASN,QAAO,KAC5BnC,OAAQ,CAAC,M,UCXX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/Zwave/Index.vue","webpack://platypush/./src/components/panels/Switches/Zwave/Index.vue?dbad"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=6aa1e625&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=6aa1e625&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6aa1e625\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","toggle","key","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/7262.b389a8de.js b/platypush/backend/http/webapp/dist/static/js/7262.b389a8de.js deleted file mode 100644 index 2c40c1377..000000000 --- a/platypush/backend/http/webapp/dist/static/js/7262.b389a8de.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7262],{3567:function(e,t,n){n.d(t,{Z:function(){return h}});var i=n(6252),o=n(3577);const s=e=>((0,i.dD)("data-v-8fae7678"),e=e(),(0,i.Cn)(),e),a=["checked"],l=s((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),d={class:"label"};function c(e,t,n,s,c,u){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(...e)=>u.onInput&&u.onInput(...e))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,a),(0,i._)("label",null,[l,(0,i._)("span",d,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},r=n(3744);const g=(0,r.Z)(u,[["render",c],["__scopeId","data-v-8fae7678"]]);var h=g},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(2628),o={name:"SwitchesMixin",mixins:[i.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const s=o;var a=s},8671:function(e,t,n){n.d(t,{Z:function(){return w}});var i=n(6252),o=n(9963),s=n(3577);const a=e=>((0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e),l={class:"name col-l-10 col-m-9 col-s-8"},d=a((()=>(0,i._)("i",{class:"fa fa-info"},null,-1))),c=[d],u=["textContent"],r={class:"toggler col-l-2 col-m-3 col-s-4"};function g(e,t,n,a,d,g){const h=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,o.iM)(((...e)=>g.onToggle&&g.onToggle(...e)),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(h,{key:0})):(0,i.kq)("",!0),(0,i._)("div",l,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,o.iM)(((...e)=>g.onInfo&&g.onInfo(...e)),["prevent"]))},c)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,s.zw)(n.name)},null,8,u)]),(0,i._)("div",r,[(0,i.Wm)(p,{disabled:n.loading,value:n.state,onInput:g.onToggle},null,8,["disabled","value","onInput"])])])}var h=n(3567),p=n(1232),f={name:"Switch",components:{Loading:p.Z,ToggleSwitch:h.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},v=n(3744);const m=(0,v.Z)(f,[["render",g],["__scopeId","data-v-38eb9831"]]);var w=m},7262:function(e,t,n){n.r(t),n.d(t,{default:function(){return h}});var i=n(6252);const o={class:"switches zwave-switches"},s={key:1,class:"no-content"};function a(e,t,n,a,l,d){const c=(0,i.up)("Loading"),u=(0,i.up)("Switch");return(0,i.wg)(),(0,i.iD)("div",o,[e.loading?((0,i.wg)(),(0,i.j4)(c,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",s,"No Z-Wave switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,((t,n)=>((0,i.wg)(),(0,i.j4)(u,{loading:e.loading,name:n,state:t.on,id:t.id,onToggle:i=>e.toggle(n,t.id),key:n},null,8,["loading","name","state","id","onToggle"])))),128))])}var l=n(1232),d=n(4004),c=n(8671),u={name:"Zwave",components:{Switch:c.Z,Loading:l.Z},mixins:[d.Z]},r=n(3744);const g=(0,r.Z)(u,[["render",a],["__scopeId","data-v-6aa1e625"]]);var h=g}}]); -//# sourceMappingURL=7262.b389a8de.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/7262.b389a8de.js.map b/platypush/backend/http/webapp/dist/static/js/7262.b389a8de.js.map deleted file mode 100644 index c4ce57cdd..000000000 --- a/platypush/backend/http/webapp/dist/static/js/7262.b389a8de.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/7262.b389a8de.js","mappings":"8PAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,oBAAE,EAAAC,SAAA,EAAAA,WAAA,KAAhE,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QAAQU,GAEN,GADAA,EAAMC,kBACFC,KAAKb,SACP,OAAO,EAETa,KAAKC,MAAM,QAASH,M,UC/B1B,MAAMI,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S,mECNA,GACEX,KAAM,gBACNY,OAAQ,CAACC,EAAA,GAETX,MAAO,CACLY,WAAY,CACVjB,KAAMkB,OACNC,UAAU,GAGZC,IAAK,CACHpB,KAAMqB,OACNF,UAAU,GAGZG,OAAQ,CACNtB,KAAMqB,OACNd,QAAS,KAAe,KAG1BgB,SAAU,CACRvB,KAAMM,QACNC,SAAS,IAIbiB,OACE,MAAO,CACLC,SAAS,EACTC,aAAa,EACbC,eAAgB,KAChBC,QAAS,KAIbpB,QAAS,CACPqB,eAAeZ,GACTA,IAAeN,KAAKM,YAGxBN,KAAKmB,WAGP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SAAU,QAElBC,MAAO,CACLF,KAAM,CACJH,KAAMkB,OACNC,UAAU,GAGZ6B,MAAO,CACLhD,KAAMM,QACNC,SAAS,GAGXkB,QAAS,CACPzB,KAAMM,QACNC,SAAS,GAGXuC,QAAS,CACP9C,KAAMM,QACNC,SAAS,GAGX0B,GAAI,CACFjC,KAAMkB,SAIVV,QAAS,CACPuC,OAAOtC,GAGL,OAFAA,EAAMC,kBACNC,KAAKC,MAAM,SACJ,GAGTiC,SAASpC,GAGP,OAFAA,EAAMC,kBACNC,KAAKC,MAAM,WACJ,K,UCrDb,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S,yFCROjB,MAAM,2B,SAEJA,MAAM,c,2FAFb,QAMM,MANN,EAMM,CALW,EAAA4B,UAAA,WAAf,QAA0B,YACUJ,OAAO+B,KAAK,EAAAxB,SAASW,QAAzD,iBAAyD,WAAzD,QAAgG,MAAhG,EAAiE,gCAI7D,aAFJ,QACwD,mBAAvB,EAAAX,SAAO,CAAxBI,EAAQ7B,M,WADxB,QACwD,GAD/CsB,QAAS,EAAAA,QAAUtB,KAAMA,EAAO6C,MAAOhB,EAAOI,GAAKH,GAAID,EAAOC,GAAK,SAAM,GAAE,EAAAoB,OAAOlD,EAAM6B,EAAOC,IAC7DqB,IAAKnD,GADhD,8D,kCAUJ,GACEA,KAAM,QACN8C,WAAY,CAACM,OAAD,IAASL,QAAO,KAC5BnC,OAAQ,CAAC,M,UCXX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/Zwave/Index.vue","webpack://platypush/./src/components/panels/Switches/Zwave/Index.vue?dbad"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=6aa1e625&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=6aa1e625&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6aa1e625\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","stopPropagation","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","keys","toggle","key","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/747.21f6bf7b.js b/platypush/backend/http/webapp/dist/static/js/747.21f6bf7b.js new file mode 100644 index 000000000..066a7f7c5 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/747.21f6bf7b.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[747],{4212:function(e,t,n){n.d(t,{N:function(){return o}});class o{constructor(e){if(this.ranges={hue:[0,360],sat:[0,100],bri:[0,100],ct:[154,500]},e)for(const t of Object.keys(this.ranges))e[t]&&(this.ranges[t]=e[t])}normalize(e,t,n){return n[0]+(e-t[0])*(n[1]-n[0])/(t[1]-t[0])}hslToRgb(e,t,n){[e,t,n]=[this.normalize(e,this.ranges.hue,[0,360]),this.normalize(t,this.ranges.sat,[0,100]),this.normalize(n,this.ranges.bri,[0,100])],n/=100;const o=t*Math.min(n,1-n)/100,s=t=>{const s=(t+e/30)%12,i=n-o*Math.max(Math.min(s-3,9-s,1),-1);return Math.round(255*i)};return[s(0),s(8),s(4)]}rgbToHsl(e,t,n){e/=255,t/=255,n/=255;const o=Math.max(e,t,n),s=Math.min(e,t,n);let i,l,a=(o+s)/2;if(o===s)i=l=0;else{const r=o-s;switch(l=a>.5?r/(2-o-s):r/(o+s),o){case e:i=(t-n)/r+(tc&&a>r&&a>1?(r/=a,c/=a,a=1):r>c&&r>a&&r>1?(a/=r,c/=r,r=1):c>a&&c>r&&c>1&&(a/=c,r/=c,c=1),a=a<=.0031308?12.92*a:1.055*Math.pow(a,1/2.4)-.055,r=r<=.0031308?12.92*r:1.055*Math.pow(r,1/2.4)-.055,c=c<=.0031308?12.92*c:1.055*Math.pow(c,1/2.4)-.055,a=Math.round(255*a),r=Math.round(255*r),c=Math.round(255*c),isNaN(a)&&(a=0),isNaN(r)&&(r=0),isNaN(c)&&(c=0),[a,r,c].map((e=>Math.min(Math.max(0,e),255)))}rgbToXY(e,t,n){e>1&&(e/=255),t>1&&(t/=255),n>1&&(n/=255),e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;const o=.664511*e+.154324*t+.162028*n,s=.283881*e+.668433*t+.047685*n,i=88e-6*e+.07231*t+.986039*n;let l=parseFloat((o/(o+s+i)).toFixed(4)),a=parseFloat((s/(o+s+i)).toFixed(4));return isNaN(l)&&(l=0),isNaN(a)&&(a=0),[l,a]}rgbToBri(e,t,n){return Math.min(2*this.rgbToHsl(e,t,n)[2],this.ranges.bri[1])}getRGB(e){return null!=e.red&&null!=e.green&&null!=e.blue?[e.red,e.green,e.blue]:null!=e.r&&null!=e.g&&null!=e.b?[e.r,e.g,e.b]:e.rgb?e.rgb:void 0}getXY(e){return null!=e.x&&null!=e.y?[e.x,e.y]:e.xy?e.xy:void 0}toRGB(e){const t=this.getRGB(e);if(t)return t;const n=this.getXY(e);return n&&e.bri?this.xyToRgb(...n,e.bri):e.hue&&e.sat&&e.bri?this.hslToRgb(e.hue,e.sat,e.bri):(console.debug("Could not determine color space"),void console.debug(e))}toXY(e){const t=this.getXY(e);if(t&&e.bri)return[t[0],t[1],e.bri];const n=this.getRGB(e);if(n)return this.rgbToXY(...n);if(e.hue&&e.sat&&e.bri){const t=this.hslToRgb(e.hue,e.sat,e.bri);return this.rgbToXY(...t)}console.debug("Could not determine color space"),console.debug(e)}toHSL(e){if(e.hue&&e.sat&&e.bri)return[e.hue,e.sat,e.bri];const t=this.getRGB(e);if(t)return this.rgbToHsl(...t);const n=this.getXY(e);if(n&&e.bri){const t=this.xyToRgb(...n,e.bri);return this.rgbToHsl(...t)}console.debug("Could not determine color space"),console.debug(e)}}},1120:function(e,t,n){n.d(t,{Z:function(){return v}});var o=n(6252),s=n(9963),i=n(3577);const l={class:"slider-wrapper"},a=["min","max","step","disabled","value"],r={class:"track"},c={class:"track-inner",ref:"track"},u={class:"thumb",ref:"thumb"},g=["textContent"];function d(e,t,n,d,p,h){return(0,o.wg)(),(0,o.iD)("label",l,[(0,o._)("input",{class:"slider",type:"range",ref:"range",min:n.range[0],max:n.range[1],step:n.step,disabled:n.disabled,value:n.value,onInput:t[0]||(t[0]=(0,s.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onChange:t[1]||(t[1]=(0,s.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onMouseup:t[2]||(t[2]=(0,s.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onMousedown:t[3]||(t[3]=(0,s.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onTouchstart:t[4]||(t[4]=(0,s.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onTouchend:t[5]||(t[5]=(0,s.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onKeyup:t[6]||(t[6]=(0,s.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onKeydown:t[7]||(t[7]=(0,s.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"]))},null,40,a),(0,o._)("div",r,[(0,o._)("div",c,null,512)]),(0,o._)("div",u,null,512),n.withLabel?((0,o.wg)(),(0,o.iD)("span",{key:0,class:"label",textContent:(0,i.zw)(n.value)},null,8,g)):(0,o.kq)("",!0)])}var p={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const t=100*e/(this.range[1]-this.range[0]);this.$refs.thumb.style.left=`${t}%`,this.$refs.thumb.style.transform=`translate(-${t}%, -50%)`,this.$refs.track.style.width=`${t}%`}},mounted(){null!=this.value&&this.update(this.value)}},h=n(3744);const m=(0,h.Z)(p,[["render",d],["__scopeId","data-v-288acf82"]]);var v=m},6137:function(e,t,n){n.d(t,{Z:function(){return h}});var o=n(6252),s=n(3577),i=n(9963);const l=e=>((0,o.dD)("data-v-8e097228"),e=e(),(0,o.Cn)(),e),a=["checked"],r=l((()=>(0,o._)("div",{class:"switch"},[(0,o._)("div",{class:"dot"})],-1))),c={class:"label"};function u(e,t,n,l,u,g){return(0,o.wg)(),(0,o.iD)("div",{class:(0,s.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,i.iM)(((...e)=>g.onInput&&g.onInput(...e)),["stop"]))},[(0,o._)("input",{type:"checkbox",checked:n.value},null,8,a),(0,o._)("label",null,[r,(0,o._)("span",c,[(0,o.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var g={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},d=n(3744);const p=(0,d.Z)(g,[["render",u],["__scopeId","data-v-8e097228"]]);var h=p},747:function(e,t,n){n.r(t),n.d(t,{default:function(){return Bt}});var o=n(6252);const s={class:"plugin lights-plugin"},i={key:0,class:"panel"},l={key:1,class:"panel"};function a(e,t,n,a,r,c){const u=(0,o.up)("Groups"),g=(0,o.up)("Group");return(0,o.wg)(),(0,o.iD)("div",s,[null==r.selectedGroup&&n.groups&&Object.keys(n.groups).length?((0,o.wg)(),(0,o.iD)("div",i,[(0,o.Wm)(u,{groups:n.groups,"loading-groups":n.loadingGroups,"color-converter":n.colorConverter,onSelect:t[0]||(t[0]=e=>r.selectedGroup=e),onToggle:t[1]||(t[1]=t=>e.$emit("group-toggle",t))},null,8,["groups","loading-groups","color-converter"])])):((0,o.wg)(),(0,o.iD)("div",l,[(0,o.Wm)(g,{group:n.groups[r.selectedGroup],lights:c.displayedLights,scenes:c.scenesByGroup[r.selectedGroup],"color-converter":n.colorConverter,animations:c.animationsByGroup[r.selectedGroup],onClose:t[2]||(t[2]=e=>r.selectedGroup=null),onLightToggle:t[3]||(t[3]=t=>e.$emit("light-toggle",t)),onGroupToggle:t[4]||(t[4]=t=>e.$emit("group-toggle",t)),onSetLight:t[5]||(t[5]=t=>e.$emit("set-light",t)),onSetGroup:t[6]||(t[6]=t=>e.$emit("set-group",{groupId:r.selectedGroup,value:t})),onSelectScene:t[7]||(t[7]=t=>e.$emit("select-scene",{groupId:r.selectedGroup,sceneId:t})),onStartAnimation:t[8]||(t[8]=t=>e.$emit("start-animation",t)),onStopAnimation:t[9]||(t[9]=t=>e.$emit("stop-animation",t))},null,8,["group","lights","scenes","color-converter","animations"])]))])}var r=n(2628),c={name:"Panel",emits:["mounted"],props:{config:{type:Object,default:()=>{}},pluginName:{type:String,required:!0}},data(){return{loading:!1}},mounted(){this.$emit("mounted",this)}};const u=c;var g=u,d=n(3577);const p=e=>((0,o.dD)("data-v-42318a2b"),e=e(),(0,o.Cn)(),e),h={class:"panel-row header"},m=p((()=>(0,o._)("div",{class:"col-3"},[(0,o._)("i",{class:"icon fas fa-home"})],-1))),v=p((()=>(0,o._)("div",{class:"col-6 name"}," Rooms ",-1))),b={class:"col-3 pull-right"},_=["onClick"],w={class:"name col-9"},y={class:"controls col-3 pull-right"};function f(e,t,n,s,i,l){const a=(0,o.up)("ToggleSwitch"),r=(0,o.up)("MenuPanel");return(0,o.wg)(),(0,o.j4)(r,null,{default:(0,o.w5)((()=>[(0,o._)("div",h,[m,v,(0,o._)("div",b,[(0,o.Wm)(a,{value:l.anyLightsOn,onInput:t[0]||(t[0]=t=>e.$emit("toggle"))},null,8,["value"])])]),((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(l.groupsSorted,(t=>((0,o.wg)(),(0,o.iD)("div",{class:"panel-row row group",key:t.id,onClick:n=>e.$emit("select",t.id)},[(0,o._)("span",w,(0,d.zw)(t.name||`[Group ${t.id}]`),1),(0,o._)("span",y,[(0,o.Wm)(a,{value:t.state.any_on,disabled:t.id in(n.loadingGroups||{}),onInput:n=>e.$emit("toggle",t)},null,8,["value","disabled","onInput"])])],8,_)))),128))])),_:1})}const C={class:"menu-panel"},k={class:"content"};function S(e,t,n,s,i,l){return(0,o.wg)(),(0,o.iD)("div",C,[(0,o._)("div",k,[(0,o.WI)(e.$slots,"default")])])}var j={name:"MenuPanel"},O=n(3744);const M=(0,O.Z)(j,[["render",S]]);var $=M,L=n(6137),D=n(4212),G={name:"Groups",components:{ToggleSwitch:L.Z,MenuPanel:$},emits:["select","toggle"],props:{groups:{type:Object,default:()=>{}},loadingGroups:{type:Object,default:()=>{}},colorConverter:{type:Object,default:()=>new D.N}},computed:{groupsSorted(){return Object.entries(this.groups).sort(((e,t)=>e[1].name.localeCompare(t[1].name))).map((([e,t])=>({...t,id:e})))},anyLightsOn(){for(const e of Object.values(this.groups))if(e?.state?.any_on)return!0;return!1}}};const I=(0,O.Z)(G,[["render",f],["__scopeId","data-v-42318a2b"]]);var T=I;const U={class:"light-group-container"},x={class:"panel-row header"},A={key:0,class:"col-3"},B=(0,o._)("i",{class:"fas fa-chevron-left"},null,-1),N=[B],W=["textContent"],Z={key:1,class:"col-3 pull-right"},R={key:0,class:"no-lights"},q={key:1,class:"lights-view"},z={class:"row view-selector"},V=(0,o._)("i",{class:"icon fas fa-lightbulb"},null,-1),Y=[V],H=(0,o._)("i",{class:"icon far fa-image"},null,-1),F=[H],X=(0,o._)("i",{class:"icon fas fa-video"},null,-1),K=[X],P={key:0,class:"view fade-in"},E=["onClick"],J={key:1,class:"view fade-in"},Q=["onClick"],ee={key:2,class:"view group-controls fade-in"},te={key:3,class:"view group-controls fade-in"};function ne(e,t,n,s,i,l){const a=(0,o.up)("ToggleSwitch"),r=(0,o.up)("Light"),c=(0,o.up)("Scene"),u=(0,o.up)("Controls"),g=(0,o.up)("Animate"),p=(0,o.up)("MenuPanel");return(0,o.wg)(),(0,o.iD)("div",U,[(0,o.Wm)(p,null,{default:(0,o.w5)((()=>[(0,o._)("div",x,[n.group?((0,o.wg)(),(0,o.iD)("div",A,[(0,o._)("button",{class:"back-btn",title:"Back",onClick:t[0]||(t[0]=(...e)=>l.close&&l.close(...e))},N)])):(0,o.kq)("",!0),(0,o._)("div",{class:(0,d.C_)(["col-6 name",{selected:"group"===i.selectedView}]),textContent:(0,d.zw)(l.groupName),onClick:t[1]||(t[1]=e=>i.selectedView="group"===i.selectedView?null:"group")},null,10,W),n.group?((0,o.wg)(),(0,o.iD)("div",Z,[(0,o.Wm)(a,{value:n.group.state.any_on,onInput:t[2]||(t[2]=t=>e.$emit("group-toggle",n.group))},null,8,["value"])])):(0,o.kq)("",!0)]),n.lights&&Object.keys(n.lights).length?((0,o.wg)(),(0,o.iD)("div",q,[(0,o._)("div",z,[(0,o._)("button",{class:(0,d.C_)({selected:"lights"===i.selectedView}),title:"Lights",onClick:t[3]||(t[3]=e=>i.selectedView="lights")},Y,2),(0,o._)("button",{class:(0,d.C_)({selected:"scenes"===i.selectedView}),title:"Scenes",onClick:t[4]||(t[4]=e=>i.selectedView="scenes")},F,2),(0,o._)("button",{class:(0,d.C_)({selected:"animate"===i.selectedView}),title:"Animate",onClick:t[5]||(t[5]=e=>i.selectedView="animate")},K,2)]),"lights"===i.selectedView?((0,o.wg)(),(0,o.iD)("div",P,[((0,o.wg)(),(0,o.j4)(o.Ob,null,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(l.lightsSorted,((t,s)=>((0,o.wg)(),(0,o.iD)("div",{class:(0,d.C_)(["panel-row row",{expanded:t.id===i.selectedLight}]),key:s,onClick:e=>i.selectedLight=i.selectedLight===t.id?null:t.id},[(0,o.Wm)(r,{light:t,group:n.group,collapsed:t.id!==i.selectedLight,"color-converter":n.colorConverter,onToggle:n=>e.$emit("light-toggle",t),onSetLight:n=>e.$emit("set-light",{light:t,value:n})},null,8,["light","group","collapsed","color-converter","onToggle","onSetLight"])],10,E)))),128))],1024))])):"scenes"===i.selectedView?((0,o.wg)(),(0,o.iD)("div",J,[((0,o.wg)(),(0,o.j4)(o.Ob,null,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(l.scenesSorted,((e,t)=>((0,o.wg)(),(0,o.iD)("div",{class:(0,d.C_)(["panel-row row",{selected:e.id===i.selectedScene}]),key:t,onClick:t=>l.onSceneSelected(e.id)},[(0,o.Wm)(c,{scene:e,group:n.group},null,8,["scene","group"])],10,Q)))),128))],1024))])):"group"===i.selectedView?((0,o.wg)(),(0,o.iD)("div",ee,[((0,o.wg)(),(0,o.j4)(o.Ob,null,[(0,o.Wm)(u,{group:n.group,lights:n.lights,"color-converter":n.colorConverter,onSetGroup:t[6]||(t[6]=t=>e.$emit("set-group",t))},null,8,["group","lights","color-converter"])],1024))])):"animate"===i.selectedView?((0,o.wg)(),(0,o.iD)("div",te,[((0,o.wg)(),(0,o.j4)(o.Ob,null,[(0,o.Wm)(g,{group:n.group,lights:n.lights,"color-converter":n.colorConverter,"running-animations":n.animations,onStart:t[7]||(t[7]=t=>e.$emit("start-animation",t)),onStop:t[8]||(t[8]=t=>e.$emit("stop-animation",t))},null,8,["group","lights","color-converter","running-animations"])],1024))])):(0,o.kq)("",!0)])):((0,o.wg)(),(0,o.iD)("div",R," No lights found "))])),_:1})])}const oe={class:"row"},se={class:"toggle col-3 pull-right"},ie={key:0,class:"row fade-in"};function le(e,t,n,s,i,l){const a=(0,o.up)("ToggleSwitch"),r=(0,o.up)("Controls");return(0,o.wg)(),(0,o.iD)("div",{class:(0,d.C_)(["light",{expanded:!n.collapsed}]),ref:"element"},[(0,o._)("div",oe,[(0,o._)("span",{class:"name col-9",onClick:t[0]||(t[0]=(...e)=>l.expandToggle&&l.expandToggle(...e))},(0,d.zw)(n.light.name||`[Light ${n.light.id}]`),1),(0,o._)("span",se,[(0,o.Wm)(a,{value:n.light.state.on,disabled:n.loading,onInput:t[1]||(t[1]=t=>e.$emit("toggle",n.light))},null,8,["value","disabled"])])]),n.collapsed?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("div",ie,[(0,o.Wm)(r,{light:n.light,loading:n.loading,"color-converter":n.colorConverter,onSetLight:t[2]||(t[2]=t=>e.$emit("set-light",t))},null,8,["light","loading","color-converter"])]))],2)}var ae=n(9963);const re=e=>((0,o.dD)("data-v-e2726892"),e=e(),(0,o.Cn)(),e),ce={key:1,class:"row"},ue=re((()=>(0,o._)("div",{class:"col-1 icon"},[(0,o._)("i",{class:"fas fa-sun"})],-1))),ge={class:"col-11 control"},de={key:2,class:"row"},pe=re((()=>(0,o._)("div",{class:"col-1 icon"},[(0,o._)("i",{class:"fas fa-thermometer-half"})],-1))),he={class:"col-11 control"},me={key:3,class:"row"},ve=re((()=>(0,o._)("span",{class:"col-1 icon"},[(0,o._)("i",{class:"fas fa-palette"})],-1))),be={class:"col-11 control"},_e=["value"];function we(e,t,n,s,i,l){const a=(0,o.up)("Loading"),r=(0,o.up)("Slider");return(0,o.wg)(),(0,o.iD)("div",{class:"controls light-controls",onClick:t[3]||(t[3]=e=>e.stopPropagation())},[n.loading?((0,o.wg)(),(0,o.j4)(a,{key:0})):(0,o.kq)("",!0),null!=l.state.bri?((0,o.wg)(),(0,o.iD)("div",ce,[ue,(0,o._)("div",ge,[(0,o.Wm)(r,{range:n.colorConverter.ranges.bri,disabled:n.loading,value:l.state.bri,onMouseup:t[0]||(t[0]=(0,ae.iM)((t=>e.$emit(n.light?"set-light":"set-group",{brightness:parseInt(t.target.value)})),["stop"]))},null,8,["range","disabled","value"])])])):(0,o.kq)("",!0),null!=l.state.ct?((0,o.wg)(),(0,o.iD)("div",de,[pe,(0,o._)("div",he,[(0,o.Wm)(r,{range:n.colorConverter.ranges.ct,disabled:n.loading,value:l.state.ct,onMouseup:t[1]||(t[1]=(0,ae.iM)((t=>e.$emit(n.light?"set-light":"set-group",{temperature:parseInt(t.target.value)})),["stop"]))},null,8,["range","disabled","value"])])])):(0,o.kq)("",!0),l.rgbColor?((0,o.wg)(),(0,o.iD)("label",me,[ve,(0,o._)("span",be,[(0,o._)("input",{type:"color",value:l.rgbColor,onChange:t[2]||(t[2]=(0,ae.iM)(((...e)=>l.onColorSelect&&l.onColorSelect(...e)),["stop"]))},null,40,_e)])])):(0,o.kq)("",!0)])}var ye=n(1120),fe=n(1232),Ce={name:"Controls",components:{Loading:fe.Z,Slider:ye.Z},emits:["set-light","set-group"],props:{light:{type:Object},lights:{type:Object},group:{type:Object},loading:{type:Boolean,default:!1},colorConverter:{type:Object,default:()=>new D.N}},computed:{state(){if(this.light?.state)return this.light.state;const e=this.group?.state||{};if(!this.lights)return e;const t=e=>e&&e.length?e[0]instanceof Array?[...e[0].keys()].map((n=>t(e.map((e=>e[n]))))):e.reduce(((e,t)=>e+t),0)/e.length:0;return{...e,...Object.entries(Object.values(this.lights).reduce(((e,t)=>(["bri","hue","sat","rgb","xy","red","green","blue","ct"].forEach((n=>{null!=t.state?.[n]&&(e[n]=[...e[n]||[],t.state[n]])})),e)),{})).reduce(((e,[n,o])=>(e[n]=t(o),e)),{})}},color(){return this.getColor(this.state)},rgbColor(){const e=this.colorConverter.toRGB(this.state);return e?"#"+e.map((e=>{let t=e.toString(16);return t.length<2&&(t="0"+t),t})).join(""):null}},methods:{onColorSelect(e){const t=e.target.value.slice(1).split(/(?=(?:..)*$)/).map((e=>parseInt(`0x${e}`)));this.$emit(this.light?"set-light":"set-group",{rgb:t,xy:this.colorConverter.rgbToXY(...t),hsl:this.colorConverter.rgbToHsl(...t),brightness:this.colorConverter.rgbToBri(...t)})},getColor(e){return{rgb:this.colorConverter.toRGB(e),xy:this.colorConverter.toXY(e),hsl:this.colorConverter.toHSL(e)}}}};const ke=(0,O.Z)(Ce,[["render",we],["__scopeId","data-v-e2726892"]]);var Se=ke,je={name:"Light",components:{Controls:Se,ToggleSwitch:L.Z},emits:["toggle","set-light","collapsed","expanded"],props:{light:{type:Object,default:()=>{}},group:{type:Object,default:()=>{}},loading:{type:Boolean,default:!1},collapsed:{type:Boolean,default:!0},colorConverter:{type:Object,default:()=>new D.N}},methods:{expandToggle(){this.$emit(this.collapsed?"expanded":"collapsed")}}};const Oe=(0,O.Z)(je,[["render",le],["__scopeId","data-v-52168252"]]);var Me=Oe;function $e(e,t,n,s,i,l){const a=(0,o.up)("Loading");return(0,o.wg)(),(0,o.iD)(o.HY,null,[n.loading?((0,o.wg)(),(0,o.j4)(a,{key:0})):(0,o.kq)("",!0),(0,o._)("div",{class:"scene row name",onClick:t[0]||(t[0]=(...e)=>l.onSelect&&l.onSelect(...e))},(0,d.zw)(n.scene.name||`[Scene ${n.scene.id}]`),1)],64)}var Le={name:"Light",emits:["select"],props:{scene:{type:Object,default:()=>{}},group:{type:Object,default:()=>{}},loading:{type:Boolean,default:!1}},methods:{onSelect(){if(this.loading)return!1;this.$emit("select")}}};const De=(0,O.Z)(Le,[["render",$e]]);var Ge=De;const Ie=e=>((0,o.dD)("data-v-1739aaba"),e=e(),(0,o.Cn)(),e),Te={class:"animation-container"},Ue={class:"animation-header"},xe={class:"row"},Ae=Ie((()=>(0,o._)("div",{class:"col-3"}," Run Animation ",-1))),Be={class:"col-9"},Ne={class:"row"},We=Ie((()=>(0,o._)("div",{class:"col-3"},"Animation",-1))),Ze={class:"col-9"},Re=Ie((()=>(0,o._)("option",{value:"color_transition"},"Color transition",-1))),qe=Ie((()=>(0,o._)("option",{value:"blink"},"Blink",-1))),ze=[Re,qe],Ve={class:"animation"},Ye={key:0,class:"row"},He=Ie((()=>(0,o._)("div",{class:"col-3"}," Hue range ",-1))),Fe={class:"col-9"},Xe={key:1,class:"row"},Ke=Ie((()=>(0,o._)("div",{class:"col-3"}," Sat range ",-1))),Pe={class:"col-9"},Ee={key:2,class:"row"},Je=Ie((()=>(0,o._)("div",{class:"col-3"}," Bri range ",-1))),Qe={class:"col-9"},et={key:3,class:"row"},tt=Ie((()=>(0,o._)("div",{class:"col-3"}," Hue step ",-1))),nt={class:"col-9"},ot={key:4,class:"row"},st=Ie((()=>(0,o._)("div",{class:"col-3"}," Sat step ",-1))),it={class:"col-9"},lt={key:5,class:"row"},at=Ie((()=>(0,o._)("div",{class:"col-3"}," Bri step ",-1))),rt={class:"col-9"},ct={class:"row"},ut=Ie((()=>(0,o._)("div",{class:"col-3"}," Refresh seconds ",-1))),gt={class:"col-9"},dt=["value"],pt={class:"row"},ht=Ie((()=>(0,o._)("div",{class:"col-3"}," Duration (seconds) ",-1))),mt={class:"col-9"},vt=["value"],bt={class:"lights"},_t={class:"row"},wt=["checked"],yt=(0,o.Uk)(" Select all lights "),ft=["onUpdate:modelValue","onInput"];function Ct(e,t,n,s,i,l){const a=(0,o.up)("Loading"),r=(0,o.up)("ToggleSwitch"),c=(0,o.up)("RangeSlider"),u=(0,o.up)("Slider");return(0,o.wg)(),(0,o.iD)("div",{class:"controls animation-controls",onClick:t[10]||(t[10]=e=>e.stopPropagation())},[n.loading?((0,o.wg)(),(0,o.j4)(a,{key:0})):(0,o.kq)("",!0),(0,o._)("div",Te,[(0,o._)("div",Ue,[(0,o._)("div",xe,[Ae,(0,o._)("div",Be,[(0,o.Wm)(r,{value:l.animationRunning,onInput:l.toggleAnimation},null,8,["value","onInput"])])]),(0,o._)("div",Ne,[We,(0,o._)("div",Ze,[(0,o._)("label",null,[(0,o._)("select",{class:"selector",onClick:t[0]||(t[0]=e=>i.selectedAnimation=e.target.value)},ze)])])])]),(0,o._)("div",Ve,["color_transition"===i.selectedAnimation?((0,o.wg)(),(0,o.iD)("div",Ye,[He,(0,o._)("div",Fe,[(0,o.Wm)(c,{range:n.colorConverter.ranges.hue,disabled:n.loading,value:i.animations.color_transition.hue_range,onMouseup:t[1]||(t[1]=e=>i.animations.color_transition.hue_range=e.target.value)},null,8,["range","disabled","value"])])])):(0,o.kq)("",!0),"color_transition"===i.selectedAnimation?((0,o.wg)(),(0,o.iD)("div",Xe,[Ke,(0,o._)("div",Pe,[(0,o.Wm)(c,{range:n.colorConverter.ranges.sat,disabled:n.loading,value:i.animations.color_transition.sat_range,onMouseup:t[2]||(t[2]=e=>i.animations.color_transition.sat_range=e.target.value)},null,8,["range","disabled","value"])])])):(0,o.kq)("",!0),"color_transition"===i.selectedAnimation?((0,o.wg)(),(0,o.iD)("div",Ee,[Je,(0,o._)("div",Qe,[(0,o.Wm)(c,{range:n.colorConverter.ranges.sat,disabled:n.loading,value:i.animations.color_transition.bri_range,onMouseup:t[3]||(t[3]=e=>i.animations.color_transition.bri_range=e.target.value)},null,8,["range","disabled","value"])])])):(0,o.kq)("",!0),"color_transition"===i.selectedAnimation?((0,o.wg)(),(0,o.iD)("div",et,[tt,(0,o._)("div",nt,[(0,o.Wm)(u,{range:n.colorConverter.ranges.hue,disabled:n.loading,value:i.animations.color_transition.hue_step,onMouseup:t[4]||(t[4]=e=>i.animations.color_transition.hue_step=parseFloat(e.target.value))},null,8,["range","disabled","value"])])])):(0,o.kq)("",!0),"color_transition"===i.selectedAnimation?((0,o.wg)(),(0,o.iD)("div",ot,[st,(0,o._)("div",it,[(0,o.Wm)(u,{range:n.colorConverter.ranges.sat,disabled:n.loading,value:i.animations.color_transition.sat_step,onMouseup:t[5]||(t[5]=e=>i.animations.color_transition.sat_step=parseFloat(e.target.value))},null,8,["range","disabled","value"])])])):(0,o.kq)("",!0),"color_transition"===i.selectedAnimation?((0,o.wg)(),(0,o.iD)("div",lt,[at,(0,o._)("div",rt,[(0,o.Wm)(u,{range:n.colorConverter.ranges.bri,disabled:n.loading,value:i.animations.color_transition.bri_step,onMouseup:t[6]||(t[6]=e=>i.animations.color_transition.bri_step=parseFloat(e.target.value))},null,8,["range","disabled","value"])])])):(0,o.kq)("",!0),(0,o._)("div",ct,[ut,(0,o._)("div",gt,[(0,o._)("label",null,[(0,o._)("input",{type:"number",value:i.animations[i.selectedAnimation].transition_seconds,step:"0.1",onInput:t[7]||(t[7]=e=>i.animations[i.selectedAnimation].transition_seconds=parseFloat(e.target.value))},null,40,dt)])])]),(0,o._)("div",pt,[ht,(0,o._)("div",mt,[(0,o._)("label",null,[(0,o._)("input",{type:"number",value:i.animations[i.selectedAnimation].duration,step:"5",onInput:t[8]||(t[8]=e=>i.animations[i.selectedAnimation].duration=e.target.value?.length?parseFloat(e.target.value):null)},null,40,vt)])])])])]),(0,o._)("div",bt,[(0,o._)("div",_t,[(0,o._)("label",null,[(0,o._)("input",{type:"checkbox",checked:Object.keys(n.lights).length===Object.values(i.selectedLights).filter((e=>e)).length,onClick:t[9]||(t[9]=(...e)=>l.toggleSelectAll&&l.toggleSelectAll(...e))},null,8,wt),yt])]),((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(n.lights,((e,t)=>((0,o.wg)(),(0,o.iD)("div",{class:"row",key:t},[(0,o._)("label",null,[(0,o.wy)((0,o._)("input",{type:"checkbox","onUpdate:modelValue":e=>i.selectedLights[t]=e,onInput:e=>i.selectedLights[t]=!i.selectedLights[t]},null,40,ft),[[ae.e8,i.selectedLights[t]]]),(0,o.Uk)(" "+(0,d.zw)(e.name),1)])])))),128))])])}const kt={class:"range-wrapper"},St=["value","min","max","step","disabled"];function jt(e,t,n,s,i,l){return(0,o.wg)(),(0,o.iD)("div",kt,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(n.value,((e,s)=>((0,o.wg)(),(0,o.iD)("input",{class:"slider",type:"range",value:e,min:n.range[0],max:n.range[1],step:n.step,disabled:n.disabled,ref_for:!0,ref:"ranges",onInput:t[0]||(t[0]=(0,ae.iM)(((...e)=>l.onUpdate&&l.onUpdate(...e)),["stop"])),onChange:t[1]||(t[1]=(0,ae.iM)(((...e)=>l.onUpdate&&l.onUpdate(...e)),["stop"])),onMouseup:t[2]||(t[2]=(0,ae.iM)(((...e)=>l.onUpdate&&l.onUpdate(...e)),["stop"])),onMousedown:t[3]||(t[3]=(0,ae.iM)(((...e)=>l.onUpdate&&l.onUpdate(...e)),["stop"])),onTouchstart:t[4]||(t[4]=(0,ae.iM)(((...e)=>l.onUpdate&&l.onUpdate(...e)),["stop"])),onTouchend:t[5]||(t[5]=(0,ae.iM)(((...e)=>l.onUpdate&&l.onUpdate(...e)),["stop"])),onKeyup:t[6]||(t[6]=(0,ae.iM)(((...e)=>l.onUpdate&&l.onUpdate(...e)),["stop"])),onKeydown:t[7]||(t[7]=(0,ae.iM)(((...e)=>l.onUpdate&&l.onUpdate(...e)),["stop"])),key:s},null,40,St)))),128))])}var Ot={name:"RangeSlider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},value:{type:Array,default:()=>[0,100]}},methods:{onUpdate(e){this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.ranges.map((e=>parseFloat(e.value))).sort()}})}}};const Mt=(0,O.Z)(Ot,[["render",jt],["__scopeId","data-v-981c5de0"]]);var $t=Mt,Lt={name:"Animate",mixins:[r.Z],components:{ToggleSwitch:L.Z,Slider:ye.Z,RangeSlider:$t,Loading:fe.Z},emits:["start","stop"],props:{lights:{type:Object},group:{type:Object},loading:{type:Boolean,default:!1},colorConverter:{type:Object,default:()=>new D.N},runningAnimations:{type:Object,default:()=>{}}},data(){return{selectedAnimation:"color_transition",animation:{},selectedLights:Object.keys(this.lights).reduce(((e,t)=>(e[t]=!0,e)),{}),animations:{color_transition:{hue_range:this.colorConverter.ranges.hue,sat_range:[parseInt((this.colorConverter.ranges.sat[1]-this.colorConverter.ranges.sat[0])/2),this.colorConverter.ranges.sat[1]],bri_range:[parseInt(.75*(this.colorConverter.ranges.bri[1]-this.colorConverter.ranges.bri[0])),this.colorConverter.ranges.bri[1]],hue_step:parseInt((this.colorConverter.ranges.hue[1]-this.colorConverter.ranges.hue[0])/25),sat_step:parseInt((this.colorConverter.ranges.sat[1]-this.colorConverter.ranges.sat[0])/50),bri_step:parseInt((this.colorConverter.ranges.bri[1]-this.colorConverter.ranges.bri[0])/50),transition_seconds:1,duration:null},blink:{transition_seconds:1,duration:null}}}},computed:{animationRunning(){return Object.keys(this.runningAnimations).length>0}},methods:{toggleSelectAll(){const e=Object.values(this.selectedLights).filter((e=>e)).length{this.selectedLights[t]=e}))},toggleAnimation(){const e=this.animationRunning?"stop":"start",t=Object.entries(this.selectedLights).filter((e=>e[1])).map((e=>e[0]));t.length?this.$emit(e,{lights:t,animation:{...this.animations[this.selectedAnimation],animation:this.selectedAnimation}}):this.warn("No lights have been selected")}}};const Dt=(0,O.Z)(Lt,[["render",Ct],["__scopeId","data-v-1739aaba"]]);var Gt=Dt,It={name:"Group",emits:["close","group-toggle","light-toggle","set-light","select-scene","start-animation","stop-animation"],components:{Animate:Gt,ToggleSwitch:L.Z,MenuPanel:$,Light:Me,Scene:Ge,Controls:Se},props:{lights:{type:Object},group:{type:Object},scenes:{type:Object},animations:{type:Object,default:()=>{}},colorConverter:{type:Object,default:()=>new D.N}},data(){return{selectedLight:null,selectedScene:null,selectedView:"lights"}},computed:{lightsSorted(){return this.lights?Object.entries(this.lights).sort(((e,t)=>e[1].name.localeCompare(t[1].name))).map((([e,t])=>({...t,id:e}))):[]},scenesSorted(){return this.scenes?Object.entries(this.scenes).sort(((e,t)=>e[1].name.localeCompare(t[1].name))).map((([e,t])=>({...t,id:e}))):[]},groupName(){return this.group?.name?this.group.name:null!=this.group?.id?`[Group ${this.group.id}]`:"Lights"}},methods:{close(e){e.stopPropagation(),this.$emit("close")},onSceneSelected(e){this.selectedScene=e,this.$emit("select-scene",e)}}};const Tt=(0,O.Z)(It,[["render",ne]]);var Ut=Tt,xt={name:"Light",components:{Group:Ut,Groups:T},mixins:[r.Z,g],emits:["group-toggle","light-toggle","set-light","set-group","select-scene","start-animation","stop-animation","refresh","light-changed"],props:{lights:{type:Object},groups:{type:Object},scenes:{type:Object},animations:{type:Object},colorConverter:{type:Object,default:()=>new D.N},loadingLights:{type:Object,default:()=>{}},loadingGroups:{type:Object,default:()=>{}},pluginName:{type:String},initialGroup:{type:[Number,String]}},data(){return{selectedGroup:null,initialized:!1}},computed:{displayedLights(){const e=this.selectedGroup||this.initialGroup;return null==e?this.lights:this.groups[e].lights.reduce(((e,t)=>(e[t]=this.lights[t],e)),{})},groupsByLight(){return this.groups?Object.entries(this.groups).reduce(((e,[t,n])=>(n.lights.forEach((o=>{e[o]||(e[o]={}),e[o][t]=n})),e)),{}):{}},scenesByGroup(){if(!this.scenes)return{};const e=this;return Object.entries(this.scenes).reduce(((t,[n,o])=>(o.lights.forEach((s=>{Object.keys(e.groupsByLight[s]).forEach((e=>{t[e]||(t[e]={}),t[e][n]=o}))})),t)),{})},animationsByGroup(){const e=this,t=Object.entries(this.animations?.groups||{}).reduce(((e,[t,n])=>(e[t]={},n&&(e[t][null]=n),e)),{});return{...t,...Object.entries(this.animations?.lights||{}).reduce(((t,[n,o])=>{const s=Object.values(e.groupsByLight[n])?.[0];return s&&o&&null!=s.id&&(t[s.id]||(t[s.id]={}),t[s.id][n]=o),t}),{})}}},methods:{initSelectedGroup(){const e=this,t=this.$watch((()=>e.initialGroup),(n=>{e.initialized||(e.initialized=!0,t(),null==e.selectedGroup&&null!=n&&(e.selectedGroup=e.initialGroup))}))},refresh(){this.$emit("refresh")},onLightChange(e){if(e.plugin_name!==this.pluginName)return;if(!this.lights[e.light_id])return void this.refresh();const t={...e},n=t.light_id;delete t.light_id,delete t.type,delete t.plugin_name,this.$emit("light-changed",{id:n,state:t})},onAnimationChange(e){e.plugin_name===this.pluginName&&this.refresh()}},mounted(){this.subscribe(this.onLightChange,"on-light-change","platypush.message.event.light.LightStatusChangeEvent"),this.subscribe(this.onAnimationChange,"on-animation-change","platypush.message.event.light.LightAnimationStartedEvent","platypush.message.event.light.LightAnimationStoppedEvent"),this.initSelectedGroup()},unmounted(){this.unsubscribe("on-light-change"),this.unsubscribe("on-animation-change")}};const At=(0,O.Z)(xt,[["render",a],["__scopeId","data-v-781dd72c"]]);var Bt=At}}]); +//# sourceMappingURL=747.21f6bf7b.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/747.21f6bf7b.js.map b/platypush/backend/http/webapp/dist/static/js/747.21f6bf7b.js.map new file mode 100644 index 000000000..493042dcf --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/747.21f6bf7b.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/747.21f6bf7b.js","mappings":"iJAAO,MAAMA,EACTC,YAAYC,GAQR,GAPAC,KAAKD,OAAS,CACVE,IAAK,CAAC,EAAG,KACTC,IAAK,CAAC,EAAG,KACTC,IAAK,CAAC,EAAG,KACTC,GAAI,CAAC,IAAK,MAGVL,EACA,IAAK,MAAMM,KAAQC,OAAOC,KAAKP,KAAKD,QAC5BA,EAAOM,KACPL,KAAKD,OAAOM,GAAQN,EAAOM,IAG3CG,UAAUC,EAAGC,EAAQC,GACjB,OAAOA,EAAO,IAAQF,EAAEC,EAAO,KAAOC,EAAO,GAAGA,EAAO,KAAQD,EAAO,GAAGA,EAAO,IAGpFE,SAASC,EAAGC,EAAGC,IACVF,EAAGC,EAAGC,GAAK,CACRf,KAAKQ,UAAUK,EAAGb,KAAKD,OAAOE,IAAK,CAAC,EAAG,MACvCD,KAAKQ,UAAUM,EAAGd,KAAKD,OAAOG,IAAK,CAAC,EAAG,MACvCF,KAAKQ,UAAUO,EAAGf,KAAKD,OAAOI,IAAK,CAAC,EAAG,OAG3CY,GAAK,IACL,MAAMC,EAAIF,EAAIG,KAAKC,IAAIH,EAAG,EAAIA,GAAK,IAC7BI,EAAIC,IACN,MAAMC,GAAKD,EAAIP,EAAI,IAAM,GACnBS,EAAQP,EAAIC,EAAIC,KAAKM,IAAIN,KAAKC,IAAIG,EAAI,EAAG,EAAIA,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,CAAC,CAAC,SAAS1H,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/panels/Light/color.js","webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Light/Index.vue","webpack://platypush/./src/components/panels/Panel.vue","webpack://platypush/./src/components/panels/Panel.vue?40a7","webpack://platypush/./src/components/Light/Groups.vue","webpack://platypush/./src/components/MenuPanel.vue","webpack://platypush/./src/components/MenuPanel.vue?e8bb","webpack://platypush/./src/components/Light/Groups.vue?f495","webpack://platypush/./src/components/Light/Group.vue","webpack://platypush/./src/components/Light/Light.vue","webpack://platypush/./src/components/Light/Controls.vue","webpack://platypush/./src/components/Light/Controls.vue?5766","webpack://platypush/./src/components/Light/Light.vue?eed6","webpack://platypush/./src/components/Light/Scene.vue","webpack://platypush/./src/components/Light/Scene.vue?87a4","webpack://platypush/./src/components/Light/Animate.vue","webpack://platypush/./src/components/elements/RangeSlider.vue","webpack://platypush/./src/components/elements/RangeSlider.vue?500a","webpack://platypush/./src/components/Light/Animate.vue?a3c2","webpack://platypush/./src/components/Light/Group.vue?06ce","webpack://platypush/./src/components/panels/Light/Index.vue?36e9"],"sourcesContent":["export class ColorConverter {\n constructor(ranges) {\n this.ranges = {\n hue: [0, 360],\n sat: [0, 100],\n bri: [0, 100],\n ct: [154, 500],\n }\n\n if (ranges)\n for (const attr of Object.keys(this.ranges))\n if (ranges[attr])\n this.ranges[attr] = ranges[attr]\n }\n\n normalize(x, xRange, yRange) {\n return yRange[0] + (((x-xRange[0]) * (yRange[1]-yRange[0])) / (xRange[1]-xRange[0]))\n }\n\n hslToRgb(h, s, l) {\n [h, s, l] = [\n this.normalize(h, this.ranges.hue, [0, 360]),\n this.normalize(s, this.ranges.sat, [0, 100]),\n this.normalize(l, this.ranges.bri, [0, 100]),\n ]\n\n l /= 100\n const a = s * Math.min(l, 1 - l) / 100\n const f = n => {\n const k = (n + h / 30) % 12\n const color = l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1)\n return Math.round(255 * color)\n }\n\n return [f(0), f(8), f(4)]\n }\n\n rgbToHsl(r, g, b){\n r /= 255\n g /= 255\n b /= 255;\n const max = Math.max(r, g, b), min = Math.min(r, g, b);\n let h, s, l = (max + min) / 2;\n\n if(max === min){\n h = s = 0; // achromatic\n } else {\n const d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n\n switch(max){\n case r: h = (g - b) / d + (g < b ? 6 : 0); break;\n case g: h = (b - r) / d + 2; break;\n case b: h = (r - g) / d + 4; break;\n }\n h /= 6;\n }\n\n return [\n parseInt(this.normalize(h, [0, 1], this.ranges.hue)),\n parseInt(this.normalize(s, [0, 1], this.ranges.sat)),\n parseInt(this.normalize(l, [0, 1], this.ranges.bri)),\n ]\n }\n\n xyToRgb(x, y, brightness) {\n // Set to maximum brightness if no custom value was given (Not the slick ECMAScript 6 way for compatibility reasons)\n if (brightness == null)\n brightness = this.ranges.bri[1];\n\n const z = 1.0 - x - y;\n const Y = (brightness / (this.ranges.bri[1]-1)).toFixed(2);\n const X = (Y / y) * x;\n const Z = (Y / y) * z;\n\n //Convert to RGB using Wide RGB D65 conversion\n let red \t= X * 1.656492 - Y * 0.354851 - Z * 0.255038;\n let green = -X * 0.707196 + Y * 1.655397 + Z * 0.036152;\n let blue \t= X * 0.051713 - Y * 0.121364 + Z * 1.011530;\n\n //If red, green or blue is larger than 1.0 set it back to the maximum of 1.0\n if (red > blue && red > green && red > 1.0) {\n green = green / red;\n blue = blue / red;\n red = 1.0;\n } else if (green > blue && green > red && green > 1.0) {\n red = red / green;\n blue = blue / green;\n green = 1.0;\n } else if (blue > red && blue > green && blue > 1.0) {\n red = red / blue;\n green = green / blue;\n blue = 1.0;\n }\n\n //Reverse gamma correction\n red \t= red <= 0.0031308 ? 12.92 * red : (1.0 + 0.055) * Math.pow(red, (1.0 / 2.4)) - 0.055;\n green \t= green <= 0.0031308 ? 12.92 * green : (1.0 + 0.055) * Math.pow(green, (1.0 / 2.4)) - 0.055;\n blue \t= blue <= 0.0031308 ? 12.92 * blue : (1.0 + 0.055) * Math.pow(blue, (1.0 / 2.4)) - 0.055;\n\n //Convert normalized decimal to decimal\n red \t= Math.round(red * 255);\n green \t= Math.round(green * 255);\n blue \t= Math.round(blue * 255);\n\n if (isNaN(red))\n red = 0;\n if (isNaN(green))\n green = 0;\n if (isNaN(blue))\n blue = 0;\n\n return [red, green, blue].map(\n (c) => Math.min(Math.max(0, c), 255)) // lgtm [js/automatic-semicolon-insertion]\n }\n\n rgbToXY(red, green, blue) {\n if (red > 1) { red /= 255; }\n if (green > 1) { green /= 255; }\n if (blue > 1) { blue /= 255; }\n\n //Apply a gamma correction to the RGB values, which makes the color more vivid and more the like the color displayed on the screen of your device\n red \t= (red > 0.04045) ? Math.pow((red + 0.055) / (1.0 + 0.055), 2.4) : (red / 12.92);\n green \t= (green > 0.04045) ? Math.pow((green + 0.055) / (1.0 + 0.055), 2.4) : (green / 12.92);\n blue \t= (blue > 0.04045) ? Math.pow((blue + 0.055) / (1.0 + 0.055), 2.4) : (blue / 12.92);\n\n //RGB values to XYZ using the Wide RGB D65 conversion formula\n const X \t\t= red * 0.664511 + green * 0.154324 + blue * 0.162028;\n const Y \t\t= red * 0.283881 + green * 0.668433 + blue * 0.047685;\n const Z \t\t= red * 0.000088 + green * 0.072310 + blue * 0.986039;\n\n //Calculate the xy values from the XYZ values\n let x \t\t= parseFloat((X / (X + Y + Z)).toFixed(4));\n let y \t\t= parseFloat((Y / (X + Y + Z)).toFixed(4));\n\n if (isNaN(x))\n x = 0;\n if (isNaN(y))\n y = 0;\n\n return [x, y];\n }\n\n rgbToBri(red, green, blue) {\n return Math.min(2 * this.rgbToHsl(red, green, blue)[2], this.ranges.bri[1])\n }\n\n getRGB(color) {\n if (color.red != null && color.green != null && color.blue != null)\n return [color.red, color.green, color.blue]\n if (color.r != null && color.g != null && color.b != null)\n return [color.r, color.g, color.b]\n if (color.rgb)\n return color.rgb\n }\n\n getXY(color) {\n if (color.x != null && color.y != null)\n return [color.x, color.y]\n if (color.xy)\n return color.xy\n }\n\n toRGB(color) {\n const rgb = this.getRGB(color)\n if (rgb)\n return rgb\n\n const xy = this.getXY(color)\n if (xy && color.bri)\n return this.xyToRgb(...xy, color.bri)\n if (color.hue && color.sat && color.bri)\n return this.hslToRgb(color.hue, color.sat, color.bri)\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toXY(color) {\n const xy = this.getXY(color)\n if (xy && color.bri)\n return [xy[0], xy[1], color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToXY(...rgb)\n\n if (color.hue && color.sat && color.bri) {\n const rgb = this.hslToRgb(color.hue, color.sat, color.bri)\n return this.rgbToXY(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toHSL(color) {\n if (color.hue && color.sat && color.bri)\n return [color.hue, color.sat, color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToHsl(...rgb)\n\n const xy = this.getXY(color)\n if (xy && color.bri) {\n const rgb = this.xyToRgb(...xy, color.bri)\n return this.rgbToHsl(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n}\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n\n\n\n\n\n","\n","import script from \"./Panel.vue?vue&type=script&lang=js\"\nexport * from \"./Panel.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./MenuPanel.vue?vue&type=template&id=02113104\"\nimport script from \"./MenuPanel.vue?vue&type=script&lang=js\"\nexport * from \"./MenuPanel.vue?vue&type=script&lang=js\"\n\nimport \"./MenuPanel.vue?vue&type=style&index=0&id=02113104&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./Groups.vue?vue&type=template&id=42318a2b&scoped=true\"\nimport script from \"./Groups.vue?vue&type=script&lang=js\"\nexport * from \"./Groups.vue?vue&type=script&lang=js\"\n\nimport \"./Groups.vue?vue&type=style&index=0&id=42318a2b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-42318a2b\"]])\n\nexport default __exports__","\n\n\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n\n\n","import { render } from \"./Controls.vue?vue&type=template&id=e2726892&scoped=true\"\nimport script from \"./Controls.vue?vue&type=script&lang=js\"\nexport * from \"./Controls.vue?vue&type=script&lang=js\"\n\nimport \"./Controls.vue?vue&type=style&index=0&id=e2726892&lang=scss&scoped=true\"\nimport \"./Controls.vue?vue&type=style&index=1&id=e2726892&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e2726892\"]])\n\nexport default __exports__","import { render } from \"./Light.vue?vue&type=template&id=52168252&scoped=true\"\nimport script from \"./Light.vue?vue&type=script&lang=js\"\nexport * from \"./Light.vue?vue&type=script&lang=js\"\n\nimport \"./Light.vue?vue&type=style&index=0&id=52168252&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-52168252\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Scene.vue?vue&type=template&id=6934d062\"\nimport script from \"./Scene.vue?vue&type=script&lang=js\"\nexport * from \"./Scene.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n\n","import { render } from \"./RangeSlider.vue?vue&type=template&id=981c5de0&scoped=true\"\nimport script from \"./RangeSlider.vue?vue&type=script&lang=js\"\nexport * from \"./RangeSlider.vue?vue&type=script&lang=js\"\n\nimport \"./RangeSlider.vue?vue&type=style&index=0&id=981c5de0&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-981c5de0\"]])\n\nexport default __exports__","import { render } from \"./Animate.vue?vue&type=template&id=1739aaba&scoped=true\"\nimport script from \"./Animate.vue?vue&type=script&lang=js\"\nexport * from \"./Animate.vue?vue&type=script&lang=js\"\n\nimport \"./Animate.vue?vue&type=style&index=0&id=1739aaba&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1739aaba\"]])\n\nexport default __exports__","import { render } from \"./Group.vue?vue&type=template&id=4de1a560\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=4de1a560&lang=scss\"\nimport \"./Group.vue?vue&type=style&index=1&id=4de1a560&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=781dd72c&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=781dd72c&lang=scss&scoped=true\"\nimport \"./Index.vue?vue&type=style&index=1&id=781dd72c&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-781dd72c\"]])\n\nexport default __exports__"],"names":["ColorConverter","constructor","ranges","this","hue","sat","bri","ct","attr","Object","keys","normalize","x","xRange","yRange","hslToRgb","h","s","l","a","Math","min","f","n","k","color","max","round","rgbToHsl","r","g","b","d","parseInt","xyToRgb","y","brightness","z","Y","toFixed","X","Z","red","green","blue","pow","isNaN","map","c","rgbToXY","parseFloat","rgbToBri","getRGB","rgb","getXY","xy","toRGB","console","debug","toXY","toHSL","class","ref","type","range","step","disabled","value","onUpdate","withLabel","name","emits","props","Number","Boolean","default","Array","methods","event","update","target","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","selectedGroup","groups","length","loadingGroups","colorConverter","$event","group","lights","displayedLights","scenes","scenesByGroup","animations","animationsByGroup","config","pluginName","String","required","data","loading","anyLightsOn","groupsSorted","key","id","state","any_on","components","ToggleSwitch","MenuPanel","computed","entries","sort","localeCompare","values","title","close","selectedView","lightsSorted","light","selectedLight","collapsed","scenesSorted","scene","selectedScene","onSceneSelected","expandToggle","on","stopPropagation","rgbColor","onColorSelect","Loading","Slider","avg","i","reduce","sum","obj","forEach","getColor","hex","toString","join","slice","split","t","hsl","Controls","onSelect","animationRunning","toggleAnimation","selectedAnimation","color_transition","hue_range","sat_range","bri_range","hue_step","sat_step","bri_step","transition_seconds","duration","selectedLights","filter","v","toggleSelectAll","input","mixins","Utils","RangeSlider","runningAnimations","animation","lightId","blink","select","eventType","warn","Animate","Light","Scene","groupName","sceneId","Group","Groups","Panel","loadingLights","initialGroup","initialized","groupsByLight","groupId","self","initSelectedGroup","unwatch","$watch","newVal","refresh","onLightChange","plugin_name","light_id","onAnimationChange","subscribe","unmounted","unsubscribe"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/8019.afc466ba.js b/platypush/backend/http/webapp/dist/static/js/8019.afc466ba.js deleted file mode 100644 index b0b75b437..000000000 --- a/platypush/backend/http/webapp/dist/static/js/8019.afc466ba.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[8019],{4212:function(e,t,n){n.d(t,{N:function(){return o}});class o{constructor(e){if(this.ranges={hue:[0,360],sat:[0,100],bri:[0,100],ct:[154,500]},e)for(const t of Object.keys(this.ranges))e[t]&&(this.ranges[t]=e[t])}normalize(e,t,n){return n[0]+(e-t[0])*(n[1]-n[0])/(t[1]-t[0])}hslToRgb(e,t,n){[e,t,n]=[this.normalize(e,this.ranges.hue,[0,360]),this.normalize(t,this.ranges.sat,[0,100]),this.normalize(n,this.ranges.bri,[0,100])],n/=100;const o=t*Math.min(n,1-n)/100,s=t=>{const s=(t+e/30)%12,i=n-o*Math.max(Math.min(s-3,9-s,1),-1);return Math.round(255*i)};return[s(0),s(8),s(4)]}rgbToHsl(e,t,n){e/=255,t/=255,n/=255;const o=Math.max(e,t,n),s=Math.min(e,t,n);let i,l,a=(o+s)/2;if(o===s)i=l=0;else{const r=o-s;switch(l=a>.5?r/(2-o-s):r/(o+s),o){case e:i=(t-n)/r+(tc&&a>r&&a>1?(r/=a,c/=a,a=1):r>c&&r>a&&r>1?(a/=r,c/=r,r=1):c>a&&c>r&&c>1&&(a/=c,r/=c,c=1),a=a<=.0031308?12.92*a:1.055*Math.pow(a,1/2.4)-.055,r=r<=.0031308?12.92*r:1.055*Math.pow(r,1/2.4)-.055,c=c<=.0031308?12.92*c:1.055*Math.pow(c,1/2.4)-.055,a=Math.round(255*a),r=Math.round(255*r),c=Math.round(255*c),isNaN(a)&&(a=0),isNaN(r)&&(r=0),isNaN(c)&&(c=0),[a,r,c].map((e=>Math.min(Math.max(0,e),255)))}rgbToXY(e,t,n){e>1&&(e/=255),t>1&&(t/=255),n>1&&(n/=255),e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;const o=.664511*e+.154324*t+.162028*n,s=.283881*e+.668433*t+.047685*n,i=88e-6*e+.07231*t+.986039*n;let l=parseFloat((o/(o+s+i)).toFixed(4)),a=parseFloat((s/(o+s+i)).toFixed(4));return isNaN(l)&&(l=0),isNaN(a)&&(a=0),[l,a]}rgbToBri(e,t,n){return Math.min(2*this.rgbToHsl(e,t,n)[2],this.ranges.bri[1])}getRGB(e){return null!=e.red&&null!=e.green&&null!=e.blue?[e.red,e.green,e.blue]:null!=e.r&&null!=e.g&&null!=e.b?[e.r,e.g,e.b]:e.rgb?e.rgb:void 0}getXY(e){return null!=e.x&&null!=e.y?[e.x,e.y]:e.xy?e.xy:void 0}toRGB(e){const t=this.getRGB(e);if(t)return t;const n=this.getXY(e);return n&&e.bri?this.xyToRgb(...n,e.bri):e.hue&&e.sat&&e.bri?this.hslToRgb(e.hue,e.sat,e.bri):(console.debug("Could not determine color space"),void console.debug(e))}toXY(e){const t=this.getXY(e);if(t&&e.bri)return[t[0],t[1],e.bri];const n=this.getRGB(e);if(n)return this.rgbToXY(...n);if(e.hue&&e.sat&&e.bri){const t=this.hslToRgb(e.hue,e.sat,e.bri);return this.rgbToXY(...t)}console.debug("Could not determine color space"),console.debug(e)}toHSL(e){if(e.hue&&e.sat&&e.bri)return[e.hue,e.sat,e.bri];const t=this.getRGB(e);if(t)return this.rgbToHsl(...t);const n=this.getXY(e);if(n&&e.bri){const t=this.xyToRgb(...n,e.bri);return this.rgbToHsl(...t)}console.debug("Could not determine color space"),console.debug(e)}}},1120:function(e,t,n){n.d(t,{Z:function(){return v}});var o=n(6252),s=n(9963),i=n(3577);const l={class:"slider-wrapper"},a=["min","max","step","disabled","value"],r={class:"track"},c={class:"track-inner",ref:"track"},u={class:"thumb",ref:"thumb"},g=["textContent"];function d(e,t,n,d,p,h){return(0,o.wg)(),(0,o.iD)("label",l,[(0,o._)("input",{class:"slider",type:"range",ref:"range",min:n.range[0],max:n.range[1],step:n.step,disabled:n.disabled,value:n.value,onInput:t[0]||(t[0]=(0,s.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onChange:t[1]||(t[1]=(0,s.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onMouseup:t[2]||(t[2]=(0,s.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onMousedown:t[3]||(t[3]=(0,s.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onTouchstart:t[4]||(t[4]=(0,s.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onTouchend:t[5]||(t[5]=(0,s.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onKeyup:t[6]||(t[6]=(0,s.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"])),onKeydown:t[7]||(t[7]=(0,s.iM)(((...e)=>h.onUpdate&&h.onUpdate(...e)),["stop"]))},null,40,a),(0,o._)("div",r,[(0,o._)("div",c,null,512)]),(0,o._)("div",u,null,512),n.withLabel?((0,o.wg)(),(0,o.iD)("span",{key:0,class:"label",textContent:(0,i.zw)(n.value)},null,8,g)):(0,o.kq)("",!0)])}var p={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const t=100*e/(this.range[1]-this.range[0]);this.$refs.thumb.style.left=`${t}%`,this.$refs.thumb.style.transform=`translate(-${t}%, -50%)`,this.$refs.track.style.width=`${t}%`}},mounted(){null!=this.value&&this.update(this.value)}},h=n(3744);const m=(0,h.Z)(p,[["render",d],["__scopeId","data-v-288acf82"]]);var v=m},3567:function(e,t,n){n.d(t,{Z:function(){return p}});var o=n(6252),s=n(3577);const i=e=>((0,o.dD)("data-v-8fae7678"),e=e(),(0,o.Cn)(),e),l=["checked"],a=i((()=>(0,o._)("div",{class:"switch"},[(0,o._)("div",{class:"dot"})],-1))),r={class:"label"};function c(e,t,n,i,c,u){return(0,o.wg)(),(0,o.iD)("div",{class:(0,s.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(...e)=>u.onInput&&u.onInput(...e))},[(0,o._)("input",{type:"checkbox",checked:n.value},null,8,l),(0,o._)("label",null,[a,(0,o._)("span",r,[(0,o.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},g=n(3744);const d=(0,g.Z)(u,[["render",c],["__scopeId","data-v-8fae7678"]]);var p=d},8019:function(e,t,n){n.r(t),n.d(t,{default:function(){return Bt}});var o=n(6252);const s={class:"plugin lights-plugin"},i={key:0,class:"panel"},l={key:1,class:"panel"};function a(e,t,n,a,r,c){const u=(0,o.up)("Groups"),g=(0,o.up)("Group");return(0,o.wg)(),(0,o.iD)("div",s,[null==r.selectedGroup&&n.groups&&Object.keys(n.groups).length?((0,o.wg)(),(0,o.iD)("div",i,[(0,o.Wm)(u,{groups:n.groups,"loading-groups":n.loadingGroups,"color-converter":n.colorConverter,onSelect:t[0]||(t[0]=e=>r.selectedGroup=e),onToggle:t[1]||(t[1]=t=>e.$emit("group-toggle",t))},null,8,["groups","loading-groups","color-converter"])])):((0,o.wg)(),(0,o.iD)("div",l,[(0,o.Wm)(g,{group:n.groups[r.selectedGroup],lights:c.displayedLights,scenes:c.scenesByGroup[r.selectedGroup],"color-converter":n.colorConverter,animations:c.animationsByGroup[r.selectedGroup],onClose:t[2]||(t[2]=e=>r.selectedGroup=null),onLightToggle:t[3]||(t[3]=t=>e.$emit("light-toggle",t)),onGroupToggle:t[4]||(t[4]=t=>e.$emit("group-toggle",t)),onSetLight:t[5]||(t[5]=t=>e.$emit("set-light",t)),onSetGroup:t[6]||(t[6]=t=>e.$emit("set-group",{groupId:r.selectedGroup,value:t})),onSelectScene:t[7]||(t[7]=t=>e.$emit("select-scene",{groupId:r.selectedGroup,sceneId:t})),onStartAnimation:t[8]||(t[8]=t=>e.$emit("start-animation",t)),onStopAnimation:t[9]||(t[9]=t=>e.$emit("stop-animation",t))},null,8,["group","lights","scenes","color-converter","animations"])]))])}var r=n(2628),c={name:"Panel",emits:["mounted"],props:{config:{type:Object,default:()=>{}},pluginName:{type:String,required:!0}},data(){return{loading:!1}},mounted(){this.$emit("mounted",this)}};const u=c;var g=u,d=n(3577);const p=e=>((0,o.dD)("data-v-42318a2b"),e=e(),(0,o.Cn)(),e),h={class:"panel-row header"},m=p((()=>(0,o._)("div",{class:"col-3"},[(0,o._)("i",{class:"icon fas fa-home"})],-1))),v=p((()=>(0,o._)("div",{class:"col-6 name"}," Rooms ",-1))),b={class:"col-3 pull-right"},_=["onClick"],w={class:"name col-9"},y={class:"controls col-3 pull-right"};function f(e,t,n,s,i,l){const a=(0,o.up)("ToggleSwitch"),r=(0,o.up)("MenuPanel");return(0,o.wg)(),(0,o.j4)(r,null,{default:(0,o.w5)((()=>[(0,o._)("div",h,[m,v,(0,o._)("div",b,[(0,o.Wm)(a,{value:l.anyLightsOn,onInput:t[0]||(t[0]=t=>e.$emit("toggle"))},null,8,["value"])])]),((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(l.groupsSorted,(t=>((0,o.wg)(),(0,o.iD)("div",{class:"panel-row row group",key:t.id,onClick:n=>e.$emit("select",t.id)},[(0,o._)("span",w,(0,d.zw)(t.name||`[Group ${t.id}]`),1),(0,o._)("span",y,[(0,o.Wm)(a,{value:t.state.any_on,disabled:t.id in(n.loadingGroups||{}),onInput:n=>e.$emit("toggle",t)},null,8,["value","disabled","onInput"])])],8,_)))),128))])),_:1})}const C={class:"menu-panel"},k={class:"content"};function S(e,t,n,s,i,l){return(0,o.wg)(),(0,o.iD)("div",C,[(0,o._)("div",k,[(0,o.WI)(e.$slots,"default")])])}var j={name:"MenuPanel"},O=n(3744);const M=(0,O.Z)(j,[["render",S]]);var $=M,L=n(3567),D=n(4212),G={name:"Groups",components:{ToggleSwitch:L.Z,MenuPanel:$},emits:["select","toggle"],props:{groups:{type:Object,default:()=>{}},loadingGroups:{type:Object,default:()=>{}},colorConverter:{type:Object,default:()=>new D.N}},computed:{groupsSorted(){return Object.entries(this.groups).sort(((e,t)=>e[1].name.localeCompare(t[1].name))).map((([e,t])=>({...t,id:e})))},anyLightsOn(){for(const e of Object.values(this.groups))if(e?.state?.any_on)return!0;return!1}}};const I=(0,O.Z)(G,[["render",f],["__scopeId","data-v-42318a2b"]]);var T=I;const U={class:"light-group-container"},x={class:"panel-row header"},A={key:0,class:"col-3"},B=(0,o._)("i",{class:"fas fa-chevron-left"},null,-1),N=[B],W=["textContent"],Z={key:1,class:"col-3 pull-right"},R={key:0,class:"no-lights"},q={key:1,class:"lights-view"},z={class:"row view-selector"},V=(0,o._)("i",{class:"icon fas fa-lightbulb"},null,-1),Y=[V],H=(0,o._)("i",{class:"icon far fa-image"},null,-1),F=[H],P=(0,o._)("i",{class:"icon fas fa-video"},null,-1),X=[P],K={key:0,class:"view fade-in"},E=["onClick"],J={key:1,class:"view fade-in"},Q=["onClick"],ee={key:2,class:"view group-controls fade-in"},te={key:3,class:"view group-controls fade-in"};function ne(e,t,n,s,i,l){const a=(0,o.up)("ToggleSwitch"),r=(0,o.up)("Light"),c=(0,o.up)("Scene"),u=(0,o.up)("Controls"),g=(0,o.up)("Animate"),p=(0,o.up)("MenuPanel");return(0,o.wg)(),(0,o.iD)("div",U,[(0,o.Wm)(p,null,{default:(0,o.w5)((()=>[(0,o._)("div",x,[n.group?((0,o.wg)(),(0,o.iD)("div",A,[(0,o._)("button",{class:"back-btn",title:"Back",onClick:t[0]||(t[0]=(...e)=>l.close&&l.close(...e))},N)])):(0,o.kq)("",!0),(0,o._)("div",{class:(0,d.C_)(["col-6 name",{selected:"group"===i.selectedView}]),textContent:(0,d.zw)(l.groupName),onClick:t[1]||(t[1]=e=>i.selectedView="group"===i.selectedView?null:"group")},null,10,W),n.group?((0,o.wg)(),(0,o.iD)("div",Z,[(0,o.Wm)(a,{value:n.group.state.any_on,onInput:t[2]||(t[2]=t=>e.$emit("group-toggle",n.group))},null,8,["value"])])):(0,o.kq)("",!0)]),n.lights&&Object.keys(n.lights).length?((0,o.wg)(),(0,o.iD)("div",q,[(0,o._)("div",z,[(0,o._)("button",{class:(0,d.C_)({selected:"lights"===i.selectedView}),title:"Lights",onClick:t[3]||(t[3]=e=>i.selectedView="lights")},Y,2),(0,o._)("button",{class:(0,d.C_)({selected:"scenes"===i.selectedView}),title:"Scenes",onClick:t[4]||(t[4]=e=>i.selectedView="scenes")},F,2),(0,o._)("button",{class:(0,d.C_)({selected:"animate"===i.selectedView}),title:"Animate",onClick:t[5]||(t[5]=e=>i.selectedView="animate")},X,2)]),"lights"===i.selectedView?((0,o.wg)(),(0,o.iD)("div",K,[((0,o.wg)(),(0,o.j4)(o.Ob,null,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(l.lightsSorted,((t,s)=>((0,o.wg)(),(0,o.iD)("div",{class:(0,d.C_)(["panel-row row",{expanded:t.id===i.selectedLight}]),key:s,onClick:e=>i.selectedLight=i.selectedLight===t.id?null:t.id},[(0,o.Wm)(r,{light:t,group:n.group,collapsed:t.id!==i.selectedLight,"color-converter":n.colorConverter,onToggle:n=>e.$emit("light-toggle",t),onSetLight:n=>e.$emit("set-light",{light:t,value:n})},null,8,["light","group","collapsed","color-converter","onToggle","onSetLight"])],10,E)))),128))],1024))])):"scenes"===i.selectedView?((0,o.wg)(),(0,o.iD)("div",J,[((0,o.wg)(),(0,o.j4)(o.Ob,null,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(l.scenesSorted,((e,t)=>((0,o.wg)(),(0,o.iD)("div",{class:(0,d.C_)(["panel-row row",{selected:e.id===i.selectedScene}]),key:t,onClick:t=>l.onSceneSelected(e.id)},[(0,o.Wm)(c,{scene:e,group:n.group},null,8,["scene","group"])],10,Q)))),128))],1024))])):"group"===i.selectedView?((0,o.wg)(),(0,o.iD)("div",ee,[((0,o.wg)(),(0,o.j4)(o.Ob,null,[(0,o.Wm)(u,{group:n.group,lights:n.lights,"color-converter":n.colorConverter,onSetGroup:t[6]||(t[6]=t=>e.$emit("set-group",t))},null,8,["group","lights","color-converter"])],1024))])):"animate"===i.selectedView?((0,o.wg)(),(0,o.iD)("div",te,[((0,o.wg)(),(0,o.j4)(o.Ob,null,[(0,o.Wm)(g,{group:n.group,lights:n.lights,"color-converter":n.colorConverter,"running-animations":n.animations,onStart:t[7]||(t[7]=t=>e.$emit("start-animation",t)),onStop:t[8]||(t[8]=t=>e.$emit("stop-animation",t))},null,8,["group","lights","color-converter","running-animations"])],1024))])):(0,o.kq)("",!0)])):((0,o.wg)(),(0,o.iD)("div",R," No lights found "))])),_:1})])}const oe={class:"row"},se={class:"toggle col-3 pull-right"},ie={key:0,class:"row fade-in"};function le(e,t,n,s,i,l){const a=(0,o.up)("ToggleSwitch"),r=(0,o.up)("Controls");return(0,o.wg)(),(0,o.iD)("div",{class:(0,d.C_)(["light",{expanded:!n.collapsed}]),ref:"element"},[(0,o._)("div",oe,[(0,o._)("span",{class:"name col-9",onClick:t[0]||(t[0]=(...e)=>l.expandToggle&&l.expandToggle(...e))},(0,d.zw)(n.light.name||`[Light ${n.light.id}]`),1),(0,o._)("span",se,[(0,o.Wm)(a,{value:n.light.state.on,disabled:n.loading,onInput:t[1]||(t[1]=t=>e.$emit("toggle",n.light))},null,8,["value","disabled"])])]),n.collapsed?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("div",ie,[(0,o.Wm)(r,{light:n.light,loading:n.loading,"color-converter":n.colorConverter,onSetLight:t[2]||(t[2]=t=>e.$emit("set-light",t))},null,8,["light","loading","color-converter"])]))],2)}var ae=n(9963);const re=e=>((0,o.dD)("data-v-e2726892"),e=e(),(0,o.Cn)(),e),ce={key:1,class:"row"},ue=re((()=>(0,o._)("div",{class:"col-1 icon"},[(0,o._)("i",{class:"fas fa-sun"})],-1))),ge={class:"col-11 control"},de={key:2,class:"row"},pe=re((()=>(0,o._)("div",{class:"col-1 icon"},[(0,o._)("i",{class:"fas fa-thermometer-half"})],-1))),he={class:"col-11 control"},me={key:3,class:"row"},ve=re((()=>(0,o._)("span",{class:"col-1 icon"},[(0,o._)("i",{class:"fas fa-palette"})],-1))),be={class:"col-11 control"},_e=["value"];function we(e,t,n,s,i,l){const a=(0,o.up)("Loading"),r=(0,o.up)("Slider");return(0,o.wg)(),(0,o.iD)("div",{class:"controls light-controls",onClick:t[3]||(t[3]=e=>e.stopPropagation())},[n.loading?((0,o.wg)(),(0,o.j4)(a,{key:0})):(0,o.kq)("",!0),null!=l.state.bri?((0,o.wg)(),(0,o.iD)("div",ce,[ue,(0,o._)("div",ge,[(0,o.Wm)(r,{range:n.colorConverter.ranges.bri,disabled:n.loading,value:l.state.bri,onMouseup:t[0]||(t[0]=(0,ae.iM)((t=>e.$emit(n.light?"set-light":"set-group",{brightness:parseInt(t.target.value)})),["stop"]))},null,8,["range","disabled","value"])])])):(0,o.kq)("",!0),null!=l.state.ct?((0,o.wg)(),(0,o.iD)("div",de,[pe,(0,o._)("div",he,[(0,o.Wm)(r,{range:n.colorConverter.ranges.ct,disabled:n.loading,value:l.state.ct,onMouseup:t[1]||(t[1]=(0,ae.iM)((t=>e.$emit(n.light?"set-light":"set-group",{temperature:parseInt(t.target.value)})),["stop"]))},null,8,["range","disabled","value"])])])):(0,o.kq)("",!0),l.rgbColor?((0,o.wg)(),(0,o.iD)("label",me,[ve,(0,o._)("span",be,[(0,o._)("input",{type:"color",value:l.rgbColor,onChange:t[2]||(t[2]=(0,ae.iM)(((...e)=>l.onColorSelect&&l.onColorSelect(...e)),["stop"]))},null,40,_e)])])):(0,o.kq)("",!0)])}var ye=n(1120),fe=n(1232),Ce={name:"Controls",components:{Loading:fe.Z,Slider:ye.Z},emits:["set-light","set-group"],props:{light:{type:Object},lights:{type:Object},group:{type:Object},loading:{type:Boolean,default:!1},colorConverter:{type:Object,default:()=>new D.N}},computed:{state(){if(this.light?.state)return this.light.state;const e=this.group?.state||{};if(!this.lights)return e;const t=e=>e&&e.length?e[0]instanceof Array?[...e[0].keys()].map((n=>t(e.map((e=>e[n]))))):e.reduce(((e,t)=>e+t),0)/e.length:0;return{...e,...Object.entries(Object.values(this.lights).reduce(((e,t)=>(["bri","hue","sat","rgb","xy","red","green","blue","ct"].forEach((n=>{null!=t.state?.[n]&&(e[n]=[...e[n]||[],t.state[n]])})),e)),{})).reduce(((e,[n,o])=>(e[n]=t(o),e)),{})}},color(){return this.getColor(this.state)},rgbColor(){const e=this.colorConverter.toRGB(this.state);return e?"#"+e.map((e=>{let t=e.toString(16);return t.length<2&&(t="0"+t),t})).join(""):null}},methods:{onColorSelect(e){const t=e.target.value.slice(1).split(/(?=(?:..)*$)/).map((e=>parseInt(`0x${e}`)));this.$emit(this.light?"set-light":"set-group",{rgb:t,xy:this.colorConverter.rgbToXY(...t),hsl:this.colorConverter.rgbToHsl(...t),brightness:this.colorConverter.rgbToBri(...t)})},getColor(e){return{rgb:this.colorConverter.toRGB(e),xy:this.colorConverter.toXY(e),hsl:this.colorConverter.toHSL(e)}}}};const ke=(0,O.Z)(Ce,[["render",we],["__scopeId","data-v-e2726892"]]);var Se=ke,je={name:"Light",components:{Controls:Se,ToggleSwitch:L.Z},emits:["toggle","set-light","collapsed","expanded"],props:{light:{type:Object,default:()=>{}},group:{type:Object,default:()=>{}},loading:{type:Boolean,default:!1},collapsed:{type:Boolean,default:!0},colorConverter:{type:Object,default:()=>new D.N}},methods:{expandToggle(){this.$emit(this.collapsed?"expanded":"collapsed")}}};const Oe=(0,O.Z)(je,[["render",le],["__scopeId","data-v-52168252"]]);var Me=Oe;function $e(e,t,n,s,i,l){const a=(0,o.up)("Loading");return(0,o.wg)(),(0,o.iD)(o.HY,null,[n.loading?((0,o.wg)(),(0,o.j4)(a,{key:0})):(0,o.kq)("",!0),(0,o._)("div",{class:"scene row name",onClick:t[0]||(t[0]=(...e)=>l.onSelect&&l.onSelect(...e))},(0,d.zw)(n.scene.name||`[Scene ${n.scene.id}]`),1)],64)}var Le={name:"Light",emits:["select"],props:{scene:{type:Object,default:()=>{}},group:{type:Object,default:()=>{}},loading:{type:Boolean,default:!1}},methods:{onSelect(){if(this.loading)return!1;this.$emit("select")}}};const De=(0,O.Z)(Le,[["render",$e]]);var Ge=De;const Ie=e=>((0,o.dD)("data-v-1739aaba"),e=e(),(0,o.Cn)(),e),Te={class:"animation-container"},Ue={class:"animation-header"},xe={class:"row"},Ae=Ie((()=>(0,o._)("div",{class:"col-3"}," Run Animation ",-1))),Be={class:"col-9"},Ne={class:"row"},We=Ie((()=>(0,o._)("div",{class:"col-3"},"Animation",-1))),Ze={class:"col-9"},Re=Ie((()=>(0,o._)("option",{value:"color_transition"},"Color transition",-1))),qe=Ie((()=>(0,o._)("option",{value:"blink"},"Blink",-1))),ze=[Re,qe],Ve={class:"animation"},Ye={key:0,class:"row"},He=Ie((()=>(0,o._)("div",{class:"col-3"}," Hue range ",-1))),Fe={class:"col-9"},Pe={key:1,class:"row"},Xe=Ie((()=>(0,o._)("div",{class:"col-3"}," Sat range ",-1))),Ke={class:"col-9"},Ee={key:2,class:"row"},Je=Ie((()=>(0,o._)("div",{class:"col-3"}," Bri range ",-1))),Qe={class:"col-9"},et={key:3,class:"row"},tt=Ie((()=>(0,o._)("div",{class:"col-3"}," Hue step ",-1))),nt={class:"col-9"},ot={key:4,class:"row"},st=Ie((()=>(0,o._)("div",{class:"col-3"}," Sat step ",-1))),it={class:"col-9"},lt={key:5,class:"row"},at=Ie((()=>(0,o._)("div",{class:"col-3"}," Bri step ",-1))),rt={class:"col-9"},ct={class:"row"},ut=Ie((()=>(0,o._)("div",{class:"col-3"}," Refresh seconds ",-1))),gt={class:"col-9"},dt=["value"],pt={class:"row"},ht=Ie((()=>(0,o._)("div",{class:"col-3"}," Duration (seconds) ",-1))),mt={class:"col-9"},vt=["value"],bt={class:"lights"},_t={class:"row"},wt=["checked"],yt=(0,o.Uk)(" Select all lights "),ft=["onUpdate:modelValue","onInput"];function Ct(e,t,n,s,i,l){const a=(0,o.up)("Loading"),r=(0,o.up)("ToggleSwitch"),c=(0,o.up)("RangeSlider"),u=(0,o.up)("Slider");return(0,o.wg)(),(0,o.iD)("div",{class:"controls animation-controls",onClick:t[10]||(t[10]=e=>e.stopPropagation())},[n.loading?((0,o.wg)(),(0,o.j4)(a,{key:0})):(0,o.kq)("",!0),(0,o._)("div",Te,[(0,o._)("div",Ue,[(0,o._)("div",xe,[Ae,(0,o._)("div",Be,[(0,o.Wm)(r,{value:l.animationRunning,onInput:l.toggleAnimation},null,8,["value","onInput"])])]),(0,o._)("div",Ne,[We,(0,o._)("div",Ze,[(0,o._)("label",null,[(0,o._)("select",{class:"selector",onClick:t[0]||(t[0]=e=>i.selectedAnimation=e.target.value)},ze)])])])]),(0,o._)("div",Ve,["color_transition"===i.selectedAnimation?((0,o.wg)(),(0,o.iD)("div",Ye,[He,(0,o._)("div",Fe,[(0,o.Wm)(c,{range:n.colorConverter.ranges.hue,disabled:n.loading,value:i.animations.color_transition.hue_range,onMouseup:t[1]||(t[1]=e=>i.animations.color_transition.hue_range=e.target.value)},null,8,["range","disabled","value"])])])):(0,o.kq)("",!0),"color_transition"===i.selectedAnimation?((0,o.wg)(),(0,o.iD)("div",Pe,[Xe,(0,o._)("div",Ke,[(0,o.Wm)(c,{range:n.colorConverter.ranges.sat,disabled:n.loading,value:i.animations.color_transition.sat_range,onMouseup:t[2]||(t[2]=e=>i.animations.color_transition.sat_range=e.target.value)},null,8,["range","disabled","value"])])])):(0,o.kq)("",!0),"color_transition"===i.selectedAnimation?((0,o.wg)(),(0,o.iD)("div",Ee,[Je,(0,o._)("div",Qe,[(0,o.Wm)(c,{range:n.colorConverter.ranges.sat,disabled:n.loading,value:i.animations.color_transition.bri_range,onMouseup:t[3]||(t[3]=e=>i.animations.color_transition.bri_range=e.target.value)},null,8,["range","disabled","value"])])])):(0,o.kq)("",!0),"color_transition"===i.selectedAnimation?((0,o.wg)(),(0,o.iD)("div",et,[tt,(0,o._)("div",nt,[(0,o.Wm)(u,{range:n.colorConverter.ranges.hue,disabled:n.loading,value:i.animations.color_transition.hue_step,onMouseup:t[4]||(t[4]=e=>i.animations.color_transition.hue_step=parseFloat(e.target.value))},null,8,["range","disabled","value"])])])):(0,o.kq)("",!0),"color_transition"===i.selectedAnimation?((0,o.wg)(),(0,o.iD)("div",ot,[st,(0,o._)("div",it,[(0,o.Wm)(u,{range:n.colorConverter.ranges.sat,disabled:n.loading,value:i.animations.color_transition.sat_step,onMouseup:t[5]||(t[5]=e=>i.animations.color_transition.sat_step=parseFloat(e.target.value))},null,8,["range","disabled","value"])])])):(0,o.kq)("",!0),"color_transition"===i.selectedAnimation?((0,o.wg)(),(0,o.iD)("div",lt,[at,(0,o._)("div",rt,[(0,o.Wm)(u,{range:n.colorConverter.ranges.bri,disabled:n.loading,value:i.animations.color_transition.bri_step,onMouseup:t[6]||(t[6]=e=>i.animations.color_transition.bri_step=parseFloat(e.target.value))},null,8,["range","disabled","value"])])])):(0,o.kq)("",!0),(0,o._)("div",ct,[ut,(0,o._)("div",gt,[(0,o._)("label",null,[(0,o._)("input",{type:"number",value:i.animations[i.selectedAnimation].transition_seconds,step:"0.1",onInput:t[7]||(t[7]=e=>i.animations[i.selectedAnimation].transition_seconds=parseFloat(e.target.value))},null,40,dt)])])]),(0,o._)("div",pt,[ht,(0,o._)("div",mt,[(0,o._)("label",null,[(0,o._)("input",{type:"number",value:i.animations[i.selectedAnimation].duration,step:"5",onInput:t[8]||(t[8]=e=>i.animations[i.selectedAnimation].duration=e.target.value?.length?parseFloat(e.target.value):null)},null,40,vt)])])])])]),(0,o._)("div",bt,[(0,o._)("div",_t,[(0,o._)("label",null,[(0,o._)("input",{type:"checkbox",checked:Object.keys(n.lights).length===Object.values(i.selectedLights).filter((e=>e)).length,onClick:t[9]||(t[9]=(...e)=>l.toggleSelectAll&&l.toggleSelectAll(...e))},null,8,wt),yt])]),((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(n.lights,((e,t)=>((0,o.wg)(),(0,o.iD)("div",{class:"row",key:t},[(0,o._)("label",null,[(0,o.wy)((0,o._)("input",{type:"checkbox","onUpdate:modelValue":e=>i.selectedLights[t]=e,onInput:e=>i.selectedLights[t]=!i.selectedLights[t]},null,40,ft),[[ae.e8,i.selectedLights[t]]]),(0,o.Uk)(" "+(0,d.zw)(e.name),1)])])))),128))])])}const kt={class:"range-wrapper"},St=["value","min","max","step","disabled"];function jt(e,t,n,s,i,l){return(0,o.wg)(),(0,o.iD)("div",kt,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(n.value,((e,s)=>((0,o.wg)(),(0,o.iD)("input",{class:"slider",type:"range",value:e,min:n.range[0],max:n.range[1],step:n.step,disabled:n.disabled,ref_for:!0,ref:"ranges",onInput:t[0]||(t[0]=(0,ae.iM)(((...e)=>l.onUpdate&&l.onUpdate(...e)),["stop"])),onChange:t[1]||(t[1]=(0,ae.iM)(((...e)=>l.onUpdate&&l.onUpdate(...e)),["stop"])),onMouseup:t[2]||(t[2]=(0,ae.iM)(((...e)=>l.onUpdate&&l.onUpdate(...e)),["stop"])),onMousedown:t[3]||(t[3]=(0,ae.iM)(((...e)=>l.onUpdate&&l.onUpdate(...e)),["stop"])),onTouchstart:t[4]||(t[4]=(0,ae.iM)(((...e)=>l.onUpdate&&l.onUpdate(...e)),["stop"])),onTouchend:t[5]||(t[5]=(0,ae.iM)(((...e)=>l.onUpdate&&l.onUpdate(...e)),["stop"])),onKeyup:t[6]||(t[6]=(0,ae.iM)(((...e)=>l.onUpdate&&l.onUpdate(...e)),["stop"])),onKeydown:t[7]||(t[7]=(0,ae.iM)(((...e)=>l.onUpdate&&l.onUpdate(...e)),["stop"])),key:s},null,40,St)))),128))])}var Ot={name:"RangeSlider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},value:{type:Array,default:()=>[0,100]}},methods:{onUpdate(e){this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.ranges.map((e=>parseFloat(e.value))).sort()}})}}};const Mt=(0,O.Z)(Ot,[["render",jt],["__scopeId","data-v-3b982d9d"]]);var $t=Mt,Lt={name:"Animate",mixins:[r.Z],components:{ToggleSwitch:L.Z,Slider:ye.Z,RangeSlider:$t,Loading:fe.Z},emits:["start","stop"],props:{lights:{type:Object},group:{type:Object},loading:{type:Boolean,default:!1},colorConverter:{type:Object,default:()=>new D.N},runningAnimations:{type:Object,default:()=>{}}},data(){return{selectedAnimation:"color_transition",animation:{},selectedLights:Object.keys(this.lights).reduce(((e,t)=>(e[t]=!0,e)),{}),animations:{color_transition:{hue_range:this.colorConverter.ranges.hue,sat_range:[parseInt((this.colorConverter.ranges.sat[1]-this.colorConverter.ranges.sat[0])/2),this.colorConverter.ranges.sat[1]],bri_range:[parseInt(.75*(this.colorConverter.ranges.bri[1]-this.colorConverter.ranges.bri[0])),this.colorConverter.ranges.bri[1]],hue_step:parseInt((this.colorConverter.ranges.hue[1]-this.colorConverter.ranges.hue[0])/25),sat_step:parseInt((this.colorConverter.ranges.sat[1]-this.colorConverter.ranges.sat[0])/50),bri_step:parseInt((this.colorConverter.ranges.bri[1]-this.colorConverter.ranges.bri[0])/50),transition_seconds:1,duration:null},blink:{transition_seconds:1,duration:null}}}},computed:{animationRunning(){return Object.keys(this.runningAnimations).length>0}},methods:{toggleSelectAll(){const e=Object.values(this.selectedLights).filter((e=>e)).length{this.selectedLights[t]=e}))},toggleAnimation(){const e=this.animationRunning?"stop":"start",t=Object.entries(this.selectedLights).filter((e=>e[1])).map((e=>e[0]));t.length?this.$emit(e,{lights:t,animation:{...this.animations[this.selectedAnimation],animation:this.selectedAnimation}}):this.warn("No lights have been selected")}}};const Dt=(0,O.Z)(Lt,[["render",Ct],["__scopeId","data-v-1739aaba"]]);var Gt=Dt,It={name:"Group",emits:["close","group-toggle","light-toggle","set-light","select-scene","start-animation","stop-animation"],components:{Animate:Gt,ToggleSwitch:L.Z,MenuPanel:$,Light:Me,Scene:Ge,Controls:Se},props:{lights:{type:Object},group:{type:Object},scenes:{type:Object},animations:{type:Object,default:()=>{}},colorConverter:{type:Object,default:()=>new D.N}},data(){return{selectedLight:null,selectedScene:null,selectedView:"lights"}},computed:{lightsSorted(){return this.lights?Object.entries(this.lights).sort(((e,t)=>e[1].name.localeCompare(t[1].name))).map((([e,t])=>({...t,id:e}))):[]},scenesSorted(){return this.scenes?Object.entries(this.scenes).sort(((e,t)=>e[1].name.localeCompare(t[1].name))).map((([e,t])=>({...t,id:e}))):[]},groupName(){return this.group?.name?this.group.name:null!=this.group?.id?`[Group ${this.group.id}]`:"Lights"}},methods:{close(e){e.stopPropagation(),this.$emit("close")},onSceneSelected(e){this.selectedScene=e,this.$emit("select-scene",e)}}};const Tt=(0,O.Z)(It,[["render",ne]]);var Ut=Tt,xt={name:"Light",components:{Group:Ut,Groups:T},mixins:[r.Z,g],emits:["group-toggle","light-toggle","set-light","set-group","select-scene","start-animation","stop-animation","refresh","light-changed"],props:{lights:{type:Object},groups:{type:Object},scenes:{type:Object},animations:{type:Object},colorConverter:{type:Object,default:()=>new D.N},loadingLights:{type:Object,default:()=>{}},loadingGroups:{type:Object,default:()=>{}},pluginName:{type:String},initialGroup:{type:[Number,String]}},data(){return{selectedGroup:null,initialized:!1}},computed:{displayedLights(){const e=this.selectedGroup||this.initialGroup;return null==e?this.lights:this.groups[e].lights.reduce(((e,t)=>(e[t]=this.lights[t],e)),{})},groupsByLight(){return this.groups?Object.entries(this.groups).reduce(((e,[t,n])=>(n.lights.forEach((o=>{e[o]||(e[o]={}),e[o][t]=n})),e)),{}):{}},scenesByGroup(){if(!this.scenes)return{};const e=this;return Object.entries(this.scenes).reduce(((t,[n,o])=>(o.lights.forEach((s=>{Object.keys(e.groupsByLight[s]).forEach((e=>{t[e]||(t[e]={}),t[e][n]=o}))})),t)),{})},animationsByGroup(){const e=this,t=Object.entries(this.animations?.groups||{}).reduce(((e,[t,n])=>(e[t]={},n&&(e[t][null]=n),e)),{});return{...t,...Object.entries(this.animations?.lights||{}).reduce(((t,[n,o])=>{const s=Object.values(e.groupsByLight[n])?.[0];return s&&o&&null!=s.id&&(t[s.id]||(t[s.id]={}),t[s.id][n]=o),t}),{})}}},methods:{initSelectedGroup(){const e=this,t=this.$watch((()=>e.initialGroup),(n=>{e.initialized||(e.initialized=!0,t(),null==e.selectedGroup&&null!=n&&(e.selectedGroup=e.initialGroup))}))},refresh(){this.$emit("refresh")},onLightChange(e){if(e.plugin_name!==this.pluginName)return;if(!this.lights[e.light_id])return void this.refresh();const t={...e},n=t.light_id;delete t.light_id,delete t.type,delete t.plugin_name,this.$emit("light-changed",{id:n,state:t})},onAnimationChange(e){e.plugin_name===this.pluginName&&this.refresh()}},mounted(){this.subscribe(this.onLightChange,"on-light-change","platypush.message.event.light.LightStatusChangeEvent"),this.subscribe(this.onAnimationChange,"on-animation-change","platypush.message.event.light.LightAnimationStartedEvent","platypush.message.event.light.LightAnimationStoppedEvent"),this.initSelectedGroup()},unmounted(){this.unsubscribe("on-light-change"),this.unsubscribe("on-animation-change")}};const At=(0,O.Z)(xt,[["render",a],["__scopeId","data-v-781dd72c"]]);var Bt=At}}]); -//# sourceMappingURL=8019.afc466ba.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/8019.afc466ba.js.map b/platypush/backend/http/webapp/dist/static/js/8019.afc466ba.js.map deleted file mode 100644 index cf9c99013..000000000 --- a/platypush/backend/http/webapp/dist/static/js/8019.afc466ba.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/8019.afc466ba.js","mappings":"kJAAO,MAAMA,EACTC,YAAYC,GAQR,GAPAC,KAAKD,OAAS,CACVE,IAAK,CAAC,EAAG,KACTC,IAAK,CAAC,EAAG,KACTC,IAAK,CAAC,EAAG,KACTC,GAAI,CAAC,IAAK,MAGVL,EACA,IAAK,MAAMM,KAAQC,OAAOC,KAAKP,KAAKD,QAC5BA,EAAOM,KACPL,KAAKD,OAAOM,GAAQN,EAAOM,IAG3CG,UAAU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,GACZ,GAAIA,EAAMmI,cAAgB9M,KAAK2G,WAC7B,OAEF,IAAK3G,KAAKoG,OAAOzB,EAAMoI,UAErB,YADA/M,KAAK4M,UAIP,MAAMxF,EAAQ,IAAIzC,GACZ0G,EAAUjE,EAAM2F,gBACf3F,EAAM2F,gBACN3F,EAAMxD,YACNwD,EAAM0F,YAEb9M,KAAK8E,MAAM,gBAAiB,CAC1BqC,GAAIkE,EACJjE,MAAOA,KAIX4F,kBAAkBrI,GACZA,EAAMmI,cAAgB9M,KAAK2G,YAG/B3G,KAAK4M,YAITrH,UACEvF,KAAKiN,UAAUjN,KAAK6M,cAAe,kBAC/B,wDACJ7M,KAAKiN,UAAUjN,KAAKgN,kBAAmB,sBACnC,2DACA,4DAEJhN,KAAKwM,qBAGPU,YACElN,KAAKmN,YAAY,mBACjBnN,KAAKmN,YAAY,yBmBhNrB,MAAM,IAA2B,OAAgB,GAAQ,CAAC,CAAC,SAAS1H,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/panels/Light/color.js","webpack://platypush/./src/components/elements/Slider.vue","webpack://platypush/./src/components/elements/Slider.vue?787f","webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Light/Index.vue","webpack://platypush/./src/components/panels/Panel.vue","webpack://platypush/./src/components/panels/Panel.vue?40a7","webpack://platypush/./src/components/Light/Groups.vue","webpack://platypush/./src/components/MenuPanel.vue","webpack://platypush/./src/components/MenuPanel.vue?e8bb","webpack://platypush/./src/components/Light/Groups.vue?f495","webpack://platypush/./src/components/Light/Group.vue","webpack://platypush/./src/components/Light/Light.vue","webpack://platypush/./src/components/Light/Controls.vue","webpack://platypush/./src/components/Light/Controls.vue?5766","webpack://platypush/./src/components/Light/Light.vue?eed6","webpack://platypush/./src/components/Light/Scene.vue","webpack://platypush/./src/components/Light/Scene.vue?87a4","webpack://platypush/./src/components/Light/Animate.vue","webpack://platypush/./src/components/elements/RangeSlider.vue","webpack://platypush/./src/components/elements/RangeSlider.vue?500a","webpack://platypush/./src/components/Light/Animate.vue?a3c2","webpack://platypush/./src/components/Light/Group.vue?06ce","webpack://platypush/./src/components/panels/Light/Index.vue?36e9"],"sourcesContent":["export class ColorConverter {\n constructor(ranges) {\n this.ranges = {\n hue: [0, 360],\n sat: [0, 100],\n bri: [0, 100],\n ct: [154, 500],\n }\n\n if (ranges)\n for (const attr of Object.keys(this.ranges))\n if (ranges[attr])\n this.ranges[attr] = ranges[attr]\n }\n\n normalize(x, xRange, yRange) {\n return yRange[0] + (((x-xRange[0]) * (yRange[1]-yRange[0])) / (xRange[1]-xRange[0]))\n }\n\n hslToRgb(h, s, l) {\n [h, s, l] = [\n this.normalize(h, this.ranges.hue, [0, 360]),\n this.normalize(s, this.ranges.sat, [0, 100]),\n this.normalize(l, this.ranges.bri, [0, 100]),\n ]\n\n l /= 100\n const a = s * Math.min(l, 1 - l) / 100\n const f = n => {\n const k = (n + h / 30) % 12\n const color = l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1)\n return Math.round(255 * color)\n }\n\n return [f(0), f(8), f(4)]\n }\n\n rgbToHsl(r, g, b){\n r /= 255\n g /= 255\n b /= 255;\n const max = Math.max(r, g, b), min = Math.min(r, g, b);\n let h, s, l = (max + min) / 2;\n\n if(max === min){\n h = s = 0; // achromatic\n } else {\n const d = max - min;\n s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n\n switch(max){\n case r: h = (g - b) / d + (g < b ? 6 : 0); break;\n case g: h = (b - r) / d + 2; break;\n case b: h = (r - g) / d + 4; break;\n }\n h /= 6;\n }\n\n return [\n parseInt(this.normalize(h, [0, 1], this.ranges.hue)),\n parseInt(this.normalize(s, [0, 1], this.ranges.sat)),\n parseInt(this.normalize(l, [0, 1], this.ranges.bri)),\n ]\n }\n\n xyToRgb(x, y, brightness) {\n // Set to maximum brightness if no custom value was given (Not the slick ECMAScript 6 way for compatibility reasons)\n if (brightness == null)\n brightness = this.ranges.bri[1];\n\n const z = 1.0 - x - y;\n const Y = (brightness / (this.ranges.bri[1]-1)).toFixed(2);\n const X = (Y / y) * x;\n const Z = (Y / y) * z;\n\n //Convert to RGB using Wide RGB D65 conversion\n let red \t= X * 1.656492 - Y * 0.354851 - Z * 0.255038;\n let green = -X * 0.707196 + Y * 1.655397 + Z * 0.036152;\n let blue \t= X * 0.051713 - Y * 0.121364 + Z * 1.011530;\n\n //If red, green or blue is larger than 1.0 set it back to the maximum of 1.0\n if (red > blue && red > green && red > 1.0) {\n green = green / red;\n blue = blue / red;\n red = 1.0;\n } else if (green > blue && green > red && green > 1.0) {\n red = red / green;\n blue = blue / green;\n green = 1.0;\n } else if (blue > red && blue > green && blue > 1.0) {\n red = red / blue;\n green = green / blue;\n blue = 1.0;\n }\n\n //Reverse gamma correction\n red \t= red <= 0.0031308 ? 12.92 * red : (1.0 + 0.055) * Math.pow(red, (1.0 / 2.4)) - 0.055;\n green \t= green <= 0.0031308 ? 12.92 * green : (1.0 + 0.055) * Math.pow(green, (1.0 / 2.4)) - 0.055;\n blue \t= blue <= 0.0031308 ? 12.92 * blue : (1.0 + 0.055) * Math.pow(blue, (1.0 / 2.4)) - 0.055;\n\n //Convert normalized decimal to decimal\n red \t= Math.round(red * 255);\n green \t= Math.round(green * 255);\n blue \t= Math.round(blue * 255);\n\n if (isNaN(red))\n red = 0;\n if (isNaN(green))\n green = 0;\n if (isNaN(blue))\n blue = 0;\n\n return [red, green, blue].map(\n (c) => Math.min(Math.max(0, c), 255)) // lgtm [js/automatic-semicolon-insertion]\n }\n\n rgbToXY(red, green, blue) {\n if (red > 1) { red /= 255; }\n if (green > 1) { green /= 255; }\n if (blue > 1) { blue /= 255; }\n\n //Apply a gamma correction to the RGB values, which makes the color more vivid and more the like the color displayed on the screen of your device\n red \t= (red > 0.04045) ? Math.pow((red + 0.055) / (1.0 + 0.055), 2.4) : (red / 12.92);\n green \t= (green > 0.04045) ? Math.pow((green + 0.055) / (1.0 + 0.055), 2.4) : (green / 12.92);\n blue \t= (blue > 0.04045) ? Math.pow((blue + 0.055) / (1.0 + 0.055), 2.4) : (blue / 12.92);\n\n //RGB values to XYZ using the Wide RGB D65 conversion formula\n const X \t\t= red * 0.664511 + green * 0.154324 + blue * 0.162028;\n const Y \t\t= red * 0.283881 + green * 0.668433 + blue * 0.047685;\n const Z \t\t= red * 0.000088 + green * 0.072310 + blue * 0.986039;\n\n //Calculate the xy values from the XYZ values\n let x \t\t= parseFloat((X / (X + Y + Z)).toFixed(4));\n let y \t\t= parseFloat((Y / (X + Y + Z)).toFixed(4));\n\n if (isNaN(x))\n x = 0;\n if (isNaN(y))\n y = 0;\n\n return [x, y];\n }\n\n rgbToBri(red, green, blue) {\n return Math.min(2 * this.rgbToHsl(red, green, blue)[2], this.ranges.bri[1])\n }\n\n getRGB(color) {\n if (color.red != null && color.green != null && color.blue != null)\n return [color.red, color.green, color.blue]\n if (color.r != null && color.g != null && color.b != null)\n return [color.r, color.g, color.b]\n if (color.rgb)\n return color.rgb\n }\n\n getXY(color) {\n if (color.x != null && color.y != null)\n return [color.x, color.y]\n if (color.xy)\n return color.xy\n }\n\n toRGB(color) {\n const rgb = this.getRGB(color)\n if (rgb)\n return rgb\n\n const xy = this.getXY(color)\n if (xy && color.bri)\n return this.xyToRgb(...xy, color.bri)\n if (color.hue && color.sat && color.bri)\n return this.hslToRgb(color.hue, color.sat, color.bri)\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toXY(color) {\n const xy = this.getXY(color)\n if (xy && color.bri)\n return [xy[0], xy[1], color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToXY(...rgb)\n\n if (color.hue && color.sat && color.bri) {\n const rgb = this.hslToRgb(color.hue, color.sat, color.bri)\n return this.rgbToXY(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n\n toHSL(color) {\n if (color.hue && color.sat && color.bri)\n return [color.hue, color.sat, color.bri]\n\n const rgb = this.getRGB(color)\n if (rgb)\n return this.rgbToHsl(...rgb)\n\n const xy = this.getXY(color)\n if (xy && color.bri) {\n const rgb = this.xyToRgb(...xy, color.bri)\n return this.rgbToHsl(...rgb)\n }\n\n console.debug('Could not determine color space')\n console.debug(color)\n }\n}\n","\n\n\n\n\n","import { render } from \"./Slider.vue?vue&type=template&id=288acf82&scoped=true\"\nimport script from \"./Slider.vue?vue&type=script&lang=js\"\nexport * from \"./Slider.vue?vue&type=script&lang=js\"\n\nimport \"./Slider.vue?vue&type=style&index=0&id=288acf82&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-288acf82\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n\n\n\n\n\n","\n","import script from \"./Panel.vue?vue&type=script&lang=js\"\nexport * from \"./Panel.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./MenuPanel.vue?vue&type=template&id=02113104\"\nimport script from \"./MenuPanel.vue?vue&type=script&lang=js\"\nexport * from \"./MenuPanel.vue?vue&type=script&lang=js\"\n\nimport \"./MenuPanel.vue?vue&type=style&index=0&id=02113104&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./Groups.vue?vue&type=template&id=42318a2b&scoped=true\"\nimport script from \"./Groups.vue?vue&type=script&lang=js\"\nexport * from \"./Groups.vue?vue&type=script&lang=js\"\n\nimport \"./Groups.vue?vue&type=style&index=0&id=42318a2b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-42318a2b\"]])\n\nexport default __exports__","\n\n\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n\n\n","import { render } from \"./Controls.vue?vue&type=template&id=e2726892&scoped=true\"\nimport script from \"./Controls.vue?vue&type=script&lang=js\"\nexport * from \"./Controls.vue?vue&type=script&lang=js\"\n\nimport \"./Controls.vue?vue&type=style&index=0&id=e2726892&lang=scss&scoped=true\"\nimport \"./Controls.vue?vue&type=style&index=1&id=e2726892&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e2726892\"]])\n\nexport default __exports__","import { render } from \"./Light.vue?vue&type=template&id=52168252&scoped=true\"\nimport script from \"./Light.vue?vue&type=script&lang=js\"\nexport * from \"./Light.vue?vue&type=script&lang=js\"\n\nimport \"./Light.vue?vue&type=style&index=0&id=52168252&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-52168252\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Scene.vue?vue&type=template&id=6934d062\"\nimport script from \"./Scene.vue?vue&type=script&lang=js\"\nexport * from \"./Scene.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","\n\n\n\n\n\n","import { render } from \"./RangeSlider.vue?vue&type=template&id=3b982d9d&scoped=true\"\nimport script from \"./RangeSlider.vue?vue&type=script&lang=js\"\nexport * from \"./RangeSlider.vue?vue&type=script&lang=js\"\n\nimport \"./RangeSlider.vue?vue&type=style&index=0&id=3b982d9d&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3b982d9d\"]])\n\nexport default __exports__","import { render } from \"./Animate.vue?vue&type=template&id=1739aaba&scoped=true\"\nimport script from \"./Animate.vue?vue&type=script&lang=js\"\nexport * from \"./Animate.vue?vue&type=script&lang=js\"\n\nimport \"./Animate.vue?vue&type=style&index=0&id=1739aaba&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1739aaba\"]])\n\nexport default __exports__","import { render } from \"./Group.vue?vue&type=template&id=4de1a560\"\nimport script from \"./Group.vue?vue&type=script&lang=js\"\nexport * from \"./Group.vue?vue&type=script&lang=js\"\n\nimport \"./Group.vue?vue&type=style&index=0&id=4de1a560&lang=scss\"\nimport \"./Group.vue?vue&type=style&index=1&id=4de1a560&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=781dd72c&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=781dd72c&lang=scss&scoped=true\"\nimport \"./Index.vue?vue&type=style&index=1&id=781dd72c&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-781dd72c\"]])\n\nexport default __exports__"],"names":["ColorConverter","constructor","ranges","this","hue","sat","bri","ct","attr","Object","keys","normalize","x","xRange","yRange","hslToRgb","h","s","l","a","Math","min","f","n","k","color","max","round","rgbToHsl","r","g","b","d","parseInt","xyToRgb","y","brightness","z","Y","toFixed","X","Z","red","green","blue","pow","isNaN","map","c","rgbToXY","parseFloat","rgbToBri","getRGB","rgb","getXY","xy","toRGB","console","debug","toXY","toHSL","class","ref","type","range","step","disabled","value","onUpdate","withLabel","name","emits","props","Number","Boolean","default","Array","methods","event","update","target","$emit","$refs","percent","thumb","style","left","transform","track","width","mounted","__exports__","render","onInput","checked","stopPropagation","selectedGroup","groups","length","loadingGroups","colorConverter","$event","group","lights","displayedLights","scenes","scenesByGroup","animations","animationsByGroup","config","pluginName","String","required","data","loading","anyLightsOn","groupsSorted","key","id","state","any_on","components","ToggleSwitch","MenuPanel","computed","entries","sort","localeCompare","values","title","close","selectedView","lightsSorted","light","selectedLight","collapsed","scenesSorted","scene","selectedScene","onSceneSelected","expandToggle","on","rgbColor","onColorSelect","Loading","Slider","avg","i","reduce","sum","obj","forEach","getColor","hex","toString","join","slice","split","t","hsl","Controls","onSelect","animationRunning","toggleAnimation","selectedAnimation","color_transition","hue_range","sat_range","bri_range","hue_step","sat_step","bri_step","transition_seconds","duration","selectedLights","filter","v","toggleSelectAll","input","mixins","Utils","RangeSlider","runningAnimations","animation","lightId","blink","select","eventType","warn","Animate","Light","Scene","groupName","sceneId","Group","Groups","Panel","loadingLights","initialGroup","initialized","groupsByLight","groupId","self","initSelectedGroup","unwatch","$watch","newVal","refresh","onLightChange","plugin_name","light_id","onAnimationChange","subscribe","unmounted","unsubscribe"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9196-legacy.b3f4bc1f.js b/platypush/backend/http/webapp/dist/static/js/9196-legacy.b3f4bc1f.js new file mode 100644 index 000000000..cab568476 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/9196-legacy.b3f4bc1f.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9196],{6137:function(n,e,t){t.d(e,{Z:function(){return p}});var i=t(6252),o=t(3577),a=t(9963),r=function(n){return(0,i.dD)("data-v-8e097228"),n=n(),(0,i.Cn)(),n},s=["checked"],u=r((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),c={class:"label"};function l(n,e,t,r,l,d){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:e[0]||(e[0]=(0,a.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,s),(0,i._)("label",null,[u,(0,i._)("span",c,[(0,i.WI)(n.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(n){if(this.disabled)return!1;this.$emit("input",n)}}},f=t(3744);const g=(0,f.Z)(d,[["render",l],["__scopeId","data-v-8e097228"]]);var p=g},4004:function(n,e,t){t.d(e,{Z:function(){return s}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(2628)),a={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(n){n===this.pluginName&&this.refresh()},toggle:function(n,e){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==e&&(e=n),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:e});case 3:o=i.sent,t.devices[n].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var n=this;return(0,i.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n.loading=!0,e.prev=1,e.next=4,n.request("".concat(n.pluginName,".switch_status"));case 4:n.devices=e.sent.reduce((function(n,e){var t,i=null!==(t=e.name)&&void 0!==t&&t.length?e.name:e.id;return n[i]=e,n}),{});case 5:return e.prev=5,n.loading=!1,e.finish(5);case 8:case"end":return e.stop()}}),e,null,[[1,,5,8]])})))()}},mounted:function(){var n=this;this.$watch((function(){return n.selected}),(function(e){e&&!n.initialized&&(n.refresh(),n.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const r=a;var s=r},9196:function(n,e,t){t.r(e),t.d(e,{default:function(){return g}});t(7941);var i=t(6252),o={class:"switches smartthings-switches"},a={key:1,class:"no-content"};function r(n,e,t,r,s,u){var c=(0,i.up)("Loading"),l=(0,i.up)("Switch");return(0,i.wg)(),(0,i.iD)("div",o,[n.loading?((0,i.wg)(),(0,i.j4)(c,{key:0})):Object.keys(n.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,"No switches found on SmartThings.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.devices,(function(e,t){return(0,i.wg)(),(0,i.j4)(l,{loading:n.loading,name:t,state:e.on,onToggle:function(e){return n.toggle(t)},key:t,"has-info":!0,onInfo:function(e){n.selectedDevice=t,n.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])})),128))])}var s=t(1232),u=t(4004),c=t(8671),l={name:"Smartthings",components:{Switch:c.Z,Loading:s.Z},mixins:[u.Z]},d=t(3744);const f=(0,d.Z)(l,[["render",r],["__scopeId","data-v-7cc9c062"]]);var g=f},8671:function(n,e,t){t.d(e,{Z:function(){return w}});t(8309);var i=t(6252),o=t(9963),a=t(3577),r=function(n){return(0,i.dD)("data-v-38eb9831"),n=n(),(0,i.Cn)(),n},s={class:"name col-l-10 col-m-9 col-s-8"},u=r((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),c=[u],l=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function f(n,e,t,r,u,f){var g=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:e[1]||(e[1]=(0,o.iM)((function(){return f.onToggle&&f.onToggle.apply(f,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(g,{key:0})):(0,i.kq)("",!0),(0,i._)("div",s,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:e[0]||(e[0]=(0,o.iM)((function(){return f.onInfo&&f.onInfo.apply(f,arguments)}),["prevent"]))},c)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,a.zw)(t.name)},null,8,l)]),(0,i._)("div",d,[(0,i.Wm)(p,{disabled:t.loading,value:t.state,onInput:f.onToggle},null,8,["disabled","value","onInput"])])])}var g=t(6137),p=t(1232),h={name:"Switch",components:{Loading:p.Z,ToggleSwitch:g.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(n){return n.stopPropagation(),this.$emit("info"),!1},onToggle:function(n){return n.stopPropagation(),this.$emit("toggle"),!1}}},v=t(3744);const m=(0,v.Z)(h,[["render",f],["__scopeId","data-v-38eb9831"]]);var w=m}}]); +//# sourceMappingURL=9196-legacy.b3f4bc1f.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9196-legacy.b3f4bc1f.js.map b/platypush/backend/http/webapp/dist/static/js/9196-legacy.b3f4bc1f.js.map new file mode 100644 index 000000000..7eeae62f9 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/9196-legacy.b3f4bc1f.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/9196-legacy.b3f4bc1f.js","mappings":"6RAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,M,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,wCAAO,EAAAC,SAAA,EAAAA,QAAA,qBAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QADO,SACCU,GACN,GAAIC,KAAKZ,SACP,OAAO,EAETY,KAAKC,MAAM,QAASF,M,UC9B1B,MAAMG,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S,uGCNA,GACEV,KAAM,gBACNW,OAAQ,CAACC,EAAA,GAETV,MAAO,CACLW,WAAY,CACVhB,KAAMiB,OACNC,UAAU,GAGZC,IAAK,CACHnB,KAAMoB,OACNF,UAAU,GAGZG,OAAQ,CACNrB,KAAMoB,OACNb,QAAS,WAAQ,MAAO,KAG1Be,SAAU,CACRtB,KAAMM,QACNC,SAAS,IAIbgB,KA1Ba,WA2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,kBACN/C,KAAKC,MAAM,WACJ,K,UCrDb,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Smartthings/Index.vue","webpack://platypush/./src/components/panels/Switches/Smartthings/Index.vue?5f66","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=7cc9c062&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=7cc9c062&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7cc9c062\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","keys","state","key","$refs","switchInfoModal","show","components","Switch","Loading","onToggle","hasInfo","onInfo","ToggleSwitch","stopPropagation"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9196-legacy.f598bc06.js b/platypush/backend/http/webapp/dist/static/js/9196-legacy.f598bc06.js deleted file mode 100644 index f1078ba12..000000000 --- a/platypush/backend/http/webapp/dist/static/js/9196-legacy.f598bc06.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9196],{3567:function(n,e,t){t.d(e,{Z:function(){return g}});var o=t(6252),i=t(3577),a=function(n){return(0,o.dD)("data-v-8fae7678"),n=n(),(0,o.Cn)(),n},r=["checked"],s=a((function(){return(0,o._)("div",{class:"switch"},[(0,o._)("div",{class:"dot"})],-1)})),u={class:"label"};function c(n,e,t,a,c,l){return(0,o.wg)(),(0,o.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:t.disabled}]),onClick:e[0]||(e[0]=function(){return l.onInput&&l.onInput.apply(l,arguments)})},[(0,o._)("input",{type:"checkbox",checked:t.value},null,8,r),(0,o._)("label",null,[s,(0,o._)("span",u,[(0,o.WI)(n.$slots,"default",{},void 0,!0)])])],2)}var l={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(n){if(n.stopPropagation(),this.disabled)return!1;this.$emit("input",n)}}},d=t(3744);const f=(0,d.Z)(l,[["render",c],["__scopeId","data-v-8fae7678"]]);var g=f},4004:function(n,e,t){t.d(e,{Z:function(){return s}});var o=t(8534),i=(t(1539),t(8309),t(5666),t(2628)),a={name:"SwitchesMixin",mixins:[i.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(n){n===this.pluginName&&this.refresh()},toggle:function(n,e){var t=this;return(0,o.Z)(regeneratorRuntime.mark((function o(){var i;return regeneratorRuntime.wrap((function(o){while(1)switch(o.prev=o.next){case 0:return null==e&&(e=n),o.next=3,t.request("".concat(t.pluginName,".toggle"),{device:e});case 3:i=o.sent,t.devices[n].on=i.on;case 5:case"end":return o.stop()}}),o)})))()},refresh:function(){var n=this;return(0,o.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n.loading=!0,e.prev=1,e.next=4,n.request("".concat(n.pluginName,".switch_status"));case 4:n.devices=e.sent.reduce((function(n,e){var t,o=null!==(t=e.name)&&void 0!==t&&t.length?e.name:e.id;return n[o]=e,n}),{});case 5:return e.prev=5,n.loading=!1,e.finish(5);case 8:case"end":return e.stop()}}),e,null,[[1,,5,8]])})))()}},mounted:function(){var n=this;this.$watch((function(){return n.selected}),(function(e){e&&!n.initialized&&(n.refresh(),n.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const r=a;var s=r},9196:function(n,e,t){t.r(e),t.d(e,{default:function(){return g}});t(7941);var o=t(6252),i={class:"switches smartthings-switches"},a={key:1,class:"no-content"};function r(n,e,t,r,s,u){var c=(0,o.up)("Loading"),l=(0,o.up)("Switch");return(0,o.wg)(),(0,o.iD)("div",i,[n.loading?((0,o.wg)(),(0,o.j4)(c,{key:0})):Object.keys(n.devices).length?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("div",a,"No switches found on SmartThings.")),((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(n.devices,(function(e,t){return(0,o.wg)(),(0,o.j4)(l,{loading:n.loading,name:t,state:e.on,onToggle:function(e){return n.toggle(t)},key:t,"has-info":!0,onInfo:function(e){n.selectedDevice=t,n.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])})),128))])}var s=t(1232),u=t(4004),c=t(8671),l={name:"Smartthings",components:{Switch:c.Z,Loading:s.Z},mixins:[u.Z]},d=t(3744);const f=(0,d.Z)(l,[["render",r],["__scopeId","data-v-7cc9c062"]]);var g=f},8671:function(n,e,t){t.d(e,{Z:function(){return w}});t(8309);var o=t(6252),i=t(9963),a=t(3577),r=function(n){return(0,o.dD)("data-v-38eb9831"),n=n(),(0,o.Cn)(),n},s={class:"name col-l-10 col-m-9 col-s-8"},u=r((function(){return(0,o._)("i",{class:"fa fa-info"},null,-1)})),c=[u],l=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function f(n,e,t,r,u,f){var g=(0,o.up)("Loading"),p=(0,o.up)("ToggleSwitch");return(0,o.wg)(),(0,o.iD)("div",{class:"switch",onClick:e[1]||(e[1]=(0,i.iM)((function(){return f.onToggle&&f.onToggle.apply(f,arguments)}),["stop"]))},[t.loading?((0,o.wg)(),(0,o.j4)(g,{key:0})):(0,o.kq)("",!0),(0,o._)("div",s,[t.hasInfo?((0,o.wg)(),(0,o.iD)("button",{key:0,onClick:e[0]||(e[0]=(0,i.iM)((function(){return f.onInfo&&f.onInfo.apply(f,arguments)}),["prevent"]))},c)):(0,o.kq)("",!0),(0,o._)("span",{class:"name-content",textContent:(0,a.zw)(t.name)},null,8,l)]),(0,o._)("div",d,[(0,o.Wm)(p,{disabled:t.loading,value:t.state,onInput:f.onToggle},null,8,["disabled","value","onInput"])])])}var g=t(3567),p=t(1232),h={name:"Switch",components:{Loading:p.Z,ToggleSwitch:g.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(n){return n.stopPropagation(),this.$emit("info"),!1},onToggle:function(n){return n.stopPropagation(),this.$emit("toggle"),!1}}},v=t(3744);const m=(0,v.Z)(h,[["render",f],["__scopeId","data-v-38eb9831"]]);var w=m}}]); -//# sourceMappingURL=9196-legacy.f598bc06.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9196-legacy.f598bc06.js.map b/platypush/backend/http/webapp/dist/static/js/9196-legacy.f598bc06.js.map deleted file mode 100644 index 21ff38b13..000000000 --- a/platypush/backend/http/webapp/dist/static/js/9196-legacy.f598bc06.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/9196-legacy.f598bc06.js","mappings":"mRAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,M,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAE,EAAAC,SAAA,EAAAA,QAAA,sBAAhE,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QADO,SACCU,GAEN,G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,SACNgD,WAAY,CAACE,QAAAA,EAAA,EAASI,aAAAA,EAAA,GACtBrD,MAAO,CAAC,SAAU,QAElBC,MAAO,CACLF,KAAM,CACJH,KAAMkB,OACNC,UAAU,GAGZ2B,MAAO,CACL9C,KAAMM,QACNC,SAAS,GAGXkB,QAAS,CACPzB,KAAMM,QACNC,SAAS,GAGXgD,QAAS,CACPvD,KAAMM,QACNC,SAAS,GAGX0B,GAAI,CACFjC,KAAMkB,SAIVV,QAAS,CACPgD,OADO,SACA/C,GAGL,OAFAA,EAAMC,kBACNC,KAAKC,MAAM,SACJ,GAGT0C,SAPO,SAOE7C,GAGP,OAFAA,EAAMC,kBACNC,KAAKC,MAAM,WACJ,K,UCrDb,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Smartthings/Index.vue","webpack://platypush/./src/components/panels/Switches/Smartthings/Index.vue?5f66","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=7cc9c062&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=7cc9c062&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7cc9c062\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","stopPropagation","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","keys","state","key","$refs","switchInfoModal","show","components","Switch","Loading","onToggle","hasInfo","onInfo","ToggleSwitch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9196.5e4f2f1b.js b/platypush/backend/http/webapp/dist/static/js/9196.5e4f2f1b.js new file mode 100644 index 000000000..f4a4ef69a --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/9196.5e4f2f1b.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9196],{6137:function(e,t,n){n.d(t,{Z:function(){return p}});var i=n(6252),o=n(3577),s=n(9963);const a=e=>((0,i.dD)("data-v-8e097228"),e=e(),(0,i.Cn)(),e),l=["checked"],c=a((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),d={class:"label"};function u(e,t,n,a,u,r){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,s.iM)(((...e)=>r.onInput&&r.onInput(...e)),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,l),(0,i._)("label",null,[c,(0,i._)("span",d,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var r={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},g=n(3744);const h=(0,g.Z)(r,[["render",u],["__scopeId","data-v-8e097228"]]);var p=h},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(2628),o={name:"SwitchesMixin",mixins:[i.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const s=o;var a=s},9196:function(e,t,n){n.r(t),n.d(t,{default:function(){return h}});var i=n(6252);const o={class:"switches smartthings-switches"},s={key:1,class:"no-content"};function a(e,t,n,a,l,c){const d=(0,i.up)("Loading"),u=(0,i.up)("Switch");return(0,i.wg)(),(0,i.iD)("div",o,[e.loading?((0,i.wg)(),(0,i.j4)(d,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",s,"No switches found on SmartThings.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,((t,n)=>((0,i.wg)(),(0,i.j4)(u,{loading:e.loading,name:n,state:t.on,onToggle:t=>e.toggle(n),key:n,"has-info":!0,onInfo:t=>{e.selectedDevice=n,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])))),128))])}var l=n(1232),c=n(4004),d=n(8671),u={name:"Smartthings",components:{Switch:d.Z,Loading:l.Z},mixins:[c.Z]},r=n(3744);const g=(0,r.Z)(u,[["render",a],["__scopeId","data-v-7cc9c062"]]);var h=g},8671:function(e,t,n){n.d(t,{Z:function(){return w}});var i=n(6252),o=n(9963),s=n(3577);const a=e=>((0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e),l={class:"name col-l-10 col-m-9 col-s-8"},c=a((()=>(0,i._)("i",{class:"fa fa-info"},null,-1))),d=[c],u=["textContent"],r={class:"toggler col-l-2 col-m-3 col-s-4"};function g(e,t,n,a,c,g){const h=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,o.iM)(((...e)=>g.onToggle&&g.onToggle(...e)),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(h,{key:0})):(0,i.kq)("",!0),(0,i._)("div",l,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,o.iM)(((...e)=>g.onInfo&&g.onInfo(...e)),["prevent"]))},d)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,s.zw)(n.name)},null,8,u)]),(0,i._)("div",r,[(0,i.Wm)(p,{disabled:n.loading,value:n.state,onInput:g.onToggle},null,8,["disabled","value","onInput"])])])}var h=n(6137),p=n(1232),f={name:"Switch",components:{Loading:p.Z,ToggleSwitch:h.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},v=n(3744);const m=(0,v.Z)(f,[["render",g],["__scopeId","data-v-38eb9831"]]);var w=m}}]); +//# sourceMappingURL=9196.5e4f2f1b.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9196.5e4f2f1b.js.map b/platypush/backend/http/webapp/dist/static/js/9196.5e4f2f1b.js.map new file mode 100644 index 000000000..7779f1dc6 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/9196.5e4f2f1b.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/9196.5e4f2f1b.js","mappings":"wQAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAO,EAAAC,SAAA,EAAAA,WAAA,IAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QAAQU,GACN,GAAIC,KAAKZ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PxB,KAAMM,QACNC,SAAS,GAGXgD,QAAS,CACPvD,KAAMM,QACNC,SAAS,GAGXyB,GAAI,CACFhC,KAAMiB,SAIVT,QAAS,CACPgD,OAAO/C,GAGL,OAFAA,EAAMiD,kBACNhD,KAAKC,MAAM,SACJ,GAGT2C,SAAS7C,GAGP,OAFAA,EAAMiD,kBACNhD,KAAKC,MAAM,WACJ,K,UCrDb,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Smartthings/Index.vue","webpack://platypush/./src/components/panels/Switches/Smartthings/Index.vue?5f66","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=7cc9c062&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=7cc9c062&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7cc9c062\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","keys","state","toggle","key","$refs","switchInfoModal","show","components","Switch","Loading","onToggle","hasInfo","onInfo","ToggleSwitch","stopPropagation"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9196.fbe1e4fa.js b/platypush/backend/http/webapp/dist/static/js/9196.fbe1e4fa.js deleted file mode 100644 index 742459446..000000000 --- a/platypush/backend/http/webapp/dist/static/js/9196.fbe1e4fa.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9196],{3567:function(e,t,n){n.d(t,{Z:function(){return h}});var i=n(6252),o=n(3577);const s=e=>((0,i.dD)("data-v-8fae7678"),e=e(),(0,i.Cn)(),e),a=["checked"],l=s((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),c={class:"label"};function d(e,t,n,s,d,r){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(...e)=>r.onInput&&r.onInput(...e))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,a),(0,i._)("label",null,[l,(0,i._)("span",c,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var r={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},u=n(3744);const g=(0,u.Z)(r,[["render",d],["__scopeId","data-v-8fae7678"]]);var h=g},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var i=n(2628),o={name:"SwitchesMixin",mixins:[i.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const s=o;var a=s},9196:function(e,t,n){n.r(t),n.d(t,{default:function(){return h}});var i=n(6252);const o={class:"switches smartthings-switches"},s={key:1,class:"no-content"};function a(e,t,n,a,l,c){const d=(0,i.up)("Loading"),r=(0,i.up)("Switch");return(0,i.wg)(),(0,i.iD)("div",o,[e.loading?((0,i.wg)(),(0,i.j4)(d,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",s,"No switches found on SmartThings.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,((t,n)=>((0,i.wg)(),(0,i.j4)(r,{loading:e.loading,name:n,state:t.on,onToggle:t=>e.toggle(n),key:n,"has-info":!0,onInfo:t=>{e.selectedDevice=n,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])))),128))])}var l=n(1232),c=n(4004),d=n(8671),r={name:"Smartthings",components:{Switch:d.Z,Loading:l.Z},mixins:[c.Z]},u=n(3744);const g=(0,u.Z)(r,[["render",a],["__scopeId","data-v-7cc9c062"]]);var h=g},8671:function(e,t,n){n.d(t,{Z:function(){return w}});var i=n(6252),o=n(9963),s=n(3577);const a=e=>((0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e),l={class:"name col-l-10 col-m-9 col-s-8"},c=a((()=>(0,i._)("i",{class:"fa fa-info"},null,-1))),d=[c],r=["textContent"],u={class:"toggler col-l-2 col-m-3 col-s-4"};function g(e,t,n,a,c,g){const h=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,o.iM)(((...e)=>g.onToggle&&g.onToggle(...e)),["stop"]))},[n.loading?((0,i.wg)(),(0,i.j4)(h,{key:0})):(0,i.kq)("",!0),(0,i._)("div",l,[n.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,o.iM)(((...e)=>g.onInfo&&g.onInfo(...e)),["prevent"]))},d)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,s.zw)(n.name)},null,8,r)]),(0,i._)("div",u,[(0,i.Wm)(p,{disabled:n.loading,value:n.state,onInput:g.onToggle},null,8,["disabled","value","onInput"])])])}var h=n(3567),p=n(1232),f={name:"Switch",components:{Loading:p.Z,ToggleSwitch:h.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},v=n(3744);const m=(0,v.Z)(f,[["render",g],["__scopeId","data-v-38eb9831"]]);var w=m}}]); -//# sourceMappingURL=9196.fbe1e4fa.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9196.fbe1e4fa.js.map b/platypush/backend/http/webapp/dist/static/js/9196.fbe1e4fa.js.map deleted file mode 100644 index 86d8366b9..000000000 --- a/platypush/backend/http/webapp/dist/static/js/9196.fbe1e4fa.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/9196.fbe1e4fa.js","mappings":"8PAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,oBAAE,EAAAC,SAAA,EAAAA,WAAA,KAAhE,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QAAQU,GAEN,GADAA,EAAMC,kBACFC,KAAKb,SACP,OAAO,EAETa,KAAKC,MAAM,QAASH,M,UC/B1B,MAAMI,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S,mECNA,GACEX,KAAM,gBACNY,OAAQ,CAACC,EAAA,GAETX,MAAO,CACLY,WAAY,CACVjB,KA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EAAMC,kBACNC,KAAKC,MAAM,WACJ,K,UCrDb,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Smartthings/Index.vue","webpack://platypush/./src/components/panels/Switches/Smartthings/Index.vue?5f66","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=7cc9c062&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=7cc9c062&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7cc9c062\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","stopPropagation","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","keys","state","toggle","key","$refs","switchInfoModal","show","components","Switch","Loading","onToggle","hasInfo","onInfo","ToggleSwitch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9694-legacy.cdda9d87.js b/platypush/backend/http/webapp/dist/static/js/9694-legacy.cdda9d87.js new file mode 100644 index 000000000..94a818ddf --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/9694-legacy.cdda9d87.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9694],{6137:function(e,n,t){t.d(n,{Z:function(){return p}});var i=t(6252),o=t(3577),s=t(9963),a=function(e){return(0,i.dD)("data-v-8e097228"),e=e(),(0,i.Cn)(),e},c=["checked"],r=a((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),u={class:"label"};function l(e,n,t,a,l,d){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,s.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,c),(0,i._)("label",null,[r,(0,i._)("span",u,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},f=t(3744);const v=(0,f.Z)(d,[["render",l],["__scopeId","data-v-8e097228"]]);var p=v},4004:function(e,n,t){t.d(n,{Z:function(){return c}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(2628)),s={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,n){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==n&&(n=e),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:n});case 3:o=i.sent,t.devices[e].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=n.sent.reduce((function(e,n){var t,i=null!==(t=n.name)&&void 0!==t&&t.length?n.name:n.id;return e[i]=n,e}),{});case 5:return n.prev=5,e.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(n){n&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const a=s;var c=a},8671:function(e,n,t){t.d(n,{Z:function(){return m}});t(8309);var i=t(6252),o=t(9963),s=t(3577),a=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},c={class:"name col-l-10 col-m-9 col-s-8"},r=a((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),u=[r],l=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function f(e,n,t,a,r,f){var v=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:n[1]||(n[1]=(0,o.iM)((function(){return f.onToggle&&f.onToggle.apply(f,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(v,{key:0})):(0,i.kq)("",!0),(0,i._)("div",c,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:n[0]||(n[0]=(0,o.iM)((function(){return f.onInfo&&f.onInfo.apply(f,arguments)}),["prevent"]))},u)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,s.zw)(t.name)},null,8,l)]),(0,i._)("div",d,[(0,i.Wm)(p,{disabled:t.loading,value:t.state,onInput:f.onToggle},null,8,["disabled","value","onInput"])])])}var v=t(6137),p=t(1232),g={name:"Switch",components:{Loading:p.Z,ToggleSwitch:v.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},h=t(3744);const w=(0,h.Z)(g,[["render",f],["__scopeId","data-v-38eb9831"]]);var m=w},9694:function(e,n,t){t.r(n),t.d(n,{default:function(){return x}});t(7941),t(8309);var i=t(6252),o=t(3577),s=function(e){return(0,i.dD)("data-v-7c8cf1b7"),e=e(),(0,i.Cn)(),e},a={class:"switches switchbot-switches"},c={key:1,class:"no-content"},r={key:0,class:"switch-info"},u={class:"row"},l=s((function(){return(0,i._)("div",{class:"name"},"Name",-1)})),d=["textContent"],f={class:"row"},v=s((function(){return(0,i._)("div",{class:"name"},"On",-1)})),p=["textContent"],g={class:"row"},h=s((function(){return(0,i._)("div",{class:"name"},"Address",-1)})),w=["textContent"];function m(e,n,t,s,m,_){var b=(0,i.up)("Loading"),y=(0,i.up)("Switch"),k=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",a,[e.loading?((0,i.wg)(),(0,i.j4)(b,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",c,"No SwitchBot switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(n,t){return(0,i.wg)(),(0,i.j4)(y,{loading:e.loading,name:t,state:n.on,onToggle:function(n){return e.toggle(t)},key:t,"has-info":!0,onInfo:function(n){e.selectedDevice=t,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])})),128)),(0,i.Wm)(k,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((function(){return[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",r,[(0,i._)("div",u,[l,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].name)},null,8,d)]),(0,i._)("div",f,[v,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].on)},null,8,p)]),(0,i._)("div",g,[h,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].address)},null,8,w)])])):(0,i.kq)("",!0)]})),_:1},512)])}var _=t(1232),b=t(4004),y=t(8671),k=t(9642),I={name:"SwitchbotBluetooth",components:{Modal:k.Z,Switch:y.Z,Loading:_.Z},mixins:[b.Z]},C=t(3744);const D=(0,C.Z)(I,[["render",m],["__scopeId","data-v-7c8cf1b7"]]);var x=D}}]); +//# sourceMappingURL=9694-legacy.cdda9d87.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9694-legacy.cdda9d87.js.map b/platypush/backend/http/webapp/dist/static/js/9694-legacy.cdda9d87.js.map new file mode 100644 index 000000000..fe299ca00 --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/9694-legacy.cdda9d87.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/9694-legacy.cdda9d87.js","mappings":"6RAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,M,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,wCAAO,EAAAC,SAAA,EAAAA,QAAA,qBAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SAAU,CACRE,KAAMM,QACNC,SAAS,IAIbC,QAAS,CACPT,QADO,SACCU,GACN,GAAIC,KAAKZ,SACP,OAAO,EAETY,KAAKC,MAAM,QAASF,M,UC9B1B,MAAMG,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S,uGCNA,GACEV,KAAM,gBACNW,OAAQ,CAACC,EAAA,GAETV,MAAO,CACLW,WAAY,CACVhB,KAAMiB,OACNC,UAAU,GAGZC,IAAK,CACHnB,KAAMoB,OACNF,UAAU,GAGZG,OAAQ,CACNrB,KAAMoB,OACNb,QAAS,WAAQ,MAAO,KAG1Be,SAAU,CACRtB,KAAMM,QACNC,SAAS,IAIbgB,KA1Ba,WA2BX,MAAO,CACLC,SAAS,EACTC,aAAa,EACbC,eAAgB,KAChBC,QAAS,KAIbnB,QAAS,CACPoB,eADO,SACQZ,GACTA,IAAeN,KAAKM,YAGxB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,SAF5D,iEAIA,QAiBQ,GAjBDC,MAAM,cAAcC,IAAI,mBAA/B,C,kBACE,iBAeM,CAfyB,EAAAhC,iBAAA,WAA/B,QAeM,MAfN,EAeM,EAdJ,OAGM,MAHN,EAGM,CAFJ,GACA,OAA2D,OAAtD7B,MAAM,Q,aAAQ,QAAqC,EAAtB,QAAC,EAAA6B,gBAAgBvB,OAAnD,aAGF,OAGM,MAHN,EAGM,CAFJ,GACA,OAAyD,OAApDN,MAAM,Q,aAAQ,QAAmC,EAApB,QAAC,EAAA6B,gBAAgBS,KAAnD,aAGF,OAGM,MAHN,EAGM,CAFJ,GACA,OAA8D,OAAzDtC,MAAM,Q,aAAQ,QAAwC,EAAzB,QAAC,EAAA6B,gBAAgBiC,UAAnD,gBAbJ,mB,KADF,O,4CA2BJ,GACExD,KAAM,qBACN6C,WAAY,CAACY,MAAAA,EAAA,EAAOC,OAAAA,EAAA,EAAQZ,QAAAA,EAAA,GAC5BnC,OAAQ,CAAC,M,UChCX,MAAMF,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchbotBluetooth/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchbotBluetooth/Index.vue?1803"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=7c8cf1b7&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=7c8cf1b7&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7c8cf1b7\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","key","$refs","switchInfoModal","show","title","ref","address","Modal","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9694-legacy.d2505d86.js b/platypush/backend/http/webapp/dist/static/js/9694-legacy.d2505d86.js deleted file mode 100644 index 259be0a49..000000000 --- a/platypush/backend/http/webapp/dist/static/js/9694-legacy.d2505d86.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9694],{3567:function(e,n,t){t.d(n,{Z:function(){return v}});var i=t(6252),o=t(3577),a=function(e){return(0,i.dD)("data-v-8fae7678"),e=e(),(0,i.Cn)(),e},s=["checked"],c=a((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),r={class:"label"};function u(e,n,t,a,u,l){return(0,i.wg)(),(0,i.iD)("div",{class:(0,o.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=function(){return l.onInput&&l.onInput.apply(l,arguments)})},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,s),(0,i._)("label",null,[c,(0,i._)("span",r,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var l={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},d=t(3744);const f=(0,d.Z)(l,[["render",u],["__scopeId","data-v-8fae7678"]]);var v=f},4004:function(e,n,t){t.d(n,{Z:function(){return c}});var i=t(8534),o=(t(1539),t(8309),t(5666),t(2628)),a={name:"SwitchesMixin",mixins:[o.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:function(){return{}}},selected:{type:Boolean,default:!1}},data:function(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent:function(e){e===this.pluginName&&this.refresh()},toggle:function(e,n){var t=this;return(0,i.Z)(regeneratorRuntime.mark((function i(){var o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return null==n&&(n=e),i.next=3,t.request("".concat(t.pluginName,".toggle"),{device:n});case 3:o=i.sent,t.devices[e].on=o.on;case 5:case"end":return i.stop()}}),i)})))()},refresh:function(){var e=this;return(0,i.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.prev=1,n.next=4,e.request("".concat(e.pluginName,".switch_status"));case 4:e.devices=n.sent.reduce((function(e,n){var t,i=null!==(t=n.name)&&void 0!==t&&t.length?n.name:n.id;return e[i]=n,e}),{});case 5:return n.prev=5,e.loading=!1,n.finish(5);case 8:case"end":return n.stop()}}),n,null,[[1,,5,8]])})))()}},mounted:function(){var e=this;this.$watch((function(){return e.selected}),(function(n){n&&!e.initialized&&(e.refresh(),e.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted:function(){this.bus.off("refresh",this.onRefreshEvent)}};const s=a;var c=s},8671:function(e,n,t){t.d(n,{Z:function(){return m}});t(8309);var i=t(6252),o=t(9963),a=t(3577),s=function(e){return(0,i.dD)("data-v-38eb9831"),e=e(),(0,i.Cn)(),e},c={class:"name col-l-10 col-m-9 col-s-8"},r=s((function(){return(0,i._)("i",{class:"fa fa-info"},null,-1)})),u=[r],l=["textContent"],d={class:"toggler col-l-2 col-m-3 col-s-4"};function f(e,n,t,s,r,f){var v=(0,i.up)("Loading"),p=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",{class:"switch",onClick:n[1]||(n[1]=(0,o.iM)((function(){return f.onToggle&&f.onToggle.apply(f,arguments)}),["stop"]))},[t.loading?((0,i.wg)(),(0,i.j4)(v,{key:0})):(0,i.kq)("",!0),(0,i._)("div",c,[t.hasInfo?((0,i.wg)(),(0,i.iD)("button",{key:0,onClick:n[0]||(n[0]=(0,o.iM)((function(){return f.onInfo&&f.onInfo.apply(f,arguments)}),["prevent"]))},u)):(0,i.kq)("",!0),(0,i._)("span",{class:"name-content",textContent:(0,a.zw)(t.name)},null,8,l)]),(0,i._)("div",d,[(0,i.Wm)(p,{disabled:t.loading,value:t.state,onInput:f.onToggle},null,8,["disabled","value","onInput"])])])}var v=t(3567),p=t(1232),g={name:"Switch",components:{Loading:p.Z,ToggleSwitch:v.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo:function(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle:function(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},h=t(3744);const w=(0,h.Z)(g,[["render",f],["__scopeId","data-v-38eb9831"]]);var m=w},9694:function(e,n,t){t.r(n),t.d(n,{default:function(){return x}});t(7941),t(8309);var i=t(6252),o=t(3577),a=function(e){return(0,i.dD)("data-v-7c8cf1b7"),e=e(),(0,i.Cn)(),e},s={class:"switches switchbot-switches"},c={key:1,class:"no-content"},r={key:0,class:"switch-info"},u={class:"row"},l=a((function(){return(0,i._)("div",{class:"name"},"Name",-1)})),d=["textContent"],f={class:"row"},v=a((function(){return(0,i._)("div",{class:"name"},"On",-1)})),p=["textContent"],g={class:"row"},h=a((function(){return(0,i._)("div",{class:"name"},"Address",-1)})),w=["textContent"];function m(e,n,t,a,m,_){var b=(0,i.up)("Loading"),y=(0,i.up)("Switch"),k=(0,i.up)("Modal");return(0,i.wg)(),(0,i.iD)("div",s,[e.loading?((0,i.wg)(),(0,i.j4)(b,{key:0})):Object.keys(e.devices).length?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",c,"No SwitchBot switches found.")),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.devices,(function(n,t){return(0,i.wg)(),(0,i.j4)(y,{loading:e.loading,name:t,state:n.on,onToggle:function(n){return e.toggle(t)},key:t,"has-info":!0,onInfo:function(n){e.selectedDevice=t,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])})),128)),(0,i.Wm)(k,{title:"Device Info",ref:"switchInfoModal"},{default:(0,i.w5)((function(){return[e.selectedDevice?((0,i.wg)(),(0,i.iD)("div",r,[(0,i._)("div",u,[l,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].name)},null,8,d)]),(0,i._)("div",f,[v,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].on)},null,8,p)]),(0,i._)("div",g,[h,(0,i._)("div",{class:"value",textContent:(0,o.zw)(e.devices[e.selectedDevice].address)},null,8,w)])])):(0,i.kq)("",!0)]})),_:1},512)])}var _=t(1232),b=t(4004),y=t(8671),k=t(9642),I={name:"SwitchbotBluetooth",components:{Modal:k.Z,Switch:y.Z,Loading:_.Z},mixins:[b.Z]},C=t(3744);const D=(0,C.Z)(I,[["render",m],["__scopeId","data-v-7c8cf1b7"]]);var x=D}}]); -//# sourceMappingURL=9694-legacy.d2505d86.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9694-legacy.d2505d86.js.map b/platypush/backend/http/webapp/dist/static/js/9694-legacy.d2505d86.js.map deleted file mode 100644 index 9cb747c77..000000000 --- a/platypush/backend/http/webapp/dist/static/js/9694-legacy.d2505d86.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/9694-legacy.d2505d86.js","mappings":"mRAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,M,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAE,EAAAC,SAAA,EAAAA,QAAA,sBAAhE,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAAM,eACNC,MAAO,CAAC,SACRC,MAAO,CACLH,MAAO,CACLF,KAAMM,QACNC,SAAS,GAGXT,SA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,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF","sources":["webpack://platypush/./src/components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchbotBluetooth/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchbotBluetooth/Index.vue?1803"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=7c8cf1b7&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=7c8cf1b7&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7c8cf1b7\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","stopPropagation","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","toggle","device","id","request","response","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","keys","key","$refs","switchInfoModal","show","title","ref","address","Modal","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9694.2e238a6f.js b/platypush/backend/http/webapp/dist/static/js/9694.2e238a6f.js deleted file mode 100644 index a211ee730..000000000 --- a/platypush/backend/http/webapp/dist/static/js/9694.2e238a6f.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9694],{3567:function(e,t,n){n.d(t,{Z:function(){return g}});var s=n(6252),i=n(3577);const o=e=>((0,s.dD)("data-v-8fae7678"),e=e(),(0,s.Cn)(),e),a=["checked"],l=o((()=>(0,s._)("div",{class:"switch"},[(0,s._)("div",{class:"dot"})],-1))),c={class:"label"};function d(e,t,n,o,d,u){return(0,s.wg)(),(0,s.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(...e)=>u.onInput&&u.onInput(...e))},[(0,s._)("input",{type:"checkbox",checked:n.value},null,8,a),(0,s._)("label",null,[l,(0,s._)("span",c,[(0,s.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(e.stopPropagation(),this.disabled)return!1;this.$emit("input",e)}}},r=n(3744);const h=(0,r.Z)(u,[["render",d],["__scopeId","data-v-8fae7678"]]);var g=h},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var s=n(2628),i={name:"SwitchesMixin",mixins:[s.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const o=i;var a=o},8671:function(e,t,n){n.d(t,{Z:function(){return m}});var s=n(6252),i=n(9963),o=n(3577);const a=e=>((0,s.dD)("data-v-38eb9831"),e=e(),(0,s.Cn)(),e),l={class:"name col-l-10 col-m-9 col-s-8"},c=a((()=>(0,s._)("i",{class:"fa fa-info"},null,-1))),d=[c],u=["textContent"],r={class:"toggler col-l-2 col-m-3 col-s-4"};function h(e,t,n,a,c,h){const g=(0,s.up)("Loading"),v=(0,s.up)("ToggleSwitch");return(0,s.wg)(),(0,s.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,i.iM)(((...e)=>h.onToggle&&h.onToggle(...e)),["stop"]))},[n.loading?((0,s.wg)(),(0,s.j4)(g,{key:0})):(0,s.kq)("",!0),(0,s._)("div",l,[n.hasInfo?((0,s.wg)(),(0,s.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,i.iM)(((...e)=>h.onInfo&&h.onInfo(...e)),["prevent"]))},d)):(0,s.kq)("",!0),(0,s._)("span",{class:"name-content",textContent:(0,o.zw)(n.name)},null,8,u)]),(0,s._)("div",r,[(0,s.Wm)(v,{disabled:n.loading,value:n.state,onInput:h.onToggle},null,8,["disabled","value","onInput"])])])}var g=n(3567),v=n(1232),f={name:"Switch",components:{Loading:v.Z,ToggleSwitch:g.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},p=n(3744);const w=(0,p.Z)(f,[["render",h],["__scopeId","data-v-38eb9831"]]);var m=w},9694:function(e,t,n){n.r(t),n.d(t,{default:function(){return Z}});var s=n(6252),i=n(3577);const o=e=>((0,s.dD)("data-v-7c8cf1b7"),e=e(),(0,s.Cn)(),e),a={class:"switches switchbot-switches"},l={key:1,class:"no-content"},c={key:0,class:"switch-info"},d={class:"row"},u=o((()=>(0,s._)("div",{class:"name"},"Name",-1))),r=["textContent"],h={class:"row"},g=o((()=>(0,s._)("div",{class:"name"},"On",-1))),v=["textContent"],f={class:"row"},p=o((()=>(0,s._)("div",{class:"name"},"Address",-1))),w=["textContent"];function m(e,t,n,o,m,_){const y=(0,s.up)("Loading"),b=(0,s.up)("Switch"),k=(0,s.up)("Modal");return(0,s.wg)(),(0,s.iD)("div",a,[e.loading?((0,s.wg)(),(0,s.j4)(y,{key:0})):Object.keys(e.devices).length?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",l,"No SwitchBot switches found.")),((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(e.devices,((t,n)=>((0,s.wg)(),(0,s.j4)(b,{loading:e.loading,name:n,state:t.on,onToggle:t=>e.toggle(n),key:n,"has-info":!0,onInfo:t=>{e.selectedDevice=n,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])))),128)),(0,s.Wm)(k,{title:"Device Info",ref:"switchInfoModal"},{default:(0,s.w5)((()=>[e.selectedDevice?((0,s.wg)(),(0,s.iD)("div",c,[(0,s._)("div",d,[u,(0,s._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].name)},null,8,r)]),(0,s._)("div",h,[g,(0,s._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].on)},null,8,v)]),(0,s._)("div",f,[p,(0,s._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].address)},null,8,w)])])):(0,s.kq)("",!0)])),_:1},512)])}var _=n(1232),y=n(4004),b=n(8671),k=n(9642),I={name:"SwitchbotBluetooth",components:{Modal:k.Z,Switch:b.Z,Loading:_.Z},mixins:[y.Z]},C=n(3744);const D=(0,C.Z)(I,[["render",m],["__scopeId","data-v-7c8cf1b7"]]);var Z=D}}]); -//# sourceMappingURL=9694.2e238a6f.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9694.2e238a6f.js.map b/platypush/backend/http/webapp/dist/static/js/9694.2e238a6f.js.map deleted file mode 100644 index ad70bd057..000000000 --- a/platypush/backend/http/webapp/dist/static/js/9694.2e238a6f.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/9694.2e238a6f.js","mappings":"8PAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,oBAAE,EAAAC,SAAA,EAAAA,WAAA,KAAhE,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EA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components/elements/ToggleSwitch.vue","webpack://platypush/./src/components/elements/ToggleSwitch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchbotBluetooth/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchbotBluetooth/Index.vue?1803"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8fae7678&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8fae7678&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8fae7678\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=7c8cf1b7&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=7c8cf1b7&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7c8cf1b7\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","stopPropagation","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","keys","toggle","key","$refs","switchInfoModal","show","title","ref","address","Modal","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9694.dfa28ffb.js b/platypush/backend/http/webapp/dist/static/js/9694.dfa28ffb.js new file mode 100644 index 000000000..a9562f94d --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/9694.dfa28ffb.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9694],{6137:function(e,t,n){n.d(t,{Z:function(){return v}});var s=n(6252),i=n(3577),o=n(9963);const a=e=>((0,s.dD)("data-v-8e097228"),e=e(),(0,s.Cn)(),e),l=["checked"],c=a((()=>(0,s._)("div",{class:"switch"},[(0,s._)("div",{class:"dot"})],-1))),d={class:"label"};function u(e,t,n,a,u,r){return(0,s.wg)(),(0,s.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,o.iM)(((...e)=>r.onInput&&r.onInput(...e)),["stop"]))},[(0,s._)("input",{type:"checkbox",checked:n.value},null,8,l),(0,s._)("label",null,[c,(0,s._)("span",d,[(0,s.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var r={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},h=n(3744);const g=(0,h.Z)(r,[["render",u],["__scopeId","data-v-8e097228"]]);var v=g},4004:function(e,t,n){n.d(t,{Z:function(){return a}});var s=n(2628),i={name:"SwitchesMixin",mixins:[s.Z],props:{pluginName:{type:String,required:!0},bus:{type:Object,required:!0},config:{type:Object,default:()=>({})},selected:{type:Boolean,default:!1}},data(){return{loading:!1,initialized:!1,selectedDevice:null,devices:{}}},methods:{onRefreshEvent(e){e===this.pluginName&&this.refresh()},async toggle(e,t){null==t&&(t=e);const n=await this.request(`${this.pluginName}.toggle`,{device:t});this.devices[e].on=n.on},async refresh(){this.loading=!0;try{this.devices=(await this.request(`${this.pluginName}.switch_status`)).reduce(((e,t)=>{const n=t.name?.length?t.name:t.id;return e[n]=t,e}),{})}finally{this.loading=!1}}},mounted(){this.$watch((()=>this.selected),(e=>{e&&!this.initialized&&(this.refresh(),this.initialized=!0)})),this.bus.on("refresh",this.onRefreshEvent)},unmounted(){this.bus.off("refresh",this.onRefreshEvent)}};const o=i;var a=o},8671:function(e,t,n){n.d(t,{Z:function(){return m}});var s=n(6252),i=n(9963),o=n(3577);const a=e=>((0,s.dD)("data-v-38eb9831"),e=e(),(0,s.Cn)(),e),l={class:"name col-l-10 col-m-9 col-s-8"},c=a((()=>(0,s._)("i",{class:"fa fa-info"},null,-1))),d=[c],u=["textContent"],r={class:"toggler col-l-2 col-m-3 col-s-4"};function h(e,t,n,a,c,h){const g=(0,s.up)("Loading"),v=(0,s.up)("ToggleSwitch");return(0,s.wg)(),(0,s.iD)("div",{class:"switch",onClick:t[1]||(t[1]=(0,i.iM)(((...e)=>h.onToggle&&h.onToggle(...e)),["stop"]))},[n.loading?((0,s.wg)(),(0,s.j4)(g,{key:0})):(0,s.kq)("",!0),(0,s._)("div",l,[n.hasInfo?((0,s.wg)(),(0,s.iD)("button",{key:0,onClick:t[0]||(t[0]=(0,i.iM)(((...e)=>h.onInfo&&h.onInfo(...e)),["prevent"]))},d)):(0,s.kq)("",!0),(0,s._)("span",{class:"name-content",textContent:(0,o.zw)(n.name)},null,8,u)]),(0,s._)("div",r,[(0,s.Wm)(v,{disabled:n.loading,value:n.state,onInput:h.onToggle},null,8,["disabled","value","onInput"])])])}var g=n(6137),v=n(1232),f={name:"Switch",components:{Loading:v.Z,ToggleSwitch:g.Z},emits:["toggle","info"],props:{name:{type:String,required:!0},state:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasInfo:{type:Boolean,default:!1},id:{type:String}},methods:{onInfo(e){return e.stopPropagation(),this.$emit("info"),!1},onToggle(e){return e.stopPropagation(),this.$emit("toggle"),!1}}},p=n(3744);const w=(0,p.Z)(f,[["render",h],["__scopeId","data-v-38eb9831"]]);var m=w},9694:function(e,t,n){n.r(t),n.d(t,{default:function(){return Z}});var s=n(6252),i=n(3577);const o=e=>((0,s.dD)("data-v-7c8cf1b7"),e=e(),(0,s.Cn)(),e),a={class:"switches switchbot-switches"},l={key:1,class:"no-content"},c={key:0,class:"switch-info"},d={class:"row"},u=o((()=>(0,s._)("div",{class:"name"},"Name",-1))),r=["textContent"],h={class:"row"},g=o((()=>(0,s._)("div",{class:"name"},"On",-1))),v=["textContent"],f={class:"row"},p=o((()=>(0,s._)("div",{class:"name"},"Address",-1))),w=["textContent"];function m(e,t,n,o,m,_){const y=(0,s.up)("Loading"),b=(0,s.up)("Switch"),k=(0,s.up)("Modal");return(0,s.wg)(),(0,s.iD)("div",a,[e.loading?((0,s.wg)(),(0,s.j4)(y,{key:0})):Object.keys(e.devices).length?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",l,"No SwitchBot switches found.")),((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(e.devices,((t,n)=>((0,s.wg)(),(0,s.j4)(b,{loading:e.loading,name:n,state:t.on,onToggle:t=>e.toggle(n),key:n,"has-info":!0,onInfo:t=>{e.selectedDevice=n,e.$refs.switchInfoModal.show()}},null,8,["loading","name","state","onToggle","onInfo"])))),128)),(0,s.Wm)(k,{title:"Device Info",ref:"switchInfoModal"},{default:(0,s.w5)((()=>[e.selectedDevice?((0,s.wg)(),(0,s.iD)("div",c,[(0,s._)("div",d,[u,(0,s._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].name)},null,8,r)]),(0,s._)("div",h,[g,(0,s._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].on)},null,8,v)]),(0,s._)("div",f,[p,(0,s._)("div",{class:"value",textContent:(0,i.zw)(e.devices[e.selectedDevice].address)},null,8,w)])])):(0,s.kq)("",!0)])),_:1},512)])}var _=n(1232),y=n(4004),b=n(8671),k=n(9642),I={name:"SwitchbotBluetooth",components:{Modal:k.Z,Switch:b.Z,Loading:_.Z},mixins:[y.Z]},C=n(3744);const D=(0,C.Z)(I,[["render",m],["__scopeId","data-v-7c8cf1b7"]]);var Z=D}}]); +//# sourceMappingURL=9694.dfa28ffb.js.map \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/9694.dfa28ffb.js.map b/platypush/backend/http/webapp/dist/static/js/9694.dfa28ffb.js.map new file mode 100644 index 000000000..0f8520dae --- /dev/null +++ b/platypush/backend/http/webapp/dist/static/js/9694.dfa28ffb.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/9694.dfa28ffb.js","mappings":"wQAMM,OAEM,OAFDA,MAAM,UAAQ,EACjB,OAAmB,OAAdA,MAAM,UADb,K,GAGMA,MAAM,S,0CARhB,QAYM,OAZDA,OAAK,SAAC,eAAc,UAAoB,EAAAC,YAAY,QAAK,8BAAO,EAAAC,SAAA,EAAAA,WAAA,IAAO,YAA5E,EAEE,OAAwC,SAAjCC,KAAK,WAAYC,QAAS,EAAAC,OAAjC,WACA,OAQQ,cANN,GAGA,OAEO,OAFP,EAEO,EADL,QAAQ,sCATd,GAgBF,OACEC,KAA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itch.vue?94aa","webpack://platypush/./src/components/panels/Switches/Mixin.vue","webpack://platypush/./src/components/panels/Switches/Mixin.vue?f0e3","webpack://platypush/./src/components/panels/Switches/Switch.vue","webpack://platypush/./src/components/panels/Switches/Switch.vue?f006","webpack://platypush/./src/components/panels/Switches/SwitchbotBluetooth/Index.vue","webpack://platypush/./src/components/panels/Switches/SwitchbotBluetooth/Index.vue?1803"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./ToggleSwitch.vue?vue&type=template&id=8e097228&scoped=true\"\nimport script from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\nexport * from \"./ToggleSwitch.vue?vue&type=script&lang=js\"\n\nimport \"./ToggleSwitch.vue?vue&type=style&index=0&id=8e097228&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8e097228\"]])\n\nexport default __exports__","\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Switch.vue?vue&type=template&id=38eb9831&scoped=true\"\nimport script from \"./Switch.vue?vue&type=script&lang=js\"\nexport * from \"./Switch.vue?vue&type=script&lang=js\"\n\nimport \"./Switch.vue?vue&type=style&index=0&id=38eb9831&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-38eb9831\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Index.vue?vue&type=template&id=7c8cf1b7&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=7c8cf1b7&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7c8cf1b7\"]])\n\nexport default __exports__"],"names":["class","disabled","onInput","type","checked","value","name","emits","props","Boolean","default","methods","event","this","$emit","__exports__","render","mixins","Utils","pluginName","String","required","bus","Object","config","selected","data","loading","initialized","selectedDevice","devices","onRefreshEvent","refresh","async","device","id","response","request","on","reduce","obj","length","mounted","$watch","newValue","unmounted","off","onToggle","hasInfo","onInfo","state","components","Loading","ToggleSwitch","stopPropagation","keys","toggle","key","$refs","switchInfoModal","show","title","ref","address","Modal","Switch"],"sourceRoot":""} \ No newline at end of file diff --git a/platypush/backend/http/webapp/dist/static/js/app-legacy.aa2fb82a.js b/platypush/backend/http/webapp/dist/static/js/app-legacy.4cc2e832.js similarity index 95% rename from platypush/backend/http/webapp/dist/static/js/app-legacy.aa2fb82a.js rename to platypush/backend/http/webapp/dist/static/js/app-legacy.4cc2e832.js index f6636651f..fef029282 100644 --- a/platypush/backend/http/webapp/dist/static/js/app-legacy.aa2fb82a.js +++ b/platypush/backend/http/webapp/dist/static/js/app-legacy.4cc2e832.js @@ -1,2 +1,2 @@ -(function(){var e={5250:function(e,t,n){"use strict";n.d(t,{$:function(){return i}});var s=n(9652),i=(0,s.Z)()},4411:function(e,t,n){"use strict";n(6992),n(8674),n(9601),n(7727);var s=n(9963),i=n(6252);function r(e,t,n,s,r,a){var o=(0,i.up)("Events"),c=(0,i.up)("Notifications"),l=(0,i.up)("VoiceAssistant"),u=(0,i.up)("Pushbullet"),d=(0,i.up)("router-view");return(0,i.wg)(),(0,i.iD)(i.HY,null,[a.hasWebsocket?((0,i.wg)(),(0,i.j4)(o,{key:0,ref:"events","ws-port":r.config["backend.http"].websocket_port},null,8,["ws-port"])):(0,i.kq)("",!0),(0,i.Wm)(c,{ref:"notifications"},null,512),a.hasAssistant?((0,i.wg)(),(0,i.j4)(l,{key:1,ref:"voice-assistant"},null,512)):(0,i.kq)("",!0),a.hasPushbullet?((0,i.wg)(),(0,i.j4)(u,{key:2,ref:"pushbullet"},null,512)):(0,i.kq)("",!0),(0,i.Wm)(d)],64)}var a=n(8534),o=(n(5666),n(9254),{class:"notifications"});function c(e,t,n,s,r,a){var c=(0,i.up)("Notification");return(0,i.wg)(),(0,i.iD)("div",o,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.notifications,(function(e,t,n){return(0,i.wg)(),(0,i.j4)(c,{key:n,id:t,text:e.text,html:e.html,title:e.title,link:e.link,image:e.image,warning:e.warning,error:e.error,onClicked:a.destroy},null,8,["id","text","html","title","link","image","warning","error","onClicked"])})),128))])}n(9653);var l=n(3577),u=["textContent"],d={class:"body"},f={key:0,class:"image col-3"},p={class:"row"},h=["src"],m={key:3,class:"fa fa-exclamation"},g={key:4,class:"fa fa-times"},v=["textContent"],w=["innerHTML"],b=["textContent"],y=["innerHTML"];function k(e,t,n,s,r,a){return(0,i.wg)(),(0,i.iD)("div",{class:(0,l.C_)(["notification fade-in",{warning:n.warning,error:n.error}]),onClick:t[0]||(t[0]=function(){return a.clicked&&a.clicked.apply(a,arguments)})},[n.title?((0,i.wg)(),(0,i.iD)("div",{key:0,class:"title",textContent:(0,l.zw)(n.title)},null,8,u)):(0,i.kq)("",!0),(0,i._)("div",d,[n.image||n.warning||n.error?((0,i.wg)(),(0,i.iD)("div",f,[(0,i._)("div",p,[n.image&&n.image.src?((0,i.wg)(),(0,i.iD)("img",{key:0,src:n.image.src,alt:""},null,8,h)):n.image&&n.image.icon?((0,i.wg)(),(0,i.iD)("i",{key:1,class:(0,l.C_)(["fa","fa-"+n.image.icon]),style:(0,l.j5)(n.image.color?"--color: "+n.image.color:"")},null,6)):n.image&&n.image.iconClass?((0,i.wg)(),(0,i.iD)("i",{key:2,class:(0,l.C_)(n.image.iconClass),style:(0,l.j5)(n.image.color?"--color: "+n.image.color:"")},null,6)):n.warning?((0,i.wg)(),(0,i.iD)("i",m)):n.error?((0,i.wg)(),(0,i.iD)("i",g)):(0,i.kq)("",!0)])])):(0,i.kq)("",!0),n.text&&n.image?((0,i.wg)(),(0,i.iD)("div",{key:1,class:"text col-9",textContent:(0,l.zw)(n.text)},null,8,v)):(0,i.kq)("",!0),n.html&&n.image?((0,i.wg)(),(0,i.iD)("div",{key:2,class:"text col-9",innerHTML:n.html},null,8,w)):(0,i.kq)("",!0),n.text&&!n.image?((0,i.wg)(),(0,i.iD)("div",{key:3,class:"text row horizontal-center",textContent:(0,l.zw)(n.text)},null,8,b)):(0,i.kq)("",!0),n.html&&!n.image?((0,i.wg)(),(0,i.iD)("div",{key:4,class:"text row horizontal-center",innerHTML:n.html},null,8,y)):(0,i.kq)("",!0)])],2)}var x={name:"Notification",props:["id","text","html","title","image","link","error","warning"],methods:{clicked:function(){this.link&&window.open(this.link,"_blank"),this.$emit("clicked",this.id)}}},_=n(3744);const C=(0,_.Z)(x,[["render",k],["__scopeId","data-v-7646705e"]]);var D=C,I={name:"Notifications",components:{Notification:D},props:{duration:{type:Number,default:1e4}},data:function(){return{index:0,notifications:{},timeouts:{}}},methods:{create:function(e){var t=this.index++;this.notifications[t]=e,null==e.duration&&(e.duration=this.duration);var n=e.duration?parseInt(e.duration):0;n&&(this.timeouts[t]=setTimeout(this.destroy.bind(null,t),n))},destroy:function(e){delete this.notifications[e],delete this.timeouts[e]}}};const S=(0,_.Z)(I,[["render",c],["__scopeId","data-v-6dc8bebc"]]);var T=S,Z=n(2628);function U(e,t,n,s,r,a){return(0,i.wg)(),(0,i.iD)("div")}var R=n(6347),P=n(9584),M=(n(2479),n(2222),n(7941),n(5250)),q={name:"Events",props:{wsPort:{type:Number,default:8009}},data:function(){return{ws:null,initialized:!1,pending:!1,opened:!1,timeout:null,reconnectMsecs:3e4,handlers:{},handlerNameToEventTypes:{}}},methods:{onWebsocketTimeout:function(){console.log("Websocket reconnection timed out, retrying"),this.pending=!1,this.ws&&this.ws.close(),this.onClose()},onMessage:function(e){var t=[];if(e=e.data,"string"===typeof e)try{e=JSON.parse(e)}catch(r){console.warn("Received invalid non-JSON event"),console.warn(e)}if(console.debug(e),"event"===e.type){null in this.handlers&&t.push(this.handlers[null]),e.args.type in this.handlers&&t.push.apply(t,(0,P.Z)(Object.values(this.handlers[e.args.type])));for(var n=0,s=t;n1&&void 0!==arguments[1]?arguments[1]:6e4,s={};return"target"in e&&e["target"]||(e["target"]="localhost"),"type"in e&&e["type"]||(e["type"]="request"),n&&(s.timeout=n),new Promise((function(n,r){i().post("/execute",e,s).then((function(e){var s;if(e=e.data.response,null!==(s=e.errors)&&void 0!==s&&s.length){var i,a=(null===(i=e.errors)||void 0===i?void 0:i[0])||e;t.notify({text:a,error:!0}),r(a)}else n(e.output)})).catch((function(e){t.notify({text:e,error:!0}),r(e)}))}))},request:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return this.execute({type:"request",action:e,args:t},n)}}};const a=r;var o=a,c=n(6084),l=(n(4916),n(3123),{name:"Cookies",methods:{getCookies:function(){return document.cookie.split(/;\s*/).reduce((function(e,t){var n=t.split("="),s=(0,c.Z)(n,2),i=s[0],r=s[1];return e[i]=r,e}),{})}}});const u=l;var d=u,f=(n(2222),{name:"DateTime",methods:{formatDate:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"string"===typeof e&&(e=new Date(Date.parse(e))),e.toDateString().substring(0,t?15:10)},formatTime:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"string"===typeof e&&(e=new Date(Date.parse(e))),e.toTimeString().substring(0,t?8:5)},formatDateTime:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return"string"===typeof e&&(e=new Date(Date.parse(e))),"".concat(this.formatDate(e,t),", ").concat(this.formatTime(e,n))}}});const p=f;var h=p,m=n(9584),g=(n(7714),n(2801),n(1174),n(1249),n(3948),n(5250)),v={name:"Events",computed:{_eventsReady:function(){var e;return null===(e=this.$root.$refs.events)||void 0===e?void 0:e.initialized}},methods:{subscribe:function(e,t){for(var n=this,s=arguments.length,i=new Array(s>2?s-2:0),r=2;r1024&&(i===n.length-1?t=s:e/=1024)})),"".concat(e.toFixed(2)," ").concat(t)}}});const S=I;var T=S,Z={name:"Utils",mixins:[o,d,x,b,h,D,T]};const U=Z;var R=U},1232:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var s=n(6252),i={class:"loading"},r={class:"icon"};function a(e,t){return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",r,[((0,s.wg)(),(0,s.iD)(s.HY,null,(0,s.Ko)(4,(function(e){return(0,s._)("div",{key:e})})),64))])])}var o=n(3744);const c={},l=(0,o.Z)(c,[["render",a],["__scopeId","data-v-4d9c871b"]]);var u=l},9642:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var s=n(6252),i=n(3577),r=["id"],a={class:"modal"},o=["textContent"],c={class:"body"};function l(e,t,n,l,u,d){return(0,s.wg)(),(0,s.iD)("div",{class:(0,i.C_)(["modal-container fade-in",{hidden:!u.isVisible}]),id:n.id,style:(0,i.j5)({"--z-index":d.zIndex}),onClick:t[2]||(t[2]=function(){return d.close&&d.close.apply(d,arguments)})},[(0,s._)("div",a,[(0,s._)("div",{class:"content",style:(0,i.j5)({"--width":n.width,"--height":n.height}),onClick:t[1]||(t[1]=function(e){return e.stopPropagation()})},[n.title?((0,s.wg)(),(0,s.iD)("div",{key:0,class:"header",textContent:(0,i.zw)(n.title)},null,8,o)):(0,s.kq)("",!0),(0,s._)("div",c,[(0,s.WI)(e.$slots,"default",{onModalClose:t[0]||(t[0]=function(){return d.close&&d.close.apply(d,arguments)})},void 0,!0)])],4)])],14,r)}var u=n(6347),d=(n(9653),{name:"Modal",emits:["close","open"],props:{id:{type:String},title:{type:String},width:{type:[Number,String]},height:{type:[Number,String]},visible:{type:Boolean,default:!1},timeout:{type:[Number,String]},level:{type:Number,default:1}},data:function(){return{timeoutId:void 0,prevVisible:this.visible,isVisible:this.visible}},computed:{zIndex:function(){return 500+this.level}},methods:{close:function(){this.prevVisible=this.isVisible,this.isVisible=!1},hide:function(){this.close()},show:function(){this.prevVisible=this.isVisible,this.isVisible=!0},toggle:function(){this.isVisible?this.close():this.show()}},mounted:function(){var e=this,t=this,n=function(e){e?t.$emit("open"):t.$emit("close"),t.isVisible=e};this.$watch((function(){return e.visible}),n),this.$watch((function(){return e.isVisible}),n)},updated:function(){if(this.prevVisible=this.isVisible,this.isVisible){var e,t=parseInt(getComputedStyle(this.$el).zIndex),n=[],s=(0,u.Z)(document.querySelectorAll(".modal-container:not(.hidden)"));try{for(s.s();!(e=s.n()).done;){var i=e.value,r=parseInt(getComputedStyle(i).zIndex);r>t?(t=r,n=[i]):r===t&&n.push(i)}}catch(o){s.e(o)}finally{s.f()}(n.indexOf(this.$el)<0||n.length>1)&&(this.$el.style.zIndex=t+1)}if(this.isVisible&&this.timeout&&!this.timeoutId){var a=function(e){return function(){e.close(),e.timeoutId=void 0}};this.timeoutId=setTimeout(a(this),0+this.timeout)}}}),f=n(3744);const p=(0,f.Z)(d,[["render",l],["__scopeId","data-v-010fadd6"]]);var h=p},7021:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var s=n(6252),i=n(9963),r=n(3577),a={class:"dropdown-container",ref:"container"},o=["title"],c=["textContent"],l=["id"];function u(e,t,n,u,d,f){return(0,s.wg)(),(0,s.iD)("div",a,[(0,s._)("button",{title:n.title,ref:"button",onClick:t[0]||(t[0]=(0,i.iM)((function(e){return f.toggle(e)}),["stop"]))},[n.iconClass?((0,s.wg)(),(0,s.iD)("i",{key:0,class:(0,r.C_)(["icon",n.iconClass])},null,2)):(0,s.kq)("",!0),n.text?((0,s.wg)(),(0,s.iD)("span",{key:1,class:"text",textContent:(0,r.zw)(n.text)},null,8,c)):(0,s.kq)("",!0)],8,o),(0,s._)("div",{class:(0,r.C_)(["dropdown fade-in",{hidden:!d.visible}]),id:n.id,ref:"dropdown"},[(0,s.WI)(e.$slots,"default",{},void 0,!0)],10,l)],512)}var d={name:"Dropdown",emits:["click"],props:{id:{type:String},items:{type:Array,default:function(){return[]}},iconClass:{type:String,default:"fa fa-ellipsis-h"},text:{type:String},title:{type:String}},data:function(){return{visible:!1}},methods:{documentClickHndl:function(e){if(this.visible){var t=e.target;while(t){if(!this.$refs.dropdown)break;if(t===this.$refs.dropdown.element)return;t=t.parentElement}this.close()}},close:function(){this.visible=!1,document.removeEventListener("click",this.documentClickHndl)},open:function(){var e=this;document.addEventListener("click",this.documentClickHndl),this.visible=!0,setTimeout((function(){var t=e.$refs.dropdown;t.style.left=0,t.style.top=parseFloat(getComputedStyle(e.$refs.button).height)+"px",t.getBoundingClientRect().left>window.innerWidth/2&&(t.style.left=-t.clientWidth+parseFloat(getComputedStyle(e.$refs.button).width)+"px"),t.getBoundingClientRect().top>window.innerHeight/2&&(t.style.top=-t.clientHeight+parseFloat(getComputedStyle(e.$refs.button).height)+"px")}),10)},toggle:function(e){e.stopPropagation(),this.$emit("click"),this.visible?this.close():this.open()}}},f=n(3744);const p=(0,f.Z)(d,[["render",u],["__scopeId","data-v-00fa59b4"]]);var h=p},455:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(6252),i=n(3577),r={key:0,class:"col-1 icon"},a=["textContent"];function o(e,t,n,o,c,l){return(0,s.wg)(),(0,s.iD)("div",{class:(0,i.C_)(["row item",n.itemClass]),onClick:t[0]||(t[0]=function(){return l.clicked&&l.clicked.apply(l,arguments)})},[n.iconClass?((0,s.wg)(),(0,s.iD)("div",r,[(0,s._)("i",{class:(0,i.C_)(n.iconClass)},null,2)])):(0,s.kq)("",!0),(0,s._)("div",{class:(0,i.C_)(["text",{"col-11":null!=n.iconClass}]),textContent:(0,i.zw)(n.text)},null,10,a)],2)}var c={name:"DropdownItem",props:{iconClass:{type:String},text:{type:String},disabled:{type:Boolean,default:!1},itemClass:{type:String}},methods:{clicked:function(e){this.$parent.$emit("click",e),this.$parent.visible=!1}}},l=n(3744);const u=(0,l.Z)(c,[["render",o],["__scopeId","data-v-e44d79c8"]]);var d=u},5392:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Ie}});var s=n(6252),i={class:"settings-container"},r={class:"col-8"},a=["selected"],o=["selected"],c={class:"col-4 pull-right"},l=(0,s._)("i",{class:"fa fa-plus"},null,-1),u=[l];function d(e,t,n,l,d,f){var p=(0,s.up)("Users"),h=(0,s.up)("Token");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("header",null,[(0,s._)("div",r,[(0,s._)("select",{title:"View",onChange:t[0]||(t[0]=function(e){return d.selectedView=e.target.value})},[(0,s._)("option",{value:"users",selected:"users"===d.selectedView},"Users",8,a),(0,s._)("option",{value:"token",selected:"token"===d.selectedView},"Generate Token",8,o)],32)]),(0,s._)("div",c,["users"===d.selectedView?((0,s.wg)(),(0,s.iD)("button",{key:0,title:"Add User",onClick:t[1]||(t[1]=function(t){return e.$refs.usersView.$refs.addUserModal.show()})},u)):(0,s.kq)("",!0)])]),(0,s._)("main",null,["users"===d.selectedView?((0,s.wg)(),(0,s.j4)(p,{key:0,"session-token":d.sessionToken,"current-user":d.currentUser,ref:"usersView"},null,8,["session-token","current-user"])):"token"===d.selectedView?((0,s.wg)(),(0,s.j4)(h,{key:1,"session-token":d.sessionToken,"current-user":d.currentUser,ref:"tokenView"},null,8,["session-token","current-user"])):(0,s.kq)("",!0)])])}var f=n(8534),p=(n(5666),n(3577)),h=n(9963),m={class:"token-container"},g={class:"token-container"},v=(0,s.Uk)(" This is your generated token. Treat it carefully and do not share it with untrusted parties."),w=(0,s._)("br",null,null,-1),b=(0,s.Uk)(" Also, make sure to save it - it WILL NOT be displayed again. "),y=["textContent"],k={class:"body"},x={class:"description"},_=(0,s.Uk)("Generate a JWT authentication token that can be used for API calls to the "),C=(0,s.Uk)("/execute"),D=(0,s.Uk)(" endpoint."),I=(0,s._)("br",null,null,-1),S=(0,s._)("p",null,"You can include the token in your requests in any of the following ways:",-1),T=(0,s.Uk)("Specify it on the "),Z=(0,s.Uk)("Authorization: Bearer"),U=(0,s.Uk)(" header;"),R=(0,s.Uk)("Specify it on the "),P=(0,s.Uk)("X-Token"),M=(0,s.Uk)(" header;"),q=(0,s.Uk)("Specify it as a URL parameter: "),N=(0,s.Uk)("http://site:8008/execute?token=..."),$=(0,s.Uk)(";"),j=(0,s.Uk)("Specify it on the body of your JSON request: "),O=(0,s.Uk)('{"type":"request", "action", "...", "token":"..."}'),z=(0,s.Uk)("."),E=(0,s.Uk)(" Confirm your credentials in order to generate a new token. "),W={class:"form-container"},L=(0,s.Uk)(" Username "),A=["value"],V=(0,s._)("label",null,[(0,s.Uk)(" Password "),(0,s._)("input",{type:"password",name:"password"})],-1),H=(0,s._)("label",null,[(0,s.Uk)(" Token validity in days "),(0,s._)("input",{type:"text",name:"validityDays"}),(0,s._)("span",{class:"note"},[(0,s.Uk)(" Decimal values are also supported (e.g. "),(0,s._)("i",null,"0.5"),(0,s.Uk)(" to identify 6 hours). An empty or zero value means that the token has no expiry date. ")])],-1),F=(0,s._)("input",{type:"submit",value:"Generate token"},null,-1);function B(e,t,n,i,r,a){var o=(0,s.up)("Loading"),c=(0,s.up)("Modal"),l=(0,s.up)("tt");return(0,s.wg)(),(0,s.iD)("div",m,[r.loading?((0,s.wg)(),(0,s.j4)(o,{key:0})):(0,s.kq)("",!0),(0,s.Wm)(c,{ref:"tokenModal"},{default:(0,s.w5)((function(){return[(0,s._)("div",g,[(0,s._)("label",null,[v,w,b,(0,s._)("textarea",{class:"token",textContent:(0,p.zw)(r.token),onFocus:t[0]||(t[0]=function(){return a.onTokenSelect&&a.onTokenSelect.apply(a,arguments)})},null,40,y)])])]})),_:1},512),(0,s._)("div",k,[(0,s._)("div",x,[(0,s._)("p",null,[_,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[C]})),_:1}),D]),I,S,(0,s._)("ul",null,[(0,s._)("li",null,[T,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[Z]})),_:1}),U]),(0,s._)("li",null,[R,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[P]})),_:1}),M]),(0,s._)("li",null,[q,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[N]})),_:1}),$]),(0,s._)("li",null,[j,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[O]})),_:1}),z])]),E]),(0,s._)("div",W,[(0,s._)("form",{onSubmit:t[1]||(t[1]=(0,h.iM)((function(){return a.generateToken&&a.generateToken.apply(a,arguments)}),["prevent"])),ref:"generateTokenForm"},[(0,s._)("label",null,[L,(0,s._)("input",{type:"text",name:"username",value:n.currentUser.username,disabled:""},null,8,A)]),V,H,F],544)])])])}n(1539),n(9714);var Y=n(9669),K=n.n(Y),G=n(1232),J=n(2628),X=n(9642),Q={name:"Token",components:{Modal:X.Z,Loading:G.Z},mixins:[J.Z],props:{currentUser:{type:Object,required:!0}},data:function(){return{loading:!1,token:null}},methods:{generateToken:function(e){var t=this;return(0,f.Z)(regeneratorRuntime.mark((function n(){var s,i,r,a,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=t.currentUser.username,r=e.target.password.value,a=null!==(s=e.target.validityDays)&&void 0!==s&&s.length?parseInt(e.target.validityDays.value):0,a||(a=null),t.loading=!0,n.prev=5,n.next=8,K().post("/auth",{username:i,password:r,expiry_days:a});case 8:t.token=n.sent.data.token,null!==(o=t.token)&&void 0!==o&&o.length&&t.$refs.tokenModal.show(),n.next=16;break;case 12:n.prev=12,n.t0=n["catch"](5),console.error(n.t0.toString()),t.notify({text:n.t0.toString(),error:!0});case 16:return n.prev=16,t.loading=!1,n.finish(16);case 19:case"end":return n.stop()}}),n,null,[[5,12,16,19]])})))()},onTokenSelect:function(e){e.target.select(),document.execCommand("copy"),this.notify({text:"Token copied to clipboard",image:{iconClass:"fa fa-check"}})}}},ee=n(3744);const te=(0,ee.Z)(Q,[["render",B]]);var ne=te,se=["disabled"],ie=["disabled"],re=["disabled"],ae=["disabled"],oe=["value"],ce=["disabled"],le=["disabled"],ue=["disabled"],de=["disabled"],fe={class:"body"},pe={class:"users-list"},he=["onClick"],me=["textContent"],ge={class:"actions pull-right col-4"};function ve(e,t,n,i,r,a){var o=(0,s.up)("Loading"),c=(0,s.up)("Modal"),l=(0,s.up)("DropdownItem"),u=(0,s.up)("Dropdown");return(0,s.wg)(),(0,s.iD)(s.HY,null,[r.loading?((0,s.wg)(),(0,s.j4)(o,{key:0})):(0,s.kq)("",!0),(0,s.Wm)(c,{ref:"addUserModal",title:"Add User"},{default:(0,s.w5)((function(){return[(0,s._)("form",{action:"#",method:"POST",ref:"addUserForm",onSubmit:t[0]||(t[0]=function(){return a.createUser&&a.createUser.apply(a,arguments)})},[(0,s._)("label",null,[(0,s._)("input",{type:"text",name:"username",placeholder:"Username",disabled:r.commandRunning},null,8,se)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"password",placeholder:"Password",disabled:r.commandRunning},null,8,ie)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"confirm_password",placeholder:"Confirm password",disabled:r.commandRunning},null,8,re)]),(0,s._)("input",{type:"submit",value:"Create User",disabled:r.commandRunning},null,8,ae)],544)]})),_:1},512),(0,s.Wm)(c,{ref:"changePasswordModal",title:"Change Password"},{default:(0,s.w5)((function(){return[(0,s._)("form",{action:"#",method:"POST",ref:"changePasswordForm",onSubmit:t[1]||(t[1]=function(){return a.changePassword&&a.changePassword.apply(a,arguments)})},[(0,s._)("label",null,[(0,s._)("input",{type:"text",name:"username",placeholder:"Username",value:r.selectedUser,disabled:"disabled"},null,8,oe)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"password",placeholder:"Current password",disabled:r.commandRunning},null,8,ce)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"new_password",placeholder:"New password",disabled:r.commandRunning},null,8,le)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"confirm_new_password",placeholder:"Confirm new password",disabled:r.commandRunning},null,8,ue)]),(0,s._)("input",{type:"submit",value:"Change Password",disabled:r.commandRunning},null,8,de)],544)]})),_:1},512),(0,s._)("div",fe,[(0,s._)("ul",pe,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(r.users,(function(t){return(0,s.wg)(),(0,s.iD)("li",{key:t.user_id,class:"item user",onClick:function(e){return r.selectedUser=t.username}},[(0,s._)("div",{class:"name col-8",textContent:(0,p.zw)(t.username)},null,8,me),(0,s._)("div",ge,[(0,s.Wm)(u,{title:"User Actions","icon-class":"fa fa-cog"},{default:(0,s.w5)((function(){return[(0,s.Wm)(l,{text:"Change Password",disabled:r.commandRunning,"icon-class":"fa fa-key",onClick:function(n){r.selectedUser=t.username,e.$refs.changePasswordModal.show()}},null,8,["disabled","onClick"]),(0,s.Wm)(l,{text:"Delete User",disabled:r.commandRunning,"icon-class":"fa fa-trash",onClick:function(e){return a.deleteUser(t)}},null,8,["disabled","onClick"])]})),_:2},1024)])],8,he)})),128))])])],64)}var we=n(9584),be=(n(8309),n(7021)),ye=n(455),ke={name:"Users",components:{DropdownItem:ye.Z,Loading:G.Z,Modal:X.Z,Dropdown:be.Z},mixins:[J.Z],props:{sessionToken:{type:String,required:!0},currentUser:{type:Object,required:!0}},data:function(){return{users:[],commandRunning:!1,loading:!1,selectedUser:null}},methods:{refresh:function(){var e=this;return(0,f.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("user.get_users");case 4:e.users=t.sent;case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},createUser:function(e){var t=this;return(0,f.Z)(regeneratorRuntime.mark((function n(){var s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.preventDefault(),s=(0,we.Z)(t.$refs.addUserForm.querySelectorAll("input[name]")).reduce((function(e,t){return e[t.name]=t.value,e}),{}),s.password===s.confirm_password){n.next=5;break}return t.notify({title:"Unable to create user",text:"Please check that the passwords match",error:!0,image:{iconClass:"fas fa-times"}}),n.abrupt("return");case 5:return t.commandRunning=!0,n.prev=6,n.next=9,t.request("user.create_user",{username:s.username,password:s.password,session_token:t.sessionToken});case 9:return n.prev=9,t.commandRunning=!1,n.finish(9);case 12:return t.notify({text:"User "+s.username+" created",image:{iconClass:"fas fa-check"}}),t.$refs.addUserModal.close(),n.next=16,t.refresh();case 16:case"end":return n.stop()}}),n,null,[[6,,9,12]])})))()},changePassword:function(e){var t=this;return(0,f.Z)(regeneratorRuntime.mark((function n(){var s,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.preventDefault(),s=(0,we.Z)(t.$refs.changePasswordForm.querySelectorAll("input[name]")).reduce((function(e,t){return e[t.name]=t.value,e}),{}),s.new_password===s.confirm_new_password){n.next=5;break}return t.notify({title:"Unable to update password",text:"Please check that the passwords match",error:!0,image:{iconClass:"fas fa-times"}}),n.abrupt("return");case 5:return t.commandRunning=!0,i=!1,n.prev=7,n.next=10,t.request("user.update_password",{username:s.username,old_password:s.password,new_password:s.new_password});case 10:i=n.sent;case 11:return n.prev=11,t.commandRunning=!1,n.finish(11);case 14:i?(t.$refs.changePasswordModal.close(),t.notify({text:"Password successfully updated",image:{iconClass:"fas fa-check"}})):t.notify({title:"Unable to update password",text:"The current password is incorrect",error:!0,image:{iconClass:"fas fa-times"}});case 15:case"end":return n.stop()}}),n,null,[[7,,11,14]])})))()},deleteUser:function(e){var t=this;return(0,f.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(confirm("Are you sure that you want to remove the user "+e.username+"?")){n.next=2;break}return n.abrupt("return");case 2:return t.commandRunning=!0,n.prev=3,n.next=6,t.request("user.delete_user",{username:e.username,session_token:t.sessionToken});case 6:return n.prev=6,t.commandRunning=!1,n.finish(6);case 9:return t.notify({text:"User "+e.username+" removed",image:{iconClass:"fas fa-check"}}),n.next=12,t.refresh();case 12:case"end":return n.stop()}}),n,null,[[3,,6,9]])})))()}},mounted:function(){this.refresh()}};const xe=(0,ee.Z)(ke,[["render",ve]]);var _e=xe,Ce={name:"Settings",components:{Users:_e,Token:ne},mixins:[J.Z],data:function(){return{selectedView:"users",currentUser:null,sessionToken:null}},methods:{refresh:function(){var e=this;return(0,f.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.sessionToken=e.getCookies()["session_token"],t.next=3,e.request("user.get_user_by_session",{session_token:e.sessionToken});case 3:e.currentUser=t.sent;case 4:case"end":return t.stop()}}),t)})))()}},mounted:function(){this.refresh()}};const De=(0,ee.Z)(Ce,[["render",d]]);var Ie=De},3379:function(e,t,n){var s={"./Camera/Index":[5528,5528],"./CameraAndroidIpcam/Index":[6739,6739],"./CameraCv/Index":[8184,5528,8184],"./CameraFfmpeg/Index":[5111,5528,5111],"./CameraGstreamer/Index":[699,5528,699],"./CameraIrMlx90640/Index":[9895,5528,9895],"./CameraPi/Index":[4548,5528,4548],"./Execute/Index":[7643,7643],"./Light/Index":[1336,7373,8938,1336],"./LightHue/Index":[3674,7373,8938,1336,3674],"./Media/Index":[4196,8938,8337,2285,779,4196],"./MediaMplayer/Index":[6509,8938,8337,2285,779,4196,6509],"./MediaMpv/Index":[5895,8938,8337,2285,779,4196,5895],"./MediaOmxplayer/Index":[9633,8938,8337,2285,779,4196,9633],"./MediaVlc/Index":[767,8938,8337,2285,779,4196,767],"./Music/Index":[5781,8938,8337,2285,6833],"./MusicMpd/Index":[2957,8938,8337,2285,6833,2957],"./MusicSnapcast/Index":[2790,7373,8938,2790],"./MusicSpotify/Index":[7196,8938,8337,2285,6833,7196],"./Rtorrent/Index":[2820,8337,779,6162,2820],"./Settings/Index":[5392],"./Sound/Index":[5193,5193],"./Switches/Index":[4276,4276],"./Switches/LightHue/Index":[2844,7373,6590,2844],"./Switches/Smartthings/Index":[9196,7373,6590,9196],"./Switches/SwitchTplink/Index":[3785,7373,6590,3785],"./Switches/SwitchWemo/Index":[5210,7373,6590,5210],"./Switches/Switchbot/Index":[9694,7373,6590,9694],"./Switches/SwitchbotBluetooth/Index":[9694,7373,6590,9694],"./Switches/ZigbeeMqtt/Index":[5466,7373,6590,5466],"./Switches/Zwave/Index":[7262,7373,6590,7262],"./Switches/ZwaveMqtt/Index":[2380,7373,6590,2380],"./Torrent/Index":[9299,8337,779,6162,9299],"./Tts/Index":[2466,4021,2466],"./TtsGoogle/Index":[1938,4021,1938],"./TvSamsungWs/Index":[615,615],"./ZigbeeMqtt/Index":[4604,7373,8938,4604],"./Zwave/Index":[6027,7373,8938,6849,6027],"./ZwaveMqtt/Index":[2362,7373,8938,6849,2362]};function i(e){if(!n.o(s,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=s[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(s)},i.id=3379,e.exports=i},6725:function(e,t,n){var s={"./Calendar/Index":[345,345],"./Camera/Index":[2346,2346],"./Component/Index":[5824,7373,8938,5824],"./DateTime/Index":[1595,9575,1595],"./DateTimeWeather/Index":[5779,1798,9575,5779],"./ImageCarousel/Index":[6003,1798,9575,6003],"./Music/Index":[6013,6013],"./Plugin/Index":[4826,4826],"./RssNews/Index":[7420,7420],"./Weather/Index":[1798,1798]};function i(e){if(!n.o(s,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=s[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(s)},i.id=6725,e.exports=i}},t={};function n(s){var i=t[s];if(void 0!==i)return i.exports;var r=t[s]={exports:{}};return e[s](r,r.exports,n),r.exports}n.m=e,function(){var e=[];n.O=function(t,s,i,r){if(!s){var a=1/0;for(u=0;u=r)&&Object.keys(n.O).every((function(e){return n.O[e](s[c])}))?s.splice(c--,1):(o=!1,r0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[s,i,r]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,s){return n.f[s](e,t),t}),[]))}}(),function(){n.u=function(e){return"static/js/"+e+"-legacy."+{345:"b2bdd619",615:"6fa21b8b",699:"f7552281",767:"aa1f607e",779:"b8595a78",1336:"f43b1099",1595:"ddcdc704",1798:"28cf3934",1938:"55546c0e",2285:"df615a6c",2346:"cc7ee826",2362:"017e03af",2380:"44d382a4",2466:"64778a75",2790:"67a1eb0e",2820:"6e4e2d10",2844:"fae0fdc0",2957:"e1d14d10",3674:"33bdb956",3785:"cbdaa7cb",4021:"56f5f27b",4196:"17260eed",4276:"6b94488f",4548:"15ee26de",4604:"45e6aa25",4826:"580eecfe",5111:"9aab8f5e",5193:"60b8c4f6",5210:"d694eb5d",5466:"acdc5b3a",5528:"4c020c46",5779:"1c9b7d67",5824:"b75ef6a8",5895:"1fb25060",6003:"0b667817",6013:"90c86f45",6027:"ad9b479d",6162:"c0ad6628",6509:"28c562ac",6590:"e9c70586",6739:"f05555d2",6833:"eceb69c4",6849:"ae049c3f",7196:"69f37439",7262:"3d1734c7",7373:"2356e758",7420:"9757ff05",7643:"cebc7792",8184:"7065c6d4",8337:"4e57bdc4",8938:"64d1bec5",9196:"f598bc06",9299:"cb0ed629",9575:"2bc3a9be",9633:"9232f8cd",9694:"d2505d86",9895:"0608fab6"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"static/css/"+e+"."+{345:"eb043f5a",615:"6656c121",779:"1a239bc8",1336:"3f85f5be",1798:"b532c3ca",2285:"ad343290",2346:"f24a0a20",2380:"75b5142e",2790:"a1653085",2844:"7f6a6806",3785:"b5adda04",4021:"4f513146",4196:"3314409a",4276:"9dbaa82b",4604:"5f1175fd",4826:"56e4ed89",5193:"29293ae8",5210:"80934190",5466:"be31fc94",5528:"4bd6d3d8",5779:"bfbfba1d",5824:"1c47696a",6003:"44c25abf",6013:"dbd3d745",6162:"93bc56df",6590:"d33ad646",6739:"34948f0a",6833:"fb1de1e4",6849:"0108f611",7262:"6430c45c",7373:"7031257c",7420:"e334e579",7643:"f93cd12e",8938:"fa662cd6",9196:"18a08689",9575:"f9aa11eb",9694:"b2bc76ee"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="platypush:";n.l=function(s,i,r,a){if(e[s])e[s].push(i);else{var o,c;if(void 0!==r)for(var l=document.getElementsByTagName("script"),u=0;u1&&void 0!==arguments[1]?arguments[1]:6e4,s={};return"target"in e&&e["target"]||(e["target"]="localhost"),"type"in e&&e["type"]||(e["type"]="request"),n&&(s.timeout=n),new Promise((function(n,r){i().post("/execute",e,s).then((function(e){var s;if(e=e.data.response,null!==(s=e.errors)&&void 0!==s&&s.length){var i,a=(null===(i=e.errors)||void 0===i?void 0:i[0])||e;t.notify({text:a,error:!0}),r(a)}else n(e.output)})).catch((function(e){t.notify({text:e,error:!0}),r(e)}))}))},request:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return this.execute({type:"request",action:e,args:t},n)}}};const a=r;var o=a,c=n(6084),l=(n(4916),n(3123),{name:"Cookies",methods:{getCookies:function(){return document.cookie.split(/;\s*/).reduce((function(e,t){var n=t.split("="),s=(0,c.Z)(n,2),i=s[0],r=s[1];return e[i]=r,e}),{})}}});const u=l;var d=u,f=(n(2222),{name:"DateTime",methods:{formatDate:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"string"===typeof e&&(e=new Date(Date.parse(e))),e.toDateString().substring(0,t?15:10)},formatTime:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"string"===typeof e&&(e=new Date(Date.parse(e))),e.toTimeString().substring(0,t?8:5)},formatDateTime:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return"string"===typeof e&&(e=new Date(Date.parse(e))),"".concat(this.formatDate(e,t),", ").concat(this.formatTime(e,n))}}});const p=f;var h=p,m=n(9584),g=(n(7714),n(2801),n(1174),n(1249),n(3948),n(5250)),v={name:"Events",computed:{_eventsReady:function(){var e;return null===(e=this.$root.$refs.events)||void 0===e?void 0:e.initialized}},methods:{subscribe:function(e,t){for(var n=this,s=arguments.length,i=new Array(s>2?s-2:0),r=2;r1024&&(i===n.length-1?t=s:e/=1024)})),"".concat(e.toFixed(2)," ").concat(t)}}});const S=I;var T=S,Z={name:"Utils",mixins:[o,d,x,b,h,D,T]};const U=Z;var R=U},1232:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var s=n(6252),i={class:"loading"},r={class:"icon"};function a(e,t){return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",r,[((0,s.wg)(),(0,s.iD)(s.HY,null,(0,s.Ko)(4,(function(e){return(0,s._)("div",{key:e})})),64))])])}var o=n(3744);const c={},l=(0,o.Z)(c,[["render",a],["__scopeId","data-v-4d9c871b"]]);var u=l},9642:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var s=n(6252),i=n(3577),r=["id"],a={class:"modal"},o=["textContent"],c={class:"body"};function l(e,t,n,l,u,d){return(0,s.wg)(),(0,s.iD)("div",{class:(0,i.C_)(["modal-container fade-in",{hidden:!u.isVisible}]),id:n.id,style:(0,i.j5)({"--z-index":d.zIndex}),onClick:t[2]||(t[2]=function(){return d.close&&d.close.apply(d,arguments)})},[(0,s._)("div",a,[(0,s._)("div",{class:"content",style:(0,i.j5)({"--width":n.width,"--height":n.height}),onClick:t[1]||(t[1]=function(e){return e.stopPropagation()})},[n.title?((0,s.wg)(),(0,s.iD)("div",{key:0,class:"header",textContent:(0,i.zw)(n.title)},null,8,o)):(0,s.kq)("",!0),(0,s._)("div",c,[(0,s.WI)(e.$slots,"default",{onModalClose:t[0]||(t[0]=function(){return d.close&&d.close.apply(d,arguments)})},void 0,!0)])],4)])],14,r)}var u=n(6347),d=(n(9653),{name:"Modal",emits:["close","open"],props:{id:{type:String},title:{type:String},width:{type:[Number,String]},height:{type:[Number,String]},visible:{type:Boolean,default:!1},timeout:{type:[Number,String]},level:{type:Number,default:1}},data:function(){return{timeoutId:void 0,prevVisible:this.visible,isVisible:this.visible}},computed:{zIndex:function(){return 500+this.level}},methods:{close:function(){this.prevVisible=this.isVisible,this.isVisible=!1},hide:function(){this.close()},show:function(){this.prevVisible=this.isVisible,this.isVisible=!0},toggle:function(){this.isVisible?this.close():this.show()}},mounted:function(){var e=this,t=this,n=function(e){e?t.$emit("open"):t.$emit("close"),t.isVisible=e};this.$watch((function(){return e.visible}),n),this.$watch((function(){return e.isVisible}),n)},updated:function(){if(this.prevVisible=this.isVisible,this.isVisible){var e,t=parseInt(getComputedStyle(this.$el).zIndex),n=[],s=(0,u.Z)(document.querySelectorAll(".modal-container:not(.hidden)"));try{for(s.s();!(e=s.n()).done;){var i=e.value,r=parseInt(getComputedStyle(i).zIndex);r>t?(t=r,n=[i]):r===t&&n.push(i)}}catch(o){s.e(o)}finally{s.f()}(n.indexOf(this.$el)<0||n.length>1)&&(this.$el.style.zIndex=t+1)}if(this.isVisible&&this.timeout&&!this.timeoutId){var a=function(e){return function(){e.close(),e.timeoutId=void 0}};this.timeoutId=setTimeout(a(this),0+this.timeout)}}}),f=n(3744);const p=(0,f.Z)(d,[["render",l],["__scopeId","data-v-010fadd6"]]);var h=p},7021:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var s=n(6252),i=n(9963),r=n(3577),a={class:"dropdown-container",ref:"container"},o=["title"],c=["textContent"],l=["id"];function u(e,t,n,u,d,f){return(0,s.wg)(),(0,s.iD)("div",a,[(0,s._)("button",{title:n.title,ref:"button",onClick:t[0]||(t[0]=(0,i.iM)((function(e){return f.toggle(e)}),["stop"]))},[n.iconClass?((0,s.wg)(),(0,s.iD)("i",{key:0,class:(0,r.C_)(["icon",n.iconClass])},null,2)):(0,s.kq)("",!0),n.text?((0,s.wg)(),(0,s.iD)("span",{key:1,class:"text",textContent:(0,r.zw)(n.text)},null,8,c)):(0,s.kq)("",!0)],8,o),(0,s._)("div",{class:(0,r.C_)(["dropdown fade-in",{hidden:!d.visible}]),id:n.id,ref:"dropdown"},[(0,s.WI)(e.$slots,"default",{},void 0,!0)],10,l)],512)}var d={name:"Dropdown",emits:["click"],props:{id:{type:String},items:{type:Array,default:function(){return[]}},iconClass:{type:String,default:"fa fa-ellipsis-h"},text:{type:String},title:{type:String}},data:function(){return{visible:!1}},methods:{documentClickHndl:function(e){if(this.visible){var t=e.target;while(t){if(!this.$refs.dropdown)break;if(t===this.$refs.dropdown.element)return;t=t.parentElement}this.close()}},close:function(){this.visible=!1,document.removeEventListener("click",this.documentClickHndl)},open:function(){var e=this;document.addEventListener("click",this.documentClickHndl),this.visible=!0,setTimeout((function(){var t=e.$refs.dropdown;t.style.left=0,t.style.top=parseFloat(getComputedStyle(e.$refs.button).height)+"px",t.getBoundingClientRect().left>window.innerWidth/2&&(t.style.left=-t.clientWidth+parseFloat(getComputedStyle(e.$refs.button).width)+"px"),t.getBoundingClientRect().top>window.innerHeight/2&&(t.style.top=-t.clientHeight+parseFloat(getComputedStyle(e.$refs.button).height)+"px")}),10)},toggle:function(e){e.stopPropagation(),this.$emit("click"),this.visible?this.close():this.open()}}},f=n(3744);const p=(0,f.Z)(d,[["render",u],["__scopeId","data-v-00fa59b4"]]);var h=p},455:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(6252),i=n(3577),r={key:0,class:"col-1 icon"},a=["textContent"];function o(e,t,n,o,c,l){return(0,s.wg)(),(0,s.iD)("div",{class:(0,i.C_)(["row item",n.itemClass]),onClick:t[0]||(t[0]=function(){return l.clicked&&l.clicked.apply(l,arguments)})},[n.iconClass?((0,s.wg)(),(0,s.iD)("div",r,[(0,s._)("i",{class:(0,i.C_)(n.iconClass)},null,2)])):(0,s.kq)("",!0),(0,s._)("div",{class:(0,i.C_)(["text",{"col-11":null!=n.iconClass}]),textContent:(0,i.zw)(n.text)},null,10,a)],2)}var c={name:"DropdownItem",props:{iconClass:{type:String},text:{type:String},disabled:{type:Boolean,default:!1},itemClass:{type:String}},methods:{clicked:function(e){this.$parent.$emit("click",e),this.$parent.visible=!1}}},l=n(3744);const u=(0,l.Z)(c,[["render",o],["__scopeId","data-v-e44d79c8"]]);var d=u},5392:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Ie}});var s=n(6252),i={class:"settings-container"},r={class:"col-8"},a=["selected"],o=["selected"],c={class:"col-4 pull-right"},l=(0,s._)("i",{class:"fa fa-plus"},null,-1),u=[l];function d(e,t,n,l,d,f){var p=(0,s.up)("Users"),h=(0,s.up)("Token");return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("header",null,[(0,s._)("div",r,[(0,s._)("select",{title:"View",onChange:t[0]||(t[0]=function(e){return d.selectedView=e.target.value})},[(0,s._)("option",{value:"users",selected:"users"===d.selectedView},"Users",8,a),(0,s._)("option",{value:"token",selected:"token"===d.selectedView},"Generate Token",8,o)],32)]),(0,s._)("div",c,["users"===d.selectedView?((0,s.wg)(),(0,s.iD)("button",{key:0,title:"Add User",onClick:t[1]||(t[1]=function(t){return e.$refs.usersView.$refs.addUserModal.show()})},u)):(0,s.kq)("",!0)])]),(0,s._)("main",null,["users"===d.selectedView?((0,s.wg)(),(0,s.j4)(p,{key:0,"session-token":d.sessionToken,"current-user":d.currentUser,ref:"usersView"},null,8,["session-token","current-user"])):"token"===d.selectedView?((0,s.wg)(),(0,s.j4)(h,{key:1,"session-token":d.sessionToken,"current-user":d.currentUser,ref:"tokenView"},null,8,["session-token","current-user"])):(0,s.kq)("",!0)])])}var f=n(8534),p=(n(5666),n(3577)),h=n(9963),m={class:"token-container"},g={class:"token-container"},v=(0,s.Uk)(" This is your generated token. Treat it carefully and do not share it with untrusted parties."),w=(0,s._)("br",null,null,-1),b=(0,s.Uk)(" Also, make sure to save it - it WILL NOT be displayed again. "),y=["textContent"],k={class:"body"},x={class:"description"},_=(0,s.Uk)("Generate a JWT authentication token that can be used for API calls to the "),C=(0,s.Uk)("/execute"),D=(0,s.Uk)(" endpoint."),I=(0,s._)("br",null,null,-1),S=(0,s._)("p",null,"You can include the token in your requests in any of the following ways:",-1),T=(0,s.Uk)("Specify it on the "),Z=(0,s.Uk)("Authorization: Bearer"),U=(0,s.Uk)(" header;"),R=(0,s.Uk)("Specify it on the "),P=(0,s.Uk)("X-Token"),M=(0,s.Uk)(" header;"),q=(0,s.Uk)("Specify it as a URL parameter: "),N=(0,s.Uk)("http://site:8008/execute?token=..."),$=(0,s.Uk)(";"),j=(0,s.Uk)("Specify it on the body of your JSON request: "),O=(0,s.Uk)('{"type":"request", "action", "...", "token":"..."}'),z=(0,s.Uk)("."),E=(0,s.Uk)(" Confirm your credentials in order to generate a new token. "),W={class:"form-container"},L=(0,s.Uk)(" Username "),A=["value"],V=(0,s._)("label",null,[(0,s.Uk)(" Password "),(0,s._)("input",{type:"password",name:"password"})],-1),H=(0,s._)("label",null,[(0,s.Uk)(" Token validity in days "),(0,s._)("input",{type:"text",name:"validityDays"}),(0,s._)("span",{class:"note"},[(0,s.Uk)(" Decimal values are also supported (e.g. "),(0,s._)("i",null,"0.5"),(0,s.Uk)(" to identify 6 hours). An empty or zero value means that the token has no expiry date. ")])],-1),F=(0,s._)("input",{type:"submit",value:"Generate token"},null,-1);function B(e,t,n,i,r,a){var o=(0,s.up)("Loading"),c=(0,s.up)("Modal"),l=(0,s.up)("tt");return(0,s.wg)(),(0,s.iD)("div",m,[r.loading?((0,s.wg)(),(0,s.j4)(o,{key:0})):(0,s.kq)("",!0),(0,s.Wm)(c,{ref:"tokenModal"},{default:(0,s.w5)((function(){return[(0,s._)("div",g,[(0,s._)("label",null,[v,w,b,(0,s._)("textarea",{class:"token",textContent:(0,p.zw)(r.token),onFocus:t[0]||(t[0]=function(){return a.onTokenSelect&&a.onTokenSelect.apply(a,arguments)})},null,40,y)])])]})),_:1},512),(0,s._)("div",k,[(0,s._)("div",x,[(0,s._)("p",null,[_,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[C]})),_:1}),D]),I,S,(0,s._)("ul",null,[(0,s._)("li",null,[T,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[Z]})),_:1}),U]),(0,s._)("li",null,[R,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[P]})),_:1}),M]),(0,s._)("li",null,[q,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[N]})),_:1}),$]),(0,s._)("li",null,[j,(0,s.Wm)(l,null,{default:(0,s.w5)((function(){return[O]})),_:1}),z])]),E]),(0,s._)("div",W,[(0,s._)("form",{onSubmit:t[1]||(t[1]=(0,h.iM)((function(){return a.generateToken&&a.generateToken.apply(a,arguments)}),["prevent"])),ref:"generateTokenForm"},[(0,s._)("label",null,[L,(0,s._)("input",{type:"text",name:"username",value:n.currentUser.username,disabled:""},null,8,A)]),V,H,F],544)])])])}n(1539),n(9714);var Y=n(9669),K=n.n(Y),G=n(1232),J=n(2628),X=n(9642),Q={name:"Token",components:{Modal:X.Z,Loading:G.Z},mixins:[J.Z],props:{currentUser:{type:Object,required:!0}},data:function(){return{loading:!1,token:null}},methods:{generateToken:function(e){var t=this;return(0,f.Z)(regeneratorRuntime.mark((function n(){var s,i,r,a,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=t.currentUser.username,r=e.target.password.value,a=null!==(s=e.target.validityDays)&&void 0!==s&&s.length?parseInt(e.target.validityDays.value):0,a||(a=null),t.loading=!0,n.prev=5,n.next=8,K().post("/auth",{username:i,password:r,expiry_days:a});case 8:t.token=n.sent.data.token,null!==(o=t.token)&&void 0!==o&&o.length&&t.$refs.tokenModal.show(),n.next=16;break;case 12:n.prev=12,n.t0=n["catch"](5),console.error(n.t0.toString()),t.notify({text:n.t0.toString(),error:!0});case 16:return n.prev=16,t.loading=!1,n.finish(16);case 19:case"end":return n.stop()}}),n,null,[[5,12,16,19]])})))()},onTokenSelect:function(e){e.target.select(),document.execCommand("copy"),this.notify({text:"Token copied to clipboard",image:{iconClass:"fa fa-check"}})}}},ee=n(3744);const te=(0,ee.Z)(Q,[["render",B]]);var ne=te,se=["disabled"],ie=["disabled"],re=["disabled"],ae=["disabled"],oe=["value"],ce=["disabled"],le=["disabled"],ue=["disabled"],de=["disabled"],fe={class:"body"},pe={class:"users-list"},he=["onClick"],me=["textContent"],ge={class:"actions pull-right col-4"};function ve(e,t,n,i,r,a){var o=(0,s.up)("Loading"),c=(0,s.up)("Modal"),l=(0,s.up)("DropdownItem"),u=(0,s.up)("Dropdown");return(0,s.wg)(),(0,s.iD)(s.HY,null,[r.loading?((0,s.wg)(),(0,s.j4)(o,{key:0})):(0,s.kq)("",!0),(0,s.Wm)(c,{ref:"addUserModal",title:"Add User"},{default:(0,s.w5)((function(){return[(0,s._)("form",{action:"#",method:"POST",ref:"addUserForm",onSubmit:t[0]||(t[0]=function(){return a.createUser&&a.createUser.apply(a,arguments)})},[(0,s._)("label",null,[(0,s._)("input",{type:"text",name:"username",placeholder:"Username",disabled:r.commandRunning},null,8,se)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"password",placeholder:"Password",disabled:r.commandRunning},null,8,ie)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"confirm_password",placeholder:"Confirm password",disabled:r.commandRunning},null,8,re)]),(0,s._)("input",{type:"submit",value:"Create User",disabled:r.commandRunning},null,8,ae)],544)]})),_:1},512),(0,s.Wm)(c,{ref:"changePasswordModal",title:"Change Password"},{default:(0,s.w5)((function(){return[(0,s._)("form",{action:"#",method:"POST",ref:"changePasswordForm",onSubmit:t[1]||(t[1]=function(){return a.changePassword&&a.changePassword.apply(a,arguments)})},[(0,s._)("label",null,[(0,s._)("input",{type:"text",name:"username",placeholder:"Username",value:r.selectedUser,disabled:"disabled"},null,8,oe)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"password",placeholder:"Current password",disabled:r.commandRunning},null,8,ce)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"new_password",placeholder:"New password",disabled:r.commandRunning},null,8,le)]),(0,s._)("label",null,[(0,s._)("input",{type:"password",name:"confirm_new_password",placeholder:"Confirm new password",disabled:r.commandRunning},null,8,ue)]),(0,s._)("input",{type:"submit",value:"Change Password",disabled:r.commandRunning},null,8,de)],544)]})),_:1},512),(0,s._)("div",fe,[(0,s._)("ul",pe,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)(r.users,(function(t){return(0,s.wg)(),(0,s.iD)("li",{key:t.user_id,class:"item user",onClick:function(e){return r.selectedUser=t.username}},[(0,s._)("div",{class:"name col-8",textContent:(0,p.zw)(t.username)},null,8,me),(0,s._)("div",ge,[(0,s.Wm)(u,{title:"User Actions","icon-class":"fa fa-cog"},{default:(0,s.w5)((function(){return[(0,s.Wm)(l,{text:"Change Password",disabled:r.commandRunning,"icon-class":"fa fa-key",onClick:function(n){r.selectedUser=t.username,e.$refs.changePasswordModal.show()}},null,8,["disabled","onClick"]),(0,s.Wm)(l,{text:"Delete User",disabled:r.commandRunning,"icon-class":"fa fa-trash",onClick:function(e){return a.deleteUser(t)}},null,8,["disabled","onClick"])]})),_:2},1024)])],8,he)})),128))])])],64)}var we=n(9584),be=(n(8309),n(7021)),ye=n(455),ke={name:"Users",components:{DropdownItem:ye.Z,Loading:G.Z,Modal:X.Z,Dropdown:be.Z},mixins:[J.Z],props:{sessionToken:{type:String,required:!0},currentUser:{type:Object,required:!0}},data:function(){return{users:[],commandRunning:!1,loading:!1,selectedUser:null}},methods:{refresh:function(){var e=this;return(0,f.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("user.get_users");case 4:e.users=t.sent;case 5:return t.prev=5,e.loading=!1,t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[1,,5,8]])})))()},createUser:function(e){var t=this;return(0,f.Z)(regeneratorRuntime.mark((function n(){var s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.preventDefault(),s=(0,we.Z)(t.$refs.addUserForm.querySelectorAll("input[name]")).reduce((function(e,t){return e[t.name]=t.value,e}),{}),s.password===s.confirm_password){n.next=5;break}return t.notify({title:"Unable to create user",text:"Please check that the passwords match",error:!0,image:{iconClass:"fas fa-times"}}),n.abrupt("return");case 5:return t.commandRunning=!0,n.prev=6,n.next=9,t.request("user.create_user",{username:s.username,password:s.password,session_token:t.sessionToken});case 9:return n.prev=9,t.commandRunning=!1,n.finish(9);case 12:return t.notify({text:"User "+s.username+" created",image:{iconClass:"fas fa-check"}}),t.$refs.addUserModal.close(),n.next=16,t.refresh();case 16:case"end":return n.stop()}}),n,null,[[6,,9,12]])})))()},changePassword:function(e){var t=this;return(0,f.Z)(regeneratorRuntime.mark((function n(){var s,i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.preventDefault(),s=(0,we.Z)(t.$refs.changePasswordForm.querySelectorAll("input[name]")).reduce((function(e,t){return e[t.name]=t.value,e}),{}),s.new_password===s.confirm_new_password){n.next=5;break}return t.notify({title:"Unable to update password",text:"Please check that the passwords match",error:!0,image:{iconClass:"fas fa-times"}}),n.abrupt("return");case 5:return t.commandRunning=!0,i=!1,n.prev=7,n.next=10,t.request("user.update_password",{username:s.username,old_password:s.password,new_password:s.new_password});case 10:i=n.sent;case 11:return n.prev=11,t.commandRunning=!1,n.finish(11);case 14:i?(t.$refs.changePasswordModal.close(),t.notify({text:"Password successfully updated",image:{iconClass:"fas fa-check"}})):t.notify({title:"Unable to update password",text:"The current password is incorrect",error:!0,image:{iconClass:"fas fa-times"}});case 15:case"end":return n.stop()}}),n,null,[[7,,11,14]])})))()},deleteUser:function(e){var t=this;return(0,f.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(confirm("Are you sure that you want to remove the user "+e.username+"?")){n.next=2;break}return n.abrupt("return");case 2:return t.commandRunning=!0,n.prev=3,n.next=6,t.request("user.delete_user",{username:e.username,session_token:t.sessionToken});case 6:return n.prev=6,t.commandRunning=!1,n.finish(6);case 9:return t.notify({text:"User "+e.username+" removed",image:{iconClass:"fas fa-check"}}),n.next=12,t.refresh();case 12:case"end":return n.stop()}}),n,null,[[3,,6,9]])})))()}},mounted:function(){this.refresh()}};const xe=(0,ee.Z)(ke,[["render",ve]]);var _e=xe,Ce={name:"Settings",components:{Users:_e,Token:ne},mixins:[J.Z],data:function(){return{selectedView:"users",currentUser:null,sessionToken:null}},methods:{refresh:function(){var e=this;return(0,f.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.sessionToken=e.getCookies()["session_token"],t.next=3,e.request("user.get_user_by_session",{session_token:e.sessionToken});case 3:e.currentUser=t.sent;case 4:case"end":return t.stop()}}),t)})))()}},mounted:function(){this.refresh()}};const De=(0,ee.Z)(Ce,[["render",d]]);var Ie=De},3379:function(e,t,n){var s={"./Camera/Index":[5528,5528],"./CameraAndroidIpcam/Index":[6739,6739],"./CameraCv/Index":[8184,5528,8184],"./CameraFfmpeg/Index":[5111,5528,5111],"./CameraGstreamer/Index":[699,5528,699],"./CameraIrMlx90640/Index":[9895,5528,9895],"./CameraPi/Index":[4548,5528,4548],"./Execute/Index":[7643,7643],"./Light/Index":[1406,1474,8938,1406],"./LightHue/Index":[3674,1474,8938,1406,3674],"./Media/Index":[4196,8938,8337,2285,779,4196],"./MediaMplayer/Index":[6509,8938,8337,2285,779,4196,6509],"./MediaMpv/Index":[5895,8938,8337,2285,779,4196,5895],"./MediaOmxplayer/Index":[9633,8938,8337,2285,779,4196,9633],"./MediaVlc/Index":[767,8938,8337,2285,779,4196,767],"./Music/Index":[5781,8938,8337,2285,6833],"./MusicMpd/Index":[2957,8938,8337,2285,6833,2957],"./MusicSnapcast/Index":[2790,1474,8938,2790],"./MusicSpotify/Index":[7196,8938,8337,2285,6833,7196],"./Rtorrent/Index":[2820,8337,779,6162,2820],"./Settings/Index":[5392],"./Sound/Index":[5193,5193],"./Switches/Index":[4276,4276],"./Switches/LightHue/Index":[2844,1474,6590,2844],"./Switches/Smartthings/Index":[9196,1474,6590,9196],"./Switches/SwitchTplink/Index":[3785,1474,6590,3785],"./Switches/SwitchWemo/Index":[5210,1474,6590,5210],"./Switches/Switchbot/Index":[9694,1474,6590,9694],"./Switches/SwitchbotBluetooth/Index":[9694,1474,6590,9694],"./Switches/ZigbeeMqtt/Index":[5466,1474,6590,5466],"./Switches/Zwave/Index":[7262,1474,6590,7262],"./Switches/ZwaveMqtt/Index":[2380,1474,6590,2380],"./Torrent/Index":[9299,8337,779,6162,9299],"./Tts/Index":[2466,4021,2466],"./TtsGoogle/Index":[1938,4021,1938],"./TvSamsungWs/Index":[615,615],"./ZigbeeMqtt/Index":[4604,1474,8938,4604],"./Zwave/Index":[6027,1474,8938,6849,6027],"./ZwaveMqtt/Index":[2362,1474,8938,6849,2362]};function i(e){if(!n.o(s,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=s[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(s)},i.id=3379,e.exports=i},6725:function(e,t,n){var s={"./Calendar/Index":[345,345],"./Camera/Index":[2346,2346],"./Component/Index":[5824,1474,8938,5824],"./DateTime/Index":[1595,9575,1595],"./DateTimeWeather/Index":[5779,1798,9575,5779],"./ImageCarousel/Index":[6003,1798,9575,6003],"./Music/Index":[6013,6013],"./Plugin/Index":[4826,4826],"./RssNews/Index":[7420,7420],"./Weather/Index":[1798,1798]};function i(e){if(!n.o(s,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=s[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(s)},i.id=6725,e.exports=i}},t={};function n(s){var i=t[s];if(void 0!==i)return i.exports;var r=t[s]={exports:{}};return e[s](r,r.exports,n),r.exports}n.m=e,function(){var e=[];n.O=function(t,s,i,r){if(!s){var a=1/0;for(u=0;u=r)&&Object.keys(n.O).every((function(e){return n.O[e](s[c])}))?s.splice(c--,1):(o=!1,r0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[s,i,r]}}(),function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}}(),function(){n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,s){return n.f[s](e,t),t}),[]))}}(),function(){n.u=function(e){return"static/js/"+e+"-legacy."+{345:"b2bdd619",615:"6fa21b8b",699:"f7552281",767:"aa1f607e",779:"b8595a78",1406:"41c0c47e",1474:"cd648f8f",1595:"ddcdc704",1798:"28cf3934",1938:"55546c0e",2285:"df615a6c",2346:"cc7ee826",2362:"017e03af",2380:"b3f2d86a",2466:"64778a75",2790:"df38f403",2820:"6e4e2d10",2844:"a6c67900",2957:"e1d14d10",3674:"c0844108",3785:"3401a917",4021:"56f5f27b",4196:"17260eed",4276:"9ed76a69",4548:"15ee26de",4604:"6d373d71",4826:"580eecfe",5111:"9aab8f5e",5193:"60b8c4f6",5210:"38d0da8d",5466:"112f0d2e",5528:"4c020c46",5779:"1c9b7d67",5824:"f18a2b68",5895:"1fb25060",6003:"0b667817",6013:"90c86f45",6027:"ad9b479d",6162:"c0ad6628",6509:"28c562ac",6590:"e9c70586",6739:"f05555d2",6833:"eceb69c4",6849:"880b0312",7196:"69f37439",7262:"53030e4c",7420:"9757ff05",7643:"cebc7792",8184:"7065c6d4",8337:"4e57bdc4",8938:"64d1bec5",9196:"b3f4bc1f",9299:"cb0ed629",9575:"2bc3a9be",9633:"9232f8cd",9694:"cdda9d87",9895:"0608fab6"}[e]+".js"}}(),function(){n.miniCssF=function(e){return"static/css/"+e+"."+{345:"eb043f5a",615:"6656c121",779:"1a239bc8",1406:"b63ad2b2",1474:"ab4985b3",1798:"b532c3ca",2285:"ad343290",2346:"f24a0a20",2380:"75b5142e",2790:"a1653085",2844:"7f6a6806",3785:"b5adda04",4021:"4f513146",4196:"3314409a",4276:"9dbaa82b",4604:"5f1175fd",4826:"56e4ed89",5193:"29293ae8",5210:"80934190",5466:"be31fc94",5528:"4bd6d3d8",5779:"bfbfba1d",5824:"1c47696a",6003:"44c25abf",6013:"dbd3d745",6162:"93bc56df",6590:"d33ad646",6739:"34948f0a",6833:"fb1de1e4",6849:"0108f611",7262:"6430c45c",7420:"e334e579",7643:"f93cd12e",8938:"fa662cd6",9196:"18a08689",9575:"f9aa11eb",9694:"b2bc76ee"}[e]+".css"}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="platypush:";n.l=function(s,i,r,a){if(e[s])e[s].push(i);else{var o,c;if(void 0!==r)for(var l=document.getElementsByTagName("script"),u=0;u\n \n \n \n \n\n \n\n\n\n\n\n\n","\n\n\n\n","\n\n\n\n","import { render } from \"./Notification.vue?vue&type=template&id=7646705e&scoped=true\"\nimport script from \"./Notification.vue?vue&type=script&lang=js\"\nexport * from \"./Notification.vue?vue&type=script&lang=js\"\n\nimport \"./Notification.vue?vue&type=style&index=0&id=7646705e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7646705e\"]])\n\nexport default __exports__","import { render } from \"./Notifications.vue?vue&type=template&id=6dc8bebc&scoped=true\"\nimport script from \"./Notifications.vue?vue&type=script&lang=js\"\nexport * from \"./Notifications.vue?vue&type=script&lang=js\"\n\nimport \"./Notifications.vue?vue&type=style&index=0&id=6dc8bebc&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6dc8bebc\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Events.vue?vue&type=template&id=26b9b70f\"\nimport script from \"./Events.vue?vue&type=script&lang=js\"\nexport * from \"./Events.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./VoiceAssistant.vue?vue&type=template&id=3f009270\"\nimport script from \"./VoiceAssistant.vue?vue&type=script&lang=js\"\nexport * from \"./VoiceAssistant.vue?vue&type=script&lang=js\"\n\nimport \"./VoiceAssistant.vue?vue&type=style&index=0&id=3f009270&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Pushbullet.vue?vue&type=template&id=bf9869d4\"\nimport script from \"./Pushbullet.vue?vue&type=script&lang=js\"\nexport * from \"./Pushbullet.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./App.vue?vue&type=template&id=fb956550\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\nimport \"./App.vue?vue&type=style&index=0&id=fb956550&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./Row.vue?vue&type=template&id=1b4663f2&scoped=true\"\nimport script from \"./Row.vue?vue&type=script&lang=js\"\nexport * from \"./Row.vue?vue&type=script&lang=js\"\n\nimport \"./Row.vue?vue&type=style&index=0&id=1b4663f2&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1b4663f2\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Widget.vue?vue&type=template&id=5df52982&scoped=true\"\nimport script from \"./Widget.vue?vue&type=script&lang=js\"\nexport * from \"./Widget.vue?vue&type=script&lang=js\"\n\nimport \"./Widget.vue?vue&type=style&index=0&id=5df52982&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5df52982\"]])\n\nexport default __exports__","import { render } from \"./Dashboard.vue?vue&type=template&id=cefcfdfc&scoped=true\"\nimport script from \"./Dashboard.vue?vue&type=script&lang=js\"\nexport * from \"./Dashboard.vue?vue&type=script&lang=js\"\n\nimport \"./Dashboard.vue?vue&type=style&index=0&id=cefcfdfc&lang=scss&scoped=true\"\nimport \"./Dashboard.vue?vue&type=style&index=1&id=cefcfdfc&lang=css\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-cefcfdfc\"]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./NotFound.vue?vue&type=template&id=49501f4d\"\nimport script from \"./NotFound.vue?vue&type=script&lang=js\"\nexport * from \"./NotFound.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Login.vue?vue&type=template&id=d32baf50\"\nimport script from \"./Login.vue?vue&type=script&lang=js\"\nexport * from \"./Login.vue?vue&type=script&lang=js\"\n\nimport \"./Login.vue?vue&type=style&index=0&id=d32baf50&lang=scss\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Register.vue?vue&type=template&id=1244b238\"\nimport script from \"./Register.vue?vue&type=script&lang=js\"\nexport * from \"./Register.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n\n\n\n","\n\n\n\n\n\n","import { render } from \"./Nav.vue?vue&type=template&id=093749c3&scoped=true\"\nimport script from \"./Nav.vue?vue&type=script&lang=js\"\nexport * from \"./Nav.vue?vue&type=script&lang=js\"\n\nimport \"./Nav.vue?vue&type=style&index=0&id=093749c3&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-093749c3\"]])\n\nexport default __exports__","import { render } from \"./Panel.vue?vue&type=template&id=5ec69f95&scoped=true\"\nimport script from \"./Panel.vue?vue&type=script&lang=js\"\nexport * from \"./Panel.vue?vue&type=script&lang=js\"\n\nimport \"./Panel.vue?vue&type=style&index=0&id=5ec69f95&lang=scss&scoped=true\"\nimport \"./Panel.vue?vue&type=style&index=1&id=5ec69f95&lang=css\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5ec69f95\"]])\n\nexport default __exports__","\n\n\n\n\n\n\n","import { render } from \"./Plugin.vue?vue&type=template&id=67571c94&scoped=true\"\nimport script from \"./Plugin.vue?vue&type=script&lang=js\"\nexport * from \"./Plugin.vue?vue&type=script&lang=js\"\n\nimport \"./Plugin.vue?vue&type=style&index=0&id=67571c94&lang=scss&scoped=true\"\nimport \"./Plugin.vue?vue&type=style&index=1&id=67571c94&lang=css\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-67571c94\"]])\n\nexport default __exports__","import { createWebHistory, createRouter } from \"vue-router\";\nimport Dashboard from \"@/views/Dashboard.vue\";\nimport NotFound from \"@/views/NotFound\";\nimport Login from \"@/views/Login\";\nimport Register from \"@/views/Register\";\nimport Panel from \"@/views/Panel\";\nimport Plugin from \"@/views/Plugin\";\n\nconst routes = [\n {\n path: \"/\",\n name: \"Panel\",\n component: Panel,\n },\n\n {\n path: \"/dashboard/:name\",\n name: \"Dashboard\",\n component: Dashboard,\n },\n\n {\n path: \"/plugin/:plugin\",\n name: \"Plugin\",\n component: Plugin,\n },\n\n {\n path: \"/login\",\n name: \"Login\",\n component: Login,\n },\n\n {\n path: \"/register\",\n name: \"Register\",\n component: Register,\n },\n\n {\n path: \"/:catchAll(.*)\",\n component: NotFound,\n },\n];\n\nconst router = createRouter({\n history: createWebHistory(),\n routes,\n});\n\nexport default router;\n","import { createApp } from 'vue'\nimport App from '@/App.vue'\nimport router from '@/router'\n\nconst app = createApp(App)\napp.config.globalProperties._config = window.config\napp.use(router).mount('#app')\n","\n\n","import script from \"./Api.vue?vue&type=script&lang=js\"\nexport * from \"./Api.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n","import script from \"./Cookies.vue?vue&type=script&lang=js\"\nexport * from \"./Cookies.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n","import script from \"./DateTime.vue?vue&type=script&lang=js\"\nexport * from \"./DateTime.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n","import script from \"./Events.vue?vue&type=script&lang=js\"\nexport * from \"./Events.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n","import script from \"./Notification.vue?vue&type=script&lang=js\"\nexport * from \"./Notification.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n","import script from \"./Screen.vue?vue&type=script&lang=js\"\nexport * from \"./Screen.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n","import script from \"./Types.vue?vue&type=script&lang=js\"\nexport * from \"./Types.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n","import script from \"./Utils.vue?vue&type=script&lang=js\"\nexport * from \"./Utils.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n","import { render } from \"./Loading.vue?vue&type=template&id=4d9c871b&scoped=true\"\nconst script = {}\n\nimport \"./Loading.vue?vue&type=style&index=0&id=4d9c871b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4d9c871b\"]])\n\nexport default __exports__","\n\n\n\n","import { render } from \"./Modal.vue?vue&type=template&id=010fadd6&scoped=true\"\nimport script from \"./Modal.vue?vue&type=script&lang=js\"\nexport * from \"./Modal.vue?vue&type=script&lang=js\"\n\nimport \"./Modal.vue?vue&type=style&index=0&id=010fadd6&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-010fadd6\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./Dropdown.vue?vue&type=template&id=00fa59b4&scoped=true\"\nimport script from \"./Dropdown.vue?vue&type=script&lang=js\"\nexport * from \"./Dropdown.vue?vue&type=script&lang=js\"\n\nimport \"./Dropdown.vue?vue&type=style&index=0&id=00fa59b4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-00fa59b4\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./DropdownItem.vue?vue&type=template&id=e44d79c8&scoped=true\"\nimport script from \"./DropdownItem.vue?vue&type=script&lang=js\"\nexport * from \"./DropdownItem.vue?vue&type=script&lang=js\"\n\nimport \"./DropdownItem.vue?vue&type=style&index=0&id=e44d79c8&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e44d79c8\"]])\n\nexport default __exports__","\n\n\n\n\n","