PageSourceSearch

https://portal.keravanenergia.fi/_next/static/chunks/5709.4221797b2440e260.js

js keravanenergia.fi collected 2026-10-02 17:55:55 UTC 3,019 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5709],{35709:(e,l,t)=>{t.r(l),t.d(l,{default:()=>z});var i=t(37876),n=t(79021),o=t(93038),s=t(34826),d=t(87242),a=t(44193),r=t(61342),c=t(45050),m=t(62899),u=t(91932),h=t(74785),x=t(56557),j=t.n(x),p=t(92724),b=t(6381),g=t(96851),f=t(36348),v=t(66541),B=t(811),E=t(71033),w=t(55639),A=t(50589);function k(e){let{title:l,text:t,date:o}=e,s=o?E.A.formatDateTimeToString(o):void 0;return(0,i.jsxs)(n.B,{children:[(0,i.jsx)(r.c,{labelPosition:"left",label:l&&(0,i.jsx)(c.E,{fz:"md",fw:700,children:l})}),(0,i.jsxs)(A.E,{visible:void 0===t,children:[s&&(0,i.jsx)(c.E,{size:"xs",children:s}),(0,i.jsx)(c.E,{size:"md",style:{whiteSpace:"pre-wrap"},children:t})]})]})}function z(e){let{opened:l,supportId:t,onClose:x}=e,A=(0,g.c)("pages.support.ticket-details"),z=(0,g.c)("pages.support.ticket-status"),{data:S}=(0,B.r5)({id:t,locale:j().locale()},{skip:!l}),[I,{isLoading:M}]=(0,B.WJ)(),C=b.z.object({comment:b.z.string().min(1,A("comment-form.errors.required"))}),T=(0,u.m)({validate:(0,p.u)(C),initialValues:{comment:""}}),y=async e=>{S&&(I({id:S.id,comment:e.comment}),T.reset())},D=(null==S?void 0:S.status)?w.A.getBadgeStatusColor(null==S?void 0:S.status):"dark";return(0,i.jsx)(f.B9,{opened:l,onClose:x,hero:{title:(0,i.jsx)(n.B,{align:"center",children:(0,i.jsx)(o.L,{radius:"lg",variant:"light",size:52,color:"icon",children:(0,i.jsx)(h.A,{color:"white"})})}),subtitle:(0,i.jsx)(s.E,{color:"dark",variant:"filled",size:"lg",children:A("hero-subtitle")})},position:"right",footer:(0,i.jsx)(d.a,{style:{width:"100%"},children:(0,i.jsx)(a.$,{variant:"light",fullWidth:!0,onClick:x,children:A("buttons.close")})}),children:(0,i.jsxs)(n.B,{gap:"lg",pb:"xl",children:[(0,i.jsx)(r.c,{labelPosition:"left",label:(0,i.jsx)(c.E,{fz:"md",fw:700,children:A("title")})}),(0,i.jsxs)(f.BM,{children:[(0,i.jsx)(f.BM.Item,{label:A("topic"),loading:!S,children:null==S?void 0:S.name}),(null==S?void 0:S.channelName)&&(0,i.jsx)(f.BM.Item,{label:A("response-method"),loading:!S,children:S.channelName}),(0,i.jsx)(f.BM.Item,{label:A("created"),loading:!S,children:(null==S?void 0:S.createdAt)&&E.A.formatDateToString(null==S?void 0:S.createdAt)}),(0,i.jsx)(f.BM.Item,{label:A("completed"),loading:!S,children:(null==S?void 0:S.completedAt)?E.A.formatDateToString(null==S?void 0:S.completedAt):"-"}),(0,i.jsx)(f.BM.Item,{label:A("status"),loading:!S,children:(null==S?void 0:S.status)&&(0,i.jsx)(s.E,{color:D,children:z(null==S?void 0:S.status)})})]}),(0,i.jsx)(n.B,{children:null==S?void 0:S.comments.map(e=>(0,i.jsx)(k,{title:e.adder,text:e.comment,date:e.addedAt},e.addedAt))}),(null==S?void 0:S.status)!==v.EF.wc.RESOLVED&&(0,i.jsx)("form",{onSubmit:T.onSubmit(y),children:(0,i.jsxs)(n.B,{children:[(0,i.jsx)(m.T,{label:A("comment-form.label"),placeholder:A("comment-form.placeholder"),autosize:!0,minRows:5,maxRows:10,...T.getInputProps("comment")}),(0,i.jsx)(a.$,{variant:"filled",type:"submit",loading:M,children:A("comment-form.buttons.submit")})]})})]})})}}}]);

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.