PageSourceSearch

https://www.heinola.fi/wp-content/themes/heinola2024/build/js/screen.js?ver=73cf42bf041e190d238dc461ba8e484a

js heinola.fi collected 2026-10-02 10:02:54 UTC 22,867 bytes, 37 lines download raw bytes

1(()=>{var e={818:e=>{var t=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],n=t.join(","),i="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function r(e,t){t=t||{};var r,o,a,c=[],u=[],h=e.querySelectorAll(n);for(t.includeContainer&&i.call(e,n)&&(h=Array.prototype.slice.apply(h)).unshift(e),r=0;r<h.length;r++)s(o=h[r])&&(0===(a=l(o))?c.push(o):u.push({documentOrder:r,tabIndex:a,node:o}));return u.sort(d).map((function(e){return e.node})).concat(c)}function s(e){return!(!o(e)||function(e){return function(e){return c(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t=function(e){for(var t=0;t<e.length;t++)if(e[t].checked)return e[t]}(e.ownerDocument.querySelectorAll('input[type="radio"][name="'+e.name+'"]'));return!t||t===e}(e)}(e)||l(e)<0)}function o(e){return!(e.disabled||function(e){return c(e)&&"hidden"===e.type}(e)||function(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}(e))}r.isTabbable=function(e){if(!e)throw new Error("No node provided");return!1!==i.call(e,n)&&s(e)},r.isFocusable=function(e){if(!e)throw new Error("No node provided");return!1!==i.call(e,a)&&o(e)};var a=t.concat("iframe").join(",");function l(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:t}function d(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function c(e){return"INPUT"===e.tagName}e.exports=r}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var s=t[i]={exports:{}};return e[i](s,s.exports,n),s.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=n(818),t=n.n(e),i=function(){function n(e){var t,n=this;this.state={active:!1,currentContainerIndex:null,shifKeyDown:!1,usingMouse:!1},this.handlers={mouseDown:function(e){e.target instanceof HTMLElement&&(n.isValidFocus(e.target)||(n.state.usingMouse=!0,n.options.outsideClickDisables&&n.disable()))},mouseUp:function(){n.state.usingMouse=!1},keyDown:function(e){n.options.escDisables&&27===e.keyCode&&n.disable(),e.shiftKey&&(n.state.shifKeyDown=!0)},keyUp:function(e){e.shiftKey&&(n.state.shifKeyDown=!1)},focusIn:function(e){if(e.target instanceof HTMLElement){var t=n.lastFocusedElement;if(document.activeElement instanceof HTMLElement&&(n.lastFocusedElement=document.activeElement),n.updateContainerIndex(e.target),!n.isValidFocus(e.target)){if(n.state.usingMouse&&t)return n.lastFocusedElement=t,void n.setElementFocus(t);e.stopImmediatePropagation(),n.fixFocus()}}}},this.options=e,0===(t=e.containers instanceof NodeList?Array.from(e.containers):e.containers instanceof HTMLElement?[e.containers]:e.containers?e.containers:[]).length&&console.warn("No elements passed to FocusTrap"),this.containers=t}var i=n.prototype;return i.isEnabled=function(){return this.state.active},i.enable=function(){if(this.options.onBeforeEnable&&this.options.onBeforeEnable(this),document.activeElement instanceof HTMLElement&&(this.elementBeforeTrap=document.activeElement||void 0),n.current){var e=n.current;n.current.disable({ignoreParent:!0}),this.parent=e}n.current=this,document.addEventListener("keydown",this.handlers.keyDown,!1),document.addEventListener("keyup",this.handlers.keyUp,!1),document.addEventListener("focusin",this.handlers.focusIn,!1),document.addEventListener("mousedown",this.handlers.mouseDown,!1),document.addEventListener("mouseup",this.handlers.mouseUp,!1),this.state.active=!0,this.lastFocusedElement?this.setElementFocus(this.lastFocusedElement):document.activeElement instanceof HTMLElement&&this.isValidFocus(document.activeElement)?this.updateContainerIndex(document.activeElement):this.fixFocus(),this.options.onAfterEnable&&this.options.onAfterEnable(this)},i.disable=function(e){this.isEnabled()&&(n.current===this?(this.options.onBeforeDisable&&this.options.onBeforeDisable(this),document.removeEventListener("keydown",this.handlers.keyDown,!1),document.removeEventListener("keyup",this.handlers.keyUp,!1),document.removeEventListener("focusin",this.handlers.focusIn,!1),this.state.active=!1,n.current=void 0,e&&e.ignoreParent||!this.parent?this.elementBeforeTrap&&(this.setElementFocus(this.elementBeforeTrap),this.options.onAfterDisable&&this.options.onAfterDisable(this)):(this.options.onAfterDisable&&this.options.onAfterDisable(this),this.parent.enable(),this.parent=void 0)):console.warn("Not currently active focus-trap, cannot disable"))},i.setElementFocus=function(e){e.focus(this.options.focusOptions)},i.fixFocus=function(e){if(void 0===e&&(e=0),e>this.containers.length)console.warn("Failed to find focusable containers");else{var t=this.state.shifKeyDown?-1:1,n=0;null==this.state.currentContainerIndex?this.state.currentContainerIndex=0:-1==(n=(this.state.currentContainerIndex+t)%this.containers.length)&&(n=this.containers.length-1);var i=this.containers[n];if(this.state.shifKeyDown){var r=this.getTabbables(i);r.length>0?this.setElementFocus(r[r.length-1]):(this.state.currentContainerIndex=n,this.fixFocus(e+1))}else{var s=this.getTabbables(i);s.length>0?this.setElementFocus(s[0]):(this.state.currentContainerIndex=n,this.fixFocus(e+1))}}},i.updateContainerIndex=function(e){var t=this.containers.findIndex((function(t){return t.contains(e)}));-1!==t&&(this.state.currentContainerIndex=t)},i.isValidFocus=function(e){var t=!1,n=this.containers,i=Array.isArray(n),r=0;for(n=i?n:n[Symbol.iterator]();;){var s;if(i){if(r>=n.length)break;s=n[r++]}else{if((r=n.next()).done)break;s=r.value}if(e===s||s.contains(e)){t=!0;break}}if(!t)return!1;
1var o=this.state.currentContainerIndex||0;return!!this.isValidTabbable(e,this.containers[o])},i.getTabbables=function(n){var i,r,s=this;if(!n)throw new Error("Cannot pass undefined to getTabbables");return(i=n,r=t()(i),0===r.length&&(0,e.isTabbable)(i)?[i]:r).filter((function(e){return s.isValidTabbable(e,n)}))},i.isValidTabbable=function(e,t){return!this.options.validateTabbable||this.options.validateTabbable(e,t,this)},n}();const r=()=>{const e=document.querySelectorAll('.header-primary-nav-wrapper:not(.open) [data-header-toggle="sub-menu"][aria-expanded="true"]');e&&e.length>0&&e.forEach((e=>{e.setAttribute("aria-expanded","false"),e.classList.remove("open");const t=e.parentElement.querySelector(".header-primary-nav-lvl.open");t&&t.classList.remove("open")}))};document.querySelectorAll('[data-sub-menu-toggle="true"]').forEach((e=>{const t=e.previousElementSibling;if(t&&"a"===t.tagName.toLowerCase()){const n=t.textContent.trim(),i=e.getAttribute("aria-label");e.setAttribute("aria-label",`${i} ${n}`)}})),document.querySelectorAll(".header-middle-nav-lvl-1__link").forEach((e=>{"anna palautetta"===e.innerText.toLowerCase()&&e.setAttribute("target","_blank")}));var s=class{constructor(e){this.o=new Map,this.a=e}on(e,t){let n=this.o.get(e)||new Set;return this.o.set(e,n),n.add(t),()=>{this.off(e,t)}}once(e,t){let n=this.on(e,(e=>{n(),t(e,this.a)}));return n}off(e,t){this.o.get(e)?.delete(t)}dispose(){this.o.clear()}emit(e,t){let n=this.o.get(e);if(typeof window<"u"){let n=new CustomEvent("findkituievent",{detail:{eventName:e,data:t,instance:this.a}});window.dispatchEvent(n)}if(n)for(let e of n)e(t,this.a)}},o=class e{constructor(t){this.r=new Set,this.u=!1,this.create=e=>{if(this.u)return()=>{};let t=e();return this.r.add(t),()=>{this.r.has(t)&&(this.r.delete(t),t())}},this.child=t=>{let n=new e((()=>{this.r.delete(n.dispose),t?.()}));return this.disposed?n.dispose():this.create((()=>n.dispose)),n},this.dispose=()=>{this.u=!0;let e=Array.from(this.r);this.r.clear(),e.forEach((e=>e())),this.d?.()},this.d=t}get disposed(){return this.u}get size(){return this.r.size}};function a(e,t,n,i){return e.addEventListener(t,n,i),()=>{e.removeEventListener(t,n)}}var l=globalThis.document,d=e=>{throw new Error(`[findkit] Not loaded. Cannot use ${e}`)},c=(...e)=>{console.error("[findkit]",...e)};function u(e){let t="https://cdn.findkit.com/ui/v1.5.0";return e.endsWith(".js")?`${t}/esm/${e}`:`${t}/${e}`}function h(e,...t){let n="";return e.forEach(((e,i)=>{n+=e+(t[i]||"")})),n}function p(e,t,n){let i=e=>{let i=(Array.isArray(e)||e instanceof NodeList?Array.from(e):[e]).filter((e=>e instanceof t));0===i.length?c("select(): No elements found with",e):n(i[0],...i.slice(1))};"string"==typeof e?function(e){"loading"!==l.readyState?e():a(l,"DOMContentLoaded",(()=>{e()}),{once:!0})}((()=>{i(l.querySelectorAll(e))})):i(e)}var m={css:h};function f(e){return(...t)=>{let n=m[e];return n||d(e),n(...t)}}var g={};function y(e){let t={};return new Proxy(e,{get:(e,n)=>(t[n]||(t[n]=(...t)=>{let i=e?.[n];return i||d(String(n)),i.apply(e,t)}),t[n])})}f("html"),f("h"),f("useCustomRouterData");var v=y(g);async function w(e){let t="string"==typeof e?e:e.href;if(!t)return;let n=l.createElement("link");n.rel="preload",n.as="style",n.href=t;let i=new Promise((e=>{setTimeout(e,2e3),a(n,"load",e,{once:!0}),a(n,"error",(()=>{c(`Failed to load stylesheet ${t}`),e({})}),{once:!0})}));l.head.appendChild(n),await i,n.remove()}f("useTerms"),f("useTotal"),f("useResults"),f("useParams"),f("useGroups"),f("useTotalHitCount"),f("useLoading"),f("useInput"),f("useLang"),f("useTranslate");var b=class{constructor(e){this.c=!1,this.i=new o,this.t=function(){let e,t=new s("lazyValue");return Object.assign((n=>{void 0!==e?n(e):t.once("value",(t=>{e=t.value,n(e)}))}),{get:()=>e,provide:n=>{if(void 0!==e)throw new Error("Value already provided");e=n,t.emit("value",{value:n})}})}(),this.loaded=!1,this.close=this.s("close"),this.setLang=this.s("setLang"),this.addTranslation=this.s("addTranslation"),this.updateGroups=this.s("updateGroups"),this.setCustomRouterData=this.s("setCustomRouterData"),this.updateParams=this.s("updateParams"),this.activateGroup=this.s("activateGroup"),this.clearGroup=this.s("clearGroup"),this.preload=async()=>{await this.l(),await new Promise((e=>{this.t(e)}))},this.f=e=>{e.target instanceof HTMLAnchorElement&&(e.ctrlKey||e.shiftKey||e.metaKey||2===e.which)||(e.preventDefault(),this.toggle())};let t=e.instanceId??"fdk";this.e=e,this.n=new s(this);let n={instanceId:t,utils:y(m),preact:v,options:{...e,instanceId:t}};this.n.emit("init",n),this.e=n.options,this.emitLoadingEvents(),(this.m()||!1===e.modal||"boolean"!=typeof e.modal&&e.container)&&this.open()}emitLoadingEvents(){let e,t=this.n,n=0,i=!1,r=()=>{n++,!e&&(e=setTimeout((()=>{e=void 0,i||(i=!0,t.emit("loading",{}),this.t((e=>{e.state.loading=i})))}),this.e.loadingThrottle??1e3))},s=()=>{setTimeout((()=>{n--,!(n>0)&&(clearTimeout(e),e=void 0,i&&(i=!1,t.emit("loading-done",{}),this.t((e=>{e.state.loading=i}))))}),10)};t.on("fetch",r),t.on("fetch-done",s),t.once("request-open",(e=>{e.preloaded||(r(),t.once("loaded",s))}
1))}get customRouterData(){let e=this.t.get();return e||d(".customRouterData — See https://findk.it/customRouterData"),e?.getCustomRouterData()??this.e.defaultCustomRouterData}get groups(){return this.t.get()?.getGroups()??this.e.groups??[]}get params(){return this.t.get()?.getParams()??this.e.params??{tagQuery:[]}}on(e,t){return this.n.on(e,t)}once(e,t){return this.n.once(e,t)}get usedTerms(){return this.t.get()?.state.usedTerms??""}get terms(){return this.usedTerms}get nextTerms(){return this.t.get()?.getNextTerms()??""}get status(){return this.t.get()?.state.status??"waiting"}dispose(){this.close(),this.i.dispose()}s(e){return(...t)=>{this.t((n=>{n[e](...t)}))}}get id(){return this.e.instanceId??"fdk"}get separator(){return this.e.separator??"_"}get searchKey(){return this.e.searchKey??this.id+this.separator+"q"}m(){if(typeof window>"u")return!1;let e=location.search;return"hash"===this.e.router&&(e=location.hash.slice(1)),new URLSearchParams(e).has(this.searchKey)}p(){let e=[];return!this.e.load&&!1!==this.e.builtinStyles&&e.push({href:u("styles.css"),layer:"findkit.core"}),this.e.styleSheet&&e.push({href:this.e.styleSheet,layer:"findkit.user"}),e}open(e,t){this.n.emit("request-open",{preloaded:!!this.t.get()}),this.l(),this.t((n=>{n.open(e,t)}))}toggle(){this.open(void 0,{toggle:!0})}search(e){this.open(e)}async h(){let e,t=Promise.all(this.p().map(w));return e=this.e.load?this.e.load():async function(e,t){let n=window,i=`${e}_promise`;if(n[i])return n[i];let r=new Promise(((n,i)=>{let r=l.createElement("script");r.type="module";let s=setTimeout((()=>{i(new Error(`[findkit] Timeout loading script ${t} with ${e}`))}),1e4);Object.assign(window,{[e](t){delete window[e],clearTimeout(s),r.remove(),n(t)}}),r.src=t,l.head.appendChild(r)}));return n[i]=r,r}("FINDKIT_LOADED_1.5.0",u("implementation.js")).then((e=>({js:e}))),await t,await e}async l(){if(this.c||this.t.get())return;let e=function(e){if(e.searchEndpoint)return e.searchEndpoint;if(e.publicToken)return function(e){let t="c",n="search",i=e.split(":",2)[1];i&&"eu-north-1"!==i&&(n=`search-${i}`);try{let e=new URLSearchParams(location.hash.slice(1));t=e.get("__findkit_version")||t,n=e.get("__findkit_subdomain")||n}catch{}return`https://${n}.findkit.com/${t}/${e}/search?p=${e}`}(e.publicToken);throw new Error("[findkit] publicToken or searchEndpoint is required")}(this.e)+"&warmup";fetch(e,{method:"POST",headers:{"Content-Type":"text/plain"},body:"{}"}).catch((()=>{})),this.c=!0;let t=await this.h();Object.assign(m,t.js),Object.assign(g,t.js.preact);let{styleSheet:n,load:i,css:r,...s}=this.e,o=this.p();t.css&&o.push({css:t.css,layer:"findkit.core"}),r&&o.push({css:r,layer:"findkit.user"});let a=e=>{this.i.create((()=>{let{engine:n,host:i}=t.js._init({...s,container:e,layeredCSS:o,instanceId:this.id,events:this.n,searchEndpoint:this.e.searchEndpoint});return this.c=!0,this.container=i,this.loaded=!0,this.t.provide(n),this.n.emit("loaded",{container:i}),n.start(),n.dispose}))};this.e.container?p(this.e.container,Element,a):a()}openFrom(e){let t=this.i.child();return p(e,HTMLElement,((...e)=>{for(let n of e)t.create((()=>a(n,"click",this.f))),t.create((()=>a(n,"keydown",(e=>{e.target instanceof HTMLElement&&"Enter"===e.key&&"button"===e.target.role&&(e.preventDefault(),this.toggle())})))),t.create((()=>a(n,"mouseover",this.preload,{once:!0,passive:!0})));e.some((e=>e.dataset.clicked))&&this.open()})),t.dispose}bindInput(e){let t=this.i.child();return p(e,HTMLInputElement,((...e)=>{for(let n of e)t.create((()=>a(n,"focus",this.preload))),this.t((e=>{t.create((()=>e.bindInput(n)))}))})),t.dispose}};document.addEventListener("keydown",(e=>{"Esc"!==e.key&&"Escape"!==e.key||r()})),(()=>{const e=1350,t=document.querySelector(".header__middle > .header-language-selector"),n=document.querySelector(".header__middle > .header-middle-nav-wrapper"),i=document.querySelector(".header__middle > .header-middle-nav-right-wrapper");window.innerWidth<e&&(t.remove(),document.querySelector(".header__middle .header-site-branding").after(t),i.remove(),document.querySelector(".header__middle").appendChild(i),document.querySelector("#header-primary-nav").after(n));const r=()=>{const t=document.querySelector(".header__middle > .header-language-selector"),n=document.querySelector(".header__middle .header-language-selector"),i=document.querySelector(".header__middle > .header-middle-nav-wrapper"),r=document.querySelector(".header-primary-nav-container > .header-middle-nav-wrapper"),s=document.querySelector(".header__middle > .header-middle-nav-right-wrapper"),o=document.querySelector(".header-primary-nav-container > .header-middle-nav-right-wrapper");window.innerWidth>=e&&!s&&o&&(o.remove(),document.querySelector(".header__middle .header-search-form").after(o)),window.innerWidth<e&&s&&!o&&(s.remove(),document.querySelector(".header__middle").appendChild(s)),window.innerWidth>=e&&!i&&r&&(r.remove(),document.querySelector(".header__middle .header-search-form").after(r)),window.innerWidth<e&&i&&!r&&(i.remove(),document.querySelector("#header-primary-nav").after(i)),window.innerWidth>=e&&!t&&n&&(n.remove(),document.querySelector(".header__middle .header-site-branding").after(n)),window.innerWidth<e&&t&&!n&&(t.remove(),document.querySelector(".header__middle .header-site-branding").after(t))};let s;window.addEventListener("resize",(function(){clearTimeout(s),s=setTimeout(r,25)}))})(),(()=>{const e=document.querySelector('.header[role="banner"]'),t=new i({containers:e}),n=document.querySelector(".header-primary-nav-wrapper"),r=document.querySelector('[data-header-toggle="primary-nav"]'),s=r.getAttribute("data-open-text"),o=r.getAttribute("data-close-text");r.addEventListener("click",(()=>{r.classList.toggle("is-active"),r.getAttribute("aria-label")===o?r.setAttribute("aria-label",s):r.setAttribute("aria-label",o),n.classList.toggle("open"),document.body.classList.toggle("primary-nav-open"),n.classList.contains("open")?t.enable():t.disable()}))})(),document.querySelectorAll('[data-header-toggle="sub-menu"]').forEach((e=>{e.addEventListener("click",(e=>{const t=e.currentTarget;"false"===t.getAttribute("aria-expanded")&&r(),t.classList.toggle("open");const n=t.parentElement.querySelector(".header-primary-nav-lvl");n&&n.classList.toggle("open"),t.setAttribute("aria-expanded","true"===t.getAttribute("aria-expanded")?"false":"true")}))})),document.addEventListener("click",(e=>{const t=document.querySelectorAll(".header-primary-nav-lvl.open"),n=document.querySelectorAll(".header-primary-nav-lvl-1__sub-menu
1-toggle.open");t.forEach(((t,i)=>{const r=n[i],s=t.contains(e.target),o=r&&r.contains(e.target),a=r&&r.previousElementSibling&&r.previousElementSibling.contains(e.target);s||o||a||(t.classList.remove("open"),r&&(r.classList.remove("open"),r.setAttribute("aria-expanded","false")))}));const r=document.querySelector(".header-primary-nav-wrapper"),s=document.querySelector('[data-header-toggle="primary-nav"]');if(r&&s){const o=r.contains(e.target),a=s.contains(e.target);if(!o&&!a&&r.classList.contains("open")){s.classList.remove("is-active"),r.classList.remove("open"),document.body.classList.remove("primary-nav-open");const e=document.querySelector('.header[role="banner"]');e&&new i({containers:e}).disable(),t.forEach((e=>{e.classList.remove("open")})),n.forEach((e=>{e.classList.remove("open"),e.setAttribute("aria-expanded","false")}))}}})),(()=>{const e=(()=>{const e=document.getElementsByTagName("html")[0].lang.slice(0,2).toLowerCase();return"fi"!==e&&"sv"!==e&&"en"!==e?"fi":e})();let t=window.location.hostname;t&&t.includes("-fi.test")&&(t=t.replace("-fi.test",".fi"));const n=window.location.pathname.split("/")[1];["visit"].includes(n)&&(t=t+"/"+n);const i={pages:{fi:"Sivut",en:"Pages"},news:{fi:"Ajankohtaiset",en:"News"},blog:{fi:"Blogit",en:"Blogs"},contact:{fi:"Yhteystiedot",en:"Contacts"},event:{fi:"Tapahtumat",en:"Events"},show:{fi:"Produktiot",en:"Shows"},pdf:{fi:"Liitteet",en:"Attachments"},target_card:{fi:"Kohdekortit",en:"Target cards"}},r={"www.heinola.fi":{tagGroups:[{title:i.pages[e],filters:{tagQuery:[["wp_post_type/page"],["domain/heinola.fi"]]}},{title:i.news[e],filters:{tagQuery:[["wp_post_type/news"],["domain/heinola.fi"]]}},{title:i.blog[e],filters:{tagQuery:[["wp_post_type/blog"],["domain/heinola.fi"]]}},{title:i.event[e],filters:{tagQuery:[["wp_post_type/event"],["domain/heinola.fi"]]}},{title:i.contact[e],filters:{tagQuery:[["wp_post_type/contact"],["domain/heinola.fi"]]}},{scoreBoost:.001,title:i.pdf[e],filters:{tagQuery:[["pdf"],["domain/heinola.fi"]]}}],logo:"https://www.heinola.fi/wp-content/themes/heinola2024/resources/images/heinola-logo.svg"},"www.heinolankesateatteri.fi":{tagGroups:[{title:i.pages[e],filters:{tagQuery:[["wp_post_type/page"],["domain/heinolankesateatteri.fi"]]}},{title:i.news[e],filters:{tagQuery:[["wp_post_type/news"],["domain/heinolankesateatteri.fi"]]}},{title:i.show[e],filters:{tagQuery:[["wp_post_type/production"],["domain/heinolankesateatteri.fi"]]}},{scoreBoost:.001,title:i.pdf[e],filters:{tagQuery:[["pdf"],["domain/heinolankesateatteri.fi"]]}}],logo:"https://www.heinolankesateatteri.fi/wp-content/themes/kesateatteri/dist/images/heinola-logo.svg"},"www.visitheinola.fi":{tagGroups:[{title:i.pages[e],filters:{tagQuery:[["wp_post_type/page"],["domain/visitheinola.fi"]]}},{title:i.target_card[e],filters:{tagQuery:[["wp_post_type/target-card"],["domain/visitheinola.fi"]]}},{scoreBoost:.001,title:i.pdf[e],filters:{tagQuery:[["pdf"],["domain/visitheinola.fi"]]}}],logo:"https://www.visitheinola.fi/wp-content/themes/heinola/dist/images/visitheinola-vs-logo.svg"}};r[t]||(console.log("didn't find config for "+t+". Using default search for heinola"),t="www.heinola.fi");const s=new b({publicToken:"plQvqmEvn:eu-north-1",ui:{lang:e},groups:r[t].tagGroups,css:h`
2			.findkit--container {
3				--findkit--brand-color: var(--wp--preset--color--accent-10);
4			}
5
6			.findkit--hit {
7				padding: var(--wp--preset--spacing--20)
8					var(--wp--preset--spacing--20)
9					var(--wp--preset--spacing--30)
10					var(--wp--preset--spacing--20);
11			}
12
13			.findkit--search-input {
14				border-radius: 0;
15				border: 2px solid #666;
16			}
17
18			.findkit--hit-title,
19			.findkit--hit-title .findkit--hit-title-link {
20				font-family: var(--wp--preset--font-family--geologica);
21				color: var(--wp--preset--color--contrast);
22			}
23
24			.findkit--highlight,
25			.findkit--hit-title {
26				padding: var(--wp--preset--spacing--20);
27			}
28
29			.findkit--hightlight {
30				line-height: var(--wp--custom--typography--line-height--medium);
31			}
32
33			.findkit--highlight,
34			.findkit--hit-url {
35				font-size: var(--wp--preset--font-size--x-small);
36			}
37		`}),o=document.querySelector(".header-search-form__input");s.bindInput(o),s.openFrom("#valu-search-submit"),s.on("close",(()=>{o.value=""}))})(),(()=>{const e=document.querySelector(".some_link_share"),t=document.querySelector(".some_share_link_copied");if(e){const n=e.querySelector(".screen-reader-text");if(n.innerHTML="Kopioi sivun osoite leikepöydälle",!e||!t)return;t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.style.display="none",e.addEventListener("click",(async i=>{i.preventDefault();const r=e.querySelector("a"),s=r?r.href:"";try{await navigator.clipboard.writeText(s),t.style.display="block",n.innerHTML="Linkki kopioitu",setTimeout((()=>{t.style.display="none",n.innerHTML="Kopioi linkki"}),2e3)}catch(e){console.error("Failed to copy URL:",e);const i=document.createElement("textarea");i.value=s,i.style.position="fixed",document.body.appendChild(i),i.focus(),i.select();try{document.execCommand("copy"),t.style.display="block",n.innerHTML="Linkki kopioitu",setTimeout((()=>{t.style.display="none",n.innerHTML="Kopioi linkki"}),2e3)}catch(e){console.error("Fallback: Failed to copy URL:",e)}document.body.removeChild(i)}}))}})()})()})();

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.