PageSourceSearch

https://portal.kis.no/_next/static/chunks/pages/field-service/orde…/attachments-9615a734ac5873f6.js

js kis.no collected 2026-10-08 01:32:16 UTC 3,548 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="30792461-85ee-4b9c-8883-2ccc96193a55",e._sentryDebugIdIdentifier="sentry-dbid-30792461-85ee-4b9c-8883-2ccc96193a55")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8957],{24017:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/field-service/order/[orderId]/equipment/[equipmentId]/attachments",function(){return t(7347)}])},13830:function(e,n,t){"use strict";t.d(n,{F:function(){return m}});var r=t(48282),c=t(40446),o=t.n(c),i=t(18529),a=t(18670),u=t(45014),s=t.n(u),d=t(6303);let m=e=>{let{currentPage:n,withEquipmentNavigation:t=!1}=e,c=(0,d.usePathname)(),u=(0,d.useParams)(),m=(0,d.useRouter)(),l=(0,i.useMemo)(()=>c.split("/").slice(1,4).join("/"),[c]),_=(0,i.useMemo)(()=>[{routeSegment:"/",name:"orderInformation",icon:"circle-info",faIcon:!0,current:"/"===n},{routeSegment:"/equipment",name:"equipment",icon:"fa-solid fa-screwdriver-wrench",faIcon:!0,current:"/equipment"===n},{routeSegment:"/sja",name:"SJADescription",icon:"shield-check",faIcon:!0,current:"/sja"===n},{routeSegment:"/control",name:"control",icon:"clipboard-check",faIcon:!0,current:"/control"===n},{routeSegment:"/orderlines",name:"orderLines",icon:"cart-shopping",faIcon:!0,current:"/orderlines"===n},{routeSegment:"/workhours",name:"workHours",icon:"clock",faIcon:!0,current:"/workhours"===n},{routeSegment:"/summary",name:"summary",icon:"list-check",faIcon:!0,current:"/summary"===n},{routeSegment:"/comments",name:"comments",icon:"comment",faIcon:!0,current:"/comments"===n},{routeSegment:"/attachment",name:"attachment",icon:"paperclip",faIcon:!0,current:"/attachment"===n}],[n]),f=(0,i.useCallback)(()=>{let e=u.orderId,n=c.split("/");if(e){if(t){let e=n.findIndex(e=>"equipment"===e);if(4===e){let e=n.slice(0,5).join("/");m.push(e)}else{let t=n.slice(0,e).join("/");m.push(t)}}else if(n.length<=5)m.push("/field-service");else{let e=n.slice(0,n.length-2).join("/");m.push(e)}return}m.push("/field-service")},[u,c]);return(0,r.jsxs)("div",{className:"".concat(o().order_navigation," ").concat(!t&&o().sticky),children:[(0,r.jsx)("div",{className:[o().back_button,o().tab_item].join(" "),role:"button",onClick:f,children:a.U.getFaIconEmbedded("circle-arrow-left")}),_.map(e=>(0,r.jsx)(s(),{href:"/".concat(l).concat(e.routeSegment),children:(0,r.jsx)("div",{className:"".concat(o().tab_item," ").concat(e.current&&o().active_tab),children:a.U.getFaIconEmbedded(e.icon)})},e.routeSegment))]})}},7347:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return s}});var r=t(48282),c=t(8690),o=t(1247),i=t(13830),a=t(85547);let u=e=>{let{equipmentId:n}=e;return(0,r.jsxs)(a.b,{children:[(0,r.jsx)(i.F,{currentPage:"/equipment",withEquipmentNavigation:!0}),(0,r.jsx)(o.b,{currentPage:"/attachments",orderContext:!0}),(0,r.jsx)(c.m,{equipmentId:n,orderContext:!0})]})};u.ignoreLayout=!0,u.auth={roles:["equipment"],unauthorized:"/"};var s=!0;n.default=u},40446:function(e){e.exports={order_navigation:"OrderNavigation_order_navigation__KzMBW",tab_item:"OrderNavigation_tab_item__3GweQ",back_button:"OrderNavigation_back_button__EElvR",active_tab:"OrderNavigation_active_tab__b3nlJ",sticky:"OrderNavigation_sticky__33o_W"}}},function(e){e.O(0,[6434,125,2271,7621,535,5888,2777,123,8281,9082,3,8043,145,4612,1913,7753,3624,9671,6303,9906,8937,5332,9439,2888,9774,179],function(){return e(e.s=24017)}),_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.