PageSourceSearch

https://partco.fi/assets/Navigation-CPFYC9Pq.js

js partco.fi collected 2026-09-25 15:15:15 UTC 2,562 bytes, 2 lines download raw bytes

1import{S as k,i as S,s as R,a as m,t as $,b as p,m as h,j as d,p as C,r as q,v as A,ab as M,c2 as v,c3 as j,d as b,e as z,f as _,c as B,g as E,h as H,k as y,o as I,q as w}from"./main-Cl7sqRQx.js";import{R as L}from"./Right-utYnVnDF.js";import V from"./NavigationHeader-Br_XPK8h.js";import D from"./NavigationCategories-CK8IeLLY.js";import F from"./NavigationAccount-Cw7FhOv5.js";import"./client-Bife7wQF.js";import"./sso-BGZ4tcGa.js";function G(i){let n,o,t,a,s,u,l,g,f;return o=new V({}),a=new j({props:{source:"menu"}}),u=new D({props:{onClose:i[1],onBack:i[3],onLoadChildren:i[2]}}),g=new F({props:{onClose:i[1]}}),{c(){n=I("nav"),C(o.$$.fragment),t=w(),C(a.$$.fragment),s=w(),C(u.$$.fragment),l=w(),C(g.$$.fragment),this.h()},l(e){n=E(e,"NAV",{class:!0});var r=H(n);d(o.$$.fragment,r),t=y(r),d(a.$$.fragment,r),s=y(r),d(u.$$.fragment,r),l=y(r),d(g.$$.fragment,r),r.forEach(b),this.h()},h(){B(n,"class","popup-navigation svelte-opgrzu")},m(e,r){z(e,n,r),h(o,n,null),_(n,t),h(a,n,null),_(n,s),h(u,n,null),_(n,l),h(g,n,null),f=!0},p(e,r){const c={};r&2&&(c.onClose=e[1]),u.$set(c);const N={};r&2&&(N.onClose=e[1]),g.$set(N)},i(e){f||(p(o.$$.fragment,e),p(a.$$.fragment,e),p(u.$$.fragment,e),p(g.$$.fragment,e),f=!0)},o(e){$(o.$$.fragment,e),$(a.$$.fragment,e),$(u.$$.fragment,e),$(g.$$.fragment,e),f=!1},d(e){e&&b(n),m(o),m(a),m(u),m(g)}}}function J(i){let n,o;return n=new L({props:{active:i[0],onClose:i[1],$$slots:{default:[G]},$$scope:{ctx:i}}}),{c(){C(n.$$.fragment)},l(t){d(n.$$.fragment,t)},m(t,a){h(n,t,a),o=!0},p(t,[a]){const s={};a&1&&(s.active=t[0]),a&2&&(s.onClose=t[1]),a&130&&(s.$$scope={dirty:a,ctx:t}),n.$set(s)},i(t){o||(p(n.$$.fragment,t),o=!0)},o(t){$(n.$$.fragment,t),o=!1},d(t){m(n,t)}}}function K(i,n,o){let t;q(i,A,e=>o(4,t=e));let{active:a}=n,{onClose:s}=n;M(()=>{v.update(e=>u(e)?e:l(e))});const u=e=>e.currentCategory,l=e=>(e.currentCategory=t.navigation.concat(...t.customNavigation),e.header.logo=t.logos.dark,e),g=({child:e,parent:r})=>{v.update(c=>(c.history.push({currentCategory:r,header:{...c.header}}),c.currentCategory=e.children,c.header.title=e.title,c.header.path=e.path,c.header.icon=e.icon,c.isCurrentCategoryChild=!0,c))},f=()=>{v.update(e=>{const r=e.history.pop();return e.currentCategory=r.currentCategory,e.header={...r.header},e.isCurrentCategoryChild=e.history.length,e})};return i.$$set=e=>{"active"in e&&o(0,a=e.active),"onClose"in e&&o(1,s=e.onClose)},[a,s,g,f]}class Y extends k{constructor(n){super(),S(this,n,K,J,R,{active:0,onClose:1})}}export{Y as default};
2//# sourceMappingURL=Navigation-CPFYC9Pq.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.