PageSourceSearch

https://www.kawasaki.fi/etc.clientlibs/kaw/website/components/stru…-3bbbd8ae196364bc935ccc3eba75183e-lc.min.js

js kawasaki.fi collected 2026-10-02 20:09:05 UTC 7,616 bytes, 15 lines download raw bytes

1'use strict';!function(x){function u(d){for(var e=d[0],k=d[1],p=d[2],f,a,b=0,c=[];b<e.length;b++)a=e[b],r[a]&&c.push(r[a][0]),r[a]=0;for(f in k)Object.prototype.hasOwnProperty.call(k,f)&&(x[f]=k[f]);for(y&&y(d);c.length;)c.shift()();l.push.apply(l,p||[]);return m()}function m(){for(var d,e=0;e<l.length;e++){for(var k=l[e],p=!0,f=1;f<k.length;f++)0!==r[k[f]]&&(p=!1);p&&(l.splice(e--,1),d=h(h.s=k[0]))}return d}function h(d){if(t[d])return t[d].exports;var e=t[d]={i:d,l:!1,exports:{}};x[d].call(e.exports,
2e,e.exports,h);e.l=!0;return e.exports}var t={},r={34:0},l=[];h.m=x;h.c=t;h.d=function(d,e,k){h.o(d,e)||Object.defineProperty(d,e,{enumerable:!0,get:k})};h.r=function(d){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"});Object.defineProperty(d,"__esModule",{value:!0})};h.t=function(d,e){1&e&&(d=h(d));if(8&e||4&e&&"object"===typeof d&&d&&d.__esModule)return d;var k=Object.create(null);h.r(k);Object.defineProperty(k,"default",{enumerable:!0,
3value:d});if(2&e&&"string"!=typeof d)for(var p in d)h.d(k,p,function(f){return d[f]}.bind(null,p));return k};h.n=function(d){var e=d&&d.__esModule?function(){return d["default"]}:function(){return d};h.d(e,"a",e);return e};h.o=function(d,e){return Object.prototype.hasOwnProperty.call(d,e)};h.p="";var n=window.webpackJsonp=window.webpackJsonp||[],q=n.push.bind(n);n.push=u;n=n.slice();for(var v=0;v<n.length;v++)u(n[v]);var y=q;l.push([149,0]);m()}({149:function(x,u,m){function h(f){h="function"===typeof Symbol&&
4"symbol"===typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"===typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};return h(f)}function t(f,a){for(var b=0;b<a.length;b++){var c=a[b];c.enumerable=c.enumerable||!1;c.configurable=!0;"value"in c&&(c.writable=!0);Object.defineProperty(f,c.key,c)}}function r(f,a,b){r="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(c,g,w){for(var z=g;!Object.prototype.hasOwnProperty.call(c,z)&&
5null!==(c=l(c)););if(c)return g=Object.getOwnPropertyDescriptor(c,g),g.get?g.get.call(w):g.value};return r(f,a,b||f)}function l(f){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(a){return a.__proto__||Object.getPrototypeOf(a)})(f)}function n(f,a){return(n=Object.setPrototypeOf||function(b,c){b.__proto__=c;return b})(f,a)}m.r(u);var q=m(7),v=m(2),y=m(13),d=m(24),e=m(0),k=m(1),p={selectors:{link:".cmp-navigation__item-link",trigger:":scope \x3e .cmp-navigation__item-link",flyout:".cmp-navigation__flyout",
6languageMenuSelected:".toolbar .cmp-navigation__selectedLang",languageMenuTitle:".toolbar .cmp-navigation__selectedItemTitle"},classes:{selected:"cmp-navigation--selected",flyoutRight:"cmp-navigation__flyout--right",flyoutFull:"cmp-navigation__flyout--full",flyoutEscaped:"is-flyout-escaped"}};u=function(){function f(){var a;if(!(this instanceof f))throw new TypeError("Cannot call a class as a function");!0;for(var b=arguments.length,c=Array(b),g=0;g<b;g++)c[g]=arguments[g];b=(a=l(f)).call.apply(a,
7[this].concat(c,[p]));if(!b||"object"!==h(b)&&"function"!==typeof b){if(void 0===this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");a=this}else a=b;a.init();return a}!function(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function");a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,writable:!0,configurable:!0}});b&&n(a,b)}(f,k.a);!function(a,b,c){b&&t(a.prototype,b);c&&t(a,c)}(f,[{key:"init",
8value:function(){var a=this.el.querySelectorAll(this.config.selectors.link);this.items=[].slice.apply(a);this.updateFlyoutVerticalOffset=this.updateFlyoutVerticalOffset.bind(this);this.addEventListeners();this.updateSelectedLanguagMenu();this.updateFlyoutVerticalOffset()}},{key:"addEventListeners",value:function(){var a=this;this.el.addEventListener("click",Object(v.e)(this.config.selectors.link,function(b){a.selectItem(b.target)}));this.el.addEventListener("mouseenter",this.updateFlyoutVerticalOffset);
9window.addEventListener("resize",this.updateFlyoutVerticalOffset);this.subscribe(e.NAV_CLOSE,this.deselect);this.el.querySelectorAll(".cmp-navigation__item--level-0").forEach(function(b){var c=b.querySelector(a.config.selectors.flyout),g=b.querySelector(a.config.selectors.trigger);c&&g&&(b.addEventListener("mouseenter",function(){return a.openFl
9yout(g,c)}),b.addEventListener("mouseleave",function(){return a.closeFlyout(g,c)}),b.addEventListener("focusin",function(){return a.handleFlyoutFocusIn(b,
10g,c)}),b.addEventListener("focusout",function(w){return a.handleFlyoutFocusOut(b,g,c,w)}),b.addEventListener("keydown",function(w){return a.handleFlyoutKeydown(b,g,c,w)}))})}},{key:"updateFlyoutVerticalOffset",value:function(){var a=this.el.getBoundingClientRect().bottom;this.el.style.setProperty("--meganav-flyout-top","".concat(Math.round(a),"px"));this.el.querySelectorAll(".cmp-navigation__flyout--full .cmp-navigation__item").forEach(function(b){b.style.display=""})}},{key:"updateFlyoutHorizontalPosition",
11value:function(a){var b=this.config.classes.flyoutRight;a.classList.remove(b);var c=a.getBoundingClientRect().right>Object(y.a)();a.classList.toggle(b,c)}},{key:"openFlyout",value:function(a,b){var c=this;this.setFlyoutExpanded(a,b,!0);b.classList.contains(this.config.classes.flyoutFull)?(setTimeout(function(){return c.truncateFlyoutColumns(b)},0),this.lockBackgroundScroll(b)):this.updateFlyoutHorizontalPosition(b)}},{key:"closeFlyout",value:function(a,b){this.setFlyoutExpanded(a,b,!1);b.classList.contains(this.config.classes.flyoutFull)&&
12this.unlockBackgroundScroll()}},{key:"handleFlyoutFocusIn",value:function(a,b,c){a.classList.contains(this.config.classes.flyoutEscaped)||this.openFlyout(b,c)}},{key:"handleFlyoutFocusOut",value:function(a,b,c,g){a.contains(g.relatedTarget)||(a.classList.remove(this.config.classes.flyoutEscaped),this.closeFlyout(b,c))}},{key:"handleFlyoutKeydown",value:function(a,b,c,g){"Escape"===g.key&&(a.classList.add(this.config.classes.flyoutEscaped),this.closeFlyout(b,c),b.focus())}},{key:"setFlyoutExpanded",
13value:function(a,b,c){a.setAttribute(q.a,c?"true":"false");c?b.removeAttribute(q.b):b.setAttribute(q.b,"true")}},{key:"lockBackgroundScroll",value:function(a){document.documentElement.classList.add("no-scroll");Object(d.b)([a.closest("body \x3e *")])}},{key:"unlockBackgroundScroll",value:function(){document.documentElement.classList.remove("no-scroll");Object(d.a)()}},{key:"truncateFlyoutColumns",value:function(a){a.querySelectorAll(".cmp-navigation__flyout-column--text").forEach(function(b){var c=
14b.getBoundingClientRect().bottom;b.querySelectorAll(".cmp-navigation__item").forEach(function(g){g.style.display=g.getBoundingClientRect().bottom>c?"none":""})})}},{key:"destroy",value:function(){window.removeEventListener("resize",this.updateFlyoutVerticalOffset);this.unlockBackgroundScroll();r(l(f.prototype),"destroy",this).call(this)}},{key:"selectItem",value:function(a){this.items.forEach(function(b){"true"===b.getAttribute(q.a)&&b.setAttribute(q.a,"false")});a.setAttribute(q.a,"true");this.el.classList.add(this.config.classes.selected)}},
15{key:"updateSelectedLanguagMenu",value:function(){var a=document.querySelector(this.config.selectors.languageMenuSelected),b=document.querySelector(this.config.selectors.languageMenuTitle);a&&b&&(b.textContent=a.textContent)}},{key:"deselect",value:function(){this.items.forEach(function(a){a.setAttribute(q.a,"false")});this.el.classList.remove(this.config.classes.selected)}}]);return f}();m(3).a.queue({Navigation:u})}});

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.