PageSourceSearch

https://www.ilmarinen.fi/dist/js/legacy-faq.js

js ilmarinen.fi collected 2026-10-02 03:58:06 UTC 2,808 bytes, 1 lines download raw bytes

1(self.webpackChunkilmarinen_fi=self.webpackChunkilmarinen_fi||[]).push([[609],{3579:function(e,t,c){"use strict";var o=c(6518),n=c(9565),r=c(2652),a=c(9306),s=c(8551),u=c(1767),i=c(9539),l=c(4549)("some",TypeError);o({target:"Iterator",proto:!0,real:!0,forced:l},{some:function(e){s(this);try{a(e)}catch(e){i(this,"throw",e)}if(l)return n(l,this,e);var t=u(this),c=0;return r(t,function(t,o){if(e(t,c++))return o()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},5097:function(e,t,c){c(8992),c(3949),c(7550),document.querySelectorAll(".faq-container__subject-select").forEach(function(e,t){const c=e.dataset.subject;e.addEventListener("click",function(t){t.preventDefault(),o(e),s(c)});let n=c.toLowerCase().replace(/æ/gi,"e").replace(/ø/gi,"o").replace(/å/gi,"a").replace(/ä/gi,"a").replace(/ö/gi,"o").replace(/Ø/gi,"o").replace(/ /gi,"-");const r=decodeURIComponent(window.location.hash);(r&&r.length>1&&r.substring(1).trim().toLowerCase()===c.toLowerCase()||r&&r.length>1&&r.substring(1).trim().toLowerCase()===n||0===t)&&(o(e),s(c))});for(const e of document.querySelectorAll(".faq-container__categories-for-subject__categoryselect"))e.addEventListener("change",function(e){const t=e.target.dataset.subject,c=n(t,a(t));r(e.target.dataset.subject,c)});function o(e){for(const e of document.querySelectorAll(".faq-container__subject-select"))e.classList.remove("faq-container__subject-select--selected"),e.removeAttribute("aria-current");e.classList.add("faq-container__subject-select--selected"),e.setAttribute("aria-current","page")}function n(e,t){let c=0;for(const o of document.querySelector('.faq-container__subject-content[data-subject="'+e+'"]').querySelectorAll(".faq-question")){const e=o.dataset.categories.split("|");t.length>0&&!e.some(e=>t.includes(e))?o.style.display="none":(o.style.display="block",c++)}return c}function r(e,t){document.querySelector('.faq-container__subject-content[data-subject="'+e+'"]').querySelector(".faq-container__subject-content__counter").innerHTML=t}function a(e){const t=[];for(const c of document.querySelectorAll('.faq-container__categories-for-subject__categoryselect[data-subject="'+e+'"]'))c.checked&&t.push(c.value);return t}function s(e){document.querySelectorAll(".faq-container__subject-content").forEach(function(e){e.style.display="none"}),document.querySelectorAll(".faq-container__categories-for-subject").forEach(function(e){e.style.display="none"}),document.querySelectorAll('[data-subject="'+e+'"]').forEach(function(e){e.style.display="block"}),document.querySelectorAll('.faq-container__categories-for-subject[data-subject="'+e+'"]').forEach(function(e){e.style.display="block",e.querySelectorAll(".faq-container__categories-for-subject__categoryselect").forEach(function(e){e.checked=!1})})}},7550:function(e,t,c){"use strict";c(3579)}}]);

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.