PageSourceSearch

https://www.lahitapiola.fi/184-f209188e18c1d83f683a.js

js lahitapiola.fi collected 2026-10-01 10:35:47 UTC 8,994 bytes, 2 lines download raw bytes

1/*! For license information please see 184-f209188e18c1d83f683a.js.LICENSE.txt */
2"use strict";(self.webpackChunkltfi=self.webpackChunkltfi||[]).push([[184],{184:function(e,t,i){i.r(t),i.d(t,{duet_collapsible:function(){return c}});var a=i(5763),n=i(4491),l=i(7040),o=i(5186),s=i(1622),d=i(2534),h=i(210);const c=class{constructor(e){(0,a.r)(this,e),this.duetToggle=(0,a.c)(this,"duetToggle",7),this.id=(0,s.c)("DuetCollapsible"),this.headingTags=["h1","h2","h3","h4","h5","h6"],this.theme="",this.negative=!1,this.heading="",this.caption="",this.headingFullWidth=!1,this.centerHeading=!1,this.headingWeight="semibold",this.headingSize=void 0,this.headingLevel=void 0,this.margin="auto",this.open=!1,this.handleKeyDown=e=>{(0,d.i)(e)&&this.handleClick(e)},this.getFontSizeFromTokens=(e=this.headingSize)=>{if(e){const t=/-/g,i=e.replace(t,"_");return l.t[`font_size_${i}`]}return l.f},this.getEquivalentIconSize=(e=this.headingSize)=>{switch(e){case"x-small":case"small":case"medium":default:return"xx-small";case"large":return"x-small";case"x-large":return"small";case"xx-large":return"medium";case"xxx-large":return"x-large";case"xxxx-large":return"xxx-large"}},this.getAccessibleLabel=()=>{if(this.accessibleLabel)return this.accessibleLabel;const e=[];return this.heading?e.push(this.heading):this.hasHeadingSlot&&e.push((0,h.d)(this.element,"heading")),this.hasAfterHeadingSlot&&e.push((0,h.d)(this.element,"after-heading")),this.caption&&e.push(this.caption),e.join(". ")},this.handleClick=e=>{e.preventDefault(),this.open=!this.open,this.duetToggle.emit({component:"duet-collapsible",originalEvent:e})}}componentWillLoad(){(0,o.i)(this),this.hasAfterHeadingSlot=(0,h.h)(this.element,"after-heading"),this.hasHeadingSlot=(0,h.h)(this.element,"heading"),(0,h.c)(this.element,"heading",this.headingTags.join(",")),this.hasHeadingSlot&&(this.headingLevel=(0,h.a)(this.element,"heading")[0].tagName.toLowerCase())}connectedCallback(){(0,d.s)(this)}disconnectedCallback(){(0,d.u)(this)}async setFocus(e){this.nativeButton&&(this.element.classList.add("user-is-tabbing"),this.nativeButton.focus(e))}render(){const e=this.headingTags.includes(this.headingLevel)?this.headingLevel:"div";return(0,a.h)(a.H,{key:"b19b694f6710f4338d26580dea95463eefaa30d4",class:{"duet-m-0":"none"===this.margin,negative:this.negative}},(0,a.h)(e,{key:"47062fe8e280b4c2489ebe9ba784e6211ecac9e3"},(0,a.h)("button",{key:"5e635b36739a5ab604c5d523435522b83bddcd56",class:{"duet-collapsible-heading":!0,"duet-collapsible-heading-centered":this.centerHeading,"duet-theme-turva":"turva"===this.theme,"duet-collapsible-normal-weight":"normal"===this.headingWeight,"has-after-heading":this.hasAfterHeadingSlot,"full-width":this.headingFullWidth,"has-caption":!!this.caption},style:{"font-size":this.getFontSizeFromTokens()},role:"button",ref:e=>this.nativeButton=e,"aria-label":this.getAccessibleLabel(),"aria-expanded":this.open?"true":"false","aria-controls":this.id,onClick:this.handleClick,onKeyDown:this.handleKeyDown},(0,a.h)("div",{key:"9d49b16d4375ea5c4700c3142b920e3e76924443",class:"duet-collapsible-heading-wrapper"},(0,a.h)("div",{key:"6b45ae151d90d269a466c782eed5c7ed29ecdbee",class:"duet-collapsible-heading-icon"},(0,a.h)("duet-icon",{key:"99eac9e54f5bbf71068e9b5dc3557ee347d2cd5b",margin:"none",size:this.getEquivalentIconSize(),icon:n.a.svg})),(0,a.h)("div",{key:"732d6cf225d17864487046efc9c3cb26e19b9dc8",class:"duet-collapsible-heading-content",part:"duet-collapsible-heading-content"},this.heading?this.heading:(0,a.h)("slot",{name:"heading"})),this.hasAfterHeadingSlot&&(0,a.h)("div",{key:"ecb0414b87ff8340967c2a65d5715986b8c11c01",part:"duet-collapsible-after-heading"},(0,a.h)("slot",{key:"85b150c18dd43fbe21041bd4a8258d6412a350f0",name:"after-heading"}))),this.caption&&(0,a.h)("div",{key:"6d3aa5e7917e2db228251eab60ee888ec51d3944",class:"duet-collapsible-heading-caption"},(0,a.h)("duet-caption",{key:"52aa682a75aa4a7bfef36ad34cbf900b41fb46ba",size:"small",margin:"none"},this.caption)))),(0,a.h)("div",{key:"815c138b748356c749954d2a99564edd608e8b41",id:this.id,class:{"duet-collapsible-content":!0,"duet-theme-turva":"turva"===this.theme},part:"duet-collapsible-content"},(0,a.h)("slot",{key:"5f5ccef4fa9e4cba89278e034ae23a68c29add51"}
2)))}get element(){return(0,a.g)(this)}};c.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:16px !important;display:block;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);-webkit-hyphens:auto;hyphens:auto}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;flex-direction:column;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva :host(.user-is-tabbing) .duet-collapsible-heading:focus,:host(.user-is-tabbing) .duet-collapsible-heading:focus.duet-theme-turva{outline-color:rgba(53, 79, 101, 0.8)}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-heading-centered .duet-collapsible-heading-caption{margin-inline:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading .duet-collapsible-heading-content ::slotted(*){padding:0;margin:0;font-family:inherit !important;font-size:inherit !important;font-weight:inherit !important;color:inherit !important}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading.has-caption{gap:4px}.duet-collapsible-heading.has-caption .duet-collapsible-heading-caption{margin-left:18px;font-weight:inherit}.duet-collapsible-heading .duet-collapsible-heading-wrapper{display:flex;align-items:center;width:inherit;margin:inherit}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(8, 42, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[alignment=form-distribute]>.duet-collapsible-heading-icon:last-of-type:not(:last-child){margin-right:8px !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}:host(.negative) .duet-collapsible-heading,:host(.negative) .duet-collapsible-content,:host(.negative) .duet-collapsible-heading-icon{color:rgb(255, 255, 255)}.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 42, 59)}.duet-theme-turva .duet-collapsible-content.duet-theme-turva,.duet-theme-turva .duet-collapsible-heading.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 42, 59)}'},4491:function(e,t,i){i.d(t,{a:function(){return s}});var a,n,l=i(6862);var o=n?a:(n=1,a={title:"action-arrow-down-small",tags:"action arrow down small caret",svg:'<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img"><path d="M12 19.5a2.3 2.3 0 0 1-1.729-.78L.46 7.568a1.847 1.847 0 0 1 2.773-2.439l8.579 9.752a.25.25 0 0 0 .376 0l8.579-9.752a1.847 1.847 0 1 1 2.773 2.439l-9.808 11.148A2.31 2.31 0 0 1 12 19.5z"/></svg>'}),s=(0,l.g)(o)}}]);

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.