!function(e){function t(t){for(var r,s,c=t[0],l=t[1],a=t[2],f=0,h=[];f<c.length;f++)s=c[f],Object.prototype.hasOwnProperty.call(o,s)&&o[s]&&h.push(o[s][0]),o[s]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);for(u&&u(t);h.length;)h.shift()();return i.push.apply(i,a||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,c=1;c<n.length;c++){var l=n[c];0!==o[l]&&(r=!1)}r&&(i.splice(t--,1),e=s(s.s=n[0]))}return e}var r={},o={30:0},i=[];function s(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,s),n.l=!0,n.exports}s.m=e,s.c=r,s.d=function(e,t,n){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)s.d(n,r,function(t){return e[t]}.bind(null,r));return n},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="";var c=window.webpackJsonp=window.webpackJsonp||[],l=c.push.bind(c);c.push=t,c=c.slice();for(var a=0;a<c.length;a++)t(c[a]);var u=l;i.push([180,0]),n()}({180:function(e,t,n){"use strict";n.r(t),n.d(t,"selectors",(function(){return s})),n.d(t,"clearUser",(function(){return c})),n.d(t,"watchUserField",(function(){return l}));var r=n(0),o=n.n(r);const i={selectors:{form:".css_login-form",user:"#loginID",location:"#loc",destination:"#lt_hidden"},init:function(){"undefined"!=typeof sessionStorage&&(this.clearUser(),this.watchUserField(),this.checkLocation())},clearUser:function(){return sessionStorage.removeItem("user")},watchUserField:function(){o()(this.selectors.user).on("change",this.saveUser).change()},saveUser:function(e){let t=o()(e.currentTarget).val();return sessionStorage.setItem("user",t)},checkLocation:function(){let e=o()(this.selectors.location),t=o()(this.selectors.destination);"lt_lt"===e.val()&&"false"===t.val()&&(window.location.href="https://www.ibank.lt/ib/site/login"),e.on("change",(function(){return"lt_lt"===this.value&&"false"===t.val()?location.href="https://www.ibank.lt/ib/site/login":(this.form.action.value="aChangeLocation",this.form.submit())}))}};o()(i.init.bind(i));const{selectors:s,clearUser:c,watchUserField:l}=i}});