PageSourceSearch

https://www.hsy.fi/dist/air-quality-report-lift.fee8cbb9ae5318a5b146.bundle.js

js hsy.fi collected 2026-09-24 18:03:40 UTC 3,480 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkhsy=self.webpackChunkhsy||[]).push([[4838],{56438:(e,t,r)=>{r.d(t,{A:()=>m});var o=r(94977),n={class:"box p-4"},l={key:0,class:"d-flex align-items-center smaller-font mb-3"},a={key:0,class:"tag mr-2"},i={key:1},c=["innerHTML"];const s={props:{model:{type:Object,required:!0,default:function(){return{report:null,publishDate:null,tag:null}}}}},m=(0,r(18144).A)(s,[["render",function(e,t,r,s,m,d){return(0,o.openBlock)(),(0,o.createElementBlock)("div",n,[r.model.publishDate||r.model.tag?((0,o.openBlock)(),(0,o.createElementBlock)("div",l,[r.model.tag?((0,o.openBlock)(),(0,o.createElementBlock)("span",a,(0,o.toDisplayString)(r.model.tag),1)):(0,o.createCommentVNode)("v-if",!0),r.model.publishDate?((0,o.openBlock)(),(0,o.createElementBlock)("span",i,(0,o.toDisplayString)(r.model.publishDate),1)):(0,o.createCommentVNode)("v-if",!0)])):(0,o.createCommentVNode)("v-if",!0),r.model.report?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:1,class:"report-body",innerHTML:r.model.report},null,8,c)):(0,o.createCommentVNode)("v-if",!0)])}]])},69807:(e,t,r)=>{r.r(t),r.d(t,{default:()=>m});var o=r(94977),n={key:0,class:"report-lift-block"},l=["href"],a=r(16146);function i(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}const s={components:{"air-quality-report-list-item":r(56438).A},props:{model:{type:Object,required:!0,default:function(){return{tag:"",pageSize:0}}}},data:function(){return{reports:[]}},mounted:function(){this.load()},methods:{load:function(){var e=this;a.A.get("/api/v1/airqualityreport/items",{params:{tag:this.model.tag,pageSize:this.model.pageSize}}).then(function(t){e.reports=[].concat(i(e.reports),i(t.data.hits))}).catch(function(e){console.error(e)})}}},m=(0,r(18144).A)(s,[["render",function(e,t,r,a,i,c){var s=(0,o.resolveComponent)("air-quality-report-list-item");return i.reports.length?((0,o.openBlock)(),(0,o.createElementBlock)("div",n,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(i.reports,function(e){return(0,o.openBlock)(),(0,o.createBlock)(s,{key:e.id,model:e},null,8,["model"])}),128)),r.model.link?((0,o.openBlock)(),(0,o.createElementBlock)("a",{key:0,href:r.model.link,class:"button d-inline-flex my-4 align-items-center"},[(0,o.createTextVNode)((0,o.toDisplayString)(r.model.linkText)+" ",1),t[0]||(t[0]=(0,o.createElementVNode)("span",{class:"arrow-icon d-inline-flex justify-content-center align-items-center ml-2","aria-hidden":"true"},[(0,o.createElementVNode)("svg",{class:"icon icon-hsy-icon-arrow-right-short-bold"},[(0,o.createElementVNode)("use",{"xlink:href":"#icon-hsy-icon-arrow-right-short-bold"})])],-1))],8,l)):(0,o.createCommentVNode)("v-if",!0)])):(0,o.createCommentVNode)("v-if",!0)}]])}}]);
2//# sourceMappingURL=air-quality-report-lift.fee8cbb9ae5318a5b146.bundle.js.map

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.