diff --git a/.gitignore b/.gitignore index bf32cdf..cc0b2a0 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ erl_crash.dump *.beam /config/*.secret.exs /assets/node_modules +.#* diff --git a/assets/js/app.js b/assets/js/app.js index 3c21c71..8c7dfb2 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -14,4 +14,7 @@ import "phoenix_html" // Import local files // // Local files can be imported directly using relative paths, for example: -import socket from "./socket" +import LiveSocket from "phoenix_live_view" + +const liveSocket = new LiveSocket("/live") +liveSocket.connect() diff --git a/assets/package-lock.json b/assets/package-lock.json index 95b82f4..82e679b 100644 --- a/assets/package-lock.json +++ b/assets/package-lock.json @@ -8,7 +8,7 @@ "integrity": "sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA==", "dev": true, "requires": { - "@babel/highlight": "^7.0.0" + "@babel/highlight": "7.5.0" } }, "@babel/core": { @@ -17,20 +17,20 @@ "integrity": "sha512-6Isr4X98pwXqHvtigw71CKgmhL1etZjPs5A67jL/w0TkLM9eqmFR40YrnJvEc1WnMZFsskjsmid8bHZyxKEAnw==", "dev": true, "requires": { - "@babel/code-frame": "^7.0.0", - "@babel/generator": "^7.5.0", - "@babel/helpers": "^7.5.0", - "@babel/parser": "^7.5.0", - "@babel/template": "^7.4.4", - "@babel/traverse": "^7.5.0", - "@babel/types": "^7.5.0", - "convert-source-map": "^1.1.0", - "debug": "^4.1.0", - "json5": "^2.1.0", - "lodash": "^4.17.11", - "resolve": "^1.3.2", - "semver": "^5.4.1", - "source-map": "^0.5.0" + "@babel/code-frame": "7.0.0", + "@babel/generator": "7.5.0", + "@babel/helpers": "7.5.1", + "@babel/parser": "7.5.0", + "@babel/template": "7.4.4", + "@babel/traverse": "7.5.0", + "@babel/types": "7.5.0", + "convert-source-map": "1.6.0", + "debug": "4.1.1", + "json5": "2.1.0", + "lodash": "4.17.15", + "resolve": "1.11.1", + "semver": "5.7.0", + "source-map": "0.5.7" } }, "@babel/generator": { @@ -39,11 +39,11 @@ "integrity": "sha512-1TTVrt7J9rcG5PMjvO7VEG3FrEoEJNHxumRq66GemPmzboLWtIjjcJgk8rokuAS7IiRSpgVSu5Vb9lc99iJkOA==", "dev": true, "requires": { - "@babel/types": "^7.5.0", - "jsesc": "^2.5.1", - "lodash": "^4.17.11", - "source-map": "^0.5.0", - "trim-right": "^1.0.1" + "@babel/types": "7.5.0", + "jsesc": "2.5.2", + "lodash": "4.17.15", + "source-map": "0.5.7", + "trim-right": "1.0.1" } }, "@babel/helper-annotate-as-pure": { @@ -52,7 +52,7 @@ "integrity": "sha512-3UYcJUj9kvSLbLbUIfQTqzcy5VX7GRZ/CCDrnOaZorFFM01aXp1+GJwuFGV4NDDoAS+mOUyHcO6UD/RfqOks3Q==", "dev": true, "requires": { - "@babel/types": "^7.0.0" + "@babel/types": "7.5.0" } }, "@babel/helper-builder-binary-assignment-operator-visitor": { @@ -61,8 +61,8 @@ "integrity": "sha512-qNSR4jrmJ8M1VMM9tibvyRAHXQs2PmaksQF7c1CGJNipfe3D8p+wgNwgso/P2A2r2mdgBWAXljNWR0QRZAMW8w==", "dev": true, "requires": { - "@babel/helper-explode-assignable-expression": "^7.1.0", - "@babel/types": "^7.0.0" + "@babel/helper-explode-assignable-expression": "7.1.0", + "@babel/types": "7.5.0" } }, "@babel/helper-call-delegate": { @@ -71,9 +71,9 @@ "integrity": "sha512-l79boDFJ8S1c5hvQvG+rc+wHw6IuH7YldmRKsYtpbawsxURu/paVy57FZMomGK22/JckepaikOkY0MoAmdyOlQ==", "dev": true, "requires": { - "@babel/helper-hoist-variables": "^7.4.4", - "@babel/traverse": "^7.4.4", - "@babel/types": "^7.4.4" + "@babel/helper-hoist-variables": "7.4.4", + "@babel/traverse": "7.5.0", + "@babel/types": "7.5.0" } }, "@babel/helper-define-map": { @@ -82,9 +82,9 @@ "integrity": "sha512-IX3Ln8gLhZpSuqHJSnTNBWGDE9kdkTEWl21A/K7PQ00tseBwbqCHTvNLHSBd9M0R5rER4h5Rsvj9vw0R5SieBg==", "dev": true, "requires": { - "@babel/helper-function-name": "^7.1.0", - "@babel/types": "^7.4.4", - "lodash": "^4.17.11" + "@babel/helper-function-name": "7.1.0", + "@babel/types": "7.5.0", + "lodash": "4.17.15" } }, "@babel/helper-explode-assignable-expression": { @@ -93,8 +93,8 @@ "integrity": "sha512-NRQpfHrJ1msCHtKjbzs9YcMmJZOg6mQMmGRB+hbamEdG5PNpaSm95275VD92DvJKuyl0s2sFiDmMZ+EnnvufqA==", "dev": true, "requires": { - "@babel/traverse": "^7.1.0", - "@babel/types": "^7.0.0" + "@babel/traverse": "7.5.0", + "@babel/types": "7.5.0" } }, "@babel/helper-function-name": { @@ -103,9 +103,9 @@ "integrity": "sha512-A95XEoCpb3TO+KZzJ4S/5uW5fNe26DjBGqf1o9ucyLyCmi1dXq/B3c8iaWTfBk3VvetUxl16e8tIrd5teOCfGw==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.0.0", - "@babel/template": "^7.1.0", - "@babel/types": "^7.0.0" + "@babel/helper-get-function-arity": "7.0.0", + "@babel/template": "7.4.4", + "@babel/types": "7.5.0" } }, "@babel/helper-get-function-arity": { @@ -114,7 +114,7 @@ "integrity": "sha512-r2DbJeg4svYvt3HOS74U4eWKsUAMRH01Z1ds1zx8KNTPtpTL5JAsdFv8BNyOpVqdFhHkkRDIg5B4AsxmkjAlmQ==", "dev": true, "requires": { - "@babel/types": "^7.0.0" + "@babel/types": "7.5.0" } }, "@babel/helper-hoist-variables": { @@ -123,7 +123,7 @@ "integrity": "sha512-VYk2/H/BnYbZDDg39hr3t2kKyifAm1W6zHRfhx8jGjIHpQEBv9dry7oQ2f3+J703TLu69nYdxsovl0XYfcnK4w==", "dev": true, "requires": { - "@babel/types": "^7.4.4" + "@babel/types": "7.5.0" } }, "@babel/helper-member-expression-to-functions": { @@ -132,7 +132,7 @@ "integrity": "sha512-avo+lm/QmZlv27Zsi0xEor2fKcqWG56D5ae9dzklpIaY7cQMK5N8VSpaNVPPagiqmy7LrEjK1IWdGMOqPu5csg==", "dev": true, "requires": { - "@babel/types": "^7.0.0" + "@babel/types": "7.5.0" } }, "@babel/helper-module-imports": { @@ -141,7 +141,7 @@ "integrity": "sha512-aP/hlLq01DWNEiDg4Jn23i+CXxW/owM4WpDLFUbpjxe4NS3BhLVZQ5i7E0ZrxuQ/vwekIeciyamgB1UIYxxM6A==", "dev": true, "requires": { - "@babel/types": "^7.0.0" + "@babel/types": "7.5.0" } }, "@babel/helper-module-transforms": { @@ -150,12 +150,12 @@ "integrity": "sha512-3Z1yp8TVQf+B4ynN7WoHPKS8EkdTbgAEy0nU0rs/1Kw4pDgmvYH3rz3aI11KgxKCba2cn7N+tqzV1mY2HMN96w==", "dev": true, "requires": { - "@babel/helper-module-imports": "^7.0.0", - "@babel/helper-simple-access": "^7.1.0", - "@babel/helper-split-export-declaration": "^7.4.4", - "@babel/template": "^7.4.4", - "@babel/types": "^7.4.4", - "lodash": "^4.17.11" + "@babel/helper-module-imports": "7.0.0", + "@babel/helper-simple-access": "7.1.0", + "@babel/helper-split-export-declaration": "7.4.4", + "@babel/template": "7.4.4", + "@babel/types": "7.5.0", + "lodash": "4.17.15" } }, "@babel/helper-optimise-call-expression": { @@ -164,7 +164,7 @@ "integrity": "sha512-u8nd9NQePYNQV8iPWu/pLLYBqZBa4ZaY1YWRFMuxrid94wKI1QNt67NEZ7GAe5Kc/0LLScbim05xZFWkAdrj9g==", "dev": true, "requires": { - "@babel/types": "^7.0.0" + "@babel/types": "7.5.0" } }, "@babel/helper-plugin-utils": { @@ -179,7 +179,7 @@ "integrity": "sha512-Y5nuB/kESmR3tKjU8Nkn1wMGEx1tjJX076HBMeL3XLQCu6vA/YRzuTW0bbb+qRnXvQGn+d6Rx953yffl8vEy7Q==", "dev": true, "requires": { - "lodash": "^4.17.11" + "lodash": "4.17.15" } }, "@babel/helper-remap-async-to-generator": { @@ -188,11 +188,11 @@ "integrity": "sha512-3fOK0L+Fdlg8S5al8u/hWE6vhufGSn0bN09xm2LXMy//REAF8kDCrYoOBKYmA8m5Nom+sV9LyLCwrFynA8/slg==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.0.0", - "@babel/helper-wrap-function": "^7.1.0", - "@babel/template": "^7.1.0", - "@babel/traverse": "^7.1.0", - "@babel/types": "^7.0.0" + "@babel/helper-annotate-as-pure": "7.0.0", + "@babel/helper-wrap-function": "7.2.0", + "@babel/template": "7.4.4", + "@babel/traverse": "7.5.0", + "@babel/types": "7.5.0" } }, "@babel/helper-replace-supers": { @@ -201,10 +201,10 @@ "integrity": "sha512-04xGEnd+s01nY1l15EuMS1rfKktNF+1CkKmHoErDppjAAZL+IUBZpzT748x262HF7fibaQPhbvWUl5HeSt1EXg==", "dev": true, "requires": { - "@babel/helper-member-expression-to-functions": "^7.0.0", - "@babel/helper-optimise-call-expression": "^7.0.0", - "@babel/traverse": "^7.4.4", - "@babel/types": "^7.4.4" + "@babel/helper-member-expression-to-functions": "7.0.0", + "@babel/helper-optimise-call-expression": "7.0.0", + "@babel/traverse": "7.5.0", + "@babel/types": "7.5.0" } }, "@babel/helper-simple-access": { @@ -213,8 +213,8 @@ "integrity": "sha512-Vk+78hNjRbsiu49zAPALxTb+JUQCz1aolpd8osOF16BGnLtseD21nbHgLPGUwrXEurZgiCOUmvs3ExTu4F5x6w==", "dev": true, "requires": { - "@babel/template": "^7.1.0", - "@babel/types": "^7.0.0" + "@babel/template": "7.4.4", + "@babel/types": "7.5.0" } }, "@babel/helper-split-export-declaration": { @@ -223,7 +223,7 @@ "integrity": "sha512-Ro/XkzLf3JFITkW6b+hNxzZ1n5OQ80NvIUdmHspih1XAhtN3vPTuUFT4eQnela+2MaZ5ulH+iyP513KJrxbN7Q==", "dev": true, "requires": { - "@babel/types": "^7.4.4" + "@babel/types": "7.5.0" } }, "@babel/helper-wrap-function": { @@ -232,10 +232,10 @@ "integrity": "sha512-o9fP1BZLLSrYlxYEYyl2aS+Flun5gtjTIG8iln+XuEzQTs0PLagAGSXUcqruJwD5fM48jzIEggCKpIfWTcR7pQ==", "dev": true, "requires": { - "@babel/helper-function-name": "^7.1.0", - "@babel/template": "^7.1.0", - "@babel/traverse": "^7.1.0", - "@babel/types": "^7.2.0" + "@babel/helper-function-name": "7.1.0", + "@babel/template": "7.4.4", + "@babel/traverse": "7.5.0", + "@babel/types": "7.5.0" } }, "@babel/helpers": { @@ -244,9 +244,9 @@ "integrity": "sha512-rVOTDv8sH8kNI72Unenusxw6u+1vEepZgLxeV+jHkhsQlYhzVhzL1EpfoWT7Ub3zpWSv2WV03V853dqsnyoQzA==", "dev": true, "requires": { - "@babel/template": "^7.4.4", - "@babel/traverse": "^7.5.0", - "@babel/types": "^7.5.0" + "@babel/template": "7.4.4", + "@babel/traverse": "7.5.0", + "@babel/types": "7.5.0" } }, "@babel/highlight": { @@ -255,9 +255,9 @@ "integrity": "sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ==", "dev": true, "requires": { - "chalk": "^2.0.0", - "esutils": "^2.0.2", - "js-tokens": "^4.0.0" + "chalk": "2.4.2", + "esutils": "2.0.2", + "js-tokens": "4.0.0" } }, "@babel/parser": { @@ -272,9 +272,9 @@ "integrity": "sha512-+Dfo/SCQqrwx48ptLVGLdE39YtWRuKc/Y9I5Fy0P1DDBB9lsAHpjcEJQt+4IifuSOSTLBKJObJqMvaO1pIE8LQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-remap-async-to-generator": "^7.1.0", - "@babel/plugin-syntax-async-generators": "^7.2.0" + "@babel/helper-plugin-utils": "7.0.0", + "@babel/helper-remap-async-to-generator": "7.1.0", + "@babel/plugin-syntax-async-generators": "7.2.0" } }, "@babel/plugin-proposal-dynamic-import": { @@ -283,8 +283,8 @@ "integrity": "sha512-x/iMjggsKTFHYC6g11PL7Qy58IK8H5zqfm9e6hu4z1iH2IRyAp9u9dL80zA6R76yFovETFLKz2VJIC2iIPBuFw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-syntax-dynamic-import": "^7.2.0" + "@babel/helper-plugin-utils": "7.0.0", + "@babel/plugin-syntax-dynamic-import": "7.2.0" } }, "@babel/plugin-proposal-json-strings": { @@ -293,8 +293,8 @@ "integrity": "sha512-MAFV1CA/YVmYwZG0fBQyXhmj0BHCB5egZHCKWIFVv/XCxAeVGIHfos3SwDck4LvCllENIAg7xMKOG5kH0dzyUg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-syntax-json-strings": "^7.2.0" + "@babel/helper-plugin-utils": "7.0.0", + "@babel/plugin-syntax-json-strings": "7.2.0" } }, "@babel/plugin-proposal-object-rest-spread": { @@ -303,8 +303,8 @@ "integrity": "sha512-PVGXx5LYHcT7L4MdoE+rM5uq68IKlvU9lljVQ4OXY6aUEnGvezcGbM4VNY57Ug+3R2Zg/nYHlEdiWoIBoRA0mw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-syntax-object-rest-spread": "^7.2.0" + "@babel/helper-plugin-utils": "7.0.0", + "@babel/plugin-syntax-object-rest-spread": "7.2.0" } }, "@babel/plugin-proposal-optional-catch-binding": { @@ -313,8 +313,8 @@ "integrity": "sha512-mgYj3jCcxug6KUcX4OBoOJz3CMrwRfQELPQ5560F70YQUBZB7uac9fqaWamKR1iWUzGiK2t0ygzjTScZnVz75g==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-syntax-optional-catch-binding": "^7.2.0" + "@babel/helper-plugin-utils": "7.0.0", + "@babel/plugin-syntax-optional-catch-binding": "7.2.0" } }, "@babel/plugin-proposal-unicode-property-regex": { @@ -323,9 +323,9 @@ "integrity": "sha512-j1NwnOqMG9mFUOH58JTFsA/+ZYzQLUZ/drqWUqxCYLGeu2JFZL8YrNC9hBxKmWtAuOCHPcRpgv7fhap09Fb4kA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-regex": "^7.4.4", - "regexpu-core": "^4.5.4" + "@babel/helper-plugin-utils": "7.0.0", + "@babel/helper-regex": "7.4.4", + "regexpu-core": "4.5.4" } }, "@babel/plugin-syntax-async-generators": { @@ -334,7 +334,7 @@ "integrity": "sha512-1ZrIRBv2t0GSlcwVoQ6VgSLpLgiN/FVQUzt9znxo7v2Ov4jJrs8RY8tv0wvDmFN3qIdMKWrmMMW6yZ0G19MfGg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-syntax-dynamic-import": { @@ -343,7 +343,7 @@ "integrity": "sha512-mVxuJ0YroI/h/tbFTPGZR8cv6ai+STMKNBq0f8hFxsxWjl94qqhsb+wXbpNMDPU3cfR1TIsVFzU3nXyZMqyK4w==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-syntax-json-strings": { @@ -352,7 +352,7 @@ "integrity": "sha512-5UGYnMSLRE1dqqZwug+1LISpA403HzlSfsg6P9VXU6TBjcSHeNlw4DxDx7LgpF+iKZoOG/+uzqoRHTdcUpiZNg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-syntax-object-rest-spread": { @@ -361,7 +361,7 @@ "integrity": "sha512-t0JKGgqk2We+9may3t0xDdmneaXmyxq0xieYcKHxIsrJO64n1OiMWNUtc5gQK1PA0NpdCRrtZp4z+IUaKugrSA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-syntax-optional-catch-binding": { @@ -370,7 +370,7 @@ "integrity": "sha512-bDe4xKNhb0LI7IvZHiA13kff0KEfaGX/Hv4lMA9+7TEc63hMNvfKo6ZFpXhKuEp+II/q35Gc4NoMeDZyaUbj9w==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-arrow-functions": { @@ -379,7 +379,7 @@ "integrity": "sha512-ER77Cax1+8/8jCB9fo4Ud161OZzWN5qawi4GusDuRLcDbDG+bIGYY20zb2dfAFdTRGzrfq2xZPvF0R64EHnimg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-async-to-generator": { @@ -388,9 +388,9 @@ "integrity": "sha512-mqvkzwIGkq0bEF1zLRRiTdjfomZJDV33AH3oQzHVGkI2VzEmXLpKKOBvEVaFZBJdN0XTyH38s9j/Kiqr68dggg==", "dev": true, "requires": { - "@babel/helper-module-imports": "^7.0.0", - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-remap-async-to-generator": "^7.1.0" + "@babel/helper-module-imports": "7.0.0", + "@babel/helper-plugin-utils": "7.0.0", + "@babel/helper-remap-async-to-generator": "7.1.0" } }, "@babel/plugin-transform-block-scoped-functions": { @@ -399,7 +399,7 @@ "integrity": "sha512-ntQPR6q1/NKuphly49+QiQiTN0O63uOwjdD6dhIjSWBI5xlrbUFh720TIpzBhpnrLfv2tNH/BXvLIab1+BAI0w==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-block-scoping": { @@ -408,8 +408,8 @@ "integrity": "sha512-jkTUyWZcTrwxu5DD4rWz6rDB5Cjdmgz6z7M7RLXOJyCUkFBawssDGcGh8M/0FTSB87avyJI1HsTwUXp9nKA1PA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "lodash": "^4.17.11" + "@babel/helper-plugin-utils": "7.0.0", + "lodash": "4.17.15" } }, "@babel/plugin-transform-classes": { @@ -418,14 +418,14 @@ "integrity": "sha512-/e44eFLImEGIpL9qPxSRat13I5QNRgBLu2hOQJCF7VLy/otSM/sypV1+XaIw5+502RX/+6YaSAPmldk+nhHDPw==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.0.0", - "@babel/helper-define-map": "^7.4.4", - "@babel/helper-function-name": "^7.1.0", - "@babel/helper-optimise-call-expression": "^7.0.0", - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-replace-supers": "^7.4.4", - "@babel/helper-split-export-declaration": "^7.4.4", - "globals": "^11.1.0" + "@babel/helper-annotate-as-pure": "7.0.0", + "@babel/helper-define-map": "7.4.4", + "@babel/helper-function-name": "7.1.0", + "@babel/helper-optimise-call-expression": "7.0.0", + "@babel/helper-plugin-utils": "7.0.0", + "@babel/helper-replace-supers": "7.4.4", + "@babel/helper-split-export-declaration": "7.4.4", + "globals": "11.12.0" } }, "@babel/plugin-transform-computed-properties": { @@ -434,7 +434,7 @@ "integrity": "sha512-kP/drqTxY6Xt3NNpKiMomfgkNn4o7+vKxK2DDKcBG9sHj51vHqMBGy8wbDS/J4lMxnqs153/T3+DmCEAkC5cpA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-destructuring": { @@ -443,7 +443,7 @@ "integrity": "sha512-YbYgbd3TryYYLGyC7ZR+Tq8H/+bCmwoaxHfJHupom5ECstzbRLTch6gOQbhEY9Z4hiCNHEURgq06ykFv9JZ/QQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-dotall-regex": { @@ -452,9 +452,9 @@ "integrity": "sha512-P05YEhRc2h53lZDjRPk/OektxCVevFzZs2Gfjd545Wde3k+yFDbXORgl2e0xpbq8mLcKJ7Idss4fAg0zORN/zg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-regex": "^7.4.4", - "regexpu-core": "^4.5.4" + "@babel/helper-plugin-utils": "7.0.0", + "@babel/helper-regex": "7.4.4", + "regexpu-core": "4.5.4" } }, "@babel/plugin-transform-duplicate-keys": { @@ -463,7 +463,7 @@ "integrity": "sha512-igcziksHizyQPlX9gfSjHkE2wmoCH3evvD2qR5w29/Dk0SMKE/eOI7f1HhBdNhR/zxJDqrgpoDTq5YSLH/XMsQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-exponentiation-operator": { @@ -472,8 +472,8 @@ "integrity": "sha512-umh4hR6N7mu4Elq9GG8TOu9M0bakvlsREEC+ialrQN6ABS4oDQ69qJv1VtR3uxlKMCQMCvzk7vr17RHKcjx68A==", "dev": true, "requires": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.1.0", - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-builder-binary-assignment-operator-visitor": "7.1.0", + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-for-of": { @@ -482,7 +482,7 @@ "integrity": "sha512-9T/5Dlr14Z9TIEXLXkt8T1DU7F24cbhwhMNUziN3hB1AXoZcdzPcTiKGRn/6iOymDqtTKWnr/BtRKN9JwbKtdQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-function-name": { @@ -491,8 +491,8 @@ "integrity": "sha512-iU9pv7U+2jC9ANQkKeNF6DrPy4GBa4NWQtl6dHB4Pb3izX2JOEvDTFarlNsBj/63ZEzNNIAMs3Qw4fNCcSOXJA==", "dev": true, "requires": { - "@babel/helper-function-name": "^7.1.0", - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-function-name": "7.1.0", + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-literals": { @@ -501,7 +501,7 @@ "integrity": "sha512-2ThDhm4lI4oV7fVQ6pNNK+sx+c/GM5/SaML0w/r4ZB7sAneD/piDJtwdKlNckXeyGK7wlwg2E2w33C/Hh+VFCg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-member-expression-literals": { @@ -510,7 +510,7 @@ "integrity": "sha512-HiU3zKkSU6scTidmnFJ0bMX8hz5ixC93b4MHMiYebmk2lUVNGOboPsqQvx5LzooihijUoLR/v7Nc1rbBtnc7FA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-modules-amd": { @@ -519,9 +519,9 @@ "integrity": "sha512-n20UsQMKnWrltocZZm24cRURxQnWIvsABPJlw/fvoy9c6AgHZzoelAIzajDHAQrDpuKFFPPcFGd7ChsYuIUMpg==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.1.0", - "@babel/helper-plugin-utils": "^7.0.0", - "babel-plugin-dynamic-import-node": "^2.3.0" + "@babel/helper-module-transforms": "7.4.4", + "@babel/helper-plugin-utils": "7.0.0", + "babel-plugin-dynamic-import-node": "2.3.0" } }, "@babel/plugin-transform-modules-commonjs": { @@ -530,10 +530,10 @@ "integrity": "sha512-xmHq0B+ytyrWJvQTc5OWAC4ii6Dhr0s22STOoydokG51JjWhyYo5mRPXoi+ZmtHQhZZwuXNN+GG5jy5UZZJxIQ==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.4.4", - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-simple-access": "^7.1.0", - "babel-plugin-dynamic-import-node": "^2.3.0" + "@babel/helper-module-transforms": "7.4.4", + "@babel/helper-plugin-utils": "7.0.0", + "@babel/helper-simple-access": "7.1.0", + "babel-plugin-dynamic-import-node": "2.3.0" } }, "@babel/plugin-transform-modules-systemjs": { @@ -542,9 +542,9 @@ "integrity": "sha512-Q2m56tyoQWmuNGxEtUyeEkm6qJYFqs4c+XyXH5RAuYxObRNz9Zgj/1g2GMnjYp2EUyEy7YTrxliGCXzecl/vJg==", "dev": true, "requires": { - "@babel/helper-hoist-variables": "^7.4.4", - "@babel/helper-plugin-utils": "^7.0.0", - "babel-plugin-dynamic-import-node": "^2.3.0" + "@babel/helper-hoist-variables": "7.4.4", + "@babel/helper-plugin-utils": "7.0.0", + "babel-plugin-dynamic-import-node": "2.3.0" } }, "@babel/plugin-transform-modules-umd": { @@ -553,8 +553,8 @@ "integrity": "sha512-BV3bw6MyUH1iIsGhXlOK6sXhmSarZjtJ/vMiD9dNmpY8QXFFQTj+6v92pcfy1iqa8DeAfJFwoxcrS/TUZda6sw==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.1.0", - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-module-transforms": "7.4.4", + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-named-capturing-groups-regex": { @@ -563,7 +563,7 @@ "integrity": "sha512-z7+2IsWafTBbjNsOxU/Iv5CvTJlr5w4+HGu1HovKYTtgJ362f7kBcQglkfmlspKKZ3bgrbSGvLfNx++ZJgCWsg==", "dev": true, "requires": { - "regexp-tree": "^0.1.6" + "regexp-tree": "0.1.11" } }, "@babel/plugin-transform-new-target": { @@ -572,7 +572,7 @@ "integrity": "sha512-r1z3T2DNGQwwe2vPGZMBNjioT2scgWzK9BCnDEh+46z8EEwXBq24uRzd65I7pjtugzPSj921aM15RpESgzsSuA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-object-super": { @@ -581,8 +581,8 @@ "integrity": "sha512-VMyhPYZISFZAqAPVkiYb7dUe2AsVi2/wCT5+wZdsNO31FojQJa9ns40hzZ6U9f50Jlq4w6qwzdBB2uwqZ00ebg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-replace-supers": "^7.1.0" + "@babel/helper-plugin-utils": "7.0.0", + "@babel/helper-replace-supers": "7.4.4" } }, "@babel/plugin-transform-parameters": { @@ -591,9 +591,9 @@ "integrity": "sha512-oMh5DUO1V63nZcu/ZVLQFqiihBGo4OpxJxR1otF50GMeCLiRx5nUdtokd+u9SuVJrvvuIh9OosRFPP4pIPnwmw==", "dev": true, "requires": { - "@babel/helper-call-delegate": "^7.4.4", - "@babel/helper-get-function-arity": "^7.0.0", - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-call-delegate": "7.4.4", + "@babel/helper-get-function-arity": "7.0.0", + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-property-literals": { @@ -602,7 +602,7 @@ "integrity": "sha512-9q7Dbk4RhgcLp8ebduOpCbtjh7C0itoLYHXd9ueASKAG/is5PQtMR5VJGka9NKqGhYEGn5ITahd4h9QeBMylWQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-regenerator": { @@ -611,7 +611,7 @@ "integrity": "sha512-gBKRh5qAaCWntnd09S8QC7r3auLCqq5DI6O0DlfoyDjslSBVqBibrMdsqO+Uhmx3+BlOmE/Kw1HFxmGbv0N9dA==", "dev": true, "requires": { - "regenerator-transform": "^0.14.0" + "regenerator-transform": "0.14.0" } }, "@babel/plugin-transform-reserved-words": { @@ -620,7 +620,7 @@ "integrity": "sha512-fz43fqW8E1tAB3DKF19/vxbpib1fuyCwSPE418ge5ZxILnBhWyhtPgz8eh1RCGGJlwvksHkyxMxh0eenFi+kFw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-shorthand-properties": { @@ -629,7 +629,7 @@ "integrity": "sha512-QP4eUM83ha9zmYtpbnyjTLAGKQritA5XW/iG9cjtuOI8s1RuL/3V6a3DeSHfKutJQ+ayUfeZJPcnCYEQzaPQqg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-spread": { @@ -638,7 +638,7 @@ "integrity": "sha512-KWfky/58vubwtS0hLqEnrWJjsMGaOeSBn90Ezn5Jeg9Z8KKHmELbP1yGylMlm5N6TPKeY9A2+UaSYLdxahg01w==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-sticky-regex": { @@ -647,8 +647,8 @@ "integrity": "sha512-KKYCoGaRAf+ckH8gEL3JHUaFVyNHKe3ASNsZ+AlktgHevvxGigoIttrEJb8iKN03Q7Eazlv1s6cx2B2cQ3Jabw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-regex": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0", + "@babel/helper-regex": "7.4.4" } }, "@babel/plugin-transform-template-literals": { @@ -657,8 +657,8 @@ "integrity": "sha512-mQrEC4TWkhLN0z8ygIvEL9ZEToPhG5K7KDW3pzGqOfIGZ28Jb0POUkeWcoz8HnHvhFy6dwAT1j8OzqN8s804+g==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.0.0", - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-annotate-as-pure": "7.0.0", + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-typeof-symbol": { @@ -667,7 +667,7 @@ "integrity": "sha512-2LNhETWYxiYysBtrBTqL8+La0jIoQQnIScUJc74OYvUGRmkskNY4EzLCnjHBzdmb38wqtTaixpo1NctEcvMDZw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-plugin-utils": "7.0.0" } }, "@babel/plugin-transform-unicode-regex": { @@ -676,9 +676,9 @@ "integrity": "sha512-il+/XdNw01i93+M9J9u4T7/e/Ue/vWfNZE4IRUQjplu2Mqb/AFTDimkw2tdEdSH50wuQXZAbXSql0UphQke+vA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-regex": "^7.4.4", - "regexpu-core": "^4.5.4" + "@babel/helper-plugin-utils": "7.0.0", + "@babel/helper-regex": "7.4.4", + "regexpu-core": "4.5.4" } }, "@babel/preset-env": { @@ -687,56 +687,56 @@ "integrity": "sha512-/5oQ7cYg+6sH9Dt9yx5IiylnLPiUdyMHl5y+K0mKVNiW2wJ7FpU5bg8jKcT8PcCbxdYzfv6OuC63jLEtMuRSmQ==", "dev": true, "requires": { - "@babel/helper-module-imports": "^7.0.0", - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-proposal-async-generator-functions": "^7.2.0", - "@babel/plugin-proposal-dynamic-import": "^7.5.0", - "@babel/plugin-proposal-json-strings": "^7.2.0", - "@babel/plugin-proposal-object-rest-spread": "^7.5.0", - "@babel/plugin-proposal-optional-catch-binding": "^7.2.0", - "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", - "@babel/plugin-syntax-async-generators": "^7.2.0", - "@babel/plugin-syntax-dynamic-import": "^7.2.0", - "@babel/plugin-syntax-json-strings": "^7.2.0", - "@babel/plugin-syntax-object-rest-spread": "^7.2.0", - "@babel/plugin-syntax-optional-catch-binding": "^7.2.0", - "@babel/plugin-transform-arrow-functions": "^7.2.0", - "@babel/plugin-transform-async-to-generator": "^7.5.0", - "@babel/plugin-transform-block-scoped-functions": "^7.2.0", - "@babel/plugin-transform-block-scoping": "^7.4.4", - "@babel/plugin-transform-classes": "^7.4.4", - "@babel/plugin-transform-computed-properties": "^7.2.0", - "@babel/plugin-transform-destructuring": "^7.5.0", - "@babel/plugin-transform-dotall-regex": "^7.4.4", - "@babel/plugin-transform-duplicate-keys": "^7.5.0", - "@babel/plugin-transform-exponentiation-operator": "^7.2.0", - "@babel/plugin-transform-for-of": "^7.4.4", - "@babel/plugin-transform-function-name": "^7.4.4", - "@babel/plugin-transform-literals": "^7.2.0", - "@babel/plugin-transform-member-expression-literals": "^7.2.0", - "@babel/plugin-transform-modules-amd": "^7.5.0", - "@babel/plugin-transform-modules-commonjs": "^7.5.0", - "@babel/plugin-transform-modules-systemjs": "^7.5.0", - "@babel/plugin-transform-modules-umd": "^7.2.0", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.4.5", - "@babel/plugin-transform-new-target": "^7.4.4", - "@babel/plugin-transform-object-super": "^7.2.0", - "@babel/plugin-transform-parameters": "^7.4.4", - "@babel/plugin-transform-property-literals": "^7.2.0", - "@babel/plugin-transform-regenerator": "^7.4.5", - "@babel/plugin-transform-reserved-words": "^7.2.0", - "@babel/plugin-transform-shorthand-properties": "^7.2.0", - "@babel/plugin-transform-spread": "^7.2.0", - "@babel/plugin-transform-sticky-regex": "^7.2.0", - "@babel/plugin-transform-template-literals": "^7.4.4", - "@babel/plugin-transform-typeof-symbol": "^7.2.0", - "@babel/plugin-transform-unicode-regex": "^7.4.4", - "@babel/types": "^7.5.0", - "browserslist": "^4.6.0", - "core-js-compat": "^3.1.1", - "invariant": "^2.2.2", - "js-levenshtein": "^1.1.3", - "semver": "^5.5.0" + "@babel/helper-module-imports": "7.0.0", + "@babel/helper-plugin-utils": "7.0.0", + "@babel/plugin-proposal-async-generator-functions": "7.2.0", + "@babel/plugin-proposal-dynamic-import": "7.5.0", + "@babel/plugin-proposal-json-strings": "7.2.0", + "@babel/plugin-proposal-object-rest-spread": "7.5.1", + "@babel/plugin-proposal-optional-catch-binding": "7.2.0", + "@babel/plugin-proposal-unicode-property-regex": "7.4.4", + "@babel/plugin-syntax-async-generators": "7.2.0", + "@babel/plugin-syntax-dynamic-import": "7.2.0", + "@babel/plugin-syntax-json-strings": "7.2.0", + "@babel/plugin-syntax-object-rest-spread": "7.2.0", + "@babel/plugin-syntax-optional-catch-binding": "7.2.0", + "@babel/plugin-transform-arrow-functions": "7.2.0", + "@babel/plugin-transform-async-to-generator": "7.5.0", + "@babel/plugin-transform-block-scoped-functions": "7.2.0", + "@babel/plugin-transform-block-scoping": "7.4.4", + "@babel/plugin-transform-classes": "7.4.4", + "@babel/plugin-transform-computed-properties": "7.2.0", + "@babel/plugin-transform-destructuring": "7.5.0", + "@babel/plugin-transform-dotall-regex": "7.4.4", + "@babel/plugin-transform-duplicate-keys": "7.5.0", + "@babel/plugin-transform-exponentiation-operator": "7.2.0", + "@babel/plugin-transform-for-of": "7.4.4", + "@babel/plugin-transform-function-name": "7.4.4", + "@babel/plugin-transform-literals": "7.2.0", + "@babel/plugin-transform-member-expression-literals": "7.2.0", + "@babel/plugin-transform-modules-amd": "7.5.0", + "@babel/plugin-transform-modules-commonjs": "7.5.0", + "@babel/plugin-transform-modules-systemjs": "7.5.0", + "@babel/plugin-transform-modules-umd": "7.2.0", + "@babel/plugin-transform-named-capturing-groups-regex": "7.4.5", + "@babel/plugin-transform-new-target": "7.4.4", + "@babel/plugin-transform-object-super": "7.2.0", + "@babel/plugin-transform-parameters": "7.4.4", + "@babel/plugin-transform-property-literals": "7.2.0", + "@babel/plugin-transform-regenerator": "7.4.5", + "@babel/plugin-transform-reserved-words": "7.2.0", + "@babel/plugin-transform-shorthand-properties": "7.2.0", + "@babel/plugin-transform-spread": "7.2.2", + "@babel/plugin-transform-sticky-regex": "7.2.0", + "@babel/plugin-transform-template-literals": "7.4.4", + "@babel/plugin-transform-typeof-symbol": "7.2.0", + "@babel/plugin-transform-unicode-regex": "7.4.4", + "@babel/types": "7.5.0", + "browserslist": "4.6.3", + "core-js-compat": "3.1.4", + "invariant": "2.2.4", + "js-levenshtein": "1.1.6", + "semver": "5.7.0" } }, "@babel/template": { @@ -745,9 +745,9 @@ "integrity": "sha512-CiGzLN9KgAvgZsnivND7rkA+AeJ9JB0ciPOD4U59GKbQP2iQl+olF1l76kJOupqidozfZ32ghwBEJDhnk9MEcw==", "dev": true, "requires": { - "@babel/code-frame": "^7.0.0", - "@babel/parser": "^7.4.4", - "@babel/types": "^7.4.4" + "@babel/code-frame": "7.0.0", + "@babel/parser": "7.5.0", + "@babel/types": "7.5.0" } }, "@babel/traverse": { @@ -756,15 +756,15 @@ "integrity": "sha512-SnA9aLbyOCcnnbQEGwdfBggnc142h/rbqqsXcaATj2hZcegCl903pUD/lfpsNBlBSuWow/YDfRyJuWi2EPR5cg==", "dev": true, "requires": { - "@babel/code-frame": "^7.0.0", - "@babel/generator": "^7.5.0", - "@babel/helper-function-name": "^7.1.0", - "@babel/helper-split-export-declaration": "^7.4.4", - "@babel/parser": "^7.5.0", - "@babel/types": "^7.5.0", - "debug": "^4.1.0", - "globals": "^11.1.0", - "lodash": "^4.17.11" + "@babel/code-frame": "7.0.0", + "@babel/generator": "7.5.0", + "@babel/helper-function-name": "7.1.0", + "@babel/helper-split-export-declaration": "7.4.4", + "@babel/parser": "7.5.0", + "@babel/types": "7.5.0", + "debug": "4.1.1", + "globals": "11.12.0", + "lodash": "4.17.15" } }, "@babel/types": { @@ -773,9 +773,9 @@ "integrity": "sha512-UFpDVqRABKsW01bvw7/wSUe56uy6RXM5+VJibVVAybDGxEW25jdwiFJEf7ASvSaC7sN7rbE/l3cLp2izav+CtQ==", "dev": true, "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.11", - "to-fast-properties": "^2.0.0" + "esutils": "2.0.2", + "lodash": "4.17.15", + "to-fast-properties": "2.0.0" } }, "@types/q": { @@ -796,7 +796,7 @@ "integrity": "sha512-zVWV8Z8lislJoOKKqdNMOB+s6+XV5WERty8MnKBeFgwA+19XJjJHs2RP5dzM57FftIs+jQnRToLiWazKr6sSWg==", "dev": true, "requires": { - "acorn": "^5.0.0" + "acorn": "5.7.3" } }, "ajv": { @@ -805,10 +805,10 @@ "integrity": "sha512-w1YQaVGNC6t2UCPjEawK/vo/dG8OOrVtUmhBT1uJJYxbl5kU2Tj3v6LGqBcsysN1yhuCStJCCA3GqdvKY8sqXQ==", "dev": true, "requires": { - "fast-deep-equal": "^2.0.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" + "fast-deep-equal": "2.0.1", + "fast-json-stable-stringify": "2.0.0", + "json-schema-traverse": "0.4.1", + "uri-js": "4.2.2" } }, "ajv-errors": { @@ -841,7 +841,7 @@ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "color-convert": "1.9.3" } }, "anymatch": { @@ -850,8 +850,8 @@ "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", "dev": true, "requires": { - "micromatch": "^3.1.4", - "normalize-path": "^2.1.1" + "micromatch": "3.1.10", + "normalize-path": "2.1.1" }, "dependencies": { "normalize-path": { @@ -860,7 +860,7 @@ "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", "dev": true, "requires": { - "remove-trailing-separator": "^1.0.1" + "remove-trailing-separator": "1.1.0" } } } @@ -877,7 +877,7 @@ "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, "requires": { - "sprintf-js": "~1.0.2" + "sprintf-js": "1.0.3" } }, "arr-diff": { @@ -904,7 +904,7 @@ "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", "dev": true, "requires": { - "array-uniq": "^1.0.1" + "array-uniq": "1.0.3" } }, "array-uniq": { @@ -925,9 +925,9 @@ "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==", "dev": true, "requires": { - "bn.js": "^4.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" + "bn.js": "4.11.8", + "inherits": "2.0.4", + "minimalistic-assert": "1.0.1" } }, "assert": { @@ -936,7 +936,7 @@ "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==", "dev": true, "requires": { - "object-assign": "^4.1.1", + "object-assign": "4.1.1", "util": "0.10.3" }, "dependencies": { @@ -981,10 +981,10 @@ "integrity": "sha512-4BmWKtBOBm13uoUwd08UwjZlaw3O9GWf456R9j+5YykFZ6LUIjIKLc0zEZf+hauxPOJs96C8k6FvYD09vWzhYw==", "dev": true, "requires": { - "find-cache-dir": "^2.0.0", - "loader-utils": "^1.0.2", - "mkdirp": "^0.5.1", - "pify": "^4.0.1" + "find-cache-dir": "2.1.0", + "loader-utils": "1.2.3", + "mkdirp": "0.5.1", + "pify": "4.0.1" } }, "babel-plugin-dynamic-import-node": { @@ -993,7 +993,7 @@ "integrity": "sha512-o6qFkpeQEBxcqt0XYlWzAVxNCSCZdUgcR8IRlhD/8DylxjjO4foPcvTW0GGKa/cVt3rvxZ7o5ippJ+/0nvLhlQ==", "dev": true, "requires": { - "object.assign": "^4.1.0" + "object.assign": "4.1.0" } }, "balanced-match": { @@ -1008,13 +1008,13 @@ "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", "dev": true, "requires": { - "cache-base": "^1.0.1", - "class-utils": "^0.3.5", - "component-emitter": "^1.2.1", - "define-property": "^1.0.0", - "isobject": "^3.0.1", - "mixin-deep": "^1.2.0", - "pascalcase": "^0.1.1" + "cache-base": "1.0.1", + "class-utils": "0.3.6", + "component-emitter": "1.3.0", + "define-property": "1.0.0", + "isobject": "3.0.1", + "mixin-deep": "1.3.2", + "pascalcase": "0.1.1" }, "dependencies": { "define-property": { @@ -1023,7 +1023,7 @@ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", "dev": true, "requires": { - "is-descriptor": "^1.0.0" + "is-descriptor": "1.0.2" } }, "is-accessor-descriptor": { @@ -1032,7 +1032,7 @@ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-data-descriptor": { @@ -1041,7 +1041,7 @@ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-descriptor": { @@ -1050,9 +1050,9 @@ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "dev": true, "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" } } } @@ -1099,7 +1099,7 @@ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "requires": { - "balanced-match": "^1.0.0", + "balanced-match": "1.0.0", "concat-map": "0.0.1" } }, @@ -1109,16 +1109,16 @@ "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", "dev": true, "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" + "arr-flatten": "1.1.0", + "array-unique": "0.3.2", + "extend-shallow": "2.0.1", + "fill-range": "4.0.0", + "isobject": "3.0.1", + "repeat-element": "1.1.3", + "snapdragon": "0.8.2", + "snapdragon-node": "2.1.1", + "split-string": "3.1.0", + "to-regex": "3.0.2" }, "dependencies": { "extend-shallow": { @@ -1127,7 +1127,7 @@ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "dev": true, "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } } } @@ -1144,12 +1144,12 @@ "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", "dev": true, "requires": { - "buffer-xor": "^1.0.3", - "cipher-base": "^1.0.0", - "create-hash": "^1.1.0", - "evp_bytestokey": "^1.0.3", - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" + "buffer-xor": "1.0.3", + "cipher-base": "1.0.4", + "create-hash": "1.2.0", + "evp_bytestokey": "1.0.3", + "inherits": "2.0.4", + "safe-buffer": "5.1.2" } }, "browserify-cipher": { @@ -1158,9 +1158,9 @@ "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", "dev": true, "requires": { - "browserify-aes": "^1.0.4", - "browserify-des": "^1.0.0", - "evp_bytestokey": "^1.0.0" + "browserify-aes": "1.2.0", + "browserify-des": "1.0.2", + "evp_bytestokey": "1.0.3" } }, "browserify-des": { @@ -1169,10 +1169,10 @@ "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", "dev": true, "requires": { - "cipher-base": "^1.0.1", - "des.js": "^1.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" + "cipher-base": "1.0.4", + "des.js": "1.0.0", + "inherits": "2.0.4", + "safe-buffer": "5.1.2" } }, "browserify-rsa": { @@ -1181,8 +1181,8 @@ "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", "dev": true, "requires": { - "bn.js": "^4.1.0", - "randombytes": "^2.0.1" + "bn.js": "4.11.8", + "randombytes": "2.1.0" } }, "browserify-sign": { @@ -1191,13 +1191,13 @@ "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=", "dev": true, "requires": { - "bn.js": "^4.1.1", - "browserify-rsa": "^4.0.0", - "create-hash": "^1.1.0", - "create-hmac": "^1.1.2", - "elliptic": "^6.0.0", - "inherits": "^2.0.1", - "parse-asn1": "^5.0.0" + "bn.js": "4.11.8", + "browserify-rsa": "4.0.1", + "create-hash": "1.2.0", + "create-hmac": "1.1.7", + "elliptic": "6.5.0", + "inherits": "2.0.4", + "parse-asn1": "5.1.4" } }, "browserify-zlib": { @@ -1206,7 +1206,7 @@ "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", "dev": true, "requires": { - "pako": "~1.0.5" + "pako": "1.0.10" } }, "browserslist": { @@ -1215,9 +1215,9 @@ "integrity": "sha512-CNBqTCq22RKM8wKJNowcqihHJ4SkI8CGeK7KOR9tPboXUuS5Zk5lQgzzTbs4oxD8x+6HUshZUa2OyNI9lR93bQ==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30000975", - "electron-to-chromium": "^1.3.164", - "node-releases": "^1.1.23" + "caniuse-lite": "1.0.30000980", + "electron-to-chromium": "1.3.188", + "node-releases": "1.1.25" } }, "buffer": { @@ -1226,9 +1226,9 @@ "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", "dev": true, "requires": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" + "base64-js": "1.3.0", + "ieee754": "1.1.13", + "isarray": "1.0.0" } }, "buffer-from": { @@ -1255,19 +1255,19 @@ "integrity": "sha512-Dph0MzuH+rTQzGPNT9fAnrPmMmjKfST6trxJeK7NQuHRaVw24VzPRWTmg9MpcwOVQZO0E1FBICUlFeNaKPIfHA==", "dev": true, "requires": { - "bluebird": "^3.5.1", - "chownr": "^1.0.1", - "glob": "^7.1.2", - "graceful-fs": "^4.1.11", - "lru-cache": "^4.1.1", - "mississippi": "^2.0.0", - "mkdirp": "^0.5.1", - "move-concurrently": "^1.0.1", - "promise-inflight": "^1.0.1", - "rimraf": "^2.6.2", - "ssri": "^5.2.4", - "unique-filename": "^1.1.0", - "y18n": "^4.0.0" + "bluebird": "3.5.5", + "chownr": "1.1.2", + "glob": "7.1.4", + "graceful-fs": "4.2.0", + "lru-cache": "4.1.5", + "mississippi": "2.0.0", + "mkdirp": "0.5.1", + "move-concurrently": "1.0.1", + "promise-inflight": "1.0.1", + "rimraf": "2.6.3", + "ssri": "5.3.0", + "unique-filename": "1.1.1", + "y18n": "4.0.0" } }, "cache-base": { @@ -1276,15 +1276,15 @@ "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", "dev": true, "requires": { - "collection-visit": "^1.0.0", - "component-emitter": "^1.2.1", - "get-value": "^2.0.6", - "has-value": "^1.0.0", - "isobject": "^3.0.1", - "set-value": "^2.0.0", - "to-object-path": "^0.3.0", - "union-value": "^1.0.0", - "unset-value": "^1.0.0" + "collection-visit": "1.0.0", + "component-emitter": "1.3.0", + "get-value": "2.0.6", + "has-value": "1.0.0", + "isobject": "3.0.1", + "set-value": "2.0.1", + "to-object-path": "0.3.0", + "union-value": "1.0.1", + "unset-value": "1.0.0" } }, "caller-callsite": { @@ -1293,7 +1293,7 @@ "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=", "dev": true, "requires": { - "callsites": "^2.0.0" + "callsites": "2.0.0" } }, "caller-path": { @@ -1302,7 +1302,7 @@ "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=", "dev": true, "requires": { - "caller-callsite": "^2.0.0" + "caller-callsite": "2.0.0" } }, "callsites": { @@ -1323,10 +1323,10 @@ "integrity": "sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==", "dev": true, "requires": { - "browserslist": "^4.0.0", - "caniuse-lite": "^1.0.0", - "lodash.memoize": "^4.1.2", - "lodash.uniq": "^4.5.0" + "browserslist": "4.6.3", + "caniuse-lite": "1.0.30000980", + "lodash.memoize": "4.1.2", + "lodash.uniq": "4.5.0" } }, "caniuse-lite": { @@ -1341,9 +1341,9 @@ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" } }, "chokidar": { @@ -1352,18 +1352,18 @@ "integrity": "sha512-V2jUo67OKkc6ySiRpJrjlpJKl9kDuG+Xb8VgsGzb+aEouhgS1D0weyPU4lEzdAcsCAvrih2J2BqyXqHWvVLw5g==", "dev": true, "requires": { - "anymatch": "^2.0.0", - "async-each": "^1.0.1", - "braces": "^2.3.2", - "fsevents": "^1.2.7", - "glob-parent": "^3.1.0", - "inherits": "^2.0.3", - "is-binary-path": "^1.0.0", - "is-glob": "^4.0.0", - "normalize-path": "^3.0.0", - "path-is-absolute": "^1.0.0", - "readdirp": "^2.2.1", - "upath": "^1.1.1" + "anymatch": "2.0.0", + "async-each": "1.0.3", + "braces": "2.3.2", + "fsevents": "1.2.9", + "glob-parent": "3.1.0", + "inherits": "2.0.4", + "is-binary-path": "1.0.1", + "is-glob": "4.0.1", + "normalize-path": "3.0.0", + "path-is-absolute": "1.0.1", + "readdirp": "2.2.1", + "upath": "1.1.2" } }, "chownr": { @@ -1384,8 +1384,8 @@ "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", "dev": true, "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" + "inherits": "2.0.4", + "safe-buffer": "5.1.2" } }, "class-utils": { @@ -1394,10 +1394,10 @@ "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", "dev": true, "requires": { - "arr-union": "^3.1.0", - "define-property": "^0.2.5", - "isobject": "^3.0.0", - "static-extend": "^0.1.1" + "arr-union": "3.1.0", + "define-property": "0.2.5", + "isobject": "3.0.1", + "static-extend": "0.1.2" }, "dependencies": { "define-property": { @@ -1406,7 +1406,7 @@ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "dev": true, "requires": { - "is-descriptor": "^0.1.0" + "is-descriptor": "0.1.6" } } } @@ -1417,9 +1417,9 @@ "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==", "dev": true, "requires": { - "string-width": "^3.1.0", - "strip-ansi": "^5.2.0", - "wrap-ansi": "^5.1.0" + "string-width": "3.1.0", + "strip-ansi": "5.2.0", + "wrap-ansi": "5.1.0" } }, "coa": { @@ -1428,9 +1428,9 @@ "integrity": "sha512-q5/jG+YQnSy4nRTV4F7lPepBJZ8qBNJJDBuJdoejDyLXgmL7IEo+Le2JDZudFTFt7mrCqIRaSjws4ygRCTCAXA==", "dev": true, "requires": { - "@types/q": "^1.5.1", - "chalk": "^2.4.1", - "q": "^1.1.2" + "@types/q": "1.5.2", + "chalk": "2.4.2", + "q": "1.5.1" } }, "collection-visit": { @@ -1439,8 +1439,8 @@ "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", "dev": true, "requires": { - "map-visit": "^1.0.0", - "object-visit": "^1.0.0" + "map-visit": "1.0.0", + "object-visit": "1.0.1" } }, "color": { @@ -1449,8 +1449,8 @@ "integrity": "sha512-vXTJhHebByxZn3lDvDJYw4lR5+uB3vuoHsuYA5AKuxRVn5wzzIfQKGLBmgdVRHKTJYeK5rvJcHnrd0Li49CFpg==", "dev": true, "requires": { - "color-convert": "^1.9.1", - "color-string": "^1.5.2" + "color-convert": "1.9.3", + "color-string": "1.5.3" } }, "color-convert": { @@ -1474,8 +1474,8 @@ "integrity": "sha512-dC2C5qeWoYkxki5UAXapdjqO672AM4vZuPGRQfO8b5HKuKGBbKWpITyDYN7TOFKvRW7kOgAn3746clDBMDJyQw==", "dev": true, "requires": { - "color-name": "^1.0.0", - "simple-swizzle": "^0.2.2" + "color-name": "1.1.3", + "simple-swizzle": "0.2.2" } }, "commander": { @@ -1508,10 +1508,10 @@ "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", "dev": true, "requires": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^2.2.2", - "typedarray": "^0.0.6" + "buffer-from": "1.1.1", + "inherits": "2.0.4", + "readable-stream": "2.3.6", + "typedarray": "0.0.6" } }, "console-browserify": { @@ -1520,7 +1520,7 @@ "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=", "dev": true, "requires": { - "date-now": "^0.1.4" + "date-now": "0.1.4" } }, "constants-browserify": { @@ -1535,7 +1535,7 @@ "integrity": "sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==", "dev": true, "requires": { - "safe-buffer": "~5.1.1" + "safe-buffer": "5.1.2" } }, "copy-concurrently": { @@ -1544,12 +1544,12 @@ "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==", "dev": true, "requires": { - "aproba": "^1.1.1", - "fs-write-stream-atomic": "^1.0.8", - "iferr": "^0.1.5", - "mkdirp": "^0.5.1", - "rimraf": "^2.5.4", - "run-queue": "^1.0.0" + "aproba": "1.2.0", + "fs-write-stream-atomic": "1.0.10", + "iferr": "0.1.5", + "mkdirp": "0.5.1", + "rimraf": "2.6.3", + "run-queue": "1.0.3" } }, "copy-descriptor": { @@ -1564,14 +1564,14 @@ "integrity": "sha512-Y+SQCF+0NoWQryez2zXn5J5knmr9z/9qSQt7fbL78u83rxmigOy8X5+BFn8CFSuX+nKT8gpYwJX68ekqtQt6ZA==", "dev": true, "requires": { - "cacache": "^10.0.4", - "find-cache-dir": "^1.0.0", - "globby": "^7.1.1", - "is-glob": "^4.0.0", - "loader-utils": "^1.1.0", - "minimatch": "^3.0.4", - "p-limit": "^1.0.0", - "serialize-javascript": "^1.4.0" + "cacache": "10.0.4", + "find-cache-dir": "1.0.0", + "globby": "7.1.1", + "is-glob": "4.0.1", + "loader-utils": "1.2.3", + "minimatch": "3.0.4", + "p-limit": "1.3.0", + "serialize-javascript": "1.7.0" }, "dependencies": { "find-cache-dir": { @@ -1580,9 +1580,9 @@ "integrity": "sha1-kojj6ePMN0hxfTnq3hfPcfww7m8=", "dev": true, "requires": { - "commondir": "^1.0.1", - "make-dir": "^1.0.0", - "pkg-dir": "^2.0.0" + "commondir": "1.0.1", + "make-dir": "1.3.0", + "pkg-dir": "2.0.0" } }, "find-up": { @@ -1591,7 +1591,7 @@ "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "dev": true, "requires": { - "locate-path": "^2.0.0" + "locate-path": "2.0.0" } }, "locate-path": { @@ -1600,8 +1600,8 @@ "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", "dev": true, "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" + "p-locate": "2.0.0", + "path-exists": "3.0.0" } }, "make-dir": { @@ -1610,7 +1610,7 @@ "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", "dev": true, "requires": { - "pify": "^3.0.0" + "pify": "3.0.0" } }, "p-limit": { @@ -1619,7 +1619,7 @@ "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", "dev": true, "requires": { - "p-try": "^1.0.0" + "p-try": "1.0.0" } }, "p-locate": { @@ -1628,7 +1628,7 @@ "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", "dev": true, "requires": { - "p-limit": "^1.1.0" + "p-limit": "1.3.0" } }, "p-try": { @@ -1649,7 +1649,7 @@ "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", "dev": true, "requires": { - "find-up": "^2.1.0" + "find-up": "2.1.0" } } } @@ -1660,9 +1660,9 @@ "integrity": "sha512-Z5zbO9f1d0YrJdoaQhphVAnKPimX92D6z8lCGphH89MNRxlL1prI9ExJPqVwP0/kgkQCv8c4GJGT8X16yUncOg==", "dev": true, "requires": { - "browserslist": "^4.6.2", + "browserslist": "4.6.3", "core-js-pure": "3.1.4", - "semver": "^6.1.1" + "semver": "6.2.0" }, "dependencies": { "semver": { @@ -1691,10 +1691,10 @@ "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", "dev": true, "requires": { - "import-fresh": "^2.0.0", - "is-directory": "^0.3.1", - "js-yaml": "^3.13.1", - "parse-json": "^4.0.0" + "import-fresh": "2.0.0", + "is-directory": "0.3.1", + "js-yaml": "3.13.1", + "parse-json": "4.0.0" } }, "create-ecdh": { @@ -1703,8 +1703,8 @@ "integrity": "sha512-GbEHQPMOswGpKXM9kCWVrremUcBmjteUaQ01T9rkKCPDXfUHX0IoP9LpHYo2NPFampa4e+/pFDc3jQdxrxQLaw==", "dev": true, "requires": { - "bn.js": "^4.1.0", - "elliptic": "^6.0.0" + "bn.js": "4.11.8", + "elliptic": "6.5.0" } }, "create-hash": { @@ -1713,11 +1713,11 @@ "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", "dev": true, "requires": { - "cipher-base": "^1.0.1", - "inherits": "^2.0.1", - "md5.js": "^1.3.4", - "ripemd160": "^2.0.1", - "sha.js": "^2.4.0" + "cipher-base": "1.0.4", + "inherits": "2.0.4", + "md5.js": "1.3.5", + "ripemd160": "2.0.2", + "sha.js": "2.4.11" } }, "create-hmac": { @@ -1726,12 +1726,12 @@ "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", "dev": true, "requires": { - "cipher-base": "^1.0.3", - "create-hash": "^1.1.0", - "inherits": "^2.0.1", - "ripemd160": "^2.0.0", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" + "cipher-base": "1.0.4", + "create-hash": "1.2.0", + "inherits": "2.0.4", + "ripemd160": "2.0.2", + "safe-buffer": "5.1.2", + "sha.js": "2.4.11" } }, "cross-spawn": { @@ -1740,11 +1740,11 @@ "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", "dev": true, "requires": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" + "nice-try": "1.0.5", + "path-key": "2.0.1", + "semver": "5.7.0", + "shebang-command": "1.2.0", + "which": "1.3.1" } }, "crypto-browserify": { @@ -1753,17 +1753,17 @@ "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", "dev": true, "requires": { - "browserify-cipher": "^1.0.0", - "browserify-sign": "^4.0.0", - "create-ecdh": "^4.0.0", - "create-hash": "^1.1.0", - "create-hmac": "^1.1.0", - "diffie-hellman": "^5.0.0", - "inherits": "^2.0.1", - "pbkdf2": "^3.0.3", - "public-encrypt": "^4.0.0", - "randombytes": "^2.0.0", - "randomfill": "^1.0.3" + "browserify-cipher": "1.0.1", + "browserify-sign": "4.0.4", + "create-ecdh": "4.0.3", + "create-hash": "1.2.0", + "create-hmac": "1.1.7", + "diffie-hellman": "5.0.3", + "inherits": "2.0.4", + "pbkdf2": "3.0.17", + "public-encrypt": "4.0.3", + "randombytes": "2.1.0", + "randomfill": "1.0.4" } }, "css-color-names": { @@ -1778,8 +1778,8 @@ "integrity": "sha512-BcxQSKTSEEQUftYpBVnsH4SF05NTuBokb19/sBt6asXGKZ/6VP7PLG1CBCkFDYOnhXhPh0jMhO6xZ71oYHXHBA==", "dev": true, "requires": { - "postcss": "^7.0.1", - "timsort": "^0.3.0" + "postcss": "7.0.17", + "timsort": "0.3.0" } }, "css-loader": { @@ -1788,17 +1788,17 @@ "integrity": "sha512-OcKJU/lt232vl1P9EEDamhoO9iKY3tIjY5GU+XDLblAykTdgs6Ux9P1hTHve8nFKy5KPpOXOsVI/hIwi3841+w==", "dev": true, "requires": { - "camelcase": "^5.2.0", - "icss-utils": "^4.1.0", - "loader-utils": "^1.2.3", - "normalize-path": "^3.0.0", - "postcss": "^7.0.14", - "postcss-modules-extract-imports": "^2.0.0", - "postcss-modules-local-by-default": "^2.0.6", - "postcss-modules-scope": "^2.1.0", - "postcss-modules-values": "^2.0.0", - "postcss-value-parser": "^3.3.0", - "schema-utils": "^1.0.0" + "camelcase": "5.3.1", + "icss-utils": "4.1.1", + "loader-utils": "1.2.3", + "normalize-path": "3.0.0", + "postcss": "7.0.17", + "postcss-modules-extract-imports": "2.0.0", + "postcss-modules-local-by-default": "2.0.6", + "postcss-modules-scope": "2.1.0", + "postcss-modules-values": "2.0.0", + "postcss-value-parser": "3.3.1", + "schema-utils": "1.0.0" } }, "css-select": { @@ -1807,10 +1807,10 @@ "integrity": "sha512-dSpYaDVoWaELjvZ3mS6IKZM/y2PMPa/XYoEfYNZePL4U/XgyxZNroHEHReDx/d+VgXh9VbCTtFqLkFbmeqeaRQ==", "dev": true, "requires": { - "boolbase": "^1.0.0", - "css-what": "^2.1.2", - "domutils": "^1.7.0", - "nth-check": "^1.0.2" + "boolbase": "1.0.0", + "css-what": "2.1.3", + "domutils": "1.7.0", + "nth-check": "1.0.2" } }, "css-select-base-adapter": { @@ -1825,8 +1825,8 @@ "integrity": "sha512-joNNW1gCp3qFFzj4St6zk+Wh/NBv0vM5YbEreZk0SD4S23S+1xBKb6cLDg2uj4P4k/GUMlIm6cKIDqIG+vdt0w==", "dev": true, "requires": { - "mdn-data": "~1.1.0", - "source-map": "^0.5.3" + "mdn-data": "1.1.4", + "source-map": "0.5.7" } }, "css-unit-converter": { @@ -1859,10 +1859,10 @@ "integrity": "sha512-5wny+F6H4/8RgNlaqab4ktc3e0/blKutmq8yNlBFXA//nSFFAqAngjNVRzUvCgYROULmZZUoosL/KSoZo5aUaQ==", "dev": true, "requires": { - "cosmiconfig": "^5.0.0", - "cssnano-preset-default": "^4.0.7", - "is-resolvable": "^1.0.0", - "postcss": "^7.0.0" + "cosmiconfig": "5.2.1", + "cssnano-preset-default": "4.0.7", + "is-resolvable": "1.1.0", + "postcss": "7.0.17" } }, "cssnano-preset-default": { @@ -1871,36 +1871,36 @@ "integrity": "sha512-x0YHHx2h6p0fCl1zY9L9roD7rnlltugGu7zXSKQx6k2rYw0Hi3IqxcoAGF7u9Q5w1nt7vK0ulxV8Lo+EvllGsA==", "dev": true, "requires": { - "css-declaration-sorter": "^4.0.1", - "cssnano-util-raw-cache": "^4.0.1", - "postcss": "^7.0.0", - "postcss-calc": "^7.0.1", - "postcss-colormin": "^4.0.3", - "postcss-convert-values": "^4.0.1", - "postcss-discard-comments": "^4.0.2", - "postcss-discard-duplicates": "^4.0.2", - "postcss-discard-empty": "^4.0.1", - "postcss-discard-overridden": "^4.0.1", - "postcss-merge-longhand": "^4.0.11", - "postcss-merge-rules": "^4.0.3", - "postcss-minify-font-values": "^4.0.2", - "postcss-minify-gradients": "^4.0.2", - "postcss-minify-params": "^4.0.2", - "postcss-minify-selectors": "^4.0.2", - "postcss-normalize-charset": "^4.0.1", - "postcss-normalize-display-values": "^4.0.2", - "postcss-normalize-positions": "^4.0.2", - "postcss-normalize-repeat-style": "^4.0.2", - "postcss-normalize-string": "^4.0.2", - "postcss-normalize-timing-functions": "^4.0.2", - "postcss-normalize-unicode": "^4.0.1", - "postcss-normalize-url": "^4.0.1", - "postcss-normalize-whitespace": "^4.0.2", - "postcss-ordered-values": "^4.1.2", - "postcss-reduce-initial": "^4.0.3", - "postcss-reduce-transforms": "^4.0.2", - "postcss-svgo": "^4.0.2", - "postcss-unique-selectors": "^4.0.1" + "css-declaration-sorter": "4.0.1", + "cssnano-util-raw-cache": "4.0.1", + "postcss": "7.0.17", + "postcss-calc": "7.0.1", + "postcss-colormin": "4.0.3", + "postcss-convert-values": "4.0.1", + "postcss-discard-comments": "4.0.2", + "postcss-discard-duplicates": "4.0.2", + "postcss-discard-empty": "4.0.1", + "postcss-discard-overridden": "4.0.1", + "postcss-merge-longhand": "4.0.11", + "postcss-merge-rules": "4.0.3", + "postcss-minify-font-values": "4.0.2", + "postcss-minify-gradients": "4.0.2", + "postcss-minify-params": "4.0.2", + "postcss-minify-selectors": "4.0.2", + "postcss-normalize-charset": "4.0.1", + "postcss-normalize-display-values": "4.0.2", + "postcss-normalize-positions": "4.0.2", + "postcss-normalize-repeat-style": "4.0.2", + "postcss-normalize-string": "4.0.2", + "postcss-normalize-timing-functions": "4.0.2", + "postcss-normalize-unicode": "4.0.1", + "postcss-normalize-url": "4.0.1", + "postcss-normalize-whitespace": "4.0.2", + "postcss-ordered-values": "4.1.2", + "postcss-reduce-initial": "4.0.3", + "postcss-reduce-transforms": "4.0.2", + "postcss-svgo": "4.0.2", + "postcss-unique-selectors": "4.0.1" } }, "cssnano-util-get-arguments": { @@ -1921,7 +1921,7 @@ "integrity": "sha512-qLuYtWK2b2Dy55I8ZX3ky1Z16WYsx544Q0UWViebptpwn/xDBmog2TLg4f+DBMg1rJ6JDWtn96WHbOKDWt1WQA==", "dev": true, "requires": { - "postcss": "^7.0.0" + "postcss": "7.0.17" } }, "cssnano-util-same-parent": { @@ -1945,8 +1945,8 @@ "integrity": "sha512-sRNb1XydwkW9IOci6iB2xmy8IGCj6r/fr+JWitvJ2JxQRPzN3T4AGGVWCMlVmVwM1gtgALJRmGIlWv5ppnGGkg==", "dev": true, "requires": { - "mdn-data": "~1.1.0", - "source-map": "^0.5.3" + "mdn-data": "1.1.4", + "source-map": "0.5.7" } } } @@ -1969,7 +1969,7 @@ "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", "dev": true, "requires": { - "ms": "^2.1.1" + "ms": "2.1.2" } }, "decamelize": { @@ -1990,7 +1990,7 @@ "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", "dev": true, "requires": { - "object-keys": "^1.0.12" + "object-keys": "1.1.1" } }, "define-property": { @@ -1999,8 +1999,8 @@ "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", "dev": true, "requires": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" + "is-descriptor": "1.0.2", + "isobject": "3.0.1" }, "dependencies": { "is-accessor-descriptor": { @@ -2009,7 +2009,7 @@ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-data-descriptor": { @@ -2018,7 +2018,7 @@ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-descriptor": { @@ -2027,9 +2027,9 @@ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "dev": true, "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" } } } @@ -2040,8 +2040,8 @@ "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=", "dev": true, "requires": { - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" + "inherits": "2.0.4", + "minimalistic-assert": "1.0.1" } }, "detect-file": { @@ -2056,9 +2056,9 @@ "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", "dev": true, "requires": { - "bn.js": "^4.1.0", - "miller-rabin": "^4.0.0", - "randombytes": "^2.0.0" + "bn.js": "4.11.8", + "miller-rabin": "4.0.1", + "randombytes": "2.1.0" } }, "dir-glob": { @@ -2067,7 +2067,7 @@ "integrity": "sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw==", "dev": true, "requires": { - "path-type": "^3.0.0" + "path-type": "3.0.0" } }, "dom-serializer": { @@ -2076,8 +2076,8 @@ "integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==", "dev": true, "requires": { - "domelementtype": "^1.3.0", - "entities": "^1.1.1" + "domelementtype": "1.3.1", + "entities": "1.1.2" } }, "domain-browser": { @@ -2098,8 +2098,8 @@ "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==", "dev": true, "requires": { - "dom-serializer": "0", - "domelementtype": "1" + "dom-serializer": "0.1.1", + "domelementtype": "1.3.1" } }, "dot-prop": { @@ -2108,7 +2108,7 @@ "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==", "dev": true, "requires": { - "is-obj": "^1.0.0" + "is-obj": "1.0.1" } }, "duplexify": { @@ -2117,10 +2117,10 @@ "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==", "dev": true, "requires": { - "end-of-stream": "^1.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.0.0", - "stream-shift": "^1.0.0" + "end-of-stream": "1.4.1", + "inherits": "2.0.4", + "readable-stream": "2.3.6", + "stream-shift": "1.0.0" } }, "electron-to-chromium": { @@ -2135,13 +2135,13 @@ "integrity": "sha512-eFOJTMyCYb7xtE/caJ6JJu+bhi67WCYNbkGSknu20pmM8Ke/bqOfdnZWxyoGN26JgfxTbXrsCkEw4KheCT/KGg==", "dev": true, "requires": { - "bn.js": "^4.4.0", - "brorand": "^1.0.1", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.0" + "bn.js": "4.11.8", + "brorand": "1.1.0", + "hash.js": "1.1.7", + "hmac-drbg": "1.0.1", + "inherits": "2.0.4", + "minimalistic-assert": "1.0.1", + "minimalistic-crypto-utils": "1.0.1" } }, "emoji-regex": { @@ -2162,7 +2162,7 @@ "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==", "dev": true, "requires": { - "once": "^1.4.0" + "once": "1.4.0" } }, "enhanced-resolve": { @@ -2171,9 +2171,9 @@ "integrity": "sha512-F/7vkyTtyc/llOIn8oWclcB25KdRaiPBpZYDgJHgh/UHtpgT2p2eldQgtQnLtUvfMKPKxbRaQM/hHkvLHt1Vng==", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "memory-fs": "^0.4.0", - "tapable": "^1.0.0" + "graceful-fs": "4.2.0", + "memory-fs": "0.4.1", + "tapable": "1.1.3" } }, "entities": { @@ -2188,7 +2188,7 @@ "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==", "dev": true, "requires": { - "prr": "~1.0.1" + "prr": "1.0.1" } }, "error-ex": { @@ -2197,7 +2197,7 @@ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", "dev": true, "requires": { - "is-arrayish": "^0.2.1" + "is-arrayish": "0.2.1" } }, "es-abstract": { @@ -2206,12 +2206,12 @@ "integrity": "sha512-vDZfg/ykNxQVwup/8E1BZhVzFfBxs9NqMzGcvIJrqg5k2/5Za2bWo40dK2J1pgLngZ7c+Shh8lwYtLGyrwPutg==", "dev": true, "requires": { - "es-to-primitive": "^1.2.0", - "function-bind": "^1.1.1", - "has": "^1.0.3", - "is-callable": "^1.1.4", - "is-regex": "^1.0.4", - "object-keys": "^1.0.12" + "es-to-primitive": "1.2.0", + "function-bind": "1.1.1", + "has": "1.0.3", + "is-callable": "1.1.4", + "is-regex": "1.0.4", + "object-keys": "1.1.1" } }, "es-to-primitive": { @@ -2220,9 +2220,9 @@ "integrity": "sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==", "dev": true, "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" + "is-callable": "1.1.4", + "is-date-object": "1.0.1", + "is-symbol": "1.0.2" } }, "escape-string-regexp": { @@ -2237,8 +2237,8 @@ "integrity": "sha512-W+B0SvF4gamyCTmUc+uITPY0989iXVfKvhwtmJocTaYoc/3khEHmEmvfY/Gn9HA9VV75jrQECsHizkNw1b68FA==", "dev": true, "requires": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" + "esrecurse": "4.2.1", + "estraverse": "4.2.0" } }, "esprima": { @@ -2253,7 +2253,7 @@ "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", "dev": true, "requires": { - "estraverse": "^4.1.0" + "estraverse": "4.2.0" } }, "estraverse": { @@ -2280,8 +2280,8 @@ "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", "dev": true, "requires": { - "md5.js": "^1.3.4", - "safe-buffer": "^5.1.1" + "md5.js": "1.3.5", + "safe-buffer": "5.1.2" } }, "execa": { @@ -2290,13 +2290,13 @@ "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", "dev": true, "requires": { - "cross-spawn": "^6.0.0", - "get-stream": "^4.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" + "cross-spawn": "6.0.5", + "get-stream": "4.1.0", + "is-stream": "1.1.0", + "npm-run-path": "2.0.2", + "p-finally": "1.0.0", + "signal-exit": "3.0.2", + "strip-eof": "1.0.0" } }, "expand-brackets": { @@ -2305,13 +2305,13 @@ "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", "dev": true, "requires": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" + "debug": "2.6.9", + "define-property": "0.2.5", + "extend-shallow": "2.0.1", + "posix-character-classes": "0.1.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" }, "dependencies": { "debug": { @@ -2329,7 +2329,7 @@ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "dev": true, "requires": { - "is-descriptor": "^0.1.0" + "is-descriptor": "0.1.6" } }, "extend-shallow": { @@ -2338,7 +2338,7 @@ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "dev": true, "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } }, "ms": { @@ -2355,7 +2355,7 @@ "integrity": "sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=", "dev": true, "requires": { - "homedir-polyfill": "^1.0.1" + "homedir-polyfill": "1.0.3" } }, "extend-shallow": { @@ -2364,8 +2364,8 @@ "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", "dev": true, "requires": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" + "assign-symbols": "1.0.0", + "is-extendable": "1.0.1" }, "dependencies": { "is-extendable": { @@ -2374,7 +2374,7 @@ "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "dev": true, "requires": { - "is-plain-object": "^2.0.4" + "is-plain-object": "2.0.4" } } } @@ -2385,14 +2385,14 @@ "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", "dev": true, "requires": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" + "array-unique": "0.3.2", + "define-property": "1.0.0", + "expand-brackets": "2.1.4", + "extend-shallow": "2.0.1", + "fragment-cache": "0.2.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" }, "dependencies": { "define-property": { @@ -2401,7 +2401,7 @@ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", "dev": true, "requires": { - "is-descriptor": "^1.0.0" + "is-descriptor": "1.0.2" } }, "extend-shallow": { @@ -2410,7 +2410,7 @@ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "dev": true, "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } }, "is-accessor-descriptor": { @@ -2419,7 +2419,7 @@ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-data-descriptor": { @@ -2428,7 +2428,7 @@ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-descriptor": { @@ -2437,9 +2437,9 @@ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "dev": true, "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" } } } @@ -2462,10 +2462,10 @@ "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", "dev": true, "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" + "extend-shallow": "2.0.1", + "is-number": "3.0.0", + "repeat-string": "1.6.1", + "to-regex-range": "2.1.1" }, "dependencies": { "extend-shallow": { @@ -2474,7 +2474,7 @@ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "dev": true, "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } } } @@ -2485,9 +2485,9 @@ "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", "dev": true, "requires": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" + "commondir": "1.0.1", + "make-dir": "2.1.0", + "pkg-dir": "3.0.0" } }, "find-up": { @@ -2496,7 +2496,7 @@ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", "dev": true, "requires": { - "locate-path": "^3.0.0" + "locate-path": "3.0.0" } }, "findup-sync": { @@ -2505,10 +2505,10 @@ "integrity": "sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg==", "dev": true, "requires": { - "detect-file": "^1.0.0", - "is-glob": "^4.0.0", - "micromatch": "^3.0.4", - "resolve-dir": "^1.0.1" + "detect-file": "1.0.0", + "is-glob": "4.0.1", + "micromatch": "3.1.10", + "resolve-dir": "1.0.1" } }, "flush-write-stream": { @@ -2517,8 +2517,8 @@ "integrity": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==", "dev": true, "requires": { - "inherits": "^2.0.3", - "readable-stream": "^2.3.6" + "inherits": "2.0.4", + "readable-stream": "2.3.6" } }, "for-in": { @@ -2533,7 +2533,7 @@ "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", "dev": true, "requires": { - "map-cache": "^0.2.2" + "map-cache": "0.2.2" } }, "from2": { @@ -2542,8 +2542,8 @@ "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=", "dev": true, "requires": { - "inherits": "^2.0.1", - "readable-stream": "^2.0.0" + "inherits": "2.0.4", + "readable-stream": "2.3.6" } }, "fs-write-stream-atomic": { @@ -2552,10 +2552,10 @@ "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "iferr": "^0.1.5", - "imurmurhash": "^0.1.4", - "readable-stream": "1 || 2" + "graceful-fs": "4.2.0", + "iferr": "0.1.5", + "imurmurhash": "0.1.4", + "readable-stream": "2.3.6" } }, "fs.realpath": { @@ -2571,8 +2571,8 @@ "dev": true, "optional": true, "requires": { - "nan": "^2.12.1", - "node-pre-gyp": "^0.12.0" + "nan": "2.14.0", + "node-pre-gyp": "0.12.0" }, "dependencies": { "abbrev": { @@ -2584,8 +2584,7 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "aproba": { "version": "1.2.0", @@ -2599,23 +2598,21 @@ "dev": true, "optional": true, "requires": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" + "delegates": "1.0.0", + "readable-stream": "2.3.6" } }, "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, - "optional": true, "requires": { - "balanced-match": "^1.0.0", + "balanced-match": "1.0.0", "concat-map": "0.0.1" } }, @@ -2628,20 +2625,17 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "core-util-is": { "version": "1.0.2", @@ -2655,7 +2649,7 @@ "dev": true, "optional": true, "requires": { - "ms": "^2.1.1" + "ms": "2.1.1" } }, "deep-extend": { @@ -2682,7 +2676,7 @@ "dev": true, "optional": true, "requires": { - "minipass": "^2.2.1" + "minipass": "2.3.5" } }, "fs.realpath": { @@ -2697,14 +2691,14 @@ "dev": true, "optional": true, "requires": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" + "aproba": "1.2.0", + "console-control-strings": "1.1.0", + "has-unicode": "2.0.1", + "object-assign": "4.1.1", + "signal-exit": "3.0.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wide-align": "1.1.3" } }, "glob": { @@ -2713,12 +2707,12 @@ "dev": true, "optional": true, "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" } }, "has-unicode": { @@ -2733,7 +2727,7 @@ "dev": true, "optional": true, "requires": { - "safer-buffer": ">= 2.1.2 < 3" + "safer-buffer": "2.1.2" } }, "ignore-walk": { @@ -2742,7 +2736,7 @@ "dev": true, "optional": true, "requires": { - "minimatch": "^3.0.4" + "minimatch": "3.0.4" } }, "inflight": { @@ -2751,15 +2745,14 @@ "dev": true, "optional": true, "requires": { - "once": "^1.3.0", - "wrappy": "1" + "once": "1.4.0", + "wrappy": "1.0.2" } }, "inherits": { "version": "2.0.3", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "ini": { "version": "1.3.5", @@ -2771,9 +2764,8 @@ "version": "1.0.0", "bundled": true, "dev": true, - "optional": true, "requires": { - "number-is-nan": "^1.0.0" + "number-is-nan": "1.0.1" } }, "isarray": { @@ -2786,25 +2778,22 @@ "version": "3.0.4", "bundled": true, "dev": true, - "optional": true, "requires": { - "brace-expansion": "^1.1.7" + "brace-expansion": "1.1.11" } }, "minimist": { "version": "0.0.8", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "minipass": { "version": "2.3.5", "bundled": true, "dev": true, - "optional": true, "requires": { - "safe-buffer": "^5.1.2", - "yallist": "^3.0.0" + "safe-buffer": "5.1.2", + "yallist": "3.0.3" } }, "minizlib": { @@ -2813,14 +2802,13 @@ "dev": true, "optional": true, "requires": { - "minipass": "^2.2.1" + "minipass": "2.3.5" } }, "mkdirp": { "version": "0.5.1", "bundled": true, "dev": true, - "optional": true, "requires": { "minimist": "0.0.8" } @@ -2837,9 +2825,9 @@ "dev": true, "optional": true, "requires": { - "debug": "^4.1.0", - "iconv-lite": "^0.4.4", - "sax": "^1.2.4" + "debug": "4.1.1", + "iconv-lite": "0.4.24", + "sax": "1.2.4" } }, "node-pre-gyp": { @@ -2848,16 +2836,16 @@ "dev": true, "optional": true, "requires": { - "detect-libc": "^1.0.2", - "mkdirp": "^0.5.1", - "needle": "^2.2.1", - "nopt": "^4.0.1", - "npm-packlist": "^1.1.6", - "npmlog": "^4.0.2", - "rc": "^1.2.7", - "rimraf": "^2.6.1", - "semver": "^5.3.0", - "tar": "^4" + "detect-libc": "1.0.3", + "mkdirp": "0.5.1", + "needle": "2.3.0", + "nopt": "4.0.1", + "npm-packlist": "1.4.1", + "npmlog": "4.1.2", + "rc": "1.2.8", + "rimraf": "2.6.3", + "semver": "5.7.0", + "tar": "4.4.8" } }, "nopt": { @@ -2866,8 +2854,8 @@ "dev": true, "optional": true, "requires": { - "abbrev": "1", - "osenv": "^0.1.4" + "abbrev": "1.1.1", + "osenv": "0.1.5" } }, "npm-bundled": { @@ -2882,8 +2870,8 @@ "dev": true, "optional": true, "requires": { - "ignore-walk": "^3.0.1", - "npm-bundled": "^1.0.1" + "ignore-walk": "3.0.1", + "npm-bundled": "1.0.6" } }, "npmlog": { @@ -2892,17 +2880,16 @@ "dev": true, "optional": true, "requires": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" + "are-we-there-yet": "1.1.5", + "console-control-strings": "1.1.0", + "gauge": "2.7.4", + "set-blocking": "2.0.0" } }, "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "object-assign": { "version": "4.1.1", @@ -2914,9 +2901,8 @@ "version": "1.4.0", "bundled": true, "dev": true, - "optional": true, "requires": { - "wrappy": "1" + "wrappy": "1.0.2" } }, "os-homedir": { @@ -2937,8 +2923,8 @@ "dev": true, "optional": true, "requires": { - "os-homedir": "^1.0.0", - "os-tmpdir": "^1.0.0" + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" } }, "path-is-absolute": { @@ -2959,10 +2945,10 @@ "dev": true, "optional": true, "requires": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" + "deep-extend": "0.6.0", + "ini": "1.3.5", + "minimist": "1.2.0", + "strip-json-comments": "2.0.1" }, "dependencies": { "minimist": { @@ -2979,13 +2965,13 @@ "dev": true, "optional": true, "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" } }, "rimraf": { @@ -2994,14 +2980,13 @@ "dev": true, "optional": true, "requires": { - "glob": "^7.1.3" + "glob": "7.1.3" } }, "safe-buffer": { "version": "5.1.2", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "safer-buffer": { "version": "2.1.2", @@ -3037,11 +3022,10 @@ "version": "1.0.2", "bundled": true, "dev": true, - "optional": true, "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" } }, "string_decoder": { @@ -3050,16 +3034,15 @@ "dev": true, "optional": true, "requires": { - "safe-buffer": "~5.1.0" + "safe-buffer": "5.1.2" } }, "strip-ansi": { "version": "3.0.1", "bundled": true, "dev": true, - "optional": true, "requires": { - "ansi-regex": "^2.0.0" + "ansi-regex": "2.1.1" } }, "strip-json-comments": { @@ -3074,13 +3057,13 @@ "dev": true, "optional": true, "requires": { - "chownr": "^1.1.1", - "fs-minipass": "^1.2.5", - "minipass": "^2.3.4", - "minizlib": "^1.1.1", - "mkdirp": "^0.5.0", - "safe-buffer": "^5.1.2", - "yallist": "^3.0.2" + "chownr": "1.1.1", + "fs-minipass": "1.2.5", + "minipass": "2.3.5", + "minizlib": "1.2.1", + "mkdirp": "0.5.1", + "safe-buffer": "5.1.2", + "yallist": "3.0.3" } }, "util-deprecate": { @@ -3095,20 +3078,18 @@ "dev": true, "optional": true, "requires": { - "string-width": "^1.0.2 || 2" + "string-width": "1.0.2" } }, "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "yallist": { "version": "3.0.3", "bundled": true, - "dev": true, - "optional": true + "dev": true } } }, @@ -3130,7 +3111,7 @@ "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", "dev": true, "requires": { - "pump": "^3.0.0" + "pump": "3.0.0" }, "dependencies": { "pump": { @@ -3139,8 +3120,8 @@ "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", "dev": true, "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" + "end-of-stream": "1.4.1", + "once": "1.4.0" } } } @@ -3157,12 +3138,12 @@ "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==", "dev": true, "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.4", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" } }, "glob-parent": { @@ -3171,8 +3152,8 @@ "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", "dev": true, "requires": { - "is-glob": "^3.1.0", - "path-dirname": "^1.0.0" + "is-glob": "3.1.0", + "path-dirname": "1.0.2" }, "dependencies": { "is-glob": { @@ -3181,7 +3162,7 @@ "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", "dev": true, "requires": { - "is-extglob": "^2.1.0" + "is-extglob": "2.1.1" } } } @@ -3192,7 +3173,7 @@ "integrity": "sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==", "dev": true, "requires": { - "global-prefix": "^3.0.0" + "global-prefix": "3.0.0" }, "dependencies": { "global-prefix": { @@ -3201,9 +3182,9 @@ "integrity": "sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==", "dev": true, "requires": { - "ini": "^1.3.5", - "kind-of": "^6.0.2", - "which": "^1.3.1" + "ini": "1.3.5", + "kind-of": "6.0.2", + "which": "1.3.1" } } } @@ -3214,11 +3195,11 @@ "integrity": "sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=", "dev": true, "requires": { - "expand-tilde": "^2.0.2", - "homedir-polyfill": "^1.0.1", - "ini": "^1.3.4", - "is-windows": "^1.0.1", - "which": "^1.2.14" + "expand-tilde": "2.0.2", + "homedir-polyfill": "1.0.3", + "ini": "1.3.5", + "is-windows": "1.0.2", + "which": "1.3.1" } }, "globals": { @@ -3233,12 +3214,12 @@ "integrity": "sha1-+yzP+UAfhgCUXfral0QMypcrhoA=", "dev": true, "requires": { - "array-union": "^1.0.1", - "dir-glob": "^2.0.0", - "glob": "^7.1.2", - "ignore": "^3.3.5", - "pify": "^3.0.0", - "slash": "^1.0.0" + "array-union": "1.0.2", + "dir-glob": "2.2.2", + "glob": "7.1.4", + "ignore": "3.3.10", + "pify": "3.0.0", + "slash": "1.0.0" }, "dependencies": { "pify": { @@ -3261,7 +3242,7 @@ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "dev": true, "requires": { - "function-bind": "^1.1.1" + "function-bind": "1.1.1" } }, "has-flag": { @@ -3282,9 +3263,9 @@ "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", "dev": true, "requires": { - "get-value": "^2.0.6", - "has-values": "^1.0.0", - "isobject": "^3.0.0" + "get-value": "2.0.6", + "has-values": "1.0.0", + "isobject": "3.0.1" } }, "has-values": { @@ -3293,8 +3274,8 @@ "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", "dev": true, "requires": { - "is-number": "^3.0.0", - "kind-of": "^4.0.0" + "is-number": "3.0.0", + "kind-of": "4.0.0" }, "dependencies": { "kind-of": { @@ -3303,7 +3284,7 @@ "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", "dev": true, "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -3314,8 +3295,8 @@ "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=", "dev": true, "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" + "inherits": "2.0.4", + "safe-buffer": "5.1.2" } }, "hash.js": { @@ -3324,8 +3305,8 @@ "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", "dev": true, "requires": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.1" + "inherits": "2.0.4", + "minimalistic-assert": "1.0.1" } }, "hex-color-regex": { @@ -3340,9 +3321,9 @@ "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", "dev": true, "requires": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" + "hash.js": "1.1.7", + "minimalistic-assert": "1.0.1", + "minimalistic-crypto-utils": "1.0.1" } }, "homedir-polyfill": { @@ -3351,7 +3332,7 @@ "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", "dev": true, "requires": { - "parse-passwd": "^1.0.0" + "parse-passwd": "1.0.0" } }, "hsl-regex": { @@ -3390,7 +3371,7 @@ "integrity": "sha512-4aFq7wvWyMHKgxsH8QQtGpvbASCf+eM3wPRLI6R+MgAnTCZ6STYsRvttLvRWK0Nfif5piF394St3HeJDaljGPA==", "dev": true, "requires": { - "postcss": "^7.0.14" + "postcss": "7.0.17" } }, "ieee754": { @@ -3417,8 +3398,8 @@ "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", "dev": true, "requires": { - "caller-path": "^2.0.0", - "resolve-from": "^3.0.0" + "caller-path": "2.0.0", + "resolve-from": "3.0.0" } }, "import-local": { @@ -3427,8 +3408,8 @@ "integrity": "sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==", "dev": true, "requires": { - "pkg-dir": "^3.0.0", - "resolve-cwd": "^2.0.0" + "pkg-dir": "3.0.0", + "resolve-cwd": "2.0.0" } }, "imurmurhash": { @@ -3449,8 +3430,8 @@ "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "dev": true, "requires": { - "once": "^1.3.0", - "wrappy": "1" + "once": "1.4.0", + "wrappy": "1.0.2" } }, "inherits": { @@ -3477,7 +3458,7 @@ "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", "dev": true, "requires": { - "loose-envify": "^1.0.0" + "loose-envify": "1.4.0" } }, "invert-kv": { @@ -3498,7 +3479,7 @@ "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", "dev": true, "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" }, "dependencies": { "kind-of": { @@ -3507,7 +3488,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -3524,7 +3505,7 @@ "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", "dev": true, "requires": { - "binary-extensions": "^1.0.0" + "binary-extensions": "1.13.1" } }, "is-buffer": { @@ -3545,12 +3526,12 @@ "integrity": "sha1-z/9HGu5N1cnhWFmPvhKWe1za00U=", "dev": true, "requires": { - "css-color-names": "^0.0.4", - "hex-color-regex": "^1.1.0", - "hsl-regex": "^1.0.0", - "hsla-regex": "^1.0.0", - "rgb-regex": "^1.0.1", - "rgba-regex": "^1.0.0" + "css-color-names": "0.0.4", + "hex-color-regex": "1.1.0", + "hsl-regex": "1.0.0", + "hsla-regex": "1.0.0", + "rgb-regex": "1.0.1", + "rgba-regex": "1.0.0" } }, "is-data-descriptor": { @@ -3559,7 +3540,7 @@ "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", "dev": true, "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" }, "dependencies": { "kind-of": { @@ -3568,7 +3549,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -3585,9 +3566,9 @@ "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", "dev": true, "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" + "is-accessor-descriptor": "0.1.6", + "is-data-descriptor": "0.1.4", + "kind-of": "5.1.0" }, "dependencies": { "kind-of": { @@ -3628,7 +3609,7 @@ "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", "dev": true, "requires": { - "is-extglob": "^2.1.1" + "is-extglob": "2.1.1" } }, "is-number": { @@ -3637,7 +3618,7 @@ "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", "dev": true, "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" }, "dependencies": { "kind-of": { @@ -3646,7 +3627,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -3663,7 +3644,7 @@ "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "dev": true, "requires": { - "isobject": "^3.0.1" + "isobject": "3.0.1" } }, "is-regex": { @@ -3672,7 +3653,7 @@ "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", "dev": true, "requires": { - "has": "^1.0.1" + "has": "1.0.3" } }, "is-resolvable": { @@ -3693,7 +3674,7 @@ "integrity": "sha512-gi4iHK53LR2ujhLVVj+37Ykh9GLqYHX6JOVXbLAucaG/Cqw9xwdFOjDM2qeifLs1sF1npXXFvDu0r5HNgCMrzQ==", "dev": true, "requires": { - "html-comment-regex": "^1.1.0" + "html-comment-regex": "1.1.2" } }, "is-symbol": { @@ -3702,7 +3683,7 @@ "integrity": "sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==", "dev": true, "requires": { - "has-symbols": "^1.0.0" + "has-symbols": "1.0.0" } }, "is-windows": { @@ -3747,8 +3728,8 @@ "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", "dev": true, "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" + "argparse": "1.0.10", + "esprima": "4.0.1" } }, "jsesc": { @@ -3775,7 +3756,7 @@ "integrity": "sha512-8Mh9h6xViijj36g7Dxi+Y4S6hNGV96vcJZr/SrlHh1LR/pEn/8j/+qIBbs44YKl69Lrfctp4QD+AdWLTMqEZAQ==", "dev": true, "requires": { - "minimist": "^1.2.0" + "minimist": "1.2.0" } }, "kind-of": { @@ -3790,8 +3771,8 @@ "integrity": "sha512-7KI2l2GIZa9p2spzPIVZBYyNKkN+e/SQPpnjlTiPhdbDW3F86tdKKELxKpzJ5sgU19wQWsACULZmpTPYHeWO5w==", "dev": true, "requires": { - "lodash": "^4.17.5", - "webpack-sources": "^1.1.0" + "lodash": "4.17.15", + "webpack-sources": "1.3.0" } }, "lcid": { @@ -3800,7 +3781,7 @@ "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==", "dev": true, "requires": { - "invert-kv": "^2.0.0" + "invert-kv": "2.0.0" } }, "loader-runner": { @@ -3815,9 +3796,9 @@ "integrity": "sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA==", "dev": true, "requires": { - "big.js": "^5.2.2", - "emojis-list": "^2.0.0", - "json5": "^1.0.1" + "big.js": "5.2.2", + "emojis-list": "2.1.0", + "json5": "1.0.1" }, "dependencies": { "json5": { @@ -3826,7 +3807,7 @@ "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", "dev": true, "requires": { - "minimist": "^1.2.0" + "minimist": "1.2.0" } } } @@ -3837,8 +3818,8 @@ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", "dev": true, "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" + "p-locate": "3.0.0", + "path-exists": "3.0.0" } }, "lodash": { @@ -3865,7 +3846,7 @@ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", "dev": true, "requires": { - "js-tokens": "^3.0.0 || ^4.0.0" + "js-tokens": "4.0.0" } }, "lru-cache": { @@ -3874,8 +3855,8 @@ "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", "dev": true, "requires": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" + "pseudomap": "1.0.2", + "yallist": "2.1.2" } }, "make-dir": { @@ -3884,8 +3865,8 @@ "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", "dev": true, "requires": { - "pify": "^4.0.1", - "semver": "^5.6.0" + "pify": "4.0.1", + "semver": "5.7.0" } }, "map-age-cleaner": { @@ -3894,7 +3875,7 @@ "integrity": "sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==", "dev": true, "requires": { - "p-defer": "^1.0.0" + "p-defer": "1.0.0" } }, "map-cache": { @@ -3909,7 +3890,7 @@ "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", "dev": true, "requires": { - "object-visit": "^1.0.0" + "object-visit": "1.0.1" } }, "md5.js": { @@ -3918,9 +3899,9 @@ "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", "dev": true, "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" + "hash-base": "3.0.4", + "inherits": "2.0.4", + "safe-buffer": "5.1.2" } }, "mdn-data": { @@ -3935,9 +3916,9 @@ "integrity": "sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w==", "dev": true, "requires": { - "map-age-cleaner": "^0.1.1", - "mimic-fn": "^2.0.0", - "p-is-promise": "^2.0.0" + "map-age-cleaner": "0.1.3", + "mimic-fn": "2.1.0", + "p-is-promise": "2.1.0" } }, "memory-fs": { @@ -3946,8 +3927,8 @@ "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", "dev": true, "requires": { - "errno": "^0.1.3", - "readable-stream": "^2.0.1" + "errno": "0.1.7", + "readable-stream": "2.3.6" } }, "micromatch": { @@ -3956,19 +3937,19 @@ "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", "dev": true, "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" + "arr-diff": "4.0.0", + "array-unique": "0.3.2", + "braces": "2.3.2", + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "extglob": "2.0.4", + "fragment-cache": "0.2.1", + "kind-of": "6.0.2", + "nanomatch": "1.2.13", + "object.pick": "1.3.0", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" } }, "miller-rabin": { @@ -3977,8 +3958,8 @@ "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", "dev": true, "requires": { - "bn.js": "^4.0.0", - "brorand": "^1.0.1" + "bn.js": "4.11.8", + "brorand": "1.1.0" } }, "mimic-fn": { @@ -3993,9 +3974,9 @@ "integrity": "sha512-dqBanNfktnp2hwL2YguV9Jh91PFX7gu7nRLs4TGsbAfAG6WOtlynFRYzwDwmmeSb5uIwHo9nx1ta0f7vAZVp2w==", "dev": true, "requires": { - "loader-utils": "^1.1.0", - "schema-utils": "^1.0.0", - "webpack-sources": "^1.1.0" + "loader-utils": "1.2.3", + "schema-utils": "1.0.0", + "webpack-sources": "1.3.0" } }, "minimalistic-assert": { @@ -4016,7 +3997,7 @@ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, "requires": { - "brace-expansion": "^1.1.7" + "brace-expansion": "1.1.11" } }, "minimist": { @@ -4031,16 +4012,16 @@ "integrity": "sha512-zHo8v+otD1J10j/tC+VNoGK9keCuByhKovAvdn74dmxJl9+mWHnx6EMsDN4lgRoMI/eYo2nchAxniIbUPb5onw==", "dev": true, "requires": { - "concat-stream": "^1.5.0", - "duplexify": "^3.4.2", - "end-of-stream": "^1.1.0", - "flush-write-stream": "^1.0.0", - "from2": "^2.1.0", - "parallel-transform": "^1.1.0", - "pump": "^2.0.1", - "pumpify": "^1.3.3", - "stream-each": "^1.1.0", - "through2": "^2.0.0" + "concat-stream": "1.6.2", + "duplexify": "3.7.1", + "end-of-stream": "1.4.1", + "flush-write-stream": "1.1.1", + "from2": "2.3.0", + "parallel-transform": "1.1.0", + "pump": "2.0.1", + "pumpify": "1.5.1", + "stream-each": "1.2.3", + "through2": "2.0.5" } }, "mixin-deep": { @@ -4049,8 +4030,8 @@ "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", "dev": true, "requires": { - "for-in": "^1.0.2", - "is-extendable": "^1.0.1" + "for-in": "1.0.2", + "is-extendable": "1.0.1" }, "dependencies": { "is-extendable": { @@ -4059,7 +4040,7 @@ "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "dev": true, "requires": { - "is-plain-object": "^2.0.4" + "is-plain-object": "2.0.4" } } } @@ -4087,12 +4068,12 @@ "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=", "dev": true, "requires": { - "aproba": "^1.1.1", - "copy-concurrently": "^1.0.0", - "fs-write-stream-atomic": "^1.0.8", - "mkdirp": "^0.5.1", - "rimraf": "^2.5.4", - "run-queue": "^1.0.3" + "aproba": "1.2.0", + "copy-concurrently": "1.0.5", + "fs-write-stream-atomic": "1.0.10", + "mkdirp": "0.5.1", + "rimraf": "2.6.3", + "run-queue": "1.0.3" } }, "ms": { @@ -4114,17 +4095,17 @@ "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", "dev": true, "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "fragment-cache": "^0.2.1", - "is-windows": "^1.0.2", - "kind-of": "^6.0.2", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" + "arr-diff": "4.0.0", + "array-unique": "0.3.2", + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "fragment-cache": "0.2.1", + "is-windows": "1.0.2", + "kind-of": "6.0.2", + "object.pick": "1.3.0", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" } }, "neo-async": { @@ -4145,29 +4126,29 @@ "integrity": "sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==", "dev": true, "requires": { - "assert": "^1.1.1", - "browserify-zlib": "^0.2.0", - "buffer": "^4.3.0", - "console-browserify": "^1.1.0", - "constants-browserify": "^1.0.0", - "crypto-browserify": "^3.11.0", - "domain-browser": "^1.1.1", - "events": "^3.0.0", - "https-browserify": "^1.0.0", - "os-browserify": "^0.3.0", + "assert": "1.5.0", + "browserify-zlib": "0.2.0", + "buffer": "4.9.1", + "console-browserify": "1.1.0", + "constants-browserify": "1.0.0", + "crypto-browserify": "3.12.0", + "domain-browser": "1.2.0", + "events": "3.0.0", + "https-browserify": "1.0.0", + "os-browserify": "0.3.0", "path-browserify": "0.0.1", - "process": "^0.11.10", - "punycode": "^1.2.4", - "querystring-es3": "^0.2.0", - "readable-stream": "^2.3.3", - "stream-browserify": "^2.0.1", - "stream-http": "^2.7.2", - "string_decoder": "^1.0.0", - "timers-browserify": "^2.0.4", + "process": "0.11.10", + "punycode": "1.4.1", + "querystring-es3": "0.2.1", + "readable-stream": "2.3.6", + "stream-browserify": "2.0.2", + "stream-http": "2.8.3", + "string_decoder": "1.1.1", + "timers-browserify": "2.0.10", "tty-browserify": "0.0.0", - "url": "^0.11.0", - "util": "^0.11.0", - "vm-browserify": "^1.0.1" + "url": "0.11.0", + "util": "0.11.1", + "vm-browserify": "1.1.0" }, "dependencies": { "punycode": { @@ -4184,7 +4165,7 @@ "integrity": "sha512-fI5BXuk83lKEoZDdH3gRhtsNgh05/wZacuXkgbiYkceE7+QIMXOg98n9ZV7mz27B+kFHnqHcUpscZZlGRSmTpQ==", "dev": true, "requires": { - "semver": "^5.3.0" + "semver": "5.7.0" } }, "normalize-path": { @@ -4205,7 +4186,7 @@ "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", "dev": true, "requires": { - "path-key": "^2.0.0" + "path-key": "2.0.1" } }, "nth-check": { @@ -4214,7 +4195,7 @@ "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", "dev": true, "requires": { - "boolbase": "~1.0.0" + "boolbase": "1.0.0" } }, "object-assign": { @@ -4229,9 +4210,9 @@ "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", "dev": true, "requires": { - "copy-descriptor": "^0.1.0", - "define-property": "^0.2.5", - "kind-of": "^3.0.3" + "copy-descriptor": "0.1.1", + "define-property": "0.2.5", + "kind-of": "3.2.2" }, "dependencies": { "define-property": { @@ -4240,7 +4221,7 @@ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "dev": true, "requires": { - "is-descriptor": "^0.1.0" + "is-descriptor": "0.1.6" } }, "kind-of": { @@ -4249,7 +4230,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -4266,7 +4247,7 @@ "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", "dev": true, "requires": { - "isobject": "^3.0.0" + "isobject": "3.0.1" } }, "object.assign": { @@ -4275,10 +4256,10 @@ "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", "dev": true, "requires": { - "define-properties": "^1.1.2", - "function-bind": "^1.1.1", - "has-symbols": "^1.0.0", - "object-keys": "^1.0.11" + "define-properties": "1.1.3", + "function-bind": "1.1.1", + "has-symbols": "1.0.0", + "object-keys": "1.1.1" } }, "object.getownpropertydescriptors": { @@ -4287,8 +4268,8 @@ "integrity": "sha1-h1jIRvW0B62rDyNuCYbxSwUcqhY=", "dev": true, "requires": { - "define-properties": "^1.1.2", - "es-abstract": "^1.5.1" + "define-properties": "1.1.3", + "es-abstract": "1.13.0" } }, "object.pick": { @@ -4297,7 +4278,7 @@ "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", "dev": true, "requires": { - "isobject": "^3.0.1" + "isobject": "3.0.1" } }, "object.values": { @@ -4306,10 +4287,10 @@ "integrity": "sha512-8mf0nKLAoFX6VlNVdhGj31SVYpaNFtUnuoOXWyFEstsWRgU837AK+JYM0iAxwkSzGRbwn8cbFmgbyxj1j4VbXg==", "dev": true, "requires": { - "define-properties": "^1.1.3", - "es-abstract": "^1.12.0", - "function-bind": "^1.1.1", - "has": "^1.0.3" + "define-properties": "1.1.3", + "es-abstract": "1.13.0", + "function-bind": "1.1.1", + "has": "1.0.3" } }, "once": { @@ -4318,7 +4299,7 @@ "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "dev": true, "requires": { - "wrappy": "1" + "wrappy": "1.0.2" } }, "optimize-css-assets-webpack-plugin": { @@ -4327,8 +4308,8 @@ "integrity": "sha512-q9fbvCRS6EYtUKKSwI87qm2IxlyJK5b4dygW1rKUBT6mMDhdG5e5bZT63v6tnJR9F9FB/H5a0HTmtw+laUBxKA==", "dev": true, "requires": { - "cssnano": "^4.1.10", - "last-call-webpack-plugin": "^3.0.0" + "cssnano": "4.1.10", + "last-call-webpack-plugin": "3.0.0" } }, "os-browserify": { @@ -4343,9 +4324,9 @@ "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==", "dev": true, "requires": { - "execa": "^1.0.0", - "lcid": "^2.0.0", - "mem": "^4.0.0" + "execa": "1.0.0", + "lcid": "2.0.0", + "mem": "4.3.0" } }, "p-defer": { @@ -4372,7 +4353,7 @@ "integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==", "dev": true, "requires": { - "p-try": "^2.0.0" + "p-try": "2.2.0" } }, "p-locate": { @@ -4381,7 +4362,7 @@ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", "dev": true, "requires": { - "p-limit": "^2.0.0" + "p-limit": "2.2.0" } }, "p-try": { @@ -4402,9 +4383,9 @@ "integrity": "sha1-1BDwZbBdojCB/NEPKIVMKb2jOwY=", "dev": true, "requires": { - "cyclist": "~0.2.2", - "inherits": "^2.0.3", - "readable-stream": "^2.1.5" + "cyclist": "0.2.2", + "inherits": "2.0.4", + "readable-stream": "2.3.6" } }, "parse-asn1": { @@ -4413,12 +4394,12 @@ "integrity": "sha512-Qs5duJcuvNExRfFZ99HDD3z4mAi3r9Wl/FOjEOijlxwCZs7E7mW2vjTpgQ4J8LpTF8x5v+1Vn5UQFejmWT11aw==", "dev": true, "requires": { - "asn1.js": "^4.0.0", - "browserify-aes": "^1.0.0", - "create-hash": "^1.1.0", - "evp_bytestokey": "^1.0.0", - "pbkdf2": "^3.0.3", - "safe-buffer": "^5.1.1" + "asn1.js": "4.10.1", + "browserify-aes": "1.2.0", + "create-hash": "1.2.0", + "evp_bytestokey": "1.0.3", + "pbkdf2": "3.0.17", + "safe-buffer": "5.1.2" } }, "parse-json": { @@ -4427,8 +4408,8 @@ "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", "dev": true, "requires": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" + "error-ex": "1.3.2", + "json-parse-better-errors": "1.0.2" } }, "parse-passwd": { @@ -4485,7 +4466,7 @@ "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", "dev": true, "requires": { - "pify": "^3.0.0" + "pify": "3.0.0" }, "dependencies": { "pify": { @@ -4502,11 +4483,11 @@ "integrity": "sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==", "dev": true, "requires": { - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4", - "ripemd160": "^2.0.1", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" + "create-hash": "1.2.0", + "create-hmac": "1.1.7", + "ripemd160": "2.0.2", + "safe-buffer": "5.1.2", + "sha.js": "2.4.11" } }, "phoenix": { @@ -4515,6 +4496,9 @@ "phoenix_html": { "version": "file:../deps/phoenix_html" }, + "phoenix_live_view": { + "version": "file:../deps/phoenix_live_view" + }, "pify": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", @@ -4527,7 +4511,7 @@ "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", "dev": true, "requires": { - "find-up": "^3.0.0" + "find-up": "3.0.0" } }, "posix-character-classes": { @@ -4542,9 +4526,9 @@ "integrity": "sha512-546ZowA+KZ3OasvQZHsbuEpysvwTZNGJv9EfyCQdsIDltPSWHAeTQ5fQy/Npi2ZDtLI3zs7Ps/p6wThErhm9fQ==", "dev": true, "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" + "chalk": "2.4.2", + "source-map": "0.6.1", + "supports-color": "6.1.0" }, "dependencies": { "source-map": { @@ -4559,7 +4543,7 @@ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "has-flag": "3.0.0" } } } @@ -4570,10 +4554,10 @@ "integrity": "sha512-oXqx0m6tb4N3JGdmeMSc/i91KppbYsFZKdH0xMOqK8V1rJlzrKlTdokz8ozUXLVejydRN6u2IddxpcijRj2FqQ==", "dev": true, "requires": { - "css-unit-converter": "^1.1.1", - "postcss": "^7.0.5", - "postcss-selector-parser": "^5.0.0-rc.4", - "postcss-value-parser": "^3.3.1" + "css-unit-converter": "1.1.1", + "postcss": "7.0.17", + "postcss-selector-parser": "5.0.0", + "postcss-value-parser": "3.3.1" }, "dependencies": { "cssesc": { @@ -4588,9 +4572,9 @@ "integrity": "sha512-w+zLE5Jhg6Liz8+rQOWEAwtwkyqpfnmsinXjXg6cY7YIONZZtgvE0v2O0uhQBs0peNomOJwWRKt6JBfTdTd3OQ==", "dev": true, "requires": { - "cssesc": "^2.0.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" + "cssesc": "2.0.0", + "indexes-of": "1.0.1", + "uniq": "1.0.1" } } } @@ -4601,11 +4585,11 @@ "integrity": "sha512-WyQFAdDZpExQh32j0U0feWisZ0dmOtPl44qYmJKkq9xFWY3p+4qnRzCHeNrkeRhwPHz9bQ3mo0/yVkaply0MNw==", "dev": true, "requires": { - "browserslist": "^4.0.0", - "color": "^3.0.0", - "has": "^1.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" + "browserslist": "4.6.3", + "color": "3.1.2", + "has": "1.0.3", + "postcss": "7.0.17", + "postcss-value-parser": "3.3.1" } }, "postcss-convert-values": { @@ -4614,8 +4598,8 @@ "integrity": "sha512-Kisdo1y77KUC0Jmn0OXU/COOJbzM8cImvw1ZFsBgBgMgb1iL23Zs/LXRe3r+EZqM3vGYKdQ2YJVQ5VkJI+zEJQ==", "dev": true, "requires": { - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" + "postcss": "7.0.17", + "postcss-value-parser": "3.3.1" } }, "postcss-discard-comments": { @@ -4624,7 +4608,7 @@ "integrity": "sha512-RJutN259iuRf3IW7GZyLM5Sw4GLTOH8FmsXBnv8Ab/Tc2k4SR4qbV4DNbyyY4+Sjo362SyDmW2DQ7lBSChrpkg==", "dev": true, "requires": { - "postcss": "^7.0.0" + "postcss": "7.0.17" } }, "postcss-discard-duplicates": { @@ -4633,7 +4617,7 @@ "integrity": "sha512-ZNQfR1gPNAiXZhgENFfEglF93pciw0WxMkJeVmw8eF+JZBbMD7jp6C67GqJAXVZP2BWbOztKfbsdmMp/k8c6oQ==", "dev": true, "requires": { - "postcss": "^7.0.0" + "postcss": "7.0.17" } }, "postcss-discard-empty": { @@ -4642,7 +4626,7 @@ "integrity": "sha512-B9miTzbznhDjTfjvipfHoqbWKwd0Mj+/fL5s1QOz06wufguil+Xheo4XpOnc4NqKYBCNqqEzgPv2aPBIJLox0w==", "dev": true, "requires": { - "postcss": "^7.0.0" + "postcss": "7.0.17" } }, "postcss-discard-overridden": { @@ -4651,7 +4635,7 @@ "integrity": "sha512-IYY2bEDD7g1XM1IDEsUT4//iEYCxAmP5oDSFMVU/JVvT7gh+l4fmjciLqGgwjdWpQIdb0Che2VX00QObS5+cTg==", "dev": true, "requires": { - "postcss": "^7.0.0" + "postcss": "7.0.17" } }, "postcss-merge-longhand": { @@ -4661,9 +4645,9 @@ "dev": true, "requires": { "css-color-names": "0.0.4", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0", - "stylehacks": "^4.0.0" + "postcss": "7.0.17", + "postcss-value-parser": "3.3.1", + "stylehacks": "4.0.3" } }, "postcss-merge-rules": { @@ -4672,12 +4656,12 @@ "integrity": "sha512-U7e3r1SbvYzO0Jr3UT/zKBVgYYyhAz0aitvGIYOYK5CPmkNih+WDSsS5tvPrJ8YMQYlEMvsZIiqmn7HdFUaeEQ==", "dev": true, "requires": { - "browserslist": "^4.0.0", - "caniuse-api": "^3.0.0", - "cssnano-util-same-parent": "^4.0.0", - "postcss": "^7.0.0", - "postcss-selector-parser": "^3.0.0", - "vendors": "^1.0.0" + "browserslist": "4.6.3", + "caniuse-api": "3.0.0", + "cssnano-util-same-parent": "4.0.1", + "postcss": "7.0.17", + "postcss-selector-parser": "3.1.1", + "vendors": "1.0.3" }, "dependencies": { "postcss-selector-parser": { @@ -4686,9 +4670,9 @@ "integrity": "sha1-T4dfSvsMllc9XPTXQBGu4lCn6GU=", "dev": true, "requires": { - "dot-prop": "^4.1.1", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" + "dot-prop": "4.2.0", + "indexes-of": "1.0.1", + "uniq": "1.0.1" } } } @@ -4699,8 +4683,8 @@ "integrity": "sha512-j85oO6OnRU9zPf04+PZv1LYIYOprWm6IA6zkXkrJXyRveDEuQggG6tvoy8ir8ZwjLxLuGfNkCZEQG7zan+Hbtg==", "dev": true, "requires": { - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" + "postcss": "7.0.17", + "postcss-value-parser": "3.3.1" } }, "postcss-minify-gradients": { @@ -4709,10 +4693,10 @@ "integrity": "sha512-qKPfwlONdcf/AndP1U8SJ/uzIJtowHlMaSioKzebAXSG4iJthlWC9iSWznQcX4f66gIWX44RSA841HTHj3wK+Q==", "dev": true, "requires": { - "cssnano-util-get-arguments": "^4.0.0", - "is-color-stop": "^1.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" + "cssnano-util-get-arguments": "4.0.0", + "is-color-stop": "1.1.0", + "postcss": "7.0.17", + "postcss-value-parser": "3.3.1" } }, "postcss-minify-params": { @@ -4721,12 +4705,12 @@ "integrity": "sha512-G7eWyzEx0xL4/wiBBJxJOz48zAKV2WG3iZOqVhPet/9geefm/Px5uo1fzlHu+DOjT+m0Mmiz3jkQzVHe6wxAWg==", "dev": true, "requires": { - "alphanum-sort": "^1.0.0", - "browserslist": "^4.0.0", - "cssnano-util-get-arguments": "^4.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0", - "uniqs": "^2.0.0" + "alphanum-sort": "1.0.2", + "browserslist": "4.6.3", + "cssnano-util-get-arguments": "4.0.0", + "postcss": "7.0.17", + "postcss-value-parser": "3.3.1", + "uniqs": "2.0.0" } }, "postcss-minify-selectors": { @@ -4735,10 +4719,10 @@ "integrity": "sha512-D5S1iViljXBj9kflQo4YutWnJmwm8VvIsU1GeXJGiG9j8CIg9zs4voPMdQDUmIxetUOh60VilsNzCiAFTOqu3g==", "dev": true, "requires": { - "alphanum-sort": "^1.0.0", - "has": "^1.0.0", - "postcss": "^7.0.0", - "postcss-selector-parser": "^3.0.0" + "alphanum-sort": "1.0.2", + "has": "1.0.3", + "postcss": "7.0.17", + "postcss-selector-parser": "3.1.1" }, "dependencies": { "postcss-selector-parser": { @@ -4747,9 +4731,9 @@ "integrity": "sha1-T4dfSvsMllc9XPTXQBGu4lCn6GU=", "dev": true, "requires": { - "dot-prop": "^4.1.1", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" + "dot-prop": "4.2.0", + "indexes-of": "1.0.1", + "uniq": "1.0.1" } } } @@ -4760,7 +4744,7 @@ "integrity": "sha512-LaYLDNS4SG8Q5WAWqIJgdHPJrDDr/Lv775rMBFUbgjTz6j34lUznACHcdRWroPvXANP2Vj7yNK57vp9eFqzLWQ==", "dev": true, "requires": { - "postcss": "^7.0.5" + "postcss": "7.0.17" } }, "postcss-modules-local-by-default": { @@ -4769,9 +4753,9 @@ "integrity": "sha512-oLUV5YNkeIBa0yQl7EYnxMgy4N6noxmiwZStaEJUSe2xPMcdNc8WmBQuQCx18H5psYbVxz8zoHk0RAAYZXP9gA==", "dev": true, "requires": { - "postcss": "^7.0.6", - "postcss-selector-parser": "^6.0.0", - "postcss-value-parser": "^3.3.1" + "postcss": "7.0.17", + "postcss-selector-parser": "6.0.2", + "postcss-value-parser": "3.3.1" } }, "postcss-modules-scope": { @@ -4780,8 +4764,8 @@ "integrity": "sha512-91Rjps0JnmtUB0cujlc8KIKCsJXWjzuxGeT/+Q2i2HXKZ7nBUeF9YQTZZTNvHVoNYj1AthsjnGLtqDUE0Op79A==", "dev": true, "requires": { - "postcss": "^7.0.6", - "postcss-selector-parser": "^6.0.0" + "postcss": "7.0.17", + "postcss-selector-parser": "6.0.2" } }, "postcss-modules-values": { @@ -4790,8 +4774,8 @@ "integrity": "sha512-Ki7JZa7ff1N3EIMlPnGTZfUMe69FFwiQPnVSXC9mnn3jozCRBYIxiZd44yJOV2AmabOo4qFf8s0dC/+lweG7+w==", "dev": true, "requires": { - "icss-replace-symbols": "^1.1.0", - "postcss": "^7.0.6" + "icss-replace-symbols": "1.1.0", + "postcss": "7.0.17" } }, "postcss-normalize-charset": { @@ -4800,7 +4784,7 @@ "integrity": "sha512-gMXCrrlWh6G27U0hF3vNvR3w8I1s2wOBILvA87iNXaPvSNo5uZAMYsZG7XjCUf1eVxuPfyL4TJ7++SGZLc9A3g==", "dev": true, "requires": { - "postcss": "^7.0.0" + "postcss": "7.0.17" } }, "postcss-normalize-display-values": { @@ -4809,9 +4793,9 @@ "integrity": "sha512-3F2jcsaMW7+VtRMAqf/3m4cPFhPD3EFRgNs18u+k3lTJJlVe7d0YPO+bnwqo2xg8YiRpDXJI2u8A0wqJxMsQuQ==", "dev": true, "requires": { - "cssnano-util-get-match": "^4.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" + "cssnano-util-get-match": "4.0.0", + "postcss": "7.0.17", + "postcss-value-parser": "3.3.1" } }, "postcss-normalize-positions": { @@ -4820,10 +4804,10 @@ "integrity": "sha512-Dlf3/9AxpxE+NF1fJxYDeggi5WwV35MXGFnnoccP/9qDtFrTArZ0D0R+iKcg5WsUd8nUYMIl8yXDCtcrT8JrdA==", "dev": true, "requires": { - "cssnano-util-get-arguments": "^4.0.0", - "has": "^1.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" + "cssnano-util-get-arguments": "4.0.0", + "has": "1.0.3", + "postcss": "7.0.17", + "postcss-value-parser": "3.3.1" } }, "postcss-normalize-repeat-style": { @@ -4832,10 +4816,10 @@ "integrity": "sha512-qvigdYYMpSuoFs3Is/f5nHdRLJN/ITA7huIoCyqqENJe9PvPmLhNLMu7QTjPdtnVf6OcYYO5SHonx4+fbJE1+Q==", "dev": true, "requires": { - "cssnano-util-get-arguments": "^4.0.0", - "cssnano-util-get-match": "^4.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" + "cssnano-util-get-arguments": "4.0.0", + "cssnano-util-get-match": "4.0.0", + "postcss": "7.0.17", + "postcss-value-parser": "3.3.1" } }, "postcss-normalize-string": { @@ -4844,9 +4828,9 @@ "integrity": "sha512-RrERod97Dnwqq49WNz8qo66ps0swYZDSb6rM57kN2J+aoyEAJfZ6bMx0sx/F9TIEX0xthPGCmeyiam/jXif0eA==", "dev": true, "requires": { - "has": "^1.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" + "has": "1.0.3", + "postcss": "7.0.17", + "postcss-value-parser": "3.3.1" } }, "postcss-normalize-timing-functions": { @@ -4855,9 +4839,9 @@ "integrity": "sha512-acwJY95edP762e++00Ehq9L4sZCEcOPyaHwoaFOhIwWCDfik6YvqsYNxckee65JHLKzuNSSmAdxwD2Cud1Z54A==", "dev": true, "requires": { - "cssnano-util-get-match": "^4.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" + "cssnano-util-get-match": "4.0.0", + "postcss": "7.0.17", + "postcss-value-parser": "3.3.1" } }, "postcss-normalize-unicode": { @@ -4866,9 +4850,9 @@ "integrity": "sha512-od18Uq2wCYn+vZ/qCOeutvHjB5jm57ToxRaMeNuf0nWVHaP9Hua56QyMF6fs/4FSUnVIw0CBPsU0K4LnBPwYwg==", "dev": true, "requires": { - "browserslist": "^4.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" + "browserslist": "4.6.3", + "postcss": "7.0.17", + "postcss-value-parser": "3.3.1" } }, "postcss-normalize-url": { @@ -4877,10 +4861,10 @@ "integrity": "sha512-p5oVaF4+IHwu7VpMan/SSpmpYxcJMtkGppYf0VbdH5B6hN8YNmVyJLuY9FmLQTzY3fag5ESUUHDqM+heid0UVA==", "dev": true, "requires": { - "is-absolute-url": "^2.0.0", - "normalize-url": "^3.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" + "is-absolute-url": "2.1.0", + "normalize-url": "3.3.0", + "postcss": "7.0.17", + "postcss-value-parser": "3.3.1" } }, "postcss-normalize-whitespace": { @@ -4889,8 +4873,8 @@ "integrity": "sha512-tO8QIgrsI3p95r8fyqKV+ufKlSHh9hMJqACqbv2XknufqEDhDvbguXGBBqxw9nsQoXWf0qOqppziKJKHMD4GtA==", "dev": true, "requires": { - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" + "postcss": "7.0.17", + "postcss-value-parser": "3.3.1" } }, "postcss-ordered-values": { @@ -4899,9 +4883,9 @@ "integrity": "sha512-2fCObh5UanxvSxeXrtLtlwVThBvHn6MQcu4ksNT2tsaV2Fg76R2CV98W7wNSlX+5/pFwEyaDwKLLoEV7uRybAw==", "dev": true, "requires": { - "cssnano-util-get-arguments": "^4.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" + "cssnano-util-get-arguments": "4.0.0", + "postcss": "7.0.17", + "postcss-value-parser": "3.3.1" } }, "postcss-reduce-initial": { @@ -4910,10 +4894,10 @@ "integrity": "sha512-gKWmR5aUulSjbzOfD9AlJiHCGH6AEVLaM0AV+aSioxUDd16qXP1PCh8d1/BGVvpdWn8k/HiK7n6TjeoXN1F7DA==", "dev": true, "requires": { - "browserslist": "^4.0.0", - "caniuse-api": "^3.0.0", - "has": "^1.0.0", - "postcss": "^7.0.0" + "browserslist": "4.6.3", + "caniuse-api": "3.0.0", + "has": "1.0.3", + "postcss": "7.0.17" } }, "postcss-reduce-transforms": { @@ -4922,10 +4906,10 @@ "integrity": "sha512-EEVig1Q2QJ4ELpJXMZR8Vt5DQx8/mo+dGWSR7vWXqcob2gQLyQGsionYcGKATXvQzMPn6DSN1vTN7yFximdIAg==", "dev": true, "requires": { - "cssnano-util-get-match": "^4.0.0", - "has": "^1.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" + "cssnano-util-get-match": "4.0.0", + "has": "1.0.3", + "postcss": "7.0.17", + "postcss-value-parser": "3.3.1" } }, "postcss-selector-parser": { @@ -4934,9 +4918,9 @@ "integrity": "sha512-36P2QR59jDTOAiIkqEprfJDsoNrvwFei3eCqKd1Y0tUsBimsq39BLp7RD+JWny3WgB1zGhJX8XVePwm9k4wdBg==", "dev": true, "requires": { - "cssesc": "^3.0.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" + "cssesc": "3.0.0", + "indexes-of": "1.0.1", + "uniq": "1.0.1" } }, "postcss-svgo": { @@ -4945,10 +4929,10 @@ "integrity": "sha512-C6wyjo3VwFm0QgBy+Fu7gCYOkCmgmClghO+pjcxvrcBKtiKt0uCF+hvbMO1fyv5BMImRK90SMb+dwUnfbGd+jw==", "dev": true, "requires": { - "is-svg": "^3.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0", - "svgo": "^1.0.0" + "is-svg": "3.0.0", + "postcss": "7.0.17", + "postcss-value-parser": "3.3.1", + "svgo": "1.2.2" } }, "postcss-unique-selectors": { @@ -4957,9 +4941,9 @@ "integrity": "sha512-+JanVaryLo9QwZjKrmJgkI4Fn8SBgRO6WXQBJi7KiAVPlmxikB5Jzc4EvXMT2H0/m0RjrVVm9rGNhZddm/8Spg==", "dev": true, "requires": { - "alphanum-sort": "^1.0.0", - "postcss": "^7.0.0", - "uniqs": "^2.0.0" + "alphanum-sort": "1.0.2", + "postcss": "7.0.17", + "uniqs": "2.0.0" } }, "postcss-value-parser": { @@ -5010,12 +4994,12 @@ "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", "dev": true, "requires": { - "bn.js": "^4.1.0", - "browserify-rsa": "^4.0.0", - "create-hash": "^1.1.0", - "parse-asn1": "^5.0.0", - "randombytes": "^2.0.1", - "safe-buffer": "^5.1.2" + "bn.js": "4.11.8", + "browserify-rsa": "4.0.1", + "create-hash": "1.2.0", + "parse-asn1": "5.1.4", + "randombytes": "2.1.0", + "safe-buffer": "5.1.2" } }, "pump": { @@ -5024,8 +5008,8 @@ "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", "dev": true, "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" + "end-of-stream": "1.4.1", + "once": "1.4.0" } }, "pumpify": { @@ -5034,9 +5018,9 @@ "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==", "dev": true, "requires": { - "duplexify": "^3.6.0", - "inherits": "^2.0.3", - "pump": "^2.0.0" + "duplexify": "3.7.1", + "inherits": "2.0.4", + "pump": "2.0.1" } }, "punycode": { @@ -5074,7 +5058,7 @@ "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", "dev": true, "requires": { - "safe-buffer": "^5.1.0" + "safe-buffer": "5.1.2" } }, "randomfill": { @@ -5083,8 +5067,8 @@ "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", "dev": true, "requires": { - "randombytes": "^2.0.5", - "safe-buffer": "^5.1.0" + "randombytes": "2.1.0", + "safe-buffer": "5.1.2" } }, "readable-stream": { @@ -5093,13 +5077,13 @@ "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", "dev": true, "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "core-util-is": "1.0.2", + "inherits": "2.0.4", + "isarray": "1.0.0", + "process-nextick-args": "2.0.1", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" } }, "readdirp": { @@ -5108,9 +5092,9 @@ "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", "dev": true, "requires": { - "graceful-fs": "^4.1.11", - "micromatch": "^3.1.10", - "readable-stream": "^2.0.2" + "graceful-fs": "4.2.0", + "micromatch": "3.1.10", + "readable-stream": "2.3.6" } }, "regenerate": { @@ -5125,7 +5109,7 @@ "integrity": "sha512-LGZzkgtLY79GeXLm8Dp0BVLdQlWICzBnJz/ipWUgo59qBaZ+BHtq51P2q1uVZlppMuUAT37SDk39qUbjTWB7bA==", "dev": true, "requires": { - "regenerate": "^1.4.0" + "regenerate": "1.4.0" } }, "regenerator-transform": { @@ -5134,7 +5118,7 @@ "integrity": "sha512-rtOelq4Cawlbmq9xuMR5gdFmv7ku/sFoB7sRiywx7aq53bc52b4j6zvH7Te1Vt/X2YveDKnCGUbioieU7FEL3w==", "dev": true, "requires": { - "private": "^0.1.6" + "private": "0.1.8" } }, "regex-not": { @@ -5143,8 +5127,8 @@ "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", "dev": true, "requires": { - "extend-shallow": "^3.0.2", - "safe-regex": "^1.1.0" + "extend-shallow": "3.0.2", + "safe-regex": "1.1.0" } }, "regexp-tree": { @@ -5159,12 +5143,12 @@ "integrity": "sha512-BtizvGtFQKGPUcTy56o3nk1bGRp4SZOTYrDtGNlqCQufptV5IkkLN6Emw+yunAJjzf+C9FQFtvq7IoA3+oMYHQ==", "dev": true, "requires": { - "regenerate": "^1.4.0", - "regenerate-unicode-properties": "^8.0.2", - "regjsgen": "^0.5.0", - "regjsparser": "^0.6.0", - "unicode-match-property-ecmascript": "^1.0.4", - "unicode-match-property-value-ecmascript": "^1.1.0" + "regenerate": "1.4.0", + "regenerate-unicode-properties": "8.1.0", + "regjsgen": "0.5.0", + "regjsparser": "0.6.0", + "unicode-match-property-ecmascript": "1.0.4", + "unicode-match-property-value-ecmascript": "1.1.0" } }, "regjsgen": { @@ -5179,7 +5163,7 @@ "integrity": "sha512-RQ7YyokLiQBomUJuUG8iGVvkgOLxwyZM8k6d3q5SAXpg4r5TZJZigKFvC6PpD+qQ98bCDC5YelPeA3EucDoNeQ==", "dev": true, "requires": { - "jsesc": "~0.5.0" + "jsesc": "0.5.0" }, "dependencies": { "jsesc": { @@ -5226,7 +5210,7 @@ "integrity": "sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw==", "dev": true, "requires": { - "path-parse": "^1.0.6" + "path-parse": "1.0.6" } }, "resolve-cwd": { @@ -5235,7 +5219,7 @@ "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=", "dev": true, "requires": { - "resolve-from": "^3.0.0" + "resolve-from": "3.0.0" } }, "resolve-dir": { @@ -5244,8 +5228,8 @@ "integrity": "sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=", "dev": true, "requires": { - "expand-tilde": "^2.0.0", - "global-modules": "^1.0.0" + "expand-tilde": "2.0.2", + "global-modules": "1.0.0" }, "dependencies": { "global-modules": { @@ -5254,9 +5238,9 @@ "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", "dev": true, "requires": { - "global-prefix": "^1.0.1", - "is-windows": "^1.0.1", - "resolve-dir": "^1.0.0" + "global-prefix": "1.0.2", + "is-windows": "1.0.2", + "resolve-dir": "1.0.1" } } } @@ -5297,7 +5281,7 @@ "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", "dev": true, "requires": { - "glob": "^7.1.3" + "glob": "7.1.4" } }, "ripemd160": { @@ -5306,8 +5290,8 @@ "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", "dev": true, "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1" + "hash-base": "3.0.4", + "inherits": "2.0.4" } }, "run-queue": { @@ -5316,7 +5300,7 @@ "integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=", "dev": true, "requires": { - "aproba": "^1.1.1" + "aproba": "1.2.0" } }, "safe-buffer": { @@ -5331,7 +5315,7 @@ "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", "dev": true, "requires": { - "ret": "~0.1.10" + "ret": "0.1.15" } }, "sax": { @@ -5346,9 +5330,9 @@ "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", "dev": true, "requires": { - "ajv": "^6.1.0", - "ajv-errors": "^1.0.0", - "ajv-keywords": "^3.1.0" + "ajv": "6.10.1", + "ajv-errors": "1.0.1", + "ajv-keywords": "3.4.1" } }, "semver": { @@ -5375,10 +5359,10 @@ "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", "dev": true, "requires": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.3", - "split-string": "^3.0.1" + "extend-shallow": "2.0.1", + "is-extendable": "0.1.1", + "is-plain-object": "2.0.4", + "split-string": "3.1.0" }, "dependencies": { "extend-shallow": { @@ -5387,7 +5371,7 @@ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "dev": true, "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } } } @@ -5404,8 +5388,8 @@ "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", "dev": true, "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" + "inherits": "2.0.4", + "safe-buffer": "5.1.2" } }, "shebang-command": { @@ -5414,7 +5398,7 @@ "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", "dev": true, "requires": { - "shebang-regex": "^1.0.0" + "shebang-regex": "1.0.0" } }, "shebang-regex": { @@ -5435,7 +5419,7 @@ "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", "dev": true, "requires": { - "is-arrayish": "^0.3.1" + "is-arrayish": "0.3.2" }, "dependencies": { "is-arrayish": { @@ -5458,14 +5442,14 @@ "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", "dev": true, "requires": { - "base": "^0.11.1", - "debug": "^2.2.0", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "map-cache": "^0.2.2", - "source-map": "^0.5.6", - "source-map-resolve": "^0.5.0", - "use": "^3.1.0" + "base": "0.11.2", + "debug": "2.6.9", + "define-property": "0.2.5", + "extend-shallow": "2.0.1", + "map-cache": "0.2.2", + "source-map": "0.5.7", + "source-map-resolve": "0.5.2", + "use": "3.1.1" }, "dependencies": { "debug": { @@ -5483,7 +5467,7 @@ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "dev": true, "requires": { - "is-descriptor": "^0.1.0" + "is-descriptor": "0.1.6" } }, "extend-shallow": { @@ -5492,7 +5476,7 @@ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "dev": true, "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } }, "ms": { @@ -5509,9 +5493,9 @@ "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", "dev": true, "requires": { - "define-property": "^1.0.0", - "isobject": "^3.0.0", - "snapdragon-util": "^3.0.1" + "define-property": "1.0.0", + "isobject": "3.0.1", + "snapdragon-util": "3.0.1" }, "dependencies": { "define-property": { @@ -5520,7 +5504,7 @@ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", "dev": true, "requires": { - "is-descriptor": "^1.0.0" + "is-descriptor": "1.0.2" } }, "is-accessor-descriptor": { @@ -5529,7 +5513,7 @@ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-data-descriptor": { @@ -5538,7 +5522,7 @@ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-descriptor": { @@ -5547,9 +5531,9 @@ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "dev": true, "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" } } } @@ -5560,7 +5544,7 @@ "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", "dev": true, "requires": { - "kind-of": "^3.2.0" + "kind-of": "3.2.2" }, "dependencies": { "kind-of": { @@ -5569,7 +5553,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -5592,11 +5576,11 @@ "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", "dev": true, "requires": { - "atob": "^2.1.1", - "decode-uri-component": "^0.2.0", - "resolve-url": "^0.2.1", - "source-map-url": "^0.4.0", - "urix": "^0.1.0" + "atob": "2.1.2", + "decode-uri-component": "0.2.0", + "resolve-url": "0.2.1", + "source-map-url": "0.4.0", + "urix": "0.1.0" } }, "source-map-url": { @@ -5611,7 +5595,7 @@ "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", "dev": true, "requires": { - "extend-shallow": "^3.0.0" + "extend-shallow": "3.0.2" } }, "sprintf-js": { @@ -5626,7 +5610,7 @@ "integrity": "sha512-XRSIPqLij52MtgoQavH/x/dU1qVKtWUAAZeOHsR9c2Ddi4XerFy3mc1alf+dLJKl9EUIm/Ht+EowFkTUOA6GAQ==", "dev": true, "requires": { - "safe-buffer": "^5.1.1" + "safe-buffer": "5.1.2" } }, "stable": { @@ -5641,8 +5625,8 @@ "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", "dev": true, "requires": { - "define-property": "^0.2.5", - "object-copy": "^0.1.0" + "define-property": "0.2.5", + "object-copy": "0.1.0" }, "dependencies": { "define-property": { @@ -5651,7 +5635,7 @@ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "dev": true, "requires": { - "is-descriptor": "^0.1.0" + "is-descriptor": "0.1.6" } } } @@ -5662,8 +5646,8 @@ "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", "dev": true, "requires": { - "inherits": "~2.0.1", - "readable-stream": "^2.0.2" + "inherits": "2.0.4", + "readable-stream": "2.3.6" } }, "stream-each": { @@ -5672,8 +5656,8 @@ "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==", "dev": true, "requires": { - "end-of-stream": "^1.1.0", - "stream-shift": "^1.0.0" + "end-of-stream": "1.4.1", + "stream-shift": "1.0.0" } }, "stream-http": { @@ -5682,11 +5666,11 @@ "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", "dev": true, "requires": { - "builtin-status-codes": "^3.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.3.6", - "to-arraybuffer": "^1.0.0", - "xtend": "^4.0.0" + "builtin-status-codes": "3.0.0", + "inherits": "2.0.4", + "readable-stream": "2.3.6", + "to-arraybuffer": "1.0.1", + "xtend": "4.0.1" } }, "stream-shift": { @@ -5701,9 +5685,9 @@ "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", "dev": true, "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" + "emoji-regex": "7.0.3", + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "5.2.0" } }, "string_decoder": { @@ -5712,7 +5696,7 @@ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, "requires": { - "safe-buffer": "~5.1.0" + "safe-buffer": "5.1.2" } }, "strip-ansi": { @@ -5721,7 +5705,7 @@ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", "dev": true, "requires": { - "ansi-regex": "^4.1.0" + "ansi-regex": "4.1.0" } }, "strip-eof": { @@ -5736,9 +5720,9 @@ "integrity": "sha512-7GlLk9JwlElY4Y6a/rmbH2MhVlTyVmiJd1PfTCqFaIBEGMYNsrO/v3SeGTdhBThLg4Z+NbOk/qFMwCa+J+3p/g==", "dev": true, "requires": { - "browserslist": "^4.0.0", - "postcss": "^7.0.0", - "postcss-selector-parser": "^3.0.0" + "browserslist": "4.6.3", + "postcss": "7.0.17", + "postcss-selector-parser": "3.1.1" }, "dependencies": { "postcss-selector-parser": { @@ -5747,9 +5731,9 @@ "integrity": "sha1-T4dfSvsMllc9XPTXQBGu4lCn6GU=", "dev": true, "requires": { - "dot-prop": "^4.1.1", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" + "dot-prop": "4.2.0", + "indexes-of": "1.0.1", + "uniq": "1.0.1" } } } @@ -5760,7 +5744,7 @@ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "has-flag": "3.0.0" } }, "svgo": { @@ -5769,20 +5753,20 @@ "integrity": "sha512-rAfulcwp2D9jjdGu+0CuqlrAUin6bBWrpoqXWwKDZZZJfXcUXQSxLJOFJCQCSA0x0pP2U0TxSlJu2ROq5Bq6qA==", "dev": true, "requires": { - "chalk": "^2.4.1", - "coa": "^2.0.2", - "css-select": "^2.0.0", - "css-select-base-adapter": "^0.1.1", + "chalk": "2.4.2", + "coa": "2.0.2", + "css-select": "2.0.2", + "css-select-base-adapter": "0.1.1", "css-tree": "1.0.0-alpha.28", - "css-url-regex": "^1.1.0", - "csso": "^3.5.1", - "js-yaml": "^3.13.1", - "mkdirp": "~0.5.1", - "object.values": "^1.1.0", - "sax": "~1.2.4", - "stable": "^0.1.8", - "unquote": "~1.1.1", - "util.promisify": "~1.0.0" + "css-url-regex": "1.1.0", + "csso": "3.5.1", + "js-yaml": "3.13.1", + "mkdirp": "0.5.1", + "object.values": "1.1.0", + "sax": "1.2.4", + "stable": "0.1.8", + "unquote": "1.1.1", + "util.promisify": "1.0.0" } }, "tapable": { @@ -5797,8 +5781,8 @@ "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", "dev": true, "requires": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" + "readable-stream": "2.3.6", + "xtend": "4.0.1" } }, "timers-browserify": { @@ -5807,7 +5791,7 @@ "integrity": "sha512-YvC1SV1XdOUaL6gx5CoGroT3Gu49pK9+TZ38ErPldOWW4j49GI1HKs9DV+KGq/w6y+LZ72W1c8cKz2vzY+qpzg==", "dev": true, "requires": { - "setimmediate": "^1.0.4" + "setimmediate": "1.0.5" } }, "timsort": { @@ -5834,7 +5818,7 @@ "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", "dev": true, "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" }, "dependencies": { "kind-of": { @@ -5843,7 +5827,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -5854,10 +5838,10 @@ "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", "dev": true, "requires": { - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "regex-not": "^1.0.2", - "safe-regex": "^1.1.0" + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "regex-not": "1.0.2", + "safe-regex": "1.1.0" } }, "to-regex-range": { @@ -5866,8 +5850,8 @@ "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", "dev": true, "requires": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" + "is-number": "3.0.0", + "repeat-string": "1.6.1" } }, "trim-right": { @@ -5894,8 +5878,8 @@ "integrity": "sha512-r+MU0rfv4L/0eeW3xZrd16t4NZfK8Ld4SWVglYBb7ez5uXFWHuVRs6xCTrf1yirs9a4j4Y27nn7SRfO6v67XsQ==", "dev": true, "requires": { - "commander": "~2.13.0", - "source-map": "~0.6.1" + "commander": "2.13.0", + "source-map": "0.6.1" }, "dependencies": { "source-map": { @@ -5912,14 +5896,14 @@ "integrity": "sha512-ovHIch0AMlxjD/97j9AYovZxG5wnHOPkL7T1GKochBADp/Zwc44pEWNqpKl1Loupp1WhFg7SlYmHZRUfdAacgw==", "dev": true, "requires": { - "cacache": "^10.0.4", - "find-cache-dir": "^1.0.0", - "schema-utils": "^0.4.5", - "serialize-javascript": "^1.4.0", - "source-map": "^0.6.1", - "uglify-es": "^3.3.4", - "webpack-sources": "^1.1.0", - "worker-farm": "^1.5.2" + "cacache": "10.0.4", + "find-cache-dir": "1.0.0", + "schema-utils": "0.4.7", + "serialize-javascript": "1.7.0", + "source-map": "0.6.1", + "uglify-es": "3.3.9", + "webpack-sources": "1.3.0", + "worker-farm": "1.7.0" }, "dependencies": { "find-cache-dir": { @@ -5928,9 +5912,9 @@ "integrity": "sha1-kojj6ePMN0hxfTnq3hfPcfww7m8=", "dev": true, "requires": { - "commondir": "^1.0.1", - "make-dir": "^1.0.0", - "pkg-dir": "^2.0.0" + "commondir": "1.0.1", + "make-dir": "1.3.0", + "pkg-dir": "2.0.0" } }, "find-up": { @@ -5939,7 +5923,7 @@ "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "dev": true, "requires": { - "locate-path": "^2.0.0" + "locate-path": "2.0.0" } }, "locate-path": { @@ -5948,8 +5932,8 @@ "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", "dev": true, "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" + "p-locate": "2.0.0", + "path-exists": "3.0.0" } }, "make-dir": { @@ -5958,7 +5942,7 @@ "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", "dev": true, "requires": { - "pify": "^3.0.0" + "pify": "3.0.0" } }, "p-limit": { @@ -5967,7 +5951,7 @@ "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", "dev": true, "requires": { - "p-try": "^1.0.0" + "p-try": "1.0.0" } }, "p-locate": { @@ -5976,7 +5960,7 @@ "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", "dev": true, "requires": { - "p-limit": "^1.1.0" + "p-limit": "1.3.0" } }, "p-try": { @@ -5997,7 +5981,7 @@ "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", "dev": true, "requires": { - "find-up": "^2.1.0" + "find-up": "2.1.0" } }, "schema-utils": { @@ -6006,8 +5990,8 @@ "integrity": "sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==", "dev": true, "requires": { - "ajv": "^6.1.0", - "ajv-keywords": "^3.1.0" + "ajv": "6.10.1", + "ajv-keywords": "3.4.1" } }, "source-map": { @@ -6030,8 +6014,8 @@ "integrity": "sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==", "dev": true, "requires": { - "unicode-canonical-property-names-ecmascript": "^1.0.4", - "unicode-property-aliases-ecmascript": "^1.0.4" + "unicode-canonical-property-names-ecmascript": "1.0.4", + "unicode-property-aliases-ecmascript": "1.0.5" } }, "unicode-match-property-value-ecmascript": { @@ -6052,10 +6036,10 @@ "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", "dev": true, "requires": { - "arr-union": "^3.1.0", - "get-value": "^2.0.6", - "is-extendable": "^0.1.1", - "set-value": "^2.0.1" + "arr-union": "3.1.0", + "get-value": "2.0.6", + "is-extendable": "0.1.1", + "set-value": "2.0.1" } }, "uniq": { @@ -6076,7 +6060,7 @@ "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", "dev": true, "requires": { - "unique-slug": "^2.0.0" + "unique-slug": "2.0.2" } }, "unique-slug": { @@ -6085,7 +6069,7 @@ "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", "dev": true, "requires": { - "imurmurhash": "^0.1.4" + "imurmurhash": "0.1.4" } }, "unquote": { @@ -6100,8 +6084,8 @@ "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", "dev": true, "requires": { - "has-value": "^0.3.1", - "isobject": "^3.0.0" + "has-value": "0.3.1", + "isobject": "3.0.1" }, "dependencies": { "has-value": { @@ -6110,9 +6094,9 @@ "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", "dev": true, "requires": { - "get-value": "^2.0.3", - "has-values": "^0.1.4", - "isobject": "^2.0.0" + "get-value": "2.0.6", + "has-values": "0.1.4", + "isobject": "2.1.0" }, "dependencies": { "isobject": { @@ -6146,7 +6130,7 @@ "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", "dev": true, "requires": { - "punycode": "^2.1.0" + "punycode": "2.1.1" } }, "urix": { @@ -6208,8 +6192,8 @@ "integrity": "sha512-i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA==", "dev": true, "requires": { - "define-properties": "^1.1.2", - "object.getownpropertydescriptors": "^2.0.3" + "define-properties": "1.1.3", + "object.getownpropertydescriptors": "2.0.3" } }, "v8-compile-cache": { @@ -6236,9 +6220,9 @@ "integrity": "sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA==", "dev": true, "requires": { - "chokidar": "^2.0.2", - "graceful-fs": "^4.1.2", - "neo-async": "^2.5.0" + "chokidar": "2.1.6", + "graceful-fs": "4.2.0", + "neo-async": "2.6.1" } }, "webpack": { @@ -6247,25 +6231,25 @@ "integrity": "sha512-s1IZwaq0TfFsjMDYJiwlA/F1s/SJ/u9/bxWhKkaZsR55U1luOgQHGLIGGZAYcJFEKJHDF7rHlw8UOn8dhDrj1g==", "dev": true, "requires": { - "acorn": "^5.0.0", - "acorn-dynamic-import": "^3.0.0", - "ajv": "^6.1.0", - "ajv-keywords": "^3.1.0", - "chrome-trace-event": "^0.1.1", - "enhanced-resolve": "^4.0.0", - "eslint-scope": "^3.7.1", - "loader-runner": "^2.3.0", - "loader-utils": "^1.1.0", - "memory-fs": "~0.4.1", - "micromatch": "^3.1.8", - "mkdirp": "~0.5.0", - "neo-async": "^2.5.0", - "node-libs-browser": "^2.0.0", - "schema-utils": "^0.4.2", - "tapable": "^1.0.0", - "uglifyjs-webpack-plugin": "^1.2.4", - "watchpack": "^1.5.0", - "webpack-sources": "^1.0.1" + "acorn": "5.7.3", + "acorn-dynamic-import": "3.0.0", + "ajv": "6.10.1", + "ajv-keywords": "3.4.1", + "chrome-trace-event": "0.1.3", + "enhanced-resolve": "4.1.0", + "eslint-scope": "3.7.3", + "loader-runner": "2.4.0", + "loader-utils": "1.2.3", + "memory-fs": "0.4.1", + "micromatch": "3.1.10", + "mkdirp": "0.5.1", + "neo-async": "2.6.1", + "node-libs-browser": "2.2.1", + "schema-utils": "0.4.7", + "tapable": "1.1.3", + "uglifyjs-webpack-plugin": "1.3.0", + "watchpack": "1.6.0", + "webpack-sources": "1.3.0" }, "dependencies": { "schema-utils": { @@ -6274,8 +6258,8 @@ "integrity": "sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==", "dev": true, "requires": { - "ajv": "^6.1.0", - "ajv-keywords": "^3.1.0" + "ajv": "6.10.1", + "ajv-keywords": "3.4.1" } } } @@ -6305,7 +6289,7 @@ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "has-flag": "3.0.0" } } } @@ -6316,8 +6300,8 @@ "integrity": "sha512-OiVgSrbGu7NEnEvQJJgdSFPl2qWKkWq5lHMhgiToIiN9w34EBnjYzSYs+VbL5KoYiLNtFFa7BZIKxRED3I32pA==", "dev": true, "requires": { - "source-list-map": "^2.0.0", - "source-map": "~0.6.1" + "source-list-map": "2.0.1", + "source-map": "0.6.1" }, "dependencies": { "source-map": { @@ -6334,7 +6318,7 @@ "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "dev": true, "requires": { - "isexe": "^2.0.0" + "isexe": "2.0.0" } }, "which-module": { @@ -6349,7 +6333,7 @@ "integrity": "sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw==", "dev": true, "requires": { - "errno": "~0.1.7" + "errno": "0.1.7" } }, "wrap-ansi": { @@ -6358,9 +6342,9 @@ "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==", "dev": true, "requires": { - "ansi-styles": "^3.2.0", - "string-width": "^3.0.0", - "strip-ansi": "^5.0.0" + "ansi-styles": "3.2.1", + "string-width": "3.1.0", + "strip-ansi": "5.2.0" } }, "wrappy": { @@ -6393,17 +6377,17 @@ "integrity": "sha512-HG/DWAJa1PAnHT9JAhNa8AbAv3FPaiLzioSjCcmuXXhP8MlpHO5vwls4g4j6n30Z74GVQj8Xa62dWVx1QCGklg==", "dev": true, "requires": { - "cliui": "^5.0.0", - "find-up": "^3.0.0", - "get-caller-file": "^2.0.1", - "os-locale": "^3.1.0", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^3.0.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^13.1.0" + "cliui": "5.0.0", + "find-up": "3.0.0", + "get-caller-file": "2.0.5", + "os-locale": "3.1.0", + "require-directory": "2.1.1", + "require-main-filename": "2.0.0", + "set-blocking": "2.0.0", + "string-width": "3.1.0", + "which-module": "2.0.0", + "y18n": "4.0.0", + "yargs-parser": "13.1.1" } }, "yargs-parser": { @@ -6412,8 +6396,8 @@ "integrity": "sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ==", "dev": true, "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" + "camelcase": "5.3.1", + "decamelize": "1.2.0" } } } diff --git a/assets/package.json b/assets/package.json index 3589bae..a53c214 100644 --- a/assets/package.json +++ b/assets/package.json @@ -8,7 +8,7 @@ "dependencies": { "phoenix": "file:../deps/phoenix", "phoenix_html": "file:../deps/phoenix_html", - "ramda": "^0.26.1" + "phoenix_live_view": "file:../deps/phoenix_live_view" }, "devDependencies": { "@babel/core": "^7.0.0", diff --git a/config/config.exs b/config/config.exs index ad6c5bb..2e720ff 100644 --- a/config/config.exs +++ b/config/config.exs @@ -5,6 +5,7 @@ config :pointing_party, # Configures the endpoint config :pointing_party, PointingPartyWeb.Endpoint, + live_view: [signing_salt: "SECRET_SALT"], url: [host: "localhost"], secret_key_base: "w1I+WClCAIRKxSX5/M7gFHQLa9pnn4AuVDO6XmUgTZxJl+VqMOr2Q5Ou+2CSoLdJ", render_errors: [view: PointingPartyWeb.ErrorView, accepts: ~w(html json)], diff --git a/config/dev.exs b/config/dev.exs index 42cecc6..4061f3e 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -49,7 +49,8 @@ config :pointing_party, PointingPartyWeb.Endpoint, ~r"priv/static/.*(js|css|png|jpeg|jpg|gif|svg)$", ~r"priv/gettext/.*(po)$", ~r"lib/pointing_party_web/{live,views}/.*(ex)$", - ~r"lib/pointing_party_web/templates/.*(eex)$" + ~r"lib/pointing_party_web/templates/.*(eex)$", + ~r"lib/pointing_party_web/live/.*(ex)$" ] ] diff --git a/lib/pointing_party_web.ex b/lib/pointing_party_web.ex index a5808a9..8ba474b 100644 --- a/lib/pointing_party_web.ex +++ b/lib/pointing_party_web.ex @@ -23,6 +23,7 @@ defmodule PointingPartyWeb do import Plug.Conn import PointingPartyWeb.Gettext + import Phoenix.LiveView.Controller, only: [live_render: 3] alias PointingPartyWeb.Router.Helpers, as: Routes end end @@ -42,6 +43,7 @@ defmodule PointingPartyWeb do import PointingPartyWeb.ErrorHelpers import PointingPartyWeb.LayoutHelpers import PointingPartyWeb.Gettext + import Phoenix.LiveView, only: [live_render: 2, live_render: 3, live_link: 1, live_link: 2] alias PointingPartyWeb.Router.Helpers, as: Routes end end @@ -51,6 +53,7 @@ defmodule PointingPartyWeb do use Phoenix.Router import Plug.Conn import Phoenix.Controller + import Phoenix.LiveView.Router end end diff --git a/lib/pointing_party_web/channels/room_channel.ex b/lib/pointing_party_web/channels/room_channel.ex deleted file mode 100644 index 558b864..0000000 --- a/lib/pointing_party_web/channels/room_channel.ex +++ /dev/null @@ -1,49 +0,0 @@ -defmodule PointingPartyWeb.RoomChannel do - use PointingPartyWeb, :channel - - alias PointingParty.Card - - def join("room:lobby", _payload, socket) do - send(self(), :after_join) - - {:ok, socket} - end - - def handle_info(:after_join, socket) do - # handle Presence listing and tracking here - - {:noreply, socket} - end - - def handle_in("user_estimated", %{"points" => points}, socket) do - # update votes for user presence - # calculate votes if everyone voted with the help of the VoteCalculator - # broadcast the 'winner'/'tie' event with a payload of %{points: points} - - {:noreply, socket} - end - - def handle_in("finalized_points", %{"points" => points}, socket) do - # update state by setting the current card to the next card - # broadcast the "new_card" message with a payload of %{card: new_current_card} - - {:reply, :ok, socket} - end - - def handle_in("start_pointing", _params, socket) do - updated_socket = initialize_state(socket) - # broadcast the "new_card" message with a payload of %{card: current_card} - - {:reply, :ok, updated_socket} - end - - defp initialize_state(%{assigns: %{cards: _cards}} = socket), do: socket - - defp initialize_state(socket) do - [first | cards] = Card.cards() - - socket - |> assign(:unvoted, cards) - |> assign(:current, first) - end -end diff --git a/lib/pointing_party_web/channels/user_socket.ex b/lib/pointing_party_web/channels/user_socket.ex deleted file mode 100644 index 8a66efd..0000000 --- a/lib/pointing_party_web/channels/user_socket.ex +++ /dev/null @@ -1,33 +0,0 @@ -defmodule PointingPartyWeb.UserSocket do - use Phoenix.Socket - - ## Channels - channel "room:lobby", PointingPartyWeb.RoomChannel - - # Socket params are passed from the client and can - # be used to verify and authenticate a user. After - # verification, you can put default assigns into - # the socket that will be set for all channels, ie - # - # {:ok, assign(socket, :user_id, verified_user_id)} - # - # To deny connection, return `:error`. - # - # See `Phoenix.Token` documentation for examples in - # performing token verification on connect. - def connect(_params, socket, _connect_info) do - {:ok, socket} - end - - # Socket id's are topics that allow you to identify all sockets for a given user: - # - # def id(socket), do: "user_socket:#{socket.assigns.user_id}" - # - # Would allow you to broadcast a "disconnect" event and terminate - # all active sockets and channels for a given user: - # - # PointingPartyWeb.Endpoint.broadcast("user_socket:#{user.id}", "disconnect", %{}) - # - # Returning `nil` makes this socket anonymous. - def id(_socket), do: nil -end diff --git a/lib/pointing_party_web/controllers/card_controller.ex b/lib/pointing_party_web/controllers/card_controller.ex index 0a86b7a..356c98a 100644 --- a/lib/pointing_party_web/controllers/card_controller.ex +++ b/lib/pointing_party_web/controllers/card_controller.ex @@ -1,7 +1,11 @@ defmodule PointingPartyWeb.CardController do use PointingPartyWeb, :controller + import Phoenix.LiveView.Controller + def index(conn, _params) do - render(conn, "index.html") + %{assigns: %{username: username}} = conn + + live_render(conn, PointingPartyWeb.CardLive, session: %{username: username}) end end diff --git a/lib/pointing_party_web/endpoint.ex b/lib/pointing_party_web/endpoint.ex index 2f721e0..685deff 100644 --- a/lib/pointing_party_web/endpoint.ex +++ b/lib/pointing_party_web/endpoint.ex @@ -1,9 +1,7 @@ defmodule PointingPartyWeb.Endpoint do use Phoenix.Endpoint, otp_app: :pointing_party - socket "/socket", PointingPartyWeb.UserSocket, - websocket: true, - longpoll: false + socket "/live", Phoenix.LiveView.Socket # Serve at "/" the static files from "priv/static" directory. # diff --git a/lib/pointing_party_web/live/card_live.ex b/lib/pointing_party_web/live/card_live.ex new file mode 100644 index 0000000..3053428 --- /dev/null +++ b/lib/pointing_party_web/live/card_live.ex @@ -0,0 +1,57 @@ +defmodule PointingPartyWeb.CardLive do + use Phoenix.LiveView + + alias PointingParty.{Card, VoteCalculator} + + def render(assigns) do + Phoenix.View.render(PointingPartyWeb.CardView, "index.html", assigns) + end + + def mount(%{username: _username}, socket) do + {:ok, assign(socket, initial_state())} + end + + ## Helper Methods ## + + defp initial_state do + [ + pointing: false, + current_card: nil, + remaining_cards: [], + outcome: nil, + results: nil, + completed_cards: [], + users: [] + ] + end + + defp get_next_card(cards) do + List.pop_at(cards, 0) + # returns {next_card, remaining_cards} + end + + defp everyone_voted?(users) do + users + |> Enum.map(fn {_username, %{metas: [metas]}} -> Map.get(metas, :points) end) + |> Enum.all?(&(not is_nil(&1))) + end + + defp finalize_voting(users) do + VoteCalculator.calculate_votes(users) + # returns {outcome, results} + # ex - {"winner", 3} or {"tie", [3, 5]} + end + + defp save_vote(card, points) do + Map.put(card, :points, points) + end + + def reset_state_for_next_card(next_card, remaining_cards, previous_card, socket) do + socket + |> assign(:current_card, next_card) + |> assign(:remaining_cards, remaining_cards) + |> assign(:completed_cards, [previous_card | socket.assigns[:completed_cards]]) + |> assign(:outcome, nil) + |> assign(:results, nil) + end +end diff --git a/lib/pointing_party_web/router.ex b/lib/pointing_party_web/router.ex index d3d2c69..bf08343 100644 --- a/lib/pointing_party_web/router.ex +++ b/lib/pointing_party_web/router.ex @@ -9,10 +9,6 @@ defmodule PointingPartyWeb.Router do plug :put_secure_browser_headers end - pipeline :api do - plug :accepts, ["json"] - end - scope "/", PointingPartyWeb do pipe_through :browser get "/login", SessionController, :new @@ -25,9 +21,4 @@ defmodule PointingPartyWeb.Router do pipe_through [:browser, PointingPartyWeb.Plugs.Auth] get "/cards", CardController, :index end - - # Other scopes may use custom stacks. - # scope "/api", PointingPartyWeb do - # pipe_through :api - # end end diff --git a/lib/pointing_party_web/templates/card/index.html.eex b/lib/pointing_party_web/templates/card/index.html.eex deleted file mode 100644 index 7b4387a..0000000 --- a/lib/pointing_party_web/templates/card/index.html.eex +++ /dev/null @@ -1,46 +0,0 @@ -
-
-
- - -
-
- -
-

Users

-
-
-
-
diff --git a/lib/pointing_party_web/templates/card/index.html.leex b/lib/pointing_party_web/templates/card/index.html.leex new file mode 100644 index 0000000..88ab70c --- /dev/null +++ b/lib/pointing_party_web/templates/card/index.html.leex @@ -0,0 +1,63 @@ +
+
+ <%= if !@pointing do %> +
+ +
+ <% else %> +
+
+

<%= @current_card.title %>

+
+
+

<%= @current_card.description %>

+
+
+
+ + +
+
+ + <%= if @outcome == "winner" do %> +

Winner: <%= @results %> Points

+ + <% end %> + + <%= if @outcome == "tie" do %> +

TIE!

+ + + + + <% end %> + + <%= if @outcome == nil do %> + + <% end %> +
+
+
+ <% end %> +
+ +
+

Users

+
+ <%= for {name, %{metas: [metas]}} <- @users do %> +
<%= name %>
+ <% end %> +
+
+
diff --git a/mix.exs b/mix.exs index 8de7d0c..5933f15 100644 --- a/mix.exs +++ b/mix.exs @@ -33,14 +33,16 @@ defmodule PointingParty.MixProject do defp deps do [ {:ecto, "~> 3.1"}, - {:gettext, "~> 0.11"}, - {:jason, "~> 1.0"}, {:phoenix, "~> 1.4.9"}, {:phoenix_ecto, "~> 4.0"}, {:phoenix_html, "~> 2.11"}, {:phoenix_live_reload, "~> 1.2", only: :dev}, {:phoenix_pubsub, "~> 1.1"}, - {:plug_cowboy, "~> 2.0"} + {:plug_cowboy, "~> 2.0"}, + {:phoenix_live_view, github: "phoenixframework/phoenix_live_view"}, + {:gettext, "~> 0.11"}, + {:jason, "~> 1.0"}, + {:ex_machina, "~> 2.3", only: :test} ] end end diff --git a/mix.lock b/mix.lock index 1c676a0..5b48018 100644 --- a/mix.lock +++ b/mix.lock @@ -15,6 +15,7 @@ "phoenix_ecto": {:hex, :phoenix_ecto, "4.0.0", "c43117a136e7399ea04ecaac73f8f23ee0ffe3e07acfcb8062fe5f4c9f0f6531", [:mix], [{:ecto, "~> 3.0", [hex: :ecto, repo: "hexpm", optional: false]}, {:phoenix_html, "~> 2.9", [hex: :phoenix_html, repo: "hexpm", optional: true]}, {:plug, "~> 1.0", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm"}, "phoenix_html": {:hex, :phoenix_html, "2.13.3", "850e292ff6e204257f5f9c4c54a8cb1f6fbc16ed53d360c2b780a3d0ba333867", [:mix], [{:plug, "~> 1.5", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm"}, "phoenix_live_reload": {:hex, :phoenix_live_reload, "1.2.1", "274a4b07c4adbdd7785d45a8b0bb57634d0b4f45b18d2c508b26c0344bd59b8f", [:mix], [{:file_system, "~> 0.2.1 or ~> 0.3", [hex: :file_system, repo: "hexpm", optional: false]}, {:phoenix, "~> 1.4", [hex: :phoenix, repo: "hexpm", optional: false]}], "hexpm"}, + "phoenix_live_view": {:git, "https://github.com/phoenixframework/phoenix_live_view.git", "4a770b5dc45e3bd81e1dc0ef4814f49235ede679", []}, "phoenix_pubsub": {:hex, :phoenix_pubsub, "1.1.2", "496c303bdf1b2e98a9d26e89af5bba3ab487ba3a3735f74bf1f4064d2a845a3e", [:mix], [], "hexpm"}, "plug": {:hex, :plug, "1.8.2", "0bcce1daa420f189a6491f3940cc77ea7fb1919761175c9c3b59800d897440fc", [:mix], [{:mime, "~> 1.0", [hex: :mime, repo: "hexpm", optional: false]}, {:plug_crypto, "~> 1.0", [hex: :plug_crypto, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4", [hex: :telemetry, repo: "hexpm", optional: true]}], "hexpm"}, "plug_cowboy": {:hex, :plug_cowboy, "2.1.0", "b75768153c3a8a9e8039d4b25bb9b14efbc58e9c4a6e6a270abff1cd30cbe320", [:mix], [{:cowboy, "~> 2.5", [hex: :cowboy, repo: "hexpm", optional: false]}, {:plug, "~> 1.7", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm"}, diff --git a/priv/static/js/app.js b/priv/static/js/app.js index 5168888..c30366e 100644 --- a/priv/static/js/app.js +++ b/priv/static/js/app.js @@ -71,17 +71,6 @@ /************************************************************************/ /******/ ({ -/***/ "../deps/phoenix/priv/static/phoenix.js": -/*!**********************************************!*\ - !*** ../deps/phoenix/priv/static/phoenix.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("!function (e, t) {\n true ? module.exports = t() : undefined;\n}(this, function () {\n return function (e) {\n var t = {};\n\n function n(i) {\n if (t[i]) return t[i].exports;\n var o = t[i] = {\n i: i,\n l: !1,\n exports: {}\n };\n return e[i].call(o.exports, o, o.exports, n), o.l = !0, o.exports;\n }\n\n return n.m = e, n.c = t, n.d = function (e, t, i) {\n n.o(e, t) || Object.defineProperty(e, t, {\n enumerable: !0,\n get: i\n });\n }, n.r = function (e) {\n \"undefined\" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {\n value: \"Module\"\n }), Object.defineProperty(e, \"__esModule\", {\n value: !0\n });\n }, n.t = function (e, t) {\n if (1 & t && (e = n(e)), 8 & t) return e;\n if (4 & t && \"object\" == typeof e && e && e.__esModule) return e;\n var i = Object.create(null);\n if (n.r(i), Object.defineProperty(i, \"default\", {\n enumerable: !0,\n value: e\n }), 2 & t && \"string\" != typeof e) for (var o in e) n.d(i, o, function (t) {\n return e[t];\n }.bind(null, o));\n return i;\n }, n.n = function (e) {\n var t = e && e.__esModule ? function () {\n return e.default;\n } : function () {\n return e;\n };\n return n.d(t, \"a\", t), t;\n }, n.o = function (e, t) {\n return Object.prototype.hasOwnProperty.call(e, t);\n }, n.p = \"\", n(n.s = 0);\n }([function (e, t, n) {\n (function (t) {\n e.exports = t.Phoenix = n(2);\n }).call(this, n(1));\n }, function (e, t) {\n var n;\n\n n = function () {\n return this;\n }();\n\n try {\n n = n || Function(\"return this\")() || (0, eval)(\"this\");\n } catch (e) {\n \"object\" == typeof window && (n = window);\n }\n\n e.exports = n;\n }, function (e, t, n) {\n \"use strict\";\n\n function i(e) {\n return function (e) {\n if (Array.isArray(e)) {\n for (var t = 0, n = new Array(e.length); t < e.length; t++) n[t] = e[t];\n\n return n;\n }\n }(e) || function (e) {\n if (Symbol.iterator in Object(e) || \"[object Arguments]\" === Object.prototype.toString.call(e)) return Array.from(e);\n }(e) || function () {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\n }();\n }\n\n function o(e) {\n return (o = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (e) {\n return typeof e;\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : typeof e;\n })(e);\n }\n\n function r(e, t) {\n return function (e) {\n if (Array.isArray(e)) return e;\n }(e) || function (e, t) {\n var n = [],\n i = !0,\n o = !1,\n r = void 0;\n\n try {\n for (var s, a = e[Symbol.iterator](); !(i = (s = a.next()).done) && (n.push(s.value), !t || n.length !== t); i = !0);\n } catch (e) {\n o = !0, r = e;\n } finally {\n try {\n i || null == a.return || a.return();\n } finally {\n if (o) throw r;\n }\n }\n\n return n;\n }(e, t) || function () {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n }();\n }\n\n function s(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function a(e, t) {\n for (var n = 0; n < t.length; n++) {\n var i = t[n];\n i.enumerable = i.enumerable || !1, i.configurable = !0, \"value\" in i && (i.writable = !0), Object.defineProperty(e, i.key, i);\n }\n }\n\n function c(e, t, n) {\n return t && a(e.prototype, t), n && a(e, n), e;\n }\n\n n.r(t), n.d(t, \"Channel\", function () {\n return b;\n }), n.d(t, \"Serializer\", function () {\n return j;\n }), n.d(t, \"Socket\", function () {\n return R;\n }), n.d(t, \"LongPoll\", function () {\n return C;\n }), n.d(t, \"Ajax\", function () {\n return T;\n }), n.d(t, \"Presence\", function () {\n return w;\n });\n\n var u = \"undefined\" != typeof self ? self : null,\n h = \"undefined\" != typeof window ? window : null,\n l = u || h || void 0,\n f = {\n connecting: 0,\n open: 1,\n closing: 2,\n closed: 3\n },\n d = 1e4,\n p = {\n closed: \"closed\",\n errored: \"errored\",\n joined: \"joined\",\n joining: \"joining\",\n leaving: \"leaving\"\n },\n v = {\n close: \"phx_close\",\n error: \"phx_error\",\n join: \"phx_join\",\n reply: \"phx_reply\",\n leave: \"phx_leave\"\n },\n y = [v.close, v.error, v.join, v.reply, v.leave],\n m = {\n longpoll: \"longpoll\",\n websocket: \"websocket\"\n },\n g = function (e) {\n if (\"function\" == typeof e) return e;\n return function () {\n return e;\n };\n },\n k = function () {\n function e(t, n, i, o) {\n s(this, e), this.channel = t, this.event = n, this.payload = i || function () {\n return {};\n }, this.receivedResp = null, this.timeout = o, this.timeoutTimer = null, this.recHooks = [], this.sent = !1;\n }\n\n return c(e, [{\n key: \"resend\",\n value: function (e) {\n this.timeout = e, this.reset(), this.send();\n }\n }, {\n key: \"send\",\n value: function () {\n this.hasReceived(\"timeout\") || (this.startTimeout(), this.sent = !0, this.channel.socket.push({\n topic: this.channel.topic,\n event: this.event,\n payload: this.payload(),\n ref: this.ref,\n join_ref: this.channel.joinRef()\n }));\n }\n }, {\n key: \"receive\",\n value: function (e, t) {\n return this.hasReceived(e) && t(this.receivedResp.response), this.recHooks.push({\n status: e,\n callback: t\n }), this;\n }\n }, {\n key: \"reset\",\n value: function () {\n this.cancelRefEvent(), this.ref = null, this.refEvent = null, this.receivedResp = null, this.sent = !1;\n }\n }, {\n key: \"matchReceive\",\n value: function (e) {\n var t = e.status,\n n = e.response;\n e.ref;\n this.recHooks.filter(function (e) {\n return e.status === t;\n }).forEach(function (e) {\n return e.callback(n);\n });\n }\n }, {\n key: \"cancelRefEvent\",\n value: function () {\n this.refEvent && this.channel.off(this.refEvent);\n }\n }, {\n key: \"cancelTimeout\",\n value: function () {\n clearTimeout(this.timeoutTimer), this.timeoutTimer = null;\n }\n }, {\n key: \"startTimeout\",\n value: function () {\n var e = this;\n this.timeoutTimer && this.cancelTimeout(), this.ref = this.channel.socket.makeRef(), this.refEvent = this.channel.replyEventName(this.ref), this.channel.on(this.refEvent, function (t) {\n e.cancelRefEvent(), e.cancelTimeout(), e.receivedResp = t, e.matchReceive(t);\n }), this.timeoutTimer = setTimeout(function () {\n e.trigger(\"timeout\", {});\n }, this.timeout);\n }\n }, {\n key: \"hasReceived\",\n value: function (e) {\n return this.receivedResp && this.receivedResp.status === e;\n }\n }, {\n key: \"trigger\",\n value: function (e, t) {\n this.channel.trigger(this.refEvent, {\n status: e,\n response: t\n });\n }\n }]), e;\n }(),\n b = function () {\n function e(t, n, i) {\n var o = this;\n s(this, e), this.state = p.closed, this.topic = t, this.params = g(n || {}), this.socket = i, this.bindings = [], this.bindingRef = 0, this.timeout = this.socket.timeout, this.joinedOnce = !1, this.joinPush = new k(this, v.join, this.params, this.timeout), this.pushBuffer = [], this.rejoinTimer = new E(function () {\n o.socket.isConnected() && o.rejoin();\n }, this.socket.rejoinAfterMs), this.socket.onError(function () {\n return o.rejoinTimer.reset();\n }), this.socket.onOpen(function () {\n o.rejoinTimer.reset(), o.isErrored() && o.rejoin();\n }), this.joinPush.receive(\"ok\", function () {\n o.state = p.joined, o.rejoinTimer.reset(), o.pushBuffer.forEach(function (e) {\n return e.send();\n }), o.pushBuffer = [];\n }), this.joinPush.receive(\"error\", function () {\n o.state = p.errored, o.socket.isConnected() && o.rejoinTimer.scheduleTimeout();\n }), this.onClose(function () {\n o.rejoinTimer.reset(), o.socket.hasLogger() && o.socket.log(\"channel\", \"close \".concat(o.topic, \" \").concat(o.joinRef())), o.state = p.closed, o.socket.remove(o);\n }), this.onError(function (e) {\n o.socket.hasLogger() && o.socket.log(\"channel\", \"error \".concat(o.topic), e), o.isJoining() && o.joinPush.reset(), o.state = p.errored, o.socket.isConnected() && o.rejoinTimer.scheduleTimeout();\n }), this.joinPush.receive(\"timeout\", function () {\n o.socket.hasLogger() && o.socket.log(\"channel\", \"timeout \".concat(o.topic, \" (\").concat(o.joinRef(), \")\"), o.joinPush.timeout), new k(o, v.leave, g({}), o.timeout).send(), o.state = p.errored, o.joinPush.reset(), o.socket.isConnected() && o.rejoinTimer.scheduleTimeout();\n }), this.on(v.reply, function (e, t) {\n o.trigger(o.replyEventName(t), e);\n });\n }\n\n return c(e, [{\n key: \"join\",\n value: function () {\n var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this.timeout;\n if (this.joinedOnce) throw new Error(\"tried to join multiple times. 'join' can only be called a single time per channel instance\");\n return this.timeout = e, this.joinedOnce = !0, this.rejoin(), this.joinPush;\n }\n }, {\n key: \"onClose\",\n value: function (e) {\n this.on(v.close, e);\n }\n }, {\n key: \"onError\",\n value: function (e) {\n return this.on(v.error, function (t) {\n return e(t);\n });\n }\n }, {\n key: \"on\",\n value: function (e, t) {\n var n = this.bindingRef++;\n return this.bindings.push({\n event: e,\n ref: n,\n callback: t\n }), n;\n }\n }, {\n key: \"off\",\n value: function (e, t) {\n this.bindings = this.bindings.filter(function (n) {\n return !(n.event === e && (void 0 === t || t === n.ref));\n });\n }\n }, {\n key: \"canPush\",\n value: function () {\n return this.socket.isConnected() && this.isJoined();\n }\n }, {\n key: \"push\",\n value: function (e, t) {\n var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : this.timeout;\n if (!this.joinedOnce) throw new Error(\"tried to push '\".concat(e, \"' to '\").concat(this.topic, \"' before joining. Use channel.join() before pushing events\"));\n var i = new k(this, e, function () {\n return t;\n }, n);\n return this.canPush() ? i.send() : (i.startTimeout(), this.pushBuffer.push(i)), i;\n }\n }, {\n key: \"leave\",\n value: function () {\n var e = this,\n t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this.timeout;\n this.rejoinTimer.reset(), this.joinPush.cancelTimeout(), this.state = p.leaving;\n\n var n = function () {\n e.socket.hasLogger() && e.socket.log(\"channel\", \"leave \".concat(e.topic)), e.trigger(v.close, \"leave\");\n },\n i = new k(this, v.leave, g({}), t);\n\n return i.receive(\"ok\", function () {\n return n();\n }).receive(\"timeout\", function () {\n return n();\n }), i.send(), this.canPush() || i.trigger(\"ok\", {}), i;\n }\n }, {\n key: \"onMessage\",\n value: function (e, t, n) {\n return t;\n }\n }, {\n key: \"isLifecycleEvent\",\n value: function (e) {\n return y.indexOf(e) >= 0;\n }\n }, {\n key: \"isMember\",\n value: function (e, t, n, i) {\n return this.topic === e && (!i || i === this.joinRef() || !this.isLifecycleEvent(t) || (this.socket.hasLogger() && this.socket.log(\"channel\", \"dropping outdated message\", {\n topic: e,\n event: t,\n payload: n,\n joinRef: i\n }), !1));\n }\n }, {\n key: \"joinRef\",\n value: function () {\n return this.joinPush.ref;\n }\n }, {\n key: \"sendJoin\",\n value: function (e) {\n this.state = p.joining, this.joinPush.resend(e);\n }\n }, {\n key: \"rejoin\",\n value: function () {\n var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this.timeout;\n this.isLeaving() || this.sendJoin(e);\n }\n }, {\n key: \"trigger\",\n value: function (e, t, n, i) {\n var o = this.onMessage(e, t, n, i);\n if (t && !o) throw new Error(\"channel onMessage callbacks must return the payload, modified or unmodified\");\n\n for (var r = 0; r < this.bindings.length; r++) {\n var s = this.bindings[r];\n s.event === e && s.callback(o, n, i || this.joinRef());\n }\n }\n }, {\n key: \"replyEventName\",\n value: function (e) {\n return \"chan_reply_\".concat(e);\n }\n }, {\n key: \"isClosed\",\n value: function () {\n return this.state === p.closed;\n }\n }, {\n key: \"isErrored\",\n value: function () {\n return this.state === p.errored;\n }\n }, {\n key: \"isJoined\",\n value: function () {\n return this.state === p.joined;\n }\n }, {\n key: \"isJoining\",\n value: function () {\n return this.state === p.joining;\n }\n }, {\n key: \"isLeaving\",\n value: function () {\n return this.state === p.leaving;\n }\n }]), e;\n }(),\n j = {\n encode: function (e, t) {\n var n = [e.join_ref, e.ref, e.topic, e.event, e.payload];\n return t(JSON.stringify(n));\n },\n decode: function (e, t) {\n var n = r(JSON.parse(e), 5);\n return t({\n join_ref: n[0],\n ref: n[1],\n topic: n[2],\n event: n[3],\n payload: n[4]\n });\n }\n },\n R = function () {\n function e(t) {\n var n = this,\n i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};\n s(this, e), this.stateChangeCallbacks = {\n open: [],\n close: [],\n error: [],\n message: []\n }, this.channels = [], this.sendBuffer = [], this.ref = 0, this.timeout = i.timeout || d, this.transport = i.transport || l.WebSocket || C, this.defaultEncoder = j.encode, this.defaultDecoder = j.decode, this.closeWasClean = !1, this.unloaded = !1, this.binaryType = i.binaryType || \"arraybuffer\", this.transport !== C ? (this.encode = i.encode || this.defaultEncoder, this.decode = i.decode || this.defaultDecoder) : (this.encode = this.defaultEncoder, this.decode = this.defaultDecoder), h && h.addEventListener && h.addEventListener(\"beforeunload\", function (e) {\n n.conn && (n.unloaded = !0, n.abnormalClose(\"unloaded\"));\n }), this.heartbeatIntervalMs = i.heartbeatIntervalMs || 3e4, this.rejoinAfterMs = function (e) {\n return i.rejoinAfterMs ? i.rejoinAfterMs(e) : [1e3, 2e3, 5e3][e - 1] || 1e4;\n }, this.reconnectAfterMs = function (e) {\n return n.unloaded ? 100 : i.reconnectAfterMs ? i.reconnectAfterMs(e) : [10, 50, 100, 150, 200, 250, 500, 1e3, 2e3][e - 1] || 5e3;\n }, this.logger = i.logger || null, this.longpollerTimeout = i.longpollerTimeout || 2e4, this.params = g(i.params || {}), this.endPoint = \"\".concat(t, \"/\").concat(m.websocket), this.heartbeatTimer = null, this.pendingHeartbeatRef = null, this.reconnectTimer = new E(function () {\n n.teardown(function () {\n return n.connect();\n });\n }, this.reconnectAfterMs);\n }\n\n return c(e, [{\n key: \"protocol\",\n value: function () {\n return location.protocol.match(/^https/) ? \"wss\" : \"ws\";\n }\n }, {\n key: \"endPointURL\",\n value: function () {\n var e = T.appendParams(T.appendParams(this.endPoint, this.params()), {\n vsn: \"2.0.0\"\n });\n return \"/\" !== e.charAt(0) ? e : \"/\" === e.charAt(1) ? \"\".concat(this.protocol(), \":\").concat(e) : \"\".concat(this.protocol(), \"://\").concat(location.host).concat(e);\n }\n }, {\n key: \"disconnect\",\n value: function (e, t, n) {\n this.closeWasClean = !0, this.reconnectTimer.reset(), this.teardown(e, t, n);\n }\n }, {\n key: \"connect\",\n value: function (e) {\n var t = this;\n e && (console && console.log(\"passing params to connect is deprecated. Instead pass :params to the Socket constructor\"), this.params = g(e)), this.conn || (this.closeWasClean = !1, this.conn = new this.transport(this.endPointURL()), this.conn.binaryType = this.binaryType, this.conn.timeout = this.longpollerTimeout, this.conn.onopen = function () {\n return t.onConnOpen();\n }, this.conn.onerror = function (e) {\n return t.onConnError(e);\n }, this.conn.onmessage = function (e) {\n return t.onConnMessage(e);\n }, this.conn.onclose = function (e) {\n return t.onConnClose(e);\n });\n }\n }, {\n key: \"log\",\n value: function (e, t, n) {\n this.logger(e, t, n);\n }\n }, {\n key: \"hasLogger\",\n value: function () {\n return null !== this.logger;\n }\n }, {\n key: \"onOpen\",\n value: function (e) {\n this.stateChangeCallbacks.open.push(e);\n }\n }, {\n key: \"onClose\",\n value: function (e) {\n this.stateChangeCallbacks.close.push(e);\n }\n }, {\n key: \"onError\",\n value: function (e) {\n this.stateChangeCallbacks.error.push(e);\n }\n }, {\n key: \"onMessage\",\n value: function (e) {\n this.stateChangeCallbacks.message.push(e);\n }\n }, {\n key: \"onConnOpen\",\n value: function () {\n this.hasLogger() && this.log(\"transport\", \"connected to \".concat(this.endPointURL())), this.unloaded = !1, this.closeWasClean = !1, this.flushSendBuffer(), this.reconnectTimer.reset(), this.resetHeartbeat(), this.stateChangeCallbacks.open.forEach(function (e) {\n return e();\n });\n }\n }, {\n key: \"resetHeartbeat\",\n value: function () {\n var e = this;\n this.conn && this.conn.skipHeartbeat || (this.pendingHeartbeatRef = null, clearInterval(this.heartbeatTimer), this.heartbeatTimer = setInterval(function () {\n return e.sendHeartbeat();\n }, this.heartbeatIntervalMs));\n }\n }, {\n key: \"teardown\",\n value: function (e, t, n) {\n this.conn && (this.conn.onclose = function () {}, t ? this.conn.close(t, n || \"\") : this.conn.close(), this.conn = null), e && e();\n }\n }, {\n key: \"onConnClose\",\n value: function (e) {\n this.hasLogger() && this.log(\"transport\", \"close\", e), this.triggerChanError(), clearInterval(this.heartbeatTimer), this.closeWasClean || this.reconnectTimer.scheduleTimeout(), this.stateChangeCallbacks.close.forEach(function (t) {\n return t(e);\n });\n }\n }, {\n key: \"onConnError\",\n value: function (e) {\n this.hasLogger() && this.log(\"transport\", e), this.triggerChanError(), this.stateChangeCallbacks.error.forEach(function (t) {\n return t(e);\n });\n }\n }, {\n key: \"triggerChanError\",\n value: function () {\n this.channels.forEach(function (e) {\n e.isErrored() || e.isLeaving() || e.isClosed() || e.trigger(v.error);\n });\n }\n }, {\n key: \"connectionState\",\n value: function () {\n switch (this.conn && this.conn.readyState) {\n case f.connecting:\n return \"connecting\";\n\n case f.open:\n return \"open\";\n\n case f.closing:\n return \"closing\";\n\n default:\n return \"closed\";\n }\n }\n }, {\n key: \"isConnected\",\n value: function () {\n return \"open\" === this.connectionState();\n }\n }, {\n key: \"remove\",\n value: function (e) {\n this.channels = this.channels.filter(function (t) {\n return t.joinRef() !== e.joinRef();\n });\n }\n }, {\n key: \"channel\",\n value: function (e) {\n var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},\n n = new b(e, t, this);\n return this.channels.push(n), n;\n }\n }, {\n key: \"push\",\n value: function (e) {\n var t = this;\n\n if (this.hasLogger()) {\n var n = e.topic,\n i = e.event,\n o = e.payload,\n r = e.ref,\n s = e.join_ref;\n this.log(\"push\", \"\".concat(n, \" \").concat(i, \" (\").concat(s, \", \").concat(r, \")\"), o);\n }\n\n this.isConnected() ? this.encode(e, function (e) {\n return t.conn.send(e);\n }) : this.sendBuffer.push(function () {\n return t.encode(e, function (e) {\n return t.conn.send(e);\n });\n });\n }\n }, {\n key: \"makeRef\",\n value: function () {\n var e = this.ref + 1;\n return e === this.ref ? this.ref = 0 : this.ref = e, this.ref.toString();\n }\n }, {\n key: \"sendHeartbeat\",\n value: function () {\n if (this.isConnected()) {\n if (this.pendingHeartbeatRef) return this.pendingHeartbeatRef = null, this.hasLogger() && this.log(\"transport\", \"heartbeat timeout. Attempting to re-establish connection\"), void this.abnormalClose(\"heartbeat timeout\");\n this.pendingHeartbeatRef = this.makeRef(), this.push({\n topic: \"phoenix\",\n event: \"heartbeat\",\n payload: {},\n ref: this.pendingHeartbeatRef\n });\n }\n }\n }, {\n key: \"abnormalClose\",\n value: function (e) {\n this.closeWasClean = !1, this.conn.close(1e3, e);\n }\n }, {\n key: \"flushSendBuffer\",\n value: function () {\n this.isConnected() && this.sendBuffer.length > 0 && (this.sendBuffer.forEach(function (e) {\n return e();\n }), this.sendBuffer = []);\n }\n }, {\n key: \"onConnMessage\",\n value: function (e) {\n var t = this;\n this.decode(e.data, function (e) {\n var n = e.topic,\n i = e.event,\n o = e.payload,\n r = e.ref,\n s = e.join_ref;\n r && r === t.pendingHeartbeatRef && (t.pendingHeartbeatRef = null), t.hasLogger() && t.log(\"receive\", \"\".concat(o.status || \"\", \" \").concat(n, \" \").concat(i, \" \").concat(r && \"(\" + r + \")\" || \"\"), o);\n\n for (var a = 0; a < t.channels.length; a++) {\n var c = t.channels[a];\n c.isMember(n, i, o, s) && c.trigger(i, o, r, s);\n }\n\n for (var u = 0; u < t.stateChangeCallbacks.message.length; u++) t.stateChangeCallbacks.message[u](e);\n });\n }\n }]), e;\n }(),\n C = function () {\n function e(t) {\n s(this, e), this.endPoint = null, this.token = null, this.skipHeartbeat = !0, this.onopen = function () {}, this.onerror = function () {}, this.onmessage = function () {}, this.onclose = function () {}, this.pollEndpoint = this.normalizeEndpoint(t), this.readyState = f.connecting, this.poll();\n }\n\n return c(e, [{\n key: \"normalizeEndpoint\",\n value: function (e) {\n return e.replace(\"ws://\", \"http://\").replace(\"wss://\", \"https://\").replace(new RegExp(\"(.*)/\" + m.websocket), \"$1/\" + m.longpoll);\n }\n }, {\n key: \"endpointURL\",\n value: function () {\n return T.appendParams(this.pollEndpoint, {\n token: this.token\n });\n }\n }, {\n key: \"closeAndRetry\",\n value: function () {\n this.close(), this.readyState = f.connecting;\n }\n }, {\n key: \"ontimeout\",\n value: function () {\n this.onerror(\"timeout\"), this.closeAndRetry();\n }\n }, {\n key: \"poll\",\n value: function () {\n var e = this;\n this.readyState !== f.open && this.readyState !== f.connecting || T.request(\"GET\", this.endpointURL(), \"application/json\", null, this.timeout, this.ontimeout.bind(this), function (t) {\n if (t) {\n var n = t.status,\n i = t.token,\n o = t.messages;\n e.token = i;\n } else n = 0;\n\n switch (n) {\n case 200:\n o.forEach(function (t) {\n return e.onmessage({\n data: t\n });\n }), e.poll();\n break;\n\n case 204:\n e.poll();\n break;\n\n case 410:\n e.readyState = f.open, e.onopen(), e.poll();\n break;\n\n case 0:\n case 500:\n e.onerror(), e.closeAndRetry();\n break;\n\n default:\n throw new Error(\"unhandled poll status \".concat(n));\n }\n });\n }\n }, {\n key: \"send\",\n value: function (e) {\n var t = this;\n T.request(\"POST\", this.endpointURL(), \"application/json\", e, this.timeout, this.onerror.bind(this, \"timeout\"), function (e) {\n e && 200 === e.status || (t.onerror(e && e.status), t.closeAndRetry());\n });\n }\n }, {\n key: \"close\",\n value: function (e, t) {\n this.readyState = f.closed, this.onclose();\n }\n }]), e;\n }(),\n T = function () {\n function e() {\n s(this, e);\n }\n\n return c(e, null, [{\n key: \"request\",\n value: function (e, t, n, i, o, r, s) {\n if (l.XDomainRequest) {\n var a = new XDomainRequest();\n this.xdomainRequest(a, e, t, i, o, r, s);\n } else {\n var c = l.XMLHttpRequest ? new l.XMLHttpRequest() : new ActiveXObject(\"Microsoft.XMLHTTP\");\n this.xhrRequest(c, e, t, n, i, o, r, s);\n }\n }\n }, {\n key: \"xdomainRequest\",\n value: function (e, t, n, i, o, r, s) {\n var a = this;\n e.timeout = o, e.open(t, n), e.onload = function () {\n var t = a.parseJSON(e.responseText);\n s && s(t);\n }, r && (e.ontimeout = r), e.onprogress = function () {}, e.send(i);\n }\n }, {\n key: \"xhrRequest\",\n value: function (e, t, n, i, o, r, s, a) {\n var c = this;\n e.open(t, n, !0), e.timeout = r, e.setRequestHeader(\"Content-Type\", i), e.onerror = function () {\n a && a(null);\n }, e.onreadystatechange = function () {\n if (e.readyState === c.states.complete && a) {\n var t = c.parseJSON(e.responseText);\n a(t);\n }\n }, s && (e.ontimeout = s), e.send(o);\n }\n }, {\n key: \"parseJSON\",\n value: function (e) {\n if (!e || \"\" === e) return null;\n\n try {\n return JSON.parse(e);\n } catch (t) {\n return console && console.log(\"failed to parse JSON response\", e), null;\n }\n }\n }, {\n key: \"serialize\",\n value: function (e, t) {\n var n = [];\n\n for (var i in e) if (e.hasOwnProperty(i)) {\n var r = t ? \"\".concat(t, \"[\").concat(i, \"]\") : i,\n s = e[i];\n \"object\" === o(s) ? n.push(this.serialize(s, r)) : n.push(encodeURIComponent(r) + \"=\" + encodeURIComponent(s));\n }\n\n return n.join(\"&\");\n }\n }, {\n key: \"appendParams\",\n value: function (e, t) {\n if (0 === Object.keys(t).length) return e;\n var n = e.match(/\\?/) ? \"&\" : \"?\";\n return \"\".concat(e).concat(n).concat(this.serialize(t));\n }\n }]), e;\n }();\n\n T.states = {\n complete: 4\n };\n\n var w = function () {\n function e(t) {\n var n = this,\n i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};\n s(this, e);\n var o = i.events || {\n state: \"presence_state\",\n diff: \"presence_diff\"\n };\n this.state = {}, this.pendingDiffs = [], this.channel = t, this.joinRef = null, this.caller = {\n onJoin: function () {},\n onLeave: function () {},\n onSync: function () {}\n }, this.channel.on(o.state, function (t) {\n var i = n.caller,\n o = i.onJoin,\n r = i.onLeave,\n s = i.onSync;\n n.joinRef = n.channel.joinRef(), n.state = e.syncState(n.state, t, o, r), n.pendingDiffs.forEach(function (t) {\n n.state = e.syncDiff(n.state, t, o, r);\n }), n.pendingDiffs = [], s();\n }), this.channel.on(o.diff, function (t) {\n var i = n.caller,\n o = i.onJoin,\n r = i.onLeave,\n s = i.onSync;\n n.inPendingSyncState() ? n.pendingDiffs.push(t) : (n.state = e.syncDiff(n.state, t, o, r), s());\n });\n }\n\n return c(e, [{\n key: \"onJoin\",\n value: function (e) {\n this.caller.onJoin = e;\n }\n }, {\n key: \"onLeave\",\n value: function (e) {\n this.caller.onLeave = e;\n }\n }, {\n key: \"onSync\",\n value: function (e) {\n this.caller.onSync = e;\n }\n }, {\n key: \"list\",\n value: function (t) {\n return e.list(this.state, t);\n }\n }, {\n key: \"inPendingSyncState\",\n value: function () {\n return !this.joinRef || this.joinRef !== this.channel.joinRef();\n }\n }], [{\n key: \"syncState\",\n value: function (e, t, n, i) {\n var o = this,\n r = this.clone(e),\n s = {},\n a = {};\n return this.map(r, function (e, n) {\n t[e] || (a[e] = n);\n }), this.map(t, function (e, t) {\n var n = r[e];\n\n if (n) {\n var i = t.metas.map(function (e) {\n return e.phx_ref;\n }),\n c = n.metas.map(function (e) {\n return e.phx_ref;\n }),\n u = t.metas.filter(function (e) {\n return c.indexOf(e.phx_ref) < 0;\n }),\n h = n.metas.filter(function (e) {\n return i.indexOf(e.phx_ref) < 0;\n });\n u.length > 0 && (s[e] = t, s[e].metas = u), h.length > 0 && (a[e] = o.clone(n), a[e].metas = h);\n } else s[e] = t;\n }), this.syncDiff(r, {\n joins: s,\n leaves: a\n }, n, i);\n }\n }, {\n key: \"syncDiff\",\n value: function (e, t, n, o) {\n var r = t.joins,\n s = t.leaves,\n a = this.clone(e);\n return n || (n = function () {}), o || (o = function () {}), this.map(r, function (e, t) {\n var o = a[e];\n\n if (a[e] = t, o) {\n var r,\n s = a[e].metas.map(function (e) {\n return e.phx_ref;\n }),\n c = o.metas.filter(function (e) {\n return s.indexOf(e.phx_ref) < 0;\n });\n (r = a[e].metas).unshift.apply(r, i(c));\n }\n\n n(e, o, t);\n }), this.map(s, function (e, t) {\n var n = a[e];\n\n if (n) {\n var i = t.metas.map(function (e) {\n return e.phx_ref;\n });\n n.metas = n.metas.filter(function (e) {\n return i.indexOf(e.phx_ref) < 0;\n }), o(e, n, t), 0 === n.metas.length && delete a[e];\n }\n }), a;\n }\n }, {\n key: \"list\",\n value: function (e, t) {\n return t || (t = function (e, t) {\n return t;\n }), this.map(e, function (e, n) {\n return t(e, n);\n });\n }\n }, {\n key: \"map\",\n value: function (e, t) {\n return Object.getOwnPropertyNames(e).map(function (n) {\n return t(n, e[n]);\n });\n }\n }, {\n key: \"clone\",\n value: function (e) {\n return JSON.parse(JSON.stringify(e));\n }\n }]), e;\n }(),\n E = function () {\n function e(t, n) {\n s(this, e), this.callback = t, this.timerCalc = n, this.timer = null, this.tries = 0;\n }\n\n return c(e, [{\n key: \"reset\",\n value: function () {\n this.tries = 0, clearTimeout(this.timer);\n }\n }, {\n key: \"scheduleTimeout\",\n value: function () {\n var e = this;\n clearTimeout(this.timer), this.timer = setTimeout(function () {\n e.tries = e.tries + 1, e.callback();\n }, this.timerCalc(this.tries + 1));\n }\n }]), e;\n }();\n }]);\n});\n\n//# sourceURL=webpack:///../deps/phoenix/priv/static/phoenix.js?"); - -/***/ }), - /***/ "../deps/phoenix_html/priv/static/phoenix_html.js": /*!********************************************************!*\ !*** ../deps/phoenix_html/priv/static/phoenix_html.js ***! @@ -94,6 +83,17 @@ eval("\n\n(function () {\n var PolyfillEvent = eventConstructor();\n\n functio /***/ }), +/***/ "../deps/phoenix_live_view/priv/static/phoenix_live_view.js": +/*!******************************************************************!*\ + !*** ../deps/phoenix_live_view/priv/static/phoenix_live_view.js ***! + \******************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("!function (e, t) {\n true ? module.exports = t() : undefined;\n}(this, function () {\n return function (e) {\n var t = {};\n\n function n(i) {\n if (t[i]) return t[i].exports;\n var r = t[i] = {\n i: i,\n l: !1,\n exports: {}\n };\n return e[i].call(r.exports, r, r.exports, n), r.l = !0, r.exports;\n }\n\n return n.m = e, n.c = t, n.d = function (e, t, i) {\n n.o(e, t) || Object.defineProperty(e, t, {\n configurable: !1,\n enumerable: !0,\n get: i\n });\n }, n.r = function (e) {\n Object.defineProperty(e, \"__esModule\", {\n value: !0\n });\n }, n.n = function (e) {\n var t = e && e.__esModule ? function () {\n return e.default;\n } : function () {\n return e;\n };\n return n.d(t, \"a\", t), t;\n }, n.o = function (e, t) {\n return Object.prototype.hasOwnProperty.call(e, t);\n }, n.p = \"\", n(n.s = 4);\n }([function (e, t, n) {\n (function (e) {\n var n, i, r;\n\n function o(e) {\n return (o = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (e) {\n return typeof e;\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : typeof e;\n })(e);\n }\n\n !function (s, a) {\n \"object\" == o(t) && \"object\" == o(e) ? e.exports = a() : (i = [], void 0 === (r = \"function\" == typeof (n = a) ? n.apply(t, i) : n) || (e.exports = r));\n }(0, function () {\n return function (e) {\n var t = {};\n\n function n(i) {\n if (t[i]) return t[i].exports;\n var r = t[i] = {\n i: i,\n l: !1,\n exports: {}\n };\n return e[i].call(r.exports, r, r.exports, n), r.l = !0, r.exports;\n }\n\n return n.m = e, n.c = t, n.d = function (e, t, i) {\n n.o(e, t) || Object.defineProperty(e, t, {\n enumerable: !0,\n get: i\n });\n }, n.r = function (e) {\n \"undefined\" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {\n value: \"Module\"\n }), Object.defineProperty(e, \"__esModule\", {\n value: !0\n });\n }, n.t = function (e, t) {\n if (1 & t && (e = n(e)), 8 & t) return e;\n if (4 & t && \"object\" == o(e) && e && e.__esModule) return e;\n var i = Object.create(null);\n if (n.r(i), Object.defineProperty(i, \"default\", {\n enumerable: !0,\n value: e\n }), 2 & t && \"string\" != typeof e) for (var r in e) n.d(i, r, function (t) {\n return e[t];\n }.bind(null, r));\n return i;\n }, n.n = function (e) {\n var t = e && e.__esModule ? function () {\n return e.default;\n } : function () {\n return e;\n };\n return n.d(t, \"a\", t), t;\n }, n.o = function (e, t) {\n return Object.prototype.hasOwnProperty.call(e, t);\n }, n.p = \"\", n(n.s = 0);\n }([function (e, t, n) {\n (function (t) {\n e.exports = t.Phoenix = n(2);\n }).call(this, n(1));\n }, function (e, t) {\n var n;\n\n n = function () {\n return this;\n }();\n\n try {\n n = n || Function(\"return this\")() || (0, eval)(\"this\");\n } catch (e) {\n \"object\" == (\"undefined\" == typeof window ? \"undefined\" : o(window)) && (n = window);\n }\n\n e.exports = n;\n }, function (e, t, n) {\n \"use strict\";\n\n function i(e) {\n return (i = \"function\" == typeof Symbol && \"symbol\" == o(Symbol.iterator) ? function (e) {\n return o(e);\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : o(e);\n })(e);\n }\n\n function r(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function s(e, t) {\n for (var n = 0; n < t.length; n++) {\n var i = t[n];\n i.enumerable = i.enumerable || !1, i.configurable = !0, \"value\" in i && (i.writable = !0), Object.defineProperty(e, i.key, i);\n }\n }\n\n function a(e, t, n) {\n return t && s(e.prototype, t), n && s(e, n), e;\n }\n\n n.r(t), n.d(t, \"Channel\", function () {\n return k;\n }), n.d(t, \"Serializer\", function () {\n return b;\n }), n.d(t, \"Socket\", function () {\n return w;\n }), n.d(t, \"LongPoll\", function () {\n return x;\n }), n.d(t, \"Ajax\", function () {\n return E;\n }), n.d(t, \"Presence\", function () {\n return S;\n });\n\n var u = \"undefined\" != typeof self ? self : null,\n c = \"undefined\" != typeof window ? window : null,\n l = u || c || void 0,\n h = {\n connecting: 0,\n open: 1,\n closing: 2,\n closed: 3\n },\n f = 1e4,\n d = {\n closed: \"closed\",\n errored: \"errored\",\n joined: \"joined\",\n joining: \"joining\",\n leaving: \"leaving\"\n },\n v = {\n close: \"phx_close\",\n error: \"phx_error\",\n join: \"phx_join\",\n reply: \"phx_reply\",\n leave: \"phx_leave\"\n },\n p = [v.close, v.error, v.join, v.reply, v.leave],\n y = {\n longpoll: \"longpoll\",\n websocket: \"websocket\"\n },\n g = function (e) {\n return \"function\" == typeof e ? e : function () {\n return e;\n };\n },\n m = function () {\n function e(t, n, i, o) {\n r(this, e), this.channel = t, this.event = n, this.payload = i || function () {\n return {};\n }, this.receivedResp = null, this.timeout = o, this.timeoutTimer = null, this.recHooks = [], this.sent = !1;\n }\n\n return a(e, [{\n key: \"resend\",\n value: function (e) {\n this.timeout = e, this.reset(), this.send();\n }\n }, {\n key: \"send\",\n value: function () {\n this.hasReceived(\"timeout\") || (this.startTimeout(), this.sent = !0, this.channel.socket.push({\n topic: this.channel.topic,\n event: this.event,\n payload: this.payload(),\n ref: this.ref,\n join_ref: this.channel.joinRef()\n }));\n }\n }, {\n key: \"receive\",\n value: function (e, t) {\n return this.hasReceived(e) && t(this.receivedResp.response), this.recHooks.push({\n status: e,\n callback: t\n }), this;\n }\n }, {\n key: \"reset\",\n value: function () {\n this.cancelRefEvent(), this.ref = null, this.refEvent = null, this.receivedResp = null, this.sent = !1;\n }\n }, {\n key: \"matchReceive\",\n value: function (e) {\n var t = e.status,\n n = e.response;\n e.ref, this.recHooks.filter(function (e) {\n return e.status === t;\n }).forEach(function (e) {\n return e.callback(n);\n });\n }\n }, {\n key: \"cancelRefEvent\",\n value: function () {\n this.refEvent && this.channel.off(this.refEvent);\n }\n }, {\n key: \"cancelTimeout\",\n value: function () {\n clearTimeout(this.timeoutTimer), this.timeoutTimer = null;\n }\n }, {\n key: \"startTimeout\",\n value: function () {\n var e = this;\n this.timeoutTimer && this.cancelTimeout(), this.ref = this.channel.socket.makeRef(), this.refEvent = this.channel.replyEventName(this.ref), this.channel.on(this.refEvent, function (t) {\n e.cancelRefEvent(), e.cancelTimeout(), e.receivedResp = t, e.matchReceive(t);\n }), this.timeoutTimer = setTimeout(function () {\n e.trigger(\"timeout\", {});\n }, this.timeout);\n }\n }, {\n key: \"hasReceived\",\n value: function (e) {\n return this.receivedResp && this.receivedResp.status === e;\n }\n }, {\n key: \"trigger\",\n value: function (e, t) {\n this.channel.trigger(this.refEvent, {\n status: e,\n response: t\n });\n }\n }]), e;\n }(),\n k = function () {\n function e(t, n, i) {\n var o = this;\n r(this, e), this.state = d.closed, this.topic = t, this.params = g(n || {}), this.socket = i, this.bindings = [], this.bindingRef = 0, this.timeout = this.socket.timeout, this.joinedOnce = !1, this.joinPush = new m(this, v.join, this.params, this.timeout), this.pushBuffer = [], this.rejoinTimer = new A(function () {\n o.socket.isConnected() && o.rejoin();\n }, this.socket.rejoinAfterMs), this.socket.onError(function () {\n return o.rejoinTimer.reset();\n }), this.socket.onOpen(function () {\n o.rejoinTimer.reset(), o.isErrored() && o.rejoin();\n }), this.joinPush.receive(\"ok\", function () {\n o.state = d.joined, o.rejoinTimer.reset(), o.pushBuffer.forEach(function (e) {\n return e.send();\n }), o.pushBuffer = [];\n }), this.joinPush.receive(\"error\", function () {\n o.state = d.errored, o.socket.isConnected() && o.rejoinTimer.scheduleTimeout();\n }), this.onClose(function () {\n o.rejoinTimer.reset(), o.socket.hasLogger() && o.socket.log(\"channel\", \"close \".concat(o.topic, \" \").concat(o.joinRef())), o.state = d.closed, o.socket.remove(o);\n }), this.onError(function (e) {\n o.socket.hasLogger() && o.socket.log(\"channel\", \"error \".concat(o.topic), e), o.isJoining() && o.joinPush.reset(), o.state = d.errored, o.socket.isConnected() && o.rejoinTimer.scheduleTimeout();\n }), this.joinPush.receive(\"timeout\", function () {\n o.socket.hasLogger() && o.socket.log(\"channel\", \"timeout \".concat(o.topic, \" (\").concat(o.joinRef(), \")\"), o.joinPush.timeout), new m(o, v.leave, g({}), o.timeout).send(), o.state = d.errored, o.joinPush.reset(), o.socket.isConnected() && o.rejoinTimer.scheduleTimeout();\n }), this.on(v.reply, function (e, t) {\n o.trigger(o.replyEventName(t), e);\n });\n }\n\n return a(e, [{\n key: \"join\",\n value: function () {\n var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this.timeout;\n if (this.joinedOnce) throw new Error(\"tried to join multiple times. 'join' can only be called a single time per channel instance\");\n return this.timeout = e, this.joinedOnce = !0, this.rejoin(), this.joinPush;\n }\n }, {\n key: \"onClose\",\n value: function (e) {\n this.on(v.close, e);\n }\n }, {\n key: \"onError\",\n value: function (e) {\n return this.on(v.error, function (t) {\n return e(t);\n });\n }\n }, {\n key: \"on\",\n value: function (e, t) {\n var n = this.bindingRef++;\n return this.bindings.push({\n event: e,\n ref: n,\n callback: t\n }), n;\n }\n }, {\n key: \"off\",\n value: function (e, t) {\n this.bindings = this.bindings.filter(function (n) {\n return !(n.event === e && (void 0 === t || t === n.ref));\n });\n }\n }, {\n key: \"canPush\",\n value: function () {\n return this.socket.isConnected() && this.isJoined();\n }\n }, {\n key: \"push\",\n value: function (e, t) {\n var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : this.timeout;\n if (!this.joinedOnce) throw new Error(\"tried to push '\".concat(e, \"' to '\").concat(this.topic, \"' before joining. Use channel.join() before pushing events\"));\n var i = new m(this, e, function () {\n return t;\n }, n);\n return this.canPush() ? i.send() : (i.startTimeout(), this.pushBuffer.push(i)), i;\n }\n }, {\n key: \"leave\",\n value: function () {\n var e = this,\n t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this.timeout;\n this.rejoinTimer.reset(), this.joinPush.cancelTimeout(), this.state = d.leaving;\n\n var n = function () {\n e.socket.hasLogger() && e.socket.log(\"channel\", \"leave \".concat(e.topic)), e.trigger(v.close, \"leave\");\n },\n i = new m(this, v.leave, g({}), t);\n\n return i.receive(\"ok\", function () {\n return n();\n }).receive(\"timeout\", function () {\n return n();\n }), i.send(), this.canPush() || i.trigger(\"ok\", {}), i;\n }\n }, {\n key: \"onMessage\",\n value: function (e, t, n) {\n return t;\n }\n }, {\n key: \"isLifecycleEvent\",\n value: function (e) {\n return p.indexOf(e) >= 0;\n }\n }, {\n key: \"isMember\",\n value: function (e, t, n, i) {\n return !(this.topic !== e || i && i !== this.joinRef() && this.isLifecycleEvent(t) && (this.socket.hasLogger() && this.socket.log(\"channel\", \"dropping outdated message\", {\n topic: e,\n event: t,\n payload: n,\n joinRef: i\n }), 1));\n }\n }, {\n key: \"joinRef\",\n value: function () {\n return this.joinPush.ref;\n }\n }, {\n key: \"sendJoin\",\n value: function (e) {\n this.state = d.joining, this.joinPush.resend(e);\n }\n }, {\n key: \"rejoin\",\n value: function () {\n var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this.timeout;\n this.isLeaving() || this.sendJoin(e);\n }\n }, {\n key: \"trigger\",\n value: function (e, t, n, i) {\n var r = this.onMessage(e, t, n, i);\n if (t && !r) throw new Error(\"channel onMessage callbacks must return the payload, modified or unmodified\");\n\n for (var o = 0; o < this.bindings.length; o++) {\n var s = this.bindings[o];\n s.event === e && s.callback(r, n, i || this.joinRef());\n }\n }\n }, {\n key: \"replyEventName\",\n value: function (e) {\n return \"chan_reply_\".concat(e);\n }\n }, {\n key: \"isClosed\",\n value: function () {\n return this.state === d.closed;\n }\n }, {\n key: \"isErrored\",\n value: function () {\n return this.state === d.errored;\n }\n }, {\n key: \"isJoined\",\n value: function () {\n return this.state === d.joined;\n }\n }, {\n key: \"isJoining\",\n value: function () {\n return this.state === d.joining;\n }\n }, {\n key: \"isLeaving\",\n value: function () {\n return this.state === d.leaving;\n }\n }]), e;\n }(),\n b = {\n encode: function (e, t) {\n var n = [e.join_ref, e.ref, e.topic, e.event, e.payload];\n return t(JSON.stringify(n));\n },\n decode: function (e, t) {\n var n = function (e, t) {\n return function (e) {\n if (Array.isArray(e)) return e;\n }(e) || function (e, t) {\n var n = [],\n i = !0,\n r = !1,\n o = void 0;\n\n try {\n for (var s, a = e[Symbol.iterator](); !(i = (s = a.next()).done) && (n.push(s.value), !t || n.length !== t); i = !0);\n } catch (e) {\n r = !0, o = e;\n } finally {\n try {\n i || null == a.return || a.return();\n } finally {\n if (r) throw o;\n }\n }\n\n return n;\n }(e, t) || function () {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n }();\n }(JSON.parse(e), 5);\n\n return t({\n join_ref: n[0],\n ref: n[1],\n topic: n[2],\n event: n[3],\n payload: n[4]\n });\n }\n },\n w = function () {\n function e(t) {\n var n = this,\n i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};\n r(this, e), this.stateChangeCallbacks = {\n open: [],\n close: [],\n error: [],\n message: []\n }, this.channels = [], this.sendBuffer = [], this.ref = 0, this.timeout = i.timeout || f, this.transport = i.transport || l.WebSocket || x, this.defaultEncoder = b.encode, this.defaultDecoder = b.decode, this.closeWasClean = !1, this.unloaded = !1, this.binaryType = i.binaryType || \"arraybuffer\", this.transport !== x ? (this.encode = i.encode || this.defaultEncoder, this.decode = i.decode || this.defaultDecoder) : (this.encode = this.defaultEncoder, this.decode = this.defaultDecoder), c && c.addEventListener && c.addEventListener(\"beforeunload\", function (e) {\n n.conn && (n.unloaded = !0, n.abnormalClose(\"unloaded\"));\n }), this.heartbeatIntervalMs = i.heartbeatIntervalMs || 3e4, this.rejoinAfterMs = function (e) {\n return i.rejoinAfterMs ? i.rejoinAfterMs(e) : [1e3, 2e3, 5e3][e - 1] || 1e4;\n }, this.reconnectAfterMs = function (e) {\n return n.unloaded ? 100 : i.reconnectAfterMs ? i.reconnectAfterMs(e) : [10, 50, 100, 150, 200, 250, 500, 1e3, 2e3][e - 1] || 5e3;\n }, this.logger = i.logger || null, this.longpollerTimeout = i.longpollerTimeout || 2e4, this.params = g(i.params || {}), this.endPoint = \"\".concat(t, \"/\").concat(y.websocket), this.heartbeatTimer = null, this.pendingHeartbeatRef = null, this.reconnectTimer = new A(function () {\n n.teardown(function () {\n return n.connect();\n });\n }, this.reconnectAfterMs);\n }\n\n return a(e, [{\n key: \"protocol\",\n value: function () {\n return location.protocol.match(/^https/) ? \"wss\" : \"ws\";\n }\n }, {\n key: \"endPointURL\",\n value: function () {\n var e = E.appendParams(E.appendParams(this.endPoint, this.params()), {\n vsn: \"2.0.0\"\n });\n return \"/\" !== e.charAt(0) ? e : \"/\" === e.charAt(1) ? \"\".concat(this.protocol(), \":\").concat(e) : \"\".concat(this.protocol(), \"://\").concat(location.host).concat(e);\n }\n }, {\n key: \"disconnect\",\n value: function (e, t, n) {\n this.closeWasClean = !0, this.reconnectTimer.reset(), this.teardown(e, t, n);\n }\n }, {\n key: \"connect\",\n value: function (e) {\n var t = this;\n e && (console && console.log(\"passing params to connect is deprecated. Instead pass :params to the Socket constructor\"), this.params = g(e)), this.conn || (this.closeWasClean = !1, this.conn = new this.transport(this.endPointURL()), this.conn.binaryType = this.binaryType, this.conn.timeout = this.longpollerTimeout, this.conn.onopen = function () {\n return t.onConnOpen();\n }, this.conn.onerror = function (e) {\n return t.onConnError(e);\n }, this.conn.onmessage = function (e) {\n return t.onConnMessage(e);\n }, this.conn.onclose = function (e) {\n return t.onConnClose(e);\n });\n }\n }, {\n key: \"log\",\n value: function (e, t, n) {\n this.logger(e, t, n);\n }\n }, {\n key: \"hasLogger\",\n value: function () {\n return null !== this.logger;\n }\n }, {\n key: \"onOpen\",\n value: function (e) {\n this.stateChangeCallbacks.open.push(e);\n }\n }, {\n key: \"onClose\",\n value: function (e) {\n this.stateChangeCallbacks.close.push(e);\n }\n }, {\n key: \"onError\",\n value: function (e) {\n this.stateChangeCallbacks.error.push(e);\n }\n }, {\n key: \"onMessage\",\n value: function (e) {\n this.stateChangeCallbacks.message.push(e);\n }\n }, {\n key: \"onConnOpen\",\n value: function () {\n this.hasLogger() && this.log(\"transport\", \"connected to \".concat(this.endPointURL())), this.unloaded = !1, this.closeWasClean = !1, this.flushSendBuffer(), this.reconnectTimer.reset(), this.resetHeartbeat(), this.stateChangeCallbacks.open.forEach(function (e) {\n return e();\n });\n }\n }, {\n key: \"resetHeartbeat\",\n value: function () {\n var e = this;\n this.conn && this.conn.skipHeartbeat || (this.pendingHeartbeatRef = null, clearInterval(this.heartbeatTimer), this.heartbeatTimer = setInterval(function () {\n return e.sendHeartbeat();\n }, this.heartbeatIntervalMs));\n }\n }, {\n key: \"teardown\",\n value: function (e, t, n) {\n this.conn && (this.conn.onclose = function () {}, t ? this.conn.close(t, n || \"\") : this.conn.close(), this.conn = null), e && e();\n }\n }, {\n key: \"onConnClose\",\n value: function (e) {\n this.hasLogger() && this.log(\"transport\", \"close\", e), this.triggerChanError(), clearInterval(this.heartbeatTimer), this.closeWasClean || this.reconnectTimer.scheduleTimeout(), this.stateChangeCallbacks.close.forEach(function (t) {\n return t(e);\n });\n }\n }, {\n key: \"onConnError\",\n value: function (e) {\n this.hasLogger() && this.log(\"transport\", e), this.triggerChanError(), this.stateChangeCallbacks.error.forEach(function (t) {\n return t(e);\n });\n }\n }, {\n key: \"triggerChanError\",\n value: function () {\n this.channels.forEach(function (e) {\n e.isErrored() || e.isLeaving() || e.isClosed() || e.trigger(v.error);\n });\n }\n }, {\n key: \"connectionState\",\n value: function () {\n switch (this.conn && this.conn.readyState) {\n case h.connecting:\n return \"connecting\";\n\n case h.open:\n return \"open\";\n\n case h.closing:\n return \"closing\";\n\n default:\n return \"closed\";\n }\n }\n }, {\n key: \"isConnected\",\n value: function () {\n return \"open\" === this.connectionState();\n }\n }, {\n key: \"remove\",\n value: function (e) {\n this.channels = this.channels.filter(function (t) {\n return t.joinRef() !== e.joinRef();\n });\n }\n }, {\n key: \"channel\",\n value: function (e) {\n var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},\n n = new k(e, t, this);\n return this.channels.push(n), n;\n }\n }, {\n key: \"push\",\n value: function (e) {\n var t = this;\n\n if (this.hasLogger()) {\n var n = e.topic,\n i = e.event,\n r = e.payload,\n o = e.ref,\n s = e.join_ref;\n this.log(\"push\", \"\".concat(n, \" \").concat(i, \" (\").concat(s, \", \").concat(o, \")\"), r);\n }\n\n this.isConnected() ? this.encode(e, function (e) {\n return t.conn.send(e);\n }) : this.sendBuffer.push(function () {\n return t.encode(e, function (e) {\n return t.conn.send(e);\n });\n });\n }\n }, {\n key: \"makeRef\",\n value: function () {\n var e = this.ref + 1;\n return e === this.ref ? this.ref = 0 : this.ref = e, this.ref.toString();\n }\n }, {\n key: \"sendHeartbeat\",\n value: function () {\n if (this.isConnected()) {\n if (this.pendingHeartbeatRef) return this.pendingHeartbeatRef = null, this.hasLogger() && this.log(\"transport\", \"heartbeat timeout. Attempting to re-establish connection\"), void this.abnormalClose(\"heartbeat timeout\");\n this.pendingHeartbeatRef = this.makeRef(), this.push({\n topic: \"phoenix\",\n event: \"heartbeat\",\n payload: {},\n ref: this.pendingHeartbeatRef\n });\n }\n }\n }, {\n key: \"abnormalClose\",\n value: function (e) {\n this.closeWasClean = !1, this.conn.close(1e3, e);\n }\n }, {\n key: \"flushSendBuffer\",\n value: function () {\n this.isConnected() && this.sendBuffer.length > 0 && (this.sendBuffer.forEach(function (e) {\n return e();\n }), this.sendBuffer = []);\n }\n }, {\n key: \"onConnMessage\",\n value: function (e) {\n var t = this;\n this.decode(e.data, function (e) {\n var n = e.topic,\n i = e.event,\n r = e.payload,\n o = e.ref,\n s = e.join_ref;\n o && o === t.pendingHeartbeatRef && (t.pendingHeartbeatRef = null), t.hasLogger() && t.log(\"receive\", \"\".concat(r.status || \"\", \" \").concat(n, \" \").concat(i, \" \").concat(o && \"(\" + o + \")\" || \"\"), r);\n\n for (var a = 0; a < t.channels.length; a++) {\n var u = t.channels[a];\n u.isMember(n, i, r, s) && u.trigger(i, r, o, s);\n }\n\n for (var c = 0; c < t.stateChangeCallbacks.message.length; c++) t.stateChangeCallbacks.message[c](e);\n });\n }\n }]), e;\n }(),\n x = function () {\n function e(t) {\n r(this, e), this.endPoint = null, this.token = null, this.skipHeartbeat = !0, this.onopen = function () {}, this.onerror = function () {}, this.onmessage = function () {}, this.onclose = function () {}, this.pollEndpoint = this.normalizeEndpoint(t), this.readyState = h.connecting, this.poll();\n }\n\n return a(e, [{\n key: \"normalizeEndpoint\",\n value: function (e) {\n return e.replace(\"ws://\", \"http://\").replace(\"wss://\", \"https://\").replace(new RegExp(\"(.*)/\" + y.websocket), \"$1/\" + y.longpoll);\n }\n }, {\n key: \"endpointURL\",\n value: function () {\n return E.appendParams(this.pollEndpoint, {\n token: this.token\n });\n }\n }, {\n key: \"closeAndRetry\",\n value: function () {\n this.close(), this.readyState = h.connecting;\n }\n }, {\n key: \"ontimeout\",\n value: function () {\n this.onerror(\"timeout\"), this.closeAndRetry();\n }\n }, {\n key: \"poll\",\n value: function () {\n var e = this;\n this.readyState !== h.open && this.readyState !== h.connecting || E.request(\"GET\", this.endpointURL(), \"application/json\", null, this.timeout, this.ontimeout.bind(this), function (t) {\n if (t) {\n var n = t.status,\n i = t.token,\n r = t.messages;\n e.token = i;\n } else n = 0;\n\n switch (n) {\n case 200:\n r.forEach(function (t) {\n return e.onmessage({\n data: t\n });\n }), e.poll();\n break;\n\n case 204:\n e.poll();\n break;\n\n case 410:\n e.readyState = h.open, e.onopen(), e.poll();\n break;\n\n case 0:\n case 500:\n e.onerror(), e.closeAndRetry();\n break;\n\n default:\n throw new Error(\"unhandled poll status \".concat(n));\n }\n });\n }\n }, {\n key: \"send\",\n value: function (e) {\n var t = this;\n E.request(\"POST\", this.endpointURL(), \"application/json\", e, this.timeout, this.onerror.bind(this, \"timeout\"), function (e) {\n e && 200 === e.status || (t.onerror(e && e.status), t.closeAndRetry());\n });\n }\n }, {\n key: \"close\",\n value: function (e, t) {\n this.readyState = h.closed, this.onclose();\n }\n }]), e;\n }(),\n E = function () {\n function e() {\n r(this, e);\n }\n\n return a(e, null, [{\n key: \"request\",\n value: function (e, t, n, i, r, o, s) {\n if (l.XDomainRequest) {\n var a = new XDomainRequest();\n this.xdomainRequest(a, e, t, i, r, o, s);\n } else {\n var u = l.XMLHttpRequest ? new l.XMLHttpRequest() : new ActiveXObject(\"Microsoft.XMLHTTP\");\n this.xhrRequest(u, e, t, n, i, r, o, s);\n }\n }\n }, {\n key: \"xdomainRequest\",\n value: function (e, t, n, i, r, o, s) {\n var a = this;\n e.timeout = r, e.open(t, n), e.onload = function () {\n var t = a.parseJSON(e.responseText);\n s && s(t);\n }, o && (e.ontimeout = o), e.onprogress = function () {}, e.send(i);\n }\n }, {\n key: \"xhrRequest\",\n value: function (e, t, n, i, r, o, s, a) {\n var u = this;\n e.open(t, n, !0), e.timeout = o, e.setRequestHeader(\"Content-Type\", i), e.onerror = function () {\n a && a(null);\n }, e.onreadystatechange = function () {\n if (e.readyState === u.states.complete && a) {\n var t = u.parseJSON(e.responseText);\n a(t);\n }\n }, s && (e.ontimeout = s), e.send(r);\n }\n }, {\n key: \"parseJSON\",\n value: function (e) {\n if (!e || \"\" === e) return null;\n\n try {\n return JSON.parse(e);\n } catch (t) {\n return console && console.log(\"failed to parse JSON response\", e), null;\n }\n }\n }, {\n key: \"serialize\",\n value: function (e, t) {\n var n = [];\n\n for (var r in e) if (e.hasOwnProperty(r)) {\n var o = t ? \"\".concat(t, \"[\").concat(r, \"]\") : r,\n s = e[r];\n \"object\" === i(s) ? n.push(this.serialize(s, o)) : n.push(encodeURIComponent(o) + \"=\" + encodeURIComponent(s));\n }\n\n return n.join(\"&\");\n }\n }, {\n key: \"appendParams\",\n value: function (e, t) {\n if (0 === Object.keys(t).length) return e;\n var n = e.match(/\\?/) ? \"&\" : \"?\";\n return \"\".concat(e).concat(n).concat(this.serialize(t));\n }\n }]), e;\n }();\n\n E.states = {\n complete: 4\n };\n\n var S = function () {\n function e(t) {\n var n = this,\n i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};\n r(this, e);\n var o = i.events || {\n state: \"presence_state\",\n diff: \"presence_diff\"\n };\n this.state = {}, this.pendingDiffs = [], this.channel = t, this.joinRef = null, this.caller = {\n onJoin: function () {},\n onLeave: function () {},\n onSync: function () {}\n }, this.channel.on(o.state, function (t) {\n var i = n.caller,\n r = i.onJoin,\n o = i.onLeave,\n s = i.onSync;\n n.joinRef = n.channel.joinRef(), n.state = e.syncState(n.state, t, r, o), n.pendingDiffs.forEach(function (t) {\n n.state = e.syncDiff(n.state, t, r, o);\n }), n.pendingDiffs = [], s();\n }), this.channel.on(o.diff, function (t) {\n var i = n.caller,\n r = i.onJoin,\n o = i.onLeave,\n s = i.onSync;\n n.inPendingSyncState() ? n.pendingDiffs.push(t) : (n.state = e.syncDiff(n.state, t, r, o), s());\n });\n }\n\n return a(e, [{\n key: \"onJoin\",\n value: function (e) {\n this.caller.onJoin = e;\n }\n }, {\n key: \"onLeave\",\n value: function (e) {\n this.caller.onLeave = e;\n }\n }, {\n key: \"onSync\",\n value: function (e) {\n this.caller.onSync = e;\n }\n }, {\n key: \"list\",\n value: function (t) {\n return e.list(this.state, t);\n }\n }, {\n key: \"inPendingSyncState\",\n value: function () {\n return !this.joinRef || this.joinRef !== this.channel.joinRef();\n }\n }], [{\n key: \"syncState\",\n value: function (e, t, n, i) {\n var r = this,\n o = this.clone(e),\n s = {},\n a = {};\n return this.map(o, function (e, n) {\n t[e] || (a[e] = n);\n }), this.map(t, function (e, t) {\n var n = o[e];\n\n if (n) {\n var i = t.metas.map(function (e) {\n return e.phx_ref;\n }),\n u = n.metas.map(function (e) {\n return e.phx_ref;\n }),\n c = t.metas.filter(function (e) {\n return u.indexOf(e.phx_ref) < 0;\n }),\n l = n.metas.filter(function (e) {\n return i.indexOf(e.phx_ref) < 0;\n });\n c.length > 0 && (s[e] = t, s[e].metas = c), l.length > 0 && (a[e] = r.clone(n), a[e].metas = l);\n } else s[e] = t;\n }), this.syncDiff(o, {\n joins: s,\n leaves: a\n }, n, i);\n }\n }, {\n key: \"syncDiff\",\n value: function (e, t, n, i) {\n var r = t.joins,\n o = t.leaves,\n s = this.clone(e);\n return n || (n = function () {}), i || (i = function () {}), this.map(r, function (e, t) {\n var i = s[e];\n\n if (s[e] = t, i) {\n var r,\n o = s[e].metas.map(function (e) {\n return e.phx_ref;\n }),\n a = i.metas.filter(function (e) {\n return o.indexOf(e.phx_ref) < 0;\n });\n (r = s[e].metas).unshift.apply(r, function (e) {\n return function (e) {\n if (Array.isArray(e)) {\n for (var t = 0, n = new Array(e.length); t < e.length; t++) n[t] = e[t];\n\n return n;\n }\n }(e) || function (e) {\n if (Symbol.iterator in Object(e) || \"[object Arguments]\" === Object.prototype.toString.call(e)) return Array.from(e);\n }(e) || function () {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\n }();\n }(a));\n }\n\n n(e, i, t);\n }), this.map(o, function (e, t) {\n var n = s[e];\n\n if (n) {\n var r = t.metas.map(function (e) {\n return e.phx_ref;\n });\n n.metas = n.metas.filter(function (e) {\n return r.indexOf(e.phx_ref) < 0;\n }), i(e, n, t), 0 === n.metas.length && delete s[e];\n }\n }), s;\n }\n }, {\n key: \"list\",\n value: function (e, t) {\n return t || (t = function (e, t) {\n return t;\n }), this.map(e, function (e, n) {\n return t(e, n);\n });\n }\n }, {\n key: \"map\",\n value: function (e, t) {\n return Object.getOwnPropertyNames(e).map(function (n) {\n return t(n, e[n]);\n });\n }\n }, {\n key: \"clone\",\n value: function (e) {\n return JSON.parse(JSON.stringify(e));\n }\n }]), e;\n }(),\n A = function () {\n function e(t, n) {\n r(this, e), this.callback = t, this.timerCalc = n, this.timer = null, this.tries = 0;\n }\n\n return a(e, [{\n key: \"reset\",\n value: function () {\n this.tries = 0, clearTimeout(this.timer);\n }\n }, {\n key: \"scheduleTimeout\",\n value: function () {\n var e = this;\n clearTimeout(this.timer), this.timer = setTimeout(function () {\n e.tries = e.tries + 1, e.callback();\n }, this.timerCalc(this.tries + 1));\n }\n }]), e;\n }();\n }]);\n });\n }).call(this, n(2)(e));\n }, function (e, t, n) {\n \"use strict\";\n\n var i;\n n.r(t);\n var r = \"http://www.w3.org/1999/xhtml\",\n o = \"undefined\" == typeof document ? void 0 : document,\n s = !!o && \"content\" in o.createElement(\"template\"),\n a = !!o && o.createRange && \"createContextualFragment\" in o.createRange();\n\n function u(e) {\n return s ? function (e) {\n var t = o.createElement(\"template\");\n return t.innerHTML = e, t.content.childNodes[0];\n }(e) : a ? function (e) {\n return i || (i = o.createRange()).selectNode(o.body), i.createContextualFragment(e).childNodes[0];\n }(e) : function (e) {\n var t = o.createElement(\"body\");\n return t.innerHTML = e, t.childNodes[0];\n }(e);\n }\n\n function c(e, t) {\n var n = e.nodeName,\n i = t.nodeName;\n return n === i || !!(t.actualize && n.charCodeAt(0) < 91 && i.charCodeAt(0) > 90) && n === i.toUpperCase();\n }\n\n function l(e, t, n) {\n e[n] !== t[n] && (e[n] = t[n], e[n] ? e.setAttribute(n, \"\") : e.removeAttribute(n));\n }\n\n var h = {\n OPTION: function (e, t) {\n var n = e.parentNode;\n\n if (n) {\n var i = n.nodeName.toUpperCase();\n \"OPTGROUP\" === i && (i = (n = n.parentNode) && n.nodeName.toUpperCase()), \"SELECT\" !== i || n.hasAttribute(\"multiple\") || (e.hasAttribute(\"selected\") && !t.selected && (e.setAttribute(\"selected\", \"selected\"), e.removeAttribute(\"selected\")), n.selectedIndex = -1);\n }\n\n l(e, t, \"selected\");\n },\n INPUT: function (e, t) {\n l(e, t, \"checked\"), l(e, t, \"disabled\"), e.value !== t.value && (e.value = t.value), t.hasAttribute(\"value\") || e.removeAttribute(\"value\");\n },\n TEXTAREA: function (e, t) {\n var n = t.value;\n e.value !== n && (e.value = n);\n var i = e.firstChild;\n\n if (i) {\n var r = i.nodeValue;\n if (r == n || !n && r == e.placeholder) return;\n i.nodeValue = n;\n }\n },\n SELECT: function (e, t) {\n if (!t.hasAttribute(\"multiple\")) {\n for (var n, i, r = -1, o = 0, s = e.firstChild; s;) if (\"OPTGROUP\" === (i = s.nodeName && s.nodeName.toUpperCase())) s = (n = s).firstChild;else {\n if (\"OPTION\" === i) {\n if (s.hasAttribute(\"selected\")) {\n r = o;\n break;\n }\n\n o++;\n }\n\n !(s = s.nextSibling) && n && (s = n.nextSibling, n = null);\n }\n\n e.selectedIndex = r;\n }\n }\n },\n f = 1,\n d = 11,\n v = 3,\n p = 8;\n\n function y() {}\n\n function g(e) {\n return e.id;\n }\n\n var m = function (e) {\n return function (t, n, i) {\n if (i || (i = {}), \"string\" == typeof n) if (\"#document\" === t.nodeName || \"HTML\" === t.nodeName) {\n var s = n;\n (n = o.createElement(\"html\")).innerHTML = s;\n } else n = u(n);\n var a,\n l = i.getNodeKey || g,\n m = i.onBeforeNodeAdded || y,\n k = i.onNodeAdded || y,\n b = i.onBeforeElUpdated || y,\n w = i.onElUpdated || y,\n x = i.onBeforeNodeDiscarded || y,\n E = i.onNodeDiscarded || y,\n S = i.onBeforeElChildrenUpdated || y,\n A = !0 === i.childrenOnly,\n C = {};\n\n function j(e) {\n a ? a.push(e) : a = [e];\n }\n\n function R(e, t, n) {\n !1 !== x(e) && (t && t.removeChild(e), E(e), function e(t, n) {\n if (t.nodeType === f) for (var i = t.firstChild; i;) {\n var r = void 0;\n n && (r = l(i)) ? j(r) : (E(i), i.firstChild && e(i, n)), i = i.nextSibling;\n }\n }(e, n));\n }\n\n function T(e) {\n k(e);\n\n for (var t = e.firstChild; t;) {\n var n = t.nextSibling,\n i = l(t);\n\n if (i) {\n var r = C[i];\n r && c(t, r) && (t.parentNode.replaceChild(r, t), L(r, t));\n }\n\n T(t), t = n;\n }\n }\n\n function L(i, r, s) {\n var a = l(r);\n\n if (a && delete C[a], !n.isSameNode || !n.isSameNode(t)) {\n if (!s) {\n if (!1 === b(i, r)) return;\n if (e(i, r), w(i), !1 === S(i, r)) return;\n }\n\n \"TEXTAREA\" !== i.nodeName ? function (e, t) {\n var n,\n i,\n r,\n s,\n a,\n u = t.firstChild,\n d = e.firstChild;\n\n e: for (; u;) {\n for (s = u.nextSibling, n = l(u); d;) {\n if (r = d.nextSibling, u.isSameNode && u.isSameNode(d)) {\n u = s, d = r;\n continue e;\n }\n\n i = l(d);\n var y = d.nodeType,\n g = void 0;\n\n if (y === u.nodeType && (y === f ? (n ? n !== i && ((a = C[n]) ? r === a ? g = !1 : (e.insertBefore(a, d), i ? j(i) : R(d, e, !0), d = a) : g = !1) : i && (g = !1), (g = !1 !== g && c(d, u)) && L(d, u)) : y !== v && y != p || (g = !0, d.nodeValue !== u.nodeValue && (d.nodeValue = u.nodeValue))), g) {\n u = s, d = r;\n continue e;\n }\n\n i ? j(i) : R(d, e, !0), d = r;\n }\n\n if (n && (a = C[n]) && c(a, u)) e.appendChild(a), L(a, u);else {\n var k = m(u);\n !1 !== k && (k && (u = k), u.actualize && (u = u.actualize(e.ownerDocument || o)), e.appendChild(u), T(u));\n }\n u = s, d = r;\n }\n\n !function (e, t, n) {\n for (; t;) {\n var i = t.nextSibling;\n (n = l(t)) ? j(n) : R(t, e, !0), t = i;\n }\n }(e, d, i);\n var b = h[e.nodeName];\n b && b(e, t);\n }(i, r) : h.TEXTAREA(i, r);\n }\n }\n\n !function e(t) {\n if (t.nodeType === f || t.nodeType === d) for (var n = t.firstChild; n;) {\n var i = l(n);\n i && (C[i] = n), e(n), n = n.nextSibling;\n }\n }(t);\n var P = t,\n N = P.nodeType,\n O = n.nodeType;\n if (!A) if (N === f) O === f ? c(t, n) || (E(t), P = function (e, t) {\n for (var n = e.firstChild; n;) {\n var i = n.nextSibling;\n t.appendChild(n), n = i;\n }\n\n return t;\n }(t, function (e, t) {\n return t && t !== r ? o.createElementNS(t, e) : o.createElement(e);\n }(n.nodeName, n.namespaceURI))) : P = n;else if (N === v || N === p) {\n if (O === N) return P.nodeValue !== n.nodeValue && (P.nodeValue = n.nodeValue), P;\n P = n;\n }\n if (P === n) E(t);else if (L(P, n, A), a) for (var _ = 0, I = a.length; _ < I; _++) {\n var B = C[a[_]];\n B && R(B, B.parentNode, !1);\n }\n return !A && P !== t && t.parentNode && (P.actualize && (P = P.actualize(t.ownerDocument || o)), t.parentNode.replaceChild(P, t)), P;\n };\n }(function (e, t) {\n var n,\n i,\n r,\n o,\n s,\n a = t.attributes;\n\n for (n = a.length - 1; n >= 0; --n) r = (i = a[n]).name, o = i.namespaceURI, s = i.value, o ? (r = i.localName || r, e.getAttributeNS(o, r) !== s && e.setAttributeNS(o, r, s)) : e.getAttribute(r) !== s && e.setAttribute(r, s);\n\n for (n = (a = e.attributes).length - 1; n >= 0; --n) !1 !== (i = a[n]).specified && (r = i.name, (o = i.namespaceURI) ? (r = i.localName || r, t.hasAttributeNS(o, r) || e.removeAttributeNS(o, r)) : t.hasAttribute(r) || e.removeAttribute(r));\n }),\n k = n(0);\n\n function b(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n function w(e, t) {\n for (var n = 0; n < t.length; n++) {\n var i = t[n];\n i.enumerable = i.enumerable || !1, i.configurable = !0, \"value\" in i && (i.writable = !0), Object.defineProperty(e, i.key, i);\n }\n }\n\n function x(e, t, n) {\n return t && w(e.prototype, t), n && w(e, n), e;\n }\n\n function E(e, t) {\n return function (e) {\n if (Array.isArray(e)) return e;\n }(e) || function (e, t) {\n var n = [],\n i = !0,\n r = !1,\n o = void 0;\n\n try {\n for (var s, a = e[Symbol.iterator](); !(i = (s = a.next()).done) && (n.push(s.value), !t || n.length !== t); i = !0);\n } catch (e) {\n r = !0, o = e;\n } finally {\n try {\n i || null == a.return || a.return();\n } finally {\n if (r) throw o;\n }\n }\n\n return n;\n }(e, t) || function () {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n }();\n }\n\n function S(e) {\n return (S = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (e) {\n return typeof e;\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : typeof e;\n })(e);\n }\n\n n.d(t, \"debug\", function () {\n return L;\n }), n.d(t, \"Rendered\", function () {\n return V;\n }), n.d(t, \"LiveSocket\", function () {\n return M;\n }), n.d(t, \"Browser\", function () {\n return H;\n }), n.d(t, \"View\", function () {\n return U;\n });\n\n var A = \"data-phx-view\",\n C = \"[\".concat(A, \"]\"),\n j = [\"text\", \"textarea\", \"number\", \"email\", \"password\", \"search\", \"tel\", \"url\"],\n R = 1,\n T = \"phx-\",\n L = function (e, t, n, i) {\n console.log(\"\".concat(e.id, \" \").concat(t, \": \").concat(n, \" - \"), i);\n },\n P = function (e) {\n return JSON.parse(JSON.stringify(e));\n },\n N = function (e, t) {\n do {\n if (e.matches(\"[\".concat(t, \"]\"))) return e;\n e = e.parentElement || e.parentNode;\n } while (null !== e && 1 === e.nodeType && !e.matches(C));\n\n return null;\n },\n O = function (e) {\n return null !== e && \"object\" === S(e) && !(e instanceof Array);\n },\n _ = function (e, t) {\n return e ? e[t] : null;\n },\n I = function (e) {\n var t = new FormData(e),\n n = new URLSearchParams(),\n i = !0,\n r = !1,\n o = void 0;\n\n try {\n for (var s, a = t.entries()[Symbol.iterator](); !(i = (s = a.next()).done); i = !0) {\n var u = E(s.value, 2),\n c = u[0],\n l = u[1];\n n.append(c, l);\n }\n } catch (e) {\n r = !0, o = e;\n } finally {\n try {\n i || null == a.return || a.return();\n } finally {\n if (r) throw o;\n }\n }\n\n return n.toString();\n },\n B = {\n get: function (e) {\n return e.getAttribute(\"data-phx-session\");\n },\n isEqual: function (e, t) {\n return this.get(e) === this.get(t);\n }\n },\n V = {\n mergeDiff: function (e, t) {\n return this.isNewFingerprint(t) ? t : (function e(t, n) {\n for (var i in n) {\n var r = n[i],\n o = t[i];\n O(r) && o ? (O(o) && o.dynamics && !r.dynamics && delete o.dynamics, e(o, r)) : t[i] = r;\n }\n }(e, t), e);\n },\n isNewFingerprint: function () {\n return !!(arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}).static;\n },\n toString: function (e) {\n var t = {\n buffer: \"\"\n };\n return this.toOutputBuffer(e, t), t.buffer;\n },\n toOutputBuffer: function (e, t) {\n if (e.dynamics) return this.comprehensionToBuffer(e, t);\n var n = e.static;\n t.buffer += n[0];\n\n for (var i = 1; i < n.length; i++) this.dynamicToBuffer(e[i - 1], t), t.buffer += n[i];\n },\n comprehensionToBuffer: function (e, t) {\n for (var n = e.dynamics, i = e.static, r = 0; r < n.length; r++) {\n var o = n[r];\n t.buffer += i[0];\n\n for (var s = 1; s < i.length; s++) this.dynamicToBuffer(o[s - 1], t), t.buffer += i[s];\n }\n },\n dynamicToBuffer: function (e, t) {\n O(e) ? this.toOutputBuffer(e, t) : t.buffer += e;\n }\n },\n M = function () {\n function e(t) {\n var n = this,\n i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};\n b(this, e), this.unloaded = !1, this.socket = new k.Socket(t, i), this.bindingPrefix = i.bindingPrefix || T, this.opts = i, this.views = {}, this.params = i.params || {}, this.viewLogger = i.viewLogger, this.activeElement = null, this.prevActive = null, this.prevInput = null, this.prevValue = null, this.silenced = !1, this.root = null, this.linkRef = 0, this.href = window.location.href, this.pendingLink = null, this.currentLocation = P(window.location), this.socket.onOpen(function () {\n n.isUnloaded() && (n.destroyAllViews(), n.joinRootViews()), n.unloaded = !1;\n }), window.addEventListener(\"beforeunload\", function (e) {\n n.unloaded = !0;\n }), this.bindTopLevelEvents();\n }\n\n return x(e, [{\n key: \"getSocket\",\n value: function () {\n return this.socket;\n }\n }, {\n key: \"log\",\n value: function (e, t, n) {\n if (this.viewLogger) {\n var i = E(n(), 2),\n r = i[0],\n o = i[1];\n this.viewLogger(e, t, r, o);\n }\n }\n }, {\n key: \"connect\",\n value: function () {\n var e = this;\n return [\"complete\", \"loaded\", \"interactive\"].indexOf(document.readyState) >= 0 ? this.joinRootViews() : document.addEventListener(\"DOMContentLoaded\", function () {\n e.joinRootViews();\n }), this.socket.connect();\n }\n }, {\n key: \"disconnect\",\n value: function () {\n this.socket.disconnect();\n }\n }, {\n key: \"isUnloaded\",\n value: function () {\n return this.unloaded;\n }\n }, {\n key: \"getBindingPrefix\",\n value: function () {\n return this.bindingPrefix;\n }\n }, {\n key: \"binding\",\n value: function (e) {\n return \"\".concat(this.getBindingPrefix()).concat(e);\n }\n }, {\n key: \"channel\",\n value: function (e, t) {\n return this.socket.channel(e, t || {});\n }\n }, {\n key: \"joinRootViews\",\n value: function () {\n var e = this;\n H.all(document, \"\".concat(C, \":not([\").concat(\"data-phx-parent-id\", \"])\"), function (t) {\n var n = e.joinView(t, null, e.getHref());\n e.root = e.root || n;\n });\n }\n }, {\n key: \"replaceRoot\",\n value: function (e) {\n var t = this,\n n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null,\n i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : this.setPendingLink(e);\n this.root.showLoader(R);\n var r = this.root.el,\n o = this.root.id,\n s = this.root.isLoading();\n H.fetchPage(e, function (a, u) {\n if (200 !== a) return H.redirect(e);\n var c = document.createElement(\"div\");\n c.innerHTML = u, t.joinView(c.firstChild, null, e, function (e) {\n t.commitPendingLink(i) ? (n && n(), t.destroyViewById(o), r.replaceWith(e.el), t.root = e, s && t.root.showLoader()) : e.destroy();\n });\n });\n }\n }, {\n key: \"joinView\",\n value: function (e, t, n, i) {\n if (!this.getViewById(e.id)) {\n var r = new U(e, this, t, n);\n return this.views[r.id] = r, r.join(i), r;\n }\n }\n }, {\n key: \"owner\",\n value: function (e, t) {\n var n = this.getViewById(_(e.closest(C), \"id\"));\n n && t(n);\n }\n }, {\n key: \"getViewById\",\n value: function (e) {\n return this.views[e];\n }\n }, {\n key: \"onViewError\",\n value: function (e) {\n this.dropActiveElement(e);\n }\n }, {\n key: \"destroyAllViews\",\n value: function () {\n for (var e in this.views) this.destroyViewById(e);\n }\n }, {\n key: \"destroyViewById\",\n value: function (e) {\n var t = this.views[e];\n t && (delete this.views[t.id], this.root && t.id === this.root.id && (this.root = null), t.destroy());\n }\n }, {\n key: \"setActiveElement\",\n value: function (e) {\n var t = this;\n\n if (this.activeElement !== e) {\n this.activeElement = e;\n\n var n = function () {\n e === t.activeElement && (t.activeElement = null), e.removeEventListener(\"mouseup\", t), e.removeEventListener(\"touchend\", t);\n };\n\n e.addEventListener(\"mouseup\", n), e.addEventListener(\"touchend\", n);\n }\n }\n }, {\n key: \"getActiveElement\",\n value: function () {\n return document.activeElement === document.body && this.activeElement || document.activeElement;\n }\n }, {\n key: \"dropActiveElement\",\n value: function (e) {\n this.prevActive && e.ownsElement(this.prevActive) && (this.prevActive = null);\n }\n }, {\n key: \"restorePreviouslyActiveFocus\",\n value: function () {\n this.prevActive && this.prevActive !== document.body && this.prevActive.focus();\n }\n }, {\n key: \"blurActiveElement\",\n value: function () {\n this.prevActive = this.getActiveElement(), this.prevActive !== document.body && this.prevActive.blur();\n }\n }, {\n key: \"bindTopLevelEvents\",\n value: function () {\n this.bindClicks(), this.bindNav(), this.bindForms(), this.bindTargetable({\n keyup: \"keyup\",\n keydown: \"keydown\"\n }, function (e, t, n, i, r, o) {\n n.pushKey(i, t, e, r);\n }), this.bindTargetable({\n blur: \"focusout\",\n focus: \"focusin\"\n }, function (e, t, n, i, r, o) {\n o || n.pushEvent(t, i, r);\n }), this.bindTargetable({\n blur: \"blur\",\n focus: \"focus\"\n }, function (e, t, n, i, r, o) {\n o && \"window\" !== !o && n.pushEvent(t, i, r);\n });\n }\n }, {\n key: \"setPendingLink\",\n value: function (e) {\n this.linkRef++;\n this.linkRef;\n return this.pendingLink = e, this.linkRef;\n }\n }, {\n key: \"commitPendingLink\",\n value: function (e) {\n return this.linkRef === e && (this.href = this.pendingLink, this.pendingLink = null, !0);\n }\n }, {\n key: \"getHref\",\n value: function () {\n return this.href;\n }\n }, {\n key: \"hasPendingLink\",\n value: function () {\n return !!this.pendingLink;\n }\n }, {\n key: \"bindTargetable\",\n value: function (e, t) {\n var n = this,\n i = function (i) {\n var r = e[i];\n n.on(r, function (e) {\n var r = n.binding(i),\n o = n.binding(\"target\"),\n s = e.target.getAttribute && e.target.getAttribute(r);\n s && !e.target.getAttribute(o) ? n.owner(e.target, function (n) {\n return t(e, i, n, e.target, s, null);\n }) : H.all(document, \"[\".concat(r, \"][\").concat(o, \"=window]\"), function (o) {\n var s = o.getAttribute(r);\n n.owner(o, function (n) {\n return t(e, i, n, o, s, \"window\");\n });\n });\n });\n };\n\n for (var r in e) i(r);\n }\n }, {\n key: \"bindClicks\",\n value: function () {\n var e = this;\n window.addEventListener(\"click\", function (t) {\n var n = e.binding(\"click\"),\n i = N(t.target, n),\n r = i && i.getAttribute(n);\n r && (t.preventDefault(), e.owner(i, function (e) {\n return e.pushEvent(\"click\", i, r);\n }));\n }, !1);\n }\n }, {\n key: \"bindNav\",\n value: function () {\n var e = this;\n H.canPushState() && (window.onpopstate = function (t) {\n if (e.registerNewLocation(window.location)) {\n var n = window.location.href;\n e.root.isConnected() ? e.root.pushInternalLink(n) : e.replaceRoot(n);\n }\n }, window.addEventListener(\"click\", function (t) {\n var n = N(t.target, \"data-phx-live-link\"),\n i = n && n.getAttribute(\"data-phx-live-link\");\n\n if (i) {\n var r = n.href;\n t.preventDefault(), e.root.pushInternalLink(r, function () {\n return H.pushState(i, {}, r);\n });\n }\n }, !1));\n }\n }, {\n key: \"registerNewLocation\",\n value: function (e) {\n var t = this.currentLocation;\n return t.pathname + t.search !== e.pathname + e.search && (this.currentLocation = P(e), !0);\n }\n }, {\n key: \"bindForms\",\n value: function () {\n var e = this;\n this.on(\"submit\", function (t) {\n var n = t.target.getAttribute(e.binding(\"submit\"));\n n && (t.preventDefault(), t.target.disabled = !0, e.owner(t.target, function (e) {\n return e.submitForm(t.target, n);\n }));\n }, !1);\n\n for (var t = [\"change\", \"input\"], n = 0; n < t.length; n++) {\n var i = t[n];\n this.on(i, function (t) {\n var n = t.target,\n i = \"checkbox\" === n.type ? \"checked\" : \"value\";\n\n if (e.prevInput !== n || e.prevValue !== n[i]) {\n e.prevInput = n, e.prevValue = n[i];\n var r = n.form && n.form.getAttribute(e.binding(\"change\"));\n r && e.owner(n, function (t) {\n D.isTextualInput(n) ? n.setAttribute(\"data-phx-has-focused\", !0) : e.setActiveElement(n), t.pushInput(n, r);\n });\n }\n }, !1);\n }\n }\n }, {\n key: \"silenceEvents\",\n value: function (e) {\n this.silenced = !0, e(), this.silenced = !1;\n }\n }, {\n key: \"on\",\n value: function (e, t) {\n var n = this;\n window.addEventListener(e, function (e) {\n n.silenced || t(e);\n });\n }\n }]), e;\n }(),\n H = {\n all: function (e, t, n) {\n e.querySelectorAll(t).forEach(n);\n },\n canPushState: function () {\n return void 0 !== history.pushState;\n },\n fetchPage: function (e, t) {\n var n = new XMLHttpRequest();\n n.open(\"GET\", e, !0), n.timeout = 3e4, n.setRequestHeader(\"content-type\", \"text/html\"), n.setRequestHeader(\"cache-control\", \"max-age=0, no-cache, no-store, must-revalidate, post-check=0, pre-check=0\"), n.setRequestHeader(\"x-requested-with\", \"live-link\"), n.onerror = function () {\n return t(400);\n }, n.ontimeout = function () {\n return t(504);\n }, n.onreadystatechange = function () {\n if (4 === n.readyState) return \"live-link\" !== n.getResponseHeader(\"x-requested-with\") ? t(400) : 200 !== n.status ? t(n.status) : void t(200, n.responseText);\n }, n.send();\n },\n pushState: function (e, t, n) {\n this.canPushState() ? n !== window.location.href && history[e + \"State\"](t, \"\", n) : this.redirect(n);\n },\n dispatchEvent: function (e, t) {\n var n = null;\n \"function\" == typeof Event ? n = new Event(t) : (n = document.createEvent(\"Event\")).initEvent(t, !0, !0), e.dispatchEvent(n);\n },\n setCookie: function (e, t) {\n document.cookie = \"\".concat(e, \"=\").concat(t);\n },\n getCookie: function (e) {\n return document.cookie.replace(new RegExp(\"(?:(?:^|.*;s*)\".concat(e, \"s*=s*([^;]*).*$)|^.*$\")), \"$1\");\n },\n redirect: function (e, t) {\n t && H.setCookie(\"__phoenix_flash__\", t + \"; max-age=60000; path=/\"), window.location = e;\n }\n },\n D = {\n disableForm: function (e, t) {\n var n = \"\".concat(t).concat(\"disable-with\");\n e.classList.add(\"phx-loading\"), H.all(e, \"[\".concat(n, \"]\"), function (e) {\n var t = e.getAttribute(n);\n e.setAttribute(\"\".concat(n, \"-restore\"), e.innerText), e.innerText = t;\n }), H.all(e, \"button\", function (e) {\n e.setAttribute(\"data-phx-disabled\", e.disabled), e.disabled = !0;\n }), H.all(e, \"input\", function (e) {\n e.setAttribute(\"data-phx-readonly\", e.readOnly), e.readOnly = !0;\n });\n },\n restoreDisabledForm: function (e, t) {\n var n = \"\".concat(t).concat(\"disable-with\");\n e.classList.remove(\"phx-loading\"), H.all(e, \"[\".concat(n, \"]\"), function (e) {\n var t = e.getAttribute(\"\".concat(n, \"-restore\"));\n t && (\"INPUT\" === e.nodeName ? e.value = t : e.innerText = t, e.removeAttribute(\"\".concat(n, \"-restore\")));\n }), H.all(e, \"button\", function (e) {\n var t = e.getAttribute(\"data-phx-disabled\");\n t && (e.disabled = \"true\" === t, e.removeAttribute(\"data-phx-disabled\"));\n }), H.all(e, \"input\", function (e) {\n var t = e.getAttribute(\"data-phx-readonly\");\n t && (e.readOnly = \"true\" === t, e.removeAttribute(\"data-phx-readonly\"));\n });\n },\n discardError: function (e) {\n var t = e.getAttribute && e.getAttribute(\"data-phx-error-for\");\n\n if (t) {\n var n = document.getElementById(t);\n !t || n.getAttribute(\"data-phx-has-focused\") || n.form.getAttribute(\"data-phx-has-submitted\") || (e.style.display = \"none\");\n }\n },\n isPhxChild: function (e) {\n return e.getAttribute && e.getAttribute(\"data-phx-parent-id\");\n },\n isIgnored: function (e, t) {\n return e.getAttribute && null != e.getAttribute(t) || e.parentNode && null != e.parentNode.getAttribute(t);\n },\n patch: function (e, t, n, i) {\n var r = e.liveSocket.getActiveElement(),\n o = null,\n s = null,\n a = e.liveSocket.binding(\"ignore\"),\n u = t.tagName.toLowerCase();\n D.isTextualInput(r) && (o = r.selectionStart, s = r.selectionEnd), m(t, \"<\".concat(u, \">\").concat(i, \"\"), {\n childrenOnly: !0,\n onBeforeNodeAdded: function (e) {\n return D.discardError(e), e;\n },\n onNodeAdded: function (t) {\n if (D.isPhxChild(t) && e.ownsElement(t)) return e.onNewChildAdded(), !0;\n },\n onBeforeNodeDiscarded: function (t) {\n return !D.isIgnored(t, a) && (D.isPhxChild(t) ? (e.liveSocket.destroyViewById(t.id), !0) : void 0);\n },\n onBeforeElUpdated: function (t, n) {\n if (t.isEqualNode(n)) return !1;\n if (D.isIgnored(t, a)) return !1;\n\n if (D.isPhxChild(n)) {\n var i = t.getAttribute(\"data-phx-static\");\n return B.isEqual(n, t) || (e.liveSocket.destroyViewById(t.id), e.onNewChildAdded()), D.mergeAttrs(t, n), t.setAttribute(\"data-phx-static\", i), !1;\n }\n\n return t.getAttribute && t.getAttribute(\"data-phx-has-submitted\") && n.setAttribute(\"data-phx-has-submitted\", !0), t.getAttribute && t.getAttribute(\"data-phx-has-focused\") && n.setAttribute(\"data-phx-has-focused\", !0), D.discardError(n), !D.isTextualInput(t) || t !== r || (D.mergeInputs(t, n), !1);\n }\n }), e.liveSocket.silenceEvents(function () {\n D.restoreFocus(r, o, s);\n }), H.dispatchEvent(document, \"phx:update\");\n },\n mergeAttrs: function (e, t) {\n for (var n = t.attributes, i = 0, r = n.length; i < r; i++) {\n var o = n[i].name,\n s = t.getAttribute(o);\n e.setAttribute(o, s);\n }\n },\n mergeInputs: function (e, t) {\n D.mergeAttrs(e, t), e.readOnly = t.readOnly;\n },\n restoreFocus: function (e, t, n) {\n D.isTextualInput(e) && ((\"\" === e.value || e.readOnly) && e.blur(), e.focus(), (e.setSelectionRange && \"text\" === e.type || \"textarea\" === e.type) && e.setSelectionRange(t, n));\n },\n isTextualInput: function (e) {\n return j.indexOf(e.type) >= 0;\n }\n },\n U = function () {\n function e(t, n, i, r) {\n var o = this;\n b(this, e), this.liveSocket = n, this.parent = i, this.newChildrenAdded = !1, this.gracefullyClosed = !1, this.el = t, this.id = this.el.id, this.view = this.el.getAttribute(A), this.pendingDiffs = [], this.href = r, this.joinedOnce = !1, this.channel = this.liveSocket.channel(\"lv:\".concat(this.id), function () {\n return {\n url: o.href || o.liveSocket.root.href,\n params: o.liveSocket.params,\n session: o.getSession(),\n static: o.getStatic()\n };\n }), this.showLoader(R), this.bindChannel();\n }\n\n return x(e, [{\n key: \"isConnected\",\n value: function () {\n return this.channel.canPush();\n }\n }, {\n key: \"getSession\",\n value: function () {\n return B.get(this.el);\n }\n }, {\n key: \"getStatic\",\n value: function () {\n var e = this.el.getAttribute(\"data-phx-static\");\n return \"\" === e ? null : e;\n }\n }, {\n key: \"destroy\",\n value: function () {\n var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : function () {};\n this.hasGracefullyClosed() ? (this.log(\"destroyed\", function () {\n return [\"the server view has gracefully closed\"];\n }), e()) : (this.log(\"destroyed\", function () {\n return [\"the child has been removed from the parent\"];\n }), this.channel.leave().receive(\"ok\", e).receive(\"error\", e).receive(\"timeout\", e));\n }\n }, {\n key: \"setContainerClasses\",\n value: function () {\n var e;\n this.el.classList.remove(\"phx-connected\", \"phx-disconnected\", \"phx-error\"), (e = this.el.classList).add.apply(e, arguments);\n }\n }, {\n key: \"isLoading\",\n value: function () {\n return this.el.classList.contains(\"phx-disconnected\");\n }\n }, {\n key: \"showLoader\",\n value: function (e) {\n var t = this;\n clearTimeout(this.loaderTimer), e ? this.loaderTimer = setTimeout(function () {\n return t.showLoader();\n }, e) : this.setContainerClasses(\"phx-disconnected\");\n }\n }, {\n key: \"hideLoader\",\n value: function () {\n clearTimeout(this.loaderTimer), this.setContainerClasses(\"phx-connected\");\n }\n }, {\n key: \"log\",\n value: function (e, t) {\n this.liveSocket.log(this, e, t);\n }\n }, {\n key: \"onJoin\",\n value: function (e) {\n var t = e.rendered,\n n = e.live_redirect;\n\n if (this.log(\"join\", function () {\n return [\"\", JSON.stringify(t)];\n }), this.rendered = t, this.hideLoader(), D.patch(this, this.el, this.id, V.toString(this.rendered)), this.joinNewChildren(), n) {\n var i = n.kind,\n r = n.to;\n H.pushState(i, {}, r);\n }\n }\n }, {\n key: \"joinNewChildren\",\n value: function () {\n var e = this;\n H.all(document, \"\".concat(C, \"[\").concat(\"data-phx-parent-id\", '=\"').concat(this.id, '\"]'), function (t) {\n e.liveSocket.getViewById(t.id) || e.liveSocket.joinView(t, e);\n });\n }\n }, {\n key: \"update\",\n value: function (e) {\n if (!function (e) {\n for (var t in e) return !1;\n\n return !0;\n }(e)) {\n if (this.liveSocket.hasPendingLink()) return this.pendingDiffs.push(e);\n this.log(\"update\", function () {\n return [\"\", JSON.stringify(e)];\n }), this.rendered = V.mergeDiff(this.rendered, e);\n var t = V.toString(this.rendered);\n this.newChildrenAdded = !1, D.patch(this, this.el, this.id, t), this.newChildrenAdded && this.joinNewChildren();\n }\n }\n }, {\n key: \"applyPendingUpdates\",\n value: function () {\n var e = this;\n this.pendingDiffs.forEach(function (t) {\n return e.update(t);\n }), this.pendingDiffs = [];\n }\n }, {\n key: \"onNewChildAdded\",\n value: function () {\n this.newChildrenAdded = !0;\n }\n }, {\n key: \"bindChannel\",\n value: function () {\n var e = this;\n this.channel.on(\"diff\", function (t) {\n return e.update(t);\n }), this.channel.on(\"redirect\", function (t) {\n var n = t.to,\n i = t.flash;\n return e.onRedirect({\n to: n,\n flash: i\n });\n }), this.channel.on(\"live_redirect\", function (t) {\n var n = t.to,\n i = t.kind;\n return e.onLiveRedirect({\n to: n,\n kind: i\n });\n }), this.channel.on(\"external_live_redirect\", function (t) {\n var n = t.to,\n i = t.kind;\n return e.onExternalLiveRedirect({\n to: n,\n kind: i\n });\n }), this.channel.on(\"session\", function (t) {\n var n = t.token;\n return e.el.setAttribute(\"data-phx-session\", n);\n }), this.channel.onError(function (t) {\n return e.onError(t);\n }), this.channel.onClose(function () {\n return e.onGracefulClose();\n });\n }\n }, {\n key: \"onGracefulClose\",\n value: function () {\n this.gracefullyClosed = !0, this.liveSocket.destroyViewById(this.id);\n }\n }, {\n key: \"onExternalLiveRedirect\",\n value: function (e) {\n var t = e.to,\n n = e.kind;\n this.liveSocket.replaceRoot(t, function () {\n return H.pushState(n, {}, t);\n });\n }\n }, {\n key: \"onLiveRedirect\",\n value: function (e) {\n var t = e.to,\n n = e.kind;\n H.pushState(n, {}, t);\n }\n }, {\n key: \"onRedirect\",\n value: function (e) {\n var t = e.to,\n n = e.flash;\n H.redirect(t, n);\n }\n }, {\n key: \"hasGracefullyClosed\",\n value: function () {\n return this.gracefullyClosed;\n }\n }, {\n key: \"join\",\n value: function (e) {\n var t = this;\n this.parent && (this.parent.channel.onClose(function () {\n return t.onGracefulClose();\n }), this.parent.channel.onError(function () {\n return t.liveSocket.destroyViewById(t.id);\n })), this.channel.join().receive(\"ok\", function (n) {\n t.joinedOnce || e && e(t), t.joinedOnce = !0, t.onJoin(n);\n }).receive(\"error\", function (e) {\n return t.onJoinError(e);\n }).receive(\"timeout\", function () {\n return t.onJoinError(\"timeout\");\n });\n }\n }, {\n key: \"onJoinError\",\n value: function (e) {\n return e.redirect ? this.onRedirect(e.redirect) : e.external_live_redirect ? this.onExternalLiveRedirect(e.external_live_redirect) : (this.displayError(), void this.log(\"error\", function () {\n return [\"unable to join\", e];\n }));\n }\n }, {\n key: \"onError\",\n value: function (e) {\n this.log(\"error\", function () {\n return [\"view crashed\", e];\n }), this.liveSocket.onViewError(this), document.activeElement.blur(), this.liveSocket.isUnloaded() ? this.showLoader(500) : this.displayError();\n }\n }, {\n key: \"displayError\",\n value: function () {\n this.showLoader(), this.setContainerClasses(\"phx-disconnected\", \"phx-error\");\n }\n }, {\n key: \"pushWithReply\",\n value: function (e, t) {\n var n = this,\n i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : function () {};\n return this.channel.push(e, t, 3e4).receive(\"ok\", function (e) {\n e.diff && n.update(e.diff), e.redirect && n.onRedirect(e.redirect), e.live_redirect && n.onLiveRedirect(e.live_redirect), e.external_live_redirect && n.onExternalLiveRedirect(e.external_live_redirect), i(e);\n });\n }\n }, {\n key: \"pushEvent\",\n value: function (e, t, n) {\n var i = t.getAttribute(this.binding(\"value\")) || t.value || \"\";\n this.pushWithReply(\"event\", {\n type: e,\n event: n,\n value: i\n });\n }\n }, {\n key: \"pushKey\",\n value: function (e, t, n, i) {\n this.pushWithReply(\"event\", {\n type: t,\n event: i,\n value: e.value || n.key\n });\n }\n }, {\n key: \"pushInput\",\n value: function (e, t) {\n this.pushWithReply(\"event\", {\n type: \"form\",\n event: t,\n value: I(e.form)\n });\n }\n }, {\n key: \"pushFormSubmit\",\n value: function (e, t, n) {\n this.pushWithReply(\"event\", {\n type: \"form\",\n event: t,\n value: I(e)\n }, n);\n }\n }, {\n key: \"pushInternalLink\",\n value: function (e, t) {\n var n = this;\n this.isLoading() || this.showLoader(R);\n var i = this.liveSocket.setPendingLink(e);\n this.pushWithReply(\"link\", {\n url: e\n }, function (r) {\n r.link_redirect ? n.liveSocket.replaceRoot(e, t, i) : n.liveSocket.commitPendingLink(i) && (n.href = e, n.applyPendingUpdates(), n.hideLoader(), t && t());\n }).receive(\"timeout\", function () {\n return H.redirect(window.location.href);\n });\n }\n }, {\n key: \"ownsElement\",\n value: function (e) {\n return e.getAttribute(\"data-phx-parent-id\") === this.id || _(e.closest(C), \"id\") === this.id;\n }\n }, {\n key: \"submitForm\",\n value: function (e, t) {\n var n = this,\n i = this.liveSocket.getBindingPrefix();\n e.setAttribute(\"data-phx-has-submitted\", \"true\"), D.disableForm(e, i), this.liveSocket.blurActiveElement(this), this.pushFormSubmit(e, t, function () {\n D.restoreDisabledForm(e, i), n.liveSocket.restorePreviouslyActiveFocus();\n });\n }\n }, {\n key: \"binding\",\n value: function (e) {\n return this.liveSocket.binding(e);\n }\n }]), e;\n }();\n\n t.default = M;\n }, function (e, t) {\n e.exports = function (e) {\n return e.webpackPolyfill || (e.deprecate = function () {}, e.paths = [], e.children || (e.children = []), Object.defineProperty(e, \"loaded\", {\n enumerable: !0,\n get: function () {\n return e.l;\n }\n }), Object.defineProperty(e, \"id\", {\n enumerable: !0,\n get: function () {\n return e.i;\n }\n }), e.webpackPolyfill = 1), e;\n };\n }, function (e, t) {\n var n;\n\n n = function () {\n return this;\n }();\n\n try {\n n = n || Function(\"return this\")() || (0, eval)(\"this\");\n } catch (e) {\n \"object\" == typeof window && (n = window);\n }\n\n e.exports = n;\n }, function (e, t, n) {\n (function (t) {\n t.Phoenix || (t.Phoenix = {}), e.exports = t.Phoenix.LiveView = n(1);\n }).call(this, n(3));\n }]);\n});\n\n//# sourceURL=webpack:///../deps/phoenix_live_view/priv/static/phoenix_live_view.js?"); + +/***/ }), + /***/ "./css/app.css": /*!*********************!*\ !*** ./css/app.css ***! @@ -113,7 +113,8 @@ eval("// extracted by mini-css-extract-plugin\n\n//# sourceURL=webpack:///./css/ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _css_app_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../css/app.css */ \"./css/app.css\");\n/* harmony import */ var _css_app_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_app_css__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var phoenix_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! phoenix_html */ \"../deps/phoenix_html/priv/static/phoenix_html.js\");\n/* harmony import */ var phoenix_html__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(phoenix_html__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _socket__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./socket */ \"./js/socket.js\");\n// We need to import the CSS so that webpack will load it.\n// The MiniCssExtractPlugin is used to separate it out into\n// its own CSS file.\n // webpack automatically bundles all modules in your\n// entry points. Those entry points can be configured\n// in \"webpack.config.js\".\n//\n// Import dependencies\n//\n\n // Import local files\n//\n// Local files can be imported directly using relative paths, for example:\n\n\n\n//# sourceURL=webpack:///./js/app.js?"); +<<<<<<< HEAD +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _css_app_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../css/app.css */ \"./css/app.css\");\n/* harmony import */ var _css_app_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_app_css__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var phoenix_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! phoenix_html */ \"../deps/phoenix_html/priv/static/phoenix_html.js\");\n/* harmony import */ var phoenix_html__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(phoenix_html__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _socket__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./socket */ \"./js/socket.js\");\n/* harmony import */ var phoenix_live_view__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! phoenix_live_view */ \"../deps/phoenix_live_view/priv/static/phoenix_live_view.js\");\n/* harmony import */ var phoenix_live_view__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(phoenix_live_view__WEBPACK_IMPORTED_MODULE_3__);\n// We need to import the CSS so that webpack will load it.\n// The MiniCssExtractPlugin is used to separate it out into\n// its own CSS file.\n // webpack automatically bundles all modules in your\n// entry points. Those entry points can be configured\n// in \"webpack.config.js\".\n//\n// Import dependencies\n//\n\n // Import local files\n//\n// Local files can be imported directly using relative paths, for example:\n\n\n\nvar liveSocket = new phoenix_live_view__WEBPACK_IMPORTED_MODULE_3___default.a(\"/live\");\nliveSocket.connect();\n\n//# sourceURL=webpack:///./js/app.js?"); /***/ }), @@ -125,7 +126,15 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _css /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; +<<<<<<< HEAD eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var phoenix__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! phoenix */ \"../deps/phoenix/priv/static/phoenix.js\");\n/* harmony import */ var phoenix__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(phoenix__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _users__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./users */ \"./js/users.js\");\n\n\nvar socket = new phoenix__WEBPACK_IMPORTED_MODULE_0__[\"Socket\"]('/socket', {\n params: {\n username: window.pointingParty.username\n }\n});\nsocket.connect();\nvar driving = false; // connect to Presence here\n// set up your syncDiff function using updateUsers as a callback\n\nvar startButton = document.querySelector('.start-button');\nstartButton.addEventListener('click', function (event) {\n driving = true; // send 'start_pointing' message to the channel here\n});\ndocument.querySelectorAll('.next-card').forEach(function (elem) {\n elem.addEventListener('click', function (event) {// send 'finalized_points' message to the channel here\n });\n});\ndocument.querySelector('.calculate-points').addEventListener('click', function (event) {\n var storyPoints = document.querySelector('.story-points'); // send 'user_estimated' to the channel here\n}); // call the relevant function defined below when you receive the following events from the channel:\n// 'next_card'\n// 'winner'\n// 'tie'\n\nvar showCard = function showCard(state) {\n document.querySelector('.start-button').style.display = \"none\";\n document.querySelector('.winner').style.display = \"none\";\n document.querySelector('.tie').style.display = \"none\";\n document.querySelector('.calculate-points').style.display = \"inline-block\";\n document.querySelector('.ticket').style.display = \"block\";\n document.querySelector('.ticket-title').innerHTML = state.card.title;\n document.querySelector('.ticket-description').innerHTML = state.card.description;\n};\n\nvar showWinner = function showWinner(state) {\n document.querySelector('.winner').style.display = \"block\";\n document.querySelector('.calculate-points').style.display = \"none\";\n document.querySelector('.final-points').innerHTML = \"Winner: \" + state.points + \" Points\";\n document.querySelector('.next-card').value = state.points;\n document.querySelector('.next-card').disabled = !driving;\n};\n\nvar showTie = function showTie(state) {\n document.querySelector('.tie').style.display = \"block\";\n document.querySelector('.calculate-points').style.display = \"none\";\n document.querySelector('.tie').getElementsByClassName('next-card')[0].value = state.points[0];\n document.querySelector('.tie').getElementsByClassName('next-card')[0].innerHTML = state.points[0] + \" Points\";\n document.querySelector('.tie').getElementsByClassName('next-card')[0].disabled = !driving;\n document.querySelector('.tie').getElementsByClassName('next-card')[1].value = state.points[1];\n document.querySelector('.tie').getElementsByClassName('next-card')[1].innerHTML = state.points[1] + \" Points\";\n document.querySelector('.tie').getElementsByClassName('next-card')[1].disabled = !driving;\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (socket);\n\n//# sourceURL=webpack:///./js/socket.js?"); +======= +<<<<<<< HEAD +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var phoenix__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! phoenix */ \"../deps/phoenix/priv/static/phoenix.js\");\n/* harmony import */ var phoenix__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(phoenix__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _users__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./users */ \"./js/users.js\");\n\n\nvar socket = new phoenix__WEBPACK_IMPORTED_MODULE_0__[\"Socket\"]('/socket', {\n params: {\n username: window.pointingParty.username\n }\n});\nsocket.connect();\nvar driving = false; // connect to Presence here\n// set up your syncDiff function using updateUsers as a callback\n\nvar startButton = document.querySelector('.start-button');\nstartButton.addEventListener('click', function (e) {\n driving = true; // send 'start_pointing' message to the channel here\n});\nvar nextCardButtons = document.getElementsByClassName('next-card');\n\nfor (var i = 0; i < nextCardButtons.length; i++) {\n nextCardButtons[i].addEventListener('click', function (e) {// send 'finalized_points' message to the channel here\n });\n}\n\ndocument.querySelector('.calculate-points').addEventListener('click', function (event) {\n var storyPoints = document.querySelector('.story-points'); // send 'user_estimated' to the channel here\n}); // call the relevant function defined below when you receive the following events from the channel:\n// 'next_card'\n// 'winner'\n// 'tie'\n\nfunction showCard(state) {\n document.querySelector('.start-button').style.display = \"none\";\n document.querySelector('.winner').style.display = \"none\";\n document.querySelector('.tie').style.display = \"none\";\n document.querySelector('.calculate-points').style.display = \"inline-block\";\n document.querySelector('.ticket').style.display = \"block\";\n document.querySelector('.ticket-title').innerHTML = state.card.title;\n document.querySelector('.ticket-description').innerHTML = state.card.description;\n}\n\nfunction showWinner(state) {\n document.querySelector('.winner').style.display = \"block\";\n document.querySelector('.calculate-points').style.display = \"none\";\n document.querySelector('.final-points').innerHTML = \"Winner: \" + state.points + \" Points\";\n document.querySelector('.next-card').value = state.points;\n document.querySelector('.next-card').disabled = !driving;\n}\n\nfunction showTie(state) {\n document.querySelector('.tie').style.display = \"block\";\n document.querySelector('.calculate-points').style.display = \"none\";\n document.querySelector('.tie').getElementsByClassName('next-card')[0].value = state.points[0];\n document.querySelector('.tie').getElementsByClassName('next-card')[0].innerHTML = state.points[0] + \" Points\";\n document.querySelector('.tie').getElementsByClassName('next-card')[0].disabled = !driving;\n document.querySelector('.tie').getElementsByClassName('next-card')[1].value = state.points[1];\n document.querySelector('.tie').getElementsByClassName('next-card')[1].innerHTML = state.points[1] + \" Points\";\n document.querySelector('.tie').getElementsByClassName('next-card')[1].disabled = !driving;\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (socket);\n\n//# sourceURL=webpack:///./js/socket.js?"); +======= +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var phoenix__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! phoenix */ \"../deps/phoenix/priv/static/phoenix.js\");\n/* harmony import */ var phoenix__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(phoenix__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _users__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./users */ \"./js/users.js\");\n\n\nvar socket = new phoenix__WEBPACK_IMPORTED_MODULE_0__[\"Socket\"]('/socket', {\n params: {\n username: window.pointingParty.username\n }\n});\nsocket.connect();\nvar channel = socket.channel('room:lobby', {});\nvar presence = new phoenix__WEBPACK_IMPORTED_MODULE_0__[\"Presence\"](channel);\npresence.onSync(function () {\n return Object(_users__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(presence);\n});\nvar driving = false;\n\nif (window.pointingParty.username) {\n channel.join().receive('ok', function (resp) {\n console.log('Joined successfully', resp);\n }).receive('error', function (resp) {\n console.log('Unable to join', resp);\n });\n}\n\nvar renderTemplate = function renderTemplate(parent, template) {\n while (parent.firstChild) {\n parent.removeChild(parent.firstChild);\n }\n\n var fragment = document.createRange().createContextualFragment(template);\n parent.appendChild(fragment);\n}; // const startButton = document.querySelector('.start-button')\n// startButton.addEventListener('click', e => {\n// driving = true;\n// channel.push('start_pointing', {})\n// })\n\n\nvar cardContainer = document.querySelector('.card-container');\nchannel.on('new_card', function (state) {\n var template = '
' + '
' + '

' + state.card.title + '

' + '
' + '
' + '

' + state.card.description + '

' + '
' + '
' + '
' + ' ' + ' ' + '
' + '
' + ' Vote!' + '
' + '
' + '
';\n renderTemplate(cardContainer, template);\n document.querySelector('.calculate-points').addEventListener('click', function (event) {\n var storyPoints = document.querySelector('.story-points');\n channel.push('user_estimated', {\n points: storyPoints.value\n });\n });\n});\n\nvar renderVotingResults = function renderVotingResults(template) {\n var pointContainer = document.querySelector('.points-container');\n renderTemplate(pointContainer, template);\n document.querySelector('.next-card').addEventListener('click', function (e) {\n channel.push('finalized_points', {\n points: e.target.value\n });\n });\n};\n\nchannel.on('winner', function (state) {\n var template = '

' + state.points + ' Points

' + '