PageSourceSearch

https://mano.if.lt/Content/GlobalNavigation.js?v=3366e7f1a1dde9ffa1d7f2a2fa9d28ab

js if.lt collected 2026-10-08 01:18:36 UTC 6,644 bytes, 1 lines download raw bytes

1!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=534)}({534:function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(Element.prototype.matches.call(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null});var n=[],i=function(e){var t,i="close-global-navigation-dropdown";"function"==typeof window.CustomEvent||this.CustomEvent.toString().indexOf("CustomEventConstructor")>-1?t=new CustomEvent(i,{detail:{exceptSelector:e}}):(t=document.createEvent("CustomEvent")).initCustomEvent(i,!0,!0,{exceptSelector:e});Array.prototype.slice.call(n).forEach((function(e){e.dispatchEvent(t)}))},r=document.querySelectorAll(".if.global-header");Array.prototype.slice.call(r).forEach((function(e){var t=".if.secondary .if.desktop-menu-list > li.is-parent > .if.desktop-menu-action",r=e.querySelectorAll(t),o=e.querySelector(".js-toggle-insurance-sub-categories"),a=e.querySelectorAll(".if.login"),c=e.querySelectorAll(".if.mypages"),s=e.querySelectorAll(".if.change-language"),p=e.querySelectorAll(".if.mobile-menu");r&&Array.prototype.push.apply(n,r),a&&Array.prototype.push.apply(n,a),c&&Array.prototype.push.apply(n,c),s&&Array.prototype.push.apply(n,s),p&&Array.prototype.push.apply(n,p);var u=function(e){if(e){var t=e.parentElement;if(t){var n=t.querySelector(".if.menu"),i=t.querySelector(".if.menu > ul.if");t.classList.remove("is-open"),e.setAttribute("aria-expanded",!1),n&&n.classList.remove("is-open"),i&&i.classList.remove("is-open")}}},d=function(e){if(e){var t=e.parentElement;t&&(t.classList.contains("is-open")?u(e):function(e){if(e){var t=e.parentElement;if(t){var n=t.querySelector(".if.menu"),i=t.querySelector(".if.menu > ul.if");t.classList.add("is-open"),e.setAttribute("aria-expanded",!0),n&&n.classList.add("is-open"),i&&i.classList.add("is-open")}}}(e))}},f=function(e){if(e){var t=e.parentElement;if(t){var n=t.querySelector(".tertiary");t.classList.remove("is-active"),e.setAttribute("aria-expanded",!1),n.classList.remove("is-open")}}},y=function(e){if(e){var t=e.parentElement;if(t){var n=t.querySelector(".if.menu"),i=t.querySelector(".if.menu > ul.if");t.classList.remove("is-active"),n&&n.classList.remove("is-open"),i&&i.classList.remove("is-open")}}};Array.prototype.slice.call(p).forEach((function(e){e.addEventListener("click",(function(t){d(e),i(".if.global-header .if.mobile-menu")})),e.addEventListener("close-global-navigation-dropdown",(function(t){t.detail&&t.detail.exceptSelector&&e.matches(t.detail.exceptSelector)||u(e)}),!1)})),Array.prototype.slice.call(s).forEach((function(e){e.addEventListener("click",(function(t){!function(e){if(e){var t=e.parentElement;t&&(t.classList.contains("is-active")?y(e):function(e){if(e){var t=e.parentElement;if(t){var n=t.querySelector(".if.menu"),i=t.querySelector(".if.menu > ul.if");t.classList.add("is-active"),n&&n.classList.add("is-open"),i&&i.classList.add("is-open")}}}(e))}}(e),i(".if.global-header .if.change-language")})),e.addEventListener("close-global-navigation-dropdown",(function(t){t.detail&&t.detail.exceptSelector&&e.matches(t.detail.exceptSelector)||y(e)}),!1)})),Array.prototype.slice.call(a).forEach((function(e){e.addEventListener("click",(function(t){d(e),i(".if.global-header .if.login")})),e.addEventListener("close-global-navigation-dropdown",(function(t){t.detail&&t.detail.exceptSelector&&e.matches(t.detail.exceptSelector)||u(e)}),!1)})),Array.prototype.slice.call(c).forEach((function(e){e.addEventListener("click",(function(t){d(e),i(".if.global-header .if.mypages")})),e.addEventListener("close-global-navigation-dropdown",(function(t){t.detail&&t.detail.exceptSelector&&e.matches(t.detail.exceptSelector)||u(e)}),!1)})),o&&o.addEventListener("click",(function(t){var n=e.querySelector(".if.crosslinks");if(n){var i=n.querySelectorAll(".if.menu");n.classList.contains("is-open")?(o.textContent=o.getAttribute("data-showall"),n.classList.remove("is-open")):(n.classList.add("is-open"),o.textContent=o.getAttribute("data-showless")),Array.prototype.slice.call(i).forEac
1h((function(e){e.classList.toggle("is-open")})),setTimeout((function(){l()}),200)}})),Array.prototype.slice.call(r).forEach((function(e){e.addEventListener("click",(function(n){!function(e){if(e){var t=e.parentElement;t&&(t.classList.contains("is-active")?f(e):function(e){if(e){var t=e.parentElement;if(t){var n=t.querySelector(".tertiary");t.classList.add("is-active"),e.setAttribute("aria-expanded",!0),n.classList.add("is-open")}}}(e))}}(e),i(".if.global-header "+t)})),e.addEventListener("close-global-navigation-dropdown",(function(t){t.detail&&t.detail.exceptSelector&&e.matches(t.detail.exceptSelector)||f(e)}),!1)}))}));var o,a=!1,l=function(){var e=document.querySelectorAll(".if.global-header .tertiary");Array.prototype.slice.call(e).forEach((function(e){e.style.width=document.body.clientWidth+"px"}))};window.addEventListener("resize",(function(){a||(l(),a=!0,setTimeout((function(){a=!1}),100)),clearTimeout(o),o=setTimeout(l,100)})),l();var c=document.querySelectorAll(".if.menu.accordion");Array.prototype.slice.call(c).forEach((function(e){var t=e.querySelectorAll("li.is-parent > a, li.is-parent > button");Array.prototype.slice.call(t).forEach((function(e){e.addEventListener("click",(function(t){if(t.preventDefault(),e.parentElement.classList.contains("is-active")){e.parentElement.classList.remove("is-active"),e.setAttribute("aria-expanded",!1);var n=e.parentElement.querySelectorAll("li.is-parent.is-active");Array.prototype.slice.call(n).forEach((function(e){e.classList.remove("is-active")}));var i=e.parentElement.querySelectorAll(".is-open");Array.prototype.slice.call(i).forEach((function(e){e.classList.remove("is-open")}))}else e.setAttribute("aria-expanded",!0),e.parentElement.classList.add("is-active"),e.parentElement.querySelector(".if.menu").classList.add("is-open"),e.parentElement.querySelector(".if.menu > ul").classList.add("is-open")}))}))})),document.addEventListener("click",(function(e){e.target.closest(".global-navigation-dropdown")||i()}),!1)}});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.