1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8839],{15661:(e,s,o)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/diktafon/form",function(){return o(24415)}])},24415:(e,s,o)=>{"use strict";o.r(s),o.d(s,{default:()=>V});var r=o(37876),i=o(59117),n=o(77328),t=o.n(n),a=o(99208),d=o(14232),c=o(89099),l=o(72171),p=o(36281),x=o.n(p),u=o(81524),m=o(30473),j=o(614),h=o(31248),f=o(61845),g=o(50945),F=o(52687),_=o(54449),A=o(32653),D=o(38008),T=o(65104),w=o(60547),k=o(29925),y=o(15311),I=o(29664);let b=(0,A.FB)(),v=[b.accessor("title",{header:()=>(0,r.jsx)(i.x6,{id:"PNMcMG"}),cell:e=>{let s=e.row.getValue("formId");return(0,r.jsxs)("div",{children:[(0,r.jsx)(T.A,{formId:s,href:`/diktafon/form/${s}`,title:e.getValue()}),(0,r.jsx)(w.B_,{deliveryDestination:e.row.getValue("deliveryDestination")})]})},sortingFn:"string",meta:{sortCaptionType:I.J.TEXT,useForQuery:!0}}),b.accessor(e=>e.open?"open":D.c9.fromISO(e.openFrom)>D.c9.now()?"planned":"closed",{id:"status",header:()=>(0,r.jsx)(i.x6,{id:"uAQUqI"}),cell:e=>(0,r.jsx)(y.A,{status:e.getValue(),openFrom:e.row.getValue("openFrom"),openTo:e.row.getValue("openTo")}),sortingFn:k.p,meta:{sortCaptionType:I.J.STATUS}}),b.accessor("modifiedDate",{header:()=>(0,r.jsx)(i.x6,{id:"X4ksW-"}),cell:e=>{let s=e.getValue();return s?D.c9.fromISO(s).toFormat("dd.MM.yy"):""},sortDescFirst:!0,sortingFn:"date",meta:{sortCaptionType:I.J.DATE}}),b.accessor("formId",{id:"formId"}),b.accessor("isDictaphone",{id:"isDictaphone"}),b.accessor("deliveryDestination",{id:"deliveryDestination"}),b.accessor("openFrom",{id:"openFrom"}),b.accessor("openTo",{id:"openTo"})],C=({children:e})=>(0,r.jsxs)("div",{className:x().pageWrapper,children:[(0,r.jsx)(h.A,{href:"/diktafon",icon:"back",children:(0,r.jsx)(i.x6,{id:"r-0Dex"})}),(0,r.jsx)("h1",{children:(0,r.jsx)(i.x6,{id:"9Qko6R"})}),e]}),N=()=>{let e=(0,c.useRouter)(),{data:s,isLoading:o,error:n}=(0,u.zR)(),t=(0,d.useMemo)(()=>s?.filter(e=>e.isDictaphone&&"COPY"!==e.myFormsFormListingGroup)??[],[s]),a=(0,_.A)({columns:v,data:t,defaultColumnVisibility:{formId:!1,isDictaphone:!1,deliveryDestination:!1,openFrom:!1,openTo:!1},defaultSortingState:[{id:"modifiedDate",desc:!0}]});return n?(0,r.jsx)(C,{children:(0,r.jsxs)(j.A,{align:"center",direction:"column",rowGap:40,children:[(0,r.jsx)("h2",{children:(0,r.jsx)(i.x6,{id:"qo0mZW"})}),(0,r.jsx)(l.A,{}),(0,r.jsx)(i.x6,{id:"kGpDhf"}),(0,r.jsx)(m.A,{onClick:()=>e.reload(),children:(0,r.jsx)(i.x6,{id:"ec7lgK"})})]})}):(0,r.jsxs)(C,{children:[(0,r.jsxs)(j.A,{direction:"column",rowGap:24,children:[(0,r.jsx)(F.A,{label:(0,r.jsx)(i.x6,{id:"8pT-xo"}),tableInstances:a}),(0,r.jsx)(f.A,{instance:a,isLoading:o})]}),(0,r.jsx)(g.A,{step:10,tableInstance:a,isLoading:o})]})},V=()=>{let{i18n:e}=(0,i.uB)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t(),{children:(0,r.jsx)("title",{children:`${e._({id:"9Qko6R"})} â Nettskjema`})}),(0,r.jsx)(a.Ay,{noBreadcrumbs:!0,appFlow:!0,children:(0,r.jsx)(a.DF,{children:(0,r.jsx)(N,{})})})]})}},36281:e=>{e.exports={pageWrapper:"forms_pageWrapper__A_Qwr"}}},e=>{e.O(0,[347,1121,1327,6701,2827,7512,7459,473,2791,5988,587,7618,636,6593,8792],()=>e(e.s=15661)),_N_E=e.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.