(this.webpackJsonp=this.webpackJsonp||[]).push([[90],{512:function(e,t,n){"use strict";n.r(t);var a=n(337);document.addEventListener("DOMContentLoaded",a.a)},687:function(e,t,n){"use strict";n.r(t);var a=n(0),i=n.n(a),r=n(3),s=n.n(r),l=n(5),o=n(7),u=n(1),c=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=t.currentTabKey,a=void 0===n?"current_signin_tab":n,i=t.tabSelector,r=void 0===i?"ul.new-session-tabs":i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.currentTabKey=a,this.tabSelector=r,this.isLocalStorageAvailable=d.a.isLocalStorageAccessSafe(),window.location.hash&&this.saveData(window.location.hash),this.bootstrap()}return f(e,[{key:"bootstrap",value:function(){var e=this,t=document.querySelectorAll(this.tabSelector);t.length>0&&t[0].addEventListener("click",function(t){if(t.target&&"A"===t.target.nodeName){var n=t.target.getAttribute("href");e.saveData(n)}}),this.showTab()}},{key:"showTab",value:function(){var e=this.readData();if(e){var t=document.querySelector(this.tabSelector+' a[href="'+e+'"]');if(t)t.click();else{var n=document.querySelector(this.tabSelector+" a");n&&n.click()}}}},{key:"saveData",value:function(e){if(this.isLocalStorageAvailable)return window.localStorage.setItem(this.currentTabKey,e)}},{key:"readData",value:function(){return this.isLocalStorageAvailable?window.localStorage.getItem(this.currentTabKey):null}}]),e}(),b=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=t.container||"",this.loginLinkSelector=".oauth-login"}return b(e,[{key:"bindEvents",value:function(){i()("#remember_me",this.container).on("click",this.toggleRememberMe)}},{key:"toggleRememberMe",value:function(e){var t=i()(e.target).is(":checked");i()(".oauth-login",this.container).each(function(e,n){var a=i()(n).attr("href");t?i()(n).attr("href",a+"?remember_me=1"):i()(n).attr("href",a.replace("?remember_me=1",""))})}}]),e}();document.addEventListener("DOMContentLoaded",function(){new v,new m,new g({container:i()(".omniauth-container")}).bindEvents()})},719:function(e,t,n){n(31),n(512),e.exports=n(687)}},[[719,64,65,72]]]); //# sourceMappingURL=pages.sessions.new.6dbf9c97.chunk.js.map