{"size": 1835, "ext": "js", "max_stars_repo_path": "communicator/extension/webcam/elements/js/wb-cam-app.63d34b8d-49.js", "max_stars_repo_name": "Traderlynk/Etherlynk", "max_stars_repo_stars_event_min_datetime": "2018-02-04T19:05:49.000Z", "max_stars_repo_stars_event_max_datetime": "2018-10-09T14:45:42.000Z", "max_issues_repo_path": "communicator/extension/webcam/elements/js/wb-cam-app.63d34b8d-49.js", "max_issues_repo_name": "Traderlynk/Etherlynk", "max_issues_repo_issues_event_min_datetime": "2017-07-13T08:04:08.000Z", "max_issues_repo_issues_event_max_datetime": "2017-11-11T17:25:46.000Z", "max_forks_repo_path": "communicator/extension/webcam/elements/js/wb-cam-app.63d34b8d-49.js", "max_forks_repo_name": "Traderlynk/Etherlynk", "max_forks_repo_forks_event_min_datetime": "2018-02-04T19:05:53.000Z", "max_forks_repo_forks_event_max_datetime": "2020-11-06T11:23:28.000Z"}
{"max_stars_count": 3, "max_issues_count": 1, "max_forks_count": 3, "avg_line_length": 32.1929824561, "max_line_length": 145, "alphanum_fraction": 0.3716621253}

define("elements/wb-grant-stream-help.js", [], function() {
    "use strict";

    function e(e, t) {
        if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
    }
    var t = function() {
            function e(e, t) {
                for (var n = 0; n < t.length; n++) {
                    var i = t[n];
                    i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
                }
            }
            return function(t, n, i) {
                return n && e(t.prototype, n), i && e(t, i), t
            }
        }(),
        n = function() {
            function n() {
                e(this, n)
            }
            return t(n, [{
                key: "beforeRegister",
                value: function() {
                    this.is = "wb-grant-stream-help"
                }
            }, {
                key: "ready",
                value: function() {
                    navigator.userAgent.includes("Chrome") ? this._videoId = "n9X-ereqeKU" : this._videoId = "OT99igvII58"
                }
            }, {
                key: "attached",
                value: function() {
                    this.listen(window, "wb-got-cam-stream", "_gotStream")
                }
            }, {
                key: "detached",
                value: function() {
                    this.listen(window, "wb-got-cam-stream", "_gotStream")
                }
            }, {
                key: "_gotStream",
                value: function() {
                    this.$.dialog.close()
                }
            }, {
                key: "show",
                value: function() {
                    this.$.dialog.open()
                }
            }]), n
        }();
    Polymer(n)
});
