PageSourceSearch

https://juridika.no/static/_nuxt/Dxu43l28.js

js juridika.no collected 2026-09-28 10:46:36 UTC 11,267 bytes, 2 lines download raw bytes

1import{F as A,a as Z,b as k}from"./B8iaNmC0.js";import{b2 as x,gb as M,fN as $,aw as L,ee as m,aK as f,aD as p,aV as h,fu as o,by as B,e as O,eK as w,aE as u,a4 as U,cl as H,h6 as C,aU as S,fe as v,aH as V,dJ as P,dr as _,ad as D,W as R,aT as E,dZ as g,g1 as W,gt as j,eC as Y,eL as q,a7 as K}from"./DPpwXm6r.js";import{_ as X}from"./Cj4sIpB6.js";import{_ as z}from"./CS3PmjBQ.js";import{_ as G}from"./Da2v3ioN.js";import{_ as J}from"./C58w-kdY.js";import{u as Q}from"./DOUcbw5W.js";import{u as tt}from"./BCsBKQvq.js";import{u as T}from"./9UD0ONpj.js";import"./Mp2TX5Vo.js";import"./lp31YHl6.js";import"./R7povrih.js";import"./CYprFAAP.js";import"./BJ2ClxiI.js";import"./6OKdezVg.js";import"./kRIii9yh.js";import"./D_evr67Y.js";import"./C7RAJzdB.js";import"./D_Flkv88.js";import"./CXFp29_S.js";import"./CkhkDZI_.js";import"./JGna3OSk.js";import"./Vw8kXSVF.js";import"./4ptlb9C0.js";import"./DQDBPu4M.js";import"./OamHJ8nK.js";import"./B6LF7VZC.js";import"./CGJXW3sW.js";import"./BPo7hMQR.js";const et={class:"sticky flex flex-col items-center gap-m xl:max-3xl:px-0"},ot={class:"w-full max-w-[1287px] gap-s flex flex-wrap items-center"},st={key:0,class:"flex flex-wrap items-center justify-start gap-2xs w-full max-w-screen-xl min-h-5 lg:hidden animate-fade"},at={class:"flex w-full max-w-screen-xl items-center justify-between"},lt={"aria-hidden":"true",class:"font-bold shrink-0 text-small"},nt={class:"sr-only",role:"status"},rt=x({__name:"ListFilter",props:P({searchId:{},searchLabel:{},sortId:{},totalHits:{}},{search:{required:!0},searchModifiers:{},contentType:{required:!0},contentTypeModifiers:{},sort:{required:!0},sortModifiers:{}}),emits:["update:search","update:contentType","update:sort"],setup(l){const s=l,a=M(l,"search"),t=M(l,"contentType"),d=M(l,"sort"),n=$(L(()=>`${s.totalHits} treff`),500);return(e,c)=>{const i=z,F=G,b=U,y=J;return m(),f("div",et,[p("div",ot,[h(i,{id:l.searchId,modelValue:a.value,"onUpdate:modelValue":c[0]||(c[0]=r=>a.value=r),resettable:"",shape:"square",size:"medium",label:l.searchLabel,class:"flex-1 lg:shrink-0 lg:max-w-98"},null,8,["id","modelValue","label"]),h(F,{id:`${l.searchId}-content-type`,modelValue:t.value,"onUpdate:modelValue":c[1]||(c[1]=r=>t.value=r),options:"FAVORITES_CONTENT_TYPE_OPTIONS"in e?e.FAVORITES_CONTENT_TYPE_OPTIONS:o(A),"icon-left":o(B),label:"Velg innholdstype",placeholder:"Innholdstype","option-label":r=>r.label,"option-icon":r=>r.icon,class:"w-full max-w-[231px]",searchable:!1},null,8,["id","modelValue","options","icon-left","option-label","option-icon"])]),t.value.length?(m(),f("div",st,[(m(!0),f(O,null,w(t.value,r=>(m(),u(b,{key:r.value,size:"small",variant:"filled",color:"carbon","icon-right":o(H),"aria-label":`Fjern filter: ${r.label}`,onClick:gt=>t.value=t.value.filter(N=>N.value!==r.value)},{default:C(()=>[S(v(r.label),1)]),_:2},1032,["icon-right","aria-label","onClick"]))),128))])):V("",!0),p("div",at,[p("p",lt,v(l.totalHits)+" treff",1),p("p",nt,v(o(n)),1),h(y,{id:l.sortId,modelValue:d.value,"onUpdate:modelValue":c[2]||(c[2]=r=>d.value=r),options:"FAVORITES_SORTING_OPTIONS"in e?e.FAVORITES_SORTING_OPTIONS:o(Z)},null,8,["id","modelValue","options"])])])}}}),I=Object.assign(rt,{__name:"WorkspaceListFilter"}),it=x({__name:"FavoritesFilter",setup(l){const{searchKeyword:s,contentTypeFilter:a,sortFilter:t,totalHits:d}=Q();return(n,e)=>{const c=I;return m(),u(c,{search:o(s),"onUpdate:search":e[0]||(e[0]=i=>_(s)?s.value=i:null),"content-type":o(a),"onUpdate:contentType":e[1]||(e[1]=i=>_(a)?a.value=i:null),sort:o(t),"onUpdate:sort":e[2]||(e[2]=i=>_(t)?t.value=i:null),"search-id":"search-favorites","search-label":"Søk i favoritter","sort-id":"sort","total-hits":o(d)},null,8,["search","content-type","sort","total-hits"])}}}),pt=Object.assign(it,{__name:"WorkspaceFavoritesFilter"}),mt=x({__name:"MarkingsListFilter",setup(l){const{searchKeyword:s,contentTypeFilter:a,sortFilter:t,totalHits:d}=tt();return(n,e)=>{const c=I;return m(),u(c,{search:o(s),"onUpdate:search":e[0]||(e[0]=i=>_(s)?s.value=i:null),"content-type":o(a),"onUpdate:contentType":e[1]||(e[1]=i=>_(a)?a.value=i:null),sort:o(t),"onUpdate:sort":e[2]||(e[2]=i=>_(t)?t.value=i:null),"search-id":"search-markings","search-label":"Søk i markeringer","sort-id":"markings-list-sort","total-hits":o(d)},null,8,["search","content-type","sort","total-hits"])}}}),ct=Object.assign(mt,{__name:"WorkspaceMarkingsListFilter"}),dt={},ut={class:"pb-xl w-full max-w-xs hidden md:flex flex-col gap-m"},_t={class:"space-y-3xs"};function ft(l,s){const a=R;return m(),f("div",ut,[s[0]||(s[0]=p("h3",{class:"text-body bold"}," Innhold ",-1)),p("nav",_t,[(m(!0),f(O,null,w("MENU_ITEM_OPTIONS"in l?l.MENU_ITEM_OPTIONS:o(k),t=>(m(),u(a,{key:t.value,to:{name:t.value},class:"flex items-center px-2xs py-3xs min-h-xl h-xl text-small no-underline rounded-lg hover:bg-surface-hover hover:text-primary transition-colors","active-class":"bg-surface-primary"},{default:C(()=>[S(v(t.label),1)]),_:2},1032,["to"]))),128))])])}const ht=Object.assign(D(dt,[["render",ft]]),{__name:"WorkspaceSidebar"}),Ct={class:"w-72",width:"400",height:"400",viewBox:"0 0 400 400",overflow:"visible",fill:"none",xmlns:"http://www.w3.org/2000/svg"},xt=.5,vt=x({__name:"MittArbeidsomraade",setup(l){const s=T({multiplierX:-.2,multiplierY:.4,rotateMultiplier:-.05}),a=T({multiplierX:0,multiplierY:xt,rotateMultiplier:.03}),t=T({multiplierX:.15,multiplierY:.3,rotateMultiplier:-.02});return(d,n)=>(m(),f("svg",Ct,[p("g",{style:g(o(s))},[...n[0]||(n[0]=[E('<path d="M78.2563 310.439L27.6615 190.138C25.8526 185.837 27.8755 180.877 32.1765 179.068L196.334 110.029C200.635 108.22 205.594 110.243 207.403 114.544L257.998 234.846L78.2563 310.439Z" fill="#A3B5FE"></path><path d="M47.2544 172.727L75.2789 160.945L103.294 149.163L89.1497 143.394C86.9827 142.515 84.5619 142.525 82.4047 143.433L70.086 148.616L57.7673 
1153.799C55.61 154.707 53.9018 156.435 53.0233 158.592L47.2544 172.736V172.727Z" fill="#A3B5FE"></path><path d="M206.392 241.944C206.392 241.944 184.713 129.289 237.921 90.0001L133.036 96.0032C133.036 96.0032 94.3819 91.5033 87.9297 142.164C87.9297 142.164 82.8051 204.373 87.3636 248.728C87.3636 248.728 123.812 233.471 206.383 241.944H206.392Z" fill="#F8F8F8"></path><path d="M233.636 114.667L258 234.837L78.2563 310.438L53.8922 190.268C52.1547 186.129 54.0972 181.365 58.2359 179.628L222.996 110.333C227.135 108.595 231.898 110.538 233.636 114.676V114.667Z" fill="#DFE8FF"></path><path d="M237.921 90.0001C237.921 90.0001 190.549 101.645 151.797 129.162C151.797 129.162 155.712 105.032 133.046 96.0032L237.921 90.0001Z" fill="#DFE8FF"></path>',5)])],4),p("g",{style:g(o(t))},[...n[1]||(n[1]=[E('<path d="M368 242H210V279H368V242Z" fill="#20460B"></path><path d="M210.533 279.107C213.592 279.107 216.072 270.801 216.072 260.554C216.072 250.307 213.592 242 210.533 242C207.474 242 204.994 250.307 204.994 260.554C204.994 270.801 207.474 279.107 210.533 279.107Z" fill="#DAFEA4"></path><path d="M368.107 279.107C370.809 279.107 373 270.801 373 260.554C373 250.307 370.809 242 368.107 242C365.405 242 363.214 250.307 363.214 260.554C363.214 270.801 365.405 279.107 368.107 279.107Z" fill="#20460B"></path><path d="M209.964 276.399C212.272 276.399 214.143 269.305 214.143 260.554C214.143 251.803 212.272 244.709 209.964 244.709C207.656 244.709 205.785 251.803 205.785 260.554C205.785 269.305 207.656 276.399 209.964 276.399Z" fill="#20460B"></path><path d="M209.964 244.709H197.145V276.399H209.964V244.709Z" fill="#20460B"></path><path d="M197.146 276.399C199.454 276.399 201.325 269.305 201.325 260.554C201.325 251.803 199.454 244.709 197.146 244.709C194.838 244.709 192.967 251.803 192.967 260.554C192.967 269.305 194.838 276.399 197.146 276.399Z" fill="#DAFEA4"></path><path d="M189.787 250.435L196.232 245.088L196.46 276.185L189.787 271.145V250.435Z" fill="#DAFEA4"></path><path d="M190.002 271.173C191.638 271.173 192.965 266.524 192.965 260.79C192.965 255.056 191.638 250.407 190.002 250.407C188.366 250.407 187.04 255.056 187.04 260.79C187.04 266.524 188.366 271.173 190.002 271.173Z" fill="#20460B"></path><path d="M189.474 252.409H171.521V269.485H189.474V252.409Z" fill="#DAFEA4"></path><path d="M189.474 269.485C190.718 269.485 191.726 265.663 191.726 260.948C191.726 256.233 190.718 252.411 189.474 252.411C188.23 252.411 187.221 256.233 187.221 260.948C187.221 265.663 188.23 269.485 189.474 269.485Z" fill="#DAFEA4"></path><path d="M171.521 269.485C172.765 269.485 173.774 265.663 173.774 260.948C173.774 256.233 172.765 252.411 171.521 252.411C170.277 252.411 169.269 256.233 169.269 260.948C169.269 265.663 170.277 269.485 171.521 269.485Z" fill="#20460B"></path><path d="M170.862 266.941C171.735 266.941 172.443 264.258 172.443 260.948C172.443 257.638 171.735 254.955 170.862 254.955C169.989 254.955 169.281 257.638 169.281 260.948C169.281 264.258 169.989 266.941 170.862 266.941Z" fill="#ECFECD"></path><path d="M160.792 254.955H170.862V266.941L163.689 266.949L160.792 254.955Z" fill="#ECFECD"></path><path d="M163.692 266.949C164.539 266.733 164.541 263.876 163.698 260.567C162.854 257.259 161.485 254.751 160.638 254.967C159.792 255.183 159.79 258.04 160.633 261.348C161.476 264.657 162.846 267.164 163.692 266.949Z" fill="#DAFEA4"></path>',14)])],4),p("g",{style:g(o(a))},[...n[2]||(n[2]=[p("path",{d:"M286.39 152.84C287.275 149.705 290.534 147.881 293.669 148.766L341.919 162.387C345.054 163.272 346.878 166.531 345.993 169.666L332.372 217.916C331.487 221.051 328.228 222.875 325.093 221.99L276.843 208.369C273.708 207.484 271.884 204.225 272.769 201.09L286.39 152.84Z",fill:"#A3B5FE"},null,-1),p("path",{d:"M301.992 170.843L295.111 195.218C294.902 195.96 295.335 196.735 296.078 196.945C296.355 197.023 296.65 197.017 296.923 196.92L307.127 193.361L313.963 201.73C314.145 201.955 314.394 202.115 314.671 202.193C315.414 202.403 316.188 201.969 316.398 201.227L323.279 176.852C323.693 175.383 322.838 173.855 321.369 173.44L305.404 168.933C303.935 168.519 302.407 169.374 301.992 170.843Z",fill:"#160926"},null,-1)])],4)]))}}),Ft=Object.assign(vt,{__name:"IllustrationMittArbeidsomraade"}),bt={class:"flex flex-col gap-s md:gap-none max-w-120 md:max-w-140 lg:max-w-none mx-auto md:pt-s pb-s md:pb-xs md:ml-[352px]"},yt={class:"flex flex-1 shrink-0 justify-center md:justify-start overflow-x-auto"},Mt={class:"max-w-120 md:max-w-none mx-auto min-h-80 relative md:ml-[352px]"},te=x({__name:"MyWorkspace",setup(l){W({bodyAttrs:{class:"bg-surface-secondary"}});const s=j(),a=Y(k.find(n=>n.value===s.name)),t=L(()=>s.name==="workspace-favoritter"),d=L(()=>s.name==="workspace-markeringer"&&!s.query.work);return(n,e)=>{const c=X,i=pt,F=ct,b=ht,y=K;return m(),u(y,{name:"overview-with-bread-crumbs-and-title","page-title":"Mitt arbeidsområde"},{"sticky-header":C(()=>[p("div",bt,[p("div",yt,[h(c,{modelValue:o(a),"onUpdate:modelValue":e[0]||(e[0]=r=>_(a)?a.value=r:null),"contains-links":"",options:"MENU_ITEM_OPTIONS"in n?n.MENU_ITEM_OPTIONS:o(k),class:"flex md:hidden"},null,8,["modelValue","options"])]),o(t)?(m(),u(i,{key:0,class:"md:mt-12.5"})):o(d)?(m(),u(F,{key:1,class:"md:mt-12.5"})):V("",!0)]),h(b,{class:"absolute top-s"})]),"background-illustration":C(()=>[h(Ft,{class:"-translate-y-[2.2%]"})]),default:C(()=>[p("div",Mt,[q(n.$slots,"default")])]),_:3})}}});
1export{te as default};
2//# sourceMappingURL=Dxu43l28.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.