PageSourceSearch

https://u2arkitekter.no/dist/all/chunks/7380-00c464b62f6612af1532.js

js u2arkitekter.no collected 2026-09-25 10:40:34 UTC 5,855 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkwips_components_scripts||=[]).push([[7380],{"2c3d4e48a4917988"(e,t,n){n.r(t),n.d(t,{default:()=>b});var a=n("b641633d6c906d19"),i=n("99c472be6da17922"),d=n("82d8eefb58430341"),r=n("a54fa6d0a722ba3f"),s=n("49729e75607342e2");const o=["data-direction"],c={props:{direction:{type:String,default:"down"}},methods:{async expanderClick(){this.$emit("click")}}},p=(0,a.pM)({...c,__name:"ExpanderButton",setup:e=>(t,n)=>((0,a.uX)(),(0,a.CE)("a",{class:"expander-button",href:"",role:"button",onClick:n[0]||(n[0]=(0,d.D$)((...e)=>t.expanderClick&&t.expanderClick(...e),["stop","prevent"])),"data-direction":e.direction},[(0,a.bF)(s.default,{"icon-name":"keyboard_arrow_down"})],8,o))});var l=n("461bee8a7784aa7f");const u=(0,l.A)(p,[["__scopeId","data-v-0ebaa41b"]]);var h=n("d9492f72911b6294");const m={inheritAttrs:!1,props:{title:String,id:Number,url:String,children:{type:Array,default:()=>[]},hidden:Boolean,deleted:Boolean,section:Boolean}};var x=n("02832022c1e83e91"),C=n("c40486de06e3466e"),y=n("eb0d7dd6674ec63a"),g=n("92c490e8e5efe9cd");const k=["data-page-id","data-expand-direction","data-expanded","data-has-expandable","data-has-current-child","aria-current","data-style-type"],v=["href"],f={key:0},E={directives:{EditPageMenu:x.A},mixins:[m],data:()=>({childIsExpanded:!1,hasHover:!1,levelElementId:"menu-item-"+Math.floor(1e3*Math.random()),unexpandByMouseLeaveCounter:0}),inheritAttrs:!1,props:{isLastItem:Boolean,expanded:Boolean,expandAxisStack:Array,expandedDirection:String,expandDirection:String,expandedAxis:String,expandAxis:String,swapDirection:Boolean,manualExpandingMode:Boolean,item:Object,styleType:String,styleTypeStack:Array},computed:{...(0,y.aH)(C.D,{currentPageId:"currentPageId"}),...(0,y.aH)(g.x,{showAdminIndicators:"isAdministrator"}),hasIcon(){return!!this.iconName},iconName(){return this.item.icon??null},classList(){return{"menu-item":!0,hidden:this.item.hidden,deleted:this.item.deleted,"has-icon":this.hasIcon}},ariaCurrentProp(){return this.item.id==this.currentPageId&&"page"},hasExpandableChildren(){return this.item.children.length>0},expanderButtonDirection(){if(this.currentIsExpanded)switch(this.expandDirection){case"up":return"down";case"down":return"up"}return this.expandDirection},hasChildren(){return this.item.children.length>0},currentIsExpanded:{get(){return this.hasChildren&&this.expanded},set(e){this.$emit("update:expanded",e)}},hasCurrentChild(){return this.computeHasCurrentChild(this.item.children)}},watch:{childIsExpanded(){++this.unexpandByMouseLeaveCounter}},methods:{itemClick(){this.$refs["item-link"]?.click()},computeHasCurrentChild(e){for(const t of e){if(t.id==this.currentPageId)return!0;if(this.computeHasCurrentChild(t.children))return!0}return!1},async spaceKeyPress(){this.hasChildren&&this.toggleWithManualMode()},async hover(e){const t=++this.unexpandByMouseLeaveCounter;this.manualExpandingMode||(e||(await new Promise(e=>setTimeout(e,350)),this.unexpandByMouseLeaveCounter==t))&&(this.hasHover=e,this.currentIsExpanded=e)},toggleWithManualMode(){this.hasChildren&&(this.manualExpandingMode||this.$emit("update:manual-expanding-mode",!0),this.currentIsExpanded=!this.currentIsExpanded)},async expanderButtonClick(){this.toggleWithManualMode()}}},I=(0,a.pM)({...E,__name:"Item",setup(e){const t=(0,a.$V)(()=>Promise.resolve().then(n.bind(n,"9b2eaf7528029820"))),s=(0,a.$V)(()=>Promise.resolve().then(n.bind(n,"661745ff3f664a51")));return(n,o)=>{const c=(0,a.gN)("edit-page-menu");return(0,a.uX)(),(0,a.CE)("li",{class:(0,i.C4)(n.classList),"data-page-id":e.item.id,onMouseenter:o[4]||(o[4]=e=>n.hover(!0)),onMouseleave:o[5]||(o[5]=e=>n.hover(!1)),"data-expand-direction":e.expandDirection,"data-expanded":n.currentIsExpanded||void 0,"data-has-expandable":n.hasExpandableChildren||void 0,"data-has-current-child":n.hasCurrentChild||void 0,"aria-current":n.ariaCurrentProp,"data-style-type":e.styleType,onKeyup:o[6]||(o[6]=(0,d.jR)((0,d.D$)((...e)=>n.spaceKeyPress&&n.spaceKeyPress(...e),["stop","prevent"]),["space"])),onKeydown:o[7]||(o[7]=(0,d.jR)((0,d.D$)(()=>{},["stop","prevent"]),["space"])),onClick:o[8]||(o[8]=(0,d.D$)((...e)=>n.itemClick&&n.itemClick(...e),["stop"]))},[n.hasIcon?((0,a.uX)(),(0,a.Wv)(h.default,{key:0,"icon-name":n.iconName,class:"item-icon"},null,8,["icon-name"])):(0,a.Q3)("",!0),(0,a.bo)(((0,a.uX)(),(0,a.CE)("a",{class:"item-link",href:e.item.url??"",ref:"item-link",onClick:o[0]||(o[0]=(0,d.D$)(()=>{},["stop"]))},[e.item.deleted?((0,a.uX)(),(0,a.CE)("del",f,(0,i.v_)(e.item.title??""),1)):((0,a.uX)(),(0,a.CE)(a.FK,{key:1},[(0,a.eW)((0,i.v_)(e.item.title??""),1)],64))],8,v)),[[c,e.item]]),n.hasChildren?((0,a.uX)(),(0,a.Wv)(u,{key:1,direction:n.expanderButtonDirection,"aria-expanded":n.currentIsExpanded?"true":"false","aria-controls":n.levelElementId,onClick:n.expanderButtonClick},null,8,["direction","aria-expanded","aria-controls","onClick"])):(0,a.Q3)("",!0),n.showAdminIndicators?((0,a.uX)(),(0,a.Wv)((0,r.R1)(s),{key:2,deleted:e.item.deleted,hidden:e.item.hidden},null,8,["deleted","hidden"])):(0,a.Q3)("",!0),(0,a.bF)((0,r.R1)(t),{id:n.levelElementId,"parent-page-id":e.item.id,items:e.item.children,expanded:n.currentIsExpanded,"onUpdate:expanded":o[1]||(o[1]=e=>n.currentIsExpanded=e),"expand-axis-stack":e.expandAxisStack,"expanded-direction":e.expandDirection,"swap-direction":e.swapDirection,"is-last-item":e.isLastItem,"onUpdate:swapDirection":o[2]||(o[2]=e=>n.$emit("update:swap-direction",e)),"manual-expanding-mode":e.manualExpandingMode,"onUpdate:manualExpandingMode":o[3]||(o[3]=e=>n.$emit("update:manual-expanding-mode",e)),"style-type-stack":e.styleTypeStack},null,8,["id","parent-page-id","items","expanded","expand-axis-stack","expanded-direction","swap-direction","is-last-item","manual-expanding-mode","style-type-stack"])],42,k)}}}),b=(0,l.A)(I,[["__scopeId","data-v-339f56b9"]])}}]);

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.