(function(){varbind=function(fn,me){returnfunction(){returnfn.apply(me,arguments);};};this.U2FError=(function(){functionU2FError(errorCode){this.errorCode=errorCode;this.message=bind(this.message,this);this.httpsDisabled=window.location.protocol!=='https:';}U2FError.prototype.message=function(){switch(false){case!(this.errorCode===u2f.ErrorCodes.BAD_REQUEST&&this.httpsDisabled):return"U2F only works with HTTPS-enabled websites. Contact your administrator for more details.";casethis.errorCode!==u2f.ErrorCodes.DEVICE_INELIGIBLE:return"This device has already been registered with us.";default:return"There was a problem communicating with your device.";}};returnU2FError;})();}).call(this);