@bimdata/viewer 2.17.0-beta.1 → 2.17.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,7 +37,7 @@
37
37
  --dashoffset-to: ${i.dashOffsetTo};`),onAnimationiteration:e[0]||(e[0]=a=>t.$emit("lap",(i.delay*i.laps-a.elapsedTime)/i.delay)),onAnimationend:e[1]||(e[1]=a=>t.$emit("stop"))},null,44,d$e)],8,c$e)),w("div",{class:"bimdata-pie-spinner__inside",style:ce({width:i.width+"px",height:i.width+"px"})},[gt(t.$slots,"default",{},void 0,!0)],4)])}const h$e=j(s$e,[["render",u$e],["__scopeId","data-v-70da4628"]]),p$e={model:{prop:"modelValue",event:"update:modelValue"},props:{big:{type:Boolean,default:!1},text:{type:String,default:null},value:{default:!0},modelValue:{},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],computed:{checked(){return this.modelValue===this.value}},methods:{onClick(){this.$emit("update:modelValue",this.value)}}},f$e=["disabled"],A$e={class:"bimdata-radio__text"};function g$e(t,e,i,o,r,n){return M(),_("button",{type:"button",class:de(["bimdata-radio",{disabled:i.disabled,"bimdata-radio--checked":n.checked,"bimdata-radio--big":i.big}]),disabled:i.disabled,onClick:e[0]||(e[0]=(...a)=>n.onClick&&n.onClick(...a))},[e[1]||(e[1]=w("div",{class:"bimdata-radio__btn"},[w("div",{class:"bimdata-radio__background"}),w("div",{class:"bimdata-radio__circle"}),w("div",{class:"bimdata-radio__dot"})],-1)),w("div",A$e,[gt(t.$slots,"default",{},()=>[Je(z(i.text),1)],!0)])],10,f$e)}const m$e=j(p$e,[["render",g$e],["__scopeId","data-v-91eb0639"]]),v$e={props:{itemWidth:{type:String,default:"100px"},rowGap:{type:String,default:"12px"},columnGap:{type:String,default:"12px"},isRepeatFit:{type:Boolean,default:!1}}};function y$e(t,e,i,o,r,n){return M(),_("div",{class:"bimdata-responsive-grid",style:ce({gridTemplateColumns:i.isRepeatFit?`repeat(auto-fit, minmax(${i.itemWidth}, 1fr))`:`repeat(auto-fill, minmax(${i.itemWidth}, 1fr))`,rowGap:i.rowGap,columnGap:i.columnGap})},[gt(t.$slots,"default",{},void 0,!0)],4)}const b$e=j(v$e,[["render",y$e],["__scopeId","data-v-b626b0fb"]]),w$e={components:{BIMDataIconClose:ay,BIMDataButton:ir},props:{reverse:{type:Boolean,default:!1}},emits:["confirm-delete","cancel-delete"]},C$e={class:"safe-zone-inline"};function x$e(t,e,i,o,r,n){const a=I("BIMDataButton"),s=I("BIMDataIconClose");return M(),_("div",C$e,[S(a,{class:"safe-zone-inline__btn-delete",color:"high",fill:"",radius:"",onClick:e[0]||(e[0]=l=>t.$emit("confirm-delete"))},{default:N(()=>[gt(t.$slots,"content",{},()=>[e[2]||(e[2]=Je("Delete",-1))],!0)]),_:3}),S(a,{class:"safe-zone-inline__btn-close",style:ce({width:"15px",order:i.reverse?-1:0}),width:"0px",radius:"",onClick:e[1]||(e[1]=l=>t.$emit("cancel-delete"))},{default:N(()=>[S(s,{size:"xxs",color:"granite"})]),_:1},8,["style"])])}const k$e=j(w$e,[["render",x$e],["__scopeId","data-v-b2effc6d"]]),M$e={components:{BIMDataIconClose:ay,BIMDataIconSearch:Gk,BIMDataButton:ir},directives:{focus:{inserted:function(t,{value:e}){e&&t.focus()}},clickaway:$s},model:{prop:"modelValue",event:"update:modelValue"},props:{modelValue:{type:String},placeholder:{type:String,default:""},width:{type:[Number,String],default:"150px"},height:{type:[Number,String],default:"32px"},autofocus:{type:Boolean,default:!1},clear:{type:Boolean,default:!1},radius:{type:Boolean,default:!1},square:{type:Boolean,default:!1},color:{type:String,default:"default",validator:t=>jk.includes(t)},autocomplete:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","enter","clear"],data(){return{inputVisible:!1,focused:!1}},computed:{classes(){return{"bimdata-search-bar__radius":this.radius,"bimdata-search-bar__square":this.square,[`bimdata-search-bar__${this.color}`]:this.color}}},methods:{away(){this.inputVisible=!1},focus(){this.$refs.input&&this.$refs.input.focus()},blur(){this.$refs.input&&this.$refs.input.blur()},clickClear(){this.$emit("update:modelValue",""),this.$emit("clear")}}},E$e={class:"bimdata-search-icon"},B$e=["value","placeholder","autocomplete","disabled"];function P$e(t,e,i,o,r,n){const a=I("BIMDataIconSearch"),s=I("BIMDataIconClose"),l=I("BIMDataButton"),c=si("focus"),d=si("clickaway");return yt((M(),_("div",{class:de(["bimdata-search-bar",{focus:r.focused,disabled:i.disabled,...n.classes}]),style:ce({width:i.width,height:i.height})},[w("span",E$e,[S(a,{size:"xxs"})]),yt(w("input",{ref:"input",value:i.modelValue,onFocus:e[0]||(e[0]=u=>r.focused=!0),onBlur:e[1]||(e[1]=u=>r.focused=!1),onInput:e[2]||(e[2]=u=>t.$emit("update:modelValue",u.target.value)),placeholder:i.placeholder,onKeyup:e[3]||(e[3]=Ut(u=>t.$emit("enter",u.target.value),["enter"])),autocomplete:i.autocomplete?"on":"off",disabled:i.disabled},null,40,B$e),[[c,i.autofocus]]),i.clear&&i.modelValue!==""?(M(),G(l,{key:0,width:"25px",onClick:e[4]||(e[4]=u=>n.clickClear())},{default:N(()=>[S(s,{size:"xxs"})]),_:1})):te("",!0)],6)),[[d,n.away]])}const I$e=j(M$e,[["render",P$e],["__scopeId","data-v-c3818791"]]),S$e={components:{BIMDataIconDefault:EH,BIMDataIconSearch:Gk,BIMDataTextbox:sy},directives:{clickaway:$s},props:{items:{type:Array,required:!0,default:()=>[]},isAllResultatsBtnActive:{type:Boolean,required:!1,default:!0},perPage:{type:Number,default:10,validator:t=>t>0},loading:{type:Boolean,default:!1},placeholder:{type:String,default:""},autoclear:{type:Boolean,default:!0}},data(){return{isOpen:!1,search:"",current:0}},computed:{results(){const t=["title","text","logo"];let e;return typeof this.search=="object"?e=this.search.title.toLowerCase()||this.search.text.toLowerCase():e=this.search.toLowerCase(),this.items.filter(i=>t.some(o=>typeof i[o]=="string"?i[o].toLowerCase().includes(e):!1)).slice(0,this.perPage)},openResults(){return this.search!==""&&this.results.length!==0&&this.isOpen===!0}},methods:{onChange(){this.$emit("input",this.search),this.isOpen===!1&&(this.isOpen=!0,this.current=-1)},onElementClick(t){this.$emit("item-click",t),this.isOpen=!1,this.autoclear&&(this.search="")},onAllResultatsBtnClick(){this.$emit("all-results-click",{results:this.results,search:this.search}),this.isOpen=!1,this.autoclear&&(this.search="")},onEnter(){this.$emit("enter",this.results[this.current].id),this.isOpen=!1,this.current=-1,this.autoclear&&(this.search="")},onArrowUp(){this.current>=1?this.current=this.current-1:this.current=this.results.length-1},onArrowDown(){this.current<this.results.length-1?this.current=this.current+1:this.current=0},focus(){this.isOpen=!0},away(){this.isOpen=!1}}},T$e={class:"bimdata-search-autocomplete"},R$e={class:"bimdata-search-autocomplete__input flex items-center"},L$e={class:"bimdata-search-icon flex"},D$e=["placeholder"],_$e={class:"bimdata-list p-y-6"},F$e={key:0,class:"loading"},O$e=["onClick"],U$e={class:"bimdata-search-autocomplete__dropdown__left m-r-12"},N$e=["src"],j$e={class:"bimdata-search-autocomplete__dropdown__right flex flex-col"},V$e={key:0,class:"title"},z$e={key:1,class:"text"};function H$e(t,e,i,o,r,n){const a=I("BIMDataIconSearch"),s=I("BIMDataIconDefault"),l=I("BIMDataTextbox"),c=si("clickaway");return yt((M(),_("div",T$e,[w("div",R$e,[w("span",L$e,[S(a,{fill:"",color:"default",size:"xxs"})]),yt(w("input",{class:"form-control p-l-36 p-r-12",type:"text","onUpdate:modelValue":e[0]||(e[0]=d=>r.search=d),placeholder:i.placeholder,onKeydown:[e[1]||(e[1]=Ut((...d)=>n.onEnter&&n.onEnter(...d),["enter"])),e[2]||(e[2]=Ut((...d)=>n.onArrowDown&&n.onArrowDown(...d),["down"])),e[3]||(e[3]=Ut((...d)=>n.onArrowUp&&n.onArrowUp(...d),["up"]))],onInput:e[4]||(e[4]=(...d)=>n.onChange&&n.onChange(...d)),onFocus:e[5]||(e[5]=(...d)=>n.focus&&n.focus(...d))},null,40,D$e),[[Fu,r.search]])]),w("div",{class:de(["bimdata-search-autocomplete__dropdown",{open:n.openResults}])},[w("ul",_$e,[i.loading?(M(),_("li",F$e,[gt(t.$slots,"loading",{},()=>[e[7]||(e[7]=w("p",{class:"text-center"},"loading results...",-1))],!0)])):(M(!0),_(Ye,{key:1},Mt(n.results,(d,u)=>(M(),_("li",{key:u,class:de([{active:u===r.current},"p-y-6 p-x-12 flex items-center"]),onClick:h=>n.onElementClick(d)},[gt(t.$slots,"left",{result:d},()=>[w("div",U$e,[d&&d.logo?(M(),_("img",{key:0,class:"logo",src:d.logo},null,8,N$e)):gt(t.$slots,"logoPlaceholder",{key:1},()=>[S(s,{fill:"",color:"default"})],!0)])],!0),w("div",j$e,[d&&d.title?(M(),_("span",V$e,z(d.title),1)):te("",!0),d&&d.text?(M(),_("span",z$e,[S(l,{text:d.text,width:"260px",cutPosition:"end",tooltip:!1},null,8,["text"])])):te("",!0)])],10,O$e))),128))]),i.isAllResultatsBtnActive?(M(),_("div",{key:0,class:"bimdata-search-autocomplete__dropdown__button flex items-center justify-center",onClick:e[6]||(e[6]=(...d)=>n.onAllResultatsBtnClick&&n.onAllResultatsBtnClick(...d))},' See all results for "'+z(r.search)+'" ',1)):te("",!0)],2)])),[[c,n.away]])}const q$e=j(S$e,[["render",H$e],["__scopeId","data-v-b485ea22"]]),Q$e={components:{BIMDataCheckbox:oy,BIMDataIconChevron:ps},directives:{clickaway:$s},model:{prop:"modelValue",event:"update:modelValue"},props:{width:{type:[String,Number]},label:{type:String,default:null},options:{type:Array,default:()=>[]},optionKey:{type:String},optionLabelKey:{type:String},modelValue:{type:Array},nullLabel:{type:String},disabled:{type:Boolean,default:!1},search:{type:Boolean,default:!1},searchPlaceholder:{type:String,default:"Search"},resetOnLeave:{type:Boolean,default:!1}},emits:["update:modelValue"],data(){return{isOpen:!1,searchText:""}},computed:{displayedValue(){return this.modelValue.map(this.optionLabel).join(", ")},filteredOptions(){if(this.searchText==="")return this.options;{const t=this.searchText.toLowerCase();return this.optionLabelKey?this.options.filter(e=>e[this.optionLabelKey].toLowerCase().includes(t)):this.optionKey?this.options.filter(e=>e.optionGroup||e[this.optionKey].toLowerCase().includes(t)):this.options.filter(e=>e.toLowerCase().includes(t))}}},methods:{toggle(){this.disabled||(this.isOpen=!this.isOpen)},optionValue(t){return this.optionKey&&t?t[this.optionKey]:t},optionLabel(t){return this.nullLabel&&t==null?this.nullLabel:this.optionLabelKey&&t?t[this.optionLabelKey]:this.optionKey&&t?t[this.optionKey]:t},isSelected(t){const e=this.optionValue(t);return this.modelValue.map(this.optionValue).includes(e)},isDisabled(t){return this.optionKey&&t&&t.disabled},isOptionGroup(t){return this.optionKey&&t&&t.optionGroup},onOptionClick(t){if(this.optionKey&&(t.disabled||t.optionGroup))return;let e;if(this.isSelected(t)){const i=this.optionValue(t);e=this.modelValue.filter(o=>this.optionValue(o)!==i)}else e=this.modelValue.concat(t);this.$emit("update:modelValue",e)},resetSearch(){this.clearSearchOnLeave&&(this.searchText="")},away(){this.isOpen=!1,this.resetSearch()}}},G$e={class:"bimdata-select__content"},K$e={class:"bimdata-select__content__label"},J$e={class:"bimdata-select__option-list"},Z$e={key:1},W$e={class:"bimdata-list m-y-6"},Y$e=["onClick"];function X$e(t,e,i,o,r,n){const a=I("BIMDataIconChevron"),s=I("BIMDataSearch"),l=I("BIMDataCheckbox"),c=si("clickaway");return yt((M(),_("div",{class:de(["bimdata-select",{disabled:i.disabled,active:r.isOpen,"not-empty":i.modelValue.length>0}]),style:ce({width:i.width})},[w("div",G$e,[w("div",{class:"bimdata-select__content__value",onClick:e[0]||(e[0]=(...d)=>n.toggle&&n.toggle(...d))},[w("span",null,z(n.displayedValue),1),S(a,{size:"xxs",rotate:r.isOpen?90:0},null,8,["rotate"])]),w("label",K$e,z(i.label),1),e[2]||(e[2]=w("span",{class:"bimdata-select__content__underline"},null,-1))]),S(Ai,{name:"slide-fade-down"},{default:N(()=>[yt(w("div",J$e,[i.search?(M(),G(s,{key:0,width:"calc(100% - 12px)",color:"primary",radius:"",placeholder:i.searchPlaceholder,modelValue:r.searchText,"onUpdate:modelValue":e[1]||(e[1]=d=>r.searchText=d),class:"m-6"},null,8,["placeholder","modelValue"])):te("",!0),n.filteredOptions.length===0?(M(),_("div",Z$e,[gt(t.$slots,"empty",{},void 0,!0)])):te("",!0),w("ul",W$e,[(M(!0),_(Ye,null,Mt(n.filteredOptions,(d,u)=>(M(),_("li",{class:de(["bimdata-select__option-list__entry",{selected:n.isSelected(d),disabled:n.isDisabled(d),"option-group":n.isOptionGroup(d)}]),key:u,onClick:h=>n.onOptionClick(d)},[n.isOptionGroup(d)?(M(),_(Ye,{key:0},[Je(z(n.optionLabel(d)),1)],64)):(M(),G(l,{key:1,modelValue:n.isSelected(d),disabled:n.isDisabled(d),text:n.optionLabel(d)},null,8,["modelValue","disabled","text"]))],10,Y$e))),128))])],512),[[Ht,!i.disabled&&r.isOpen]])]),_:3})],6)),[[c,n.away]])}const zH=j(Q$e,[["render",X$e],["__scopeId","data-v-cfb01881"]]),$$e={components:{BIMDataIconChevron:ps},directives:{clickaway:$s},model:{prop:"modelValue",event:"update:modelValue"},props:{width:{type:[String,Number]},label:{type:String,default:null},options:{type:Array,default:()=>[]},optionKey:{type:String},optionLabelKey:{type:String},modelValue:{type:[String,Object]},nullValue:{type:Boolean,default:!1},nullLabel:{type:String},disabled:{type:Boolean,default:!1},search:{type:Boolean,default:!1},searchPlaceholder:{type:String,default:"Search"},clearSearchOnLeave:{type:Boolean,default:!1}},emits:["update:modelValue"],data(){return{isOpen:!1,searchText:""}},computed:{displayedValue(){return this.optionLabel(this.modelValue)},filteredOptions(){if(this.searchText==="")return this.options;{const t=this.searchText.toLowerCase();return this.optionLabelKey?this.options.filter(e=>e[this.optionLabelKey].toLowerCase().includes(t)):this.optionKey?this.options.filter(e=>e.optionGroup||e[this.optionKey].toLowerCase().includes(t)):this.options.filter(e=>e.toLowerCase().includes(t))}}},methods:{toggle(){this.disabled||(this.isOpen=!this.isOpen)},optionValue(t){return this.optionKey&&t?t[this.optionKey]:t},optionLabel(t){return this.nullLabel&&t==null?this.nullLabel:this.optionLabelKey&&t?t[this.optionLabelKey]:this.optionKey&&t?t[this.optionKey]:t},isSelected(t){const e=this.optionValue(t);return this.optionValue(this.modelValue)===e},isDisabled(t){return this.optionKey&&t&&t.disabled},isOptionGroup(t){return this.optionKey&&t&&t.optionGroup},resetSearch(){this.clearSearchOnLeave&&(this.searchText="")},onOptionClick(t){this.optionKey&&(t.disabled||t.optionGroup)||(this.$emit("update:modelValue",t),this.resetSearch(),this.isOpen=!1)},onNullValueClick(){this.$emit("update:modelValue",null),this.resetSearch(),this.isOpen=!1},away(){this.isOpen=!1,this.resetSearch()}}},eet={class:"bimdata-select__content"},tet={class:"bimdata-select__content__label"},iet={class:"bimdata-select__option-list"},oet={key:1},ret={class:"bimdata-list m-y-6"},net=["onClick"];function aet(t,e,i,o,r,n){const a=I("BIMDataIconChevron"),s=I("BIMDataSearch"),l=si("clickaway");return yt((M(),_("div",{class:de(["bimdata-select",{disabled:i.disabled,active:r.isOpen,"not-empty":i.modelValue!==void 0&&i.modelValue!==null}]),style:ce({width:i.width})},[w("div",eet,[w("div",{class:"bimdata-select__content__value",onClick:e[0]||(e[0]=(...c)=>n.toggle&&n.toggle(...c))},[w("span",null,z(n.displayedValue),1),S(a,{size:"xxs",rotate:r.isOpen?90:0},null,8,["rotate"])]),w("label",tet,z(i.label),1),e[3]||(e[3]=w("span",{class:"bimdata-select__content__underline"},null,-1))]),S(Ai,{name:"slide-fade-down"},{default:N(()=>[yt(w("div",iet,[i.search?(M(),G(s,{key:0,width:"calc(100% - 12px)",color:"primary",radius:"",placeholder:i.searchPlaceholder,modelValue:r.searchText,"onUpdate:modelValue":e[1]||(e[1]=c=>r.searchText=c),class:"m-6"},null,8,["placeholder","modelValue"])):te("",!0),n.filteredOptions.length===0?(M(),_("div",oet,[gt(t.$slots,"empty",{},void 0,!0)])):te("",!0),w("ul",ret,[i.nullValue?(M(),_("li",{key:0,class:"bimdata-select__option-list__entry",onClick:e[2]||(e[2]=c=>n.onNullValueClick())},z(i.nullLabel||"None"),1)):te("",!0),(M(!0),_(Ye,null,Mt(n.filteredOptions,(c,d)=>(M(),_("li",{class:de(["bimdata-select__option-list__entry",{selected:n.isSelected(c),disabled:n.isDisabled(c),"option-group":n.isOptionGroup(c)}]),key:d,onClick:u=>n.onOptionClick(c)},z(n.optionLabel(c)),11,net))),128))])],512),[[Ht,!i.disabled&&r.isOpen]])]),_:3})],6)),[[l,n.away]])}const HH=j($$e,[["render",aet],["__scopeId","data-v-53825b9f"]]),set={components:{BIMDataSelectMulti:zH,BIMDataSelectSingle:HH},model:{prop:"modelValue",event:"update:modelValue"},props:{width:{type:[String,Number],default:"100%"},label:{type:String,default:null},options:{type:Array,default:()=>[]},optionKey:{type:String},optionLabelKey:{type:String},modelValue:{type:[String,Object,Array]},multi:{type:Boolean,default:!1},nullValue:{type:Boolean,default:!1},nullLabel:{type:String},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:e,slots:i}){return()=>mo(t.multi?zH:HH,{...t,"onUpdate:modelValue":o=>e("update:modelValue",o)},{empty:()=>i.empty?.()})}},cet={props:{barsData:{type:Array,default:()=>[]},barDistanceFromCenter:{type:Number,default:50},barStrokeWidth:{type:Number,default:10},placeholder:{type:Boolean,default:!1},placeholderStrokeWidth:{type:Number,default:4},placeholderColor:{type:String,default:"#EBEBEB"},graphDrawTime:{type:Number,default:4}},computed:{roundCapPercentageOffset(){const t=this.barStrokeWidth/2-4,e=this.barDistanceFromCenter*2*Math.PI;return t/e*100},center(){return this.viewBoxSize/2},displayedBarsData(){let t=0;return this.barsData.map(e=>{const i={...e,previousPercentageSum:t};return t+=+e.percentage,i})},viewBoxSize(){return this.barDistanceFromCenter*2+this.barStrokeWidth},viewBox(){return`0 0 ${this.viewBoxSize} ${this.viewBoxSize}`}},methods:{getPath(t){let e=t.percentage-2*this.roundCapPercentageOffset,i=t.previousPercentageSum+this.roundCapPercentageOffset;+t.percentage==100&&(e=99.999,i=0);const o=this.getPercentagePosition(i),r=this.barDistanceFromCenter;return`M${o.x},${o.y} A${r} ${r} 0 ${this.getTarget(e,i)}`},getPercentagePosition(t){const e=this.barDistanceFromCenter,i=t/100*Math.PI*2-Math.PI/2,o=e*Math.cos(i)+this.center,r=e*Math.sin(i)+this.center;return{x:o,y:r}},getTarget(t,e){const i=t>50?1:0,{x:o,y:r}=this.getPercentagePosition(t+e);return`${i} 1 ${o},${r}`}}},det={class:"bimdata-simple-pie-chart",ref:"container"},uet=["viewBox"],het=["cx","cy","r","stroke-width","stroke"],pet=["d","stroke-width","stroke"];function fet(t,e,i,o,r,n){return M(),_("div",det,[(M(),_("svg",{viewBox:n.viewBox,style:ce(`--graph-draw-time: ${i.graphDrawTime}s;`)},[i.placeholder?(M(),_("circle",{key:0,cx:n.center,cy:n.center,r:i.barDistanceFromCenter,"stroke-width":i.placeholderStrokeWidth,stroke:i.placeholderColor,fill:"none"},null,8,het)):te("",!0),(M(!0),_(Ye,null,Mt(n.displayedBarsData,(a,s)=>(M(),_("g",{key:s},[a.percentage>0?(M(),_("path",{key:0,class:"path",d:n.getPath(a),"stroke-width":i.barStrokeWidth,stroke:a.color,fill:"none"},null,8,pet)):te("",!0)]))),128))],12,uet))],512)}const Aet=j(cet,[["render",fet],["__scopeId","data-v-4572e7e7"]]),get={props:{min:{type:[Number,String],default:null},max:{type:[Number,String],default:null},step:{type:[Number,String],default:null},modelValue:{type:Number,default:0},disabled:{type:Boolean,default:!1},tooltip:{type:Boolean,default:!1}},emits:["update:modelValue"],data(){return{backgroundSize:0,tooltipPosition:`calc(${this.modelValue}% + (${8-this.modelValue*.18}px))`}},watch:{modelValue(){this.$nextTick(()=>{this.backgroundSize=this.getBackgroundSize(),this.tooltip&&this.getTooltipPosition()})}},mounted(){this.backgroundSize=this.getBackgroundSize()},methods:{getBackgroundSize(){const t=this.$refs.input;if(!t)return null;const e=+t.min||0,i=+t.max||100;return(+t.value-e)/(i-e)*100},onInput(t){this.$emit("update:modelValue",+t.target.value)},getTooltipPosition(){const t=this.min?this.min:0,e=this.max?this.max:100,i=Number((this.modelValue-t)*100/(e-t));this.tooltipPosition=`calc(${i}% + (${8-i*.18}px))`}}},met={class:"bimdata-slider"},vet=["min","max","step","value","disabled"];function yet(t,e,i,o,r,n){return M(),_("div",met,[w("input",{ref:"input",class:"bimdata-slider-input",type:"range",style:ce(`--background-size: ${r.backgroundSize}%`),min:i.min,max:i.max,step:i.step,value:i.modelValue,disabled:i.disabled,onInput:e[0]||(e[0]=(...a)=>n.onInput&&n.onInput(...a))},null,44,vet),i.tooltip?(M(),_("output",{key:0,class:"bimdata-slider-tooltip",style:ce({left:r.tooltipPosition})},z(i.modelValue),5)):te("",!0)])}const bet=j(get,[["render",yet],["__scopeId","data-v-de9cce2c"]]);function wet(t,e,{rowSelectionUpdateEffect:i=()=>{},rowSelectionToggleEffect:o=()=>{},fullSelectionToggleEffect:r=()=>{}}={}){const n=re(new Map);return dt(t,()=>{n.value=new Map(t.value.filter(({key:a})=>e.value.has(a)).map(({key:a,data:s})=>[a,s]))},{immediate:!0}),dt(e,()=>{n.value=e.value},{immediate:!0}),dt(n,()=>{i(n.value)}),{rowSelection:n,toggleRowSelection:({key:a,data:s})=>{const l=()=>n.value.has(a);l()?n.value.delete(a):n.value.set(a,s),n.value=new Map([...n.value.entries()]),o(l(),{key:a,data:s})},toggleFullSelection:()=>{const a=()=>n.value.size>0;a()?n.value=new Map:n.value=new Map(t.value.map(({key:s,data:l})=>[s,l])),r(a())}}}const Cet={components:{BIMDataButton:ir,BIMDataIconCaret:qk},props:{sortOrder:{type:String,required:!0,validator:t=>["asc","desc"].includes(t)},index:{type:Number,required:!0},active:{type:Boolean,required:!0}},setup(t,{emit:e}){return{toggleActive:()=>{e("set-active",t.index)}}}};function xet(t,e,i,o,r,n){const a=I("BIMDataIconCaret"),s=I("BIMDataButton");return M(),_("span",{class:de([i.sortOrder==="asc"?"asc":"desc","m-l-6"]),onMousedown:e[0]||(e[0]=vt(()=>{},["prevent"]))},[S(s,{color:"primary",ghost:"",rounded:"",icon:"",class:de({active:i.active}),onClick:o.toggleActive},{default:N(()=>[S(a,{rotate:i.sortOrder==="desc"?180:0,size:"xxxs",fill:"",color:"default"},null,8,["rotate"])]),_:1},8,["class","onClick"])],34)}const ket=j(Cet,[["render",xet],["__scopeId","data-v-cddfddda"]]),Met={components:{BIMDataCheckbox:oy},props:{column:{type:Object,required:!0},columnData:{type:Array,required:!0},filters:{type:Array,required:!0}},emits:["filter"],setup(t,{emit:e}){const i=t.column,o=Re(()=>{const r=t.columnData.filter(n=>n!==null);return[...new Set(r.flatMap(n=>typeof i.filterFunction=="function"?i.filterFunction(n):(Array.isArray(n)||(n=[n]),i?.filterKey?n.map(a=>a[i?.filterKey]):n)))]});return{columnElements:Re(()=>o.value.map(r=>({data:r,checked:t.filters.includes(r)}))),toggle:(r,n)=>{const a=new Set(t.filters);n?a.add(r):a.delete(r),e("filter",[...a])}}}},Eet={class:"column-filters p-12"},Bet={key:0,class:"column-filters__element flex align-center"};function Pet(t,e,i,o,r,n){const a=I("BIMDataCheckbox");return M(),_("div",Eet,[o.columnElements.length===0?(M(),_("div",Bet,[gt(t.$slots,"column-filter-empty",{},void 0,!0)])):te("",!0),(M(!0),_(Ye,null,Mt(o.columnElements,s=>(M(),_("div",{key:s.data,class:"column-filters__element flex align-center"},[S(a,{text:s.data,modelValue:s.checked,"onUpdate:modelValue":l=>o.toggle(s.data,l)},null,8,["text","modelValue","onUpdate:modelValue"])]))),128))])}const Iet=j(Met,[["render",Pet],["__scopeId","data-v-6192724c"]]),Tet={components:{BIMDataButton:ir,BIMDataCheckbox:oy,BIMDataIconCaret:qk,BIMDataIconChevron:ps,ColumnSorting:ket,ColumnFilters:Iet},directives:{clickaway:$s},props:{columns:{type:Array,required:!0},rows:{type:Array,required:!0},rowKey:{type:String},rowHeight:{type:Number,default:50},selectable:{type:Boolean,default:!1},selection:{type:Map,default:()=>new Map},paginated:{type:Boolean,default:!1},perPage:{type:Number,default:10},placeholder:{type:String,default:""},tableWidth:{type:String,default:"100%"},tableLayout:{type:String,default:"auto"},canDragOverRow:{type:Function,default:()=>!1}},emits:["update:selection","selection-changed","row-selected","row-deselected","all-selected","all-deselected","row-drop"],setup(t,{emit:e}){const i=Re(()=>t.rows.map((R,L)=>({key:R[t.rowKey]??L,data:R}))),{rowSelection:o,toggleRowSelection:r,toggleFullSelection:n}=wet(i,Re(()=>t.selection),{rowSelectionUpdateEffect:R=>{e("update:selection",R),e("selection-changed",Array.from(R.values()))},rowSelectionToggleEffect:(R,{data:L})=>{e(R?"row-selected":"row-deselected",L)},fullSelectionToggleEffect:R=>{e(R?"all-selected":"all-deselected")}}),a=Re(()=>o.value.size<t.rows.length?o.value.size>0?null:!1:o.value.size>0),s=R=>{t.selectable&&r(R)},l=()=>{t.selectable&&n()},c=(R,L)=>{t.canDragOverRow(R)&&(e("row-drop",{data:R,event:L}),d.value=null)},d=re(null),u=(R,L,F)=>{t.canDragOverRow(L)&&(F.preventDefault(),d.value=R)},h=()=>{d.value=null},p=re(null),A=R=>{p.value===R.id?p.value=null:p.value=R.id},f=R=>{R.id===p.value&&(p.value=null)},m=hr({column:null,order:null}),g=re([]),y=Re(()=>{if(m.column){const R=m.order!=="desc"?1:-1;if(m.column.sortFunction){const L=(F,U)=>m.column.sortFunction(F.data,U.data)*R;return Array.from(i.value).sort(L)}else return Array.from(i.value).sort((L,F)=>L.data[m.column.id]<F.data[m.column.id]?R:L.data[m.column.id]>F.data[m.column.id]?-R:0)}return g.value.length>0?Array.from(i.value).filter(R=>R.data[g.value[0].id]===g.value[0].text):i.value}),v=R=>{m.column===R?m.order=m.order==="asc"?"desc":"asc":(m.column=R,m.order=R.defaultSortOrder??"asc")},b=re([]),x=Re(()=>y.value.filter(R=>b.value.every(L=>{const F=t.columns.find(q=>q.id===L.columnKey),U=R.data[L.columnKey];if(U!==null)return Array.isArray(U)?U.some(q=>L.columnFilters.includes(typeof F.filterFunction=="function"?F.filterFunction(q):F.filterKey?q[F.filterKey]:q)):L.columnFilters.includes(typeof F.filterFunction=="function"?F.filterFunction(U):F.filterKey?U[F.filterKey]:U)}))),k=(R,L)=>{b.value=b.value.filter(F=>F.columnKey!==R.id),L.length>0&&b.value.push({columnKey:R.id,columnFilters:L})},E=re([]),B=re(0),P=re(1),T=re(t.perPage);return dt([x,()=>t.perPage],()=>{B.value=0},{immediate:!0}),dt([x,()=>t.paginated,()=>t.perPage,B],([R,L,F,U])=>{const q=R.map(V=>V.key);if(L){const V=F*U,W=V+F;E.value=q.slice(V,W),P.value=V+1,T.value=Math.min(W,R.length)}else E.value=q},{immediate:!0}),{activeHeadercolumnKey:null,computedRows:i,paginatedRows:E,pageIndex:B,pageIndexEnd:T,pageIndexStart:P,rowSelection:o,dragOveredRowKey:d,displayedColumnFilterId:p,filteringColumns:g,filters:b,selectionState:a,sortObject:m,awayFromFilter:f,onDrop:c,onDragover:u,onDragleave:h,toggleAll:l,toggleRow:s,toggleSorting:v,updateFilters:k,toggleFiltersMenu:A,displayedRows:x}}},Ret={class:"bimdata-table"},Let={key:0,class:"cell-checkbox"},Det={style:{display:"inline-flex","align-items":"center"}},_et={key:1},Fet={key:"head-row-1"},Oet=["colspan"],Uet=["onDrop","onDragover"],Net={key:0,class:"cell-checkbox"},jet={class:"bimdata-table__page-nav__text"};function Vet(t,e,i,o,r,n){const a=I("BIMDataCheckbox"),s=I("ColumnSorting"),l=I("BIMDataIconCaret"),c=I("BIMDataButton"),d=I("ColumnFilters"),u=I("BIMDataIconChevron"),h=si("clickaway");return M(),_("div",Ret,[w("div",{class:"bimdata-table__container",style:ce({height:i.paginated?`${(i.perPage+1)*i.rowHeight}px`:void 0})},[w("table",{style:ce({width:i.tableWidth,tableLayout:i.tableLayout})},[w("thead",null,[w("tr",{key:"head-row-0",style:ce({height:`${i.rowHeight}px`})},[i.selectable?(M(),_("th",Let,[S(a,{disabled:i.rows.length===0,modelValue:o.selectionState,"onUpdate:modelValue":o.toggleAll},null,8,["disabled","modelValue","onUpdate:modelValue"])])):te("",!0),(M(!0),_(Ye,null,Mt(i.columns,(p,A)=>(M(),_("th",{key:`head-row-0-col-${A}`,style:ce({width:p.width||"auto",textAlign:p.align||"left"})},[w("div",Det,[Je(z(p.id?p.label||p.id:p)+" ",1),gt(t.$slots,"column-header-right",{},void 0,!0),p.sortable?(M(),G(s,{key:0,sortOrder:!o.sortObject.order||o.sortObject.column!==p?"asc":o.sortObject.order,index:A,active:A===o.activeHeadercolumnKey,onClick:f=>o.toggleSorting(p),onSetActive:e[0]||(e[0]=f=>o.activeHeadercolumnKey=f)},null,8,["sortOrder","index","active","onClick"])):te("",!0),p.filter?yt((M(),_("div",_et,[S(c,{color:"primary",ghost:"",rounded:"",icon:"",class:de(["m-l-6",{active:o.filters.some(f=>f.columnKey===p.id)}]),onClick:f=>o.toggleFiltersMenu(p)},{default:N(()=>[S(l,{size:"xxxs",fill:"",color:"default"})]),_:1},8,["class","onClick"]),o.displayedColumnFilterId===p.id?(M(),G(d,{key:0,column:p,columnData:o.computedRows.map(f=>f.data[p.id]),filters:o.filters.find(f=>f.columnKey===p.id)?.columnFilters??[],onFilter:f=>o.updateFilters(p,f)},{"column-filter-empty":N(()=>[gt(t.$slots,"column-filter-empty",{},void 0,!0)]),_:3},8,["column","columnData","filters","onFilter"])):te("",!0)])),[[h,()=>o.awayFromFilter(p)]]):te("",!0)])],4))),128))],4),w("tr",Fet,[w("th",{class:"cell-sub-header",colspan:i.columns.length+i.selectable},[gt(t.$slots,"sub-header",{},void 0,!0)],8,Oet)])]),w("tbody",{onDragleave:e[1]||(e[1]=(...p)=>o.onDragleave&&o.onDragleave(...p))},[(M(!0),_(Ye,null,Mt(o.displayedRows,({key:p,data:A})=>yt((M(),_("tr",{key:`body-row-${p}`,style:ce({height:`${i.rowHeight}px`}),onDrop:f=>o.onDrop(A,f),onDragover:f=>o.onDragover(p,A,f),class:de({"bimdata-table__row--drag-overed":o.dragOveredRowKey===p})},[i.selectable?(M(),_("td",Net,[S(a,{modelValue:o.rowSelection.has(p),"onUpdate:modelValue":f=>o.toggleRow({key:p,data:A})},null,8,["modelValue","onUpdate:modelValue"])])):te("",!0),(M(!0),_(Ye,null,Mt(i.columns,(f,m)=>(M(),_("td",{key:`body-row-${p}-col-${m}`,style:ce({width:f.width||"auto",textAlign:f.align||"left"})},[gt(t.$slots,`cell-${f.id}`,{row:A},()=>[Je(z(A[f.id]||A[m]),1)],!0)],4))),128))],46,Uet)),[[Ht,o.paginatedRows.includes(p)]])),128))],32)],4),i.rows.length===0?(M(),_("div",{key:0,class:"bimdata-table__container__placeholder",style:ce({height:`calc(100% - ${i.rowHeight}px)`})},[gt(t.$slots,"placeholder",{},()=>[Je(z(i.placeholder),1)],!0)],4)):te("",!0)],4),i.paginated?(M(),_("div",{key:0,class:"bimdata-table__page-nav",style:ce({visibility:o.displayedRows.length>i.perPage?"visible":"hidden"})},[S(c,{ghost:"",rounded:"",icon:"",disabled:o.pageIndexStart===1,onClick:e[2]||(e[2]=p=>o.pageIndex--)},{default:N(()=>[S(u,{size:"s",rotate:180})]),_:1},8,["disabled"]),w("span",jet,z(`${o.pageIndexStart} - ${o.pageIndexEnd} / ${o.displayedRows.length}`),1),S(c,{ghost:"",rounded:"",icon:"",disabled:o.pageIndexEnd===o.displayedRows.length,onClick:e[3]||(e[3]=p=>o.pageIndex++)},{default:N(()=>[S(u,{size:"s"})]),_:1},8,["disabled"])],4)):te("",!0)])}const zet=j(Tet,[["render",Vet],["__scopeId","data-v-e91e8e65"]]),Het={components:{BIMDataButton:ir,BIMDataIconChevron:ps},props:{width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"32px"},tabs:{type:Array,required:!0},tabSize:{type:[String,Number],default:"120px"},selected:{type:[String,Number]}},emits:["tab-click","tab-selected"],data(){return{scrollValues:[],displayIndex:0,activeTab:{}}},computed:{containerWidth(){return Number.isNaN(+this.width)?this.width:`${this.width}px`},containerHeight(){return Number.isNaN(+this.height)?this.height:`${this.height}px`},tabWidth(){return Number.isNaN(+this.tabSize)?this.tabSize:`${this.tabSize}px`}},watch:{tabs(){this.$nextTick(()=>this._setScrollValues())},tabSize(){this.$nextTick(()=>this._setScrollValues())},selected(t){this._setSelected(t)}},mounted(){this.resizeObserver=new ResizeObserver(()=>this._setScrollValues()),this.resizeObserver.observe(this.$refs.container),this._setScrollValues(),this._setSelected(this.selected)},beforeUnmount(){this.resizeObserver.disconnect()},beforeDestroy(){this.resizeObserver.disconnect()},methods:{prev(){this.displayIndex--,this.$refs.container.scrollTo(this.scrollValues[this.displayIndex],0)},next(){this.displayIndex++,this.$refs.container.scrollTo(this.scrollValues[this.displayIndex],0)},onTabClick(t){this.activeTab=t,this.$emit("tab-click",t),this.$emit("tab-selected",t)},_setSelected(t){if(typeof t=="number"&&t>=0&&t<this.tabs.length)this.activeTab=this.tabs[t],this.$emit("tab-selected",this.activeTab);else{const e=this.tabs.find(i=>i.id===t);e&&(this.activeTab=e,this.$emit("tab-selected",this.activeTab))}},_setScrollValues(){if(this.displayIndex=0,this.tabs.length>0){let t=this.$refs.container.offsetWidth,e=this.$refs.container.querySelector(".bimdata-tabs__container__tab").offsetWidth;Math.floor((this.tabs.length*e-t)*10/e)>0?this.scrollValues=[0].concat(this.tabs.map((i,o)=>(o+1)*e-t).filter(i=>i>0)):this.scrollValues=[]}}}},qet=["onClick"];function Qet(t,e,i,o,r,n){const a=I("BIMDataIconChevron"),s=I("BIMDataButton");return M(),_("div",{class:"bimdata-tabs",style:ce({width:i.width})},[yt(S(s,{disabled:r.displayIndex===0,onClick:n.prev},{default:N(()=>[S(a,{class:"fill-primary",size:"xxs",rotate:180})]),_:1},8,["disabled","onClick"]),[[Ht,r.scrollValues.length>1]]),w("ul",{ref:"container",class:"bimdata-tabs__container",style:ce({width:n.containerWidth,minHeight:n.containerHeight})},[(M(!0),_(Ye,null,Mt(i.tabs,l=>(M(),_("li",{key:l.id,class:de(["bimdata-tabs__container__tab",{active:l.id===r.activeTab.id}]),style:ce({minWidth:n.tabWidth}),onClick:c=>n.onTabClick(l)},[gt(t.$slots,"tab",{tab:l,active:l.id===r.activeTab.id},()=>[Je(z(l.label),1)],!0)],14,qet))),128))],4),yt(S(s,{disabled:r.displayIndex===r.scrollValues.length-1,onClick:n.next},{default:N(()=>[S(a,{class:"fill-primary",size:"xxs"})]),_:1},8,["disabled","onClick"]),[[Ht,r.scrollValues.length>1]])],4)}const Get=j(Het,[["render",Qet],["__scopeId","data-v-7da61e21"]]),Ket={model:{prop:"modelValue",event:"update:modelValue"},props:{name:{type:[String,Number],default:""},resizable:{type:Boolean,default:!0},modelValue:{type:[String,Number],default:null},placeholder:{type:String,default:null},label:{type:String,default:""},width:{type:[Number,String],default:"150px"},height:{type:[Number,String],default:"32px"},error:{type:Boolean,default:!1},success:{type:Boolean,default:!1},errorMessage:{type:String,default:""},successMessage:{type:String,default:""},fitContent:{type:Boolean,default:!1}},emits:["update:modelValue"],created(){this.$watch(()=>this.success&&this.error,t=>{if(t)throw new Error("Textarea state cannot be both success and error.")})},mounted(){this.fitContent&&this.handleFitContent()},methods:{focus(){this.$refs.textarea&&this.$refs.textarea.focus()},blur(){this.$refs.textarea&&this.$refs.textarea.blur()},handleFitContent(){this.$refs.textarea.style.height="auto",this.$refs.textarea.style.height=this.$refs.textarea.scrollHeight+"px"},onInput(t){this.$emit("update:modelValue",t.currentTarget.value),this.fitContent&&this.handleFitContent()}}},Jet=["name","id","value","placeholder"],Zet=["for"],Wet={key:0,class:"error"},Yet={key:1,class:"success"};function Xet(t,e,i,o,r,n){return M(),_("div",{class:de(["bimdata-textarea",{"not-empty":i.modelValue!==null&&i.modelValue!==""||i.placeholder!==null,error:i.error,success:i.success}]),style:ce({"min-width":i.width,"min-height":i.height})},[w("textarea",xn({ref:"textarea",name:i.name,id:i.name,value:i.modelValue,placeholder:i.placeholder,style:`${i.resizable?"":"resize: none;"}`,onInput:e[0]||(e[0]=(...a)=>n.onInput&&n.onInput(...a))},t.$attrs),null,16,Jet),w("label",{for:i.name},z(i.label),9,Zet),e[1]||(e[1]=w("span",{class:"bar"},null,-1)),i.error?(M(),_("span",Wet,z(i.errorMessage),1)):te("",!0),i.success?(M(),_("span",Yet,z(i.successMessage),1)):te("",!0)],6)}const $et=j(Ket,[["render",Xet],["__scopeId","data-v-77c71958"]]),ett={model:{prop:"modelValue",event:"update:modelValue"},props:{disabled:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],data(){return{uniqueId:null}},computed:{checkedValue:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}}},created(){this.uniqueId=Math.random().toString()}},ttt=["for"],itt=["disabled","id"];function ott(t,e,i,o,r,n){return M(),_("label",{for:`bimdata-toggle-${r.uniqueId}`,class:de([{active:i.modelValue,disabled:i.disabled},"toggle__button"])},[gt(t.$slots,"default",{},void 0,!0),yt(w("input",{type:"checkbox",disabled:i.disabled,id:`bimdata-toggle-${r.uniqueId}`,"onUpdate:modelValue":e[0]||(e[0]=a=>n.checkedValue=a)},null,8,itt),[[Qm,n.checkedValue]]),e[1]||(e[1]=w("span",{class:"toggle__switch"},null,-1)),gt(t.$slots,"right",{},void 0,!0)],10,ttt)}const rtt=j(ett,[["render",ott],["__scopeId","data-v-ab3de434"]]),ntt={props:{text:{type:String,default:""},maxWidth:{type:String,default:"240px"},position:{type:String,default:"bottom",validator:t=>["top","right","bottom","left"].includes(t)},color:{type:String,default:"primary",validator:t=>["white","primary","secondary","granite-light","silver-light","success","warning","high"].includes(t)},disabled:{type:Boolean,default:!1},message:{type:String},className:{type:[String,Array]}},data(){return{width:null,height:null,parentHeight:null,hover:!1}},computed:{isDisplayed(){return!this.disabled&&this._text&&this.hover},_text(){return this.text||this.message},_className(){return[this.className].flat()}}},att={class:"bimdata-tooltip"};function stt(t,e,i,o,r,n){return M(),_("div",att,[w("div",{class:"bimdata-tooltip__content",onMouseover:e[0]||(e[0]=a=>r.hover=!0),onMouseleave:e[1]||(e[1]=a=>r.hover=!1)},[gt(t.$slots,"content",{},void 0,!0),gt(t.$slots,"default",{},void 0,!0)],32),S(Ai,{name:"fade"},{default:N(()=>[yt(w("div",{ref:"tooltipText",class:de(["bimdata-tooltip__tooltip",[`bimdata-tooltip__tooltip--${i.position}`,`bimdata-tooltip__tooltip--${i.color}`,...n._className]]),style:ce({maxWidth:i.maxWidth})},z(n._text),7),[[Ht,n.isDisplayed]])]),_:1})])}const ltt=j(ntt,[["render",stt],["__scopeId","data-v-36856a43"]]);let Wk,qH;qH={inject:["root"],props:{node:{type:Object,required:!0,validator:t=>Number.isFinite(t?.id)||typeof t?.id=="string"},depth:{type:Number,default:0},dragAndDrop:{type:Boolean,default:!1}},render(){const{node:t,depth:e,dragAndDrop:i,root:o}=this,r=o.state;return t.children.map(n=>mo(Wk,{node:n,depth:e,dragAndDrop:i,key:n.id},()=>o.$slots.node?.({node:n,depth:e,selected:n.id===r.selectedId,hovered:n.id===r.hoveredNode?.id,ancestorSelected:r.hasAncestorSelected(n),dragAndDrop:i})))}},Wk={name:"Node",components:{NodeChildren:qH},inject:["root"],props:{node:{type:Object,required:!0},depth:{type:Number,default:0},dragAndDrop:{type:Boolean,default:!1}},setup(t){const e=at("state");let i=null;co(t.node.visibleRef)?i=t.node.visibleRef:i=re(!0);let o=null;co(t.node.expandedRef)?o=t.node.expandedRef:o=re(!1);const r=re(null);let n=null;const a=()=>{if(!t.node.children?.length||!e.dragPosition||e.hoveredNode?.id!==t.node.id||o.value){clearTimeout(n),n=null;return}const h=e.getNodeDropPosition(t.node,r.value);if(h!=="center"&&h!=="bottom"){clearTimeout(n),n=null;return}n===null&&(n=setTimeout(()=>{o.value=!0,n=null},500))};dt(()=>e.dragPosition&&e.hoveredNode,a);const s=()=>e.onNodeMouseEnter(t.node),l=h=>e.onNodeMouseDown(t.node,h),c=h=>{e.onNodeMouseMove(h),a()},d=Re(()=>!t.dragAndDrop||!e.dragPosition||e.hoveredNode?.id!==t.node.id?null:e.getNodeDropPosition(t.node,r.value)),u=()=>e.onNodeMouseUp(t.node,r.value,o.value);return{state:e,nodeRef:r,expanded:o,visible:i,dropHelperPosition:d,hasAncestorSelected:e.hasAncestorSelected,onMouseEnter:s,onMouseDown:l,onMouseMove:c,onMouseUp:u}}};const ctt=Wk,dtt={class:"bimdata-tree__node__content__element"};function utt(t,e,i,o,r,n){const a=I("BIMDataIcon"),s=I("NodeChildren");return M(),_(Ye,null,[yt(w("div",{ref:"nodeRef",class:de(["bimdata-tree__node",{"bimdata-tree__node--selected":t.node.id===t.state.selectedId,"bimdata-tree__node--ancestor-selected":t.hasAncestorSelected(t.node),"bimdata-tree__node--highlighted":t.node.id===t.state.highlightedId}]),onMouseenter:e[2]||(e[2]=(...l)=>t.onMouseEnter&&t.onMouseEnter(...l)),onMousedown:e[3]||(e[3]=(...l)=>t.onMouseDown&&t.onMouseDown(...l)),onMousemove:e[4]||(e[4]=(...l)=>t.onMouseMove&&t.onMouseMove(...l)),onMouseup:e[5]||(e[5]=(...l)=>t.onMouseUp&&t.onMouseUp(...l))},[t.dropHelperPosition==="top"||t.dropHelperPosition==="bottom"?(M(),_("div",{key:0,class:"bimdata-tree__node__drop-helper",style:ce(`--drop-helper-top: ${t.dropHelperPosition==="top"?"0px":"30px"};`)},null,4)):te("",!0),w("div",{class:"bimdata-tree__node__content",style:ce(`padding-left: calc(var(--spacing-unit) * 2 * ${t.depth});`)},[w("div",{class:"bimdata-tree__node__content__arrow",onMousedown:e[1]||(e[1]=vt(()=>{},["stop"]))},[t.node.children?.length>0?(M(),_("div",{key:0,class:"bimdata-tree__node__content__arrow__content",onClick:e[0]||(e[0]=l=>t.expanded=!t.expanded)},[S(a,{name:"chevron",size:"xxxs",rotate:t.expanded?90:0},null,8,["rotate"])])):te("",!0)],32),w("div",dtt,[gt(t.$slots,"default",{},()=>[Je(z(t.node.label),1)],!0)])],4)],34),[[Ht,t.visible]]),t.node.children?.length>0&&t.expanded?(M(),G(s,{key:0,node:t.node,depth:t.depth+1,"drag-and-drop":t.dragAndDrop},null,8,["node","depth","drag-and-drop"])):te("",!0)],64)}const htt=j(ctt,[["render",utt],["__scopeId","data-v-72a6c509"]]);function ptt(t,e){const i=hr({selectedId:null,highlightedId:null,hoveredNode:null,trees:t.data,dragPosition:null});dt(()=>t.selectedId,()=>{i.selectedId=t.selectedId??null}),dt(()=>t.highlightedId,()=>{i.highlightedId=t.highlightedId??null}),dt(()=>i.hoveredNode,()=>e("hover",i.hoveredNode));const o=di(null);dt(()=>t.data,y=>{i.trees=y});const r=()=>{o.value=null,i.dragPosition=null},n=y=>{i.hoveredNode=y},a=(y,v)=>{v.stopPropagation(),e("click",y),o.value=y,window.addEventListener("mouseup",r,{once:!0})},s=y=>{if(!o.value)return;const{clientX:v,clientY:b}=y;i.dragPosition={x:v,y:b}},l=(y,v,b)=>{if(!t.dragAndDrop||!i.dragPosition||i.hoveredNode?.id===o.value?.id||i.isDescendant(y,o.value))return;const x=h(y,v);let k=null,E=null;const B=p(o.value);switch(x){case"top":k=p(y),E=(k?.children??i.trees).findIndex(R=>R.id===y.id);break;case"bottom":y.children&&b?(k=y,E=0):(k=p(y),E=(k?.children??i.trees).findIndex(R=>R.id===y.id)+1);break;case"center":k=y,E=0;break}const P=k?.id===B?.id,T=(B?.children??i.trees).findIndex(R=>R.id===o.value.id);P&&(x==="top"||x==="bottom")&&T<E&&E--,!(P&&E===T)&&e("drop",{node:o.value,previousParent:B,parent:k,index:E,position:x})},c=()=>{i.hoveredNode=null},d=()=>{e("click",null)},u=()=>{if(!t.dragAndDrop||!i.dragPosition||i.trees.indexOf(o.value)===i.trees.length-1)return;const y=i.trees.includes(o.value);e("drop",{node:o.value,parent:null,index:y?i.trees.length-1:i.trees.length,previousParent:p(o.value)})};i.onNodeMouseEnter=n,i.onNodeMouseDown=a,i.onNodeMouseMove=s,i.onNodeMouseUp=l,i.onNodesMouseLeave=c,i.onTreeMouseDown=d,i.onTreeMouseUp=u;const h=(y,v)=>{const{y:b}=i.dragPosition,{top:x,height:k}=v.getBoundingClientRect();return y.children?b<x+k/3?"top":b>x+k*2/3?"bottom":"center":b<x+k/2?"top":"bottom"},p=(y,v=i.trees)=>{for(const b of v)if(b.children?.length){if(b.children.some(k=>k.id===y.id))return b;const x=p(y,b.children);if(x)return x}},A=(y,v=i.trees)=>{for(const b of v)if(b.id===y.id||b.children?.length&&A(y,b.children))return!0;return!1},f=(y,v=i.trees)=>{const b=[];for(const x of v)x.id!==y.id&&x.children?.length&&A(y,x.children)&&b.push(x,...f(y,x.children));return b},m=y=>i.selectedId===null?!1:f(y).some(v=>v.id===i.selectedId),g=(y,v)=>v?.children?.some(b=>b.id===y.id||g(y,b))??!1;return i.getNodeDropPosition=h,i.getParent=p,i.getAncestors=f,i.hasAncestorSelected=m,i.isDescendant=g,i}const ftt={components:{Node:htt},provide(){return{root:this}},props:{data:{type:Array,required:!0,validator:t=>{if(!Array.isArray(t))return!1;const e=new Set;for(const i of t){if(!Number.isFinite(i?.id)&&typeof i?.id!="string"||i.children&&!Array.isArray(i.children))return!1;e.add(i.id)}return e.size===t.length}},selectedId:{type:Number,default:null},highlightedId:{type:Number,default:null},dragAndDrop:{type:Boolean,default:!1}},emits:["drop","click","hover"],setup(t,{emit:e}){const i=ptt(t,e);Ri("state",i);const o=()=>i.onNodesMouseLeave(),r=()=>i.onTreeMouseDown(),n=re(!1),a=()=>{n.value=!0},s=()=>{n.value=!1},l=()=>i.onTreeMouseUp(),c=Re(()=>t.dragAndDrop&&n.value&&i.dragPosition!==null&&i.hoveredNode===null);return{state:i,dropHelperDisplayed:c,onMouseEnter:a,onMouseLeave:s,onNodesMouseLeave:o,onTreeMouseDown:r,onMouseUp:l}}},Att={key:0,class:"bimdata-tree__drop-helper"};function gtt(t,e,i,o,r,n){const a=I("Node");return M(),_("div",{class:"bimdata-tree",onMousedown:e[1]||(e[1]=(...s)=>o.onTreeMouseDown&&o.onTreeMouseDown(...s)),onMouseenter:e[2]||(e[2]=(...s)=>o.onMouseEnter&&o.onMouseEnter(...s)),onMouseleave:e[3]||(e[3]=(...s)=>o.onMouseLeave&&o.onMouseLeave(...s)),onMouseup:e[4]||(e[4]=vt((...s)=>o.onMouseUp&&o.onMouseUp(...s),["self"]))},[w("div",{class:"bimdata-tree__nodes",onMouseleave:e[0]||(e[0]=(...s)=>o.onNodesMouseLeave&&o.onNodesMouseLeave(...s))},[(M(!0),_(Ye,null,Mt(i.data,s=>(M(),G(a,{key:s.id,node:s,"drag-and-drop":i.dragAndDrop},{default:N(()=>[gt(t.$slots,"node",{node:s,depth:0,selected:s.id===o.state.selectedId,hovered:s.id===o.state.hoveredNode?.id,ancestorSelected:o.state.hasAncestorSelected(s)},void 0,!0)]),_:2},1032,["node","drag-and-drop"]))),128))],32),o.dropHelperDisplayed?(M(),_("div",Att)):te("",!0)],32)}const mtt=j(ftt,[["render",gtt],["__scopeId","data-v-54b04432"]]),vtt=Object.freeze(Object.defineProperty({__proto__:null,BIMDataBigSpinner:PEe,BIMDataButton:ir,BIMDataCard:iy,BIMDataCarousel:iBe,BIMDataCheckbox:oy,BIMDataColorSelector:dBe,BIMDataDatePicker:fZe,BIMDataDropdownList:VZe,BIMDataDropdownMenu:YZe,BIMDataFileIcon:mWe,BIMDataIcon:bWe,BIMDataIconAddFile:JBe,BIMDataIconAddFolder:tPe,BIMDataIconAddGavel:sPe,BIMDataIconAddList:pPe,BIMDataIconAddUser:bPe,BIMDataIconAlphabeticalAscending:EPe,BIMDataIconAlphabeticalDescending:RPe,BIMDataIconAlphabeticalSort:UPe,BIMDataIconAlt:qPe,BIMDataIconAngle:WPe,BIMDataIconApi:oIe,BIMDataIconApp:cIe,BIMDataIconArchive:gIe,BIMDataIconArrow:xIe,BIMDataIconAttach:SIe,BIMDataIconBack:FIe,BIMDataIconBcf:HIe,BIMDataIconBcfPolychrome:NGe,BIMDataIconBuilding:WIe,BIMDataIconBurgerMenu:iSe,BIMDataIconCalendar:cSe,BIMDataIconCaliper:gSe,BIMDataIconCamera:xSe,BIMDataIconCancelCamera:ISe,BIMDataIconCaret:qk,BIMDataIconCheck:zSe,BIMDataIconChevron:ps,BIMDataIconClassificationCategory:JSe,BIMDataIconClassificationElement:eTe,BIMDataIconClick:sTe,BIMDataIconClose:ay,BIMDataIconCloud:bTe,BIMDataIconColor:BTe,BIMDataIconComment:GTe,BIMDataIconCreateSpace:LTe,BIMDataIconCreateWindowPolychrome:QGe,BIMDataIconCreateZone:NTe,BIMDataIconDateAscending:XTe,BIMDataIconDateDescending:rRe,BIMDataIconDefault:EH,BIMDataIconDelete:ry,BIMDataIconDeniedFile:gRe,BIMDataIconDetach:xRe,BIMDataIconDistance:IRe,BIMDataIconDocInfoPolychrome:YGe,BIMDataIconDoubleChevron:Qk,BIMDataIconDown:zRe,BIMDataIconDownload:ZRe,BIMDataIconDrag:tLe,BIMDataIconEdit:lLe,BIMDataIconEllipsis:BH,BIMDataIconExpanded:yLe,BIMDataIconExplosion:ELe,BIMDataIconExport:RLe,BIMDataIconExportIfc:ULe,BIMDataIconExportXlsx:qLe,BIMDataIconFailed:YLe,BIMDataIconFileDwgPolychrome:oKe,BIMDataIconFileDxfPolychrome:cKe,BIMDataIconFileIfcPolychrome:AKe,BIMDataIconFileImagePolychrome:wKe,BIMDataIconFileJpegPolychrome:BKe,BIMDataIconFilePdfPolychrome:LKe,BIMDataIconFilePhotospherePolychrome:NKe,BIMDataIconFilePlanPolychrome:QKe,BIMDataIconFilePngPolychrome:YKe,BIMDataIconFilePointCloudPolychrome:oJe,BIMDataIconFilterList:rDe,BIMDataIconFitView:dDe,BIMDataIconFolder:mDe,BIMDataIconFolderLocation:kDe,BIMDataIconFolderMove:SDe,BIMDataIconFolderOpen:ODe,BIMDataIconFolderPolychrome:cJe,BIMDataIconFullscreen:qDe,BIMDataIconGavel:YDe,BIMDataIconGrid:o_e,BIMDataIconGroup:c_e,BIMDataIconHide:g_e,BIMDataIconHome:C_e,BIMDataIconIfc:I_e,BIMDataIconIfcFile:F_e,BIMDataIconImport:H_e,BIMDataIconInProgressFile:fFe,BIMDataIconIndexAscending:Z_e,BIMDataIconIndexDescending:tFe,BIMDataIconInformation:lFe,BIMDataIconInvitation:wFe,BIMDataIconIsolate:PFe,BIMDataIconKey:_Fe,BIMDataIconLeft:zFe,BIMDataIconLinkedDocument:ZFe,BIMDataIconList:tOe,BIMDataIconListManage:lOe,BIMDataIconLocation:AOe,BIMDataIconLock:COe,BIMDataIconLogout:IOe,BIMDataIconMeasure:FOe,BIMDataIconMinus:HOe,BIMDataIconModel3D:WOe,BIMDataIconNamingConvention:iUe,BIMDataIconNavigation:cUe,BIMDataIconOrganization:gUe,BIMDataIconParameters:xUe,BIMDataIconPathway:SUe,BIMDataIconPieGraph:FUe,BIMDataIconPipette:HUe,BIMDataIconPlan:WUe,BIMDataIconPlus:oNe,BIMDataIconPreview:dNe,BIMDataIconProject:mNe,BIMDataIconQuickSelect:xNe,BIMDataIconReadonlyFolder:SNe,BIMDataIconRedo:ONe,BIMDataIconReduced:HNe,BIMDataIconRefresh:WNe,BIMDataIconRemoveModel:ije,BIMDataIconRename:lje,BIMDataIconReprocessIfc:fje,BIMDataIconReset:wje,BIMDataIconRestore:Pje,BIMDataIconRight:_je,BIMDataIconRotate:Vje,BIMDataIconRules:Jje,BIMDataIconSandglass:tVe,BIMDataIconSave:lVe,BIMDataIconScreenConfig:fVe,BIMDataIconScreenshot:bVe,BIMDataIconSearch:Gk,BIMDataIconSection:LVe,BIMDataIconSetAsModel:NVe,BIMDataIconSettings:GVe,BIMDataIconShare:$Ve,BIMDataIconShow:aze,BIMDataIconShowSelected:hze,BIMDataIconSmartview:vze,BIMDataIconSocotec:Mze,BIMDataIconSpace:Tze,BIMDataIconSpace2:Oze,BIMDataIconSpacing:Hze,BIMDataIconSplit:Zze,BIMDataIconStorey:iHe,BIMDataIconStructure:cHe,BIMDataIconStructurePolychrome:AJe,BIMDataIconSuccess:gHe,BIMDataIconSurface:CHe,BIMDataIconSwap:PHe,BIMDataIconSynchro2D:DHe,BIMDataIconSystem:VHe,BIMDataIconTag:JHe,BIMDataIconTranslate:eqe,BIMDataIconTree:sqe,BIMDataIconUnarchive:fqe,BIMDataIconUndo:wqe,BIMDataIconUnion:Pqe,BIMDataIconUnknownFile:Dqe,BIMDataIconUp:Vqe,BIMDataIconUpload:Kqe,BIMDataIconUser:eQe,BIMDataIconValidate:sQe,BIMDataIconValidatedFile:pQe,BIMDataIconVersioning:bQe,BIMDataIconVideocam:BQe,BIMDataIconViewer2DPolychrome:wJe,BIMDataIconViewer3DPolychrome:BJe,BIMDataIconVisa:LQe,BIMDataIconWarning:jQe,BIMDataIconWindowBottom:KQe,BIMDataIconWindowLeft:sGe,BIMDataIconWindowRight:fGe,BIMDataIconWindowTop:wGe,BIMDataIconWindowed:eGe,BIMDataIconZone:BGe,BIMDataIconZone2:LGe,BIMDataIllustration:sXe,BIMDataInfobox:hXe,BIMDataInput:bXe,BIMDataInputOutlined:RXe,BIMDataList:_Xe,BIMDataLoading:VXe,BIMDataMenu:ZXe,BIMDataMenuInline:$Xe,BIMDataMultiplePieChart:a$e,BIMDataPaginatedList:SH,BIMDataPieSpinner:h$e,BIMDataRadio:m$e,BIMDataResponsiveGrid:b$e,BIMDataSafeZoneInline:k$e,BIMDataSearch:I$e,BIMDataSearchAutocomplete:q$e,BIMDataSelect:set,BIMDataSimplePieChart:Aet,BIMDataSlider:bet,BIMDataSpinner:IH,BIMDataTable:zet,BIMDataTabs:Get,BIMDataText:VH,BIMDataTextarea:$et,BIMDataTextbox:sy,BIMDataToggle:rtt,BIMDataTooltip:ltt,BIMDataTree:mtt},Symbol.toStringTag,{value:"Module"})),QH=Object.freeze({bisque:16770244,orange:16753920,coral:16744272,red:16711680,maroon:8388608,khaki:15787660,tan:13808780,peru:13468991,sienna:10506797,brown:10824234,greenyellow:11403055,yellowgreen:10145074,olive:8421376,green:32768,darkgreen:25600,lightcyan:14745599,skyblue:8900331,steelblue:4620980,blue:255,darkblue:139,plum:14524637,hotpink:16738740,magenta:16711935,purple:8388736,indigo:4915330,ghostwhite:16316671,silver:12632256,darkgray:11119017,grey:8421504,black:0}),ytt=["bisque","khaki","greenyellow","lightcyan","plum","ghostwhite"];function el(){const t=Object.entries(QH).filter(([i])=>!ytt.includes(i)),e=Math.floor(Math.random()*t.length);return t[e][1]}const btt={props:{message:{type:String,required:!0},active:{type:Boolean,default:!0}}},wtt={key:0,class:"bimdata-empty"},Ctt={class:"m-t-6"};function xtt(t,e,i,o,r,n){return i.active?(M(),_("div",wtt,[gt(t.$slots,"default",{},void 0,!0),w("p",Ctt,z(i.message),1),gt(t.$slots,"footer",{},void 0,!0)])):te("",!0)}const dd=j(btt,[["render",xtt],["__scopeId","data-v-5eb55030"]]),ktt=Object.entries(QH).reduce((t,e,i)=>(i%5===0?t.push([e]):t[t.length-1].push(e),t),[]),Mtt={props:{selectedColor:{type:Number,default:null}},emits:["color-select"],data(){return{colorLines:ktt}},methods:{toColorString(t){return`#${t.toString(16).padStart(6,0)}`}}},Ett=["title","onClick"];function Btt(t,e,i,o,r,n){const a=I("BIMDataCard");return M(),G(a,{class:"color-selector"},{content:N(()=>[(M(!0),_(Ye,null,Mt(r.colorLines,(s,l)=>(M(),_("div",{key:`colorLine${l}`,class:"color-selector__line"},[(M(!0),_(Ye,null,Mt(s,([c,d],u)=>(M(),_("div",{key:`colorElement${u}ofColorLine${l}`,class:de(["color-selector__line__element",{selected:d===i.selectedColor}]),style:ce(`background-color: ${n.toColorString(d)}`),title:c,onClick:h=>t.$emit("color-select",{name:c,value:d})},null,14,Ett))),128))]))),128))]),_:1})}const ly=j(Mtt,[["render",Btt],["__scopeId","data-v-502a89ad"]]),Ptt="data:image/gif;base64,R0lGODlhxAF6AfcAAAEBAQAAAAMDAxwdHwAAAiotPg8PEAUFBdbW1vHy9/39/P38/vv7+gEAAERFSp6gqSEkMiwuOiotOPr7/01RXc7W2oeIizw8PNXY2D5BTf////T09KzAwqu+v//+//Pz8/Xz9LLFxef3+a+/wvXx9u7x+Y+RlPTz9v///PH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3Ch1KNCEeJZGKKl3KtKnHnkCjklTptKrVjpKWXN3KtatQqFKjUvVKtqxAJgH0mF3Ltu1CsGF/jnVLV6meAI3O1N3LlyvcuCjn9h1s0wAdwogT7/wLOKXixyv7fIFMuXJHxo2nWt4cUgnnz6ATYs4cNLTpg3cEJDrNmvPozIJbh75bSbbtx68bx77NucEy3sD75ga8OzjlGE+4GF/Odnjc4swT3xCQQ2/061udh4WOva+mAEG6i/93ql0q9/F01wBQg7490fJi3SNuAyALTfn4bcIHej4/WQwNEOLfgC3tJxeBewEgyX0INqiRgT7156BVSkw04YUWQRgYhmvRAUAgHIb4FmkR3qbciSimqOKKLLbo4oswtngJeNaJaCNPJG7YmiQ59ujjjyTVceOQA2l4koRt3bHHkkwmRdASAdAhyZRUVmnllVhmqeWWXHaJ5RMBpEEkkUY69hiURzKYB3WsfREmGmPeWGZJSLK1hBEpWPfdFjWueWKNnLlJUZw2zqnZmXjqWZqYBgDgKJCQRhoViISKaOhIda71RaICpYbSpneGKuqopJZq6qmopqqqqYcAWumFly7/mtimhgxEXx644holg6/2ClmsmZpFq1ENHObrsbhFGmxZjUrp7LNSAgAJIaZQa2212F6r7bbcduvtt+CGK+645JZr7rnopqvuuuy26+61Hj7q47JkHSDpvfjmq+++/Pbr778AA0mvV43KG/DBCCes8MIMN3zwwF0V7PDEFFds8cUY6wsxVxJn7PHHIIcsMsIbb9XxyCinrPLKLB+q2MktxyzzzDT/W/JVMNes884898wfZDn7LPTQRK98M4UGF6300kxXfHRVYTQt9dRUB/y0U1EnXfXWXHdNHNBehy322Gk+pgTZaKe99dVNHRLD23DHLffcdNdt991456333nz3/+3334AHLvjghBdueOGQKIvs4ow/pXjjkEf+0HSQsi355ZY+jvnmmwPL+eeXew766IyLTvrpvZqO+upjqs7665lXDvvssQtM++2wak2i5bj3HprrvgePHvDCF38d8cYnHxzyyjcvG/POR/+77qTxLv31ZUGP/fbJys7995tpD/74dYlP/vlrmY/++l2pz/77VbkP//xKyU///Ytpjv/+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5bwauljMeAcTThkae/CznQaabS59Ovbr169iza9/Ovbv37+DDi/8fT768+fPo06tfz769+/fw48ufT7++/fv48+vfz7+///8ABijggAQWaOCBCCao4IIMNujggxBGKOGEFFZo4YUYZqjhhhx26OGHIIYo4ogklmjiiSimqOKKLLbo4oswxijjjDSutEGM0d0o4wcwDuKScJ21qCOLN4ZRwGY8EjnkkS/aUcABTX6wgR8AEJKCkEkKtIaQTArUR5ZcRnfkkigOOVyQJy6nRpcrhlYADGC22RmaaX7ARgBjKpllGi6mMJxLMAYyUJJkylmooX0O+meUcR5IwKOPPvkkngAEYCmeEJFJZ4GQBqDBp5OGamlFW7jJoAAGeECABi98UdCoD4H/1uipS7ygqgZ72FCDAczBSpGpBppmmhEzZMEAACoA4oCuBAwkZkR/ALrgF3nwIQMKnipgBRgzSNGAQM9ONGuAlVaax4/ZehBEDESgiuqv0jrKgLafftrsAvTOW65FAiCAIHLHXlquwJYq4CtF4RpY78LILozCsRxdGayzMRh766d8tLrvr0UmKCwAS2hh7ap1mPDAC5BKWtEdzC3KaQFE5HGrGHQscYC7mMKLJ7Ccmntru8h1mjNGJC2xoMC3Ci2wRZv2XDCTBF8KL7h6HLofDQZJTfCkS4ubER7x/of1q7BuvTWHY2fNtdaUDp2pqS73lzbZUota94ZzZ02p3SrjDa2Q2W27neLZGkEZYkAAIfkEBQoACAAsnAB1AAQBswAACP8AEQgcSLCgwYMIEypcyLChw4cQI0qcSLGixYIbLmrcyLGjx48gQ0LMKLKkyZMoU6pcuGODy5UwY8qcSbOmzZs4c+rcybOnz59AgwodSrSo0aNIkypdyrSp06dQo0qdSrWq1atYs2rdyrWr169gw4odS7as2bNo06pdy7at27dw48qdS7eu3bt48+rdy7ev37+AAwseTLiw4cOIEytezLix48eQI0ueTLmy2A8vLes9k1kzXsxqAnjOu4HN6NOoU6tezbq169ewY8ueTbu27du4c+sW7BLz7ssbcgD4HfblcOJfXa4Rjby58+fQo0ufTr269evYs2vfzr279+/gw4v/H0++vPnz6NO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by6drcqfMNgAblYGcPfG5NgAaLMisNCzBaRCxtDfMRhEbkyjMRM7Bpw28RQfBpPq7BRXMVWfMVYnMVavMVc3MVe/MVgHMZiPMZkXMZmfMZonMZqvMZs3MaLuAWn5sZy3Jp0PMdtnEHMgLdYacdrzMMjzMd9fAmXYLdqUMh6gAaAjMZGMeCZo5rIaWy1cHmWYenIZAzJLUvJZuyXV4CdBIHJazyonrzGMZDBoVzGMhzJpSzEAQEAIfkEBQoAAwAsKACAACABqgAACP8ABwgcSLCgwYMIEypcyLChw4cINQxQoGAiRYgYM2rcyLFjw4oeQ4ocSfKghpMoT5ZcybKly5cwY8qcSbOmSxw2c+rcybOnz59AgxL0MEqgG6FIQ4JMyvTnBIEIVDWdunEp1aszVQxEEmEi1q8mwYql6amA17Fo01pEgQLhmwFRcioaaElgs6dq8+pVitIuK4Fw6ModMEegmQG/8O5dzNihSr9Ci9ptTLmywsdML1q0zLkzYIlIMXsebVk0UNOkSVtNy3Zoyr41UaeerbY13deyX+amTXk179/AgwsfTry48ePIkytfzry58+fQo0ufTr269etDsWvXu3u796aav4v/v9p9vPme4c+rX8++vfv3VevCny9TK/37LrVakoq//0jf/gVYlYAEFmjggQgmqOCCDDbo4IMQRijhhBRWaOGFGGao4YYW4lYeh955CBqI7IlIYnsmnrjeY7CpqJ6HLq7owYwebBajeTus4dqN5oUyUDFC8HgeFZuVskCNQn7XFVtBtpWkkhY16eSTId5G5XlHXjleBmdp+d2MXoYp5phklmnmmWimqeaabLbp5ptwxinnnHTWaeedeOap55589unnn4AGKuighBZq6KGIJqrooow26uifKtj32aNiRUrQBRFI8IamnG7qaaegfipqqKSOamqplzaKCKV5seLFIml5/0HpJLSyihattdqq66689urrr8AGK+ywxBbr0CTGTtUVRpsmS9MYVSREzVvOhsRpKRzN4WO1O9HxF2GwcmutCYoBNplBnJwrbkeWwFGFL8syJB9h64bE5Y+chHuQqzwg4mq9Jb0Krrr0QgbwwQgnrLBxsi7s8MPedbIqxLpRbPHFGGes8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omYBIALBlCwjemtGnCYaLYF1VGP5QhWAsEHBgCrHTuzHFuzNv/LkbPRmg0bAAqwluf1CdMhX6FZrsdZtEZ7tEibtEprtOu6tDT7tFBrlT6QmIhpsoi5XZ8ACA1Am8HotF77tWAbtqPZBnsptlF7tmhrjFNLtSdptVerAIIgtBJ7WESAJTd7t3hbmGlrtlW5ElW7sz2LqQ1hogMQsQ01EFm5t3m7uIyrt477tH67lk3xAgHwBzpQl3NLV3T5Ae24ZOflA04QqXBbB13glJlrT1GBrJ3rYg/bszxbnXhwuS1LV+xoZ6t7dvBIA39gXq2qA5WLsLQbFbZ7uz32nDyLAM44u8S7vI2Uu02CABgwEo4AvMxbvZfUCImguvd4utbbvdxjsO93+AjGKr0UW7jee754JCk7ABXo275zFI3rO7zuO78S9AHxW770m79/Iq7DeL/6+79/UrvCC8AEzDAFfMAInMCsi7CGq8AObBlhcAkL+8AU/EcVfMGXwY0DjMEcfBe8i78dHML3JMIkPMIlfMJ1hcIq/Fkr3MItERAAIfkEBQoACAAsKAB1AHgBvwAACP8AEQgcSLCgwYMIEypcyLChw4cQI0qcSLGixYsYM2q8uGGjx48gQ4ocSbKkyZMcUapcybKly5cwWe7YQDOmzZs4c+rcybOnz59AgwodSrSo0aNIkypdyrSp06dQo0qdSrWq1atYs2rdyrWr169gw4odS7as2bNo06pdy7at27dw48qdS7eu3bt48+rdy7ev37+AAwseTLiw4cOIEytezLix48eQI0ueTLmy5ZhpEOBAkPmy562bO38eTVU06dNRFahWgLq169ewY8ueTbu27du4c+vezbu379/AgwsfTry48ePIkytfzry58+fQo0ufTr269evYs2vfzr279+/gw4v/H0++vPnz6NOrX8++vfv38OPLn0+/vv37+PPr38+/v///AAYo4IAEFmjggQgmqOCCDDbo4IMQRijhhBRWaOGFGGao4YYcdujhhyCGKOKIJJZo4okopqjiiiy26OKLMMYo44w01mjjjTjmqOOOPPbo449ABinkkERyuMiRSHqh5CQQLelFkS4l6eQkVD7ZkJNQtlTAllUuKRCTV06ZpU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Aj8XwETyMAGLmyB4SsaBCPYsgk68IIHtCAGN/i/gAAAIfkEBQoAAgAsQADBANAAZwAACP8ABQgcSLCgwYMIExaMp7Chw4cQI0qcSLGixYsW48WbpUEFxo8gQ4ocSZKkPHgcS6pcybKlS4IePDy09LKmzZs4D8bMybOnz5w7fwodSvRj0KJIkypdyrSp06dQo0qdSrWq1atYs2rdyrWr169gw4odS9ZnhQIR0EpQy7ZthSYVBEALUrauyJht81LZy3eCX0t+7QoOGbOj4cKICw9efPew48QLFDCebBGy5cuKKWtWiLlz4s2gCX8OTbry6NKoU6tezbq169ewY8ueTbu27du4c+vezbu379/AgwsfTry48ePIkytfzry58+fQo0ufTr269evYs2vfzr279+/gw4v/H0++vPnz6NOrX8++vfv38OPLn0+/vv37+PPr38+/v///AAYo4IAEFmggRCckqOCCDDbo4IMbRCjhhBRWaOGFGGI4UIYcdughhRI99uGIJEJo4oklpqjihAIZ8sGKMF4YomMx1mjjjZjkqOOOPPbo4486VgKAAEAWaeSRP87IQCFINunkkzhCKeWTdBE55ZVFKonlllyiGOWXE8ZgJZgqaknmmV6miSaJPwQw5poemgmnhiOJg42deN5pZ07h9Onnn3/WcJCfAwEKzqGIJqroooW6AM5djkYqqQskScrNpZhmqumm2nBKUKecgirqqNeQWuqppQ5kTapyCYRqCLDGdhrrp7OSxEELuHbAwje75rrrRL0GK6yuxA5rLK4gzXnGssw26+yzXwokDQYrQGvttTciGMi23DLpbbfgpiHuuOSWOy5BaRAJlFNuvinVi/Aqa+F68nJIb710pgfCvvz26++/AAcsML/3DmzwwQgXjG+FCi88YUAAIfkEBQoAAgAsQADAANAAaAAACP8ANwgcSLCgwYMHVShcuFCAw4cQI0qcSLGixYsYM2rcyLGjx48SGYpU+FCew3jxRIBcybKly5cwY44cGVEePJUxc+rcybOnxZkia6a0ZMmn0aNIk14EqqGpBqVQo0pVytTpRBFPp2rdyhVj1aZdw4odG/KrvLNob2Yly7YtV6dW3cqdS7eu3bt48+rdy7ev37+AAwseTLiw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vLjx48iTK1/OvLnz59CjS59Ovbr169iza9/Ovbv37+DDi/8fT768+fPo06tfz769+/fw48ufT7++/fv48+vfz7+///8ABijggAQWaOCBCCao4IIMNujggxBGKOGEFOp1woUYZqjhhhx2iNCHIIYoIkEPjWjiiR9yNBOKLLbo4YswuiijiA4Z8sGMOBqkokg59ujjj5gEKeSQRBZppJGVACDAkUw26eSTOzJQyJNUVmklkFdmqaWQQdS45ZdNRgnmmGTGiOWZAsWw5Blotihmm3CaGSeQPwSw5pwjvoknQjiJg42fgP7pJ1ThFGrooYfWMJGhDyEKzqOQRirppI26AA5MlmaqqaU4acrNp6CGKuqo2pAKUamkoqrqqtew2uqrrT6DZE2sAljjEKwh5KqrrqfyihMHLQTbAQvfECsssR0Zq+yywzbL7LPBurQnm9RWa+21WDokDQYrYOvttz5qNGUg45JrbrnnppvGuuy26y5EaSwJ1Rlz2XknvXbdqO+0RebHL4j+/uttwCAUbPDBCCes8MIMg0BwwxBHHPHDApOIX8UHBQQAIfkEBQoACQAsKAB1AHgBywAACP8AEwgcSLCgwYMIEypcyLChw4cQI0qcSLGixYsYM2q8eGajx48gQ4ocSbKkyZMcUapcybKly5cwWfrZQDOmzZs4c+rcybOnz59AgwodSrSo0aNIkypdyrSp06dQo0qdSrWq1atYs2rdyrWr169gw4odS7as2bNo06pdy7at27dw48qdS7eu3bt48+rdy7ev37+AAwseTLiw4cOIEytezLix48eQI0ueTLmy5ZiBmPBiEuiyZ66bO38eXVU06dNSNajWgLq169ewY8ueTbu27du4c+vezbu379/AgwsfTry48ePIkytfzry58+fQo0ufTr269evYs2vfzr279+/gw4v/H0++vPnz6NOrX8++vfv38OPLn08/cCYU9VHDuZ9/Mgr8CLHWX2T/JSTggJSVwUg88ex3IIKRlULQLKqZtNqDEIb134PtLNigCheGKOKIJJa4WoZjbejBQPV4KIKJMMYII4oa3oeCPDi2I1A8A1U4UiQA3KHAkCHSuJWNACZQz44vyuhkiZQowcAXbRApopFYgagajvJ0KA88IljYxiEa3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+OV+HxBwCJYAWDIwjGaOSREmKAA3QAJHTFeu/xKOVOuFECAB+RwKDlAfdNNeWXMU0yiRQQkFmmmYiAqaZMYo7BCARvxonIImvWadJKE/R3lJ18boTnnn0GithAghbq50qGJloRCox6pOijETXqKKSUVmrppZhmqummnHbq6aeghirqqKSWauqpqKaq6qqsturqq7DGqirrrLTWauutuOaq66689urrr8AGK+ywxBZr7LHIJqvsssw26+yz0EYr7bTUVmvttdhmq+223Hbr7bfghivuuOSWa+656Kar7rrD6rTBu/DGK++89NY7b69T2avvvvzi+9EKAAcs8MAEF2xwwf4erPDCDAvsK78QfyBxxPI+PDHFGPcbrAscD+CCxyB/PNPHIu/Kwskop9zByixz4PLLMMcscws012xzCwEBACH5BAUKAAMALHAAuACgAGgAAAj/ADUIHEhQQYABCBMqXMiwocOHECNKnEixokWJBTMCuMixo8ePIEM6pOShIAYFAjeKXMmypUuOKAUeagDgSx0NB1/q3MnTpYI9LxAo4vOFgcqeSJMqjRgowB2UbQIMyrm0qlWeMQRSkjrQaYCMYMOKJRhJwNOYKK+qFZlVQyKuKR99HUuXbh0lDGyu3buybRC4GwBoAVC3cNhEfDTcccS38ce2XOAqajDVsGWCeF4oaBNpzc0UKRyLlthWwSsfAgfjIXy5NYwggb98MXXhSaJACkbrXli6kQE1lIjEwdn6cqBIWXBqISP17hc6DHZLhy7weAAAr4kXB5swtYEDjSIp/8jzVADoAAjotMktfTTYNDHnbh8bBo0aA5DAItBwYQv79o7Rxdp8Yklykx4A2GGSTGoAKF1YAxIIlgWScKGBhQo4oQEO/CH0moMg6mQSDuLFBMNP4wlkhIIStujiizC6WAcMggx0CIp9KLYHaDH26OOPQD5ioAoq3DABh32k0scOaADp5JNQGtcDALcRSSQeMPRABlpRdulllxjgMOB1HxxAUohovqRfAHxEcsEhfACA3pd01gmlBU6c4oQZgrTSCW5pBrpSWDIoYugqiKrCQEyCNvqYF5BGisgklFZqqaWOZjqRpJxe6imlmobaUF2illrRWKameip3qrYKUViuxtW6k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4cQI0qcSLGiRYMKNGggeLGjx48gQ4ocWVEAyZMoU6pcGVIBR5YwY8qcORLNS5o4c+rcOSBAT55Agwod6dPn0KNIkz68qbSp06FdmD6dSlUmgEFGq2rdmhIAHqlcw4qtGGfj2LNoKYJNy7btQLdw466NS5dqRrN18+rdy7ev37+AAwseTLiw4cOIEytezLix48eQI0ueTLmy5cuYM2vezLmz58+gQ4seTbq06dOoU6tezbq169ewY8ueTbu27du4c+suna+379/1CsKxtLsq8OP17g0gXpwqcuQam099PiD5PXv2LGl/zr279+/gw4v/H0++vPnz6L1rl/40/Hr2Td0zh59UPv2t139Hv288//X9/E3n3z0ABujUgARqYKCA+im44IEDFvggUghKOOFQFTp4IYURarghhh1+yGGDIh6VYYkgkohiUCeuCFSLLu4EY4wr2UcjSzbeqBKCPCaoY409Avfejyh1Vx12QxJJkpHWWagkSOAtN9+TInkn0HBTUqnlllx26eWXYIYp5phklmnmmWimqeaatHng5pUgxCnnnHTWaeeddBLppgfCfYDnn4D+qaeCGxRq6KGIJqrooozqKSWjkEYqaaFKggBnoJhmKmelfmrqKaZbirCcCKSWauqpqKaqqqlEctDBqyPAEBrrrLLSauutD4UwgK5iBQQAIfkEBR4AAAAs4ADoAHEAOAAACP8A8wkcSLCgwYMIEypcyLChQ336AEi0pEKixYsYM2rcyLGjx48gNUIcSZIkAA0hU6pcyZJlyZf2Yk6o2LKmzZshYcJUoUDDw59AgwodWpInzqNIkep8aTSp06cplxalCbWqVYxSSTa9yrXrRYMePHgd2xWsWLJooZpNyzbp2rZwbb6NS1fl3Lp4Pd7Nyzfj3r6AAfwNzHcwYbyGD9NNrBgu48ZsH0NGK3ny2MqW3WaVSTWz182cPZONSbr0VNGXTasOjbos6K2trYLmoaFzbLWbT9q+7TTrRIq8gwsfTry48ePIkytfzry58+fQo0ufTr269bS1UerewL279+/gw4tb9347u8UN28erXx++fMUV8OPLn0+/vv377PPr388+Pf7/AN7HG3r+7XcRf+SVVyCC3B1o4HAuRHjShC5M+FSF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CjS59Ovbr169iza9/Ovbv37+DDi94fT768+fPo06tfz769+/fw48ufT7++/fv48+vfz7+///8ABijggAQWaOCBCCao4IIMNujggxBGKOGEFFZo4YUYZqjhhhx26OGHIIYo4ogklmjiiSimqOKKLLYYlAYwCsTSjDTWaOONON54HYwaDIRRjkAGCeSOKgC2wpFIJqnkkkw22eSORjop5ZRUHondSELiSFCWOkLJZZBbfsmdC2QCZqYLZnqEJprWseDmm3B2IOecHNRp55145tnCnnz22YKLOlWAATaDCkqoTV+O9FsyjFLT6CyPRkqfomHaFBAAOw==",Itt={distance:"m",path:"m",angle:"\xB0",surface:"m\xB2"},Stt="measure2d_measurements",Ttt={name:"BIMDataMeasure2D",components:{ColorSelector:ly,BIMDataEmpty:dd},data(){return{guide:Ptt,carrier:null,ruler2dPluginAvailable:!1,surface2dPluginAvailable:!1,angle2dPluginAvailable:!1,path2dPluginAvailable:!1,selectedMeasurementPlugin:null,currentColor:null,currentPlugin:null,currentGroup:null,measurements:[],isUpdated:!1,hasBeenOpened:!1,pluginViewer:{},calibrating:!1}},computed:{storageKey(){return`${Stt}-${this.carrier}`},model(){return this.pluginViewer.model?fi(this.carrier==="dwg"?this.pluginViewer.model.stateModel:this.pluginViewer.model):null},isCalibrated(){return this.carrier!=="plan"||this.model&&this.model.sizeRatio!=null},standard(){return this.model.sizeRatio||1}},watch:{model(t){this.measurements.forEach(e=>e.destroy()),this.measurements=[],t&&(this.restoreSavedMeasurements(),this.setStandard(t.sizeRatio))},currentGroup(t){this.measurements.forEach(e=>{e.visible=this.hasBeenOpened&&e.group===t})},measurements(t){t.forEach(e=>{e.visible=this.hasBeenOpened&&e.group===this.currentGroup})},selectedMeasurementPlugin(t){const e=this.measurementPlugins.get(t);if(this.currentPlugin&&this.currentPlugin!==e&&(this.currentPlugin.disable(),this.pathValidationModal&&this.closePathValidationModal()),e&&(e.enable(),t==="path")){const i=this;this.$viewer.localContext.modals.pushModal({created(){i.pathValidationModal=this},render(){return mo(iy,{width:"100%",class:"bimdata-measure2d__path-validation"},{content:()=>mo("div",{style:"display: flex; justify-content: space-between; align-items: center;"},[mo("div",this.$t("measure2d.validate_path")),mo(ir,{fill:!0,radius:!0,color:"high",width:"121px",onClick:i.onPathCancel},{default:()=>this.$t("global.cancel")}),mo(ir,{fill:!0,radius:!0,color:"primary",width:"121px",onClick:i.onPathValidate},{default:()=>this.$t("global.validate")})])})}},null,{display:"banner"})}this.currentPlugin=e},currentColor(t){this.measurementPlugins.forEach(e=>{e.color=t})}},mounted(){const t=this.$viewer.localContext.viewer;if(!t||!t.viewer){const n="Measure2d plugin cannot work without a viewer2d, dwg or plan plugin and viewer.";throw console.error(n),new Error(n)}this.carrier=t.plugin.name,this.pluginViewer=t;const e=t.plugins?.ruler,i=t.plugins?.surface,o=t.plugins?.angle,r=t.plugins?.path;this.measurementPlugins=new Map,e&&(this.measurementPlugins.set("distance",e),this.ruler2dPluginAvailable=!0,e.on("add",n=>{this.isUpdated=!0,this.makeMeasurement({type:"distance",get value(){return n.length},color:this.currentColor,object:n}),this.selectedMeasurementPlugin=null,this.currentColor=el()})),i&&(this.measurementPlugins.set("surface",i),this.surface2dPluginAvailable=!0,i.on("add",n=>{this.isUpdated=!0,this.makeMeasurement({type:"surface",get value(){return n.surface},color:this.currentColor,object:n}),this.selectedMeasurementPlugin=null,this.currentColor=el()})),o&&(this.measurementPlugins.set("angle",o),this.angle2dPluginAvailable=!0,o.on("add",n=>{this.isUpdated=!0,this.makeMeasurement({type:"angle",get value(){return n.angle},color:this.currentColor,object:n}),this.selectedMeasurementPlugin=null,this.currentColor=el()})),r&&(this.measurementPlugins.set("path",r),this.path2dPluginAvailable=!0,r.on("add",n=>{this.isUpdated=!0,this.makeMeasurement({type:"path",get value(){return n.length},color:this.currentColor,object:n}),this.selectedMeasurementPlugin=null,this.currentColor=el()})),this.currentColor=el(),this.carrier==="viewer2d"||this.carrier==="plan"?this.$watch(()=>this.pluginViewer.selectedStorey,n=>{this.currentGroup=n?.name}):this.$watch(()=>this.pluginViewer.model,n=>{this.currentGroup=n?.id})},onOpen(){document.addEventListener("keydown",this.onKeyDown),this.pluginViewer.viewer.ui.mode=null,this.hasBeenOpened=!0,this.measurements.forEach(t=>{t.visible=t.group===this.currentGroup})},onClose(){document.removeEventListener("keydown",this.onKeyDown),this.pluginViewer.viewer.ui.mode="pick",this.selectedMeasurementPlugin=null,this.pluginViewer.plugins.caliper?.disable(),this.calibrating=!1},methods:{setStandard(t){[this.pluginViewer.plugins?.ruler,this.pluginViewer.plugins?.surface,this.pluginViewer.plugins?.path].filter(Boolean).forEach(e=>{e.standard=t||1})},toggleCalibrate(){this.calibrating?(this.pluginViewer.plugins.caliper?.disable(),this.calibrating=!1):this.onCalibrateClick()},onCalibrateClick(){this.pluginViewer.plugins.caliper.enable(this.onCalibrationValidated,this.onCalibrationCancel),this.calibrating=!0},async onCalibrationValidated(t){this.pluginViewer.plugins.caliper.disable();const e=this.$viewer.api.cloudId,i=this.$viewer.api.projectId;try{this.model.sizeRatio=t,this.setStandard(t),this.$viewer.api.permissions.hasModelWritePermission&&await this.$viewer.api.apiClient.modelApi.updateModel(e,this.model.id,i,{size_ratio:t}),this.$viewer.localContext.hub.emit("alert",{type:"success",message:this.$t("measure2d.calibration_success")})}catch(o){console.error(o.message),this.$viewer.localContext.hub.emit("alert",{type:"error",message:o.message})}finally{this.calibrating=!1}},onCalibrationCancel(){this.calibrating=!1,this.pluginViewer.plugins.caliper.disable()},isHideElementDisabled(t){return t.group!==this.currentGroup},closePathValidationModal(){this.pathValidationModal.$emit("close"),this.pathValidationModal=null},onPathCancel(){this.selectedMeasurementPlugin=null,this.pathValidationModal&&this.closePathValidationModal()},onPathValidate(){const t=this.measurementPlugins.get(this.selectedMeasurementPlugin).validate();this.closePathValidationModal(),t||(this.selectedMeasurementPlugin=null)},makeMeasurement(t){const{type:e,group:i,name:o,color:r,object:n}=t;let a=r,s=!0,l;switch(e){case"distance":l=[n.startPoint,n.endPoint];break;case"angle":l=[n.startPoint,n.anglePoint,n.endPoint];break;case"surface":l=n.points;break;case"path":l=n.points;break}const c=this,d={id:n.id,group:i||this.currentGroup,unit:Itt[e],get value(){return c.standard,t.value.toFixed(2)},name:o||e,type:e,get color(){return a},get colorString(){return`#${a.toString(16).padStart(6,0)}`},set color(u){a=u,n.colorize(u)},get visible(){return s},set visible(u){s=u,n.visible=u},get points(){return l},destroy(){n.destroy()},nameEditing:!1,colorEditing:!1};return this.measurements.push(d),d},onTagClick(t){this.measurements.filter(e=>e!==t).forEach(e=>e.colorEditing=!1),t.colorEditing=!0,this.isUpdated=!0},onElementNameClick(t){t.nameEditing=!0,this.isUpdated=!0,this.$nextTick(()=>{this.$refs.elementInput&&this.$refs.elementInput.focus()})},onInputBlur(t){t.nameEditing=!1},onAddMeasurementClick(t){this.selectedMeasurementPlugin===t?this.selectedMeasurementPlugin=null:this.selectedMeasurementPlugin=t},onKeyDown(t){t.key==="Escape"&&this.onEscapeDown()},onEscapeDown(){this.selectedMeasurementPlugin=null,this.measurements.forEach(t=>{t.nameEditing=!1,t.colorEditing=!1})},onHideMeasurementClick(t){t.visible=!t.visible},onDeleteMeasurementClick(t){t.destroy(),this.measurements.splice(this.measurements.indexOf(t),1),this.isUpdated=!0},getSavedMeasurements(){let t={};try{const e=localStorage.getItem(this.storageKey)??"{}";t=JSON.parse(e)}catch(e){console.error(e),localStorage.removeItem(this.storageKey)}return t},restoreSavedMeasurements(){const t=String(this.pluginViewer.model.id),e=this.getSavedMeasurements(),i=e[t]||[];try{this.ruler2dPluginAvailable&&this.restoreMeasurements(i.filter(o=>o.type==="distance")),this.surface2dPluginAvailable&&this.restoreMeasurements(i.filter(o=>o.type==="surface")),this.angle2dPluginAvailable&&this.restoreMeasurements(i.filter(o=>o.type==="angle")),this.path2dPluginAvailable&&this.restoreMeasurements(i.filter(o=>o.type==="path"))}catch{e[t]=[],localStorage.setItem(this.storageKey,e)}},restoreMeasurements(t){t.forEach(e=>{const i=this.measurementPlugins.get(e.type),o=(this.model.storeys??[]).find(n=>n.name===e.group)?.plans[0]??{plan:this.model},r=i.create(e.points,o);r.colorize(e.color),this.makeMeasurement({type:e.type,group:e.group,name:e.name,color:e.color,object:r,get value(){return e.type==="surface"?r.surface:e.type==="angle"?r.angle:r.length}})})},onSaveMeasurementsClick(){const t=String(this.pluginViewer.model.id),e=this.getSavedMeasurements();e[t]=this.measurements.map(i=>({type:i.type,group:i.group,name:i.name,color:i.color,points:i.points})),localStorage.setItem(this.storageKey,JSON.stringify(e)),this.isUpdated=!1}}},Rtt={class:"bimdata-measure2d"},Ltt={key:0,class:"bimdata-measure2d__actions-0"},Dtt={class:"bimdata-measure2d__actions-1"},_tt={class:"bimdata-measure2d__actions-2"},Ftt={class:"bimdata-measure2d__list"},Ott={class:"bimdata-measure2d__list__element"},Utt={class:"bimdata-measure2d__list__element__label"},Ntt=["onClick"],jtt={class:"bimdata-measure2d__list__element__tag"},Vtt=["onClick"],ztt={class:"bimdata-measure2d__list__element__buttons"},Htt={key:2,class:"bimdata-measure2d--not-calibrated"},qtt={key:0,class:"bimdata-measure2d--not-calibrated__guide"},Qtt=["src"];function Gtt(t,e,i,o,r,n){const a=I("BIMDataIconSave"),s=I("BIMDataButton"),l=I("BIMDataIconCaliper"),c=I("BIMDataTooltip"),d=I("BIMDataIconDistance"),u=I("BIMDataIconAngle"),h=I("BIMDataIconSurface"),p=I("BIMDataIconPathway"),A=I("BIMDataIcon"),f=I("BIMDataInput"),m=I("ColorSelector"),g=I("BIMDataIconHide"),y=I("BIMDataIconShow"),v=I("BIMDataIconDelete"),b=I("BIMDataPaginatedList"),x=I("BIMDataIllustration"),k=I("BIMDataEmpty"),E=si("click-away");return M(),_("div",Rtt,[n.model?n.isCalibrated?(M(),_(Ye,{key:1},[w("div",Dtt,[S(s,{class:"bimdata-measure2d__actions-1__btn-save",color:"primary",fill:"",radius:"",icon:"",disabled:!r.isUpdated,onClick:n.onSaveMeasurementsClick},{default:N(()=>[S(a,{size:"xs",margin:"0 6px 0 0"}),w("span",null,z(t.$t("measure2d.save_measurements")),1)]),_:1},8,["disabled","onClick"]),S(c,{text:t.$t("measure2d.calibrate")},{default:N(()=>[t.$viewer.api.permissions.hasModelWritePermission&&(r.carrier==="plan"||r.carrier==="dwg")?(M(),G(s,{key:0,color:r.calibrating?"primary":"default",fill:"",radius:"",icon:"",class:"bimdata-measure2d__actions-1__caliper",onClick:n.toggleCalibrate},{default:N(()=>[S(l,{size:"xs"})]),_:1},8,["color","onClick"])):te("",!0)]),_:1},8,["text"])]),w("div",_tt,[r.ruler2dPluginAvailable?(M(),G(s,{key:0,color:r.selectedMeasurementPlugin==="distance"?"primary":"default",fill:"",radius:"",onClick:e[0]||(e[0]=B=>n.onAddMeasurementClick("distance"))},{default:N(()=>[S(d,{size:"s",margin:"0 6px 0 0"}),w("span",null," + "+z(t.$t("measure2d.distance_measurement")),1)]),_:1},8,["color"])):te("",!0),r.angle2dPluginAvailable?(M(),G(s,{key:1,color:r.selectedMeasurementPlugin==="angle"?"primary":"default",fill:"",radius:"",onClick:e[1]||(e[1]=B=>n.onAddMeasurementClick("angle"))},{default:N(()=>[S(u,{size:"s",margin:"0 6px 0 0"}),w("span",null," + "+z(t.$t("measure2d.angle_measurement")),1)]),_:1},8,["color"])):te("",!0),r.surface2dPluginAvailable?(M(),G(s,{key:2,color:r.selectedMeasurementPlugin==="surface"?"primary":"default",fill:"",radius:"",onClick:e[2]||(e[2]=B=>n.onAddMeasurementClick("surface"))},{default:N(()=>[S(h,{size:"s",margin:"0 6px 0 0"}),w("span",null," + "+z(t.$t("measure2d.surface_measurement")),1)]),_:1},8,["color"])):te("",!0),r.path2dPluginAvailable?(M(),G(s,{key:3,color:r.selectedMeasurementPlugin==="path"?"primary":"default",fill:"",radius:"",onClick:e[3]||(e[3]=B=>n.onAddMeasurementClick("path"))},{default:N(()=>[S(p,{size:"s",margin:"0 6px 0 0"}),w("span",null," + "+z(t.$t("measure2d.path_measurement")),1)]),_:1},8,["color"])):te("",!0)]),w("div",Ftt,[r.measurements.length>0?(M(),G(b,{key:0,list:r.measurements,"element-key":"id",style:{overflow:"unset"}},{element:N(({element:B})=>[w("div",Ott,[w("div",Utt,[S(A,{name:B.type==="path"?"pathway":B.type,size:"m",margin:"0 12px 0 0"},null,8,["name"]),B.nameEditing?(M(),G(f,{key:0,ref:"elementInput",modelValue:B.name,"onUpdate:modelValue":P=>B.name=P,onBlur:P=>B.nameEditing=!1,onKeypress:Ut(P=>B.nameEditing=!1,["enter"])},null,8,["modelValue","onUpdate:modelValue","onBlur","onKeypress"])):(M(),_("span",{key:1,onClick:P=>n.onElementNameClick(B)},z(B.name),9,Ntt))]),w("div",jtt,[w("span",{class:"bimdata-measure2d__list__element__tag__content",style:ce(`color: ${B.colorString}; background-color: ${B.colorString}20;`),onClick:P=>n.onTagClick(B)},z(B.value)+" "+z(B.unit),13,Vtt),B.colorEditing?yt((M(),G(m,{key:0,class:"bimdata-measure2d__list__element__tag__color-selector","selected-color":B.color,onColorSelect:P=>{B.color=P.value,B.colorEditing=!1}},null,8,["selected-color","onColorSelect"])),[[E,()=>{B.colorEditing=!1}]]):te("",!0)]),w("div",ztt,[S(s,{icon:"",class:"m-r-6",color:"granite",ghost:"",radius:"",disabled:n.isHideElementDisabled(B),onClick:P=>n.onHideMeasurementClick(B)},{default:N(()=>[B.visible?(M(),G(g,{key:0,size:"s"})):(M(),G(y,{key:1,size:"s"}))]),_:2},1032,["disabled","onClick"]),S(s,{icon:"",ghost:"",radius:"",color:"granite",onClick:P=>n.onDeleteMeasurementClick(B)},{default:N(()=>[S(v,{size:"m"})]),_:1},8,["onClick"])])])]),_:1},8,["list"])):(M(),G(k,{key:1,message:t.$t("measure2d.empty")},{default:N(()=>[S(x,{name:"emptyBucket"})]),_:1},8,["message"]))])],64)):(M(),_("div",Htt,[r.calibrating?(M(),_("div",qtt,[w("img",{src:r.guide},null,8,Qtt)])):(M(),G(x,{key:1,name:"emptyMeasure"})),w("div",null,z(r.calibrating?t.$t("measure2d.calibrating"):t.$t("measure2d.not_calibrated")),1),S(s,{color:"primary",fill:"",radius:"",icon:"",width:"150px",disabled:r.calibrating,onClick:e[4]||(e[4]=B=>n.onCalibrateClick())},{default:N(()=>[S(l,{size:"s",margin:"0 var(--spacing-unit) 0 0"}),Je(" "+z(t.$t("measure2d.calibrate")),1)]),_:1},8,["disabled"])])):(M(),_("div",Ltt,z(t.$t("measure2d.no_model"))+". ",1))])}const Ktt=j(Ttt,[["render",Gtt],["__scopeId","data-v-be54f8aa"]]),Jtt="Speichern",Ztt="Entfernung",Wtt="Winkel",Ytt="Oberfl\xE4che",Xtt="Weg",$tt="Sie haben derzeit keine gespeicherten Messungen.",eit="Messen",tit="Klicken Sie auf \u201EBest\xE4tigen\u201C, um die Zeichnung zu beenden.",iit="Kalibrierung",oit="Bitte skizzieren und best\xE4tigen Sie Ihren Standard",rit="Um das Messwerkzeug verwenden zu k\xF6nnen, stellen Sie sicher, dass Sie Ihren Plan kalibriert haben.",nit="W\xE4hlen Sie ein Modell aus, um Messungen durchf\xFChren zu k\xF6nnen.",ait="Es muss sich um eine strikte positive Zahl handeln",sit="Plan erfolgreich kalibriert",lit={save_measurements:Jtt,distance_measurement:Ztt,angle_measurement:Wtt,surface_measurement:Ytt,path_measurement:Xtt,empty:$tt,tooltip:eit,validate_path:tit,calibrate:iit,calibrating:oit,not_calibrated:rit,no_model:nit,modal_error:ait,calibration_success:sit},cit="Save",dit="Distance",uit="Angle",hit="Surface",pit="Path",fit="There is currently no saved measurement.",Ait="Measurement tool",git="Click on \u201Cvalidate\u201D to end the path.",mit="Calibration",vit="Please trace and validate your stallion",yit="To use the measurement tool, make sure you have calibrated your plan.",bit="Select a model to be able to perform measurements",wit="Must be a strictly positive number",Cit="Successfully calibrated plan",xit={save_measurements:cit,distance_measurement:dit,angle_measurement:uit,surface_measurement:hit,path_measurement:pit,empty:fit,tooltip:Ait,validate_path:git,calibrate:mit,calibrating:vit,not_calibrated:yit,no_model:bit,modal_error:wit,calibration_success:Cit},kit="Guardar",Mit="Distancia",Eit="\xC1ngulo",Bit="Superficie",Pit="Camino",Iit="Actualmente no hay ninguna medici\xF3n guardada.",Sit="Herramienta de medici\xF3n",Tit="Haga clic en \xE2\u20AC\u0153validar\xE2\u20AC para finalizar el camino.",Rit="Calibraci\xF3n",Lit="Rastree y valide su patr\xF3n",Dit="Para poder utilizar la herramienta de medici\xF3n, aseg\xFArese de haber calibrado su plano.",_it="Seleccionar un modelo para poder realizar mediciones",Fit="El n\xFAmero debe ser necesariamente positivo",Oit="Plano calibrado de forma correcta",Uit={save_measurements:kit,distance_measurement:Mit,angle_measurement:Eit,surface_measurement:Bit,path_measurement:Pit,empty:Iit,tooltip:Sit,validate_path:Tit,calibrate:Rit,calibrating:Lit,not_calibrated:Dit,no_model:_it,modal_error:Fit,calibration_success:Oit},Nit="Sauvegarder",jit="Distance",Vit="Angle",zit="Surface",Hit="Chemin",qit="Vous n\u2019avez actuellement aucune mesure enregistr\xE9e.",Qit="Outil de mesure",Git="Cliquer sur \u201Cvalider\u201D pour terminer le trac\xE9.",Kit="Etalonnage",Jit="Veuillez tra\xE7er et valider votre \xE9talon",Zit="Pour pouvoir utiliser l\u2019outil de mesure, assurez-vous d\u2019avoir calibr\xE9 votre plan.",Wit="Selectionner un model pour pouvoir r\xE9aliser des mesures",Yit="Doit \xEAtre un nombre strictement positif",Xit="Plan calibr\xE9 avec succ\xE8s",$it={save_measurements:Nit,distance_measurement:jit,angle_measurement:Vit,surface_measurement:zit,path_measurement:Hit,empty:qit,tooltip:Qit,validate_path:Git,calibrate:Kit,calibrating:Jit,not_calibrated:Zit,no_model:Wit,modal_error:Yit,calibration_success:Xit},eot="Salva",tot="Distanza",iot="Angolo",oot="Superficie",rot="Percorso",not="Attualmente non hai misure salvate.",aot="Strumento di misura",sot='Clicca su "OK" per completare il percorso.',lot="Calibrazione",cot="Indica e conferma il tuo campione",dot="Per poter utilizzare lo strumento di misurazione, assicurati di aver calibrato il tuo progetto.",uot="Seleziona un modello per eseguire delle misurazioni",hot="Deve essere un numero positivo",pot="Progetto calibrato correttamente",fot={save_measurements:eot,distance_measurement:tot,angle_measurement:iot,surface_measurement:oot,path_measurement:rot,empty:not,tooltip:aot,validate_path:sot,calibrate:lot,calibrating:cot,not_calibrated:dot,no_model:uot,modal_error:hot,calibration_success:pot},Aot={name:"measure2d",i18n:{de:lit,en:xit,es:Uit,fr:$it,it:fot},component:Ktt,addToWindows:["2d","plan"],button:{tooltip:"measure2d.tooltip",position:"right",content:"panel",keepOpen:!0,icon:{component:"BIMDataIconMeasure",options:{size:"m"}}}};function got(t){return{created(){t.pathValidationModal=this},render(){return mo(iy,{width:"100%",class:"bimdata-measure-dwg__path-validation"},{content:()=>mo("div",{style:"display: flex; justify-content: space-between; align-items: center;"},[mo("div",this.$t("measureDwg.validate_path")),mo(ir,{fill:!0,radius:!0,color:"high",width:"121px",onClick:t.onPathCancel},{default:()=>this.$t("global.cancel")}),mo(ir,{fill:!0,radius:!0,color:"primary",width:"121px",onClick:t.onPathValidate},{default:()=>this.$t("global.validate")})])})}}}const GH="BIMDataViewer-DWG_measurements",mot={name:"BIMDataMeasureDWG",components:{ColorSelector:ly,BIMDataEmpty:dd},data(){return{distanceMeasurementPluginAvailable:!1,surfaceMeasurementPluginAvailable:!1,angleMeasurementPluginAvailable:!1,pathMeasurementPluginAvailable:!1,selectedMeasurementPlugin:null,currentColor:null,currentPlugin:null,measurements:[],isUpdated:!1,hasBeenOpened:!1,pluginViewer:{},calibrating:!1}},computed:{model(){return fi(this.pluginViewer.model)},modelId(){return this.model?.id??null},standard(){return this.model?.stateModel?.sizeRatio??1}},watch:{model(t){this.measurements.forEach(e=>e.destroy()),this.measurements=[],t&&this.restoreSavedMeasurements(t)},modelId(t){this.measurements.forEach(e=>{e.visible=this.hasBeenOpened&&e.modelId===t})},measurements(t){t.forEach(e=>{e.visible=this.hasBeenOpened&&e.modelId===this.modelId})},selectedMeasurementPlugin(t){const e=this.measurementPlugins.get(t);this.currentPlugin&&this.currentPlugin!==e&&(this.currentPlugin.disable(),this.pathValidationModal&&this.closePathValidationModal()),e&&(e.enable(i=>{this.isUpdated=!0,this.measurements.push(i),this.selectedMeasurementPlugin=null,this.currentColor=el()}),t==="path"&&this.$viewer.localContext.modals.pushModal(got(this),null,{display:"banner"})),this.currentPlugin=e},currentColor(t){this.measurementPlugins.forEach(e=>{e.color=t})}},unmounted(){this.pluginViewer.plugins.caliper.disable(),this.pluginViewer.viewer.inputs.pickSnapMargin=0},mounted(){const t=this.$viewer.localContext.viewer;if(!t||!t.viewer){const n="Measure2d plugin cannot work without a viewer dwg plugin and viewer (engine2d).";throw console.error(n),new Error(n)}this.pluginViewer=t;const e=t.plugins?.distanceMeasurementPlugin,i=t.plugins?.surfaceMeasurementPlugin,o=t.plugins?.angleMeasurementPlugin,r=t.plugins?.pathMeasurementPlugin;this.measurementPlugins=new Map,e&&(this.measurementPlugins.set("distance",e),this.distanceMeasurementPluginAvailable=!0),i&&(this.measurementPlugins.set("surface",i),this.surfaceMeasurementPluginAvailable=!0),o&&(this.measurementPlugins.set("angle",o),this.angleMeasurementPluginAvailable=!0),r&&(this.measurementPlugins.set("path",r),this.pathMeasurementPluginAvailable=!0),this.currentColor=el()},onOpen(){document.addEventListener("keydown",this.onKeyDown),this.pluginViewer.ui.disableAll(),this.hasBeenOpened=!0,this.measurements.forEach(t=>{t.visible=t.modelId===this.modelId})},onClose(){document.removeEventListener("keydown",this.onKeyDown),this.pluginViewer.ui.enableAll(),this.selectedMeasurementPlugin=null,this.pluginViewer.plugins.caliper.disable(),this.calibrating=!1,this.pluginViewer.viewer.inputs.pickSnapMargin=0},methods:{onSaveMeasurementsClick(){if(!this.model||!this.isUpdated)return;const t=GH+"_"+this.model.id,e=this.measurements.map(i=>i.serialize());localStorage.setItem(t,JSON.stringify(e)),this.isUpdated=!1},restoreSavedMeasurements(t){const e=GH+"_"+t.id;(JSON.parse(localStorage.getItem(e))||[]).forEach(i=>{const o=this.measurementPlugins.get(i.type);if(o){const r=o.deserialize(i);this.measurements.push(r)}}),this.isUpdated=!1},toggleCalibrate(){this.calibrating?(this.pluginViewer.plugins.caliper.disable(),this.calibrating=!1):this.onCalibrateClick()},onCalibrateClick(){this.pluginViewer.plugins.caliper.enable(this.onCalibrationValidated,this.onCalibrationCancel),this.calibrating=!0},async onCalibrationValidated(t){this.pluginViewer.plugins.caliper.disable();const e=this.$viewer.api.cloudId,i=this.$viewer.api.projectId;try{this.model.stateModel.sizeRatio=t,this.$viewer.api.permissions.hasModelWritePermission&&await this.$viewer.api.apiClient.modelApi.updateModel(e,this.model.stateModel.id,i,{size_ratio:t}),this.measurements.forEach(o=>o.updateText()),this.$viewer.localContext.hub.emit("alert",{type:"success",message:this.$t("measureDwg.calibration_success")})}catch(o){console.error(o.message),this.$viewer.localContext.hub.emit("alert",{type:"error",message:o.message})}finally{this.calibrating=!1}},onCalibrationCancel(){this.calibrating=!1,this.pluginViewer.plugins.caliper.disable()},closePathValidationModal(){this.pathValidationModal.$emit("close"),this.pathValidationModal=null},onPathCancel(){this.selectedMeasurementPlugin=null,this.pathValidationModal&&this.closePathValidationModal()},onPathValidate(){const t=this.measurementPlugins.get(this.selectedMeasurementPlugin).validate();this.closePathValidationModal(),t||(this.selectedMeasurementPlugin=null)},onTagClick(t){this.measurements.filter(e=>e!==t).forEach(e=>e.colorEditing=!1),t.colorEditing=!0,this.isUpdated=!0},onElementNameClick(t){t.nameEditing=!0,this.isUpdated=!0,this.$nextTick(()=>{this.$refs.elementInput&&this.$refs.elementInput.focus()})},onAddMeasurementClick(t){this.selectedMeasurementPlugin===t?this.selectedMeasurementPlugin=null:this.selectedMeasurementPlugin=t},onKeyDown(t){t.key==="Escape"?(this.selectedMeasurementPlugin=null,this.measurements.forEach(e=>{e.nameEditing=!1,e.colorEditing=!1})):t.key==="Enter"&&this.pathValidationModal&&this.onPathValidate()},onDeleteMeasurementClick(t){t.destroy(),this.measurements.splice(this.measurements.indexOf(t),1),this.isUpdated=!0}}},vot={class:"bimdata-measure-dwg"},yot={key:0,class:"bimdata-measure-dwg__actions-0"},bot={class:"bimdata-measure-dwg__actions-1"},wot={class:"bimdata-measure-dwg__actions-2"},Cot={class:"bimdata-measure-dwg__list"},xot={class:"bimdata-measure-dwg__list__element"},kot={class:"bimdata-measure-dwg__list__element__label"},Mot=["onClick"],Eot={class:"bimdata-measure-dwg__list__element__tag"},Bot=["onClick"],Pot={class:"bimdata-measure-dwg__list__element__buttons"};function Iot(t,e,i,o,r,n){const a=I("BIMDataIconSave"),s=I("BIMDataButton"),l=I("BIMDataIconCaliper"),c=I("BIMDataIconDistance"),d=I("BIMDataIconAngle"),u=I("BIMDataIconSurface"),h=I("BIMDataIconPathway"),p=I("BIMDataIcon"),A=I("BIMDataInput"),f=I("ColorSelector"),m=I("BIMDataIconHide"),g=I("BIMDataIconShow"),y=I("BIMDataIconDelete"),v=I("BIMDataPaginatedList"),b=I("BIMDataIllustration"),x=I("BIMDataEmpty"),k=si("click-away");return M(),_("div",vot,[n.model?(M(),_(Ye,{key:1},[w("div",bot,[S(s,{class:"bimdata-measure-dwg__actions-1__btn-save",color:"primary",fill:"",radius:"",icon:"",disabled:!r.isUpdated,onClick:n.onSaveMeasurementsClick},{default:N(()=>[S(a,{size:"xs",margin:"0 6px 0 0"}),w("span",null,z(t.$t("measureDwg.save_measurements")),1)]),_:1},8,["disabled","onClick"]),t.$viewer.api.permissions.hasModelWritePermission?(M(),G(s,{key:0,color:r.calibrating?"primary":"default",fill:"",radius:"",icon:"",class:"bimdata-measure-dwg__actions-1__caliper",onClick:n.toggleCalibrate},{default:N(()=>[S(l,{size:"xs"})]),_:1},8,["color","onClick"])):te("",!0)]),w("div",wot,[r.distanceMeasurementPluginAvailable?(M(),G(s,{key:0,color:r.selectedMeasurementPlugin==="distance"?"primary":"default",fill:"",radius:"",onClick:e[0]||(e[0]=E=>n.onAddMeasurementClick("distance"))},{default:N(()=>[S(c,{size:"s",margin:"0 6px 0 0"}),w("span",null," + "+z(t.$t("measureDwg.distance_measurement")),1)]),_:1},8,["color"])):te("",!0),r.angleMeasurementPluginAvailable?(M(),G(s,{key:1,color:r.selectedMeasurementPlugin==="angle"?"primary":"default",fill:"",radius:"",onClick:e[1]||(e[1]=E=>n.onAddMeasurementClick("angle"))},{default:N(()=>[S(d,{size:"s",margin:"0 6px 0 0"}),w("span",null," + "+z(t.$t("measureDwg.angle_measurement")),1)]),_:1},8,["color"])):te("",!0),r.surfaceMeasurementPluginAvailable?(M(),G(s,{key:2,color:r.selectedMeasurementPlugin==="surface"?"primary":"default",fill:"",radius:"",onClick:e[2]||(e[2]=E=>n.onAddMeasurementClick("surface"))},{default:N(()=>[S(u,{size:"s",margin:"0 6px 0 0"}),w("span",null," + "+z(t.$t("measureDwg.surface_measurement")),1)]),_:1},8,["color"])):te("",!0),r.pathMeasurementPluginAvailable?(M(),G(s,{key:3,color:r.selectedMeasurementPlugin==="path"?"primary":"default",fill:"",radius:"",onClick:e[3]||(e[3]=E=>n.onAddMeasurementClick("path"))},{default:N(()=>[S(h,{size:"s",margin:"0 6px 0 0"}),w("span",null," + "+z(t.$t("measureDwg.path_measurement")),1)]),_:1},8,["color"])):te("",!0)]),w("div",Cot,[r.measurements.length>0?(M(),G(v,{key:0,list:r.measurements,"element-key":"id",style:{overflow:"unset"}},{element:N(({element:E})=>[w("div",xot,[w("div",kot,[S(p,{name:E.type==="path"?"pathway":E.type,size:"m",margin:"0 12px 0 0"},null,8,["name"]),E.nameEditing?(M(),G(A,{key:0,ref:"elementInput",modelValue:E.name,"onUpdate:modelValue":B=>E.name=B,onBlur:B=>E.nameEditing=!1,onKeypress:Ut(B=>E.nameEditing=!1,["enter"])},null,8,["modelValue","onUpdate:modelValue","onBlur","onKeypress"])):(M(),_("span",{key:1,onClick:B=>n.onElementNameClick(E)},z(E.name),9,Mot))]),w("div",Eot,[w("span",{class:"bimdata-measure-dwg__list__element__tag__content",style:ce(`color: ${E.colorString}; background-color: ${E.colorString}20;`),onClick:B=>n.onTagClick(E)},z(E.getFormattedValue()),13,Bot),E.colorEditing?yt((M(),G(f,{key:0,class:"bimdata-measure-dwg__list__element__tag__color-selector","selected-color":E.color,onColorSelect:B=>{E.color=B.value,E.colorEditing=!1}},null,8,["selected-color","onColorSelect"])),[[k,()=>{E.colorEditing=!1}]]):te("",!0)]),w("div",Pot,[S(s,{icon:"",class:"m-r-6",color:"granite",ghost:"",radius:"",disabled:E.modelId!==n.modelId,onClick:B=>E.visible=!E.visible},{default:N(()=>[E.visible?(M(),G(m,{key:0,size:"s"})):(M(),G(g,{key:1,size:"s"}))]),_:2},1032,["disabled","onClick"]),S(s,{icon:"",ghost:"",radius:"",color:"granite",onClick:B=>n.onDeleteMeasurementClick(E)},{default:N(()=>[S(y,{size:"m"})]),_:1},8,["onClick"])])])]),_:1},8,["list"])):(M(),G(x,{key:1,message:t.$t("measureDwg.empty")},{default:N(()=>[S(b,{name:"emptyBucket"})]),_:1},8,["message"]))])],64)):(M(),_("div",yot,z(t.$t("measureDwg.no_model"))+". ",1))])}const Sot=j(mot,[["render",Iot],["__scopeId","data-v-2d1329e7"]]),Tot="Speichern",Rot="Entfernung",Lot="Winkel",Dot="Oberfl\xE4che",_ot="Weg",Fot="Sie haben derzeit keine gespeicherten Messungen.",Oot="Messger\xE4t",Uot="Klicken Sie auf \u201EBest\xE4tigen\u201C, um die Zeichnung zu beenden.",Not="Kalibrierung",jot="Bitte skizzieren und best\xE4tigen Sie Ihren Standard",Vot="Um das Messwerkzeug verwenden zu k\xF6nnen, stellen Sie sicher, dass Sie Ihren Plan kalibriert haben.",zot="W\xE4hlen Sie ein Modell aus, um Messungen durchf\xFChren zu k\xF6nnen.",Hot="Es muss sich um eine strikte positive Zahl handeln",qot="Plan erfolgreich kalibriert",Qot={save_measurements:Tot,distance_measurement:Rot,angle_measurement:Lot,surface_measurement:Dot,path_measurement:_ot,empty:Fot,tooltip:Oot,validate_path:Uot,calibrate:Not,calibrating:jot,not_calibrated:Vot,no_model:zot,modal_error:Hot,calibration_success:qot},Got="Save",Kot="Distance",Jot="Angle",Zot="Surface",Wot="Path",Yot="There is currently no saved measurement.",Xot="Measurement tool",$ot="Click on \u201Cvalidate\u201D to end the path.",ert="Calibration",trt="Please trace and validate your stallion",irt="To use the measurement tool, make sure you have calibrated your plan.",ort="Select a model to be able to perform measurements",rrt="Must be a strictly positive number",nrt="Successfully calibrated plan",art={save_measurements:Got,distance_measurement:Kot,angle_measurement:Jot,surface_measurement:Zot,path_measurement:Wot,empty:Yot,tooltip:Xot,validate_path:$ot,calibrate:ert,calibrating:trt,not_calibrated:irt,no_model:ort,modal_error:rrt,calibration_success:nrt},srt="Guardar",lrt="Distancia",crt="\xC1ngulo",drt="Superficie",urt="Camino",hrt="Actualmente no hay ninguna medici\xF3n guardada.",prt="Herramienta de medici\xF3n",frt="Haga clic en \xE2\u20AC\u0153validar\xE2\u20AC para finalizar el camino.",Art="Calibraci\xF3n",grt="Rastree y valide su patr\xF3n",mrt="Para poder utilizar la herramienta de medici\xF3n, aseg\xFArese de haber calibrado su plano.",vrt="Seleccionar un modelo para poder realizar mediciones",yrt="El n\xFAmero debe ser necesariamente positivo",brt="Plano calibrado de forma correcta",wrt={save_measurements:srt,distance_measurement:lrt,angle_measurement:crt,surface_measurement:drt,path_measurement:urt,empty:hrt,tooltip:prt,validate_path:frt,calibrate:Art,calibrating:grt,not_calibrated:mrt,no_model:vrt,modal_error:yrt,calibration_success:brt},Crt="Sauvegarder",xrt="Distance",krt="Angle",Mrt="Surface",Ert="Chemin",Brt="Vous n\u2019avez actuellement aucune mesure enregistr\xE9e.",Prt="Outil de mesure",Irt="Cliquer sur \u201Cvalider\u201D pour terminer le trac\xE9.",Srt="Etalonnage",Trt="Veuillez tra\xE7er et valider votre \xE9talon",Rrt="Pour pouvoir utiliser l\u2019outil de mesure, assurez-vous d\u2019avoir calibr\xE9 votre plan.",Lrt="Selectionner un model pour pouvoir r\xE9aliser des mesures",Drt="Doit \xEAtre un nombre strictement positif",_rt="Plan calibr\xE9 avec succ\xE8s",Frt={save_measurements:Crt,distance_measurement:xrt,angle_measurement:krt,surface_measurement:Mrt,path_measurement:Ert,empty:Brt,tooltip:Prt,validate_path:Irt,calibrate:Srt,calibrating:Trt,not_calibrated:Rrt,no_model:Lrt,modal_error:Drt,calibration_success:_rt},Ort="Salva",Urt="Distanza",Nrt="Angolo",jrt="Superficie",Vrt="Percorso",zrt="Attualmente non hai misure salvate.",Hrt="Strumento di misura",qrt='Clicca su "OK" per completare il percorso.',Qrt="Calibrazione",Grt="Indica e conferma il tuo campione",Krt="Per poter utilizzare lo strumento di misurazione, assicurati di aver calibrato il tuo progetto.",Jrt="Seleziona un modello per eseguire delle misurazioni",Zrt="Deve essere un numero positivo",Wrt="Progetto calibrato correttamente",Yrt={save_measurements:Ort,distance_measurement:Urt,angle_measurement:Nrt,surface_measurement:jrt,path_measurement:Vrt,empty:zrt,tooltip:Hrt,validate_path:qrt,calibrate:Qrt,calibrating:Grt,not_calibrated:Krt,no_model:Jrt,modal_error:Zrt,calibration_success:Wrt},Xrt={name:"measureDwg",i18n:{de:Qot,en:art,es:wrt,fr:Frt,it:Yrt},component:Sot,addToWindows:["dwg","dxf"],button:{tooltip:"measureDwg.tooltip",position:"right",content:"panel",keepOpen:!0,icon:{component:"BIMDataIconMeasure",options:{size:"m"}}}},$rt={name:"BIMDataMeasure3D",components:{BIMDataEmpty:dd,ColorSelector:ly},data(){return{selectedMeasurementPlugin:null,currentPlugin:null,isUpdated:!1,measurements:[],distanceMeasurementId:1,angleMeasurementId:1,spacingMeasurementId:1,spacingMeasurementEnabled:!1}},computed:{displayedMeasurements(){const t=this.$viewer.localContext.loadedModelIds;return this.measurements.filter(e=>e.modelIds.some(i=>t.includes(i)))}},watch:{selectedMeasurementPlugin(t,e){e&&this.plugins.get(e).control.deactivate(),t&&this.plugins.get(t).control.activate()},displayedMeasurements(t){this.measurements.forEach(e=>{e.visible=t.includes(e)})}},mounted(){const t=this.$viewer.localContext.pluginComponentInstances.get("viewer3d")||this.$viewer.localContext.pluginComponentInstances.get("pointCloud");if(!t){const o="Measure3D plugin cannot work without viewer3d or tileset plugin.";throw console.error(o),new Error(o)}this.viewer3d=t,this.spacingMeasurementEnabled=t.spacingMeasurementsPlugin,this.plugins=new Map,this.plugins.set("distance",t.distanceMeasurementsPlugin),this.plugins.set("angle",t.angleMeasurementsPlugin),this.spacingMeasurementEnabled&&this.plugins.set("spacing",t.spacingMeasurementsPlugin),this.updateCurrentColor();const e=Object.values(this.viewer3d.distanceMeasurementsPlugin.measurements).map(this.makeDistanceMeasurement),i=Object.values(this.viewer3d.angleMeasurementsPlugin.measurements).map(this.makeAngleMeasurement);if(this.measurements=[...e,...i],this.spacingMeasurementEnabled){const o=Object.values(this.viewer3d.spacingMeasurementsPlugin.measurements).map(this.makeSpacingMeasurement);this.measurements.push(...o)}this.distanceMeasurementSubscription=this.viewer3d.distanceMeasurementsPlugin.on("measurementEnd",o=>{this.measurements.push(this.makeDistanceMeasurement(o)),this.selectedMeasurementPlugin=null,this.updateCurrentColor()}),this.angleMeasurementSubscription=this.viewer3d.angleMeasurementsPlugin.on("measurementEnd",o=>{this.measurements.push(this.makeAngleMeasurement(o)),this.selectedMeasurementPlugin=null,this.updateCurrentColor()}),this.spacingMeasurementEnabled&&(this.spacingMeasurementSubscription=this.viewer3d.spacingMeasurementsPlugin.on("measurementEnd",o=>{this.measurements.push(this.makeSpacingMeasurement(o)),this.selectedMeasurementPlugin=null,this.updateCurrentColor()}))},onOpen(){this.viewer3d.highlightOnHover=!1,this.viewer3d.selectOnClick=!1,document.addEventListener("keydown",this.onKeyDown)},onClose(){this.viewer3d.highlightOnHover=!0,this.viewer3d.selectOnClick=!0,this.selectedMeasurementPlugin&&this.plugins.get(this.selectedMeasurementPlugin)?.control.deactivate(),document.removeEventListener("keydown",this.onKeyDown),this.selectedMeasurementPlugin=null},unmounted(){this.viewer3d.distanceMeasurementsPlugin.off(this.distanceMeasurementSubscription),this.viewer3d.angleMeasurementsPlugin.off(this.angleMeasurementSubscription),this.viewer3d.spacingMeasurementsPlugin?.off(this.spacingMeasurementSubscription)},methods:{onTagClick(t){this.measurements.filter(e=>e!==t).forEach(e=>e.colorEditing=!1),t.colorEditing=!0,this.isUpdated=!0},updateCurrentColor(){this.currentColor=el(),this.plugins.forEach(t=>t.defaultColor=`#${this.currentColor.toString(16).padStart(6,0)}`)},onElementNameClick(t){t.nameEditing=!0,this.isUpdated=!0,this.$nextTick(()=>{this.$refs.elementInput&&this.$refs.elementInput.focus()})},onInputBlur(t){t.nameEditing=!1},onAddMeasurementClick(t){this.selectedMeasurementPlugin===t?this.selectedMeasurementPlugin=null:this.selectedMeasurementPlugin=t},onKeyDown(t){t.key==="Escape"&&this.onEscapeDown()},onEscapeDown(){this.selectedMeasurementPlugin=null,this.measurements.forEach(t=>{t.nameEditing=!1,t.colorEditing=!1})},onHideMeasurementClick(t){t.visible=!t.visible},onDeleteMeasurementClick(t){t.destroy(),this.measurements.splice(this.measurements.indexOf(t),1),this.isUpdated=!0},makeAngleMeasurement(t){return this.makeMeasurement(t,`angle-${this.angleMeasurementId++}`,t.angle.toFixed(2),"\xB0","angle",t.color)},makeDistanceMeasurement(t){return this.makeMeasurement(t,`distance-${this.distanceMeasurementId++}`,t.length.toFixed(2),"m","distance",t.color)},makeSpacingMeasurement(t){return this.makeMeasurement(t,`spacing-${this.spacingMeasurementId++}`,t.length.toFixed(2),"m","spacing",t.color)},makeMeasurement(t,e,i,o,r,n){let a=!0,s=!1,l=n;return{nameEditing:!1,get visible(){return a},set visible(c){a=c,t.visible=c},colorEditing:!1,get color(){return l},set color(c){l=c,t.color=c},name:e,value:i,unit:o,type:r,modelIds:this.$viewer.localContext.loadedModelIds,destroy(){s||(t.destroy(),s=!0)},get destroyed(){return s}}}}},ent={class:"bimdata-measure3d"},tnt={class:"bimdata-measure3d__actions"},int={class:"bimdata-measure3d__content"},ont={class:"bimdata-measure3d__list__element"},rnt={class:"bimdata-measure3d__list__element__label"},nnt=["onClick"],ant={class:"bimdata-measure3d__list__element__tag"},snt=["onClick"],lnt={class:"bimdata-measure3d__list__element__buttons"};function cnt(t,e,i,o,r,n){const a=I("BIMDataIconDistance"),s=I("BIMDataButton"),l=I("BIMDataIconAngle"),c=I("BIMDataIcon"),d=I("BIMDataIllustration"),u=I("BIMDataEmpty"),h=I("BIMDataInput"),p=I("ColorSelector"),A=I("BIMDataIconHide"),f=I("BIMDataIconShow"),m=I("BIMDataIconDelete"),g=I("BIMDataPaginatedList"),y=si("click-away");return M(),_("div",ent,[w("div",tnt,[S(s,{color:r.selectedMeasurementPlugin==="distance"?"primary":"default",fill:"",radius:"",onClick:e[0]||(e[0]=v=>n.onAddMeasurementClick("distance"))},{default:N(()=>[S(a,{size:"s",margin:"0 6px 0 0"}),w("span",null," + "+z(t.$t("measure3d.distance_measurement")),1)]),_:1},8,["color"]),S(s,{color:r.selectedMeasurementPlugin==="angle"?"primary":"default",fill:"",radius:"",onClick:e[1]||(e[1]=v=>n.onAddMeasurementClick("angle"))},{default:N(()=>[S(l,{size:"s",margin:"0 6px 0 0"}),w("span",null," + "+z(t.$t("measure3d.angle_measurement")),1)]),_:1},8,["color"]),r.spacingMeasurementEnabled?(M(),G(s,{key:0,color:r.selectedMeasurementPlugin==="spacing"?"primary":"default",fill:"",radius:"",onClick:e[2]||(e[2]=v=>n.onAddMeasurementClick("spacing"))},{default:N(()=>[S(c,{name:"spacing",size:"xs",margin:"0 6px 0 0"}),w("span",null," + "+z(t.$t("measure3d.spacing_measurement")),1)]),_:1},8,["color"])):te("",!0)]),w("div",int,[S(g,{list:n.displayedMeasurements,"element-key":"id",style:{overflow:"unset"}},{empty:N(()=>[S(u,{message:t.$t("measure3d.empty")},{default:N(()=>[S(d,{name:"emptyBucket"})]),_:1},8,["message"])]),element:N(({element:v})=>[w("div",ont,[w("div",rnt,[S(c,{name:v.type,size:"m",margin:"0 12px 0 0"},null,8,["name"]),v.nameEditing?(M(),G(h,{key:0,ref:"elementInput",modelValue:v.name,"onUpdate:modelValue":b=>v.name=b,onBlur:b=>v.nameEditing=!1,onKeypress:Ut(b=>v.nameEditing=!1,["enter"])},null,8,["modelValue","onUpdate:modelValue","onBlur","onKeypress"])):(M(),_("span",{key:1,onClick:b=>n.onElementNameClick(v)},z(v.name),9,nnt))]),w("div",ant,[w("span",{class:"bimdata-measure3d__list__element__tag__content",style:ce(`color: ${v.color}; background-color: ${v.color}20;`),onClick:b=>n.onTagClick(v)},z(v.value)+" "+z(v.unit),13,snt),v.colorEditing?yt((M(),G(p,{key:0,class:"bimdata-measure3d__list__element__tag__color-selector","selected-color":parseInt(v.color.slice(1),16),onColorSelect:b=>{v.color=`#${b.value.toString(16).padStart(6,0)}`,v.colorEditing=!1}},null,8,["selected-color","onColorSelect"])),[[y,()=>{v.colorEditing=!1}]]):te("",!0)]),w("div",lnt,[S(s,{icon:"",class:"m-r-6",color:"granite",ghost:"",radius:"",onClick:b=>n.onHideMeasurementClick(v)},{default:N(()=>[v.visible?(M(),G(A,{key:0,size:"s"})):(M(),G(f,{key:1,size:"s"}))]),_:2},1032,["onClick"]),S(s,{icon:"",ghost:"",radius:"",color:"granite",onClick:b=>n.onDeleteMeasurementClick(v)},{default:N(()=>[S(m,{size:"m"})]),_:1},8,["onClick"])])])]),_:1},8,["list"])])])}const dnt=j($rt,[["render",cnt],["__scopeId","data-v-b6e2d727"]]),unt="Entfernungsmessung",hnt="Winkelmessung",pnt="Messung",fnt="Keine Messung",Ant="Abstand",gnt={distance_measurement:unt,angle_measurement:hnt,tooltip:pnt,empty:fnt,spacing_measurement:Ant},mnt="Distance",vnt="Angle",ynt="Measurement",bnt="No measure",wnt="Spacing",Cnt={distance_measurement:mnt,angle_measurement:vnt,tooltip:ynt,empty:bnt,spacing_measurement:wnt},xnt="Medir distancia",knt="Medici\xF3n angular",Mnt="Medici\xF3n",Ent="Sin mediciones",Bnt="Espaciado",Pnt={distance_measurement:xnt,angle_measurement:knt,tooltip:Mnt,empty:Ent,spacing_measurement:Bnt},Int="Distance",Snt="Angle",Tnt="Mesure",Rnt="Pas de mesure",Lnt="Espacement",Dnt={distance_measurement:Int,angle_measurement:Snt,tooltip:Tnt,empty:Rnt,spacing_measurement:Lnt},_nt="Misura distanza",Fnt="Misura angolo",Ont="Misura",Unt="Nessuna misurazione",Nnt={distance_measurement:_nt,angle_measurement:Fnt,tooltip:Ont,empty:Unt},jnt={name:"measure3d",i18n:{de:gnt,en:Cnt,es:Pnt,fr:Dnt,it:Nnt},component:dnt,addToWindows:["3d"],button:{tooltip:"measure3d.tooltip",position:"right",content:"panel",keepOpen:!0,icon:{component:"BIMDataIconMeasure",options:{size:"m"}}}},Vnt={render(){return null},async onOpen(t){const e=this.$viewer.localContext.viewer,i=await e.exportAsPDF(t);if(i){let o=this.$viewer.localContext.loadedModels[0];o.parent_id&&(o=e.pdfPages[0]);const r=document.createElement("a");r.href=URL.createObjectURL(i),r.download=o.document.file_name,r.click(),r.remove()}setTimeout(()=>this.$close())}},znt="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20preserveAspectRatio='xMidYMid%20meet'%20viewBox='-5%20-5%2034%2034'%20%3e%3cpath%20d='M18.5438%209.77808C17.8921%206.47183%2014.9883%203.98975%2011.5%203.98975C8.73042%203.98975%206.325%205.56141%205.12708%207.86141C2.2425%208.16808%200%2010.6118%200%2013.5731C0%2016.7452%202.57792%2019.3231%205.75%2019.3231H18.2083C20.8533%2019.3231%2023%2017.1764%2023%2014.5314C23%2012.0014%2021.0354%209.95058%2018.5438%209.77808ZM16.2917%2012.6147L11.5%2017.4064L6.70833%2012.6147H9.58333V8.78141H13.4167V12.6147H16.2917Z'%20/%3e%3c/svg%3e",Hnt={name:"pdfExport",component:Vnt,addToWindows:["plan"],button:{position:"right",tooltip:"pdfExport.title",icon:{imgUri:znt}},i18n:{en:{title:"PDF Export"},fr:{title:"Export PDF"}}},qnt={props:{width:{type:String,default:"32px"},height:{type:String,default:"32px"},accept:{type:String,default:""}},emits:["change"],methods:{onClick(){this.$refs.input.click()},onFileChange(t){const e=t.target.files&&t.target.files[0]?t.target.files[0]:null;this.$emit("change",e)}}},Qnt=["accept"];function Gnt(t,e,i,o,r,n){const a=I("BIMDataIconAddFile"),s=I("BIMDataButton");return M(),G(s,{style:{padding:"5px"},width:i.width,height:i.height,color:"primary",outline:"",radius:"",icon:"",onClick:n.onClick},{default:N(()=>[S(a,{size:"xs"}),gt(t.$slots,"default"),w("input",{ref:"input",type:"file",hidden:"",accept:i.accept,onChange:e[0]||(e[0]=(...l)=>n.onFileChange&&n.onFileChange(...l))},null,40,Qnt)]),_:3},8,["width","height","onClick"])}const KH=j(qnt,[["render",Gnt]]),Knt={inject:["$viewer"],props:{singleSelectMode:{type:Boolean,default:!1},multiSelectMode:{type:Boolean,default:!1},headerButtons:{type:Boolean,default:!0},headerSearch:{type:Boolean,default:!0},alreadySelectedIds:{type:Array,default:()=>[]},selectableFileTypes:{type:Array,default:()=>[]}},emits:["selection-change"],data(){return{apiUrl:null,archiveUrl:null,spaceId:null,projectId:null,accessToken:null}},computed:{selectMode(){return this.singleSelectMode||this.multiSelectMode}},created(){this.apiUrl=this.$viewer.api.apiUrl,this.archiveUrl=this.$viewer.api.archiveUrl,this.projectId=this.$viewer.api.projectId,this.spaceId=this.$viewer.api.cloudId,this.accessToken=this.$viewer.api.accessToken},methods:{onError(t){this.$viewer.localContext.hub.emit("alert",{type:"error",message:t&&t.message})},onSuccess(t){this.$viewer.localContext.hub.emit("alert",{type:"success",message:t&&t.message})},onSelectionChange(t){const e=t.map(({document:i})=>i);this.$emit("selection-change",e)}}};function Jnt(t,e,i,o,r,n){const a=I("BIMDataFileManager");return M(),G(a,{ref:"fileManager",class:"bimdata_ged","space-id":r.spaceId,"project-id":r.projectId,"api-url":r.apiUrl,"archive-url":r.archiveUrl,"access-token":r.accessToken,select:n.selectMode,multi:i.multiSelectMode,"header-buttons":i.headerButtons,"header-search":i.headerSearch,locale:t.$i18n.locale,"already-selected-ids":i.alreadySelectedIds,"selectable-file-types":i.selectableFileTypes,"view-pdf":"",onSelectionChange:n.onSelectionChange,onError:n.onError,onSuccess:n.onSuccess},null,8,["space-id","project-id","api-url","archive-url","access-token","select","multi","header-buttons","header-search","locale","already-selected-ids","selectable-file-types","onSelectionChange","onError","onSuccess"])}const cy=j(Knt,[["render",Jnt],["__scopeId","data-v-dd663a74"]]),Znt={components:{FileInput:KH,BIMDataGED:cy},data(){return{file:null,isGedOpen:!1,pdfToView:null}},computed:{pdfUrl(){return this.file?window.URL.createObjectURL(this.file):null}},methods:{onOpenGedClick(){this.isGedOpen=!this.isGedOpen},onCloseClick(){this.file=null,this.pdfToView=null},back(){this.isGedOpen=!1},async loadFile(t){t.name?this.pdfToView=t:this.pdfToView=this.file,this.back()}}},Wnt={class:"pdf-viewer"},Ynt={class:"pdf-viewer__content"},Xnt={key:1},$nt={key:0,class:"pdf-viewer__content--empty"},eat={class:"flex items-center justify-center m-t-18"},tat={class:"m-l-6"},iat={class:"m-l-6"},oat={key:1,class:"pdf-viewer__content--ged"},rat={class:"p-x-12"},nat={class:"pdf-viewer__content--ged__buttons flex items-center justify-between"};function aat(t,e,i,o,r,n){const a=I("BIMDataIconArrow"),s=I("BIMDataButton"),l=I("BIMDataPDFViewer",!0),c=I("BIMDataIllustration"),d=I("FileInput"),u=I("BIMDataIconFolder"),h=I("BIMDataGED");return M(),_("div",Wnt,[w("div",Ynt,[r.pdfToView?(M(),G(l,{key:0,pdf:r.pdfToView,header:""},{"header-left":N(()=>[S(s,{class:"m-l-12",width:"32px",height:"32px",color:"primary",ghost:"",radius:"",icon:"",onClick:n.onCloseClick},{default:N(()=>[S(a,{size:"xxs"})]),_:1},8,["onClick"])]),_:1},8,["pdf"])):(M(),_("div",Xnt,[r.isGedOpen?te("",!0):(M(),_("div",$nt,[S(c,{name:"emptyPdf",x:"90",y:"90"}),w("h3",null,z(t.$t("pdf.title")),1),w("div",eat,[S(d,{accept:"application/pdf",onChange:n.loadFile},{default:N(()=>[w("div",tat,z(t.$t("pdf.empty")),1)]),_:1},8,["onChange"]),S(s,{class:"m-l-12",color:"primary",outline:"",radius:"",onClick:n.onOpenGedClick},{default:N(()=>[S(u,{fill:"",color:"default",size:"xxs"}),w("span",iat,z(t.$t("pdf.openGed")),1)]),_:1},8,["onClick"])])])),r.isGedOpen?(M(),_("div",oat,[w("div",null,[w("h3",rat,z(t.$t("pdf.title")),1)]),S(h,{"header-buttons":!0,"single-select-mode":"","selectable-file-types":["pdf"],onSelectionChange:e[0]||(e[0]=p=>r.file=p[0])}),w("div",nat,[S(s,{class:"pdf-viewer__content--ged__validate",outline:"",color:"primary",radius:"",width:"48%",onClick:n.back},{default:N(()=>[w("span",null,z(t.$t("global.cancel")),1)]),_:1},8,["onClick"]),S(s,{class:"pdf-viewer__content--ged__validate",fill:"",color:"primary",radius:"",width:"48%",onClick:n.loadFile},{default:N(()=>[w("span",null,z(t.$t("global.validate")),1)]),_:1},8,["onClick"])])])):te("",!0)]))])])}const sat=j(Znt,[["render",aat],["__scopeId","data-v-30af43b3"]]),lat="PDF-Viewer",cat="Bitte w\xE4hlen Sie eine Datei aus oder legen Sie sie in diesem Fenster ab.",dat="PDF-Viewer",uat="Dateisystem \xF6ffnen",hat={window_label:lat,empty:cat,title:dat,openGed:uat},pat="PDF Viewer",fat="No file selected. Please select a file or drag it on the window.",Aat="PDF Viewer",gat="Files",mat={window_label:pat,empty:fat,title:Aat,openGed:gat},vat="Visor de PDF",yat="No hay ning\xFAn archivo seleccionado. Seleccione un archivo o arr\xE1strelo a la ventana.",bat="Visor de PDF",wat="Abrir la GED",Cat={window_label:vat,empty:yat,title:bat,openGed:wat},xat="Visionneuse PDF",kat="Selectionner un fichier",Mat="Visionneuse PDF",Eat="Ouvrir la GED",Bat={window_label:xat,empty:kat,title:Mat,openGed:Eat},Pat="Visualizzatore PDF",Iat="Seleziona un file.",Sat={window_label:Pat,empty:Iat},Tat="data:image/svg+xml,%3csvg%20width='22'%20height='23'%20viewBox='0%200%2022%2023'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.01244%207.90625L10.1218%201.79688V5.97245V7.90625H4.01244ZM20.3885%202.3C20.3885%201.035%2019.365%200%2018.1%200H8.9L2%206.9V20.7C2%2021.965%203.03464%2023%204.3%2023H18.1115C19.3765%2023%2020.4%2021.965%2020.4%2020.7L20.3885%202.3Z'%20fill='%232F374A'/%3e%3crect%20y='12'%20width='22'%20height='9'%20rx='1'%20fill='%23FF0000'/%3e%3cpath%20d='M3.88086%2017.4951V20H2.41602V12.8906H5.18945C5.72331%2012.8906%206.19206%2012.9883%206.5957%2013.1836C7.0026%2013.3789%207.3151%2013.6572%207.5332%2014.0186C7.7513%2014.3766%207.86035%2014.7852%207.86035%2015.2441C7.86035%2015.9408%207.62109%2016.4909%207.14258%2016.8945C6.66732%2017.2949%206.00814%2017.4951%205.16504%2017.4951H3.88086ZM3.88086%2016.3086H5.18945C5.57682%2016.3086%205.87142%2016.2174%206.07324%2016.0352C6.27832%2015.8529%206.38086%2015.5924%206.38086%2015.2539C6.38086%2014.9056%206.27832%2014.624%206.07324%2014.4092C5.86816%2014.1943%205.58496%2014.0837%205.22363%2014.0771H3.88086V16.3086ZM8.87109%2020V12.8906H11.0586C11.6836%2012.8906%2012.2419%2013.0322%2012.7334%2013.3154C13.2282%2013.5954%2013.6139%2013.9958%2013.8906%2014.5166C14.1673%2015.0342%2014.3057%2015.6234%2014.3057%2016.2842V16.6113C14.3057%2017.2721%2014.1689%2017.8597%2013.8955%2018.374C13.6253%2018.8883%2013.2428%2019.2871%2012.748%2019.5703C12.2533%2019.8535%2011.695%2019.9967%2011.0732%2020H8.87109ZM10.3359%2014.0771V18.8232H11.0439C11.6169%2018.8232%2012.0547%2018.6361%2012.3574%2018.2617C12.6602%2017.8874%2012.8148%2017.3519%2012.8213%2016.6553V16.2793C12.8213%2015.5566%2012.6715%2015.0098%2012.3721%2014.6387C12.0726%2014.2643%2011.6348%2014.0771%2011.0586%2014.0771H10.3359ZM19.6523%2017.0947H16.8398V20H15.375V12.8906H20.0039V14.0771H16.8398V15.9131H19.6523V17.0947Z'%20fill='white'/%3e%3c/svg%3e",Rat={name:"pdf",i18n:{de:hat,en:mat,es:Cat,fr:Bat,it:Sat},component:sat,window:{name:"pdf",noModel:!0,label:"pdf.window_label",icon:{imgUri:Tat}}};var Yk,JH;function Lat(){if(JH)return Yk;JH=1;function t(e){return function(i){return e?.[i]}}return Yk=t,Yk}var Xk,ZH;function Dat(){if(ZH)return Xk;ZH=1;var t=Lat(),e={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},i=t(e);return Xk=i,Xk}var $k,WH;function YH(){if(WH)return $k;WH=1;var t=typeof K6=="object"&&K6&&K6.Object===Object&&K6;return $k=t,$k}var eM,XH;function tl(){if(XH)return eM;XH=1;var t=YH(),e=typeof self=="object"&&self&&self.Object===Object&&self,i=t||e||Function("return this")();return eM=i,eM}var tM,$H;function dy(){if($H)return tM;$H=1;var t=tl(),e=t.Symbol;return tM=e,tM}var iM,eq;function _at(){if(eq)return iM;eq=1;function t(e,i){for(var o=-1,r=e==null?0:e.length,n=Array(r);++o<r;)n[o]=i(e[o],o,e);return n}return iM=t,iM}var oM,tq;function uy(){if(tq)return oM;tq=1;var t=Array.isArray;return oM=t,oM}var rM,iq;function Fat(){if(iq)return rM;iq=1;var t=dy(),e=Object.prototype,i=e.hasOwnProperty,o=e.toString,r=t?t.toStringTag:void 0;function n(a){var s=i.call(a,r),l=a[r];try{a[r]=void 0;var c=!0}catch{}var d=o.call(a);return c&&(s?a[r]=l:delete a[r]),d}return rM=n,rM}var nM,oq;function Oat(){if(oq)return nM;oq=1;var t=Object.prototype,e=t.toString;function i(o){return e.call(o)}return nM=i,nM}var aM,rq;function uv(){if(rq)return aM;rq=1;var t=dy(),e=Fat(),i=Oat(),o="[object Null]",r="[object Undefined]",n=t?t.toStringTag:void 0;function a(s){return s==null?s===void 0?r:o:n&&n in Object(s)?e(s):i(s)}return aM=a,aM}var sM,nq;function Op(){if(nq)return sM;nq=1;function t(e){return e!=null&&typeof e=="object"}return sM=t,sM}var lM,aq;function Uat(){if(aq)return lM;aq=1;var t=uv(),e=Op(),i="[object Symbol]";function o(r){return typeof r=="symbol"||e(r)&&t(r)==i}return lM=o,lM}var cM,sq;function Nat(){if(sq)return cM;sq=1;var t=dy(),e=_at(),i=uy(),o=Uat(),r=t?t.prototype:void 0,n=r?r.toString:void 0;function a(s){if(typeof s=="string")return s;if(i(s))return e(s,a)+"";if(o(s))return n?n.call(s):"";var l=s+"";return l=="0"&&1/s==-1/0?"-0":l}return cM=a,cM}var dM,lq;function jat(){if(lq)return dM;lq=1;var t=Nat();function e(i){return i==null?"":t(i)}return dM=e,dM}var uM,cq;function Vat(){if(cq)return uM;cq=1;var t=Dat(),e=jat(),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",a=o+r+n,s="["+a+"]",l=RegExp(s,"g");function c(d){return d=e(d),d&&d.replace(i,t).replace(l,"")}return uM=c,uM}var zat=Vat();const dq=sv(zat),Hat=Object.freeze({IfcAbsorbedDoseMeasure:"decimal_number",IfcAccelerationMeasure:"decimal_number",IfcAmountOfSubstanceMeasure:"decimal_number",IfcAngularVelocityMeasure:"decimal_number",IfcAreaDensityMeasure:"decimal_number",IfcAreaMeasure:"decimal_number",IfcBinary:"string",IfcBoolean:"boolean",IfcComplexNumber:"string",IfcCompoundPlaneAngleMeasure:"string",IfcContextDependentMeasure:"decimal_number",IfcCountMeasure:"integer",IfcCurvatureMeasure:"decimal_number",IfcDescriptiveMeasure:"string",IfcDoseEquivalentMeasure:"decimal_number",IfcDynamicViscosityMeasure:"decimal_number",IfcElectricCapacitanceMeasure:"decimal_number",IfcElectricChargeMeasure:"decimal_number",IfcElectricConductanceMeasure:"decimal_number",IfcElectricCurrentMeasure:"decimal_number",IfcElectricResistanceMeasure:"decimal_number",IfcElectricVoltageMeasure:"decimal_number",IfcEnergyMeasure:"decimal_number",IfcForceMeasure:"decimal_number",IfcFrequencyMeasure:"decimal_number",IfcHeatFluxDensityMeasure:"decimal_number",IfcHeatingValueMeasure:"decimal_number",IfcIdentifier:"string_max255",IfcIlluminanceMeasure:"decimal_number",IfcInductanceMeasure:"decimal_number",IfcInteger:"integer",IfcIntegerCountRateMeasure:"integer",IfcIonConcentrationMeasure:"decimal_number",IfcIsothermalMoistureCapacityMeasure:"decimal_number",IfcKinematicViscosityMeasure:"decimal_number",IfcLabel:"string_max255",IfcLengthMeasure:"decimal_number",IfcLinearForceMeasure:"decimal_number",IfcLinearMomentMeasure:"decimal_number",IfcLinearStiffnessMeasure:"decimal_number",IfcLinearVelocityMeasure:"decimal_number",IfcLogical:"logical",IfcLuminousFluxMeasure:"decimal_number",IfcLuminousIntensityDistributionMeasure:"decimal_number",IfcLuminousIntensityMeasure:"decimal_number",IfcMagneticFluxDensityMeasure:"decimal_number",IfcMagneticFluxMeasure:"decimal_number",IfcMassDensityMeasure:"decimal_number",IfcMassFlowRateMeasure:"decimal_number",IfcMassMeasure:"decimal_number",IfcMassPerLengthMeasure:"decimal_number",IfcMeasureValue:"decimal_number",IfcModulusOfElasticityMeasure:"decimal_number",IfcModulusOfLinearSubgradeReactionMeasure:"decimal_number",IfcModulusOfRotationalSubgradeReactionMeasure:"decimal_number",IfcModulusOfSubgradeReactionMeasure:"decimal_number",IfcMoistureDiffusivityMeasure:"decimal_number",IfcMolecularWeightMeasure:"decimal_number",IfcMomentOfInertiaMeasure:"decimal_number",IfcMonetaryMeasure:"decimal_number",IfcMonetaryUnit:"string_max255",IfcNonNegativeLengthMeasure:"positive_decimal_number",IfcNormalisedRatioMeasure:"decimal_range_0_1",IfcNumericMeasure:"integer",IfcParameterValue:"decimal_number",IfcPHMeasure:"decimal_range_0_14",IfcPlanarForceMeasure:"decimal_number",IfcPlaneAngleMeasure:"decimal_number",IfcPositiveInteger:"positive_integer",IfcPositiveLengthMeasure:"positive_decimal_number",IfcPositivePlaneAngleMeasure:"positive_decimal_number",IfcPositiveRatioMeasure:"positive_decimal_number",IfcPowerMeasure:"decimal_number",IfcPressureMeasure:"decimal_number",IfcRadioActivityMeasure:"decimal_number",IfcRatioMeasure:"decimal_number",IfcReal:"decimal_number",IfcRotationalFrequencyMeasure:"decimal_number",IfcRotationalMassMeasure:"decimal_number",IfcRotationalStiffnessMeasure:"decimal_number",IfcSectionalAreaIntegralMeasure:"decimal_number",IfcSectionModulusMeasure:"decimal_number",IfcShearModulusMeasure:"decimal_number",IfcSolidAngleMeasure:"decimal_number",IfcSoundPowerLevelMeasure:"decimal_number",IfcText:"string"}),qat={name:"EditableLabel",props:{disabled:{type:Boolean,default:!1},cancelOnClickAway:{type:Boolean,default:!0},editOnClick:{type:Boolean,default:!0},editOnRightClick:{type:Boolean,default:!0},text:{type:[String,Number,Boolean],default:""},valueType:{type:String,default:"IfcText"},units:{type:[String,Number,Boolean],default:""},validateCallback:{type:Function,default:()=>!0},validateCallbackArgs:{type:Array,default:()=>[]}},emits:["editing-start","editing-end"],data(){return{loading:!1,editedText:this.text,edit:!1,success:null,error:null,types:Hat}},watch:{edit(t){t?(this.editedText=this.text,this.$nextTick(()=>this.$refs.input.focus()),document.addEventListener("keydown",this.onKeyDown),this.$emit("editing-start")):(document.removeEventListener("keydown",this.onKeyDown),this.$emit("editing-end"))}},methods:{onKeyDown(t){t.keyCode===27?this.onCancel():t.keyCode===13&&!t.altKey&&!t.metaKey&&!t.ctrlKey&&!t.shiftKey&&this.onValidate()},onClick(){!this.disabled&&this.editOnClick&&!this.edit&&(this.edit=!0)},onRightClick(){const t=this.$viewer.contextMenu;t&&!this.disabled&&!this.loading&&this.editOnRightClick&&t.registerContextCommand({label:this.$t("global.edit"),execute:()=>this.edit=!0})},isIfcTypeFormatValid(t){switch(this.types[this.valueType]){case"decimal_number":{const e=+t;return!isNaN(e)&&typeof e=="number"}case"positive_decimal_number":{const e=+t;return!isNaN(e)&&typeof e=="number"&&e>=0}case"decimal_range_0_1":{const e=+t;return!isNaN(e)&&typeof e=="number"&&0>=e&&e<=1}case"decimal_range_0_14":{const e=+t;return!isNaN(e)&&typeof e=="number"&&0>=e&&e<=14}case"integer":{const e=+t;return!isNaN(e)&&typeof e=="number"&&Number.isInteger(e)}case"positive_integer":{const e=+t;return!isNaN(e)&&typeof e=="number"&&Number.isInteger(e)&&e>=0}case"string":return typeof t=="string";case"string_max255":return typeof t=="string"&&t.length<255;case"boolean":return typeof t=="boolean"||t==="true"||t==="false";case"logical":return typeof t=="boolean"||t==="true"||t==="false"||t==="null"||t===null}},async onValidate(){const t=typeof this.validateCallbackArgs=="object"&&typeof this.validateCallbackArgs[Symbol.iterator]=="function"?this.validateCallbackArgs:[this.validateCallbackArgs],e=this.validateCallback(this.editedText,this.isIfcTypeFormatValid(this.editedText),...t);let i=null;typeof e.then=="function"?(this.loading=!0,i=await e,this.loading=!1):i=e,this.edit=!1,i?(this.success=!0,setTimeout(()=>this.success=null,500)):(this.error=!0,setTimeout(()=>this.error=null,500))},onCancel(){this.edit=!1},isValidUrl(t){return typeof t=="string"&&t.match("://")},ifcTypeFormat(t){return this.types[t]??"string"}}},Qat={key:0,class:"editable-label__input"},Gat={class:"flex justify-between items-center"},Kat={key:0,class:"editable-label__input--buttons flex m-l-6"},Jat={class:"editable-label__text flex items-center"},Zat=["href"];function Wat(t,e,i,o,r,n){const a=I("BIMDataInput"),s=I("BIMDataIconValidate"),l=I("BIMDataButton"),c=I("BIMDataIconClose"),d=I("BIMDataIconEdit"),u=si("click-away");return yt((M(),_("div",{class:de(["editable-label",{disabled:i.disabled}]),onClick:e[1]||(e[1]=(...h)=>n.onClick&&n.onClick(...h)),onContextmenu:e[2]||(e[2]=vt((...h)=>n.onRightClick&&n.onRightClick(...h),["right"]))},[r.edit?(M(),_("div",Qat,[w("div",Gat,[S(a,{ref:"input",modelValue:r.editedText,"onUpdate:modelValue":e[0]||(e[0]=h=>r.editedText=h),loading:r.loading,disabled:r.loading||i.disabled,margin:"0px"},null,8,["modelValue","loading","disabled"]),r.loading?te("",!0):(M(),_("div",Kat,[S(l,{color:"primary",ghost:"",rounded:"",icon:"",onClick:vt(n.onValidate,["stop"])},{default:N(()=>[S(s,{size:"xxs",class:"fill-primary"})]),_:1},8,["onClick"]),S(l,{color:"primary",ghost:"",rounded:"",icon:"",onClick:vt(n.onCancel,["stop"])},{default:N(()=>[S(c,{size:"xxxs",class:"fill-primary"})]),_:1},8,["onClick"])]))]),w("span",{class:de({error:!n.isIfcTypeFormatValid(r.editedText)})},z(t.$t("properties.requested_format"))+" "+z(t.$t(`properties.${n.ifcTypeFormat(i.valueType)}`)),3)])):te("",!0),w("div",Jat,[!r.edit&&i.editOnClick?(M(),G(d,{key:0,size:"xxs",color:"granite",margin:"0 8px 0 0"})):te("",!0),!r.edit&&n.isValidUrl(i.text)?(M(),_("a",{key:1,target:"_blank",href:i.text},z(i.text),9,Zat)):te("",!0),!r.edit&&!n.isValidUrl(i.text)?(M(),_("span",{key:2,class:de({error:r.error,success:r.success})},z(`${i.text!=null?i.text:""} ${i.units}`),3)):te("",!0)])],34)),[[u,()=>i.cancelOnClickAway&&!r.loading&&(r.edit=!1)]])}const Yat=j(qat,[["render",Wat],["__scopeId","data-v-97f502a6"]]),Xat={name:"BimdataProperties",components:{BIMDataEditableLabel:Yat},inject:["$viewer"],props:{editAllowed:{type:Boolean,default:!1},selectedObject:{type:Object,default:null}},data(){return{loading:!1,editLoading:!1,filter:"",highlightedProperties:[],displayedElement:null}},computed:{slugFilter(){return dq(this.filter).toLowerCase()}},watch:{highlightedProperties(){this.highlightedProperties.length===0&&Object.values(this.$refs)[0]?.[0]?.scrollIntoView()},selectedObject:{async handler(t){t?this.displayedElement=await this.getDisplayedElement(t):this.displayedElement=null},immediate:!0},filter(t){t?this.highlightedProperties=$at(this.displayedElement.properties):this.highlightedProperties=[]}},created(){this.globalContextSubscription=this.$viewer.globalContext.hub.on("properties-update",this.onPropertiesEdited)},mounted(){document.addEventListener("keyup",this.onKeyUp)},unmounted(){document.removeEventListener("keyup",this.onKeyUp),this.$viewer.globalContext.hub.off(this.globalContextSubscription)},methods:{async onKeyUp(t){if(t.key==="Enter"&&this.highlightedProperties.length>0){let e=this.$refs[this.highlightedProperties[0].ref]?.[0];e||(this.highlightedProperties[0].parent.displayed=!0,await this.$nextTick(),e=this.$refs[this.highlightedProperties[0].ref]?.[0]),e&&e.scrollIntoView(),this.highlightedProperties.push(this.highlightedProperties.shift())}},async onValidate(t,e,i,o){const r={...i,value:t};delete r.parent,this.editLoading=!0;try{const n=this.$viewer.api.cloudId,a=this.$viewer.api.projectId,s=this.displayedElement.stateObject.model.id;e?(await this.$viewer.api.apiClient.modelApi.updateElementPropertySetProperty(n,this.displayedElement.uuid,i.id,s,a,o,r),this.$viewer.localContext.hub.emit("alert",{type:"success",message:this.$t("properties.edit-success")}),this.refreshDisplayedElement(),this.$viewer.globalContext.hub.emit("properties-update",{object:this.displayedElement.stateObject,author:this})):this.$viewer.localContext.hub.emit("alert",{type:"error",message:this.$t("properties.invalid-format")})}catch{this.$viewer.localContext.hub.emit("alert",{type:"error",message:this.$t("properties.edit-error")})}finally{this.editLoading=!1}},async refreshDisplayedElement(){this.displayedElement=await this.getDisplayedElement(this.selectedObject)},async getDisplayedElement(t){let e=null;if(!t.uuid)console.warn("Impossible to show properties of the selected state object because it has no uuid.");else{this.loading=!0;try{const i=await this.$viewer.api.apiClient.modelApi.getElement(this.$viewer.api.cloudId,t.model.id,this.$viewer.api.projectId,t.uuid);e={properties:tst(i,this),stateObject:t,uuid:t.uuid}}catch(i){console.error(i)}finally{this.loading=!1}}return e},onPropertiesEdited({object:t,author:e}){e!==this&&this.displayedElement?.uuid===t.uuid&&this.refreshDisplayedElement()}}};function $at(t){const e=[];return t.forEach(i=>{i.highlighted&&e.push(i),e.push(...i.children.filter(o=>o.highlighted))}),e}const uq={GRAY:"Gy",BECQUEREL:"Bq",MOLE:"mole",SQUARE_METRE:"m\xB2",FARAD:"F",DEGREE_CELSIUS:"\xBAC",DEGREE:"\xB0",SIEVERT:"Sv",COULOMB:"C",SIEMENS:"S",AMPERE:"A",VOLT:"V",OHM:"W",JOULE:"J",NEWTON:"N",HERTZ:"Hz",LUX:"lx",HENRY:"H",METRE:"m",LUMEN:"lm",CANDELA:"ld",WEBER:"Wb",TESLA:"T",GRAM:"g",RADIAN:"rad",WATT:"W",PASCAL:"Pa",STERADIAN:"sr",KELVIN:"K",SECOND:"s",CUBIC_METRE:"m\xB3"},hq={KILO:"k",DECA:"da",CENTI:"c",MILLI:"m",MEGA:"M",GIGA:"M",HECTO:"h",DEKA:"da",DECI:"d",MICRO:"\u03BC"};function pq({id:t,property_set_id:e,definition:i,value:o,nonEditable:r},n,a,s){let l=i.unit?.name||"",c=i.unit?.prefix||"";c&&hq[c]&&(c=hq[c]),l&&uq[l]&&(l=uq[l]);let d=c+l,u;const h=`properties.attributes_name.${i.name}`,p=i.value_type;return s.name==="Attributs"&&a.$viewer.i18n.$te(h)?u=a.$viewer.i18n.$t(h):u=i.name,{id:t,ref:n,property_set_id:e,name:u,value:o,valueType:p,unit:d,nonEditable:r,searchContent:dq(`${u||""}${o||""} ${d}`).toLowerCase(),get highlighted(){return a.filter!==""&&this.searchContent.includes(a.slugFilter)},parent:s}}function est(t){const e=t.attributes.properties;e.id=t.attributes.id;const i=e.findIndex(o=>o.definition.name==="type");return i!==-1&&e.splice(i,1),e.push({definition:{name:"type"},value:t.type,nonEditable:!0}),e.push({definition:{name:"UUID"},value:t.uuid,nonEditable:!0}),e}function tst(t,e){let i=1;const o=[],r=est(t),{classifications:n,property_sets:a}=t;if(r){const s={id:r.id,ref:`element${i++}`,get name(){return e.$viewer.i18n.$t("properties.attributes")},editable:!0,displayed:!0,get searchContent(){return e.$viewer.i18n.$t("properties.attributes").toLowerCase()},get highlighted(){return e.filter!==""&&this.searchContent.includes(e.slugFilter)}};s.children=r.map(l=>pq(l,`element${i++}`,e,s)),o.push(s)}if(n?.length>0){const s={ref:`element${i++}`,get name(){return e.$viewer.i18n.$t("properties.classification")},editable:!1,displayed:!0,get searchContent(){return e.$viewer.i18n.$t("properties.classification").toLowerCase()},get highlighted(){return e.filter!==""&&this.searchContent.includes(e.slugFilter)}};s.children=n.map(l=>({...l,searchContent:`${l.name||""} ${l.notation||""} - ${l.title||""}
38
38
  `.toLowerCase(),ref:`element${i++}`,get highlighted(){return e.filter!==""&&this.searchContent.includes(e.slugFilter)},parent:s})),o.push(s)}return a&&a.forEach(({id:s,name:l,properties:c,type:d})=>{const u={id:s,ref:`element${i++}`,name:l,editable:!0,displayed:!0,isType:d?.endsWith("_type"),searchContent:l.toLowerCase(),get highlighted(){return e.filter!==""&&this.searchContent.includes(e.slugFilter)}};u.children=c.map(h=>pq(h,`element${i++}`,e,u)),o.push(u)}),o}const ist={class:"bimdata-properties__properties"},ost={key:0,class:"bimdata-properties__properties__content"},rst={class:"bimdata-properties__properties__content__searchbar"},nst={class:"bimdata-properties__properties__content__list"},ast=["onClick"],sst={key:0,class:"bimdata-properties__properties__content__list__element__detail"},lst={class:"bimdata-properties__properties__content__list__element__detail__property__name"},cst={class:"bimdata-properties__properties__content__list__element__detail__property__value"},dst={key:0,class:"bimdata-properties__properties__content__list__element__detail"},ust={class:"bimdata-properties__properties__content__list__element__detail__property__name"},hst={class:"bimdata-properties__properties__content__list__element__detail__property__value"};function pst(t,e,i,o,r,n){const a=I("BIMDataSearch"),s=I("BIMDataIconChevron"),l=I("BIMDataEditableLabel"),c=I("BIMDataLoading");return M(),_("div",ist,[r.displayedElement?(M(),_("div",ost,[w("div",rst,[S(a,{modelValue:r.filter,"onUpdate:modelValue":e[0]||(e[0]=d=>r.filter=d),placeholder:t.$t("global.search"),height:"36px",radius:"",width:"100%",color:"primary"},null,8,["modelValue","placeholder"])]),w("div",nst,[(M(!0),_(Ye,null,Mt(r.displayedElement.properties,d=>(M(),_("div",{key:d.id,class:"bimdata-properties__properties__content__list__element"},[w("div",{ref_for:!0,ref:d.ref,class:de(["bimdata-properties__properties__content__list__element__title",{"bimdata-properties__properties__content__list__element__title--highlighted":d.highlighted}]),onClick:u=>d.displayed=!d.displayed},[w("span",null,z(d.name+(d.isType?` (${t.$t("properties.property_set_type")})`:"")),1),S(s,{class:"fill-primary",size:"xxxs",rotate:d.displayed?-90:90},null,8,["rotate"])],10,ast),d.name!==t.$t("properties.classification")?(M(),_(Ye,{key:0},[d.displayed?(M(),_("div",sst,[(M(!0),_(Ye,null,Mt(d.children,u=>(M(),_("div",{key:u.id,ref_for:!0,ref:u.ref,class:de(["bimdata-properties__properties__content__list__element__detail__property",{"bimdata-properties__properties__content__list__element__detail__property--highlighted":u.highlighted}])},[w("div",lst,[w("span",null,z(u.name),1)]),w("span",cst,[S(l,{disabled:r.editLoading,"validate-callback":n.onValidate,"validate-callback-args":[u,d.id,"attributes"],"edit-on-click":i.editAllowed&&!u.nonEditable,"edit-on-right-click":i.editAllowed&&!u.nonEditable,text:u.value,units:u.unit,"value-type":u.valueType},null,8,["disabled","validate-callback","validate-callback-args","edit-on-click","edit-on-right-click","text","units","value-type"])])],2))),128))])):te("",!0)],64)):(M(),_(Ye,{key:1},[d.displayed?(M(),_("div",dst,[(M(!0),_(Ye,null,Mt(d.children,u=>(M(),_("div",{key:u.id,class:de(["bimdata-properties__properties__content__list__element__detail__property",{"bimdata-properties__properties__content__list__element__detail__property--highlighted":u.highlighted}])},[w("span",ust,z(u.name),1),w("span",hst,z(u.notation)+" - "+z(u.title),1)],2))),128))])):te("",!0)],64))]))),128))])])):te("",!0),r.loading?(M(),G(c,{key:1})):te("",!0)])}const fst=j(Xat,[["render",pst],["__scopeId","data-v-edab0325"]]);var hM={exports:{}},pM={exports:{}},fq;function Ast(){return fq||(fq=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=Kz(),o=l(i),r=J6(),n=l(r),a=lH(),s=l(a);function l(c){return c&&c.__esModule?c:{default:c}}e.default=(0,s.default)((c,d,u)=>{var h=(0,o.default)(d)?[]:{};c(d,(p,A,f)=>{(0,n.default)(p)((m,...g)=>{g.length<2&&([g]=g),h[A]=g,f(m)})},p=>u(p,h))},3),t.exports=e.default})(pM,pM.exports)),pM.exports}var Aq;function gst(){return Aq||(Aq=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var i=nH(),o=a(i),r=Ast(),n=a(r);function a(l){return l&&l.__esModule?l:{default:l}}function s(l,c,d){return(0,n.default)((0,o.default)(c),l,d)}t.exports=e.default})(hM,hM.exports)),hM.exports}var mst=gst();const vst=sv(mst),gq="Folder";function mq(t){return new Promise(e=>setTimeout(e,t))}async function yst({name:t,url:e}){const i=document.createElement("a");i.style.display="none",i.download=t,i.href=e,document.body.append(i),i.click(),await mq(100),i.remove(),await mq(500)}function bst(t){const e=[],i=[];for(const o of t)o.type===gq?e.push(o):i.push(o);return{folders:e,documents:i}}function wst(t,e){const{projectId:i,spaceId:o,accessToken:r,apiUrl:n="https://api.bimdata.io"}=e,a=Cst(n),{folders:s,documents:l}=bst(t);let c="";return(s.length>0||l.length>0)&&(c+=`${a}/cloud/${o}/project/${i}?`,c+=`accessToken=${r}&`,c+=s.map(d=>`folderId[]=${d.id}`).join("&"),c+=s.length>0&&l.length>0?"&":"",c+=l.map(d=>`documentId[]=${d.id}`).join("&")),c}function Cst(t){const e=new URL(t),i=e.hostname;let o="";const[r,...n]=i.split("."),a=n.join(".");return r.includes("-staging")?o="-staging":r.includes("-next")&&(o="-next"),e.protocol+"//archive"+o+"."+a}async function xst(t,e={}){try{if(t.length===0)return;let i=null;const o=t[0].name;return t.length===1&&t[0].type!==gq?i=t[0].file:i=wst(t,e),await yst({name:o,url:i})}catch(i){throw new Error(i)}}const kst={props:{documents:{type:Array,default:()=>[]}},emits:["close","validate"],created(){document.addEventListener("keydown",this.onKeyDown)},unmounted(){document.removeEventListener("keydown",this.onKeyDown)},methods:{onKeyDown(t){t.key==="Escape"&&this.$emit("close")},onCancelClick(){this.$emit("close")},onDeleteClick(){this.$emit("validate")},onCloseClick(){this.$emit("close")}}},Mst={class:"bimdata-properties__delete-modal"},Est={class:"bimdata-properties__delete-modal__content"},Bst={class:"bimdata-properties__delete-modal__content__close"},Pst={class:"bimdata-properties__delete-modal__content__title"},Ist={class:"bimdata-properties__delete-modal__content__description"},Sst={class:"bimdata-properties__delete-modal__content__list"},Tst={class:"bimdata-properties__delete-modal__content__footer"};function Rst(t,e,i,o,r,n){const a=I("BIMDataIconClose"),s=I("BIMDataButton"),l=I("BIMDataTextbox");return M(),_("div",Mst,[w("div",Est,[w("div",Bst,[S(s,{color:"primary",ghost:"",rounded:"",icon:"",onClick:n.onCloseClick},{default:N(()=>[S(a,{size:"s"})]),_:1},8,["onClick"])]),w("h2",Pst,z(t.$t("properties.delete_modal_title")),1),w("div",Ist,z(t.$t("properties.delete_modal_description"))+" : ",1),w("ul",Sst,[(M(!0),_(Ye,null,Mt(i.documents,c=>(M(),_("li",{key:c.id},[S(l,{text:c.name,width:"calc(100% - 40px)"},null,8,["text"])]))),128))]),w("div",Tst,[S(s,{color:"granite",outline:"",radius:"",width:"120px",onClick:n.onCancelClick},{default:N(()=>[Je(z(t.$t("global.cancel")),1)]),_:1},8,["onClick"]),S(s,{color:"high",fill:"",radius:"",width:"120px",onClick:n.onDeleteClick},{default:N(()=>[Je(z(t.$t("global.delete")),1)]),_:1},8,["onClick"])])])])}const Lst=j(kst,[["render",Rst],["__scopeId","data-v-7f2b9947"]]),Dst={components:{BIMDataEmpty:dd},inject:["$viewer"],emits:["back","selected"],data(){return{loading:!1,filter:"",elements:[]}},computed:{filteredElements(){const t=new RegExp(this.filter,"i");return this.elements.filter(e=>t.test(e.name))},emptySearch(){return this.elements.length>0&&this.filteredElements.length===0}},async created(){this.loading=!0;try{const t=this.$viewer.api.cloudId,e=this.$viewer.api.projectId,i=this.$viewer.state.models.map(n=>n.id),o=await Promise.all(i.map(n=>this.$viewer.api.apiClient.modelApi.getElementLinkedDocuments(t,n,e))),r=Array.from(new Set(o.flat().flatMap(n=>n.element_uuids)));this.elements=this.$viewer.state.getObjectsByUuids(r)}catch{console.error(this.$t("properties.linked_documents_error")),this.$viewer.localContext.hub.emit("alert",{type:"error",message:this.$t("properties.linked_documents_error")})}finally{this.loading=!1}},methods:{onElementClick(t){this.$viewer.state.selectObjects([t.id],{exclusive:!0}),this.$emit("selected")}}},_st={class:"bimdata-properties-linked-element"},Fst={class:"bimdata-properties-linked-element__header"},Ost={class:"bimdata-properties-linked-element__header__text"},Ust={key:0,class:"bimdata-properties-linked-element__list--empty"},Nst={key:1,class:"bimdata-properties-linked-element__list"},jst=["onClick"],Vst={class:"bimdata-properties-linked-element__list__element__icon"};function zst(t,e,i,o,r,n){const a=I("BIMDataIconArrow"),s=I("BIMDataButton"),l=I("BIMDataSearch"),c=I("BIMDataIllustration"),d=I("BIMDataEmpty"),u=I("BIMDataIconModel3D"),h=I("BIMDataTextbox"),p=I("BIMDataLoading");return M(),_("div",_st,[w("div",Fst,[S(s,{color:"primary",ghost:"",radius:"",icon:"",height:"36px",width:"36px",onClick:e[0]||(e[0]=A=>t.$emit("back"))},{default:N(()=>[S(a,{size:"xs"})]),_:1}),w("h4",Ost,z(t.$t("properties.linked_element_list")),1)]),S(l,{modelValue:r.filter,"onUpdate:modelValue":e[1]||(e[1]=A=>r.filter=A),placeholder:t.$t("global.search"),height:"36px",width:"100%",radius:"",color:"primary",class:"bimdata-properties-linked-element__searchbar"},null,8,["modelValue","placeholder"]),n.emptySearch?(M(),_("div",Ust,[S(d,{message:t.$t("properties.empty_search")},{default:N(()=>[S(c,{name:"emptyProperties"})]),_:1},8,["message"])])):(M(),_("ul",Nst,[(M(!0),_(Ye,null,Mt(n.filteredElements,A=>(M(),_("li",{key:A.id,class:"bimdata-properties-linked-element__list__element",onClick:f=>n.onElementClick(A)},[w("div",Vst,[S(u,{size:"xs"})]),S(h,{text:A.name,width:"calc(100% - 18px)"},null,8,["text"])],8,jst))),128))])),r.loading?(M(),G(p,{key:2})):te("",!0)])}const Hst=j(Dst,[["render",zst],["__scopeId","data-v-ca5185fc"]]),qst={name:"BimdataDocument",components:{BIMDataEmpty:dd,BIMDataGED:cy,DeleteModal:Lst,LinkedElement:Hst},inject:["$viewer"],props:{selectedObject:{type:Object,default:null},linkedElementsShown:{type:Boolean}},emits:["link-close"],data(){return{selectedGEDDocuments:[],selectedLineDocuments:[],view:"list",documents:[],loading:!1,filter:"",gedFilter:"",deleteModalDisplayed:!1}},computed:{headerCheckboxValue(){return this.selectedLineDocuments.length===0?!1:this.selectedLineDocuments.length===this.documents.length?!0:null},alreadySelectedIds(){return this.documents.map(t=>t.id)},filteredDocuments(){if(this.filter==="")return this.documents;{const t=new RegExp(this.filter,"i");return this.documents.filter(e=>t.test(e.name))}},emptySearch(){return this.documents.length>0&&this.filteredDocuments.length===0}},watch:{selectedObject:{async handler(t){this.view="list",this.selectedLineDocuments=[],t?this.getDocuments():this.documents=[]},immediate:!0},view(){this.selectedGEDDocuments=[]}},created(){document.addEventListener("keyup",this.onKeyUp)},unmounted(){document.removeEventListener("keyup",this.onKeyUp)},methods:{onLineDocumentClick(t){if(t?.name?.match?.(/\.pdf$/)&&this.$viewer.registeredWindows.includes("pdf")){this.showPdf(t);return}this.toggleLineDocumentSelection(t)},async showPdf(t){this.$viewer.globalContext.pluginComponentInstances.has("pdf")||await this.$viewer.globalContext.open({ratio:60,direction:"row",insertAfter:!0,windowName:"pdf"}),this.$viewer.globalContext.pluginComponentInstances.get("pdf")[0].loadFile(t)},onLinkedElementBack(){this.linkedElementsShown?this.$emit("link-close"):this.view="list"},onLinkedElementSelected(){this.view="list",this.$emit("link-close")},onLinkedElementClick(){this.view="linked"},onCancelClick(){this.view="list"},async onDeleteModalValidate(){this.deleteModalDisplayed=!1,this.loading=!0;try{const t=this.$viewer.api.cloudId,e=this.$viewer.api.projectId,i=this.selectedObject.model.id;await this.$viewer.api.apiClient.modelApi.bulkRemoveDocumentsOfElement(t,this.selectedObject.uuid,i,e,this.selectedLineDocuments.map(o=>o.id)),this.documents=this.documents.filter(o=>!this.selectedLineDocuments.includes(o)),this.selectedLineDocuments=[],this.$viewer.localContext.hub.emit("alert",{type:"success",message:this.$t("properties.unlink_documents_success")})}catch{this.$viewer.localContext.hub.emit("alert",{type:"error",message:this.$t("properties.unlink_documents_error")})}finally{this.loading=!1}},onDeleteClick(){this.deleteModalDisplayed=!0},onDownloadClick(){const t={projectId:this.$viewer.api.projectId,spaceId:this.$viewer.api.cloudId,accessToken:this.$viewer.api.accessToken,apiUrl:this.$viewer.api.apiUrl};xst(this.selectedLineDocuments,t)},onHeaderCheckboxClick(){this.headerCheckboxValue===!0||this.headerCheckboxValue===null?this.selectedLineDocuments=[]:this.selectedLineDocuments=Array.from(this.documents)},toggleLineDocumentSelection(t){this.selectedLineDocuments.includes(t)?this.selectedLineDocuments=this.selectedLineDocuments.filter(e=>e!==t):this.selectedLineDocuments.push(t)},isSelected(t){return this.selectedLineDocuments.includes(t)},onAddDocumentClick(){this.view="dms"},async onValidateSelectionClick(){const t=this.selectedGEDDocuments.map(e=>e.id);this.loading=!0;try{const e=this.$viewer.api.cloudId,i=this.$viewer.api.projectId;await vst(this.$viewer.state.selectedObjects.map(o=>async()=>this.$viewer.api.apiClient.modelApi.linkDocumentsOfElement(e,o.uuid,o.model.id,i,t)),20),console.info(this.$t("properties.link_documents_success")),this.$viewer.localContext.hub.emit("alert",{type:"success",message:this.$t("properties.link_documents_success")}),this.documents.push(...this.selectedGEDDocuments.filter(o=>!this.documents.find(r=>r.id===o.id))),this.selectedGEDDocuments=[],this.view="list"}catch{this.$viewer.localContext.hub.emit("alert",{type:"error",message:this.$t("properties.link_documents_error")})}finally{this.loading=!1}},onKeyUp(t){t.key==="Escape"&&(this.view="list")},onDocumentSelectionChange(t){this.selectedGEDDocuments=t},onFromDMSClick(){this.view="dms"},async getDocuments(){this.documents=[],this.loading=!0;try{const t=await this.$viewer.api.apiClient.modelApi.getDocumentsOfElement(this.$viewer.api.cloudId,this.selectedObject.uuid,this.selectedObject.model.id,this.$viewer.api.projectId);this.documents=t}catch(t){this.$viewer.localContext.hub.emit("alert",{type:"error",message:t.message})}finally{this.loading=!1}}}},Qst={class:"bimdata-properties__documents"},Gst={class:"bimdata-properties__documents__searchbar"},Kst={key:0,class:"bimdata-properties__documents__list"},Jst={class:"bimdata-properties__documents__list__header"},Zst={class:"bimdata-properties__documents__list__header__start"},Wst={key:1,class:"bimdata-properties__documents__list__header__buttons"},Yst={class:"bimdata-properties__documents__list__spacer"},Xst={key:1,class:"bimdata-properties__documents__empty"},$st={class:"bimdata-properties__documents__selection__buttons"},elt={key:0,class:"bimdata-properties__documents__selection__buttons__length"};function tlt(t,e,i,o,r,n){const a=I("LinkedElement"),s=I("BIMDataIconLinkedDocument"),l=I("BIMDataButton"),c=I("BIMDataSearch"),d=I("BIMDataCheckbox"),u=I("BIMDataIconDelete"),h=I("BIMDataIconDownload"),p=I("BIMDataFileIcon"),A=I("BIMDataTextbox"),f=I("BIMDataIconPlus"),m=I("BIMDataIllustration"),g=I("BIMDataEmpty"),y=I("DeleteModal"),v=I("BIMDataGED"),b=I("BIMDataLoading");return M(),_("div",Qst,[i.linkedElementsShown||r.view==="linked"?(M(),G(a,{key:0,onBack:n.onLinkedElementBack,onSelected:n.onLinkedElementSelected},null,8,["onBack","onSelected"])):r.view==="list"?(M(),_(Ye,{key:1},[r.documents.length>0?(M(),_(Ye,{key:0},[w("div",Gst,[S(l,{icon:"",fill:"",radius:"",height:"36px",width:"36px",onClick:n.onLinkedElementClick},{default:N(()=>[S(s,{class:"fill-primary",size:"m"})]),_:1},8,["onClick"]),S(c,{modelValue:r.filter,"onUpdate:modelValue":e[0]||(e[0]=x=>r.filter=x),placeholder:t.$t("global.search"),height:"36px",radius:"",width:"calc(100% - 42px)",color:"primary"},null,8,["modelValue","placeholder"])]),n.emptySearch?te("",!0):(M(),_("ul",Kst,[w("li",Jst,[w("div",Zst,[S(d,{"model-value":n.headerCheckboxValue,"onUpdate:modelValue":n.onHeaderCheckboxClick},null,8,["model-value","onUpdate:modelValue"]),r.selectedLineDocuments.length===0?(M(),_(Ye,{key:0},[e[2]||(e[2]=w("div",{class:"bimdata-properties__documents__list__spacer"},null,-1)),w("span",null,z(t.$t("properties.name")),1)],64)):(M(),_("div",Wst,[S(l,{color:"high",ghost:"",radius:"",class:"bimdata-properties__documents__list__header__buttons__delete",onClick:n.onDeleteClick},{default:N(()=>[S(u,{size:"xs",margin:"0 12px 0 0"}),w("span",null,z(t.$t("global.delete")),1)]),_:1},8,["onClick"]),S(l,{color:"primary",ghost:"",radius:"",class:"bimdata-properties__documents__list__header__buttons__download",onClick:n.onDownloadClick},{default:N(()=>[S(h,{size:"xs",margin:"0 12px 0 0"}),w("span",null,z(t.$t("global.download")),1)]),_:1},8,["onClick"])]))])]),(M(!0),_(Ye,null,Mt(n.filteredDocuments,x=>(M(),_("li",{key:x.id,class:"bimdata-properties__documents__list__element"},[S(d,{"model-value":n.isSelected(x),"onUpdate:modelValue":k=>n.toggleLineDocumentSelection(x)},null,8,["model-value","onUpdate:modelValue"]),w("div",Yst,[S(p,{"file-name":x.name,size:20,onClick:k=>n.toggleLineDocumentSelection(x)},null,8,["file-name","onClick"])]),S(A,{width:"calc(100% - 100px)",text:x.name,onClick:k=>n.onLineDocumentClick(x)},null,8,["text","onClick"])]))),128))])),S(l,{class:"bimdata-properties__documents__list__header__add-button",color:"primary",fill:"",radius:"",icon:"",onClick:n.onAddDocumentClick},{default:N(()=>[S(f,{size:"xxxs"})]),_:1},8,["onClick"]),n.emptySearch?(M(),G(g,{key:1,message:t.$t("properties.empty_search")},{default:N(()=>[S(m,{name:"emptyProperties"})]),_:1},8,["message"])):te("",!0),r.deleteModalDisplayed?(M(),G(y,{key:2,class:"bimdata-properties__documents__delete-modal",documents:r.selectedLineDocuments,onClose:e[1]||(e[1]=x=>r.deleteModalDisplayed=!1),onValidate:n.onDeleteModalValidate},null,8,["documents","onValidate"])):te("",!0)],64)):(M(),_("div",Xst,[S(g,{message:t.$t("properties.no_document")},{default:N(()=>[S(m,{name:"emptyProperties"})]),_:1},8,["message"]),S(l,{color:"primary",fill:"",radius:"",width:"296px",class:"bimdata-properties__documents__empty__button",disabled:!i.selectedObject,onClick:n.onFromDMSClick},{default:N(()=>[Je(z(t.$t("properties.from_dms")),1)]),_:1},8,["disabled","onClick"]),S(l,{color:"primary",fill:"",radius:"",width:"296px",class:"bimdata-properties__documents__empty__button--linked-element",onClick:n.onLinkedElementClick},{default:N(()=>[Je(z(t.$t("properties.linked_element_list")),1)]),_:1},8,["onClick"])]))],64)):(M(),_(Ye,{key:2},[S(v,{ref:"ged",class:"bimdata-properties__documents__ged","header-buttons":!0,"multi-select-mode":!0,"already-selected-ids":n.alreadySelectedIds,onSelectionChange:n.onDocumentSelectionChange},null,8,["already-selected-ids","onSelectionChange"]),w("div",$st,[S(l,{key:"cancelButton",width:"45%",color:"granite",outline:"",radius:"",onClick:n.onCancelClick},{default:N(()=>[Je(z(t.$t("global.cancel")),1)]),_:1},8,["onClick"]),S(l,{key:"validateButton",width:"45%",color:"primary",fill:"",radius:"",disabled:r.selectedGEDDocuments.length===0,onClick:n.onValidateSelectionClick},{default:N(()=>[Je(z(t.$t("properties.validate_selection"))+" ",1),r.selectedGEDDocuments.length>0?(M(),_("div",elt,z(r.selectedGEDDocuments.length),1)):te("",!0)]),_:1},8,["disabled","onClick"])])],64)),r.loading?(M(),G(b,{key:3})):te("",!0)])}const ilt=j(qst,[["render",tlt],["__scopeId","data-v-32f0c66a"]]),olt={key:0,class:"bimdata-properties__bucket"},rlt={key:0,class:"bimdata-properties__bucket__edit-switch"},nlt={class:"bimdata-properties__bucket__selection-list__header"},alt={class:"bimdata-info-length"},slt=["onClick"],llt={class:"bimdata-properties__content"},clt={__name:"BIMDataProperties",props:{fromWrapper:{type:Boolean,default:!1}},setup(t){const e=at("$viewer"),i=at("$plugin"),o=t,r=re("properties"),n=di(null),a=di([]),s=re(!1),l=re(!1),c=re(0),d=Re(()=>[{id:1,get label(){return e.i18n.$t("properties.title")}},{id:2,get label(){return e.i18n.$t("properties.technical_documents")}}]),u=Re(()=>n.value?.model.document.user_permission===100),h=Re(()=>e.pluginsCfg[i.name]?.editProperties),p=Re(()=>h.value&&r.value==="properties"&&e.api.permissions.hasModelWritePermission),A=Re(()=>`${l.value?"--content-height: calc(100% - 44px)":"--content-height: calc(100% - 92px)"};
39
39
  ${p.value?"--bucket-width: calc(100% - 38px)":"--bucket-width: 100%"};
40
- `),f=Re(()=>a.value.length>0?`${n.value?.name??e.i18n.$t("properties.no_name")}`:e.i18n.$t("properties.no_element"));dt(c,()=>l.value=!1);const m=()=>{if(o.fromWrapper){const B=e.localContext.pluginComponentInstances.get("viewer3d"),P=[];for(const T of B.loadedIfcIds)for(const R of e.state.modelsMap.get(T).objects)R.selected&&P.push(R);return P}else return e.state.selectedObjects},g=B=>{B.id===1?r.value="properties":r.value="documents"},y=B=>{n.value=B},v=B=>B?.uuid===n.value?.uuid,b=()=>{l.value=!0};let x=Array.from(m());const k=()=>{const B=m();a.value=[],n.value=null,B.length>0&&(a.value=Array.from(B),n.value=a.value.find(P=>P.model!=null&&P.uuid&&!x.some(T=>T.id===P.id))??null,n.value||(n.value=a.value.find(P=>P.model!=null&&P.uuid)??null)),x=Array.from(m())},E=[e.state.hub.on("objects-deselected",k),e.state.hub.on("objects-selected",k)];if(o.fromWrapper)dt(()=>e.localContext.pluginComponentInstances.get("viewer3d").loadedIfcIds,B=>{c.value=B.length});else{const B=()=>{c.value=e.state.models.length};E.push(e.state.hub.on("ifcs-loaded",B,{getLastEvent:!0}),e.state.hub.on("ifcs-unloaded",B))}return k(),bi(()=>{E.forEach(B=>e.state.hub.off(B))}),(B,P)=>{const T=I("BIMDataTabs"),R=I("BIMDataIconEdit"),L=I("BIMDataButton"),F=I("BIMDataTooltip"),U=I("BIMDataTextbox"),q=I("BIMDataDropdownList"),V=I("BIMDataIllustration");return M(),_("div",{class:"bimdata-properties",style:ce(A.value)},[S(T,{tabs:d.value,"tab-size":"50%",selected:0,class:"bimdata-properties__tabs",onTabSelected:g},null,8,["tabs"]),l.value?te("",!0):(M(),_("div",olt,[p.value?(M(),_("div",rlt,[S(F,{text:B.$t("properties.tooltip"),color:"granite-light"},{default:N(()=>[S(L,{class:de(["bimdata-properties__bucket__edit-switch__button",{active:s.value}]),icon:"",fill:"",radius:"",height:"35px",disabled:!u.value,onClick:P[0]||(P[0]=W=>s.value=!s.value)},{default:N(()=>[S(R,{class:"fill-primary",size:"xs"})]),_:1},8,["class","disabled"])]),_:1},8,["text"])])):te("",!0),l.value?te("",!0):(M(),G(q,{key:1,ref:"propertiesHeaderList",class:"bimdata-properties__bucket__selection-list",list:a.value,disabled:a.value.length===0,"per-page":30,"element-key":"id"},{header:N(()=>[w("div",nlt,[w("div",alt,z(a.value.length),1),S(U,{text:f.value,tooltip:!1,width:"calc(100% - 42px)"},null,8,["text"])])]),element:N(({element:W,close:Y})=>[w("span",{class:de({"bimdata-properties__bucket__selection-list--selected":v(W)}),onClick:$=>{Y(),y(W)}},[S(U,{text:W.name||B.$t("properties.no_name"),tooltip:!1},null,8,["text"])],10,slt)]),_:1},8,["list","disabled"]))])),w("div",llt,[n.value||r.value==="documents"&&l.value?(M(),_(Ye,{key:0},[yt(S(fst,{"edit-allowed":s.value,"selected-object":n.value},null,8,["edit-allowed","selected-object"]),[[Ht,r.value==="properties"]]),yt(S(ilt,{"selected-object":n.value,"linked-elements-shown":l.value,onLinkClose:P[1]||(P[1]=W=>l.value=!1)},null,8,["selected-object","linked-elements-shown"]),[[Ht,r.value==="documents"]])],64)):(M(),G(dd,{key:1,message:r.value==="properties"?B.$t("properties.new_properties"):B.$t("properties.new_documents")},{footer:N(()=>[r.value==="documents"?(M(),G(L,{key:0,color:"primary",fill:"",radius:"",width:"296px",disabled:c.value===0,onClick:b},{default:N(()=>[Je(z(B.$t("properties.linked_element_list")),1)]),_:1},8,["disabled"])):te("",!0)]),default:N(()=>[w("h2",null,z(r.value==="properties"?B.$t("properties.title"):B.$t("properties.title_secondary")),1),S(V,{name:"emptyProperties"})]),_:1},8,["message"]))])],4)}}},fM=j(clt,[["__scopeId","data-v-6c18d011"]]),dlt="Eigenschaften",ult="Ausgabe",hlt="Bitte w\xE4hlen Sie im Modell ein Element aus, um seine Eigenschaften anzuzeigen",plt="Gegenstand",flt="Gegenst\xE4nde",Alt="Kein Element ausgew\xE4hlt",glt="Nicht spezifiziert",mlt="Klassifizierung",vlt="Attribute",ylt="Dokumente",blt="Bitte w\xE4hlen Sie einen Artikel im Modell aus, damit seine Dokumente angezeigt werden.",wlt="Die Suche liefert keine Erkenntnisse",Clt="Technische Dokumente",xlt="Kein Dokument",klt="Datei aus Projekt ausw\xE4hlen",Mlt="Die Auswahl best\xE4tigen",Elt="Dokumente erfolgreich verkn\xFCpft",Blt="Beim Verkn\xFCpfen der Dokumente ist ein Fehler aufgetreten.",Plt="Beim Aufheben der Verkn\xFCpfung der Dokumente ist ein Fehler aufgetreten.",Ilt="Verkn\xFCpfung der Dokumente erfolgreich aufgehoben.",Slt="Name",Tlt="Verkn\xFCpfung von Dokumenten aufheben",Rlt="Durch diese Aktion wird die Verkn\xFCpfung der folgenden Dokumente aufgehoben.",Llt="Liste verkn\xFCpfter Elemente",Dlt="Verkn\xFCpfte Elemente k\xF6nnen nicht abgerufen werden.",_lt={CompositionType:"Art der Zusammensetzung",Description:"Beschreibung",Elevation:"Erhebung",LongName:"Vollst\xE4ndiger Name",ObjectType:"Art des Objekts",Representation:"Vertretung",type:"Art",Name:"Name"},Flt="Erwartetes Format:",Olt="Typ",AM={title:dlt,tooltip:ult,new_properties:hlt,object:plt,objects:flt,no_element:Alt,no_name:glt,classification:mlt,attributes:vlt,"edit-success":"Eigenschaft aktualisiert","edit-error":"Die Eigenschaft kann nicht aktualisiert werden","get-error":"Die Daten k\xF6nnen nicht wiederhergestellt werden, bitte aktualisieren Sie die Seite",title_secondary:ylt,new_documents:blt,empty_search:wlt,technical_documents:Clt,no_document:xlt,from_dms:klt,validate_selection:Mlt,link_documents_success:Elt,link_documents_error:Blt,unlink_documents_error:Plt,unlink_documents_success:Ilt,name:Slt,delete_modal_title:Tlt,delete_modal_description:Rlt,linked_element_list:Llt,linked_documents_error:Dlt,attributes_name:_lt,"invalid-format":"Ung\xFCltiges Format",requested_format:Flt,property_set_type:Olt},Ult="Properties",Nlt="Editing",jlt="Please select an element in the model to display its properties",Vlt="Object",zlt="Objects",Hlt="No element",qlt="Not specified",Qlt="Classification",Glt="Attributes",Klt="Documents",Jlt="Please select an item in the template to view its documents",Zlt="The search did not give any results",Wlt="Technical documents",Ylt="No document",Xlt="From the project's DMS",$lt="Validate the selection",ect="Successfully linked documents",tct="An error occurred in linking the documents",ict="An error occurred while untying the documents",oct="Documents successfully untied",rct="Name",nct="Untie the documents",act="This action will untie the following documents",sct="List of related items",lct="Unable to retrieve linked items",cct={CompositionType:"Type of composition",Description:"Description",Elevation:"Elevation",LongName:"Full name",ObjectType:"Type of object",Representation:"Representation",type:"Type",Name:"Name"},dct="Expected format:",uct="Type",gM={title:Ult,tooltip:Nlt,new_properties:jlt,object:Vlt,objects:zlt,no_element:Hlt,no_name:qlt,classification:Qlt,attributes:Glt,"edit-success":"Propertie updated","edit-error":"Impossible to update propertie","get-error":"Error fetching data, you should refresh the page",title_secondary:Klt,new_documents:Jlt,empty_search:Zlt,technical_documents:Wlt,no_document:Ylt,from_dms:Xlt,validate_selection:$lt,link_documents_success:ect,link_documents_error:tct,unlink_documents_error:ict,unlink_documents_success:oct,name:rct,delete_modal_title:nct,delete_modal_description:act,linked_element_list:sct,linked_documents_error:lct,attributes_name:cct,"invalid-format":"Invalid format",requested_format:dct,property_set_type:uct},hct="Propiedades",pct="Correcci\xF3n",fct="Seleccione un elemento del modelo para mostrar sus propiedades",Act="Objeto",gct="Objetos",mct="Sin elemento",vct="No especificado",yct="Clasificaci\xF3n",bct="Atributos",wct="Documentos",Cct="Seleccione un elemento de la plantilla para ver sus documentos",xct="La b\xFAsqueda no ha arrojado ning\xFAn resultado",kct="Documentos t\xE9cnicos",Mct="Sin documentos",Ect="De la GED del proyecto",Bct="Confirmar la selecci\xF3n",Pct="Se han vinculado correctamente los documentos",Ict="Se ha producido un error al vincular los documentos",Sct="Se ha producido un error al desvincular los documentos",Tct="Se han desvinculado correctamente los documentos",Rct="Nombre",Lct="Desvincular los documentos",Dct="Esta acci\xF3n desvincular\xE1 los siguientes documentos",_ct="Lista de elementos vinculados",Fct="No se pueden recuperar los elementos vinculados",Oct={CompositionType:"Tipo de composici\xF3n",Description:"Descripci\xF3n",Elevation:"Elevaci\xF3n",LongName:"Nombre completo",ObjectType:"Tipo de objeto",Representation:"Representaci\xF3n",type:"Tipo",Name:"Nombre"},Uct="Formato esperado :",Nct="Tipo",vq={title:hct,tooltip:pct,new_properties:fct,object:Act,objects:gct,no_element:mct,no_name:vct,classification:yct,attributes:bct,"edit-success":"Propiedad actualizada","edit-error":"Imposible actualizar la propiedad","get-error":"Error al obtener datos, debe actualizar la p\xE1gina",title_secondary:wct,new_documents:Cct,empty_search:xct,technical_documents:kct,no_document:Mct,from_dms:Ect,validate_selection:Bct,link_documents_success:Pct,link_documents_error:Ict,unlink_documents_error:Sct,unlink_documents_success:Tct,name:Rct,delete_modal_title:Lct,delete_modal_description:Dct,linked_element_list:_ct,linked_documents_error:Fct,attributes_name:Oct,"invalid-format":"Formato no v\xE1lido",requested_format:Uct,property_set_type:Nct},jct="Propri\xE9t\xE9s",Vct="\xC9dition",zct="Veuillez s\xE9lectionner un \xE9l\xE9ment dans le mod\xE8le pour afficher ses propri\xE9t\xE9s",Hct="Objet",qct="Objets",Qct="Pas d'\xE9l\xE9ment selectionn\xE9",Gct="Non sp\xE9cifi\xE9",Kct="Classification",Jct="Attributs",Zct="Documents",Wct="Veuillez s\xE9lectionner un \xE9l\xE9ment dans le mod\xE8le pour afficher ses documents",Yct="La recherche ne donne aucun r\xE9sultat",Xct="Documents techniques",$ct="Aucun document",edt="Depuis la GED du projet",tdt="Valider la selection",idt="Documents li\xE9s avec succ\xE8s",odt="Une erreur est survenue en liant les documents",rdt="Une erreur est survenue en d\xE9liant les documents",ndt="Documents d\xE9li\xE9s avec succ\xE8s",adt="Nom",sdt="D\xE9lier les documents",ldt="Cette action va d\xE9lier les documents suivants",cdt="Liste des \xE9l\xE9ments li\xE9s",ddt="Impossible de r\xE9cup\xE9rer les \xE9l\xE9ments li\xE9s",udt={CompositionType:"Type de composition",Description:"Description",Elevation:"\xC9l\xE9vation",LongName:"Nom complet",ObjectType:"Type d'objet",Representation:"Repr\xE9sentation",type:"Type",Name:"Nom"},hdt="Format attendu :",pdt="Type",mM={title:jct,tooltip:Vct,new_properties:zct,object:Hct,objects:qct,no_element:Qct,no_name:Gct,classification:Kct,attributes:Jct,"edit-success":"Propri\xE9t\xE9 mise \xE0 jour","edit-error":"Impossible de mettre \xE0 jour la propri\xE9t\xE9","get-error":"Impossible de r\xE9sup\xE9rer la donn\xE9e, veuillez rafraichir la page",title_secondary:Zct,new_documents:Wct,empty_search:Yct,technical_documents:Xct,no_document:$ct,from_dms:edt,validate_selection:tdt,link_documents_success:idt,link_documents_error:odt,unlink_documents_error:rdt,unlink_documents_success:ndt,name:adt,delete_modal_title:sdt,delete_modal_description:ldt,linked_element_list:cdt,linked_documents_error:ddt,attributes_name:udt,"invalid-format":"Format invalide",requested_format:hdt,property_set_type:pdt},fdt="Propriet\xE0",Adt="Modifica",gdt="Seleziona un elemento nel modello per visualizzare le sue propriet\xE0",mdt="Oggetto",vdt="Oggetti",ydt="Nessun elemento selezionato",bdt="Non specificato",wdt="Classificazione",Cdt="Attributi",xdt="Documenti",kdt="Seleziona un elemento nel modello per visualizzare i relativi documenti",Mdt="La ricerca non ha fornito risultati",Edt="Documenti tecnici",Bdt="Nessun documento",Pdt="Dalla GED del progetto",Idt="Conferma la selezione",Sdt="Documenti collegati correttamente",Tdt="Si \xE8 verificato un errore durante il collegamento dei documenti",Rdt="Si \xE8 verificato un errore durante lo scollegamento dei documenti",Ldt="Documenti scollegati correttamente",Ddt="Nome",_dt="Scollega i documenti",Fdt="Questa azione scollegher\xE0 i documenti seguenti",Odt="Elenco degli elementi collegati",Udt="Impossibile recuperare gli elementi collegati",Ndt={CompositionType:"Tipo di composizione",Description:"Descrizione",Elevation:"Elevazione",LongName:"Nome completo",ObjectType:"Tipo di oggetto",Representation:"Rappresentazione",type:"Tipo",Name:"Nome"},yq={title:fdt,tooltip:Adt,new_properties:gdt,object:mdt,objects:vdt,no_element:ydt,no_name:bdt,classification:wdt,attributes:Cdt,"edit-success":"Propriet\xE0 aggiornata","edit-error":"Impossibile aggiornare la propriet\xE0","get-error":"Impossibile recuperare i dati, aggiorna la pagina",title_secondary:xdt,new_documents:kdt,empty_search:Mdt,technical_documents:Edt,no_document:Bdt,from_dms:Pdt,validate_selection:Idt,link_documents_success:Sdt,link_documents_error:Tdt,unlink_documents_error:Rdt,unlink_documents_success:Ldt,name:Ddt,delete_modal_title:_dt,delete_modal_description:Fdt,linked_element_list:Odt,linked_documents_error:Udt,attributes_name:Ndt},jdt="data:image/svg+xml,%3csvg%20width='24'%20height='23'%20viewBox='0%200%2024%2023'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='8.67139'%20y='4.14001'%20width='6.44'%20height='1.84'%20fill='%23F8C62C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.0613%200.459961H18.7914V8.97184C18.2033%208.82047%2017.5867%208.73996%2016.9514%208.73996L16.9514%202.29996H6.83137V6.90002H2.23139V19.78H10.576C10.9767%2020.4725%2011.4869%2021.0938%2012.0831%2021.62H0.391388V6.12987L6.0613%200.459961Z'%20fill='%232F374A'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.5914%2016.0999H4.07138V17.9399H9.82324C9.67189%2017.3518%209.5914%2016.7353%209.5914%2016.1C9.5914%2016.0999%209.5914%2016.0999%209.5914%2016.0999Z'%20fill='%23F8C62C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.5761%2012.42H4.07138V14.26H9.82328C9.9913%2013.6073%2010.2466%2012.9895%2010.5761%2012.42Z'%20fill='%23F8C62C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M15.1114%208.97184V8.73999H4.07138V10.58H12.083C12.9389%209.82462%2013.9717%209.26517%2015.1114%208.97184Z'%20fill='%23F8C62C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.9514%2022.54C20.5081%2022.54%2023.3914%2019.6567%2023.3914%2016.1C23.3914%2012.5433%2020.5081%209.66003%2016.9514%209.66003C13.3947%209.66003%2010.5114%2012.5433%2010.5114%2016.1C10.5114%2019.6567%2013.3947%2022.54%2016.9514%2022.54ZM16.234%2017.406H17.4199L17.5879%2012.4201H16.066L16.234%2017.406ZM17.4051%2018.3992C17.2601%2018.2576%2017.0674%2018.1868%2016.8269%2018.1868C16.5898%2018.1868%2016.397%2018.2592%2016.2488%2018.4042C16.1039%2018.5458%2016.0314%2018.7254%2016.0314%2018.9428C16.0314%2019.1602%2016.1039%2019.3398%2016.2488%2019.4814C16.397%2019.6231%2016.5898%2019.6939%2016.8269%2019.6939C17.0674%2019.6939%2017.2601%2019.6231%2017.4051%2019.4814C17.5533%2019.3398%2017.6275%2019.1602%2017.6275%2018.9428C17.6275%2018.7221%2017.5533%2018.5409%2017.4051%2018.3992Z'%20fill='%232F374A'/%3e%3c/svg%3e",Vdt={name:"properties",i18n:{de:AM,en:gM,es:vq,fr:mM,it:yq},component:fM,window:{name:"properties",label:"properties.title",icon:{imgUri:jdt}}},zdt={name:"button-properties",addToWindows:["3d"],i18nTokenPrefix:"properties",i18n:{de:AM,en:gM,es:vq,fr:mM,it:yq},component:fM,button:{position:"left",stance:-1,content:"panel",tooltip:"properties.title",keepOpen:!0,icon:{component:"BIMDataIconList",options:{size:"m"}}}},Hdt={render(){return null},name:"BIMDataFirstPersonView",mounted(){const t=this.$viewer.localContext.pluginComponentInstances.get("viewer3d");if(!t){const e="Plugin Projection cannot work without viewer3D plugin.";throw console.error(e),new Error(e)}this.viewer3d=t},onOpen(){const t=this.viewer3d.xeokit,e=this.$viewer.localContext.loadedModels[0];if(!e){setTimeout(()=>this.$close());return}const i=this.$viewer.state.getStoreyFromAbsoluteElevation(e,t.camera.eye[1]);if(i&&i.key!==this.$viewer.localContext.selectedStorey?.key&&this.$viewer.localContext.selectStorey(i),!i)return;const{math:o}=this.viewer3d.xeokitSdk,r=Object.values(t.scene.models).find(A=>A.ifc.id===i.model.id);if(!r)return;const n=new Map(Array.from(Object.values(r.objects)).map(A=>[A.originalSystemId,A])),a=i.objects.map(A=>A.uuid).map(A=>n.get(A)).filter(Boolean),{eye:s}=t.scene.camera;let l=1/0,c=null;for(const A of a){const[f,,m,g,,y]=A.aabb,v={x:(f+g)/2,y:(m+y)/2},b={x:v.x+(g-f)/2,y:v.y+(y-m)/2},x=Math.sqrt((b.x-s[0])**2+(b.y-s[2])**2);x<l&&(l=x,c=b)}if(!c)return;const d=[c.x,c.y],u=o.mulVec2Scalar(o.normalizeVec2(o.subVec2([s[0],s[2]],d,o.vec2())),3),h=[d[0]+u[0],d[1]+u[1]],p=[h[0],i.absoluteElevation+this.viewer3d.STOREY_HEIGHT_CAMERA_OFFSET,h[1]];return t.cameraFlight.flyTo({eye:p,duration:.5}),new Promise(A=>setTimeout(()=>{this.viewer3d.firstPersonView=!0,A()},500))},onClose(){this.viewer3d.firstPersonView=!1}},qdt={},Qdt={width:"14",height:"23",viewBox:"0 0 14 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Gdt(t,e){return M(),_("svg",Qdt,[...e[0]||(e[0]=[w("path",{d:"M7.96154 4.27907C9.12923 4.27907 10.0846 3.31628 10.0846 2.13953C10.0846 0.962791 9.12923 0 7.96154 0C6.79385 0 5.83846 0.962791 5.83846 2.13953C5.83846 3.31628 6.79385 4.27907 7.96154 4.27907ZM4.03385 7.91628L1.06154 23H3.29077L5.20154 14.4419L7.43077 16.5814V23H9.55385V14.9767L7.32461 12.8372L7.96154 9.62791C9.34154 11.2326 11.4646 12.3023 13.8 12.3023V10.1628C11.7831 10.1628 10.0846 9.09302 9.23538 7.59535L8.17385 5.88372C7.74923 5.24186 7.11231 4.81395 6.36923 4.81395C6.05077 4.81395 5.83846 4.92093 5.52 4.92093L0 7.27442V12.3023H2.12308V8.66512L4.03385 7.91628Z",fill:"black"},null,-1)])])}const Kdt=j(qdt,[["render",Gdt]]),Jdt={},Zdt={width:"21",height:"23",viewBox:"0 0 21 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Wdt(t,e){return M(),_("svg",Zdt,[...e[0]||(e[0]=[w("path",{d:"M10.35 0C11.615 0 12.65 1.035 12.65 2.3C12.65 3.565 11.615 4.6 10.35 4.6C9.085 4.6 8.05 3.565 8.05 2.3C8.05 1.035 9.085 0 10.35 0ZM20.7 8.05H13.8V23H11.5V16.1H9.2V23H6.9V8.05H0V5.75H20.7V8.05Z",fill:"black"},null,-1)])])}const Ydt=j(Jdt,[["render",Wdt]]),Xdt="First-person view",$dt={tooltip:Xdt},eut="Vue premi\xE8re personne",tut={tooltip:eut},iut={name:"firstPersonView",i18n:{en:$dt,fr:tut},addToWindows:["3d"],component:Hdt,button:{tooltip:"firstPersonView.tooltip",position:"right",content:"free",keepOpen:!0,icon:{component:Ydt},iconOpen:{component:Kdt}}};var oc=(t=>(t[t.WEBGL_LEGACY=0]="WEBGL_LEGACY",t[t.WEBGL=1]="WEBGL",t[t.WEBGL2=2]="WEBGL2",t))(oc||{}),bq=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.WEBGL=1]="WEBGL",t[t.CANVAS=2]="CANVAS",t))(bq||{}),hy=(t=>(t[t.COLOR=16384]="COLOR",t[t.DEPTH=256]="DEPTH",t[t.STENCIL=1024]="STENCIL",t))(hy||{}),Kt=(t=>(t[t.NORMAL=0]="NORMAL",t[t.ADD=1]="ADD",t[t.MULTIPLY=2]="MULTIPLY",t[t.SCREEN=3]="SCREEN",t[t.OVERLAY=4]="OVERLAY",t[t.DARKEN=5]="DARKEN",t[t.LIGHTEN=6]="LIGHTEN",t[t.COLOR_DODGE=7]="COLOR_DODGE",t[t.COLOR_BURN=8]="COLOR_BURN",t[t.HARD_LIGHT=9]="HARD_LIGHT",t[t.SOFT_LIGHT=10]="SOFT_LIGHT",t[t.DIFFERENCE=11]="DIFFERENCE",t[t.EXCLUSION=12]="EXCLUSION",t[t.HUE=13]="HUE",t[t.SATURATION=14]="SATURATION",t[t.COLOR=15]="COLOR",t[t.LUMINOSITY=16]="LUMINOSITY",t[t.NORMAL_NPM=17]="NORMAL_NPM",t[t.ADD_NPM=18]="ADD_NPM",t[t.SCREEN_NPM=19]="SCREEN_NPM",t[t.NONE=20]="NONE",t[t.SRC_OVER=0]="SRC_OVER",t[t.SRC_IN=21]="SRC_IN",t[t.SRC_OUT=22]="SRC_OUT",t[t.SRC_ATOP=23]="SRC_ATOP",t[t.DST_OVER=24]="DST_OVER",t[t.DST_IN=25]="DST_IN",t[t.DST_OUT=26]="DST_OUT",t[t.DST_ATOP=27]="DST_ATOP",t[t.ERASE=26]="ERASE",t[t.SUBTRACT=28]="SUBTRACT",t[t.XOR=29]="XOR",t))(Kt||{}),ha=(t=>(t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN",t))(ha||{}),_t=(t=>(t[t.RGBA=6408]="RGBA",t[t.RGB=6407]="RGB",t[t.RG=33319]="RG",t[t.RED=6403]="RED",t[t.RGBA_INTEGER=36249]="RGBA_INTEGER",t[t.RGB_INTEGER=36248]="RGB_INTEGER",t[t.RG_INTEGER=33320]="RG_INTEGER",t[t.RED_INTEGER=36244]="RED_INTEGER",t[t.ALPHA=6406]="ALPHA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL",t))(_t||{}),Gu=(t=>(t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",t))(Gu||{}),ui=(t=>(t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",t[t.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",t[t.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",t[t.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",t[t.BYTE=5120]="BYTE",t[t.SHORT=5122]="SHORT",t[t.INT=5124]="INT",t[t.FLOAT=5126]="FLOAT",t[t.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",t[t.HALF_FLOAT=36193]="HALF_FLOAT",t))(ui||{}),py=(t=>(t[t.FLOAT=0]="FLOAT",t[t.INT=1]="INT",t[t.UINT=2]="UINT",t))(py||{}),fs=(t=>(t[t.NEAREST=0]="NEAREST",t[t.LINEAR=1]="LINEAR",t))(fs||{}),ud=(t=>(t[t.CLAMP=33071]="CLAMP",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",t))(ud||{}),rc=(t=>(t[t.OFF=0]="OFF",t[t.POW2=1]="POW2",t[t.ON=2]="ON",t[t.ON_MANUAL=3]="ON_MANUAL",t))(rc||{}),il=(t=>(t[t.NPM=0]="NPM",t[t.UNPACK=1]="UNPACK",t[t.PMA=2]="PMA",t[t.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",t[t.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",t[t.PREMULTIPLIED_ALPHA=2]="PREMULTIPLIED_ALPHA",t))(il||{}),hd=(t=>(t[t.NO=0]="NO",t[t.YES=1]="YES",t[t.AUTO=2]="AUTO",t[t.BLEND=0]="BLEND",t[t.CLEAR=1]="CLEAR",t[t.BLIT=2]="BLIT",t))(hd||{}),fy=(t=>(t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL",t))(fy||{}),pa=(t=>(t.LOW="lowp",t.MEDIUM="mediump",t.HIGH="highp",t))(pa||{}),fr=(t=>(t[t.NONE=0]="NONE",t[t.SCISSOR=1]="SCISSOR",t[t.STENCIL=2]="STENCIL",t[t.SPRITE=3]="SPRITE",t[t.COLOR=4]="COLOR",t))(fr||{}),wq=(t=>(t[t.RED=1]="RED",t[t.GREEN=2]="GREEN",t[t.BLUE=4]="BLUE",t[t.ALPHA=8]="ALPHA",t))(wq||{}),Ko=(t=>(t[t.NONE=0]="NONE",t[t.LOW=2]="LOW",t[t.MEDIUM=4]="MEDIUM",t[t.HIGH=8]="HIGH",t))(Ko||{}),As=(t=>(t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER",t))(As||{});const Ku=2*Math.PI,Cq=180/Math.PI,xq=Math.PI/180;var Di=(t=>(t[t.POLY=0]="POLY",t[t.RECT=1]="RECT",t[t.CIRC=2]="CIRC",t[t.ELIP=3]="ELIP",t[t.RREC=4]="RREC",t))(Di||{});let jo=class $ge{constructor(e=0,i=0){this.x=0,this.y=0,this.x=e,this.y=i}clone(){return new $ge(this.x,this.y)}copyFrom(e){return this.set(e.x,e.y),this}copyTo(e){return e.set(this.x,this.y),e}equals(e){return e.x===this.x&&e.y===this.y}set(e=0,i=e){return this.x=e,this.y=i,this}toString(){return`[@pixi/math:Point x=${this.x} y=${this.y}]`}};const Ay=[new jo,new jo,new jo,new jo];let ro=class RF{constructor(e=0,i=0,o=0,r=0){this.x=Number(e),this.y=Number(i),this.width=Number(o),this.height=Number(r),this.type=Di.RECT}get left(){return this.x}get right(){return this.x+this.width}get top(){return this.y}get bottom(){return this.y+this.height}static get EMPTY(){return new RF(0,0,0,0)}clone(){return new RF(this.x,this.y,this.width,this.height)}copyFrom(e){return this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height,this}copyTo(e){return e.x=this.x,e.y=this.y,e.width=this.width,e.height=this.height,e}contains(e,i){return!(this.width<=0||this.height<=0)&&e>=this.x&&e<this.x+this.width&&i>=this.y&&i<this.y+this.height}intersects(e,i){if(!i){const B=this.x<e.x?e.x:this.x;if((this.right>e.right?e.right:this.right)<=B)return!1;const P=this.y<e.y?e.y:this.y;return(this.bottom>e.bottom?e.bottom:this.bottom)>P}const o=this.left,r=this.right,n=this.top,a=this.bottom;if(r<=o||a<=n)return!1;const s=Ay[0].set(e.left,e.top),l=Ay[1].set(e.left,e.bottom),c=Ay[2].set(e.right,e.top),d=Ay[3].set(e.right,e.bottom);if(c.x<=s.x||l.y<=s.y)return!1;const u=Math.sign(i.a*i.d-i.b*i.c);if(u===0||(i.apply(s,s),i.apply(l,l),i.apply(c,c),i.apply(d,d),Math.max(s.x,l.x,c.x,d.x)<=o||Math.min(s.x,l.x,c.x,d.x)>=r||Math.max(s.y,l.y,c.y,d.y)<=n||Math.min(s.y,l.y,c.y,d.y)>=a))return!1;const h=u*(l.y-s.y),p=u*(s.x-l.x),A=h*o+p*n,f=h*r+p*n,m=h*o+p*a,g=h*r+p*a;if(Math.max(A,f,m,g)<=h*s.x+p*s.y||Math.min(A,f,m,g)>=h*d.x+p*d.y)return!1;const y=u*(s.y-c.y),v=u*(c.x-s.x),b=y*o+v*n,x=y*r+v*n,k=y*o+v*a,E=y*r+v*a;return!(Math.max(b,x,k,E)<=y*s.x+v*s.y||Math.min(b,x,k,E)>=y*d.x+v*d.y)}pad(e=0,i=e){return this.x-=e,this.y-=i,this.width+=2*e,this.height+=2*i,this}fit(e){const i=Math.max(this.x,e.x),o=Math.min(this.x+this.width,e.x+e.width),r=Math.max(this.y,e.y),n=Math.min(this.y+this.height,e.y+e.height);return this.x=i,this.width=Math.max(o-i,0),this.y=r,this.height=Math.max(n-r,0),this}ceil(e=1,i=.001){const o=Math.ceil((this.x+this.width-i)*e)/e,r=Math.ceil((this.y+this.height-i)*e)/e;return this.x=Math.floor((this.x+i)*e)/e,this.y=Math.floor((this.y+i)*e)/e,this.width=o-this.x,this.height=r-this.y,this}enlarge(e){const i=Math.min(this.x,e.x),o=Math.max(this.x+this.width,e.x+e.width),r=Math.min(this.y,e.y),n=Math.max(this.y+this.height,e.y+e.height);return this.x=i,this.width=o-i,this.y=r,this.height=n-r,this}toString(){return`[@pixi/math:Rectangle x=${this.x} y=${this.y} width=${this.width} height=${this.height}]`}},vM=class e2e{constructor(e=0,i=0,o=0){this.x=e,this.y=i,this.radius=o,this.type=Di.CIRC}clone(){return new e2e(this.x,this.y,this.radius)}contains(e,i){if(this.radius<=0)return!1;const o=this.radius*this.radius;let r=this.x-e,n=this.y-i;return r*=r,n*=n,r+n<=o}getBounds(){return new ro(this.x-this.radius,this.y-this.radius,2*this.radius,2*this.radius)}toString(){return`[@pixi/math:Circle x=${this.x} y=${this.y} radius=${this.radius}]`}},yM=class t2e{constructor(e=0,i=0,o=0,r=0){this.x=e,this.y=i,this.width=o,this.height=r,this.type=Di.ELIP}clone(){return new t2e(this.x,this.y,this.width,this.height)}contains(e,i){if(this.width<=0||this.height<=0)return!1;let o=(e-this.x)/this.width,r=(i-this.y)/this.height;return o*=o,r*=r,o+r<=1}getBounds(){return new ro(this.x-this.width,this.y-this.height,this.width,this.height)}toString(){return`[@pixi/math:Ellipse x=${this.x} y=${this.y} width=${this.width} height=${this.height}]`}},pd=class i2e{constructor(...e){let i=Array.isArray(e[0])?e[0]:e;if(typeof i[0]!="number"){const o=[];for(let r=0,n=i.length;r<n;r++)o.push(i[r].x,i[r].y);i=o}this.points=i,this.type=Di.POLY,this.closeStroke=!0}clone(){const e=this.points.slice(),i=new i2e(e);return i.closeStroke=this.closeStroke,i}contains(e,i){let o=!1;const r=this.points.length/2;for(let n=0,a=r-1;n<r;a=n++){const s=this.points[2*n],l=this.points[2*n+1],c=this.points[2*a],d=this.points[2*a+1];l>i!=d>i&&e<(i-l)/(d-l)*(c-s)+s&&(o=!o)}return o}toString(){return`[@pixi/math:PolygoncloseStroke=${this.closeStroke}points=${this.points.reduce(((e,i)=>`${e}, ${i}`),"")}]`}},bM=class o2e{constructor(e=0,i=0,o=0,r=0,n=20){this.x=e,this.y=i,this.width=o,this.height=r,this.radius=n,this.type=Di.RREC}clone(){return new o2e(this.x,this.y,this.width,this.height,this.radius)}contains(e,i){if(this.width<=0||this.height<=0)return!1;if(e>=this.x&&e<=this.x+this.width&&i>=this.y&&i<=this.y+this.height){const o=Math.max(0,Math.min(this.radius,Math.min(this.width,this.height)/2));if(i>=this.y+o&&i<=this.y+this.height-o||e>=this.x+o&&e<=this.x+this.width-o)return!0;let r=e-(this.x+o),n=i-(this.y+o);const a=o*o;if(r*r+n*n<=a||(r=e-(this.x+this.width-o),r*r+n*n<=a)||(n=i-(this.y+this.height-o),r*r+n*n<=a)||(r=e-(this.x+o),r*r+n*n<=a))return!0}return!1}toString(){return`[@pixi/math:RoundedRectangle x=${this.x} y=${this.y}width=${this.width} height=${this.height} radius=${this.radius}]`}},Up=class r2e{constructor(e,i,o=0,r=0){this._x=o,this._y=r,this.cb=e,this.scope=i}clone(e=this.cb,i=this.scope){return new r2e(e,i,this._x,this._y)}set(e=0,i=e){return(this._x!==e||this._y!==i)&&(this._x=e,this._y=i,this.cb.call(this.scope)),this}copyFrom(e){return(this._x!==e.x||this._y!==e.y)&&(this._x=e.x,this._y=e.y,this.cb.call(this.scope)),this}copyTo(e){return e.set(this._x,this._y),e}equals(e){return e.x===this._x&&e.y===this._y}toString(){return`[@pixi/math:ObservablePoint x=0 y=0 scope=${this.scope}]`}get x(){return this._x}set x(e){this._x!==e&&(this._x=e,this.cb.call(this.scope))}get y(){return this._y}set y(e){this._y!==e&&(this._y=e,this.cb.call(this.scope))}},xi=class Hw{constructor(e=1,i=0,o=0,r=1,n=0,a=0){this.array=null,this.a=e,this.b=i,this.c=o,this.d=r,this.tx=n,this.ty=a}fromArray(e){this.a=e[0],this.b=e[1],this.c=e[3],this.d=e[4],this.tx=e[2],this.ty=e[5]}set(e,i,o,r,n,a){return this.a=e,this.b=i,this.c=o,this.d=r,this.tx=n,this.ty=a,this}toArray(e,i){this.array||(this.array=new Float32Array(9));const o=i||this.array;return e?(o[0]=this.a,o[1]=this.b,o[2]=0,o[3]=this.c,o[4]=this.d,o[5]=0,o[6]=this.tx,o[7]=this.ty,o[8]=1):(o[0]=this.a,o[1]=this.c,o[2]=this.tx,o[3]=this.b,o[4]=this.d,o[5]=this.ty,o[6]=0,o[7]=0,o[8]=1),o}apply(e,i){i=i||new jo;const o=e.x,r=e.y;return i.x=this.a*o+this.c*r+this.tx,i.y=this.b*o+this.d*r+this.ty,i}applyInverse(e,i){i=i||new jo;const o=1/(this.a*this.d+this.c*-this.b),r=e.x,n=e.y;return i.x=this.d*o*r+-this.c*o*n+(this.ty*this.c-this.tx*this.d)*o,i.y=this.a*o*n+-this.b*o*r+(-this.ty*this.a+this.tx*this.b)*o,i}translate(e,i){return this.tx+=e,this.ty+=i,this}scale(e,i){return this.a*=e,this.d*=i,this.c*=e,this.b*=i,this.tx*=e,this.ty*=i,this}rotate(e){const i=Math.cos(e),o=Math.sin(e),r=this.a,n=this.c,a=this.tx;return this.a=r*i-this.b*o,this.b=r*o+this.b*i,this.c=n*i-this.d*o,this.d=n*o+this.d*i,this.tx=a*i-this.ty*o,this.ty=a*o+this.ty*i,this}append(e){const i=this.a,o=this.b,r=this.c,n=this.d;return this.a=e.a*i+e.b*r,this.b=e.a*o+e.b*n,this.c=e.c*i+e.d*r,this.d=e.c*o+e.d*n,this.tx=e.tx*i+e.ty*r+this.tx,this.ty=e.tx*o+e.ty*n+this.ty,this}setTransform(e,i,o,r,n,a,s,l,c){return this.a=Math.cos(s+c)*n,this.b=Math.sin(s+c)*n,this.c=-Math.sin(s-l)*a,this.d=Math.cos(s-l)*a,this.tx=e-(o*this.a+r*this.c),this.ty=i-(o*this.b+r*this.d),this}prepend(e){const i=this.tx;if(e.a!==1||e.b!==0||e.c!==0||e.d!==1){const o=this.a,r=this.c;this.a=o*e.a+this.b*e.c,this.b=o*e.b+this.b*e.d,this.c=r*e.a+this.d*e.c,this.d=r*e.b+this.d*e.d}return this.tx=i*e.a+this.ty*e.c+e.tx,this.ty=i*e.b+this.ty*e.d+e.ty,this}decompose(e){const i=this.a,o=this.b,r=this.c,n=this.d,a=e.pivot,s=-Math.atan2(-r,n),l=Math.atan2(o,i),c=Math.abs(s+l);return c<1e-5||Math.abs(Ku-c)<1e-5?(e.rotation=l,e.skew.x=e.skew.y=0):(e.rotation=0,e.skew.x=s,e.skew.y=l),e.scale.x=Math.sqrt(i*i+o*o),e.scale.y=Math.sqrt(r*r+n*n),e.position.x=this.tx+(a.x*i+a.y*r),e.position.y=this.ty+(a.x*o+a.y*n),e}invert(){const e=this.a,i=this.b,o=this.c,r=this.d,n=this.tx,a=e*r-i*o;return this.a=r/a,this.b=-i/a,this.c=-o/a,this.d=e/a,this.tx=(o*this.ty-r*n)/a,this.ty=-(e*this.ty-i*n)/a,this}identity(){return this.a=1,this.b=0,this.c=0,this.d=1,this.tx=0,this.ty=0,this}clone(){const e=new Hw;return e.a=this.a,e.b=this.b,e.c=this.c,e.d=this.d,e.tx=this.tx,e.ty=this.ty,e}copyTo(e){return e.a=this.a,e.b=this.b,e.c=this.c,e.d=this.d,e.tx=this.tx,e.ty=this.ty,e}copyFrom(e){return this.a=e.a,this.b=e.b,this.c=e.c,this.d=e.d,this.tx=e.tx,this.ty=e.ty,this}toString(){return`[@pixi/math:Matrix a=${this.a} b=${this.b} c=${this.c} d=${this.d} tx=${this.tx} ty=${this.ty}]`}static get IDENTITY(){return new Hw}static get TEMP_MATRIX(){return new Hw}};const Ju=[1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1,0,1],Zu=[0,1,1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1],Wu=[0,-1,-1,-1,0,1,1,1,0,1,1,1,0,-1,-1,-1],Yu=[1,1,0,-1,-1,-1,0,1,-1,-1,0,1,1,1,0,-1],wM=[],kq=[],gy=Math.sign;(function(){for(let t=0;t<16;t++){const e=[];wM.push(e);for(let i=0;i<16;i++){const o=gy(Ju[t]*Ju[i]+Wu[t]*Zu[i]),r=gy(Zu[t]*Ju[i]+Yu[t]*Zu[i]),n=gy(Ju[t]*Wu[i]+Wu[t]*Yu[i]),a=gy(Zu[t]*Wu[i]+Yu[t]*Yu[i]);for(let s=0;s<16;s++)if(Ju[s]===o&&Zu[s]===r&&Wu[s]===n&&Yu[s]===a){e.push(s);break}}}for(let t=0;t<16;t++){const e=new xi;e.set(Ju[t],Zu[t],Wu[t],Yu[t],0,0),kq.push(e)}})();const _o={E:0,SE:1,S:2,SW:3,W:4,NW:5,N:6,NE:7,MIRROR_VERTICAL:8,MAIN_DIAGONAL:10,MIRROR_HORIZONTAL:12,REVERSE_DIAGONAL:14,uX:t=>Ju[t],uY:t=>Zu[t],vX:t=>Wu[t],vY:t=>Yu[t],inv:t=>8&t?15&t:7&-t,add:(t,e)=>wM[t][e],sub:(t,e)=>wM[t][_o.inv(e)],rotate180:t=>4^t,isVertical:t=>(3&t)==2,byDirection:(t,e)=>2*Math.abs(t)<=Math.abs(e)?e>=0?_o.S:_o.N:2*Math.abs(e)<=Math.abs(t)?t>0?_o.E:_o.W:e>0?t>0?_o.SE:_o.SW:t>0?_o.NE:_o.NW,matrixAppendRotationInv:(t,e,i=0,o=0)=>{const r=kq[_o.inv(e)];r.tx=i,r.ty=o,t.append(r)}},Mq=class{constructor(){this.worldTransform=new xi,this.localTransform=new xi,this.position=new Up(this.onChange,this,0,0),this.scale=new Up(this.onChange,this,1,1),this.pivot=new Up(this.onChange,this,0,0),this.skew=new Up(this.updateSkew,this,0,0),this._rotation=0,this._cx=1,this._sx=0,this._cy=0,this._sy=1,this._localID=0,this._currentLocalID=0,this._worldID=0,this._parentID=0}onChange(){this._localID++}updateSkew(){this._cx=Math.cos(this._rotation+this.skew.y),this._sx=Math.sin(this._rotation+this.skew.y),this._cy=-Math.sin(this._rotation-this.skew.x),this._sy=Math.cos(this._rotation-this.skew.x),this._localID++}toString(){return`[@pixi/math:Transform position=(${this.position.x}, ${this.position.y}) rotation=${this.rotation} scale=(${this.scale.x}, ${this.scale.y}) skew=(${this.skew.x}, ${this.skew.y}) ]`}updateLocalTransform(){const t=this.localTransform;this._localID!==this._currentLocalID&&(t.a=this._cx*this.scale.x,t.b=this._sx*this.scale.x,t.c=this._cy*this.scale.y,t.d=this._sy*this.scale.y,t.tx=this.position.x-(this.pivot.x*t.a+this.pivot.y*t.c),t.ty=this.position.y-(this.pivot.x*t.b+this.pivot.y*t.d),this._currentLocalID=this._localID,this._parentID=-1)}updateTransform(t){const e=this.localTransform;if(this._localID!==this._currentLocalID&&(e.a=this._cx*this.scale.x,e.b=this._sx*this.scale.x,e.c=this._cy*this.scale.y,e.d=this._sy*this.scale.y,e.tx=this.position.x-(this.pivot.x*e.a+this.pivot.y*e.c),e.ty=this.position.y-(this.pivot.x*e.b+this.pivot.y*e.d),this._currentLocalID=this._localID,this._parentID=-1),this._parentID!==t._worldID){const i=t.worldTransform,o=this.worldTransform;o.a=e.a*i.a+e.b*i.c,o.b=e.a*i.b+e.b*i.d,o.c=e.c*i.a+e.d*i.c,o.d=e.c*i.b+e.d*i.d,o.tx=e.tx*i.a+e.ty*i.c+i.tx,o.ty=e.tx*i.b+e.ty*i.d+i.ty,this._parentID=t._worldID,this._worldID++}}setFromMatrix(t){t.decompose(this),this._localID++}get rotation(){return this._rotation}set rotation(t){this._rotation!==t&&(this._rotation=t,this.updateSkew())}};let Np=Mq;Np.IDENTITY=new Mq;let fa=class{constructor(t){this.items=[],this._name=t,this._aliasCount=0}emit(t,e,i,o,r,n,a,s){if(arguments.length>8)throw new Error("max arguments reached");const{name:l,items:c}=this;this._aliasCount++;for(let d=0,u=c.length;d<u;d++)c[d][l](t,e,i,o,r,n,a,s);return c===this.items&&this._aliasCount--,this}ensureNonAliasedItems(){this._aliasCount>0&&this.items.length>1&&(this._aliasCount=0,this.items=this.items.slice(0))}add(t){return t[this._name]&&(this.ensureNonAliasedItems(),this.remove(t),this.items.push(t)),this}remove(t){const e=this.items.indexOf(t);return e!==-1&&(this.ensureNonAliasedItems(),this.items.splice(e,1)),this}contains(t){return this.items.includes(t)}removeAll(){return this.ensureNonAliasedItems(),this.items.length=0,this}destroy(){this.removeAll(),this.items=null,this._name=null}get empty(){return this.items.length===0}get name(){return this._name}};Object.defineProperties(fa.prototype,{dispatch:{value:fa.prototype.emit},run:{value:fa.prototype.emit}});const Eq={createCanvas:(t,e)=>{const i=document.createElement("canvas");return i.width=t,i.height=e,i},getWebGLRenderingContext:()=>WebGLRenderingContext,getNavigator:()=>navigator,getBaseUrl:()=>document.baseURI??window.location.href,getFontFaceSet:()=>document.fonts,fetch:(t,e)=>fetch(t,e),parseXML:t=>new DOMParser().parseFromString(t,"text/xml")};var CM=/iPhone/i,Bq=/iPod/i,Pq=/iPad/i,Iq=/\biOS-universal(?:.+)Mac\b/i,xM=/\bAndroid(?:.+)Mobile\b/i,Sq=/Android/i,jp=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,my=/Silk/i,nc=/Windows Phone/i,Tq=/\bWindows(?:.+)ARM\b/i,Rq=/BlackBerry/i,Lq=/BB10/i,Dq=/Opera Mini/i,_q=/\b(CriOS|Chrome)(?:.+)Mobile/i,Fq=/Mobile(?:.+)Firefox\b/i,Oq=function(t){return typeof t<"u"&&t.platform==="MacIntel"&&typeof t.maxTouchPoints=="number"&&t.maxTouchPoints>1&&typeof MSStream>"u"};const fd=(function(t){var e={userAgent:"",platform:"",maxTouchPoints:0};!t&&typeof navigator<"u"?e={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0}:typeof t=="string"?e.userAgent=t:t&&t.userAgent&&(e={userAgent:t.userAgent,platform:t.platform,maxTouchPoints:t.maxTouchPoints||0});var i=e.userAgent,o=i.split("[FBAN");typeof o[1]<"u"&&(i=o[0]),typeof(o=i.split("Twitter"))[1]<"u"&&(i=o[0]);var r=(function(a){return function(s){return s.test(a)}})(i),n={apple:{phone:r(CM)&&!r(nc),ipod:r(Bq),tablet:!r(CM)&&(r(Pq)||Oq(e))&&!r(nc),universal:r(Iq),device:(r(CM)||r(Bq)||r(Pq)||r(Iq)||Oq(e))&&!r(nc)},amazon:{phone:r(jp),tablet:!r(jp)&&r(my),device:r(jp)||r(my)},android:{phone:!r(nc)&&r(jp)||!r(nc)&&r(xM),tablet:!r(nc)&&!r(jp)&&!r(xM)&&(r(my)||r(Sq)),device:!r(nc)&&(r(jp)||r(my)||r(xM)||r(Sq))||r(/\bokhttp\b/i)},windows:{phone:r(nc),tablet:r(Tq),device:r(nc)||r(Tq)},other:{blackberry:r(Rq),blackberry10:r(Lq),opera:r(Dq),firefox:r(Fq),chrome:r(_q),device:r(Rq)||r(Lq)||r(Dq)||r(Fq)||r(_q)},any:!1,phone:!1,tablet:!1};return n.any=n.apple.device||n.android.device||n.windows.device||n.other.device,n.phone=n.apple.phone||n.android.phone||n.windows.phone,n.tablet=n.apple.tablet||n.android.tablet||n.windows.tablet,n})(globalThis.navigator),Vt={ADAPTER:Eq,MIPMAP_TEXTURES:rc.POW2,ANISOTROPIC_LEVEL:0,RESOLUTION:1,FILTER_RESOLUTION:1,FILTER_MULTISAMPLE:Ko.NONE,SPRITE_MAX_TEXTURES:(function(t){let e=!0;if(fd.tablet||fd.phone){if(fd.apple.device){const i=navigator.userAgent.match(/OS (\d+)_(\d+)?/);i&&parseInt(i[1],10)<11&&(e=!1)}if(fd.android.device){const i=navigator.userAgent.match(/Android\s([0-9.]*)/);i&&parseInt(i[1],10)<7&&(e=!1)}}return e?t:4})(32),SPRITE_BATCH_SIZE:4096,RENDER_OPTIONS:{view:null,antialias:!1,autoDensity:!1,backgroundColor:0,backgroundAlpha:1,premultipliedAlpha:!0,clearBeforeRender:!0,preserveDrawingBuffer:!1,width:800,height:600,legacy:!1,hello:!1},GC_MODE:fy.AUTO,GC_MAX_IDLE:3600,GC_MAX_CHECK_COUNT:600,WRAP_MODE:ud.CLAMP,SCALE_MODE:fs.LINEAR,PRECISION_VERTEX:pa.HIGH,PRECISION_FRAGMENT:fd.apple.device?pa.HIGH:pa.MEDIUM,CAN_UPLOAD_SAME_BUFFER:!fd.apple.device,CREATE_IMAGE_BITMAP:!1,ROUND_PIXELS:!1,TARGET_FPMS:.06};var hv=(t=>(t[t.HIGH=25]="HIGH",t[t.NORMAL=0]="NORMAL",t[t.LOW=-25]="LOW",t[t.UTILITY=-50]="UTILITY",t))(hv||{});let kM=class{constructor(t,e=null,i=0,o=!1){this.next=null,this.previous=null,this._destroyed=!1,this.fn=t,this.context=e,this.priority=i,this.once=o}match(t,e=null){return this.fn===t&&this.context===e}emit(t){this.fn&&(this.context?this.fn.call(this.context,t):this.fn(t));const e=this.next;return this.once&&this.destroy(!0),this._destroyed&&(this.next=null),e}connect(t){this.previous=t,t.next&&(t.next.previous=this),this.next=t.next,t.next=this}destroy(t=!1){this._destroyed=!0,this.fn=null,this.context=null,this.previous&&(this.previous.next=this.next),this.next&&(this.next.previous=this.previous);const e=this.next;return this.next=t?null:e,this.previous=null,e}},ac=class Qc{constructor(){this.autoStart=!1,this.deltaTime=1,this.lastTime=-1,this.speed=1,this.started=!1,this._requestId=null,this._maxElapsedMS=100,this._minElapsedMS=0,this._protected=!1,this._lastFrame=-1,this._head=new kM(null,null,1/0),this.deltaMS=1/Vt.TARGET_FPMS,this.elapsedMS=1/Vt.TARGET_FPMS,this._tick=e=>{this._requestId=null,this.started&&(this.update(e),this.started&&this._requestId===null&&this._head.next&&(this._requestId=requestAnimationFrame(this._tick)))}}_requestIfNeeded(){this._requestId===null&&this._head.next&&(this.lastTime=performance.now(),this._lastFrame=this.lastTime,this._requestId=requestAnimationFrame(this._tick))}_cancelIfNeeded(){this._requestId!==null&&(cancelAnimationFrame(this._requestId),this._requestId=null)}_startIfPossible(){this.started?this._requestIfNeeded():this.autoStart&&this.start()}add(e,i,o=hv.NORMAL){return this._addListener(new kM(e,i,o))}addOnce(e,i,o=hv.NORMAL){return this._addListener(new kM(e,i,o,!0))}_addListener(e){let i=this._head.next,o=this._head;if(i){for(;i;){if(e.priority>i.priority){e.connect(o);break}o=i,i=i.next}e.previous||e.connect(o)}else e.connect(o);return this._startIfPossible(),this}remove(e,i){let o=this._head.next;for(;o;)o=o.match(e,i)?o.destroy():o.next;return this._head.next||this._cancelIfNeeded(),this}get count(){if(!this._head)return 0;let e=0,i=this._head;for(;i=i.next;)e++;return e}start(){this.started||(this.started=!0,this._requestIfNeeded())}stop(){this.started&&(this.started=!1,this._cancelIfNeeded())}destroy(){if(!this._protected){this.stop();let e=this._head.next;for(;e;)e=e.destroy(!0);this._head.destroy(),this._head=null}}update(e=performance.now()){let i;if(e>this.lastTime){if(i=this.elapsedMS=e-this.lastTime,i>this._maxElapsedMS&&(i=this._maxElapsedMS),i*=this.speed,this._minElapsedMS){const n=e-this._lastFrame|0;if(n<this._minElapsedMS)return;this._lastFrame=e-n%this._minElapsedMS}this.deltaMS=i,this.deltaTime=this.deltaMS*Vt.TARGET_FPMS;const o=this._head;let r=o.next;for(;r;)r=r.emit(this.deltaTime);o.next||this._cancelIfNeeded()}else this.deltaTime=this.deltaMS=this.elapsedMS=0;this.lastTime=e}get FPS(){return 1e3/this.elapsedMS}get minFPS(){return 1e3/this._maxElapsedMS}set minFPS(e){const i=Math.min(this.maxFPS,e),o=Math.min(Math.max(0,i)/1e3,Vt.TARGET_FPMS);this._maxElapsedMS=1/o}get maxFPS(){return this._minElapsedMS?Math.round(1e3/this._minElapsedMS):0}set maxFPS(e){if(e===0)this._minElapsedMS=0;else{const i=Math.max(this.minFPS,e);this._minElapsedMS=1/(i/1e3)}}static get shared(){if(!Qc._shared){const e=Qc._shared=new Qc;e.autoStart=!0,e._protected=!0}return Qc._shared}static get system(){if(!Qc._system){const e=Qc._system=new Qc;e.autoStart=!0,e._protected=!0}return Qc._system}};var ki=(t=>(t.Renderer="renderer",t.Application="application",t.RendererSystem="renderer-webgl-system",t.RendererPlugin="renderer-webgl-plugin",t.CanvasRendererSystem="renderer-canvas-system",t.CanvasRendererPlugin="renderer-canvas-plugin",t.Asset="asset",t.LoadParser="load-parser",t.ResolveParser="resolve-parser",t.CacheParser="cache-parser",t.DetectionParser="detection-parser",t))(ki||{});const MM=t=>{if(typeof t=="function"||typeof t=="object"&&t.extension){if(!t.extension)throw new Error("Extension class must have an extension object");t={...typeof t.extension!="object"?{type:t.extension}:t.extension,ref:t}}if(typeof t!="object")throw new Error("Invalid extension type");return typeof(t={...t}).type=="string"&&(t.type=[t.type]),t},Uq=(t,e)=>MM(t).priority??e,Yi={_addHandlers:{},_removeHandlers:{},_queue:{},remove(...t){return t.map(MM).forEach((e=>{e.type.forEach((i=>{var o,r;return(r=(o=this._removeHandlers)[i])==null?void 0:r.call(o,e)}))})),this},add(...t){return t.map(MM).forEach((e=>{e.type.forEach((i=>{const o=this._addHandlers,r=this._queue;o[i]?o[i](e):(r[i]=r[i]||[],r[i].push(e))}))})),this},handle(t,e,i){const o=this._addHandlers,r=this._removeHandlers;if(o[t]||r[t])throw new Error(`Extension type ${t} already has a handler`);o[t]=e,r[t]=i;const n=this._queue;return n[t]&&(n[t].forEach((a=>e(a))),delete n[t]),this},handleByMap(t,e){return this.handle(t,(i=>{e[i.name]=i.ref}),(i=>{delete e[i.name]}))},handleByList(t,e,i=-1){return this.handle(t,(o=>{e.includes(o.ref)||(e.push(o.ref),e.sort(((r,n)=>Uq(n,i)-Uq(r,i))))}),(o=>{const r=e.indexOf(o.ref);r!==-1&&e.splice(r,1)}))}};class EM{static init(e){e=Object.assign({autoStart:!0,sharedTicker:!1},e),Object.defineProperty(this,"ticker",{set(i){this._ticker&&this._ticker.remove(this.render,this),this._ticker=i,i&&i.add(this.render,this,hv.LOW)},get(){return this._ticker}}),this.stop=()=>{this._ticker.stop()},this.start=()=>{this._ticker.start()},this._ticker=null,this.ticker=e.sharedTicker?ac.shared:new ac,e.autoStart&&this.start()}static destroy(){if(this._ticker){const e=this._ticker;this.ticker=null,e.destroy()}}}EM.extension=ki.Application,Yi.add(EM);var BM=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Nq(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var jq={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,i="~";function o(){}function r(l,c,d){this.fn=l,this.context=c,this.once=d||!1}function n(l,c,d,u,h){if(typeof d!="function")throw new TypeError("The listener must be a function");var p=new r(d,u||l,h),A=i?i+c:c;return l._events[A]?l._events[A].fn?l._events[A]=[l._events[A],p]:l._events[A].push(p):(l._events[A]=p,l._eventsCount++),l}function a(l,c){--l._eventsCount==0?l._events=new o:delete l._events[c]}function s(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),new o().__proto__||(i=!1)),s.prototype.eventNames=function(){var l,c,d=[];if(this._eventsCount===0)return d;for(c in l=this._events)e.call(l,c)&&d.push(i?c.slice(1):c);return Object.getOwnPropertySymbols?d.concat(Object.getOwnPropertySymbols(l)):d},s.prototype.listeners=function(l){var c=i?i+l:l,d=this._events[c];if(!d)return[];if(d.fn)return[d.fn];for(var u=0,h=d.length,p=new Array(h);u<h;u++)p[u]=d[u].fn;return p},s.prototype.listenerCount=function(l){var c=i?i+l:l,d=this._events[c];return d?d.fn?1:d.length:0},s.prototype.emit=function(l,c,d,u,h,p){var A=i?i+l:l;if(!this._events[A])return!1;var f,m,g=this._events[A],y=arguments.length;if(g.fn){switch(g.once&&this.removeListener(l,g.fn,void 0,!0),y){case 1:return g.fn.call(g.context),!0;case 2:return g.fn.call(g.context,c),!0;case 3:return g.fn.call(g.context,c,d),!0;case 4:return g.fn.call(g.context,c,d,u),!0;case 5:return g.fn.call(g.context,c,d,u,h),!0;case 6:return g.fn.call(g.context,c,d,u,h,p),!0}for(m=1,f=new Array(y-1);m<y;m++)f[m-1]=arguments[m];g.fn.apply(g.context,f)}else{var v,b=g.length;for(m=0;m<b;m++)switch(g[m].once&&this.removeListener(l,g[m].fn,void 0,!0),y){case 1:g[m].fn.call(g[m].context);break;case 2:g[m].fn.call(g[m].context,c);break;case 3:g[m].fn.call(g[m].context,c,d);break;case 4:g[m].fn.call(g[m].context,c,d,u);break;default:if(!f)for(v=1,f=new Array(y-1);v<y;v++)f[v-1]=arguments[v];g[m].fn.apply(g[m].context,f)}}return!0},s.prototype.on=function(l,c,d){return n(this,l,c,d,!1)},s.prototype.once=function(l,c,d){return n(this,l,c,d,!0)},s.prototype.removeListener=function(l,c,d,u){var h=i?i+l:l;if(!this._events[h])return this;if(!c)return a(this,h),this;var p=this._events[h];if(p.fn)p.fn===c&&(!u||p.once)&&(!d||p.context===d)&&a(this,h);else{for(var A=0,f=[],m=p.length;A<m;A++)(p[A].fn!==c||u&&!p[A].once||d&&p[A].context!==d)&&f.push(p[A]);f.length?this._events[h]=f.length===1?f[0]:f:a(this,h)}return this},s.prototype.removeAllListeners=function(l){var c;return l?(c=i?i+l:l,this._events[c]&&a(this,c)):(this._events=new o,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=i,s.EventEmitter=s,t.exports=s})(jq);const pv=Nq(jq.exports);var PM={exports:{}};function vy(t,e,i){i=i||2;var o,r,n,a,s,l,c,d=e&&e.length,u=d?e[0]*i:t.length,h=Vq(t,0,u,i,!0),p=[];if(!h||h.next===h.prev)return p;if(d&&(h=(function(f,m,g,y){var v,b,x,k,E,B=[];for(v=0,b=m.length;v<b;v++)x=m[v]*y,k=v<b-1?m[v+1]*y:f.length,(E=Vq(f,x,k,y,!1))===E.next&&(E.steiner=!0),B.push(dut(E));for(B.sort(sut),v=0;v<B.length;v++)g=lut(B[v],g);return g})(t,e,h,i)),t.length>80*i){o=n=t[0],r=a=t[1];for(var A=i;A<u;A+=i)(s=t[A])<o&&(o=s),(l=t[A+1])<r&&(r=l),s>n&&(n=s),l>a&&(a=l);c=(c=Math.max(n-o,a-r))!==0?32767/c:0}return fv(h,p,i,o,r,c,0),p}function Vq(t,e,i,o,r){var n,a;if(r===TM(t,e,i,o)>0)for(n=e;n<i;n+=o)a=qq(n,t[n],t[n+1],a);else for(n=i-o;n>=e;n-=o)a=qq(n,t[n],t[n+1],a);return a&&yy(a,a.next)&&(gv(a),a=a.next),a}function Xu(t,e){if(!t)return t;e||(e=t);var i,o=t;do if(i=!1,o.steiner||!yy(o,o.next)&&Vo(o.prev,o,o.next)!==0)o=o.next;else{if(gv(o),(o=e=o.prev)===o.next)break;i=!0}while(i||o!==e);return e}function fv(t,e,i,o,r,n,a){if(t){!a&&n&&(function(d,u,h,p){var A=d;do A.z===0&&(A.z=IM(A.x,A.y,u,h,p)),A.prevZ=A.prev,A.nextZ=A.next,A=A.next;while(A!==d);A.prevZ.nextZ=null,A.prevZ=null,(function(f){var m,g,y,v,b,x,k,E,B=1;do{for(g=f,f=null,b=null,x=0;g;){for(x++,y=g,k=0,m=0;m<B&&(k++,y=y.nextZ);m++);for(E=B;k>0||E>0&&y;)k!==0&&(E===0||!y||g.z<=y.z)?(v=g,g=g.nextZ,k--):(v=y,y=y.nextZ,E--),b?b.nextZ=v:f=v,v.prevZ=b,b=v;g=y}b.nextZ=null,B*=2}while(x>1)})(A)})(t,o,r,n);for(var s,l,c=t;t.prev!==t.next;)if(s=t.prev,l=t.next,n?rut(t,o,r,n):out(t))e.push(s.i/i|0),e.push(t.i/i|0),e.push(l.i/i|0),gv(t),t=l.next,c=l.next;else if((t=l)===c){a?a===1?fv(t=nut(Xu(t),e,i),e,i,o,r,n,2):a===2&&aut(t,e,i,o,r,n):fv(Xu(t),e,i,o,r,n,1);break}}}function out(t){var e=t.prev,i=t,o=t.next;if(Vo(e,i,o)>=0)return!1;for(var r=e.x,n=i.x,a=o.x,s=e.y,l=i.y,c=o.y,d=r<n?r<a?r:a:n<a?n:a,u=s<l?s<c?s:c:l<c?l:c,h=r>n?r>a?r:a:n>a?n:a,p=s>l?s>c?s:c:l>c?l:c,A=o.next;A!==e;){if(A.x>=d&&A.x<=h&&A.y>=u&&A.y<=p&&Vp(r,s,n,l,a,c,A.x,A.y)&&Vo(A.prev,A,A.next)>=0)return!1;A=A.next}return!0}function rut(t,e,i,o){var r=t.prev,n=t,a=t.next;if(Vo(r,n,a)>=0)return!1;for(var s=r.x,l=n.x,c=a.x,d=r.y,u=n.y,h=a.y,p=s<l?s<c?s:c:l<c?l:c,A=d<u?d<h?d:h:u<h?u:h,f=s>l?s>c?s:c:l>c?l:c,m=d>u?d>h?d:h:u>h?u:h,g=IM(p,A,e,i,o),y=IM(f,m,e,i,o),v=t.prevZ,b=t.nextZ;v&&v.z>=g&&b&&b.z<=y;){if(v.x>=p&&v.x<=f&&v.y>=A&&v.y<=m&&v!==r&&v!==a&&Vp(s,d,l,u,c,h,v.x,v.y)&&Vo(v.prev,v,v.next)>=0||(v=v.prevZ,b.x>=p&&b.x<=f&&b.y>=A&&b.y<=m&&b!==r&&b!==a&&Vp(s,d,l,u,c,h,b.x,b.y)&&Vo(b.prev,b,b.next)>=0))return!1;b=b.nextZ}for(;v&&v.z>=g;){if(v.x>=p&&v.x<=f&&v.y>=A&&v.y<=m&&v!==r&&v!==a&&Vp(s,d,l,u,c,h,v.x,v.y)&&Vo(v.prev,v,v.next)>=0)return!1;v=v.prevZ}for(;b&&b.z<=y;){if(b.x>=p&&b.x<=f&&b.y>=A&&b.y<=m&&b!==r&&b!==a&&Vp(s,d,l,u,c,h,b.x,b.y)&&Vo(b.prev,b,b.next)>=0)return!1;b=b.nextZ}return!0}function nut(t,e,i){var o=t;do{var r=o.prev,n=o.next.next;!yy(r,n)&&zq(r,o,o.next,n)&&Av(r,n)&&Av(n,r)&&(e.push(r.i/i|0),e.push(o.i/i|0),e.push(n.i/i|0),gv(o),gv(o.next),o=t=n),o=o.next}while(o!==t);return Xu(o)}function aut(t,e,i,o,r,n){var a=t;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&uut(a,s)){var l=Hq(a,s);return a=Xu(a,a.next),l=Xu(l,l.next),fv(a,e,i,o,r,n,0),void fv(l,e,i,o,r,n,0)}s=s.next}a=a.next}while(a!==t)}function sut(t,e){return t.x-e.x}function lut(t,e){var i=(function(r,n){var a,s=n,l=r.x,c=r.y,d=-1/0;do{if(c<=s.y&&c>=s.next.y&&s.next.y!==s.y){var u=s.x+(c-s.y)*(s.next.x-s.x)/(s.next.y-s.y);if(u<=l&&u>d&&(d=u,a=s.x<s.next.x?s:s.next,u===l))return a}s=s.next}while(s!==n);if(!a)return null;var h,p=a,A=a.x,f=a.y,m=1/0;s=a;do l>=s.x&&s.x>=A&&l!==s.x&&Vp(c<f?l:d,c,A,f,c<f?d:l,c,s.x,s.y)&&(h=Math.abs(c-s.y)/(l-s.x),Av(s,r)&&(h<m||h===m&&(s.x>a.x||s.x===a.x&&cut(a,s)))&&(a=s,m=h)),s=s.next;while(s!==p);return a})(t,e);if(!i)return e;var o=Hq(i,t);return Xu(o,o.next),Xu(i,i.next)}function cut(t,e){return Vo(t.prev,t,e.prev)<0&&Vo(e.next,t,t.next)<0}function IM(t,e,i,o,r){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-i)*r|0)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-o)*r|0)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function dut(t){var e=t,i=t;do(e.x<i.x||e.x===i.x&&e.y<i.y)&&(i=e),e=e.next;while(e!==t);return i}function Vp(t,e,i,o,r,n,a,s){return(r-a)*(e-s)>=(t-a)*(n-s)&&(t-a)*(o-s)>=(i-a)*(e-s)&&(i-a)*(n-s)>=(r-a)*(o-s)}function uut(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!(function(i,o){var r=i;do{if(r.i!==i.i&&r.next.i!==i.i&&r.i!==o.i&&r.next.i!==o.i&&zq(r,r.next,i,o))return!0;r=r.next}while(r!==i);return!1})(t,e)&&(Av(t,e)&&Av(e,t)&&(function(i,o){var r=i,n=!1,a=(i.x+o.x)/2,s=(i.y+o.y)/2;do r.y>s!=r.next.y>s&&r.next.y!==r.y&&a<(r.next.x-r.x)*(s-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next;while(r!==i);return n})(t,e)&&(Vo(t.prev,t,e.prev)||Vo(t,e.prev,e))||yy(t,e)&&Vo(t.prev,t,t.next)>0&&Vo(e.prev,e,e.next)>0)}function Vo(t,e,i){return(e.y-t.y)*(i.x-e.x)-(e.x-t.x)*(i.y-e.y)}function yy(t,e){return t.x===e.x&&t.y===e.y}function zq(t,e,i,o){var r=wy(Vo(t,e,i)),n=wy(Vo(t,e,o)),a=wy(Vo(i,o,t)),s=wy(Vo(i,o,e));return!!(r!==n&&a!==s||r===0&&by(t,i,e)||n===0&&by(t,o,e)||a===0&&by(i,t,o)||s===0&&by(i,e,o))}function by(t,e,i){return e.x<=Math.max(t.x,i.x)&&e.x>=Math.min(t.x,i.x)&&e.y<=Math.max(t.y,i.y)&&e.y>=Math.min(t.y,i.y)}function wy(t){return t>0?1:t<0?-1:0}function Av(t,e){return Vo(t.prev,t,t.next)<0?Vo(t,e,t.next)>=0&&Vo(t,t.prev,e)>=0:Vo(t,e,t.prev)<0||Vo(t,t.next,e)<0}function Hq(t,e){var i=new SM(t.i,t.x,t.y),o=new SM(e.i,e.x,e.y),r=t.next,n=e.prev;return t.next=e,e.prev=t,i.next=r,r.prev=i,o.next=i,i.prev=o,n.next=o,o.prev=n,o}function qq(t,e,i,o){var r=new SM(t,e,i);return o?(r.next=o.next,r.prev=o,o.next.prev=r,o.next=r):(r.prev=r,r.next=r),r}function gv(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function SM(t,e,i){this.i=t,this.x=e,this.y=i,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function TM(t,e,i,o){for(var r=0,n=e,a=i-o;n<i;n+=o)r+=(t[a]-t[n])*(t[n+1]+t[a+1]),a=n;return r}PM.exports=vy,PM.exports.default=vy,vy.deviation=function(t,e,i,o){var r=e&&e.length,n=r?e[0]*i:t.length,a=Math.abs(TM(t,0,n,i));if(r)for(var s=0,l=e.length;s<l;s++){var c=e[s]*i,d=s<l-1?e[s+1]*i:t.length;a-=Math.abs(TM(t,c,d,i))}var u=0;for(s=0;s<o.length;s+=3){var h=o[s]*i,p=o[s+1]*i,A=o[s+2]*i;u+=Math.abs((t[h]-t[A])*(t[p+1]-t[h+1])-(t[h]-t[p])*(t[A+1]-t[h+1]))}return a===0&&u===0?0:Math.abs((u-a)/a)},vy.flatten=function(t){for(var e=t[0][0].length,i={vertices:[],holes:[],dimensions:e},o=0,r=0;r<t.length;r++){for(var n=0;n<t[r].length;n++)for(var a=0;a<e;a++)i.vertices.push(t[r][n][a]);r>0&&(o+=t[r-1].length,i.holes.push(o))}return i};const RM=Nq(PM.exports);var mv,Cy,LM={exports:{}};mv=LM,Cy=LM.exports,(function(t){var e=Cy&&!Cy.nodeType&&Cy,i=mv&&!mv.nodeType&&mv,o=typeof BM=="object"&&BM;(o.global===o||o.window===o||o.self===o)&&(t=o);var r,n,a=2147483647,s=36,l=1,c=26,d=38,u=700,h=72,p=128,A="-",f=/^xn--/,m=/[^\x20-\x7E]/,g=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=s-l,b=Math.floor,x=String.fromCharCode;function k(V){throw RangeError(y[V])}function E(V,W){for(var Y=V.length,$=[];Y--;)$[Y]=W(V[Y]);return $}function B(V,W){var Y=V.split("@"),$="";return Y.length>1&&($=Y[0]+"@",V=Y[1]),$+E((V=V.replace(g,".")).split("."),W).join(".")}function P(V){for(var W,Y,$=[],fe=0,Me=V.length;fe<Me;)(W=V.charCodeAt(fe++))>=55296&&W<=56319&&fe<Me?(64512&(Y=V.charCodeAt(fe++)))==56320?$.push(((1023&W)<<10)+(1023&Y)+65536):($.push(W),fe--):$.push(W);return $}function T(V){return E(V,(function(W){var Y="";return W>65535&&(Y+=x((W-=65536)>>>10&1023|55296),W=56320|1023&W),Y+=x(W)})).join("")}function R(V){return V-48<10?V-22:V-65<26?V-65:V-97<26?V-97:s}function L(V,W){return V+22+75*(V<26)-((W!=0)<<5)}function F(V,W,Y){var $=0;for(V=Y?b(V/u):V>>1,V+=b(V/W);V>v*c>>1;$+=s)V=b(V/v);return b($+(v+1)*V/(V+d))}function U(V){var W,Y,$,fe,Me,Se,qe,Qe,Ce,De,Fe=[],ve=V.length,me=0,we=p,Le=h;for((Y=V.lastIndexOf(A))<0&&(Y=0),$=0;$<Y;++$)V.charCodeAt($)>=128&&k("not-basic"),Fe.push(V.charCodeAt($));for(fe=Y>0?Y+1:0;fe<ve;){for(Me=me,Se=1,qe=s;fe>=ve&&k("invalid-input"),((Qe=R(V.charCodeAt(fe++)))>=s||Qe>b((a-me)/Se))&&k("overflow"),me+=Qe*Se,!(Qe<(Ce=qe<=Le?l:qe>=Le+c?c:qe-Le));qe+=s)Se>b(a/(De=s-Ce))&&k("overflow"),Se*=De;Le=F(me-Me,W=Fe.length+1,Me==0),b(me/W)>a-we&&k("overflow"),we+=b(me/W),me%=W,Fe.splice(me++,0,we)}return T(Fe)}function q(V){var W,Y,$,fe,Me,Se,qe,Qe,Ce,De,Fe,ve,me,we,Le,We=[];for(ve=(V=P(V)).length,W=p,Y=0,Me=h,Se=0;Se<ve;++Se)(Fe=V[Se])<128&&We.push(x(Fe));for($=fe=We.length,fe&&We.push(A);$<ve;){for(qe=a,Se=0;Se<ve;++Se)(Fe=V[Se])>=W&&Fe<qe&&(qe=Fe);for(qe-W>b((a-Y)/(me=$+1))&&k("overflow"),Y+=(qe-W)*me,W=qe,Se=0;Se<ve;++Se)if((Fe=V[Se])<W&&++Y>a&&k("overflow"),Fe==W){for(Qe=Y,Ce=s;!(Qe<(De=Ce<=Me?l:Ce>=Me+c?c:Ce-Me));Ce+=s)Le=Qe-De,we=s-De,We.push(x(L(De+Le%we,0))),Qe=b(Le/we);We.push(x(L(Qe,0))),Me=F(Y,me,$==fe),Y=0,++$}++Y,++W}return We.join("")}if(r={version:"1.3.2",ucs2:{decode:P,encode:T},decode:U,encode:q,toASCII:function(V){return B(V,(function(W){return m.test(W)?"xn--"+q(W):W}))},toUnicode:function(V){return B(V,(function(W){return f.test(W)?U(W.slice(4).toLowerCase()):W}))}},e&&i)if(mv.exports==e)i.exports=r;else for(n in r)r.hasOwnProperty(n)&&(e[n]=r[n]);else t.punycode=r})(BM);var hut=LM.exports,vv={};function put(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var yv=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};vv.decode=vv.parse=function(t,e,i,o){e=e||"&",i=i||"=";var r={};if(typeof t!="string"||t.length===0)return r;var n=/\+/g;t=t.split(e);var a=1e3;o&&typeof o.maxKeys=="number"&&(a=o.maxKeys);var s=t.length;a>0&&s>a&&(s=a);for(var l=0;l<s;++l){var c,d,u,h,p=t[l].replace(n,"%20"),A=p.indexOf(i);A>=0?(c=p.substr(0,A),d=p.substr(A+1)):(c=p,d=""),u=decodeURIComponent(c),h=decodeURIComponent(d),put(r,u)?Array.isArray(r[u])?r[u].push(h):r[u]=[r[u],h]:r[u]=h}return r},vv.encode=vv.stringify=function(t,e,i,o){return e=e||"&",i=i||"=",t===null&&(t=void 0),typeof t=="object"?Object.keys(t).map((function(r){var n=encodeURIComponent(yv(r))+i;return Array.isArray(t[r])?t[r].map((function(a){return n+encodeURIComponent(yv(a))})).join(e):n+encodeURIComponent(yv(t[r]))})).join(e):o?encodeURIComponent(yv(o))+i+encodeURIComponent(yv(t)):""};var fut=hut,ol={isString:function(t){return typeof t=="string"},isObject:function(t){return typeof t=="object"&&t!==null},isNull:function(t){return t===null},isNullOrUndefined:function(t){return t==null}},Aut=xy,gut=function(t,e){return xy(t,!1,!0).resolve(e)},mut=function(t){return ol.isString(t)&&(t=xy(t)),t instanceof gs?t.format():gs.prototype.format.call(t)};function gs(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var vut=/^([a-z0-9.+-]+:)/i,yut=/:[0-9]*$/,but=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,wut=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",`
40
+ `),f=Re(()=>a.value.length>0?`${n.value?.name??e.i18n.$t("properties.no_name")}`:e.i18n.$t("properties.no_element"));dt(c,()=>l.value=!1);const m=()=>{if(o.fromWrapper){const B=e.localContext.pluginComponentInstances.get("viewer3d"),P=[];for(const T of B.loadedIfcIds)for(const R of e.state.modelsMap.get(T).objects)R.selected&&P.push(R);return P}else return e.state.selectedObjects},g=B=>{B.id===1?r.value="properties":r.value="documents"},y=B=>{n.value=B},v=B=>B?.uuid===n.value?.uuid,b=()=>{l.value=!0};let x=Array.from(m());const k=()=>{const B=m();a.value=[],n.value=null,B.length>0&&(a.value=Array.from(B),n.value=a.value.find(P=>P.model!=null&&P.uuid&&!x.some(T=>T.id===P.id))??null,n.value||(n.value=a.value.find(P=>P.model!=null&&P.uuid)??null)),x=Array.from(m())},E=[e.state.hub.on("objects-deselected",k),e.state.hub.on("objects-selected",k)];if(o.fromWrapper)dt(()=>e.localContext.pluginComponentInstances.get("viewer3d").loadedIfcIds,B=>{c.value=B.length});else{const B=()=>{c.value=e.state.models.length};E.push(e.state.hub.on("ifcs-loaded",B,{getLastEvent:!0}),e.state.hub.on("ifcs-unloaded",B))}return k(),bi(()=>{E.forEach(B=>e.state.hub.off(B))}),(B,P)=>{const T=I("BIMDataTabs"),R=I("BIMDataIconEdit"),L=I("BIMDataButton"),F=I("BIMDataTooltip"),U=I("BIMDataTextbox"),q=I("BIMDataDropdownList"),V=I("BIMDataIllustration");return M(),_("div",{class:"bimdata-properties",style:ce(A.value)},[S(T,{tabs:d.value,"tab-size":"50%",selected:0,class:"bimdata-properties__tabs",onTabSelected:g},null,8,["tabs"]),l.value?te("",!0):(M(),_("div",olt,[p.value?(M(),_("div",rlt,[S(F,{text:B.$t("properties.tooltip"),color:"granite-light"},{default:N(()=>[S(L,{class:de(["bimdata-properties__bucket__edit-switch__button",{active:s.value}]),icon:"",fill:"",radius:"",height:"35px",disabled:!u.value,onClick:P[0]||(P[0]=W=>s.value=!s.value)},{default:N(()=>[S(R,{class:"fill-primary",size:"xs"})]),_:1},8,["class","disabled"])]),_:1},8,["text"])])):te("",!0),l.value?te("",!0):(M(),G(q,{key:1,ref:"propertiesHeaderList",class:"bimdata-properties__bucket__selection-list",list:a.value,disabled:a.value.length===0,"per-page":30,"element-key":"id"},{header:N(()=>[w("div",nlt,[w("div",alt,z(a.value.length),1),S(U,{text:f.value,tooltip:!1,width:"calc(100% - 42px)"},null,8,["text"])])]),element:N(({element:W,close:Y})=>[w("span",{class:de({"bimdata-properties__bucket__selection-list--selected":v(W)}),onClick:$=>{Y(),y(W)}},[S(U,{text:W.name||B.$t("properties.no_name"),tooltip:!1},null,8,["text"])],10,slt)]),_:1},8,["list","disabled"]))])),w("div",llt,[n.value||r.value==="documents"&&l.value?(M(),_(Ye,{key:0},[yt(S(fst,{"edit-allowed":s.value,"selected-object":n.value},null,8,["edit-allowed","selected-object"]),[[Ht,r.value==="properties"]]),yt(S(ilt,{"selected-object":n.value,"linked-elements-shown":l.value,onLinkClose:P[1]||(P[1]=W=>l.value=!1)},null,8,["selected-object","linked-elements-shown"]),[[Ht,r.value==="documents"]])],64)):(M(),G(dd,{key:1,message:r.value==="properties"?B.$t("properties.new_properties"):B.$t("properties.new_documents")},{footer:N(()=>[r.value==="documents"?(M(),G(L,{key:0,color:"primary",fill:"",radius:"",width:"296px",disabled:c.value===0,onClick:b},{default:N(()=>[Je(z(B.$t("properties.linked_element_list")),1)]),_:1},8,["disabled"])):te("",!0)]),default:N(()=>[w("h2",null,z(r.value==="properties"?B.$t("properties.title"):B.$t("properties.title_secondary")),1),S(V,{name:"emptyProperties"})]),_:1},8,["message"]))])],4)}}},fM=j(clt,[["__scopeId","data-v-6c18d011"]]),dlt="Eigenschaften",ult="Ausgabe",hlt="Bitte w\xE4hlen Sie im Modell ein Element aus, um seine Eigenschaften anzuzeigen",plt="Gegenstand",flt="Gegenst\xE4nde",Alt="Kein Element ausgew\xE4hlt",glt="Nicht spezifiziert",mlt="Klassifizierung",vlt="Attribute",ylt="Dokumente",blt="Bitte w\xE4hlen Sie einen Artikel im Modell aus, damit seine Dokumente angezeigt werden.",wlt="Die Suche liefert keine Erkenntnisse",Clt="Technische Dokumente",xlt="Kein Dokument",klt="Datei aus Projekt ausw\xE4hlen",Mlt="Die Auswahl best\xE4tigen",Elt="Dokumente erfolgreich verkn\xFCpft",Blt="Beim Verkn\xFCpfen der Dokumente ist ein Fehler aufgetreten.",Plt="Beim Aufheben der Verkn\xFCpfung der Dokumente ist ein Fehler aufgetreten.",Ilt="Verkn\xFCpfung der Dokumente erfolgreich aufgehoben.",Slt="Name",Tlt="Verkn\xFCpfung von Dokumenten aufheben",Rlt="Durch diese Aktion wird die Verkn\xFCpfung der folgenden Dokumente aufgehoben.",Llt="Liste verkn\xFCpfter Elemente",Dlt="Verkn\xFCpfte Elemente k\xF6nnen nicht abgerufen werden.",_lt={CompositionType:"Art der Zusammensetzung",Description:"Beschreibung",Elevation:"Erhebung",LongName:"Vollst\xE4ndiger Name",ObjectType:"Art des Objekts",Representation:"Vertretung",type:"Art",Name:"Name"},Flt="Erwartetes Format:",Olt="Typ",AM={title:dlt,tooltip:ult,new_properties:hlt,object:plt,objects:flt,no_element:Alt,no_name:glt,classification:mlt,attributes:vlt,"edit-success":"Eigenschaft aktualisiert","edit-error":"Die Eigenschaft kann nicht aktualisiert werden","get-error":"Die Daten k\xF6nnen nicht wiederhergestellt werden, bitte aktualisieren Sie die Seite",title_secondary:ylt,new_documents:blt,empty_search:wlt,technical_documents:Clt,no_document:xlt,from_dms:klt,validate_selection:Mlt,link_documents_success:Elt,link_documents_error:Blt,unlink_documents_error:Plt,unlink_documents_success:Ilt,name:Slt,delete_modal_title:Tlt,delete_modal_description:Rlt,linked_element_list:Llt,linked_documents_error:Dlt,attributes_name:_lt,"invalid-format":"Ung\xFCltiges Format",requested_format:Flt,property_set_type:Olt},Ult="Properties",Nlt="Editing",jlt="Please select an element in the model to display its properties",Vlt="Object",zlt="Objects",Hlt="No element",qlt="Not specified",Qlt="Classification",Glt="Attributes",Klt="Documents",Jlt="Please select an item in the template to view its documents",Zlt="The search did not give any results",Wlt="Technical documents",Ylt="No document",Xlt="From the project's DMS",$lt="Validate the selection",ect="Successfully linked documents",tct="An error occurred in linking the documents",ict="An error occurred while untying the documents",oct="Documents successfully untied",rct="Name",nct="Untie the documents",act="This action will untie the following documents",sct="List of related items",lct="Unable to retrieve linked items",cct={CompositionType:"Type of composition",Description:"Description",Elevation:"Elevation",LongName:"Full name",ObjectType:"Type of object",Representation:"Representation",type:"Type",Name:"Name"},dct="Expected format:",uct="Type",gM={title:Ult,tooltip:Nlt,new_properties:jlt,object:Vlt,objects:zlt,no_element:Hlt,no_name:qlt,classification:Qlt,attributes:Glt,"edit-success":"Propertie updated","edit-error":"Impossible to update propertie","get-error":"Error fetching data, you should refresh the page",title_secondary:Klt,new_documents:Jlt,empty_search:Zlt,technical_documents:Wlt,no_document:Ylt,from_dms:Xlt,validate_selection:$lt,link_documents_success:ect,link_documents_error:tct,unlink_documents_error:ict,unlink_documents_success:oct,name:rct,delete_modal_title:nct,delete_modal_description:act,linked_element_list:sct,linked_documents_error:lct,attributes_name:cct,"invalid-format":"Invalid format",requested_format:dct,property_set_type:uct},hct="Propiedades",pct="Correcci\xF3n",fct="Seleccione un elemento del modelo para mostrar sus propiedades",Act="Objeto",gct="Objetos",mct="Sin elemento",vct="No especificado",yct="Clasificaci\xF3n",bct="Atributos",wct="Documentos",Cct="Seleccione un elemento de la plantilla para ver sus documentos",xct="La b\xFAsqueda no ha arrojado ning\xFAn resultado",kct="Documentos t\xE9cnicos",Mct="Sin documentos",Ect="De la GED del proyecto",Bct="Confirmar la selecci\xF3n",Pct="Se han vinculado correctamente los documentos",Ict="Se ha producido un error al vincular los documentos",Sct="Se ha producido un error al desvincular los documentos",Tct="Se han desvinculado correctamente los documentos",Rct="Nombre",Lct="Desvincular los documentos",Dct="Esta acci\xF3n desvincular\xE1 los siguientes documentos",_ct="Lista de elementos vinculados",Fct="No se pueden recuperar los elementos vinculados",Oct={CompositionType:"Tipo de composici\xF3n",Description:"Descripci\xF3n",Elevation:"Elevaci\xF3n",LongName:"Nombre completo",ObjectType:"Tipo de objeto",Representation:"Representaci\xF3n",type:"Tipo",Name:"Nombre"},Uct="Formato esperado :",Nct="Tipo",vq={title:hct,tooltip:pct,new_properties:fct,object:Act,objects:gct,no_element:mct,no_name:vct,classification:yct,attributes:bct,"edit-success":"Propiedad actualizada","edit-error":"Imposible actualizar la propiedad","get-error":"Error al obtener datos, debe actualizar la p\xE1gina",title_secondary:wct,new_documents:Cct,empty_search:xct,technical_documents:kct,no_document:Mct,from_dms:Ect,validate_selection:Bct,link_documents_success:Pct,link_documents_error:Ict,unlink_documents_error:Sct,unlink_documents_success:Tct,name:Rct,delete_modal_title:Lct,delete_modal_description:Dct,linked_element_list:_ct,linked_documents_error:Fct,attributes_name:Oct,"invalid-format":"Formato no v\xE1lido",requested_format:Uct,property_set_type:Nct},jct="Propri\xE9t\xE9s",Vct="\xC9dition",zct="Veuillez s\xE9lectionner un \xE9l\xE9ment dans le mod\xE8le pour afficher ses propri\xE9t\xE9s",Hct="Objet",qct="Objets",Qct="Pas d'\xE9l\xE9ment selectionn\xE9",Gct="Non sp\xE9cifi\xE9",Kct="Classification",Jct="Attributs",Zct="Documents",Wct="Veuillez s\xE9lectionner un \xE9l\xE9ment dans le mod\xE8le pour afficher ses documents",Yct="La recherche ne donne aucun r\xE9sultat",Xct="Documents techniques",$ct="Aucun document",edt="Depuis la GED du projet",tdt="Valider la selection",idt="Documents li\xE9s avec succ\xE8s",odt="Une erreur est survenue en liant les documents",rdt="Une erreur est survenue en d\xE9liant les documents",ndt="Documents d\xE9li\xE9s avec succ\xE8s",adt="Nom",sdt="D\xE9lier les documents",ldt="Cette action va d\xE9lier les documents suivants",cdt="Liste des \xE9l\xE9ments li\xE9s",ddt="Impossible de r\xE9cup\xE9rer les \xE9l\xE9ments li\xE9s",udt={CompositionType:"Type de composition",Description:"Description",Elevation:"\xC9l\xE9vation",LongName:"Nom complet",ObjectType:"Type d'objet",Representation:"Repr\xE9sentation",type:"Type",Name:"Nom"},hdt="Format attendu :",pdt="Type",mM={title:jct,tooltip:Vct,new_properties:zct,object:Hct,objects:qct,no_element:Qct,no_name:Gct,classification:Kct,attributes:Jct,"edit-success":"Propri\xE9t\xE9 mise \xE0 jour","edit-error":"Impossible de mettre \xE0 jour la propri\xE9t\xE9","get-error":"Impossible de r\xE9sup\xE9rer la donn\xE9e, veuillez rafraichir la page",title_secondary:Zct,new_documents:Wct,empty_search:Yct,technical_documents:Xct,no_document:$ct,from_dms:edt,validate_selection:tdt,link_documents_success:idt,link_documents_error:odt,unlink_documents_error:rdt,unlink_documents_success:ndt,name:adt,delete_modal_title:sdt,delete_modal_description:ldt,linked_element_list:cdt,linked_documents_error:ddt,attributes_name:udt,"invalid-format":"Format invalide",requested_format:hdt,property_set_type:pdt},fdt="Propriet\xE0",Adt="Modifica",gdt="Seleziona un elemento nel modello per visualizzare le sue propriet\xE0",mdt="Oggetto",vdt="Oggetti",ydt="Nessun elemento selezionato",bdt="Non specificato",wdt="Classificazione",Cdt="Attributi",xdt="Documenti",kdt="Seleziona un elemento nel modello per visualizzare i relativi documenti",Mdt="La ricerca non ha fornito risultati",Edt="Documenti tecnici",Bdt="Nessun documento",Pdt="Dalla GED del progetto",Idt="Conferma la selezione",Sdt="Documenti collegati correttamente",Tdt="Si \xE8 verificato un errore durante il collegamento dei documenti",Rdt="Si \xE8 verificato un errore durante lo scollegamento dei documenti",Ldt="Documenti scollegati correttamente",Ddt="Nome",_dt="Scollega i documenti",Fdt="Questa azione scollegher\xE0 i documenti seguenti",Odt="Elenco degli elementi collegati",Udt="Impossibile recuperare gli elementi collegati",Ndt={CompositionType:"Tipo di composizione",Description:"Descrizione",Elevation:"Elevazione",LongName:"Nome completo",ObjectType:"Tipo di oggetto",Representation:"Rappresentazione",type:"Tipo",Name:"Nome"},yq={title:fdt,tooltip:Adt,new_properties:gdt,object:mdt,objects:vdt,no_element:ydt,no_name:bdt,classification:wdt,attributes:Cdt,"edit-success":"Propriet\xE0 aggiornata","edit-error":"Impossibile aggiornare la propriet\xE0","get-error":"Impossibile recuperare i dati, aggiorna la pagina",title_secondary:xdt,new_documents:kdt,empty_search:Mdt,technical_documents:Edt,no_document:Bdt,from_dms:Pdt,validate_selection:Idt,link_documents_success:Sdt,link_documents_error:Tdt,unlink_documents_error:Rdt,unlink_documents_success:Ldt,name:Ddt,delete_modal_title:_dt,delete_modal_description:Fdt,linked_element_list:Odt,linked_documents_error:Udt,attributes_name:Ndt},jdt="data:image/svg+xml,%3csvg%20width='24'%20height='23'%20viewBox='0%200%2024%2023'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='8.67139'%20y='4.14001'%20width='6.44'%20height='1.84'%20fill='%23F8C62C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.0613%200.459961H18.7914V8.97184C18.2033%208.82047%2017.5867%208.73996%2016.9514%208.73996L16.9514%202.29996H6.83137V6.90002H2.23139V19.78H10.576C10.9767%2020.4725%2011.4869%2021.0938%2012.0831%2021.62H0.391388V6.12987L6.0613%200.459961Z'%20fill='%232F374A'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.5914%2016.0999H4.07138V17.9399H9.82324C9.67189%2017.3518%209.5914%2016.7353%209.5914%2016.1C9.5914%2016.0999%209.5914%2016.0999%209.5914%2016.0999Z'%20fill='%23F8C62C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.5761%2012.42H4.07138V14.26H9.82328C9.9913%2013.6073%2010.2466%2012.9895%2010.5761%2012.42Z'%20fill='%23F8C62C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M15.1114%208.97184V8.73999H4.07138V10.58H12.083C12.9389%209.82462%2013.9717%209.26517%2015.1114%208.97184Z'%20fill='%23F8C62C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.9514%2022.54C20.5081%2022.54%2023.3914%2019.6567%2023.3914%2016.1C23.3914%2012.5433%2020.5081%209.66003%2016.9514%209.66003C13.3947%209.66003%2010.5114%2012.5433%2010.5114%2016.1C10.5114%2019.6567%2013.3947%2022.54%2016.9514%2022.54ZM16.234%2017.406H17.4199L17.5879%2012.4201H16.066L16.234%2017.406ZM17.4051%2018.3992C17.2601%2018.2576%2017.0674%2018.1868%2016.8269%2018.1868C16.5898%2018.1868%2016.397%2018.2592%2016.2488%2018.4042C16.1039%2018.5458%2016.0314%2018.7254%2016.0314%2018.9428C16.0314%2019.1602%2016.1039%2019.3398%2016.2488%2019.4814C16.397%2019.6231%2016.5898%2019.6939%2016.8269%2019.6939C17.0674%2019.6939%2017.2601%2019.6231%2017.4051%2019.4814C17.5533%2019.3398%2017.6275%2019.1602%2017.6275%2018.9428C17.6275%2018.7221%2017.5533%2018.5409%2017.4051%2018.3992Z'%20fill='%232F374A'/%3e%3c/svg%3e",Vdt={name:"properties",i18n:{de:AM,en:gM,es:vq,fr:mM,it:yq},component:fM,window:{name:"properties",label:"properties.title",icon:{imgUri:jdt}}},zdt={name:"button-properties",addToWindows:["3d"],i18nTokenPrefix:"properties",i18n:{de:AM,en:gM,es:vq,fr:mM,it:yq},component:fM,button:{position:"left",stance:-1,content:"panel",tooltip:"properties.title",keepOpen:!0,icon:{component:"BIMDataIconList",options:{size:"m"}}}},Hdt={render(){return null},name:"BIMDataFirstPersonView",mounted(){const t=this.$viewer.localContext.pluginComponentInstances.get("viewer3d");if(!t){const e="Plugin Projection cannot work without viewer3D plugin.";throw console.error(e),new Error(e)}this.viewer3d=t},onOpen(){const t=this.viewer3d.xeokit,e=this.$viewer.localContext.loadedModels[0];if(!e){setTimeout(()=>this.$close());return}const i=()=>{this.viewer3d.firstPersonView=!0},o=this.$viewer.state.getStoreyFromAbsoluteElevation(e,t.camera.eye[1]);if(o&&o.key!==this.$viewer.localContext.selectedStorey?.key&&this.$viewer.localContext.selectStorey(o),!o){i();return}const{math:r}=this.viewer3d.xeokitSdk,n=Object.values(t.scene.models).find(f=>f.ifc.id===o.model.id);if(!n){i();return}const a=new Map(Array.from(Object.values(n.objects)).map(f=>[f.originalSystemId,f])),s=o.objects.map(f=>f.uuid).map(f=>a.get(f)).filter(Boolean),{eye:l}=t.scene.camera;let c=1/0,d=null;for(const f of s){const[m,,g,y,,v]=f.aabb,b={x:(m+y)/2,y:(g+v)/2},x={x:b.x+(y-m)/2,y:b.y+(v-g)/2},k=Math.sqrt((x.x-l[0])**2+(x.y-l[2])**2);k<c&&(c=k,d=x)}if(!d){i();return}const u=[d.x,d.y],h=r.mulVec2Scalar(r.normalizeVec2(r.subVec2([l[0],l[2]],u,r.vec2())),3),p=[u[0]+h[0],u[1]+h[1]],A=[p[0],o.absoluteElevation+this.viewer3d.STOREY_HEIGHT_CAMERA_OFFSET,p[1]];return t.cameraFlight.flyTo({eye:A,duration:.5}),new Promise(f=>setTimeout(()=>{i(),f()},500))},onClose(){this.viewer3d.firstPersonView=!1}},qdt={},Qdt={width:"14",height:"23",viewBox:"0 0 14 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Gdt(t,e){return M(),_("svg",Qdt,[...e[0]||(e[0]=[w("path",{d:"M7.96154 4.27907C9.12923 4.27907 10.0846 3.31628 10.0846 2.13953C10.0846 0.962791 9.12923 0 7.96154 0C6.79385 0 5.83846 0.962791 5.83846 2.13953C5.83846 3.31628 6.79385 4.27907 7.96154 4.27907ZM4.03385 7.91628L1.06154 23H3.29077L5.20154 14.4419L7.43077 16.5814V23H9.55385V14.9767L7.32461 12.8372L7.96154 9.62791C9.34154 11.2326 11.4646 12.3023 13.8 12.3023V10.1628C11.7831 10.1628 10.0846 9.09302 9.23538 7.59535L8.17385 5.88372C7.74923 5.24186 7.11231 4.81395 6.36923 4.81395C6.05077 4.81395 5.83846 4.92093 5.52 4.92093L0 7.27442V12.3023H2.12308V8.66512L4.03385 7.91628Z",fill:"black"},null,-1)])])}const Kdt=j(qdt,[["render",Gdt]]),Jdt={},Zdt={width:"21",height:"23",viewBox:"0 0 21 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Wdt(t,e){return M(),_("svg",Zdt,[...e[0]||(e[0]=[w("path",{d:"M10.35 0C11.615 0 12.65 1.035 12.65 2.3C12.65 3.565 11.615 4.6 10.35 4.6C9.085 4.6 8.05 3.565 8.05 2.3C8.05 1.035 9.085 0 10.35 0ZM20.7 8.05H13.8V23H11.5V16.1H9.2V23H6.9V8.05H0V5.75H20.7V8.05Z",fill:"black"},null,-1)])])}const Ydt=j(Jdt,[["render",Wdt]]),Xdt="First-person view",$dt={tooltip:Xdt},eut="Vue premi\xE8re personne",tut={tooltip:eut},iut={name:"firstPersonView",i18n:{en:$dt,fr:tut},addToWindows:["3d"],component:Hdt,button:{tooltip:"firstPersonView.tooltip",position:"right",content:"free",keepOpen:!0,icon:{component:Ydt},iconOpen:{component:Kdt}}};var oc=(t=>(t[t.WEBGL_LEGACY=0]="WEBGL_LEGACY",t[t.WEBGL=1]="WEBGL",t[t.WEBGL2=2]="WEBGL2",t))(oc||{}),bq=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.WEBGL=1]="WEBGL",t[t.CANVAS=2]="CANVAS",t))(bq||{}),hy=(t=>(t[t.COLOR=16384]="COLOR",t[t.DEPTH=256]="DEPTH",t[t.STENCIL=1024]="STENCIL",t))(hy||{}),Kt=(t=>(t[t.NORMAL=0]="NORMAL",t[t.ADD=1]="ADD",t[t.MULTIPLY=2]="MULTIPLY",t[t.SCREEN=3]="SCREEN",t[t.OVERLAY=4]="OVERLAY",t[t.DARKEN=5]="DARKEN",t[t.LIGHTEN=6]="LIGHTEN",t[t.COLOR_DODGE=7]="COLOR_DODGE",t[t.COLOR_BURN=8]="COLOR_BURN",t[t.HARD_LIGHT=9]="HARD_LIGHT",t[t.SOFT_LIGHT=10]="SOFT_LIGHT",t[t.DIFFERENCE=11]="DIFFERENCE",t[t.EXCLUSION=12]="EXCLUSION",t[t.HUE=13]="HUE",t[t.SATURATION=14]="SATURATION",t[t.COLOR=15]="COLOR",t[t.LUMINOSITY=16]="LUMINOSITY",t[t.NORMAL_NPM=17]="NORMAL_NPM",t[t.ADD_NPM=18]="ADD_NPM",t[t.SCREEN_NPM=19]="SCREEN_NPM",t[t.NONE=20]="NONE",t[t.SRC_OVER=0]="SRC_OVER",t[t.SRC_IN=21]="SRC_IN",t[t.SRC_OUT=22]="SRC_OUT",t[t.SRC_ATOP=23]="SRC_ATOP",t[t.DST_OVER=24]="DST_OVER",t[t.DST_IN=25]="DST_IN",t[t.DST_OUT=26]="DST_OUT",t[t.DST_ATOP=27]="DST_ATOP",t[t.ERASE=26]="ERASE",t[t.SUBTRACT=28]="SUBTRACT",t[t.XOR=29]="XOR",t))(Kt||{}),ha=(t=>(t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN",t))(ha||{}),_t=(t=>(t[t.RGBA=6408]="RGBA",t[t.RGB=6407]="RGB",t[t.RG=33319]="RG",t[t.RED=6403]="RED",t[t.RGBA_INTEGER=36249]="RGBA_INTEGER",t[t.RGB_INTEGER=36248]="RGB_INTEGER",t[t.RG_INTEGER=33320]="RG_INTEGER",t[t.RED_INTEGER=36244]="RED_INTEGER",t[t.ALPHA=6406]="ALPHA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL",t))(_t||{}),Gu=(t=>(t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",t))(Gu||{}),ui=(t=>(t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",t[t.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",t[t.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",t[t.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",t[t.BYTE=5120]="BYTE",t[t.SHORT=5122]="SHORT",t[t.INT=5124]="INT",t[t.FLOAT=5126]="FLOAT",t[t.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",t[t.HALF_FLOAT=36193]="HALF_FLOAT",t))(ui||{}),py=(t=>(t[t.FLOAT=0]="FLOAT",t[t.INT=1]="INT",t[t.UINT=2]="UINT",t))(py||{}),fs=(t=>(t[t.NEAREST=0]="NEAREST",t[t.LINEAR=1]="LINEAR",t))(fs||{}),ud=(t=>(t[t.CLAMP=33071]="CLAMP",t[t.REPEAT=10497]="REPEAT",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",t))(ud||{}),rc=(t=>(t[t.OFF=0]="OFF",t[t.POW2=1]="POW2",t[t.ON=2]="ON",t[t.ON_MANUAL=3]="ON_MANUAL",t))(rc||{}),il=(t=>(t[t.NPM=0]="NPM",t[t.UNPACK=1]="UNPACK",t[t.PMA=2]="PMA",t[t.NO_PREMULTIPLIED_ALPHA=0]="NO_PREMULTIPLIED_ALPHA",t[t.PREMULTIPLY_ON_UPLOAD=1]="PREMULTIPLY_ON_UPLOAD",t[t.PREMULTIPLIED_ALPHA=2]="PREMULTIPLIED_ALPHA",t))(il||{}),hd=(t=>(t[t.NO=0]="NO",t[t.YES=1]="YES",t[t.AUTO=2]="AUTO",t[t.BLEND=0]="BLEND",t[t.CLEAR=1]="CLEAR",t[t.BLIT=2]="BLIT",t))(hd||{}),fy=(t=>(t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL",t))(fy||{}),pa=(t=>(t.LOW="lowp",t.MEDIUM="mediump",t.HIGH="highp",t))(pa||{}),fr=(t=>(t[t.NONE=0]="NONE",t[t.SCISSOR=1]="SCISSOR",t[t.STENCIL=2]="STENCIL",t[t.SPRITE=3]="SPRITE",t[t.COLOR=4]="COLOR",t))(fr||{}),wq=(t=>(t[t.RED=1]="RED",t[t.GREEN=2]="GREEN",t[t.BLUE=4]="BLUE",t[t.ALPHA=8]="ALPHA",t))(wq||{}),Ko=(t=>(t[t.NONE=0]="NONE",t[t.LOW=2]="LOW",t[t.MEDIUM=4]="MEDIUM",t[t.HIGH=8]="HIGH",t))(Ko||{}),As=(t=>(t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER",t))(As||{});const Ku=2*Math.PI,Cq=180/Math.PI,xq=Math.PI/180;var Di=(t=>(t[t.POLY=0]="POLY",t[t.RECT=1]="RECT",t[t.CIRC=2]="CIRC",t[t.ELIP=3]="ELIP",t[t.RREC=4]="RREC",t))(Di||{});let jo=class $ge{constructor(e=0,i=0){this.x=0,this.y=0,this.x=e,this.y=i}clone(){return new $ge(this.x,this.y)}copyFrom(e){return this.set(e.x,e.y),this}copyTo(e){return e.set(this.x,this.y),e}equals(e){return e.x===this.x&&e.y===this.y}set(e=0,i=e){return this.x=e,this.y=i,this}toString(){return`[@pixi/math:Point x=${this.x} y=${this.y}]`}};const Ay=[new jo,new jo,new jo,new jo];let ro=class RF{constructor(e=0,i=0,o=0,r=0){this.x=Number(e),this.y=Number(i),this.width=Number(o),this.height=Number(r),this.type=Di.RECT}get left(){return this.x}get right(){return this.x+this.width}get top(){return this.y}get bottom(){return this.y+this.height}static get EMPTY(){return new RF(0,0,0,0)}clone(){return new RF(this.x,this.y,this.width,this.height)}copyFrom(e){return this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height,this}copyTo(e){return e.x=this.x,e.y=this.y,e.width=this.width,e.height=this.height,e}contains(e,i){return!(this.width<=0||this.height<=0)&&e>=this.x&&e<this.x+this.width&&i>=this.y&&i<this.y+this.height}intersects(e,i){if(!i){const B=this.x<e.x?e.x:this.x;if((this.right>e.right?e.right:this.right)<=B)return!1;const P=this.y<e.y?e.y:this.y;return(this.bottom>e.bottom?e.bottom:this.bottom)>P}const o=this.left,r=this.right,n=this.top,a=this.bottom;if(r<=o||a<=n)return!1;const s=Ay[0].set(e.left,e.top),l=Ay[1].set(e.left,e.bottom),c=Ay[2].set(e.right,e.top),d=Ay[3].set(e.right,e.bottom);if(c.x<=s.x||l.y<=s.y)return!1;const u=Math.sign(i.a*i.d-i.b*i.c);if(u===0||(i.apply(s,s),i.apply(l,l),i.apply(c,c),i.apply(d,d),Math.max(s.x,l.x,c.x,d.x)<=o||Math.min(s.x,l.x,c.x,d.x)>=r||Math.max(s.y,l.y,c.y,d.y)<=n||Math.min(s.y,l.y,c.y,d.y)>=a))return!1;const h=u*(l.y-s.y),p=u*(s.x-l.x),A=h*o+p*n,f=h*r+p*n,m=h*o+p*a,g=h*r+p*a;if(Math.max(A,f,m,g)<=h*s.x+p*s.y||Math.min(A,f,m,g)>=h*d.x+p*d.y)return!1;const y=u*(s.y-c.y),v=u*(c.x-s.x),b=y*o+v*n,x=y*r+v*n,k=y*o+v*a,E=y*r+v*a;return!(Math.max(b,x,k,E)<=y*s.x+v*s.y||Math.min(b,x,k,E)>=y*d.x+v*d.y)}pad(e=0,i=e){return this.x-=e,this.y-=i,this.width+=2*e,this.height+=2*i,this}fit(e){const i=Math.max(this.x,e.x),o=Math.min(this.x+this.width,e.x+e.width),r=Math.max(this.y,e.y),n=Math.min(this.y+this.height,e.y+e.height);return this.x=i,this.width=Math.max(o-i,0),this.y=r,this.height=Math.max(n-r,0),this}ceil(e=1,i=.001){const o=Math.ceil((this.x+this.width-i)*e)/e,r=Math.ceil((this.y+this.height-i)*e)/e;return this.x=Math.floor((this.x+i)*e)/e,this.y=Math.floor((this.y+i)*e)/e,this.width=o-this.x,this.height=r-this.y,this}enlarge(e){const i=Math.min(this.x,e.x),o=Math.max(this.x+this.width,e.x+e.width),r=Math.min(this.y,e.y),n=Math.max(this.y+this.height,e.y+e.height);return this.x=i,this.width=o-i,this.y=r,this.height=n-r,this}toString(){return`[@pixi/math:Rectangle x=${this.x} y=${this.y} width=${this.width} height=${this.height}]`}},vM=class e2e{constructor(e=0,i=0,o=0){this.x=e,this.y=i,this.radius=o,this.type=Di.CIRC}clone(){return new e2e(this.x,this.y,this.radius)}contains(e,i){if(this.radius<=0)return!1;const o=this.radius*this.radius;let r=this.x-e,n=this.y-i;return r*=r,n*=n,r+n<=o}getBounds(){return new ro(this.x-this.radius,this.y-this.radius,2*this.radius,2*this.radius)}toString(){return`[@pixi/math:Circle x=${this.x} y=${this.y} radius=${this.radius}]`}},yM=class t2e{constructor(e=0,i=0,o=0,r=0){this.x=e,this.y=i,this.width=o,this.height=r,this.type=Di.ELIP}clone(){return new t2e(this.x,this.y,this.width,this.height)}contains(e,i){if(this.width<=0||this.height<=0)return!1;let o=(e-this.x)/this.width,r=(i-this.y)/this.height;return o*=o,r*=r,o+r<=1}getBounds(){return new ro(this.x-this.width,this.y-this.height,this.width,this.height)}toString(){return`[@pixi/math:Ellipse x=${this.x} y=${this.y} width=${this.width} height=${this.height}]`}},pd=class i2e{constructor(...e){let i=Array.isArray(e[0])?e[0]:e;if(typeof i[0]!="number"){const o=[];for(let r=0,n=i.length;r<n;r++)o.push(i[r].x,i[r].y);i=o}this.points=i,this.type=Di.POLY,this.closeStroke=!0}clone(){const e=this.points.slice(),i=new i2e(e);return i.closeStroke=this.closeStroke,i}contains(e,i){let o=!1;const r=this.points.length/2;for(let n=0,a=r-1;n<r;a=n++){const s=this.points[2*n],l=this.points[2*n+1],c=this.points[2*a],d=this.points[2*a+1];l>i!=d>i&&e<(i-l)/(d-l)*(c-s)+s&&(o=!o)}return o}toString(){return`[@pixi/math:PolygoncloseStroke=${this.closeStroke}points=${this.points.reduce(((e,i)=>`${e}, ${i}`),"")}]`}},bM=class o2e{constructor(e=0,i=0,o=0,r=0,n=20){this.x=e,this.y=i,this.width=o,this.height=r,this.radius=n,this.type=Di.RREC}clone(){return new o2e(this.x,this.y,this.width,this.height,this.radius)}contains(e,i){if(this.width<=0||this.height<=0)return!1;if(e>=this.x&&e<=this.x+this.width&&i>=this.y&&i<=this.y+this.height){const o=Math.max(0,Math.min(this.radius,Math.min(this.width,this.height)/2));if(i>=this.y+o&&i<=this.y+this.height-o||e>=this.x+o&&e<=this.x+this.width-o)return!0;let r=e-(this.x+o),n=i-(this.y+o);const a=o*o;if(r*r+n*n<=a||(r=e-(this.x+this.width-o),r*r+n*n<=a)||(n=i-(this.y+this.height-o),r*r+n*n<=a)||(r=e-(this.x+o),r*r+n*n<=a))return!0}return!1}toString(){return`[@pixi/math:RoundedRectangle x=${this.x} y=${this.y}width=${this.width} height=${this.height} radius=${this.radius}]`}},Up=class r2e{constructor(e,i,o=0,r=0){this._x=o,this._y=r,this.cb=e,this.scope=i}clone(e=this.cb,i=this.scope){return new r2e(e,i,this._x,this._y)}set(e=0,i=e){return(this._x!==e||this._y!==i)&&(this._x=e,this._y=i,this.cb.call(this.scope)),this}copyFrom(e){return(this._x!==e.x||this._y!==e.y)&&(this._x=e.x,this._y=e.y,this.cb.call(this.scope)),this}copyTo(e){return e.set(this._x,this._y),e}equals(e){return e.x===this._x&&e.y===this._y}toString(){return`[@pixi/math:ObservablePoint x=0 y=0 scope=${this.scope}]`}get x(){return this._x}set x(e){this._x!==e&&(this._x=e,this.cb.call(this.scope))}get y(){return this._y}set y(e){this._y!==e&&(this._y=e,this.cb.call(this.scope))}},xi=class Hw{constructor(e=1,i=0,o=0,r=1,n=0,a=0){this.array=null,this.a=e,this.b=i,this.c=o,this.d=r,this.tx=n,this.ty=a}fromArray(e){this.a=e[0],this.b=e[1],this.c=e[3],this.d=e[4],this.tx=e[2],this.ty=e[5]}set(e,i,o,r,n,a){return this.a=e,this.b=i,this.c=o,this.d=r,this.tx=n,this.ty=a,this}toArray(e,i){this.array||(this.array=new Float32Array(9));const o=i||this.array;return e?(o[0]=this.a,o[1]=this.b,o[2]=0,o[3]=this.c,o[4]=this.d,o[5]=0,o[6]=this.tx,o[7]=this.ty,o[8]=1):(o[0]=this.a,o[1]=this.c,o[2]=this.tx,o[3]=this.b,o[4]=this.d,o[5]=this.ty,o[6]=0,o[7]=0,o[8]=1),o}apply(e,i){i=i||new jo;const o=e.x,r=e.y;return i.x=this.a*o+this.c*r+this.tx,i.y=this.b*o+this.d*r+this.ty,i}applyInverse(e,i){i=i||new jo;const o=1/(this.a*this.d+this.c*-this.b),r=e.x,n=e.y;return i.x=this.d*o*r+-this.c*o*n+(this.ty*this.c-this.tx*this.d)*o,i.y=this.a*o*n+-this.b*o*r+(-this.ty*this.a+this.tx*this.b)*o,i}translate(e,i){return this.tx+=e,this.ty+=i,this}scale(e,i){return this.a*=e,this.d*=i,this.c*=e,this.b*=i,this.tx*=e,this.ty*=i,this}rotate(e){const i=Math.cos(e),o=Math.sin(e),r=this.a,n=this.c,a=this.tx;return this.a=r*i-this.b*o,this.b=r*o+this.b*i,this.c=n*i-this.d*o,this.d=n*o+this.d*i,this.tx=a*i-this.ty*o,this.ty=a*o+this.ty*i,this}append(e){const i=this.a,o=this.b,r=this.c,n=this.d;return this.a=e.a*i+e.b*r,this.b=e.a*o+e.b*n,this.c=e.c*i+e.d*r,this.d=e.c*o+e.d*n,this.tx=e.tx*i+e.ty*r+this.tx,this.ty=e.tx*o+e.ty*n+this.ty,this}setTransform(e,i,o,r,n,a,s,l,c){return this.a=Math.cos(s+c)*n,this.b=Math.sin(s+c)*n,this.c=-Math.sin(s-l)*a,this.d=Math.cos(s-l)*a,this.tx=e-(o*this.a+r*this.c),this.ty=i-(o*this.b+r*this.d),this}prepend(e){const i=this.tx;if(e.a!==1||e.b!==0||e.c!==0||e.d!==1){const o=this.a,r=this.c;this.a=o*e.a+this.b*e.c,this.b=o*e.b+this.b*e.d,this.c=r*e.a+this.d*e.c,this.d=r*e.b+this.d*e.d}return this.tx=i*e.a+this.ty*e.c+e.tx,this.ty=i*e.b+this.ty*e.d+e.ty,this}decompose(e){const i=this.a,o=this.b,r=this.c,n=this.d,a=e.pivot,s=-Math.atan2(-r,n),l=Math.atan2(o,i),c=Math.abs(s+l);return c<1e-5||Math.abs(Ku-c)<1e-5?(e.rotation=l,e.skew.x=e.skew.y=0):(e.rotation=0,e.skew.x=s,e.skew.y=l),e.scale.x=Math.sqrt(i*i+o*o),e.scale.y=Math.sqrt(r*r+n*n),e.position.x=this.tx+(a.x*i+a.y*r),e.position.y=this.ty+(a.x*o+a.y*n),e}invert(){const e=this.a,i=this.b,o=this.c,r=this.d,n=this.tx,a=e*r-i*o;return this.a=r/a,this.b=-i/a,this.c=-o/a,this.d=e/a,this.tx=(o*this.ty-r*n)/a,this.ty=-(e*this.ty-i*n)/a,this}identity(){return this.a=1,this.b=0,this.c=0,this.d=1,this.tx=0,this.ty=0,this}clone(){const e=new Hw;return e.a=this.a,e.b=this.b,e.c=this.c,e.d=this.d,e.tx=this.tx,e.ty=this.ty,e}copyTo(e){return e.a=this.a,e.b=this.b,e.c=this.c,e.d=this.d,e.tx=this.tx,e.ty=this.ty,e}copyFrom(e){return this.a=e.a,this.b=e.b,this.c=e.c,this.d=e.d,this.tx=e.tx,this.ty=e.ty,this}toString(){return`[@pixi/math:Matrix a=${this.a} b=${this.b} c=${this.c} d=${this.d} tx=${this.tx} ty=${this.ty}]`}static get IDENTITY(){return new Hw}static get TEMP_MATRIX(){return new Hw}};const Ju=[1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1,0,1],Zu=[0,1,1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1],Wu=[0,-1,-1,-1,0,1,1,1,0,1,1,1,0,-1,-1,-1],Yu=[1,1,0,-1,-1,-1,0,1,-1,-1,0,1,1,1,0,-1],wM=[],kq=[],gy=Math.sign;(function(){for(let t=0;t<16;t++){const e=[];wM.push(e);for(let i=0;i<16;i++){const o=gy(Ju[t]*Ju[i]+Wu[t]*Zu[i]),r=gy(Zu[t]*Ju[i]+Yu[t]*Zu[i]),n=gy(Ju[t]*Wu[i]+Wu[t]*Yu[i]),a=gy(Zu[t]*Wu[i]+Yu[t]*Yu[i]);for(let s=0;s<16;s++)if(Ju[s]===o&&Zu[s]===r&&Wu[s]===n&&Yu[s]===a){e.push(s);break}}}for(let t=0;t<16;t++){const e=new xi;e.set(Ju[t],Zu[t],Wu[t],Yu[t],0,0),kq.push(e)}})();const _o={E:0,SE:1,S:2,SW:3,W:4,NW:5,N:6,NE:7,MIRROR_VERTICAL:8,MAIN_DIAGONAL:10,MIRROR_HORIZONTAL:12,REVERSE_DIAGONAL:14,uX:t=>Ju[t],uY:t=>Zu[t],vX:t=>Wu[t],vY:t=>Yu[t],inv:t=>8&t?15&t:7&-t,add:(t,e)=>wM[t][e],sub:(t,e)=>wM[t][_o.inv(e)],rotate180:t=>4^t,isVertical:t=>(3&t)==2,byDirection:(t,e)=>2*Math.abs(t)<=Math.abs(e)?e>=0?_o.S:_o.N:2*Math.abs(e)<=Math.abs(t)?t>0?_o.E:_o.W:e>0?t>0?_o.SE:_o.SW:t>0?_o.NE:_o.NW,matrixAppendRotationInv:(t,e,i=0,o=0)=>{const r=kq[_o.inv(e)];r.tx=i,r.ty=o,t.append(r)}},Mq=class{constructor(){this.worldTransform=new xi,this.localTransform=new xi,this.position=new Up(this.onChange,this,0,0),this.scale=new Up(this.onChange,this,1,1),this.pivot=new Up(this.onChange,this,0,0),this.skew=new Up(this.updateSkew,this,0,0),this._rotation=0,this._cx=1,this._sx=0,this._cy=0,this._sy=1,this._localID=0,this._currentLocalID=0,this._worldID=0,this._parentID=0}onChange(){this._localID++}updateSkew(){this._cx=Math.cos(this._rotation+this.skew.y),this._sx=Math.sin(this._rotation+this.skew.y),this._cy=-Math.sin(this._rotation-this.skew.x),this._sy=Math.cos(this._rotation-this.skew.x),this._localID++}toString(){return`[@pixi/math:Transform position=(${this.position.x}, ${this.position.y}) rotation=${this.rotation} scale=(${this.scale.x}, ${this.scale.y}) skew=(${this.skew.x}, ${this.skew.y}) ]`}updateLocalTransform(){const t=this.localTransform;this._localID!==this._currentLocalID&&(t.a=this._cx*this.scale.x,t.b=this._sx*this.scale.x,t.c=this._cy*this.scale.y,t.d=this._sy*this.scale.y,t.tx=this.position.x-(this.pivot.x*t.a+this.pivot.y*t.c),t.ty=this.position.y-(this.pivot.x*t.b+this.pivot.y*t.d),this._currentLocalID=this._localID,this._parentID=-1)}updateTransform(t){const e=this.localTransform;if(this._localID!==this._currentLocalID&&(e.a=this._cx*this.scale.x,e.b=this._sx*this.scale.x,e.c=this._cy*this.scale.y,e.d=this._sy*this.scale.y,e.tx=this.position.x-(this.pivot.x*e.a+this.pivot.y*e.c),e.ty=this.position.y-(this.pivot.x*e.b+this.pivot.y*e.d),this._currentLocalID=this._localID,this._parentID=-1),this._parentID!==t._worldID){const i=t.worldTransform,o=this.worldTransform;o.a=e.a*i.a+e.b*i.c,o.b=e.a*i.b+e.b*i.d,o.c=e.c*i.a+e.d*i.c,o.d=e.c*i.b+e.d*i.d,o.tx=e.tx*i.a+e.ty*i.c+i.tx,o.ty=e.tx*i.b+e.ty*i.d+i.ty,this._parentID=t._worldID,this._worldID++}}setFromMatrix(t){t.decompose(this),this._localID++}get rotation(){return this._rotation}set rotation(t){this._rotation!==t&&(this._rotation=t,this.updateSkew())}};let Np=Mq;Np.IDENTITY=new Mq;let fa=class{constructor(t){this.items=[],this._name=t,this._aliasCount=0}emit(t,e,i,o,r,n,a,s){if(arguments.length>8)throw new Error("max arguments reached");const{name:l,items:c}=this;this._aliasCount++;for(let d=0,u=c.length;d<u;d++)c[d][l](t,e,i,o,r,n,a,s);return c===this.items&&this._aliasCount--,this}ensureNonAliasedItems(){this._aliasCount>0&&this.items.length>1&&(this._aliasCount=0,this.items=this.items.slice(0))}add(t){return t[this._name]&&(this.ensureNonAliasedItems(),this.remove(t),this.items.push(t)),this}remove(t){const e=this.items.indexOf(t);return e!==-1&&(this.ensureNonAliasedItems(),this.items.splice(e,1)),this}contains(t){return this.items.includes(t)}removeAll(){return this.ensureNonAliasedItems(),this.items.length=0,this}destroy(){this.removeAll(),this.items=null,this._name=null}get empty(){return this.items.length===0}get name(){return this._name}};Object.defineProperties(fa.prototype,{dispatch:{value:fa.prototype.emit},run:{value:fa.prototype.emit}});const Eq={createCanvas:(t,e)=>{const i=document.createElement("canvas");return i.width=t,i.height=e,i},getWebGLRenderingContext:()=>WebGLRenderingContext,getNavigator:()=>navigator,getBaseUrl:()=>document.baseURI??window.location.href,getFontFaceSet:()=>document.fonts,fetch:(t,e)=>fetch(t,e),parseXML:t=>new DOMParser().parseFromString(t,"text/xml")};var CM=/iPhone/i,Bq=/iPod/i,Pq=/iPad/i,Iq=/\biOS-universal(?:.+)Mac\b/i,xM=/\bAndroid(?:.+)Mobile\b/i,Sq=/Android/i,jp=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,my=/Silk/i,nc=/Windows Phone/i,Tq=/\bWindows(?:.+)ARM\b/i,Rq=/BlackBerry/i,Lq=/BB10/i,Dq=/Opera Mini/i,_q=/\b(CriOS|Chrome)(?:.+)Mobile/i,Fq=/Mobile(?:.+)Firefox\b/i,Oq=function(t){return typeof t<"u"&&t.platform==="MacIntel"&&typeof t.maxTouchPoints=="number"&&t.maxTouchPoints>1&&typeof MSStream>"u"};const fd=(function(t){var e={userAgent:"",platform:"",maxTouchPoints:0};!t&&typeof navigator<"u"?e={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0}:typeof t=="string"?e.userAgent=t:t&&t.userAgent&&(e={userAgent:t.userAgent,platform:t.platform,maxTouchPoints:t.maxTouchPoints||0});var i=e.userAgent,o=i.split("[FBAN");typeof o[1]<"u"&&(i=o[0]),typeof(o=i.split("Twitter"))[1]<"u"&&(i=o[0]);var r=(function(a){return function(s){return s.test(a)}})(i),n={apple:{phone:r(CM)&&!r(nc),ipod:r(Bq),tablet:!r(CM)&&(r(Pq)||Oq(e))&&!r(nc),universal:r(Iq),device:(r(CM)||r(Bq)||r(Pq)||r(Iq)||Oq(e))&&!r(nc)},amazon:{phone:r(jp),tablet:!r(jp)&&r(my),device:r(jp)||r(my)},android:{phone:!r(nc)&&r(jp)||!r(nc)&&r(xM),tablet:!r(nc)&&!r(jp)&&!r(xM)&&(r(my)||r(Sq)),device:!r(nc)&&(r(jp)||r(my)||r(xM)||r(Sq))||r(/\bokhttp\b/i)},windows:{phone:r(nc),tablet:r(Tq),device:r(nc)||r(Tq)},other:{blackberry:r(Rq),blackberry10:r(Lq),opera:r(Dq),firefox:r(Fq),chrome:r(_q),device:r(Rq)||r(Lq)||r(Dq)||r(Fq)||r(_q)},any:!1,phone:!1,tablet:!1};return n.any=n.apple.device||n.android.device||n.windows.device||n.other.device,n.phone=n.apple.phone||n.android.phone||n.windows.phone,n.tablet=n.apple.tablet||n.android.tablet||n.windows.tablet,n})(globalThis.navigator),Vt={ADAPTER:Eq,MIPMAP_TEXTURES:rc.POW2,ANISOTROPIC_LEVEL:0,RESOLUTION:1,FILTER_RESOLUTION:1,FILTER_MULTISAMPLE:Ko.NONE,SPRITE_MAX_TEXTURES:(function(t){let e=!0;if(fd.tablet||fd.phone){if(fd.apple.device){const i=navigator.userAgent.match(/OS (\d+)_(\d+)?/);i&&parseInt(i[1],10)<11&&(e=!1)}if(fd.android.device){const i=navigator.userAgent.match(/Android\s([0-9.]*)/);i&&parseInt(i[1],10)<7&&(e=!1)}}return e?t:4})(32),SPRITE_BATCH_SIZE:4096,RENDER_OPTIONS:{view:null,antialias:!1,autoDensity:!1,backgroundColor:0,backgroundAlpha:1,premultipliedAlpha:!0,clearBeforeRender:!0,preserveDrawingBuffer:!1,width:800,height:600,legacy:!1,hello:!1},GC_MODE:fy.AUTO,GC_MAX_IDLE:3600,GC_MAX_CHECK_COUNT:600,WRAP_MODE:ud.CLAMP,SCALE_MODE:fs.LINEAR,PRECISION_VERTEX:pa.HIGH,PRECISION_FRAGMENT:fd.apple.device?pa.HIGH:pa.MEDIUM,CAN_UPLOAD_SAME_BUFFER:!fd.apple.device,CREATE_IMAGE_BITMAP:!1,ROUND_PIXELS:!1,TARGET_FPMS:.06};var hv=(t=>(t[t.HIGH=25]="HIGH",t[t.NORMAL=0]="NORMAL",t[t.LOW=-25]="LOW",t[t.UTILITY=-50]="UTILITY",t))(hv||{});let kM=class{constructor(t,e=null,i=0,o=!1){this.next=null,this.previous=null,this._destroyed=!1,this.fn=t,this.context=e,this.priority=i,this.once=o}match(t,e=null){return this.fn===t&&this.context===e}emit(t){this.fn&&(this.context?this.fn.call(this.context,t):this.fn(t));const e=this.next;return this.once&&this.destroy(!0),this._destroyed&&(this.next=null),e}connect(t){this.previous=t,t.next&&(t.next.previous=this),this.next=t.next,t.next=this}destroy(t=!1){this._destroyed=!0,this.fn=null,this.context=null,this.previous&&(this.previous.next=this.next),this.next&&(this.next.previous=this.previous);const e=this.next;return this.next=t?null:e,this.previous=null,e}},ac=class Qc{constructor(){this.autoStart=!1,this.deltaTime=1,this.lastTime=-1,this.speed=1,this.started=!1,this._requestId=null,this._maxElapsedMS=100,this._minElapsedMS=0,this._protected=!1,this._lastFrame=-1,this._head=new kM(null,null,1/0),this.deltaMS=1/Vt.TARGET_FPMS,this.elapsedMS=1/Vt.TARGET_FPMS,this._tick=e=>{this._requestId=null,this.started&&(this.update(e),this.started&&this._requestId===null&&this._head.next&&(this._requestId=requestAnimationFrame(this._tick)))}}_requestIfNeeded(){this._requestId===null&&this._head.next&&(this.lastTime=performance.now(),this._lastFrame=this.lastTime,this._requestId=requestAnimationFrame(this._tick))}_cancelIfNeeded(){this._requestId!==null&&(cancelAnimationFrame(this._requestId),this._requestId=null)}_startIfPossible(){this.started?this._requestIfNeeded():this.autoStart&&this.start()}add(e,i,o=hv.NORMAL){return this._addListener(new kM(e,i,o))}addOnce(e,i,o=hv.NORMAL){return this._addListener(new kM(e,i,o,!0))}_addListener(e){let i=this._head.next,o=this._head;if(i){for(;i;){if(e.priority>i.priority){e.connect(o);break}o=i,i=i.next}e.previous||e.connect(o)}else e.connect(o);return this._startIfPossible(),this}remove(e,i){let o=this._head.next;for(;o;)o=o.match(e,i)?o.destroy():o.next;return this._head.next||this._cancelIfNeeded(),this}get count(){if(!this._head)return 0;let e=0,i=this._head;for(;i=i.next;)e++;return e}start(){this.started||(this.started=!0,this._requestIfNeeded())}stop(){this.started&&(this.started=!1,this._cancelIfNeeded())}destroy(){if(!this._protected){this.stop();let e=this._head.next;for(;e;)e=e.destroy(!0);this._head.destroy(),this._head=null}}update(e=performance.now()){let i;if(e>this.lastTime){if(i=this.elapsedMS=e-this.lastTime,i>this._maxElapsedMS&&(i=this._maxElapsedMS),i*=this.speed,this._minElapsedMS){const n=e-this._lastFrame|0;if(n<this._minElapsedMS)return;this._lastFrame=e-n%this._minElapsedMS}this.deltaMS=i,this.deltaTime=this.deltaMS*Vt.TARGET_FPMS;const o=this._head;let r=o.next;for(;r;)r=r.emit(this.deltaTime);o.next||this._cancelIfNeeded()}else this.deltaTime=this.deltaMS=this.elapsedMS=0;this.lastTime=e}get FPS(){return 1e3/this.elapsedMS}get minFPS(){return 1e3/this._maxElapsedMS}set minFPS(e){const i=Math.min(this.maxFPS,e),o=Math.min(Math.max(0,i)/1e3,Vt.TARGET_FPMS);this._maxElapsedMS=1/o}get maxFPS(){return this._minElapsedMS?Math.round(1e3/this._minElapsedMS):0}set maxFPS(e){if(e===0)this._minElapsedMS=0;else{const i=Math.max(this.minFPS,e);this._minElapsedMS=1/(i/1e3)}}static get shared(){if(!Qc._shared){const e=Qc._shared=new Qc;e.autoStart=!0,e._protected=!0}return Qc._shared}static get system(){if(!Qc._system){const e=Qc._system=new Qc;e.autoStart=!0,e._protected=!0}return Qc._system}};var ki=(t=>(t.Renderer="renderer",t.Application="application",t.RendererSystem="renderer-webgl-system",t.RendererPlugin="renderer-webgl-plugin",t.CanvasRendererSystem="renderer-canvas-system",t.CanvasRendererPlugin="renderer-canvas-plugin",t.Asset="asset",t.LoadParser="load-parser",t.ResolveParser="resolve-parser",t.CacheParser="cache-parser",t.DetectionParser="detection-parser",t))(ki||{});const MM=t=>{if(typeof t=="function"||typeof t=="object"&&t.extension){if(!t.extension)throw new Error("Extension class must have an extension object");t={...typeof t.extension!="object"?{type:t.extension}:t.extension,ref:t}}if(typeof t!="object")throw new Error("Invalid extension type");return typeof(t={...t}).type=="string"&&(t.type=[t.type]),t},Uq=(t,e)=>MM(t).priority??e,Yi={_addHandlers:{},_removeHandlers:{},_queue:{},remove(...t){return t.map(MM).forEach((e=>{e.type.forEach((i=>{var o,r;return(r=(o=this._removeHandlers)[i])==null?void 0:r.call(o,e)}))})),this},add(...t){return t.map(MM).forEach((e=>{e.type.forEach((i=>{const o=this._addHandlers,r=this._queue;o[i]?o[i](e):(r[i]=r[i]||[],r[i].push(e))}))})),this},handle(t,e,i){const o=this._addHandlers,r=this._removeHandlers;if(o[t]||r[t])throw new Error(`Extension type ${t} already has a handler`);o[t]=e,r[t]=i;const n=this._queue;return n[t]&&(n[t].forEach((a=>e(a))),delete n[t]),this},handleByMap(t,e){return this.handle(t,(i=>{e[i.name]=i.ref}),(i=>{delete e[i.name]}))},handleByList(t,e,i=-1){return this.handle(t,(o=>{e.includes(o.ref)||(e.push(o.ref),e.sort(((r,n)=>Uq(n,i)-Uq(r,i))))}),(o=>{const r=e.indexOf(o.ref);r!==-1&&e.splice(r,1)}))}};class EM{static init(e){e=Object.assign({autoStart:!0,sharedTicker:!1},e),Object.defineProperty(this,"ticker",{set(i){this._ticker&&this._ticker.remove(this.render,this),this._ticker=i,i&&i.add(this.render,this,hv.LOW)},get(){return this._ticker}}),this.stop=()=>{this._ticker.stop()},this.start=()=>{this._ticker.start()},this._ticker=null,this.ticker=e.sharedTicker?ac.shared:new ac,e.autoStart&&this.start()}static destroy(){if(this._ticker){const e=this._ticker;this.ticker=null,e.destroy()}}}EM.extension=ki.Application,Yi.add(EM);var BM=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Nq(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var jq={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,i="~";function o(){}function r(l,c,d){this.fn=l,this.context=c,this.once=d||!1}function n(l,c,d,u,h){if(typeof d!="function")throw new TypeError("The listener must be a function");var p=new r(d,u||l,h),A=i?i+c:c;return l._events[A]?l._events[A].fn?l._events[A]=[l._events[A],p]:l._events[A].push(p):(l._events[A]=p,l._eventsCount++),l}function a(l,c){--l._eventsCount==0?l._events=new o:delete l._events[c]}function s(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),new o().__proto__||(i=!1)),s.prototype.eventNames=function(){var l,c,d=[];if(this._eventsCount===0)return d;for(c in l=this._events)e.call(l,c)&&d.push(i?c.slice(1):c);return Object.getOwnPropertySymbols?d.concat(Object.getOwnPropertySymbols(l)):d},s.prototype.listeners=function(l){var c=i?i+l:l,d=this._events[c];if(!d)return[];if(d.fn)return[d.fn];for(var u=0,h=d.length,p=new Array(h);u<h;u++)p[u]=d[u].fn;return p},s.prototype.listenerCount=function(l){var c=i?i+l:l,d=this._events[c];return d?d.fn?1:d.length:0},s.prototype.emit=function(l,c,d,u,h,p){var A=i?i+l:l;if(!this._events[A])return!1;var f,m,g=this._events[A],y=arguments.length;if(g.fn){switch(g.once&&this.removeListener(l,g.fn,void 0,!0),y){case 1:return g.fn.call(g.context),!0;case 2:return g.fn.call(g.context,c),!0;case 3:return g.fn.call(g.context,c,d),!0;case 4:return g.fn.call(g.context,c,d,u),!0;case 5:return g.fn.call(g.context,c,d,u,h),!0;case 6:return g.fn.call(g.context,c,d,u,h,p),!0}for(m=1,f=new Array(y-1);m<y;m++)f[m-1]=arguments[m];g.fn.apply(g.context,f)}else{var v,b=g.length;for(m=0;m<b;m++)switch(g[m].once&&this.removeListener(l,g[m].fn,void 0,!0),y){case 1:g[m].fn.call(g[m].context);break;case 2:g[m].fn.call(g[m].context,c);break;case 3:g[m].fn.call(g[m].context,c,d);break;case 4:g[m].fn.call(g[m].context,c,d,u);break;default:if(!f)for(v=1,f=new Array(y-1);v<y;v++)f[v-1]=arguments[v];g[m].fn.apply(g[m].context,f)}}return!0},s.prototype.on=function(l,c,d){return n(this,l,c,d,!1)},s.prototype.once=function(l,c,d){return n(this,l,c,d,!0)},s.prototype.removeListener=function(l,c,d,u){var h=i?i+l:l;if(!this._events[h])return this;if(!c)return a(this,h),this;var p=this._events[h];if(p.fn)p.fn===c&&(!u||p.once)&&(!d||p.context===d)&&a(this,h);else{for(var A=0,f=[],m=p.length;A<m;A++)(p[A].fn!==c||u&&!p[A].once||d&&p[A].context!==d)&&f.push(p[A]);f.length?this._events[h]=f.length===1?f[0]:f:a(this,h)}return this},s.prototype.removeAllListeners=function(l){var c;return l?(c=i?i+l:l,this._events[c]&&a(this,c)):(this._events=new o,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=i,s.EventEmitter=s,t.exports=s})(jq);const pv=Nq(jq.exports);var PM={exports:{}};function vy(t,e,i){i=i||2;var o,r,n,a,s,l,c,d=e&&e.length,u=d?e[0]*i:t.length,h=Vq(t,0,u,i,!0),p=[];if(!h||h.next===h.prev)return p;if(d&&(h=(function(f,m,g,y){var v,b,x,k,E,B=[];for(v=0,b=m.length;v<b;v++)x=m[v]*y,k=v<b-1?m[v+1]*y:f.length,(E=Vq(f,x,k,y,!1))===E.next&&(E.steiner=!0),B.push(dut(E));for(B.sort(sut),v=0;v<B.length;v++)g=lut(B[v],g);return g})(t,e,h,i)),t.length>80*i){o=n=t[0],r=a=t[1];for(var A=i;A<u;A+=i)(s=t[A])<o&&(o=s),(l=t[A+1])<r&&(r=l),s>n&&(n=s),l>a&&(a=l);c=(c=Math.max(n-o,a-r))!==0?32767/c:0}return fv(h,p,i,o,r,c,0),p}function Vq(t,e,i,o,r){var n,a;if(r===TM(t,e,i,o)>0)for(n=e;n<i;n+=o)a=qq(n,t[n],t[n+1],a);else for(n=i-o;n>=e;n-=o)a=qq(n,t[n],t[n+1],a);return a&&yy(a,a.next)&&(gv(a),a=a.next),a}function Xu(t,e){if(!t)return t;e||(e=t);var i,o=t;do if(i=!1,o.steiner||!yy(o,o.next)&&Vo(o.prev,o,o.next)!==0)o=o.next;else{if(gv(o),(o=e=o.prev)===o.next)break;i=!0}while(i||o!==e);return e}function fv(t,e,i,o,r,n,a){if(t){!a&&n&&(function(d,u,h,p){var A=d;do A.z===0&&(A.z=IM(A.x,A.y,u,h,p)),A.prevZ=A.prev,A.nextZ=A.next,A=A.next;while(A!==d);A.prevZ.nextZ=null,A.prevZ=null,(function(f){var m,g,y,v,b,x,k,E,B=1;do{for(g=f,f=null,b=null,x=0;g;){for(x++,y=g,k=0,m=0;m<B&&(k++,y=y.nextZ);m++);for(E=B;k>0||E>0&&y;)k!==0&&(E===0||!y||g.z<=y.z)?(v=g,g=g.nextZ,k--):(v=y,y=y.nextZ,E--),b?b.nextZ=v:f=v,v.prevZ=b,b=v;g=y}b.nextZ=null,B*=2}while(x>1)})(A)})(t,o,r,n);for(var s,l,c=t;t.prev!==t.next;)if(s=t.prev,l=t.next,n?rut(t,o,r,n):out(t))e.push(s.i/i|0),e.push(t.i/i|0),e.push(l.i/i|0),gv(t),t=l.next,c=l.next;else if((t=l)===c){a?a===1?fv(t=nut(Xu(t),e,i),e,i,o,r,n,2):a===2&&aut(t,e,i,o,r,n):fv(Xu(t),e,i,o,r,n,1);break}}}function out(t){var e=t.prev,i=t,o=t.next;if(Vo(e,i,o)>=0)return!1;for(var r=e.x,n=i.x,a=o.x,s=e.y,l=i.y,c=o.y,d=r<n?r<a?r:a:n<a?n:a,u=s<l?s<c?s:c:l<c?l:c,h=r>n?r>a?r:a:n>a?n:a,p=s>l?s>c?s:c:l>c?l:c,A=o.next;A!==e;){if(A.x>=d&&A.x<=h&&A.y>=u&&A.y<=p&&Vp(r,s,n,l,a,c,A.x,A.y)&&Vo(A.prev,A,A.next)>=0)return!1;A=A.next}return!0}function rut(t,e,i,o){var r=t.prev,n=t,a=t.next;if(Vo(r,n,a)>=0)return!1;for(var s=r.x,l=n.x,c=a.x,d=r.y,u=n.y,h=a.y,p=s<l?s<c?s:c:l<c?l:c,A=d<u?d<h?d:h:u<h?u:h,f=s>l?s>c?s:c:l>c?l:c,m=d>u?d>h?d:h:u>h?u:h,g=IM(p,A,e,i,o),y=IM(f,m,e,i,o),v=t.prevZ,b=t.nextZ;v&&v.z>=g&&b&&b.z<=y;){if(v.x>=p&&v.x<=f&&v.y>=A&&v.y<=m&&v!==r&&v!==a&&Vp(s,d,l,u,c,h,v.x,v.y)&&Vo(v.prev,v,v.next)>=0||(v=v.prevZ,b.x>=p&&b.x<=f&&b.y>=A&&b.y<=m&&b!==r&&b!==a&&Vp(s,d,l,u,c,h,b.x,b.y)&&Vo(b.prev,b,b.next)>=0))return!1;b=b.nextZ}for(;v&&v.z>=g;){if(v.x>=p&&v.x<=f&&v.y>=A&&v.y<=m&&v!==r&&v!==a&&Vp(s,d,l,u,c,h,v.x,v.y)&&Vo(v.prev,v,v.next)>=0)return!1;v=v.prevZ}for(;b&&b.z<=y;){if(b.x>=p&&b.x<=f&&b.y>=A&&b.y<=m&&b!==r&&b!==a&&Vp(s,d,l,u,c,h,b.x,b.y)&&Vo(b.prev,b,b.next)>=0)return!1;b=b.nextZ}return!0}function nut(t,e,i){var o=t;do{var r=o.prev,n=o.next.next;!yy(r,n)&&zq(r,o,o.next,n)&&Av(r,n)&&Av(n,r)&&(e.push(r.i/i|0),e.push(o.i/i|0),e.push(n.i/i|0),gv(o),gv(o.next),o=t=n),o=o.next}while(o!==t);return Xu(o)}function aut(t,e,i,o,r,n){var a=t;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&uut(a,s)){var l=Hq(a,s);return a=Xu(a,a.next),l=Xu(l,l.next),fv(a,e,i,o,r,n,0),void fv(l,e,i,o,r,n,0)}s=s.next}a=a.next}while(a!==t)}function sut(t,e){return t.x-e.x}function lut(t,e){var i=(function(r,n){var a,s=n,l=r.x,c=r.y,d=-1/0;do{if(c<=s.y&&c>=s.next.y&&s.next.y!==s.y){var u=s.x+(c-s.y)*(s.next.x-s.x)/(s.next.y-s.y);if(u<=l&&u>d&&(d=u,a=s.x<s.next.x?s:s.next,u===l))return a}s=s.next}while(s!==n);if(!a)return null;var h,p=a,A=a.x,f=a.y,m=1/0;s=a;do l>=s.x&&s.x>=A&&l!==s.x&&Vp(c<f?l:d,c,A,f,c<f?d:l,c,s.x,s.y)&&(h=Math.abs(c-s.y)/(l-s.x),Av(s,r)&&(h<m||h===m&&(s.x>a.x||s.x===a.x&&cut(a,s)))&&(a=s,m=h)),s=s.next;while(s!==p);return a})(t,e);if(!i)return e;var o=Hq(i,t);return Xu(o,o.next),Xu(i,i.next)}function cut(t,e){return Vo(t.prev,t,e.prev)<0&&Vo(e.next,t,t.next)<0}function IM(t,e,i,o,r){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-i)*r|0)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-o)*r|0)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function dut(t){var e=t,i=t;do(e.x<i.x||e.x===i.x&&e.y<i.y)&&(i=e),e=e.next;while(e!==t);return i}function Vp(t,e,i,o,r,n,a,s){return(r-a)*(e-s)>=(t-a)*(n-s)&&(t-a)*(o-s)>=(i-a)*(e-s)&&(i-a)*(n-s)>=(r-a)*(o-s)}function uut(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!(function(i,o){var r=i;do{if(r.i!==i.i&&r.next.i!==i.i&&r.i!==o.i&&r.next.i!==o.i&&zq(r,r.next,i,o))return!0;r=r.next}while(r!==i);return!1})(t,e)&&(Av(t,e)&&Av(e,t)&&(function(i,o){var r=i,n=!1,a=(i.x+o.x)/2,s=(i.y+o.y)/2;do r.y>s!=r.next.y>s&&r.next.y!==r.y&&a<(r.next.x-r.x)*(s-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next;while(r!==i);return n})(t,e)&&(Vo(t.prev,t,e.prev)||Vo(t,e.prev,e))||yy(t,e)&&Vo(t.prev,t,t.next)>0&&Vo(e.prev,e,e.next)>0)}function Vo(t,e,i){return(e.y-t.y)*(i.x-e.x)-(e.x-t.x)*(i.y-e.y)}function yy(t,e){return t.x===e.x&&t.y===e.y}function zq(t,e,i,o){var r=wy(Vo(t,e,i)),n=wy(Vo(t,e,o)),a=wy(Vo(i,o,t)),s=wy(Vo(i,o,e));return!!(r!==n&&a!==s||r===0&&by(t,i,e)||n===0&&by(t,o,e)||a===0&&by(i,t,o)||s===0&&by(i,e,o))}function by(t,e,i){return e.x<=Math.max(t.x,i.x)&&e.x>=Math.min(t.x,i.x)&&e.y<=Math.max(t.y,i.y)&&e.y>=Math.min(t.y,i.y)}function wy(t){return t>0?1:t<0?-1:0}function Av(t,e){return Vo(t.prev,t,t.next)<0?Vo(t,e,t.next)>=0&&Vo(t,t.prev,e)>=0:Vo(t,e,t.prev)<0||Vo(t,t.next,e)<0}function Hq(t,e){var i=new SM(t.i,t.x,t.y),o=new SM(e.i,e.x,e.y),r=t.next,n=e.prev;return t.next=e,e.prev=t,i.next=r,r.prev=i,o.next=i,i.prev=o,n.next=o,o.prev=n,o}function qq(t,e,i,o){var r=new SM(t,e,i);return o?(r.next=o.next,r.prev=o,o.next.prev=r,o.next=r):(r.prev=r,r.next=r),r}function gv(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function SM(t,e,i){this.i=t,this.x=e,this.y=i,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function TM(t,e,i,o){for(var r=0,n=e,a=i-o;n<i;n+=o)r+=(t[a]-t[n])*(t[n+1]+t[a+1]),a=n;return r}PM.exports=vy,PM.exports.default=vy,vy.deviation=function(t,e,i,o){var r=e&&e.length,n=r?e[0]*i:t.length,a=Math.abs(TM(t,0,n,i));if(r)for(var s=0,l=e.length;s<l;s++){var c=e[s]*i,d=s<l-1?e[s+1]*i:t.length;a-=Math.abs(TM(t,c,d,i))}var u=0;for(s=0;s<o.length;s+=3){var h=o[s]*i,p=o[s+1]*i,A=o[s+2]*i;u+=Math.abs((t[h]-t[A])*(t[p+1]-t[h+1])-(t[h]-t[p])*(t[A+1]-t[h+1]))}return a===0&&u===0?0:Math.abs((u-a)/a)},vy.flatten=function(t){for(var e=t[0][0].length,i={vertices:[],holes:[],dimensions:e},o=0,r=0;r<t.length;r++){for(var n=0;n<t[r].length;n++)for(var a=0;a<e;a++)i.vertices.push(t[r][n][a]);r>0&&(o+=t[r-1].length,i.holes.push(o))}return i};const RM=Nq(PM.exports);var mv,Cy,LM={exports:{}};mv=LM,Cy=LM.exports,(function(t){var e=Cy&&!Cy.nodeType&&Cy,i=mv&&!mv.nodeType&&mv,o=typeof BM=="object"&&BM;(o.global===o||o.window===o||o.self===o)&&(t=o);var r,n,a=2147483647,s=36,l=1,c=26,d=38,u=700,h=72,p=128,A="-",f=/^xn--/,m=/[^\x20-\x7E]/,g=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=s-l,b=Math.floor,x=String.fromCharCode;function k(V){throw RangeError(y[V])}function E(V,W){for(var Y=V.length,$=[];Y--;)$[Y]=W(V[Y]);return $}function B(V,W){var Y=V.split("@"),$="";return Y.length>1&&($=Y[0]+"@",V=Y[1]),$+E((V=V.replace(g,".")).split("."),W).join(".")}function P(V){for(var W,Y,$=[],fe=0,Me=V.length;fe<Me;)(W=V.charCodeAt(fe++))>=55296&&W<=56319&&fe<Me?(64512&(Y=V.charCodeAt(fe++)))==56320?$.push(((1023&W)<<10)+(1023&Y)+65536):($.push(W),fe--):$.push(W);return $}function T(V){return E(V,(function(W){var Y="";return W>65535&&(Y+=x((W-=65536)>>>10&1023|55296),W=56320|1023&W),Y+=x(W)})).join("")}function R(V){return V-48<10?V-22:V-65<26?V-65:V-97<26?V-97:s}function L(V,W){return V+22+75*(V<26)-((W!=0)<<5)}function F(V,W,Y){var $=0;for(V=Y?b(V/u):V>>1,V+=b(V/W);V>v*c>>1;$+=s)V=b(V/v);return b($+(v+1)*V/(V+d))}function U(V){var W,Y,$,fe,Me,Se,qe,Qe,Ce,De,Fe=[],ve=V.length,me=0,we=p,Le=h;for((Y=V.lastIndexOf(A))<0&&(Y=0),$=0;$<Y;++$)V.charCodeAt($)>=128&&k("not-basic"),Fe.push(V.charCodeAt($));for(fe=Y>0?Y+1:0;fe<ve;){for(Me=me,Se=1,qe=s;fe>=ve&&k("invalid-input"),((Qe=R(V.charCodeAt(fe++)))>=s||Qe>b((a-me)/Se))&&k("overflow"),me+=Qe*Se,!(Qe<(Ce=qe<=Le?l:qe>=Le+c?c:qe-Le));qe+=s)Se>b(a/(De=s-Ce))&&k("overflow"),Se*=De;Le=F(me-Me,W=Fe.length+1,Me==0),b(me/W)>a-we&&k("overflow"),we+=b(me/W),me%=W,Fe.splice(me++,0,we)}return T(Fe)}function q(V){var W,Y,$,fe,Me,Se,qe,Qe,Ce,De,Fe,ve,me,we,Le,We=[];for(ve=(V=P(V)).length,W=p,Y=0,Me=h,Se=0;Se<ve;++Se)(Fe=V[Se])<128&&We.push(x(Fe));for($=fe=We.length,fe&&We.push(A);$<ve;){for(qe=a,Se=0;Se<ve;++Se)(Fe=V[Se])>=W&&Fe<qe&&(qe=Fe);for(qe-W>b((a-Y)/(me=$+1))&&k("overflow"),Y+=(qe-W)*me,W=qe,Se=0;Se<ve;++Se)if((Fe=V[Se])<W&&++Y>a&&k("overflow"),Fe==W){for(Qe=Y,Ce=s;!(Qe<(De=Ce<=Me?l:Ce>=Me+c?c:Ce-Me));Ce+=s)Le=Qe-De,we=s-De,We.push(x(L(De+Le%we,0))),Qe=b(Le/we);We.push(x(L(Qe,0))),Me=F(Y,me,$==fe),Y=0,++$}++Y,++W}return We.join("")}if(r={version:"1.3.2",ucs2:{decode:P,encode:T},decode:U,encode:q,toASCII:function(V){return B(V,(function(W){return m.test(W)?"xn--"+q(W):W}))},toUnicode:function(V){return B(V,(function(W){return f.test(W)?U(W.slice(4).toLowerCase()):W}))}},e&&i)if(mv.exports==e)i.exports=r;else for(n in r)r.hasOwnProperty(n)&&(e[n]=r[n]);else t.punycode=r})(BM);var hut=LM.exports,vv={};function put(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var yv=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};vv.decode=vv.parse=function(t,e,i,o){e=e||"&",i=i||"=";var r={};if(typeof t!="string"||t.length===0)return r;var n=/\+/g;t=t.split(e);var a=1e3;o&&typeof o.maxKeys=="number"&&(a=o.maxKeys);var s=t.length;a>0&&s>a&&(s=a);for(var l=0;l<s;++l){var c,d,u,h,p=t[l].replace(n,"%20"),A=p.indexOf(i);A>=0?(c=p.substr(0,A),d=p.substr(A+1)):(c=p,d=""),u=decodeURIComponent(c),h=decodeURIComponent(d),put(r,u)?Array.isArray(r[u])?r[u].push(h):r[u]=[r[u],h]:r[u]=h}return r},vv.encode=vv.stringify=function(t,e,i,o){return e=e||"&",i=i||"=",t===null&&(t=void 0),typeof t=="object"?Object.keys(t).map((function(r){var n=encodeURIComponent(yv(r))+i;return Array.isArray(t[r])?t[r].map((function(a){return n+encodeURIComponent(yv(a))})).join(e):n+encodeURIComponent(yv(t[r]))})).join(e):o?encodeURIComponent(yv(o))+i+encodeURIComponent(yv(t)):""};var fut=hut,ol={isString:function(t){return typeof t=="string"},isObject:function(t){return typeof t=="object"&&t!==null},isNull:function(t){return t===null},isNullOrUndefined:function(t){return t==null}},Aut=xy,gut=function(t,e){return xy(t,!1,!0).resolve(e)},mut=function(t){return ol.isString(t)&&(t=xy(t)),t instanceof gs?t.format():gs.prototype.format.call(t)};function gs(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var vut=/^([a-z0-9.+-]+:)/i,yut=/:[0-9]*$/,but=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,wut=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",`
41
41
  `," "]),DM=["'"].concat(wut),Qq=["%","/","?",";","#"].concat(DM),Gq=["/","?","#"],Kq=/^[+a-z0-9A-Z_-]{0,63}$/,Cut=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,xut={javascript:!0,"javascript:":!0},_M={javascript:!0,"javascript:":!0},zp={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},FM=vv;function xy(t,e,i){if(t&&ol.isObject(t)&&t instanceof gs)return t;var o=new gs;return o.parse(t,e,i),o}gs.prototype.parse=function(t,e,i){if(!ol.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var o=t.indexOf("?"),r=o!==-1&&o<t.indexOf("#")?"?":"#",n=t.split(r);n[0]=n[0].replace(/\\/g,"/");var a=t=n.join(r);if(a=a.trim(),!i&&t.split("#").length===1){var s=but.exec(a);if(s)return this.path=a,this.href=a,this.pathname=s[1],s[2]?(this.search=s[2],this.query=e?FM.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var l=vut.exec(a);if(l){var c=(l=l[0]).toLowerCase();this.protocol=c,a=a.substr(l.length)}if(i||l||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var d=a.substr(0,2)==="//";d&&(!l||!_M[l])&&(a=a.substr(2),this.slashes=!0)}if(!_M[l]&&(d||l&&!zp[l])){for(var u=-1,h=0;h<Gq.length;h++)(f=a.indexOf(Gq[h]))!==-1&&(u===-1||f<u)&&(u=f);var p,A;for((A=u===-1?a.lastIndexOf("@"):a.lastIndexOf("@",u))!==-1&&(p=a.slice(0,A),a=a.slice(A+1),this.auth=decodeURIComponent(p)),u=-1,h=0;h<Qq.length;h++){var f;(f=a.indexOf(Qq[h]))!==-1&&(u===-1||f<u)&&(u=f)}u===-1&&(u=a.length),this.host=a.slice(0,u),a=a.slice(u),this.parseHost(),this.hostname=this.hostname||"";var m=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!m)for(var g=this.hostname.split(/\./),y=(h=0,g.length);h<y;h++){var v=g[h];if(v&&!v.match(Kq)){for(var b="",x=0,k=v.length;x<k;x++)v.charCodeAt(x)>127?b+="x":b+=v[x];if(!b.match(Kq)){var E=g.slice(0,h),B=g.slice(h+1),P=v.match(Cut);P&&(E.push(P[1]),B.unshift(P[2])),B.length&&(a="/"+B.join(".")+a),this.hostname=E.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),m||(this.hostname=fut.toASCII(this.hostname));var T=this.port?":"+this.port:"",R=this.hostname||"";this.host=R+T,this.href+=this.host,m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),a[0]!=="/"&&(a="/"+a))}if(!xut[c])for(h=0,y=DM.length;h<y;h++){var L=DM[h];if(a.indexOf(L)!==-1){var F=encodeURIComponent(L);F===L&&(F=escape(L)),a=a.split(L).join(F)}}var U=a.indexOf("#");U!==-1&&(this.hash=a.substr(U),a=a.slice(0,U));var q=a.indexOf("?");if(q!==-1?(this.search=a.substr(q),this.query=a.substr(q+1),e&&(this.query=FM.parse(this.query)),a=a.slice(0,q)):e&&(this.search="",this.query={}),a&&(this.pathname=a),zp[c]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){T=this.pathname||"";var V=this.search||"";this.path=T+V}return this.href=this.format(),this},gs.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",i=this.pathname||"",o=this.hash||"",r=!1,n="";this.host?r=t+this.host:this.hostname&&(r=t+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(r+=":"+this.port)),this.query&&ol.isObject(this.query)&&Object.keys(this.query).length&&(n=FM.stringify(this.query));var a=this.search||n&&"?"+n||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||zp[e])&&r!==!1?(r="//"+(r||""),i&&i.charAt(0)!=="/"&&(i="/"+i)):r||(r=""),o&&o.charAt(0)!=="#"&&(o="#"+o),a&&a.charAt(0)!=="?"&&(a="?"+a),e+r+(i=i.replace(/[?#]/g,(function(s){return encodeURIComponent(s)})))+(a=a.replace("#","%23"))+o},gs.prototype.resolve=function(t){return this.resolveObject(xy(t,!1,!0)).format()},gs.prototype.resolveObject=function(t){if(ol.isString(t)){var e=new gs;e.parse(t,!1,!0),t=e}for(var i=new gs,o=Object.keys(this),r=0;r<o.length;r++){var n=o[r];i[n]=this[n]}if(i.hash=t.hash,t.href==="")return i.href=i.format(),i;if(t.slashes&&!t.protocol){for(var a=Object.keys(t),s=0;s<a.length;s++){var l=a[s];l!=="protocol"&&(i[l]=t[l])}return zp[i.protocol]&&i.hostname&&!i.pathname&&(i.path=i.pathname="/"),i.href=i.format(),i}if(t.protocol&&t.protocol!==i.protocol){if(!zp[t.protocol]){for(var c=Object.keys(t),d=0;d<c.length;d++){var u=c[d];i[u]=t[u]}return i.href=i.format(),i}if(i.protocol=t.protocol,t.host||_M[t.protocol])i.pathname=t.pathname;else{for(var h=(t.pathname||"").split("/");h.length&&!(t.host=h.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),h[0]!==""&&h.unshift(""),h.length<2&&h.unshift(""),i.pathname=h.join("/")}if(i.search=t.search,i.query=t.query,i.host=t.host||"",i.auth=t.auth,i.hostname=t.hostname||t.host,i.port=t.port,i.pathname||i.search){var p=i.pathname||"",A=i.search||"";i.path=p+A}return i.slashes=i.slashes||t.slashes,i.href=i.format(),i}var f=i.pathname&&i.pathname.charAt(0)==="/",m=t.host||t.pathname&&t.pathname.charAt(0)==="/",g=m||f||i.host&&t.pathname,y=g,v=i.pathname&&i.pathname.split("/")||[],b=(h=t.pathname&&t.pathname.split("/")||[],i.protocol&&!zp[i.protocol]);if(b&&(i.hostname="",i.port=null,i.host&&(v[0]===""?v[0]=i.host:v.unshift(i.host)),i.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(h[0]===""?h[0]=t.host:h.unshift(t.host)),t.host=null),g=g&&(h[0]===""||v[0]==="")),m)i.host=t.host||t.host===""?t.host:i.host,i.hostname=t.hostname||t.hostname===""?t.hostname:i.hostname,i.search=t.search,i.query=t.query,v=h;else if(h.length)v||(v=[]),v.pop(),v=v.concat(h),i.search=t.search,i.query=t.query;else if(!ol.isNullOrUndefined(t.search))return b&&(i.hostname=i.host=v.shift(),(P=!!(i.host&&i.host.indexOf("@")>0)&&i.host.split("@"))&&(i.auth=P.shift(),i.host=i.hostname=P.shift())),i.search=t.search,i.query=t.query,(!ol.isNull(i.pathname)||!ol.isNull(i.search))&&(i.path=(i.pathname?i.pathname:"")+(i.search?i.search:"")),i.href=i.format(),i;if(!v.length)return i.pathname=null,i.search?i.path="/"+i.search:i.path=null,i.href=i.format(),i;for(var x=v.slice(-1)[0],k=(i.host||t.host||v.length>1)&&(x==="."||x==="..")||x==="",E=0,B=v.length;B>=0;B--)(x=v[B])==="."?v.splice(B,1):x===".."?(v.splice(B,1),E++):E&&(v.splice(B,1),E--);if(!g&&!y)for(;E--;E)v.unshift("..");g&&v[0]!==""&&(!v[0]||v[0].charAt(0)!=="/")&&v.unshift(""),k&&v.join("/").substr(-1)!=="/"&&v.push("");var P,T=v[0]===""||v[0]&&v[0].charAt(0)==="/";return b&&(i.hostname=i.host=T?"":v.length?v.shift():"",(P=!!(i.host&&i.host.indexOf("@")>0)&&i.host.split("@"))&&(i.auth=P.shift(),i.host=i.hostname=P.shift())),(g=g||i.host&&v.length)&&!T&&v.unshift(""),v.length?i.pathname=v.join("/"):(i.pathname=null,i.path=null),(!ol.isNull(i.pathname)||!ol.isNull(i.search))&&(i.path=(i.pathname?i.pathname:"")+(i.search?i.search:"")),i.auth=t.auth||i.auth,i.slashes=i.slashes||t.slashes,i.href=i.format(),i},gs.prototype.parseHost=function(){var t=this.host,e=yut.exec(t);e&&((e=e[0])!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const Jq={parse:Aut,format:mut,resolve:gut};function ms(t){if(typeof t!="string")throw new TypeError(`Path must be a string. Received ${JSON.stringify(t)}`)}function Zq(t){return t.split("?")[0].split("#")[0]}const Wq={toPosix:t=>(function(e,i,o){return e.replace(new RegExp((function(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")})(i),"g"),o)})(t,"\\","/"),isUrl(t){return/^https?:/.test(this.toPosix(t))},isDataUrl:t=>/^data:([a-z]+\/[a-z0-9-+.]+(;[a-z0-9-.!#$%*+.{}|~`]+=[a-z0-9-.!#$%*+.{}()_|~`]+)*)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s<>]*?)$/i.test(t),hasProtocol(t){return/^[^/:]+:\//.test(this.toPosix(t))},getProtocol(t){ms(t),t=this.toPosix(t);let e="";const i=/^file:\/\/\//.exec(t),o=/^[^/:]+:\/\//.exec(t),r=/^[^/:]+:\//.exec(t);if(i||o||r){const n=i?.[0]||o?.[0]||r?.[0];e=n,t=t.slice(n.length)}return e},toAbsolute(t,e,i){if(this.isDataUrl(t))return t;const o=Zq(this.toPosix(e??Vt.ADAPTER.getBaseUrl())),r=Zq(this.toPosix(i??this.rootname(o)));return ms(t),(t=this.toPosix(t)).startsWith("/")?Wq.join(r,t.slice(1)):this.isAbsolute(t)?t:this.join(o,t)},normalize(t){if(ms(t=this.toPosix(t)),t.length===0)return".";let e="";const i=t.startsWith("/");this.hasProtocol(t)&&(e=this.rootname(t),t=t.slice(e.length));const o=t.endsWith("/");return t=(function(r,n){let a,s="",l=0,c=-1,d=0;for(let u=0;u<=r.length;++u){if(u<r.length)a=r.charCodeAt(u);else{if(a===47)break;a=47}if(a===47){if(c!==u-1&&d!==1)if(c!==u-1&&d===2){if(s.length<2||l!==2||s.charCodeAt(s.length-1)!==46||s.charCodeAt(s.length-2)!==46){if(s.length>2){const h=s.lastIndexOf("/");if(h!==s.length-1){h===-1?(s="",l=0):(s=s.slice(0,h),l=s.length-1-s.lastIndexOf("/")),c=u,d=0;continue}}else if(s.length===2||s.length===1){s="",l=0,c=u,d=0;continue}}}else s.length>0?s+=`/${r.slice(c+1,u)}`:s=r.slice(c+1,u),l=u-c-1;c=u,d=0}else a===46&&d!==-1?++d:d=-1}return s})(t),t.length>0&&o&&(t+="/"),i?`/${t}`:e+t},isAbsolute(t){return ms(t),t=this.toPosix(t),!!this.hasProtocol(t)||t.startsWith("/")},join(...t){if(t.length===0)return".";let e;for(let i=0;i<t.length;++i){const o=t[i];if(ms(o),o.length>0)if(e===void 0)e=o;else{const r=t[i-1]??"";this.extname(r)?e+=`/../${o}`:e+=`/${o}`}}return e===void 0?".":this.normalize(e)},dirname(t){if(ms(t),t.length===0)return".";let e=(t=this.toPosix(t)).charCodeAt(0);const i=e===47;let o=-1,r=!0;const n=this.getProtocol(t),a=t;for(let s=(t=t.slice(n.length)).length-1;s>=1;--s)if(e=t.charCodeAt(s),e===47){if(!r){o=s;break}}else r=!1;return o===-1?i?"/":this.isUrl(a)?n+t:n:i&&o===1?"//":n+t.slice(0,o)},rootname(t){ms(t);let e="";if(e=(t=this.toPosix(t)).startsWith("/")?"/":this.getProtocol(t),this.isUrl(t)){const i=t.indexOf("/",e.length);e=i!==-1?t.slice(0,i):t,e.endsWith("/")||(e+="/")}return e},basename(t,e){ms(t),e&&ms(e),t=this.toPosix(t);let i,o=0,r=-1,n=!0;if(e!==void 0&&e.length>0&&e.length<=t.length){if(e.length===t.length&&e===t)return"";let a=e.length-1,s=-1;for(i=t.length-1;i>=0;--i){const l=t.charCodeAt(i);if(l===47){if(!n){o=i+1;break}}else s===-1&&(n=!1,s=i+1),a>=0&&(l===e.charCodeAt(a)?--a==-1&&(r=i):(a=-1,r=s))}return o===r?r=s:r===-1&&(r=t.length),t.slice(o,r)}for(i=t.length-1;i>=0;--i)if(t.charCodeAt(i)===47){if(!n){o=i+1;break}}else r===-1&&(n=!1,r=i+1);return r===-1?"":t.slice(o,r)},extname(t){ms(t);let e=-1,i=0,o=-1,r=!0,n=0;for(let a=(t=this.toPosix(t)).length-1;a>=0;--a){const s=t.charCodeAt(a);if(s!==47)o===-1&&(r=!1,o=a+1),s===46?e===-1?e=a:n!==1&&(n=1):e!==-1&&(n=-1);else if(!r){i=a+1;break}}return e===-1||o===-1||n===0||n===1&&e===o-1&&e===i+1?"":t.slice(e,o)},parse(t){ms(t);const e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;let i=(t=this.toPosix(t)).charCodeAt(0);const o=this.isAbsolute(t);let r;e.root=this.rootname(t),r=o||this.hasProtocol(t)?1:0;let n=-1,a=0,s=-1,l=!0,c=t.length-1,d=0;for(;c>=r;--c)if(i=t.charCodeAt(c),i!==47)s===-1&&(l=!1,s=c+1),i===46?n===-1?n=c:d!==1&&(d=1):n!==-1&&(d=-1);else if(!l){a=c+1;break}return n===-1||s===-1||d===0||d===1&&n===s-1&&n===a+1?s!==-1&&(e.base=e.name=a===0&&o?t.slice(1,s):t.slice(a,s)):(a===0&&o?(e.name=t.slice(1,n),e.base=t.slice(1,s)):(e.name=t.slice(a,n),e.base=t.slice(a,s)),e.ext=t.slice(n,s)),e.dir=this.dirname(t),e},sep:"/",delimiter:":"};Vt.RETINA_PREFIX=/@([0-9\.]+)x/,Vt.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT=!1;const Yq={};function kn(t,e,i=3){if(Yq[e])return;let o=new Error().stack;typeof o>"u"?console.warn("PixiJS Deprecation Warning: ",`${e}
42
42
  Deprecated since v${t}`):(o=o.split(`
43
43
  `).splice(i).join(`
@@ -6433,5 +6433,5 @@ void main() {
6433
6433
  --bimdata-local-context-width: ${o.width}px;
6434
6434
  --bimdata-local-context-center-width: ${o.centerWidth}px;
6435
6435
  --bimdata-local-context-resolution: ${o.resolution};
6436
- `),onMouseenter:e[0]||(e[0]=(...h)=>o.onMouseEnter&&o.onMouseEnter(...h)),onMouseleave:e[1]||(e[1]=(...h)=>o.onMouseLeave&&o.onMouseLeave(...h))},[S(a,{ref:"modalManagerTemplateRef"},null,512),w("div",ixi,[o.windowPlugins.leftSidePanel?(M(),G(s,{key:0,plugin:o.windowPlugins.leftSidePanel},null,8,["plugin"])):te("",!0),w("div",oxi,[(M(!0),_(Ye,null,Mt(o.windowPlugins.free,h=>(M(),G(l,{key:h.name,class:de({"window-container__content__center__viewer":h.isViewer}),plugin:h},null,8,["class","plugin"]))),128)),S(c,{position:"left",plugins:o.windowPlugins.leftButtonColumn},null,8,["plugins"]),S(c,{position:"right",plugins:o.windowPlugins.rightButtonColumn},null,8,["plugins"])]),o.windowPlugins.rightSidePanel?(M(),G(s,{key:1,plugin:o.windowPlugins.rightSidePanel},null,8,["plugin"])):te("",!0)]),o.loading?(M(),_("div",rxi,[o.spinner&&o.spinner.component?(M(),G(go(o.spinner.component),Ta(xn({key:0},o.spinner.props)),null,16)):(M(),G(d,{key:1,size:"20px",border:"3px"}))])):te("",!0),o.layoutSettingsDisplayed?(M(),_("div",nxi,[S(u)])):te("",!0)],36)}const sxi=j(txi,[["render",axi],["__scopeId","data-v-485f288e"]]);class lxi{constructor(e=!0){const i=Zwi(kz,null,{resizable:e});i.registerContent("default",sxi),this.settings=hr({edit:!1,swap:!1,full:!1}),this.areas=i}get resizable(){return this.areas.resizable}set resizable(e){this.areas.resizable=e}apply(e=null){this.areas.layout=e?Wwi(e):null}copy(e,i=!0){return Ywi(this.areas.layout,e,i)}open({ratio:e,direction:i,insertAfter:o,windowName:r=null,windowState:n=null,localContextId:a=null}={}){const s=r?{options:{windowName:r,windowState:n}}:null;return a===null?this.areas.splitLayout(e,i,o,s):this.areas.split(a,e,i,o,s)}swap(e,i){return this.areas.swap(e,i)}close(e){return this.areas.delete(e)}compare(e,i){if(!e&&!i)return!0;if(!e||!i)return!1;if(typeof e=="string"&&typeof i=="string")return e===i;if(typeof e=="string"||typeof i=="string")return!1;if(e.windowName&&i.windowName){if(e.windowName!==i.windowName)return!1;const o=new Set(e.windowState?.modelIds),r=new Set(i.windowState?.modelIds);return o.size===r.size&&[...o].every(n=>r.has(n))}return e.windowName||i.windowName||e.direction!==i.direction||e.children.length!==i.children.length?!1:e.children.every((o,r)=>this.compare(o,i.children[r]))}}const cxi="2.17.0-beta.1",dxi={version:cxi};let uxi=1;class hxi{math=qpt;constructor({plugins:e,api:i,ui:o,locale:r="fr"}){this.instanceId=uxi++,this.pluginManager=new U8i(e),this.windowManager=new j8i,this.windowManager.registerAndAddPluginsToWindows([...this.pluginManager.registeredPlugins.values()]),this.api=new twi(i),this.globalContext=new _8e(this),this.state=fwi(this),this.shortcutManager=Pme(this.state),this.uiSettings=o||{},this.i18n=new L8e(r),this._contextMenu=null,this.layout=new lxi(this.uiSettings.resizable!==!1),this._darkTheme=re(o?.darkTheme??!1),this.localContext=null,window.$viewer=this}get darkTheme(){return this._darkTheme.value}set darkTheme(e){this._darkTheme.value=e}get version(){return dxi.version}get locale(){return this.i18n.locale}get contextMenu(){return this._contextMenu||Eme}set contextMenu(e){this._contextMenu=e}get registeredWindows(){return[...this.windowManager.registeredWindows.keys()]}get registeredPlugins(){return[...this.pluginManager.registeredPlugins.keys()]}get pluginsCfg(){return this.pluginManager.cfg}registerPlugin(e){this.pluginManager.registerPlugin(e),this.windowManager.registerAndAddPluginsToWindows([e])}}function pxi(t,e={}){e.backgroundColor&&(t.style.setProperty("--bimdata-viewer-background-color",e.backgroundColor),e.backgroundColor==="transparent"&&t.style.setProperty("--areas-separator-color","transparent")),e.colorPrimary&&t.style.setProperty("--color-primary",e.colorPrimary),e.colorPrimaryLighter&&t.style.setProperty("--color-primary-lighter",e.colorPrimaryLighter),e.colorPrimaryLight&&t.style.setProperty("--color-primary-light",e.colorPrimaryLight),e.colorPrimaryDark&&t.style.setProperty("--color-primary-dark",e.colorPrimaryDark),e.colorSecondary&&t.style.setProperty("--color-secondary",e.colorSecondary),e.colorSecondaryLighter&&t.style.setProperty("--color-secondary-lighter",e.colorSecondaryLighter),e.colorSecondaryLight&&t.style.setProperty("--color-secondary-light",e.colorSecondaryLight),e.colorSecondaryDark&&t.style.setProperty("--color-secondary-dark",e.colorSecondaryDark),e.colorSilverLight&&t.style.setProperty("--color-silver-light",e.colorSilverLight),e.colorSilver&&t.style.setProperty("--color-silver",e.colorSilver),e.colorSilverDark&&t.style.setProperty("--color-silver-dark",e.colorSilverDark),e.colorGraniteLight&&t.style.setProperty("--color-granite-light",e.colorGraniteLight),e.colorGranite&&t.style.setProperty("--color-granite",e.colorGranite),e.colorSuccess&&t.style.setProperty("--color-success",e.colorSuccess),e.colorSuccessLighter&&t.style.setProperty("--color-success-Lighter",e.colorSuccessLighter),e.colorSuccessLight&&t.style.setProperty("--color-success-Light",e.colorSuccessLight),e.colorSuccessDark&&t.style.setProperty("--color-success-Dark",e.colorSuccessDark),e.colorWarning&&t.style.setProperty("--color-warning",e.colorWarning),e.colorWarningLighter&&t.style.setProperty("--color-warning-Lighter",e.colorWarningLighter),e.colorWarningLight&&t.style.setProperty("--color-warning-Light",e.colorWarningLight),e.colorWarningDark&&t.style.setProperty("--color-warning-Dark",e.colorWarningDark),e.colorHigh&&t.style.setProperty("--color-high",e.colorHigh),e.colorHighLighter&&t.style.setProperty("--color-high-lighter",e.colorHighLighter),e.colorHighLight&&t.style.setProperty("--color-high-light",e.colorHighLight),e.colorHighDark&&t.style.setProperty("--color-high-dark",e.colorHighDark),e.colorText&&t.style.setProperty("--color-text",e.colorText),(!e.backgroundColor||e.backgroundColor!=="transparent")&&t.style.setProperty("--areas-separator-color","rgba(216, 216, 216, 1)"),e.headerHeight!=null&&t.style.setProperty("--bimdata-viewer-header-height",e.headerHeight),t.style.setProperty("--areas-background-color","transparent")}const fxi=Object.freeze({25:"GUEST",50:"USER",100:"ADMIN"}),um=Object.freeze({READ:"read",WRITE:"write"});function Jge(t){const e={};return t.forEach(i=>{const[o,r]=i.split(":");e[o]?e[o].push(r):e[o]=[r]}),e}const Axi={token_scopes:[],usable_scopes:[],user_role:25};function Zge(t=Axi){const e=Jge(t.token_scopes),i=Jge(t.usable_scopes);return{...EK(t),tokenScopes:e,usableScopes:i,userRole:fxi[t.user_role],user:t.user?EK(t.user):null,hasBcfReadPermission:i.bcf?.includes(um.READ)??!1,hasBcfWritePermission:i.bcf?.includes(um.WRITE)??!1,hasModelReadPermission:i.model?.includes(um.READ)??!1,hasModelWritePermission:i.model?.includes(um.WRITE)??!1,hasDocReadPermission:i.document?.includes(um.READ)??!1,hasDocWritePermission:i.document?.includes(um.WRITE)??!1}}const gxi={back:"Zur\xFCck",BcfFilters:{filtersButton:"Filter",filtersTitle:"Filter",priorityLabel:"Priorit\xE4t",statusLabel:"Status",stageLabel:"Phase",assignedToLabel:"Zugewiesen an",creatorsLabel:"Erstellt von",tagsLabel:"Tags",resetButton:"Zur\xFCcksetzen",searchButton:"Suchen",undefined:"Nicht definiert",datePlaceholder:"Erstellungsdatum"},BcfSettings:{title:"BCF-Parameter",text:"Erstellen, f\xFCllen und listen Sie die BCF-Einstellungen auf, die Sie f\xFCr dieses Projekt haben m\xF6chten.",validateButton:"Die BCF-Parameter anerkennen"},BcfStatistics:{emptyText:"F\xFCgen Sie Fragen hinzu, um zugeh\xF6rige Statistiken hier anzuzeigen.",issues:"Probleme",extension:{Priority:"Priorit\xE4t",PriorityNotDefined:"Keine Priorit\xE4t",PriorityTitle:"Priorit\xE4ten",Status:"Status",StatusNotDefined:"Kein Status",StatusTitle:"Status"}},BcfTopicCard:{priority:"Priorit\xE4t",noPriority:"Keine",assignedTo:"Zugewiesen an",elements:"Elemente",notSpecified:"Nicht definiert",see:"Anzeigen"},BcfTopicCreationCard:{text:"Ein neues BCF-Thema erstellen",createBcfSideTitle:"Ein Problem melden"},BcfTopicForm:{dragDropImageText:"Bitte w\xE4hlen Sie eine Datei aus.",addObjectButton:"Objekt",addAnnotationButton:"Annotation",annotationButtonTooltip:"Zu diesem Thema gibt es derzeit keine Ansichten.",addPictureButton:"F\xFCgen Sie ein Bild hinzu.",titlePlaceholder:"Titel *",titleErrorMessage:"Titel fehlt",typeLabel:"Typ",priorityLabel:"Priorit\xE4t",statusLabel:"Status",stageLabel:"Phase",assignedToLabel:"Zugewiesen an",dueDateLabel:"F\xE4lligkeitsdatum (TT.MM.JJJJ)",descriptionLabel:"Beschreibung",labelsLabel:"Tags",createButton:"Best\xE4tigen",updateButton:"\xC4nderungen \xFCbernehmen",modalText:"Sie sind dabei, die Bearbeitung der Ausgabe {Name} zu beenden, aber es gibt noch ungespeicherte \xC4nderungen.",cancelButton:"\xC4nderungen verwerfen",continueButton:"\xC4nderungen fortsetzen",createTitle:"Ein Problem melden",dragDropImageTextTablet:"Foto machen",takeSnapshot:"Mach einen Schnappschuss",importFile:"Eine Datei importieren",searchPlaceholder:"Suchen",emptySearch:"kein Ergebnis",documentsLabel:"Dokumente",documentsCount:"Dokumente \u2013 {count} ausgew\xE4hlte Dokumente",groupsLabel:"Berechtigungen",groupsCount:"Berechtigungen \u2013 {count} ausgew\xE4hlte Gruppen",groupsText:"W\xE4hlen Sie die Benutzergruppen aus, die dieses Thema sehen und damit interagieren d\xFCrfen.",validate:"Best\xE4tigen"},BcfTopicOverview:{openViewer:"Im Viewer \xF6ffnen",openViewerNoModels:"Es sind keine Vorlagen zur Ansicht bereit",elements:"{count} Elemente",noElements:"kein Element",type:"Typ",noTypeSpecified:"Kein Typ angegeben",description:"Beschreibung",noDescriptionProvided:"Keine Beschreibung angegeben",assignedTo:"Zugeteilt an",notAssigned:"Nicht zugewiesen",dueDate:"F\xE4lligkeitsdatum",noDueDate:"Kein F\xE4lligkeitsdatum",informations:"Informationen",status:"Status",noStatusSpecified:"Kein Status angegeben",stage:"Phase",noStageProvided:"Keine Phase angegeben",priority:"Priorit\xE4t",priorityNotDefined:"Nicht definiert",tags:"Tags",noTags:"Keine Tags",commentButton:"Ein Kommentar ver\xF6ffentlichen",deleteText:"Sie l\xF6schen jetzt {Name}",deleteBcfButton:"Dieses BCF l\xF6schen",keepBcfButton:"Dieses BCF beibehalten",author:"Autor"},BcfTopicsTable:{headers:{index:"#",priority:"Priorit\xE4t",status:"Status",title:"Titel",creator:"Autor",date:"Datum"}},BcfTopicActionsCell:{seeButton:"Anzeigen"},BcfTopicComments:{commentButton:"Ein Kommentar verfassen",commentLabel:"Ein Kommentar verfassen",commentText:"Kommentar",cancelButton:"Abbrechen",publishButton:"Ver\xF6ffentlichen",commentsText:"Kommentare",deleteCommentText:"Diesen Kommentar l\xF6schen?",deleteButton:"L\xF6schen",takeSnapshot:"Mach einen Schnappschuss",edited:"bearbeitet"},BcfTopicPriorityCell:{noPriority:"Keine"},SettingCard:{addButton:"ein Element hinzuf\xFCgen",cancelButton:"Abbrechen",validateButton:"Best\xE4tigen",deleteExtensionText:"Diesen Parameter l\xF6schen",deleteButton:"L\xF6schen",title:{Priority:"Priorit\xE4ten",Label:"Tags",Status:"Status",Type:"Typen",Stage:"Phasen"},input:{Priority:"Eine neue Priorit\xE4t hinzuf\xFCgen",Label:"Ein neues Etikett hinzuf\xFCgen",Status:"Einen neuen Status hinzuf\xFCgen",Type:"Einen neuen Typ hinzuf\xFCgen",Stage:"Eine neue Phase hinzuf\xFCgen"},text:{Priority:"Liste der Priorit\xE4ten",Label:"Liste von Tags",Status:"Liste der Status",Type:"Liste der Typen",Stage:"Liste der Phasen"}}},mxi={BcfComponents:gxi},vxi={back:"Back",BcfFilters:{filtersButton:"Filters",filtersTitle:"Filters",priorityLabel:"Priority",statusLabel:"Status",stageLabel:"Stage",assignedToLabel:"Assigned to",creatorsLabel:"Created by",tagsLabel:"Tags",resetButton:"Reset",searchButton:"Search",undefined:"Not defined",datePlaceholder:"Creation date"},BcfSettings:{title:"BCF Settings",text:"Create, enter in, and list the BCF settings you would like to have for this project",validateButton:"Validate BCF settings"},BcfStatistics:{emptyText:"Add BCF Topics to start to have some stats here.",issues:"issues",extension:{Priority:"Priority",PriorityNotDefined:"No priority",PriorityTitle:"Priorities",Status:"Status",StatusNotDefined:"No status",StatusTitle:"Status"}},BcfTopicCard:{priority:"Priority",noPriority:"None",assignedTo:"Assigned to",elements:"Elements",notSpecified:"Not specified",see:"See"},BcfTopicCreationCard:{text:"Create a new BCF topic",createBcfSideTitle:"Report a problem"},BcfTopicForm:{dragDropImageText:"Please select a file",addObjectButton:"Object",addAnnotationButton:"Annotation",annotationButtonTooltip:"This topic has no viewpoint",addPictureButton:"Add a picture",titlePlaceholder:"Title *",titleErrorMessage:"Missing title",typeLabel:"Type",priorityLabel:"Priority",statusLabel:"Status",stageLabel:"Stage",assignedToLabel:"Assigned to",dueDateLabel:"Due date",descriptionLabel:"Description",labelsLabel:"Tags",createButton:"Validate",updateButton:"Modify this BCF",modalText:"You are about to quit editing issue {name} but there are unsaved changes.",cancelButton:"Discard changes",continueButton:"Continue editing",createTitle:"Report a problem",dragDropImageTextTablet:"Take a picture",takeSnapshot:"Take a snapshot",importFile:"Import a file",searchPlaceholder:"Search",emptySearch:"No result",documentsLabel:"Add a file",documentsCount:"Files - {count} selected files",groupsLabel:"Permissions",groupsCount:"Permissions - {count} selected groups",groupsText:"You are now setting the access rights: choose the user group(s) that will be exclusively authorized to see and interact with this topic.",validate:"Validate"},BcfTopicOverview:{openViewer:"Open in viewer",openViewerNoModels:"No model to open",elements:"{count} Elements",noElements:"No element",type:"Type",noTypeSpecified:"No type specified",description:"Description",noDescriptionProvided:"No description provided",assignedTo:"Assigned to",notAssigned:"Not assigned",dueDate:"Due date",noDueDate:"No due date",informations:"Informations",status:"Status",noStatusSpecified:"No status specified",stage:"Stage",noStageProvided:"No stage provided",priority:"Priority",priorityNotDefined:"Not defined",tags:"Tags",noTags:"No tags",commentButton:"Post a comment",deleteText:"You are about to delete {name}",deleteBcfButton:"Delete this BCF",keepBcfButton:"Keep this BCF",author:"Author"},BcfTopicsTable:{headers:{index:"#",priority:"Priority",status:"Status",title:"Title",creator:"Author",date:"Date"}},BcfTopicActionsCell:{seeButton:"See"},BcfTopicComments:{commentButton:"Post a comment",commentLabel:"Post a comment",commentText:"Comment",cancelButton:"Cancel",publishButton:"Publish",commentsText:"Comments",deleteCommentText:"Delete this comment ?",deleteButton:"Delete",takeSnapshot:"Take a snapshot",edited:"edited"},BcfTopicPriorityCell:{noPriority:"None"},SettingCard:{addButton:"add an element",cancelButton:"Cancel",validateButton:"Validate",deleteExtensionText:"Remove this setting",deleteButton:"Delete",title:{Priority:"Priorities",Label:"Labels",Status:"Status",Type:"Types",Stage:"Stages"},input:{Priority:"Add a new priority",Label:"Add a new label",Status:"Add new status",Type:"Add a new type",Stage:"Add a new stage"},text:{Priority:"Priority list",Label:"Labels list",Status:"Status list",Type:"Type list",Stage:"Stage list"}}},yxi={BcfComponents:vxi},bxi={back:"Volver",BcfFilters:{filtersButton:"Filtros",filtersTitle:"Filtros",priorityLabel:"Prioridad",statusLabel:"Estado",stageLabel:"Fase",assignedToLabel:"Asignado a",creatorsLabel:"Creado por",tagsLabel:"Etiquetas:",resetButton:"Restablecer",searchButton:"Buscar en",undefined:"No definido",datePlaceholder:"Fecha de creaci\xF3n"},BcfSettings:{title:"Par\xE1metros del BCF",text:"Cree, rellene y enumere los par\xE1metros del BCF que desea tener en este proyecto",validateButton:"Validar los par\xE1metros del BCF"},BcfStatistics:{emptyText:"A\xF1ada preguntas para ver las estad\xEDsticas asociadas aqu\xED.",issues:"problemas",extension:{Priority:"Prioridad",PriorityNotDefined:"Sin prioridad",PriorityTitle:"Prioridades",Status:"Estado",StatusNotDefined:"Sin estado",StatusTitle:"Estatutos"}},BcfTopicCard:{priority:"Prioridad",noPriority:"Sin",assignedTo:"Asignado a",elements:"Elementos",notSpecified:"No definido",see:"Ver"},BcfTopicCreationCard:{text:"Crear un nuevo tema BCF",createBcfSideTitle:"Informar de un problema"},BcfTopicForm:{dragDropImageText:"Seleccione un archivo",addObjectButton:"Objeto",addAnnotationButton:"Anotaci\xF3n",annotationButtonTooltip:"Actualmente este tema no posee ning\xFAn punto de vista",addPictureButton:"A\xF1adir una imagen",titlePlaceholder:"T\xEDtulo *",titleErrorMessage:"Falta el t\xEDtulo",typeLabel:"Tipo",priorityLabel:"Prioridad",statusLabel:"Estado",stageLabel:"Fase",assignedToLabel:"Asignado a",dueDateLabel:"Fecha de vencimiento (DD/MM/AAAA)",descriptionLabel:"Descripci\xF3n",labelsLabel:"Etiquetas",createButton:"Validar",updateButton:"Modificar este BCF",modalText:"Est\xE1 a punto de salir de la edici\xF3n del problema de {name} pero hay cambios sin guardar.",cancelButton:"Cancelar los cambios",continueButton:"Continuar con los cambios",createTitle:"Informar de un problema",dragDropImageTextTablet:"Tomar una fotograf\xEDa",takeSnapshot:"Tomar un snapshot",importFile:"Importar un archivo",searchPlaceholder:"Buscar",emptySearch:"No hay resultados"},BcfTopicOverview:{openViewer:"Abrir en el visor",openViewerNoModels:"No hay ning\xFAn modelo listo para la visualizaci\xF3n",elements:"{count} Elementos",noElements:"Ning\xFAn elemento",type:"Tipo",noTypeSpecified:"No se especifica el tipo",description:"Descripci\xF3n",noDescriptionProvided:"No hay descripci\xF3n",assignedTo:"Asignado a",notAssigned:"No asignado",dueDate:"Plazo",noDueDate:"Sin fecha de vencimiento",informations:"Informaci\xF3n",status:"Estado",noStatusSpecified:"No se especifica el estado",stage:"Fase",noStageProvided:"No se indica ninguna fase",priority:"Prioridad",priorityNotDefined:"No definido",tags:"Etiquetas",noTags:"Sin etiquetas",commentButton:"Publicar un comentario",deleteText:"Est\xE1s a punto de borrar {name}",deleteBcfButton:"Borrar este BCF",keepBcfButton:"Mantenga este BCF",author:"Autor"},BcfTopicsTable:{headers:{index:"#",priority:"Prioridad",status:"Estado",title:"T\xEDtulo",creator:"Autor",date:"Fecha"}},BcfTopicActionsCell:{seeButton:"Ver"},BcfTopicComments:{commentButton:"Publicar un comentario",commentLabel:"Publicar un comentario",commentText:"Comentario",cancelButton:"Cancelar",publishButton:"Publicar",commentsText:"comentarios",deleteCommentText:"\xBFBorrar este comentario?",deleteButton:"Borrar",takeSnapshot:"Tomar un snapshot"},BcfTopicPriorityCell:{noPriority:"Sin"},SettingCard:{addButton:"a\xF1adir un elemento",cancelButton:"Cancelar",validateButton:"Validar",deleteExtensionText:"Borrar esta configuraci\xF3n",deleteButton:"Borrar",title:{Priority:"Prioridades",Label:"Etiquetas:",Status:"Estatutos",Type:"Tipos",Stage:"Fases"},input:{Priority:"A\xF1adir una nueva prioridad",Label:"A\xF1adir una nueva etiqueta",Status:"A\xF1adir un nuevo estado",Type:"A\xF1adir un nuevo tipo",Stage:"A\xF1adir una nueva fase"},text:{Priority:"Lista de prioridades",Label:"Lista de etiquetas",Status:"Lista de estatutos",Type:"Lista de tipos",Stage:"Lista de fases"}}},wxi={BcfComponents:bxi},Cxi={back:"Retour",BcfFilters:{filtersButton:"Filtres",filtersTitle:"Filtres",priorityLabel:"Priorit\xE9",statusLabel:"Statut",stageLabel:"Phase",assignedToLabel:"Assign\xE9 \xE0",creatorsLabel:"Cr\xE9\xE9 par",tagsLabel:"Tags",resetButton:"R\xE9initialiser",searchButton:"Rechercher",undefined:"Non d\xE9fini",datePlaceholder:"Date de cr\xE9ation"},BcfSettings:{title:"Param\xE8tres BCF",text:"Cr\xE9ez, renseignez et listez les param\xE8tres BCF que vous souhaitez avoir sur ce projet",validateButton:"Valider les param\xE8tres BCF"},BcfStatistics:{emptyText:"Ajoutez des questions pour voir les statistiques associ\xE9es ici.",issues:"probl\xE8mes",extension:{Priority:"Priorit\xE9",PriorityNotDefined:"Aucune priorit\xE9",PriorityTitle:"Priorit\xE9s",Status:"Statut",StatusNotDefined:"Aucun statut",StatusTitle:"Statuts"}},BcfTopicCard:{priority:"Priorit\xE9",noPriority:"Aucune",assignedTo:"Assign\xE9 \xE0",elements:"{n} \xC9lements",notSpecified:"Non d\xE9fini",see:"Voir"},BcfTopicCreationCard:{text:"Cr\xE9er un nouveau topic BCF",createBcfSideTitle:"Signaler un probl\xE8me"},BcfTopicForm:{dragDropImageText:"Veuillez s\xE9lectionner un fichier",addObjectButton:"Objet",addAnnotationButton:"Annotation",annotationButtonTooltip:"Ce topic ne poss\xE8de actuellement aucun point de vue",addPictureButton:"Ajouter une image",titlePlaceholder:"Titre *",titleErrorMessage:"Titre manquant",typeLabel:"Type",priorityLabel:"Priorit\xE9",statusLabel:"Statut",stageLabel:"Phase",assignedToLabel:"Assign\xE9 \xE0",dueDateLabel:"Date d'\xE9ch\xE9ance",descriptionLabel:"Description",labelsLabel:"Tags",createButton:"Valider",updateButton:"Modifier ce BCF",modalText:"Vous \xEAtes sur le point de quitter l'\xE9dition de l'issue {name} mais il y'a des modifications non enregistr\xE9es.",cancelButton:"Annuler les modifications",continueButton:"Continuer les modifications",createTitle:"Signaler un probl\xE8me",dragDropImageTextTablet:"Prendre une photo",takeSnapshot:"Prendre un snapshot",importFile:"Importer un fichier",searchPlaceholder:"Rechercher",emptySearch:"Pas de r\xE9sultat",documentsLabel:"Documents",documentsCount:"Documents - {count} documents s\xE9lectionn\xE9s",groupsLabel:"Permissions",groupsCount:"Permissions - {count} groupes s\xE9lectionn\xE9s",groupsText:"S\xE9lectionner les groupes utilisateur qui peuvent voir ce topic et int\xE9ragir avec.",validate:"Valider"},BcfTopicOverview:{openViewer:"Ouvrir dans le viewer",openViewerNoModels:"Il n'y a aucun mod\xE8le pr\xEAt pour une visualisation",elements:"{count} \xC9lements",noElements:"Aucun \xE9l\xE9ment concern\xE9",type:"Type",noTypeSpecified:"Pas de type sp\xE9cifi\xE9",description:"Description",noDescriptionProvided:"Pas de description renseign\xE9e",assignedTo:"Assign\xE9 \xE0",notAssigned:"Non assign\xE9",dueDate:"\xC9ch\xE9ance",noDueDate:"Pas de date d'\xE9ch\xE9ance",informations:"Informations",status:"Statut",noStatusSpecified:"Pas de statut sp\xE9cifi\xE9",stage:"Phase",noStageProvided:"Pas de phase renseign\xE9e",priority:"Priorit\xE9",priorityNotDefined:"Non d\xE9fini",tags:"Tags",noTags:"Pas de tags",commentButton:"Poster un commentaire",deleteText:"Vous \xEAtes sur le point de supprimer {name}",deleteBcfButton:"Supprimer ce BCF",keepBcfButton:"Conserver ce BCF",author:"Auteur"},BcfTopicsTable:{headers:{index:"#",priority:"Priorit\xE9",status:"Statut",title:"Titre",creator:"Auteur",date:"Date"}},BcfTopicActionsCell:{seeButton:"Voir"},BcfTopicComments:{commentButton:"Poster un commentaire",commentLabel:"Poster un commentaire",commentText:"Commentaire",cancelButton:"Annuler",publishButton:"Publier",commentsText:"commentaires",deleteCommentText:"Supprimer ce commentaire ?",deleteButton:"Supprimer",takeSnapshot:"Prendre un snapshot",edited:"edit\xE9"},BcfTopicPriorityCell:{noPriority:"Aucune"},SettingCard:{addButton:"ajouter un \xE9l\xE9ment",cancelButton:"Annuler",validateButton:"Valider",deleteExtensionText:"Supprimmer ce param\xE8tre",deleteButton:"Supprimer",title:{Priority:"Priorit\xE9s",Label:"Tags",Status:"Statuts",Type:"Types",Stage:"Phases"},input:{Priority:"Ajouter une nouvelle priorit\xE9",Label:"Ajouter un nouveau label",Status:"Ajouter un nouveau statut",Type:"Ajouter un nouveau type",Stage:"Ajouter une nouvelle phase"},text:{Priority:"Liste des priorit\xE9s",Label:"Liste des tags",Status:"Liste des statuts",Type:"Liste des types",Stage:"Liste des phases"}}},xxi={BcfComponents:Cxi},kxi={back:"Indietro",BcfFilters:{filtersButton:"Filtri",filtersTitle:"Filtri",priorityLabel:"Priorit\xE0",statusLabel:"Stato",stageLabel:"Fase",datePlaceholder:"Data di creazione",assignedToLabel:"Assegnato a",creatorsLabel:"Creato da",tagsLabel:"Etichette",resetButton:"Ripristina",searchButton:"Cerca",undefined:"Non definito"},BcfSettings:{title:"Parametri BCF",text:"Creare, notificare e elencare i parametri BCF che si desidera avere su questo progetto",validateButton:"Conferma i parametri BCF"},BcfStatistics:{emptyText:"Aggiungi delle domande per vedere le statistiche associate qui.",issues:"problemi",extension:{Priority:"Priorit\xE0",PriorityNotDefined:"Nessuna priorit\xE0",PriorityTitle:"Priorit\xE0",Status:"Stato",StatusNotDefined:"Nessuno stato",StatusTitle:"Stati"}},BcfTopicCard:{priority:"Priorit\xE0",noPriority:"Nessuno",assignedTo:"Assegnato a",elements:"Elementi",noElements:"0 elementi",notSpecified:"Non definito",see:"Visualizza"},BcfTopicCreationCard:{text:"Crea un nuovo topic BCF",createBcfSideTitle:"Segnala un problema"},BcfTopicForm:{dragDropImageText:"Selezionare un file",addObjectButton:"Oggetto",addAnnotationButton:"Annotazione",annotationButtonTooltip:"Attualmente questo argomento non presenta alcun punto di vista",addPictureButton:"Aggiungere un'immagine",titlePlaceholder:"Titolo *",titleErrorMessage:"Titolo mancante",typeLabel:"Tipo",priorityLabel:"Priorit\xE0",statusLabel:"Stato",stageLabel:"Fase",assignedToLabel:"Assegnato a",dueDateLabel:"Data di scadenza",descriptionLabel:"Descrizione",labelsLabel:"Tag",createButton:"Conferma",updateButton:"Modificare questo BCF",modalText:"State per abbandonare la modifica di {name} ma ci sono modifiche non salvate.",cancelButton:"Annullare le modifiche",continueButton:"Continuare le modifiche",createTitle:"Segnala un problema"},BcfTopicOverview:{openViewer:"Apri nel visualizzatore",openViewerNoModels:"Non esistono modelli pronti per la visualizzazione",elements:"{count} Elementi",noElements:"Nessun elemento",type:"Tipo",noTypeSpecified:"Nessun tipo specificato",description:"Descrizione",noDescriptionProvided:"Nessuna descrizione inserita",assignedTo:"Assegnato a",notAssigned:"Non assegnato",dueDate:"Scadenza",noDueDate:"Nessuna data di scadenza",informations:"Informazioni",status:"Stato",noStatusSpecified:"Nessuno stato specificato",stage:"Fase",noStageProvided:"Nessuna fase inserita",priority:"Priorit\xE0",priorityNotDefined:"Non definita",tags:"Etichette",noTags:"Nessuna etichetta",commentButton:"Pubblica un commento",deleteText:"Stai per eliminare {name}",deleteBcfButton:"Elimina questo BCF",keepBcfButton:"Conserva questo BCF",author:"Autore"},BcfTopicsTable:{headers:{index:"#",priority:"Priorit\xE0",status:"Stato",title:"Titolo",creator:"Autore",date:"Data"}},BcfTopicActionsCell:{seeButton:"Visualizza"},BcfTopicComments:{commentButton:"Pubblica un commento",commentLabel:"Pubblica un commento",commentText:"Commento",cancelButton:"Annulla",publishButton:"Pubblica",commentsText:"commenti",deleteCommentText:"Eliminare questo commento?",deleteButton:"Elimina"},BcfTopicPriorityCell:{noPriority:"Nessuno"},SettingCard:{addButton:"aggiungi un elemento",cancelButton:"Annulla",validateButton:"Conferma",deleteExtensionText:"Elimina questo parametro",deleteButton:"Elimina",title:{Priority:"Priorit\xE0",Label:"Etichette",Status:"Stati",Type:"Tipi",Stage:"Fasi"},input:{Priority:"Aggiungi una nuova priorit\xE0",Label:"Aggiungi una nuova etichetta",Status:"Aggiungi un nuovo stato",Type:"Aggiungi un nuovo tipo",Stage:"Aggiungi una nuova fase"},text:{Priority:"Elenco delle priorit\xE0",Label:"Elenco delle etichette",Status:"Elenco degli stati",Type:"Elenco dei tipi",Stage:"Elenco delle fasi"}}},Mxi={BcfComponents:kxi},Exi={de:mxi,en:yxi,es:wxi,fr:xxi,it:Mxi},Bxi=({apiClient:t,fetchUsers:e,i18nPlugin:i}={})=>({install(o){t?Li.setup({apiClient:t,fetchUsers:e}):console.error("[BCF Components Plugin] No api client provided. You must provide an api client for the components to work properly."),i?Object.entries(Exi).forEach(([r,n])=>{i.global.mergeLocaleMessage(r,n)}):console.warn("[BCF Components Plugin] No i18n instance provided. You should either provide an i18n instance or define your own translations in order have text displayed properly."),Object.entries(Exe).forEach(([r,n])=>{o.component(r,n)})}}),Pxi={title:"Building Maker",back:"Zur\xFCck",list:{text:"Erstellen und bearbeiten Sie die Etagen und laden Sie anschlie\xDFend Ihre PDFs herunter.",createButton:"Neues Projekt",updateButton:"Umbenennen",deleteButton:"L\xF6schen"},form:{text:"Erstellen und bearbeiten Sie die Etagen und laden Sie anschlie\xDFend Ihre PDFs herunter.",input:"Name des Geb\xE4udes",error:"Ung\xFCltiger Name",createButton:"Erstellen",updateButton:"Best\xE4tigen"},view:{addStoreyButton:"Etage",addPlanButton:"Grundriss",closeButton:"Fertigstellen",submitFilesButton:"Best\xE4tigen"},storeyForm:{title:"Neue Etage",input:"Name",error:"Ung\xFCltiger Name",cancelButton:"Abbrechen",submitButton:"Best\xE4tigen"}},Ixi={creationFormTitle:"Ordner erstellen",renameFormPlaceholder:"Datei- / Ordnernam",nameInputPlaceholder:"Ordnername",emptyFolder:"Dieser Ordner ist leer",newFolderSuccess:"Neuer Ordner erstellt",renameFolderSuccess:"Umbenannter Ordner",deleteFolderSuccess:"Ordner gel\xF6scht",newFileSuccess:"Datei hinzugef\xFCgt",renameFileSuccess:"Umbenannte Datei",deleteFileSuccess:"Datei gel\xF6scht",nameInputErrorMessage:"Ung\xFCltiger name",cancel:"Abbrechen",submit:"Best\xE4tigen",buttonText:"Neuer Ordner",addFileButtonText:"Datei laden",rename:"Umbenennen",view:"Sehen",download:"Herunterladen",delete:"L\xF6schen",deleteTitle:"Dateien l\xF6schen",deleteDetail:"Sie sind im Begriff, die folgenden Dateien / Ordner endg\xFCltig zu l\xF6schen"},Sxi={BuildingMaker:Pxi,FileManager:Ixi},Txi={t:{back:"Back",cancel:"Cancel",create:"Create",delete:"Delete",download:"Download",finish:"Finish",rename:"Rename",search:"Search",see:"View",storey:"Storey",validate:"Validate"}},Rxi={title:"Building Maker",list:{text:"Create and edit storeys, then download your PDFs.",new:"New project"},form:{input:"Building name",error:"Invalid"},view:{addStorey:"Add Storey",addFile:"Add File",addPlan:"Add Plan"},storeyForm:{title:"New storey",input:"Name",error:"Invalid name"}},Lxi={creationFormTitle:"Create folder",renameFormPlaceholder:"Folder/File name",nameInputPlaceholder:"Folder name",emptyFolder:"This folder is empty",newFolderSuccess:"New folder created",renameFolderSuccess:"Folder renamed",deleteFolderSuccess:"Folder deleted",newFileSuccess:"File added",renameFileSuccess:"File renamed",deleteFileSuccess:"File deleted",nameInputErrorMessage:"Invalid name",buttonText:"New folder",addFileButtonText:"Upload a file",deleteTitle:"Deleting Files",deleteDetail:"You are about to permanently delete the following files / folders",dmsRoot:"Root of the project's DMS",pdfPageSelectorTitle:"Select a page"},Dxi={title:"Meta-Building Structure",tab:{structure:"Structure",zones:"Zones",equipments:"Equipments"},StoreySelector:{placeholder:"Select a storey"}},_xi={title:"Photosphere Building"},Fxi={BIMDataComponents:Txi,BuildingMaker:Rxi,FileManager:Lxi,MetaBuildingStructure:Dxi,PhotosphereBuilding:_xi},Oxi={title:"Building Maker",back:"Vuelta",list:{text:"Cree y edite los pisos despu\xE9s cargue los PDF.",createButton:"Nuevo proyecto",updateButton:"Renombrar",deleteButton:"Suprimir"},form:{text:"Cree y edite los pisos despu\xE9s cargue los PDF.",input:"Nombre del edificio",error:"Nombre no v\xE1lido",createButton:"Crear",updateButton:"Validar"},view:{addStoreyButton:"Piso",addPlanButton:"Plano",closeButton:"Terminar",submitFilesButton:"Validar"},storeyForm:{title:"Nuevo piso",input:"Nombre",error:"Nombre no v\xE1lido",cancelButton:"Anular",submitButton:"Validar"}},Uxi={creationFormTitle:"Crear un archivo",renameFormPlaceholder:"Nombre de archivo / carpeta",nameInputPlaceholder:"Nombre de la carpeta",emptyFolder:"Esta carpeta est\xE1 vac\xEDa",newFolderSuccess:"Nueva carpeta creada",renameFolderSuccess:"Carpeta renombrada",deleteFolderSuccess:"Carpeta eliminada",newFileSuccess:"Archivo agregado",renameFileSuccess:"Archivo renombrado",deleteFileSuccess:"Archivo eliminado",nameInputErrorMessage:"Nombre inv\xE1lida",cancel:"Cancelar",submit:"Validar",buttonText:"Carpeta nueva",addFileButtonText:"Cargar un archivo",rename:"Renombrar",view:"Ver",download:"Descargar",delete:"Borrar",deleteTitle:"Eliminar archivos",deleteDetail:"Est\xE1 a punto de eliminar permanentemente los siguientes archivos / carpetas"},Nxi={BuildingMaker:Oxi,FileManager:Uxi},jxi={t:{back:"Retour",cancel:"Annuler",create:"Cr\xE9er",delete:"Supprimer",download:"T\xE9l\xE9charger",finish:"Terminer",rename:"Renommer",search:"Rechercher",see:"Voir",storey:"\xC9tage",validate:"Valider"}},Vxi={title:"Building Maker",list:{text:"Cr\xE9ez et \xE9ditez les \xE9tages puis t\xE9l\xE9chagez vos PDF.",new:"Nouveau projet"},form:{input:"Nom du b\xE2timent",error:"Nom invalide"},view:{addStorey:"Ajouter un \xC9tage",addFile:"Ajouter un fichier",addPlan:"Ajouter un plan"},storeyForm:{title:"Nouvel \xE9tage",input:"Nom",error:"Nom invalide"}},zxi={creationFormTitle:"Cr\xE9er un dossier",renameFormPlaceholder:"Nom du fichier/dosier",nameInputPlaceholder:"Nom du dossier",emptyFolder:"Ce dossier est vide",newFolderSuccess:"Nouveau dossier cr\xE9\xE9",renameFolderSuccess:"Dossier renomm\xE9",deleteFolderSuccess:"Dossier supprim\xE9",newFileSuccess:"Fichier ajout\xE9",renameFileSuccess:"Fichier renomm\xE9",deleteFileSuccess:"Fichier supprim\xE9",nameInputErrorMessage:"Nom invalide",buttonText:"Nouveau dossier",addFileButtonText:"Charger un fichier",deleteTitle:"Supression de fichiers",deleteDetail:"Vous \xEAtes sur le point de supprimer d\xE9finitivement les fichiers/dossiers suivants",dmsRoot:"Racine de la GED du projet",pdfPageSelectorTitle:"S\xE9lectionner une page"},Hxi={title:"Structure M\xE9ta-Building",tab:{structure:"Structure",zones:"Zones",equipments:"\xC9quipements"},StoreySelector:{placeholder:"S\xE9lectionner un \xE9tage"}},qxi={title:"Photosph\xE8re Building"},Qxi={BIMDataComponents:jxi,BuildingMaker:Vxi,FileManager:zxi,MetaBuildingStructure:Hxi,PhotosphereBuilding:qxi},Gxi={title:"Building Maker",back:"Reso",list:{text:"Crea e modifica i piani e poi scarica i tuoi PDF.",createButton:"Nuovo progetto",updateButton:"Rinominare",deleteButton:"Eliminare"},form:{text:"Crea e modifica i piani e poi scarica i tuoi PDF.",input:"Nome della costruzione",error:"Nome non corretto",createButton:"Creare",updateButton:"Convalidare"},view:{addStoreyButton:"Piano",addPlanButton:"Mappa",closeButton:"Finire",submitFilesButton:"Convalidare"},storeyForm:{title:"Nuovo piano",input:"Nome",error:"Nome non corretto",cancelButton:"Annullare",submitButton:"Convalidare"}},Kxi={creationFormTitle:"Crea una cartella",renameFormPlaceholder:"Nome file/cartella",nameInputPlaceholder:"Nome della cartella",emptyFolder:"Questa cartella \xE8 vuota",newFolderSuccess:"Nuova cartella creata",renameFolderSuccess:"Cartella rinominata",deleteFolderSuccess:"Cartella eliminata",newFileSuccess:"File aggiunto",renameFileSuccess:"File rinominato",deleteFileSuccess:"File cancellato",nameInputErrorMessage:"Nome non valido",cancel:"Annulla",submit:"Invia",buttonText:"Nuova cartella",addFileButtonText:"Carica un file",rename:"Rinominare",view:"Vedere",download:"Scaricare",delete:"Cancellare",deleteTitle:"Eliminazione di file",deleteDetail:"Stai per eliminare definitivamente i seguenti file/cartelle"},Jxi={BuildingMaker:Gxi,FileManager:Kxi},Zxi={de:Sxi,en:Fxi,es:Nxi,fr:Qxi,it:Jxi},Wxi=({i18nPlugin:t}={})=>({install(e){t?Object.entries(Zxi).forEach(([i,o])=>{t.global.mergeLocaleMessage(i,o)}):console.warn("[BIMData Components Plugin] No i18n instance provided. You should either provide an i18n instance or define your own translations in order have text displayed properly."),Object.entries(pai).forEach(([i,o])=>{e.component(i,o)})}}),Yxi={beforeMount(t,e){if(typeof e.value!="function")throw Error(`click away directive needs function, got ${typeof e.value}`);t.clickAwayHandler=i=>{(i.path||i.composedPath&&i.composedPath()).find(o=>o===t)||e.value()},window.addEventListener("mousedown",t.clickAwayHandler,!0)},unmounted(t){window.removeEventListener("mousedown",t.clickAwayHandler,!0),delete t.clickAwayHandler}},Xxi=Object.freeze(Object.defineProperty({__proto__:null,BIMDataClickAway:$s,BIMDataClickInputAway:Yxi},Symbol.toStringTag,{value:"Module"})),$xi=t=>({install(e){Object.entries(vtt).forEach(([i,o])=>{e.component(i,o)}),Object.entries(Xxi).forEach(([i,o])=>e.directive(i.split("BIMData")[1],o))}}),eki={name:"LiWrapper",render(){return mo("li",this.$slots.default())}};function tki(t,e){var i=new Set([]);return t.forEach(o=>{e.has(o)||i.add(o)}),i}const Tl=$r("id"),iki=({contextMenu:t,objects:e=[],state:i=t.$viewer.state,pictos:o})=>[{name:"selectAll",get group(){return t.groupPositions.select},position:1,get label(){return t.$t("context_menu.select_all")},get picto(){return o.get(this.name)},execute:()=>i.selectObjects(e.filter(Ns(Pi("visible"),wu("selected"))).map(Tl)),predicate:()=>e.some(Ns(Pi("visible"),wu("selected")))},{name:"deselectAll",get group(){return t.groupPositions.select},position:2,get label(){return t.$t("context_menu.deselect_all")},get picto(){return o.get(this.name)},execute:()=>i.deselectObjects(e.filter(Pi("selected")).map(Tl)),predicate:()=>e.some(Pi("selected"))},{name:"selectSimilar",get group(){return t.groupPositions.select},position:3,get label(){return t.$t("context_menu.select_similar")},get picto(){return o.get(this.name)},execute(){const r=e.filter(n=>n.visible&&n.type===this.selectedObject.type&&n.id!==this.selectedObject.id).map(Tl);i.selectObjects(r)},selectedObject:null,predicate(){const r=e.filter(Ns(Pi("visible"),Pi("selected")));return r.length===1&&r[0].type!==void 0?(this.selectedObject=r[0],!0):(this.selectedObject=null,!1)}},{name:"reverseSelection",get label(){return t.$t("context_menu.reverse_selection")},get group(){return t.groupPositions.select},position:4,execute:()=>{const r=new Set(e.filter(Pi("selected")).map(Tl)),n=new Set(e.filter(Pi("visible")).map(Tl));i.selectObjects(Array.from(tki(n,r)),{exclusive:!0})},predicate:()=>e.some(Ns(wu("selected"),Pi("visible")))&&e.some(Ns(Pi("selected"),Pi("visible")))},{name:"showAll",get group(){return t.groupPositions.visibility},position:1,get label(){return t.$t("context_menu.show_all")},get picto(){return o.get(this.name)},execute:()=>i.showObjects(e.filter(wu("visible")).map(Tl)),predicate:()=>e.some(wu("visible"))},{name:"hide",get group(){return t.groupPositions.visibility},position:2,get label(){return t.$t("context_menu.hide")},get picto(){return o.get(this.name)},objectsToHide:null,execute(){const r=this.objectsToHide.filter(Pi("selected"));r.length>0&&i.deselectObjects(r.map(Tl)),i.hideObjects(this.objectsToHide.map(Tl))},predicate(){return this.objectsToHide=e.filter(Ns(Pi("selected"),Pi("visible"))),this.objectsToHide.length>0}},{name:"hideAll",get group(){return t.groupPositions.visibility},position:3,get label(){return t.$t("context_menu.hide_all")},execute:()=>{const r=e.filter(Pi("visible"));r.some(Pi("selected"))&&i.deselectObjects(r.filter(Pi("selected")).map(Tl)),i.hideObjects(r.map(Tl))},predicate:()=>e.some(Pi("visible"))}].filter(r=>r.predicate()),oki={components:{LiWrapper:eki},inject:["$viewer"],data(){return{defaultPrevented:!1,displayed:!1,top:null,bottom:null,left:null,width:200,nextCommandId:1,currentCommands:[],contextCommands:[],registeredCommands:[],groupPositions:{select:10,visibility:20},asyncPredicateRunning:!1}},computed:{position(){return{top:this.top?this.top+"px":"unset",bottom:this.bottom?this.bottom+"px":"unset",left:this.left+"px",width:this.width+"px"}}},watch:{displayed(t){t?document.addEventListener("keydown",this.onKeyDown):document.removeEventListener("keydown",this.onKeyDown)}},created(){this.$viewer.contextMenu=this,this.asyncPredicates=new Set},methods:{onKeyDown(t){t.key==="Escape"&&this.away()},setPosition(t){const e=(document.fullscreenElement?document.fullscreenElement:this.$parent.$el).getBoundingClientRect();this.left=t.clientX-e.left,this.top=t.clientY-e.top,this.left+this.width>e.width&&(this.left=this.left-this.width),t.clientY>e.top+e.height/2?(this.bottom=e.height-this.top,this.top=null):this.bottom=null},typeCheckCommand(t={}){let e=null;if((!t.execute||typeof t.execute!="function")&!t.component&&(e="Cannot register context menu command. A command must have an execute function or a component property."),t.label||(e="Cannot register context menu command. A command must have a label."),e)throw console.error(e),new Error(e);return t.id=this.nextCommandId++,t},open(t){this.currentCommands=[],this.setPosition(t),this.originEvent=t,t.preventDefault(),this.setCurrentCommands(),this.groupCurrentCommands(),this.defaultPrevented=!1,this.displayed=!0,document.fullscreenElement?(this.$el.parentElement.removeChild(this.$el),this.adoptiveParent=document.fullscreenElement,this.adoptiveParent.appendChild(this.$el)):this.adoptiveParent&&this.adoptiveParent!==this.$viewer.globalContext.el&&(this.adoptiveParent.removeChild(this.$el),this.$viewer.globalContext.el.appendChild(this.$el),this.adoptiveParent=null)},setCurrentCommands(){this.asyncPredicates.clear(),this.asyncPredicateRunning=!1,this.defaultPrevented||this.registeredCommands.forEach(async t=>{if(typeof t.predicate=="function"){const e=t.predicate(this.$viewer.globalContext.activeLocalContext);if(e===!0)this.currentCommands.push(t);else if(typeof e?.then=="function"){this.asyncPredicates.add(e),this.asyncPredicateRunning=!0;const i=await e;this.asyncPredicates.has(e)&&(this.asyncPredicates.delete(e),this.asyncPredicateRunning=this.asyncPredicates.size>0,i===!0&&this.currentCommands.push(t))}}else this.currentCommands.push(t)}),this.currentCommands.push(...this.contextCommands),this.contextCommands=[]},getDefaultCommands({objects:t=[],state:e=this.$viewer.state,context:i=null}){const o=new Map;return i&&this.$viewer.shortcutManager.getShortcuts(i).forEach(r=>o.set(r.name,r.key)),iki({contextMenu:this,objects:t,state:e,pictos:o})},executeCommand(t){if(t.execute&&(t.execute(this.originEvent),this.displayed=!1),t.component&&!t.menu)throw new Error("Command with component property must have a `menu` property")},away(){this.displayed=!1},groupCurrentCommands(){const t=new Map;this.currentCommands.forEach(i=>{(i.group===null||i.group===void 0)&&(i.group=0),t.has(i.group)?t.get(i.group).push(i):t.set(i.group,[i])}),t.forEach(i=>i.sort((o,r)=>(o.position=o.position||0,r.position=r.position||0,o.position-r.position)));const e=[...t.keys()].sort((i,o)=>i-o).map(i=>t.get(i)).flat();this.currentCommands=e},isGroupIntersection(t){if(t===0)return!1;const e=this.currentCommands[t-1],i=this.currentCommands[t];return e.group<i.group},registerContextCommand(t){const e=this.typeCheckCommand(t);return this.contextCommands.push(e),t.id},registerCommand(t){const e=this.typeCheckCommand(t);return this.registeredCommands.push(e),t.id},unregisterCommand(t){return this.registeredCommands.find(e=>e.id===t)?(this.registeredCommands=this.registeredCommands.filter(e=>e.id!==t),!0):!1},preventDefault(){this.defaultPrevented=!0}}},rki={key:0,class:"separator"},nki={class:"menu-text"},aki={key:1,class:"menu-picto"},ski={key:0,class:"context-menu__spinner"};function lki(t,e,i,o,r,n){const a=I("BIMDataIconChevron"),s=I("LiWrapper"),l=I("BIMDataSpinner"),c=si("click-away");return r.displayed&&(r.currentCommands.length||r.asyncPredicateRunning)?yt((M(),_("ul",{key:0,class:"bimdata-list context-menu",style:ce(n.position)},[(M(!0),_(Ye,null,Mt(r.currentCommands,(d,u)=>(M(),G(s,{key:d.label,class:"context-menu__element",onClick:h=>n.executeCommand(d)},{default:N(()=>[n.isGroupIntersection(u)?(M(),_("div",rki)):te("",!0),w("div",nki,z(d.label),1),!d.component&&d.picto?(M(),_("span",aki,z(d.picto),1)):d.component?(M(),G(a,{key:2,size:"xxs",class:"fill-primary"})):te("",!0)]),_:2},1032,["onClick"]))),128)),r.asyncPredicateRunning?(M(),_("li",ski,[S(l)])):te("",!0)],4)),[[c,n.away]]):te("",!0)}const cki=j(oki,[["render",lki],["__scopeId","data-v-5b87d4a3"]]),dki={name:"ViewerHeader",inject:["$viewer"],props:{visible:{type:Boolean,default:!0}},setup(){const t=at("$viewer"),e=hr(new Map),i=r=>{if(!r.name)throw new TypeError("[Viewer Header] Content must have a name");if(e.has(r.name))throw new Error(`[Viewer Header] Content with name ${r.name} already exists`);e.set(r.name,r)},o=r=>e.has(r)?(e.delete(r),!0):!1;return{logo:t.uiSettings.bimdataLogo!==!1,version:t.uiSettings.version!==!1?t.version:null,headerContent:e,headerRightContentComponents:Re(()=>Array.from(e.values()).filter(r=>r.position==="right").sort((r,n)=>r.order-n.order).map(r=>r.component)),headerLeftContentComponents:Re(()=>Array.from(e.values()).filter(r=>r.position==="left").sort((r,n)=>r.order-n.order).map(r=>r.component)),addContent:i,removeContent:o}}},uki={class:"viewer-header"},hki={class:"viewer-header__content"},pki={class:"viewer-header__content__left"},fki={class:"viewer-header__content__right"},Aki={key:0,class:"m-l-6 flex items-center"},gki={key:1,class:"viewer-header__version"};function mki(t,e,i,o,r,n){const a=I("BIMDataIllustration");return yt((M(),_("div",uki,[w("div",hki,[w("div",pki,[(M(!0),_(Ye,null,Mt(o.headerLeftContentComponents,s=>(M(),G(go(s),{key:s.name}))),128))]),w("div",fki,[(M(!0),_(Ye,null,Mt(o.headerRightContentComponents,s=>(M(),G(go(s),{key:s.name}))),128))])]),o.logo||o.version?(M(),_("div",Aki,[o.logo?(M(),G(a,{key:0,name:"logo",width:"30px",height:"30px"})):te("",!0),o.version?(M(),_("div",gki,z(o.version),1)):te("",!0)])):te("",!0)],512)),[[Ht,i.visible]])}const vki=j(dki,[["render",mki],["__scopeId","data-v-5c9ea6b6"]]),yki={emits:["resize"],setup(t,{emit:e}){return{onResizerMousedown:i=>{i.preventDefault();let o=i.clientX;const r=a=>{a.preventDefault();const s=a.clientX-o;o=a.clientX,e("resize",s)},n=a=>{a.preventDefault(),window.removeEventListener("mousemove",r),window.removeEventListener("mouseup",n)};window.addEventListener("mousemove",r),window.addEventListener("mouseup",n)}}}},bki={class:"bimdata-separator"};function wki(t,e,i,o,r,n){return M(),_("div",bki,[e[1]||(e[1]=w("div",{class:"bimdata-separator__line"},null,-1)),w("div",{class:"bimdata-separator__resizer",onMousedown:e[0]||(e[0]=(...a)=>o.onResizerMousedown&&o.onResizerMousedown(...a))},null,32)])}const Cki=j(yki,[["render",wki],["__scopeId","data-v-79a3b3af"]]),xki={components:{Separator:Cki},props:{position:{type:String,required:!0,validator(t){return["left","right"].includes(t)}},sidePanel:{type:Object,required:!0,validator(t){if(t.width&&(typeof t.width!="number"||t.width<0))return console.error(`[GlobalSidePanel] sidePanel.width must be a strictly positive number, received ${typeof t.width}`),!1;const e=typeof t?.component=="object";return e||console.error("[GlobalSidePanel] sidePanel must have a component property"),e}}},setup(t){const e=re(null),i=re(t.sidePanel.width??400),o=(r,n=1)=>{const a=i.value+r*n;i.value=Math.max(0,a)};return dt(()=>t.sidePanel,()=>{Object.defineProperty(t.sidePanel,"width",{get(){return i.value},set(r){if(typeof r!="number"||r<=0){console.error(`[GlobalSidePanel] sidePanel.width must be a strictly positive number, received ${typeof r}`);return}i.value=r}}),Object.defineProperty(t.sidePanel,"componentInstance",{get(){return e.value},enumerable:!0})},{immediate:!0}),{componentInstance:e,width:i,onResize:o}}},kki={class:"bimdata-global-side-panel__component"};function Mki(t,e,i,o,r,n){const a=I("Separator");return M(),_("div",{class:"bimdata-global-side-panel",style:ce(`width: ${o.width}px`)},[i.sidePanel.resizable&&i.position==="right"?(M(),G(a,{key:0,onResize:e[0]||(e[0]=s=>o.onResize(s,-1))})):te("",!0),w("div",kki,[(M(),G(go(i.sidePanel.component),{ref:"componentInstance"},null,512))]),i.sidePanel.resizable&&i.position==="left"?(M(),G(a,{key:1,onResize:e[1]||(e[1]=s=>o.onResize(s))})):te("",!0)],4)}const Eki=j(xki,[["render",Mki],["__scopeId","data-v-82d0d4cb"]]),Bki={name:"BimdataViewer",components:{ContextMenu:cki,ViewerHeader:vki,ModalManager:Qge,GlobalSidePanel:Eki},setup(){const t=at("$viewer"),{globalContext:e,shortcutManager:i}=t;bi(()=>{i&&i.destroy(),e.hub.clear()}),ni(()=>{t.pluginManager.runPluginsScripts(t)});const o=Re(()=>t.uiSettings.bimdataLogo!==!1&&(e.localContexts.length!==1||e.localContexts[0].window?.logoAndVersion)),r=Re(()=>t.uiSettings.version!==!1&&(e.localContexts.length!==1||e.localContexts[0].window?.logoAndVersion)?t.version:null),n=Re(()=>e.leftSidePanel),a=Re(()=>e.rightSidePanel),s=Re(()=>{const p=t.uiSettings.header!==!1,A=e.localContexts.length===1&&e.localContexts[0].window?.header===!1,f=!!(n.value||a.value);return p&&(!A||f)}),l=t.uiSettings.contextMenu!==!1,c=re(null);function d(p){l&&c.value.open(p)}function u(){t.shortcutManager.active=!0}function h(){t.shortcutManager.active=!1}return{Layout:t.layout.areas.component,onContextMenu:d,onMouseenter:u,onMouseleave:h,isHeaderVisible:s,viewerTemplateRef:e.templateRef,modalManagerTemplateRef:e.modalManagerTemplateRef,headerTemplateRef:e.headerTemplateRef,contextMenuTemplateRef:c,contextMenuEnabled:l,bimdataLogoOnSingleWindow:o,viewerVersionOnSingleWindow:r,version:t.version,loading:Re(()=>e.loading),spinner:Re(()=>e.spinner),leftSidePanel:n,rightSidePanel:a}}},Pki={key:1,class:"bimdata-context-loading-overlay",style:{"z-index":"3"}},Iki={key:2,class:"viewer__logo"},Ski={key:1,class:"version m-t-6"};function Tki(t,e,i,o,r,n){const a=I("ModalManager"),s=I("ContextMenu"),l=I("ViewerHeader"),c=I("GlobalSidePanel"),d=I("BIMDataSpinner"),u=I("BIMDataIllustration");return M(),_("div",{id:"bimdata-viewer",ref:"viewerTemplateRef",class:"bimdata-viewer bimdata-design-system bimdata-scrollbar",onContextmenu:e[0]||(e[0]=(...h)=>o.onContextMenu&&o.onContextMenu(...h)),onMouseenter:e[1]||(e[1]=(...h)=>o.onMouseenter&&o.onMouseenter(...h)),onMouseleave:e[2]||(e[2]=(...h)=>o.onMouseleave&&o.onMouseleave(...h))},[S(a,{ref:"modalManagerTemplateRef"},null,512),o.contextMenuEnabled?(M(),G(s,{key:0,ref:"contextMenuTemplateRef"},null,512)):te("",!0),S(l,{ref:"headerTemplateRef",visible:o.isHeaderVisible},null,8,["visible"]),w("div",{class:"bimdata-viewer__content",style:ce(o.isHeaderVisible?"height: calc(100% - var(--bimdata-viewer-header-height, 40px))":"height: 100%")},[o.leftSidePanel?(M(),G(c,{key:0,"side-panel":o.leftSidePanel,position:"left"},null,8,["side-panel"])):te("",!0),(M(),G(go(o.Layout),{style:"height: 100%; flex-grow: 1;"})),o.rightSidePanel?(M(),G(c,{key:1,"side-panel":o.rightSidePanel,position:"right"},null,8,["side-panel"])):te("",!0)],4),o.loading?(M(),_("div",Pki,[o.spinner&&o.spinner.component?(M(),G(go(o.spinner.component),Ta(xn({key:0},o.spinner.props)),null,16)):(M(),G(d,{key:1,size:"40px",border:"5px"}))])):te("",!0),!o.isHeaderVisible&&(o.bimdataLogoOnSingleWindow||o.viewerVersionOnSingleWindow)?(M(),_("div",Iki,[o.bimdataLogoOnSingleWindow?(M(),G(u,{key:0,name:"logo"})):te("",!0),o.viewerVersionOnSingleWindow?(M(),_("div",Ski,z(o.version),1)):te("",!0)])):te("",!0)],544)}const Rki=j(Bki,[["render",Tki],["__scopeId","data-v-0c1c941a"]]),Lki=["src"],Dki={class:"bimdata-models__header"},_ki={key:0,class:"bimdata-models__header__loader"},Fki={class:"bimdata-models__header__picto"},Oki={class:"bimdata-models__header__name"},Uki={key:0,class:"bimdata-models__header__name--empty"},Nki={key:1,class:"bimdata-models__header__name--empty"},jki={key:3},Vki=["onMousemove","onClick"],zki={__name:"Models",props:{preview:{type:Boolean,default:!1},windowPositioning:{type:Boolean,default:!0},customFilter:{type:Function,default:null},width:{type:String,default:"350px"}},setup(t){const e=t,i=at("$viewer"),o=re(),r=re(0),n=re(0),a=re(),s=di([]),l=re(!1),c=Re(()=>i.localContext.loadedModels),d=Re(()=>i.localContext.loadedModelIds),u=Re(()=>i.localContext.loadingModelIds),h=Re(()=>i.localContext.multiModel),p=Re(()=>(e.customFilter?s.value.filter(e.customFilter):s.value).map(k=>c.value.find(E=>E.document?.head_id!=null&&E.document.head_id===k.document.id)??k)),A=k=>d.value.includes(k),f=k=>u.value.includes(k),m=Re(()=>{const{x:k,y:E}=a.value?.getBoundingClientRect()??{x:0,y:0};return`top:${n.value-E}px; left:${r.value-k}px;`}),g=k=>{!h.value&&A(k.id)||u.value.length>0||(i.localContext.loadedModelIds.includes(k.id)?i.localContext.unloadModels([k.id]):i.localContext.loadModels([k.id]))},y=k=>{switch(k){case"C":return"success";case"E":return"failed";case"P":case"I":return"sandglass"}},v=(k,E)=>{k?.viewer_360_file&&(r.value=E.clientX,n.value=E.clientY),o.value=k?.viewer_360_file},b=async k=>{l.value=!0;try{return(await i.api.apiClient.modelApi.getModels(i.api.cloudId,i.api.projectId,void 0,void 0,k)).filter(E=>i.state.models.some(B=>B.archived)||!E.archived).sort(rl("updated_at",!1))}catch(E){console.error("[Models] Cannot get project models. Error: ",E)}finally{l.value=!1}return[]},x=k=>k.children?.some(E=>A(E.id))??!1;return b(i.localContext.modelTypes).then(k=>{s.value=k}),(k,E)=>{const B=I("BIMDataSpinner"),P=I("BIMDataIconModel3D"),T=I("BIMDataTextbox"),R=I("BIMDataCheckbox"),L=I("BIMDataRadio"),F=I("BIMDataIcon"),U=I("BIMDataDropdownList");return M(),_("div",{ref_key:"templateRef",ref:a,class:de(["bimdata-models",{"bimdata-models--window-positioning":t.windowPositioning}])},[o.value?(M(),_("div",{key:0,class:"bimdata-models__preview",style:ce(m.value)},[w("img",{src:o.value},null,8,Lki)],4)):te("",!0),S(U,{style:ce(`--bimdata-models-width: ${t.width};`),width:t.width,list:p.value,"element-key":"id","per-page":40,loading:l.value,class:"bimdata-models__list",disabled:p.value.length===0,onElementClick:g},{header:N(({isOpen:q})=>[w("div",Dki,[l.value||u.value.length>0?(M(),_("div",_ki,[S(B)])):(M(),_(Ye,{key:1},[w("div",Fki,[S(P)]),w("div",{class:de(["bimdata-models__header__number bimdata-info-length",{"bimdata-models__header__number--empty":d.value.length===0}])},[w("span",null,z(d.value.length),1)],2),w("div",Oki,[p.value.length===0?(M(),_("span",Uki,z(k.$t("model.no_model")),1)):d.value.length===0?(M(),_("span",Nki,z(k.$t("model.no_loaded_model")),1)):d.value.length===1?(M(),G(T,{key:2,text:c.value[0].name,tooltip:!q},null,8,["text","tooltip"])):d.value.length>1?(M(),_("span",jki,z(k.$t("model.selected_models")),1)):te("",!0)])],64))])]),element:N(({element:q,close:V})=>[w("div",{class:"bimdata-models__model",onMousemove:W=>t.preview&&v(q,W),onMouseout:E[0]||(E[0]=W=>t.preview&&v()),onClick:()=>{!h.value&&!A(q.id)&&V()}},[h.value?(M(),G(R,{key:0,"model-value":A(q.id)||x(q),disabled:q.status!=="C"||u.value.length>0},null,8,["model-value","disabled"])):(M(),G(L,{key:1,"model-value":A(q.id)||x(q),disabled:q.status!=="C"||u.value.length>0},null,8,["model-value","disabled"])),S(F,{margin:"0 calc(var(--spacing-unit) / 2)",name:y(q.status),size:"xs",class:de({"fill-success":q.status==="C","fill-high":q.status==="E"})},null,8,["name","class"]),S(T,{class:de({"bimdata-models__model__name":!0,"bimdata-models__model__name--disabled":q.status!=="C"||u.value.length>0}),text:q.name,width:`calc(100% -
6436
+ `),onMouseenter:e[0]||(e[0]=(...h)=>o.onMouseEnter&&o.onMouseEnter(...h)),onMouseleave:e[1]||(e[1]=(...h)=>o.onMouseLeave&&o.onMouseLeave(...h))},[S(a,{ref:"modalManagerTemplateRef"},null,512),w("div",ixi,[o.windowPlugins.leftSidePanel?(M(),G(s,{key:0,plugin:o.windowPlugins.leftSidePanel},null,8,["plugin"])):te("",!0),w("div",oxi,[(M(!0),_(Ye,null,Mt(o.windowPlugins.free,h=>(M(),G(l,{key:h.name,class:de({"window-container__content__center__viewer":h.isViewer}),plugin:h},null,8,["class","plugin"]))),128)),S(c,{position:"left",plugins:o.windowPlugins.leftButtonColumn},null,8,["plugins"]),S(c,{position:"right",plugins:o.windowPlugins.rightButtonColumn},null,8,["plugins"])]),o.windowPlugins.rightSidePanel?(M(),G(s,{key:1,plugin:o.windowPlugins.rightSidePanel},null,8,["plugin"])):te("",!0)]),o.loading?(M(),_("div",rxi,[o.spinner&&o.spinner.component?(M(),G(go(o.spinner.component),Ta(xn({key:0},o.spinner.props)),null,16)):(M(),G(d,{key:1,size:"20px",border:"3px"}))])):te("",!0),o.layoutSettingsDisplayed?(M(),_("div",nxi,[S(u)])):te("",!0)],36)}const sxi=j(txi,[["render",axi],["__scopeId","data-v-485f288e"]]);class lxi{constructor(e=!0){const i=Zwi(kz,null,{resizable:e});i.registerContent("default",sxi),this.settings=hr({edit:!1,swap:!1,full:!1}),this.areas=i}get resizable(){return this.areas.resizable}set resizable(e){this.areas.resizable=e}apply(e=null){this.areas.layout=e?Wwi(e):null}copy(e,i=!0){return Ywi(this.areas.layout,e,i)}open({ratio:e,direction:i,insertAfter:o,windowName:r=null,windowState:n=null,localContextId:a=null}={}){const s=r?{options:{windowName:r,windowState:n}}:null;return a===null?this.areas.splitLayout(e,i,o,s):this.areas.split(a,e,i,o,s)}swap(e,i){return this.areas.swap(e,i)}close(e){return this.areas.delete(e)}compare(e,i){if(!e&&!i)return!0;if(!e||!i)return!1;if(typeof e=="string"&&typeof i=="string")return e===i;if(typeof e=="string"||typeof i=="string")return!1;if(e.windowName&&i.windowName){if(e.windowName!==i.windowName)return!1;const o=new Set(e.windowState?.modelIds),r=new Set(i.windowState?.modelIds);return o.size===r.size&&[...o].every(n=>r.has(n))}return e.windowName||i.windowName||e.direction!==i.direction||e.children.length!==i.children.length?!1:e.children.every((o,r)=>this.compare(o,i.children[r]))}}const cxi="2.17.0-beta.2",dxi={version:cxi};let uxi=1;class hxi{math=qpt;constructor({plugins:e,api:i,ui:o,locale:r="fr"}){this.instanceId=uxi++,this.pluginManager=new U8i(e),this.windowManager=new j8i,this.windowManager.registerAndAddPluginsToWindows([...this.pluginManager.registeredPlugins.values()]),this.api=new twi(i),this.globalContext=new _8e(this),this.state=fwi(this),this.shortcutManager=Pme(this.state),this.uiSettings=o||{},this.i18n=new L8e(r),this._contextMenu=null,this.layout=new lxi(this.uiSettings.resizable!==!1),this._darkTheme=re(o?.darkTheme??!1),this.localContext=null,window.$viewer=this}get darkTheme(){return this._darkTheme.value}set darkTheme(e){this._darkTheme.value=e}get version(){return dxi.version}get locale(){return this.i18n.locale}get contextMenu(){return this._contextMenu||Eme}set contextMenu(e){this._contextMenu=e}get registeredWindows(){return[...this.windowManager.registeredWindows.keys()]}get registeredPlugins(){return[...this.pluginManager.registeredPlugins.keys()]}get pluginsCfg(){return this.pluginManager.cfg}registerPlugin(e){this.pluginManager.registerPlugin(e),this.windowManager.registerAndAddPluginsToWindows([e])}}function pxi(t,e={}){e.backgroundColor&&(t.style.setProperty("--bimdata-viewer-background-color",e.backgroundColor),e.backgroundColor==="transparent"&&t.style.setProperty("--areas-separator-color","transparent")),e.colorPrimary&&t.style.setProperty("--color-primary",e.colorPrimary),e.colorPrimaryLighter&&t.style.setProperty("--color-primary-lighter",e.colorPrimaryLighter),e.colorPrimaryLight&&t.style.setProperty("--color-primary-light",e.colorPrimaryLight),e.colorPrimaryDark&&t.style.setProperty("--color-primary-dark",e.colorPrimaryDark),e.colorSecondary&&t.style.setProperty("--color-secondary",e.colorSecondary),e.colorSecondaryLighter&&t.style.setProperty("--color-secondary-lighter",e.colorSecondaryLighter),e.colorSecondaryLight&&t.style.setProperty("--color-secondary-light",e.colorSecondaryLight),e.colorSecondaryDark&&t.style.setProperty("--color-secondary-dark",e.colorSecondaryDark),e.colorSilverLight&&t.style.setProperty("--color-silver-light",e.colorSilverLight),e.colorSilver&&t.style.setProperty("--color-silver",e.colorSilver),e.colorSilverDark&&t.style.setProperty("--color-silver-dark",e.colorSilverDark),e.colorGraniteLight&&t.style.setProperty("--color-granite-light",e.colorGraniteLight),e.colorGranite&&t.style.setProperty("--color-granite",e.colorGranite),e.colorSuccess&&t.style.setProperty("--color-success",e.colorSuccess),e.colorSuccessLighter&&t.style.setProperty("--color-success-Lighter",e.colorSuccessLighter),e.colorSuccessLight&&t.style.setProperty("--color-success-Light",e.colorSuccessLight),e.colorSuccessDark&&t.style.setProperty("--color-success-Dark",e.colorSuccessDark),e.colorWarning&&t.style.setProperty("--color-warning",e.colorWarning),e.colorWarningLighter&&t.style.setProperty("--color-warning-Lighter",e.colorWarningLighter),e.colorWarningLight&&t.style.setProperty("--color-warning-Light",e.colorWarningLight),e.colorWarningDark&&t.style.setProperty("--color-warning-Dark",e.colorWarningDark),e.colorHigh&&t.style.setProperty("--color-high",e.colorHigh),e.colorHighLighter&&t.style.setProperty("--color-high-lighter",e.colorHighLighter),e.colorHighLight&&t.style.setProperty("--color-high-light",e.colorHighLight),e.colorHighDark&&t.style.setProperty("--color-high-dark",e.colorHighDark),e.colorText&&t.style.setProperty("--color-text",e.colorText),(!e.backgroundColor||e.backgroundColor!=="transparent")&&t.style.setProperty("--areas-separator-color","rgba(216, 216, 216, 1)"),e.headerHeight!=null&&t.style.setProperty("--bimdata-viewer-header-height",e.headerHeight),t.style.setProperty("--areas-background-color","transparent")}const fxi=Object.freeze({25:"GUEST",50:"USER",100:"ADMIN"}),um=Object.freeze({READ:"read",WRITE:"write"});function Jge(t){const e={};return t.forEach(i=>{const[o,r]=i.split(":");e[o]?e[o].push(r):e[o]=[r]}),e}const Axi={token_scopes:[],usable_scopes:[],user_role:25};function Zge(t=Axi){const e=Jge(t.token_scopes),i=Jge(t.usable_scopes);return{...EK(t),tokenScopes:e,usableScopes:i,userRole:fxi[t.user_role],user:t.user?EK(t.user):null,hasBcfReadPermission:i.bcf?.includes(um.READ)??!1,hasBcfWritePermission:i.bcf?.includes(um.WRITE)??!1,hasModelReadPermission:i.model?.includes(um.READ)??!1,hasModelWritePermission:i.model?.includes(um.WRITE)??!1,hasDocReadPermission:i.document?.includes(um.READ)??!1,hasDocWritePermission:i.document?.includes(um.WRITE)??!1}}const gxi={back:"Zur\xFCck",BcfFilters:{filtersButton:"Filter",filtersTitle:"Filter",priorityLabel:"Priorit\xE4t",statusLabel:"Status",stageLabel:"Phase",assignedToLabel:"Zugewiesen an",creatorsLabel:"Erstellt von",tagsLabel:"Tags",resetButton:"Zur\xFCcksetzen",searchButton:"Suchen",undefined:"Nicht definiert",datePlaceholder:"Erstellungsdatum"},BcfSettings:{title:"BCF-Parameter",text:"Erstellen, f\xFCllen und listen Sie die BCF-Einstellungen auf, die Sie f\xFCr dieses Projekt haben m\xF6chten.",validateButton:"Die BCF-Parameter anerkennen"},BcfStatistics:{emptyText:"F\xFCgen Sie Fragen hinzu, um zugeh\xF6rige Statistiken hier anzuzeigen.",issues:"Probleme",extension:{Priority:"Priorit\xE4t",PriorityNotDefined:"Keine Priorit\xE4t",PriorityTitle:"Priorit\xE4ten",Status:"Status",StatusNotDefined:"Kein Status",StatusTitle:"Status"}},BcfTopicCard:{priority:"Priorit\xE4t",noPriority:"Keine",assignedTo:"Zugewiesen an",elements:"Elemente",notSpecified:"Nicht definiert",see:"Anzeigen"},BcfTopicCreationCard:{text:"Ein neues BCF-Thema erstellen",createBcfSideTitle:"Ein Problem melden"},BcfTopicForm:{dragDropImageText:"Bitte w\xE4hlen Sie eine Datei aus.",addObjectButton:"Objekt",addAnnotationButton:"Annotation",annotationButtonTooltip:"Zu diesem Thema gibt es derzeit keine Ansichten.",addPictureButton:"F\xFCgen Sie ein Bild hinzu.",titlePlaceholder:"Titel *",titleErrorMessage:"Titel fehlt",typeLabel:"Typ",priorityLabel:"Priorit\xE4t",statusLabel:"Status",stageLabel:"Phase",assignedToLabel:"Zugewiesen an",dueDateLabel:"F\xE4lligkeitsdatum (TT.MM.JJJJ)",descriptionLabel:"Beschreibung",labelsLabel:"Tags",createButton:"Best\xE4tigen",updateButton:"\xC4nderungen \xFCbernehmen",modalText:"Sie sind dabei, die Bearbeitung der Ausgabe {Name} zu beenden, aber es gibt noch ungespeicherte \xC4nderungen.",cancelButton:"\xC4nderungen verwerfen",continueButton:"\xC4nderungen fortsetzen",createTitle:"Ein Problem melden",dragDropImageTextTablet:"Foto machen",takeSnapshot:"Mach einen Schnappschuss",importFile:"Eine Datei importieren",searchPlaceholder:"Suchen",emptySearch:"kein Ergebnis",documentsLabel:"Dokumente",documentsCount:"Dokumente \u2013 {count} ausgew\xE4hlte Dokumente",groupsLabel:"Berechtigungen",groupsCount:"Berechtigungen \u2013 {count} ausgew\xE4hlte Gruppen",groupsText:"W\xE4hlen Sie die Benutzergruppen aus, die dieses Thema sehen und damit interagieren d\xFCrfen.",validate:"Best\xE4tigen"},BcfTopicOverview:{openViewer:"Im Viewer \xF6ffnen",openViewerNoModels:"Es sind keine Vorlagen zur Ansicht bereit",elements:"{count} Elemente",noElements:"kein Element",type:"Typ",noTypeSpecified:"Kein Typ angegeben",description:"Beschreibung",noDescriptionProvided:"Keine Beschreibung angegeben",assignedTo:"Zugeteilt an",notAssigned:"Nicht zugewiesen",dueDate:"F\xE4lligkeitsdatum",noDueDate:"Kein F\xE4lligkeitsdatum",informations:"Informationen",status:"Status",noStatusSpecified:"Kein Status angegeben",stage:"Phase",noStageProvided:"Keine Phase angegeben",priority:"Priorit\xE4t",priorityNotDefined:"Nicht definiert",tags:"Tags",noTags:"Keine Tags",commentButton:"Ein Kommentar ver\xF6ffentlichen",deleteText:"Sie l\xF6schen jetzt {Name}",deleteBcfButton:"Dieses BCF l\xF6schen",keepBcfButton:"Dieses BCF beibehalten",author:"Autor"},BcfTopicsTable:{headers:{index:"#",priority:"Priorit\xE4t",status:"Status",title:"Titel",creator:"Autor",date:"Datum"}},BcfTopicActionsCell:{seeButton:"Anzeigen"},BcfTopicComments:{commentButton:"Ein Kommentar verfassen",commentLabel:"Ein Kommentar verfassen",commentText:"Kommentar",cancelButton:"Abbrechen",publishButton:"Ver\xF6ffentlichen",commentsText:"Kommentare",deleteCommentText:"Diesen Kommentar l\xF6schen?",deleteButton:"L\xF6schen",takeSnapshot:"Mach einen Schnappschuss",edited:"bearbeitet"},BcfTopicPriorityCell:{noPriority:"Keine"},SettingCard:{addButton:"ein Element hinzuf\xFCgen",cancelButton:"Abbrechen",validateButton:"Best\xE4tigen",deleteExtensionText:"Diesen Parameter l\xF6schen",deleteButton:"L\xF6schen",title:{Priority:"Priorit\xE4ten",Label:"Tags",Status:"Status",Type:"Typen",Stage:"Phasen"},input:{Priority:"Eine neue Priorit\xE4t hinzuf\xFCgen",Label:"Ein neues Etikett hinzuf\xFCgen",Status:"Einen neuen Status hinzuf\xFCgen",Type:"Einen neuen Typ hinzuf\xFCgen",Stage:"Eine neue Phase hinzuf\xFCgen"},text:{Priority:"Liste der Priorit\xE4ten",Label:"Liste von Tags",Status:"Liste der Status",Type:"Liste der Typen",Stage:"Liste der Phasen"}}},mxi={BcfComponents:gxi},vxi={back:"Back",BcfFilters:{filtersButton:"Filters",filtersTitle:"Filters",priorityLabel:"Priority",statusLabel:"Status",stageLabel:"Stage",assignedToLabel:"Assigned to",creatorsLabel:"Created by",tagsLabel:"Tags",resetButton:"Reset",searchButton:"Search",undefined:"Not defined",datePlaceholder:"Creation date"},BcfSettings:{title:"BCF Settings",text:"Create, enter in, and list the BCF settings you would like to have for this project",validateButton:"Validate BCF settings"},BcfStatistics:{emptyText:"Add BCF Topics to start to have some stats here.",issues:"issues",extension:{Priority:"Priority",PriorityNotDefined:"No priority",PriorityTitle:"Priorities",Status:"Status",StatusNotDefined:"No status",StatusTitle:"Status"}},BcfTopicCard:{priority:"Priority",noPriority:"None",assignedTo:"Assigned to",elements:"Elements",notSpecified:"Not specified",see:"See"},BcfTopicCreationCard:{text:"Create a new BCF topic",createBcfSideTitle:"Report a problem"},BcfTopicForm:{dragDropImageText:"Please select a file",addObjectButton:"Object",addAnnotationButton:"Annotation",annotationButtonTooltip:"This topic has no viewpoint",addPictureButton:"Add a picture",titlePlaceholder:"Title *",titleErrorMessage:"Missing title",typeLabel:"Type",priorityLabel:"Priority",statusLabel:"Status",stageLabel:"Stage",assignedToLabel:"Assigned to",dueDateLabel:"Due date",descriptionLabel:"Description",labelsLabel:"Tags",createButton:"Validate",updateButton:"Modify this BCF",modalText:"You are about to quit editing issue {name} but there are unsaved changes.",cancelButton:"Discard changes",continueButton:"Continue editing",createTitle:"Report a problem",dragDropImageTextTablet:"Take a picture",takeSnapshot:"Take a snapshot",importFile:"Import a file",searchPlaceholder:"Search",emptySearch:"No result",documentsLabel:"Add a file",documentsCount:"Files - {count} selected files",groupsLabel:"Permissions",groupsCount:"Permissions - {count} selected groups",groupsText:"You are now setting the access rights: choose the user group(s) that will be exclusively authorized to see and interact with this topic.",validate:"Validate"},BcfTopicOverview:{openViewer:"Open in viewer",openViewerNoModels:"No model to open",elements:"{count} Elements",noElements:"No element",type:"Type",noTypeSpecified:"No type specified",description:"Description",noDescriptionProvided:"No description provided",assignedTo:"Assigned to",notAssigned:"Not assigned",dueDate:"Due date",noDueDate:"No due date",informations:"Informations",status:"Status",noStatusSpecified:"No status specified",stage:"Stage",noStageProvided:"No stage provided",priority:"Priority",priorityNotDefined:"Not defined",tags:"Tags",noTags:"No tags",commentButton:"Post a comment",deleteText:"You are about to delete {name}",deleteBcfButton:"Delete this BCF",keepBcfButton:"Keep this BCF",author:"Author"},BcfTopicsTable:{headers:{index:"#",priority:"Priority",status:"Status",title:"Title",creator:"Author",date:"Date"}},BcfTopicActionsCell:{seeButton:"See"},BcfTopicComments:{commentButton:"Post a comment",commentLabel:"Post a comment",commentText:"Comment",cancelButton:"Cancel",publishButton:"Publish",commentsText:"Comments",deleteCommentText:"Delete this comment ?",deleteButton:"Delete",takeSnapshot:"Take a snapshot",edited:"edited"},BcfTopicPriorityCell:{noPriority:"None"},SettingCard:{addButton:"add an element",cancelButton:"Cancel",validateButton:"Validate",deleteExtensionText:"Remove this setting",deleteButton:"Delete",title:{Priority:"Priorities",Label:"Labels",Status:"Status",Type:"Types",Stage:"Stages"},input:{Priority:"Add a new priority",Label:"Add a new label",Status:"Add new status",Type:"Add a new type",Stage:"Add a new stage"},text:{Priority:"Priority list",Label:"Labels list",Status:"Status list",Type:"Type list",Stage:"Stage list"}}},yxi={BcfComponents:vxi},bxi={back:"Volver",BcfFilters:{filtersButton:"Filtros",filtersTitle:"Filtros",priorityLabel:"Prioridad",statusLabel:"Estado",stageLabel:"Fase",assignedToLabel:"Asignado a",creatorsLabel:"Creado por",tagsLabel:"Etiquetas:",resetButton:"Restablecer",searchButton:"Buscar en",undefined:"No definido",datePlaceholder:"Fecha de creaci\xF3n"},BcfSettings:{title:"Par\xE1metros del BCF",text:"Cree, rellene y enumere los par\xE1metros del BCF que desea tener en este proyecto",validateButton:"Validar los par\xE1metros del BCF"},BcfStatistics:{emptyText:"A\xF1ada preguntas para ver las estad\xEDsticas asociadas aqu\xED.",issues:"problemas",extension:{Priority:"Prioridad",PriorityNotDefined:"Sin prioridad",PriorityTitle:"Prioridades",Status:"Estado",StatusNotDefined:"Sin estado",StatusTitle:"Estatutos"}},BcfTopicCard:{priority:"Prioridad",noPriority:"Sin",assignedTo:"Asignado a",elements:"Elementos",notSpecified:"No definido",see:"Ver"},BcfTopicCreationCard:{text:"Crear un nuevo tema BCF",createBcfSideTitle:"Informar de un problema"},BcfTopicForm:{dragDropImageText:"Seleccione un archivo",addObjectButton:"Objeto",addAnnotationButton:"Anotaci\xF3n",annotationButtonTooltip:"Actualmente este tema no posee ning\xFAn punto de vista",addPictureButton:"A\xF1adir una imagen",titlePlaceholder:"T\xEDtulo *",titleErrorMessage:"Falta el t\xEDtulo",typeLabel:"Tipo",priorityLabel:"Prioridad",statusLabel:"Estado",stageLabel:"Fase",assignedToLabel:"Asignado a",dueDateLabel:"Fecha de vencimiento (DD/MM/AAAA)",descriptionLabel:"Descripci\xF3n",labelsLabel:"Etiquetas",createButton:"Validar",updateButton:"Modificar este BCF",modalText:"Est\xE1 a punto de salir de la edici\xF3n del problema de {name} pero hay cambios sin guardar.",cancelButton:"Cancelar los cambios",continueButton:"Continuar con los cambios",createTitle:"Informar de un problema",dragDropImageTextTablet:"Tomar una fotograf\xEDa",takeSnapshot:"Tomar un snapshot",importFile:"Importar un archivo",searchPlaceholder:"Buscar",emptySearch:"No hay resultados"},BcfTopicOverview:{openViewer:"Abrir en el visor",openViewerNoModels:"No hay ning\xFAn modelo listo para la visualizaci\xF3n",elements:"{count} Elementos",noElements:"Ning\xFAn elemento",type:"Tipo",noTypeSpecified:"No se especifica el tipo",description:"Descripci\xF3n",noDescriptionProvided:"No hay descripci\xF3n",assignedTo:"Asignado a",notAssigned:"No asignado",dueDate:"Plazo",noDueDate:"Sin fecha de vencimiento",informations:"Informaci\xF3n",status:"Estado",noStatusSpecified:"No se especifica el estado",stage:"Fase",noStageProvided:"No se indica ninguna fase",priority:"Prioridad",priorityNotDefined:"No definido",tags:"Etiquetas",noTags:"Sin etiquetas",commentButton:"Publicar un comentario",deleteText:"Est\xE1s a punto de borrar {name}",deleteBcfButton:"Borrar este BCF",keepBcfButton:"Mantenga este BCF",author:"Autor"},BcfTopicsTable:{headers:{index:"#",priority:"Prioridad",status:"Estado",title:"T\xEDtulo",creator:"Autor",date:"Fecha"}},BcfTopicActionsCell:{seeButton:"Ver"},BcfTopicComments:{commentButton:"Publicar un comentario",commentLabel:"Publicar un comentario",commentText:"Comentario",cancelButton:"Cancelar",publishButton:"Publicar",commentsText:"comentarios",deleteCommentText:"\xBFBorrar este comentario?",deleteButton:"Borrar",takeSnapshot:"Tomar un snapshot"},BcfTopicPriorityCell:{noPriority:"Sin"},SettingCard:{addButton:"a\xF1adir un elemento",cancelButton:"Cancelar",validateButton:"Validar",deleteExtensionText:"Borrar esta configuraci\xF3n",deleteButton:"Borrar",title:{Priority:"Prioridades",Label:"Etiquetas:",Status:"Estatutos",Type:"Tipos",Stage:"Fases"},input:{Priority:"A\xF1adir una nueva prioridad",Label:"A\xF1adir una nueva etiqueta",Status:"A\xF1adir un nuevo estado",Type:"A\xF1adir un nuevo tipo",Stage:"A\xF1adir una nueva fase"},text:{Priority:"Lista de prioridades",Label:"Lista de etiquetas",Status:"Lista de estatutos",Type:"Lista de tipos",Stage:"Lista de fases"}}},wxi={BcfComponents:bxi},Cxi={back:"Retour",BcfFilters:{filtersButton:"Filtres",filtersTitle:"Filtres",priorityLabel:"Priorit\xE9",statusLabel:"Statut",stageLabel:"Phase",assignedToLabel:"Assign\xE9 \xE0",creatorsLabel:"Cr\xE9\xE9 par",tagsLabel:"Tags",resetButton:"R\xE9initialiser",searchButton:"Rechercher",undefined:"Non d\xE9fini",datePlaceholder:"Date de cr\xE9ation"},BcfSettings:{title:"Param\xE8tres BCF",text:"Cr\xE9ez, renseignez et listez les param\xE8tres BCF que vous souhaitez avoir sur ce projet",validateButton:"Valider les param\xE8tres BCF"},BcfStatistics:{emptyText:"Ajoutez des questions pour voir les statistiques associ\xE9es ici.",issues:"probl\xE8mes",extension:{Priority:"Priorit\xE9",PriorityNotDefined:"Aucune priorit\xE9",PriorityTitle:"Priorit\xE9s",Status:"Statut",StatusNotDefined:"Aucun statut",StatusTitle:"Statuts"}},BcfTopicCard:{priority:"Priorit\xE9",noPriority:"Aucune",assignedTo:"Assign\xE9 \xE0",elements:"{n} \xC9lements",notSpecified:"Non d\xE9fini",see:"Voir"},BcfTopicCreationCard:{text:"Cr\xE9er un nouveau topic BCF",createBcfSideTitle:"Signaler un probl\xE8me"},BcfTopicForm:{dragDropImageText:"Veuillez s\xE9lectionner un fichier",addObjectButton:"Objet",addAnnotationButton:"Annotation",annotationButtonTooltip:"Ce topic ne poss\xE8de actuellement aucun point de vue",addPictureButton:"Ajouter une image",titlePlaceholder:"Titre *",titleErrorMessage:"Titre manquant",typeLabel:"Type",priorityLabel:"Priorit\xE9",statusLabel:"Statut",stageLabel:"Phase",assignedToLabel:"Assign\xE9 \xE0",dueDateLabel:"Date d'\xE9ch\xE9ance",descriptionLabel:"Description",labelsLabel:"Tags",createButton:"Valider",updateButton:"Modifier ce BCF",modalText:"Vous \xEAtes sur le point de quitter l'\xE9dition de l'issue {name} mais il y'a des modifications non enregistr\xE9es.",cancelButton:"Annuler les modifications",continueButton:"Continuer les modifications",createTitle:"Signaler un probl\xE8me",dragDropImageTextTablet:"Prendre une photo",takeSnapshot:"Prendre un snapshot",importFile:"Importer un fichier",searchPlaceholder:"Rechercher",emptySearch:"Pas de r\xE9sultat",documentsLabel:"Documents",documentsCount:"Documents - {count} documents s\xE9lectionn\xE9s",groupsLabel:"Permissions",groupsCount:"Permissions - {count} groupes s\xE9lectionn\xE9s",groupsText:"S\xE9lectionner les groupes utilisateur qui peuvent voir ce topic et int\xE9ragir avec.",validate:"Valider"},BcfTopicOverview:{openViewer:"Ouvrir dans le viewer",openViewerNoModels:"Il n'y a aucun mod\xE8le pr\xEAt pour une visualisation",elements:"{count} \xC9lements",noElements:"Aucun \xE9l\xE9ment concern\xE9",type:"Type",noTypeSpecified:"Pas de type sp\xE9cifi\xE9",description:"Description",noDescriptionProvided:"Pas de description renseign\xE9e",assignedTo:"Assign\xE9 \xE0",notAssigned:"Non assign\xE9",dueDate:"\xC9ch\xE9ance",noDueDate:"Pas de date d'\xE9ch\xE9ance",informations:"Informations",status:"Statut",noStatusSpecified:"Pas de statut sp\xE9cifi\xE9",stage:"Phase",noStageProvided:"Pas de phase renseign\xE9e",priority:"Priorit\xE9",priorityNotDefined:"Non d\xE9fini",tags:"Tags",noTags:"Pas de tags",commentButton:"Poster un commentaire",deleteText:"Vous \xEAtes sur le point de supprimer {name}",deleteBcfButton:"Supprimer ce BCF",keepBcfButton:"Conserver ce BCF",author:"Auteur"},BcfTopicsTable:{headers:{index:"#",priority:"Priorit\xE9",status:"Statut",title:"Titre",creator:"Auteur",date:"Date"}},BcfTopicActionsCell:{seeButton:"Voir"},BcfTopicComments:{commentButton:"Poster un commentaire",commentLabel:"Poster un commentaire",commentText:"Commentaire",cancelButton:"Annuler",publishButton:"Publier",commentsText:"commentaires",deleteCommentText:"Supprimer ce commentaire ?",deleteButton:"Supprimer",takeSnapshot:"Prendre un snapshot",edited:"edit\xE9"},BcfTopicPriorityCell:{noPriority:"Aucune"},SettingCard:{addButton:"ajouter un \xE9l\xE9ment",cancelButton:"Annuler",validateButton:"Valider",deleteExtensionText:"Supprimmer ce param\xE8tre",deleteButton:"Supprimer",title:{Priority:"Priorit\xE9s",Label:"Tags",Status:"Statuts",Type:"Types",Stage:"Phases"},input:{Priority:"Ajouter une nouvelle priorit\xE9",Label:"Ajouter un nouveau label",Status:"Ajouter un nouveau statut",Type:"Ajouter un nouveau type",Stage:"Ajouter une nouvelle phase"},text:{Priority:"Liste des priorit\xE9s",Label:"Liste des tags",Status:"Liste des statuts",Type:"Liste des types",Stage:"Liste des phases"}}},xxi={BcfComponents:Cxi},kxi={back:"Indietro",BcfFilters:{filtersButton:"Filtri",filtersTitle:"Filtri",priorityLabel:"Priorit\xE0",statusLabel:"Stato",stageLabel:"Fase",datePlaceholder:"Data di creazione",assignedToLabel:"Assegnato a",creatorsLabel:"Creato da",tagsLabel:"Etichette",resetButton:"Ripristina",searchButton:"Cerca",undefined:"Non definito"},BcfSettings:{title:"Parametri BCF",text:"Creare, notificare e elencare i parametri BCF che si desidera avere su questo progetto",validateButton:"Conferma i parametri BCF"},BcfStatistics:{emptyText:"Aggiungi delle domande per vedere le statistiche associate qui.",issues:"problemi",extension:{Priority:"Priorit\xE0",PriorityNotDefined:"Nessuna priorit\xE0",PriorityTitle:"Priorit\xE0",Status:"Stato",StatusNotDefined:"Nessuno stato",StatusTitle:"Stati"}},BcfTopicCard:{priority:"Priorit\xE0",noPriority:"Nessuno",assignedTo:"Assegnato a",elements:"Elementi",noElements:"0 elementi",notSpecified:"Non definito",see:"Visualizza"},BcfTopicCreationCard:{text:"Crea un nuovo topic BCF",createBcfSideTitle:"Segnala un problema"},BcfTopicForm:{dragDropImageText:"Selezionare un file",addObjectButton:"Oggetto",addAnnotationButton:"Annotazione",annotationButtonTooltip:"Attualmente questo argomento non presenta alcun punto di vista",addPictureButton:"Aggiungere un'immagine",titlePlaceholder:"Titolo *",titleErrorMessage:"Titolo mancante",typeLabel:"Tipo",priorityLabel:"Priorit\xE0",statusLabel:"Stato",stageLabel:"Fase",assignedToLabel:"Assegnato a",dueDateLabel:"Data di scadenza",descriptionLabel:"Descrizione",labelsLabel:"Tag",createButton:"Conferma",updateButton:"Modificare questo BCF",modalText:"State per abbandonare la modifica di {name} ma ci sono modifiche non salvate.",cancelButton:"Annullare le modifiche",continueButton:"Continuare le modifiche",createTitle:"Segnala un problema"},BcfTopicOverview:{openViewer:"Apri nel visualizzatore",openViewerNoModels:"Non esistono modelli pronti per la visualizzazione",elements:"{count} Elementi",noElements:"Nessun elemento",type:"Tipo",noTypeSpecified:"Nessun tipo specificato",description:"Descrizione",noDescriptionProvided:"Nessuna descrizione inserita",assignedTo:"Assegnato a",notAssigned:"Non assegnato",dueDate:"Scadenza",noDueDate:"Nessuna data di scadenza",informations:"Informazioni",status:"Stato",noStatusSpecified:"Nessuno stato specificato",stage:"Fase",noStageProvided:"Nessuna fase inserita",priority:"Priorit\xE0",priorityNotDefined:"Non definita",tags:"Etichette",noTags:"Nessuna etichetta",commentButton:"Pubblica un commento",deleteText:"Stai per eliminare {name}",deleteBcfButton:"Elimina questo BCF",keepBcfButton:"Conserva questo BCF",author:"Autore"},BcfTopicsTable:{headers:{index:"#",priority:"Priorit\xE0",status:"Stato",title:"Titolo",creator:"Autore",date:"Data"}},BcfTopicActionsCell:{seeButton:"Visualizza"},BcfTopicComments:{commentButton:"Pubblica un commento",commentLabel:"Pubblica un commento",commentText:"Commento",cancelButton:"Annulla",publishButton:"Pubblica",commentsText:"commenti",deleteCommentText:"Eliminare questo commento?",deleteButton:"Elimina"},BcfTopicPriorityCell:{noPriority:"Nessuno"},SettingCard:{addButton:"aggiungi un elemento",cancelButton:"Annulla",validateButton:"Conferma",deleteExtensionText:"Elimina questo parametro",deleteButton:"Elimina",title:{Priority:"Priorit\xE0",Label:"Etichette",Status:"Stati",Type:"Tipi",Stage:"Fasi"},input:{Priority:"Aggiungi una nuova priorit\xE0",Label:"Aggiungi una nuova etichetta",Status:"Aggiungi un nuovo stato",Type:"Aggiungi un nuovo tipo",Stage:"Aggiungi una nuova fase"},text:{Priority:"Elenco delle priorit\xE0",Label:"Elenco delle etichette",Status:"Elenco degli stati",Type:"Elenco dei tipi",Stage:"Elenco delle fasi"}}},Mxi={BcfComponents:kxi},Exi={de:mxi,en:yxi,es:wxi,fr:xxi,it:Mxi},Bxi=({apiClient:t,fetchUsers:e,i18nPlugin:i}={})=>({install(o){t?Li.setup({apiClient:t,fetchUsers:e}):console.error("[BCF Components Plugin] No api client provided. You must provide an api client for the components to work properly."),i?Object.entries(Exi).forEach(([r,n])=>{i.global.mergeLocaleMessage(r,n)}):console.warn("[BCF Components Plugin] No i18n instance provided. You should either provide an i18n instance or define your own translations in order have text displayed properly."),Object.entries(Exe).forEach(([r,n])=>{o.component(r,n)})}}),Pxi={title:"Building Maker",back:"Zur\xFCck",list:{text:"Erstellen und bearbeiten Sie die Etagen und laden Sie anschlie\xDFend Ihre PDFs herunter.",createButton:"Neues Projekt",updateButton:"Umbenennen",deleteButton:"L\xF6schen"},form:{text:"Erstellen und bearbeiten Sie die Etagen und laden Sie anschlie\xDFend Ihre PDFs herunter.",input:"Name des Geb\xE4udes",error:"Ung\xFCltiger Name",createButton:"Erstellen",updateButton:"Best\xE4tigen"},view:{addStoreyButton:"Etage",addPlanButton:"Grundriss",closeButton:"Fertigstellen",submitFilesButton:"Best\xE4tigen"},storeyForm:{title:"Neue Etage",input:"Name",error:"Ung\xFCltiger Name",cancelButton:"Abbrechen",submitButton:"Best\xE4tigen"}},Ixi={creationFormTitle:"Ordner erstellen",renameFormPlaceholder:"Datei- / Ordnernam",nameInputPlaceholder:"Ordnername",emptyFolder:"Dieser Ordner ist leer",newFolderSuccess:"Neuer Ordner erstellt",renameFolderSuccess:"Umbenannter Ordner",deleteFolderSuccess:"Ordner gel\xF6scht",newFileSuccess:"Datei hinzugef\xFCgt",renameFileSuccess:"Umbenannte Datei",deleteFileSuccess:"Datei gel\xF6scht",nameInputErrorMessage:"Ung\xFCltiger name",cancel:"Abbrechen",submit:"Best\xE4tigen",buttonText:"Neuer Ordner",addFileButtonText:"Datei laden",rename:"Umbenennen",view:"Sehen",download:"Herunterladen",delete:"L\xF6schen",deleteTitle:"Dateien l\xF6schen",deleteDetail:"Sie sind im Begriff, die folgenden Dateien / Ordner endg\xFCltig zu l\xF6schen"},Sxi={BuildingMaker:Pxi,FileManager:Ixi},Txi={t:{back:"Back",cancel:"Cancel",create:"Create",delete:"Delete",download:"Download",finish:"Finish",rename:"Rename",search:"Search",see:"View",storey:"Storey",validate:"Validate"}},Rxi={title:"Building Maker",list:{text:"Create and edit storeys, then download your PDFs.",new:"New project"},form:{input:"Building name",error:"Invalid"},view:{addStorey:"Add Storey",addFile:"Add File",addPlan:"Add Plan"},storeyForm:{title:"New storey",input:"Name",error:"Invalid name"}},Lxi={creationFormTitle:"Create folder",renameFormPlaceholder:"Folder/File name",nameInputPlaceholder:"Folder name",emptyFolder:"This folder is empty",newFolderSuccess:"New folder created",renameFolderSuccess:"Folder renamed",deleteFolderSuccess:"Folder deleted",newFileSuccess:"File added",renameFileSuccess:"File renamed",deleteFileSuccess:"File deleted",nameInputErrorMessage:"Invalid name",buttonText:"New folder",addFileButtonText:"Upload a file",deleteTitle:"Deleting Files",deleteDetail:"You are about to permanently delete the following files / folders",dmsRoot:"Root of the project's DMS",pdfPageSelectorTitle:"Select a page"},Dxi={title:"Meta-Building Structure",tab:{structure:"Structure",zones:"Zones",equipments:"Equipments"},StoreySelector:{placeholder:"Select a storey"}},_xi={title:"Photosphere Building"},Fxi={BIMDataComponents:Txi,BuildingMaker:Rxi,FileManager:Lxi,MetaBuildingStructure:Dxi,PhotosphereBuilding:_xi},Oxi={title:"Building Maker",back:"Vuelta",list:{text:"Cree y edite los pisos despu\xE9s cargue los PDF.",createButton:"Nuevo proyecto",updateButton:"Renombrar",deleteButton:"Suprimir"},form:{text:"Cree y edite los pisos despu\xE9s cargue los PDF.",input:"Nombre del edificio",error:"Nombre no v\xE1lido",createButton:"Crear",updateButton:"Validar"},view:{addStoreyButton:"Piso",addPlanButton:"Plano",closeButton:"Terminar",submitFilesButton:"Validar"},storeyForm:{title:"Nuevo piso",input:"Nombre",error:"Nombre no v\xE1lido",cancelButton:"Anular",submitButton:"Validar"}},Uxi={creationFormTitle:"Crear un archivo",renameFormPlaceholder:"Nombre de archivo / carpeta",nameInputPlaceholder:"Nombre de la carpeta",emptyFolder:"Esta carpeta est\xE1 vac\xEDa",newFolderSuccess:"Nueva carpeta creada",renameFolderSuccess:"Carpeta renombrada",deleteFolderSuccess:"Carpeta eliminada",newFileSuccess:"Archivo agregado",renameFileSuccess:"Archivo renombrado",deleteFileSuccess:"Archivo eliminado",nameInputErrorMessage:"Nombre inv\xE1lida",cancel:"Cancelar",submit:"Validar",buttonText:"Carpeta nueva",addFileButtonText:"Cargar un archivo",rename:"Renombrar",view:"Ver",download:"Descargar",delete:"Borrar",deleteTitle:"Eliminar archivos",deleteDetail:"Est\xE1 a punto de eliminar permanentemente los siguientes archivos / carpetas"},Nxi={BuildingMaker:Oxi,FileManager:Uxi},jxi={t:{back:"Retour",cancel:"Annuler",create:"Cr\xE9er",delete:"Supprimer",download:"T\xE9l\xE9charger",finish:"Terminer",rename:"Renommer",search:"Rechercher",see:"Voir",storey:"\xC9tage",validate:"Valider"}},Vxi={title:"Building Maker",list:{text:"Cr\xE9ez et \xE9ditez les \xE9tages puis t\xE9l\xE9chagez vos PDF.",new:"Nouveau projet"},form:{input:"Nom du b\xE2timent",error:"Nom invalide"},view:{addStorey:"Ajouter un \xC9tage",addFile:"Ajouter un fichier",addPlan:"Ajouter un plan"},storeyForm:{title:"Nouvel \xE9tage",input:"Nom",error:"Nom invalide"}},zxi={creationFormTitle:"Cr\xE9er un dossier",renameFormPlaceholder:"Nom du fichier/dosier",nameInputPlaceholder:"Nom du dossier",emptyFolder:"Ce dossier est vide",newFolderSuccess:"Nouveau dossier cr\xE9\xE9",renameFolderSuccess:"Dossier renomm\xE9",deleteFolderSuccess:"Dossier supprim\xE9",newFileSuccess:"Fichier ajout\xE9",renameFileSuccess:"Fichier renomm\xE9",deleteFileSuccess:"Fichier supprim\xE9",nameInputErrorMessage:"Nom invalide",buttonText:"Nouveau dossier",addFileButtonText:"Charger un fichier",deleteTitle:"Supression de fichiers",deleteDetail:"Vous \xEAtes sur le point de supprimer d\xE9finitivement les fichiers/dossiers suivants",dmsRoot:"Racine de la GED du projet",pdfPageSelectorTitle:"S\xE9lectionner une page"},Hxi={title:"Structure M\xE9ta-Building",tab:{structure:"Structure",zones:"Zones",equipments:"\xC9quipements"},StoreySelector:{placeholder:"S\xE9lectionner un \xE9tage"}},qxi={title:"Photosph\xE8re Building"},Qxi={BIMDataComponents:jxi,BuildingMaker:Vxi,FileManager:zxi,MetaBuildingStructure:Hxi,PhotosphereBuilding:qxi},Gxi={title:"Building Maker",back:"Reso",list:{text:"Crea e modifica i piani e poi scarica i tuoi PDF.",createButton:"Nuovo progetto",updateButton:"Rinominare",deleteButton:"Eliminare"},form:{text:"Crea e modifica i piani e poi scarica i tuoi PDF.",input:"Nome della costruzione",error:"Nome non corretto",createButton:"Creare",updateButton:"Convalidare"},view:{addStoreyButton:"Piano",addPlanButton:"Mappa",closeButton:"Finire",submitFilesButton:"Convalidare"},storeyForm:{title:"Nuovo piano",input:"Nome",error:"Nome non corretto",cancelButton:"Annullare",submitButton:"Convalidare"}},Kxi={creationFormTitle:"Crea una cartella",renameFormPlaceholder:"Nome file/cartella",nameInputPlaceholder:"Nome della cartella",emptyFolder:"Questa cartella \xE8 vuota",newFolderSuccess:"Nuova cartella creata",renameFolderSuccess:"Cartella rinominata",deleteFolderSuccess:"Cartella eliminata",newFileSuccess:"File aggiunto",renameFileSuccess:"File rinominato",deleteFileSuccess:"File cancellato",nameInputErrorMessage:"Nome non valido",cancel:"Annulla",submit:"Invia",buttonText:"Nuova cartella",addFileButtonText:"Carica un file",rename:"Rinominare",view:"Vedere",download:"Scaricare",delete:"Cancellare",deleteTitle:"Eliminazione di file",deleteDetail:"Stai per eliminare definitivamente i seguenti file/cartelle"},Jxi={BuildingMaker:Gxi,FileManager:Kxi},Zxi={de:Sxi,en:Fxi,es:Nxi,fr:Qxi,it:Jxi},Wxi=({i18nPlugin:t}={})=>({install(e){t?Object.entries(Zxi).forEach(([i,o])=>{t.global.mergeLocaleMessage(i,o)}):console.warn("[BIMData Components Plugin] No i18n instance provided. You should either provide an i18n instance or define your own translations in order have text displayed properly."),Object.entries(pai).forEach(([i,o])=>{e.component(i,o)})}}),Yxi={beforeMount(t,e){if(typeof e.value!="function")throw Error(`click away directive needs function, got ${typeof e.value}`);t.clickAwayHandler=i=>{(i.path||i.composedPath&&i.composedPath()).find(o=>o===t)||e.value()},window.addEventListener("mousedown",t.clickAwayHandler,!0)},unmounted(t){window.removeEventListener("mousedown",t.clickAwayHandler,!0),delete t.clickAwayHandler}},Xxi=Object.freeze(Object.defineProperty({__proto__:null,BIMDataClickAway:$s,BIMDataClickInputAway:Yxi},Symbol.toStringTag,{value:"Module"})),$xi=t=>({install(e){Object.entries(vtt).forEach(([i,o])=>{e.component(i,o)}),Object.entries(Xxi).forEach(([i,o])=>e.directive(i.split("BIMData")[1],o))}}),eki={name:"LiWrapper",render(){return mo("li",this.$slots.default())}};function tki(t,e){var i=new Set([]);return t.forEach(o=>{e.has(o)||i.add(o)}),i}const Tl=$r("id"),iki=({contextMenu:t,objects:e=[],state:i=t.$viewer.state,pictos:o})=>[{name:"selectAll",get group(){return t.groupPositions.select},position:1,get label(){return t.$t("context_menu.select_all")},get picto(){return o.get(this.name)},execute:()=>i.selectObjects(e.filter(Ns(Pi("visible"),wu("selected"))).map(Tl)),predicate:()=>e.some(Ns(Pi("visible"),wu("selected")))},{name:"deselectAll",get group(){return t.groupPositions.select},position:2,get label(){return t.$t("context_menu.deselect_all")},get picto(){return o.get(this.name)},execute:()=>i.deselectObjects(e.filter(Pi("selected")).map(Tl)),predicate:()=>e.some(Pi("selected"))},{name:"selectSimilar",get group(){return t.groupPositions.select},position:3,get label(){return t.$t("context_menu.select_similar")},get picto(){return o.get(this.name)},execute(){const r=e.filter(n=>n.visible&&n.type===this.selectedObject.type&&n.id!==this.selectedObject.id).map(Tl);i.selectObjects(r)},selectedObject:null,predicate(){const r=e.filter(Ns(Pi("visible"),Pi("selected")));return r.length===1&&r[0].type!==void 0?(this.selectedObject=r[0],!0):(this.selectedObject=null,!1)}},{name:"reverseSelection",get label(){return t.$t("context_menu.reverse_selection")},get group(){return t.groupPositions.select},position:4,execute:()=>{const r=new Set(e.filter(Pi("selected")).map(Tl)),n=new Set(e.filter(Pi("visible")).map(Tl));i.selectObjects(Array.from(tki(n,r)),{exclusive:!0})},predicate:()=>e.some(Ns(wu("selected"),Pi("visible")))&&e.some(Ns(Pi("selected"),Pi("visible")))},{name:"showAll",get group(){return t.groupPositions.visibility},position:1,get label(){return t.$t("context_menu.show_all")},get picto(){return o.get(this.name)},execute:()=>i.showObjects(e.filter(wu("visible")).map(Tl)),predicate:()=>e.some(wu("visible"))},{name:"hide",get group(){return t.groupPositions.visibility},position:2,get label(){return t.$t("context_menu.hide")},get picto(){return o.get(this.name)},objectsToHide:null,execute(){const r=this.objectsToHide.filter(Pi("selected"));r.length>0&&i.deselectObjects(r.map(Tl)),i.hideObjects(this.objectsToHide.map(Tl))},predicate(){return this.objectsToHide=e.filter(Ns(Pi("selected"),Pi("visible"))),this.objectsToHide.length>0}},{name:"hideAll",get group(){return t.groupPositions.visibility},position:3,get label(){return t.$t("context_menu.hide_all")},execute:()=>{const r=e.filter(Pi("visible"));r.some(Pi("selected"))&&i.deselectObjects(r.filter(Pi("selected")).map(Tl)),i.hideObjects(r.map(Tl))},predicate:()=>e.some(Pi("visible"))}].filter(r=>r.predicate()),oki={components:{LiWrapper:eki},inject:["$viewer"],data(){return{defaultPrevented:!1,displayed:!1,top:null,bottom:null,left:null,width:200,nextCommandId:1,currentCommands:[],contextCommands:[],registeredCommands:[],groupPositions:{select:10,visibility:20},asyncPredicateRunning:!1}},computed:{position(){return{top:this.top?this.top+"px":"unset",bottom:this.bottom?this.bottom+"px":"unset",left:this.left+"px",width:this.width+"px"}}},watch:{displayed(t){t?document.addEventListener("keydown",this.onKeyDown):document.removeEventListener("keydown",this.onKeyDown)}},created(){this.$viewer.contextMenu=this,this.asyncPredicates=new Set},methods:{onKeyDown(t){t.key==="Escape"&&this.away()},setPosition(t){const e=(document.fullscreenElement?document.fullscreenElement:this.$parent.$el).getBoundingClientRect();this.left=t.clientX-e.left,this.top=t.clientY-e.top,this.left+this.width>e.width&&(this.left=this.left-this.width),t.clientY>e.top+e.height/2?(this.bottom=e.height-this.top,this.top=null):this.bottom=null},typeCheckCommand(t={}){let e=null;if((!t.execute||typeof t.execute!="function")&!t.component&&(e="Cannot register context menu command. A command must have an execute function or a component property."),t.label||(e="Cannot register context menu command. A command must have a label."),e)throw console.error(e),new Error(e);return t.id=this.nextCommandId++,t},open(t){this.currentCommands=[],this.setPosition(t),this.originEvent=t,t.preventDefault(),this.setCurrentCommands(),this.groupCurrentCommands(),this.defaultPrevented=!1,this.displayed=!0,document.fullscreenElement?(this.$el.parentElement.removeChild(this.$el),this.adoptiveParent=document.fullscreenElement,this.adoptiveParent.appendChild(this.$el)):this.adoptiveParent&&this.adoptiveParent!==this.$viewer.globalContext.el&&(this.adoptiveParent.removeChild(this.$el),this.$viewer.globalContext.el.appendChild(this.$el),this.adoptiveParent=null)},setCurrentCommands(){this.asyncPredicates.clear(),this.asyncPredicateRunning=!1,this.defaultPrevented||this.registeredCommands.forEach(async t=>{if(typeof t.predicate=="function"){const e=t.predicate(this.$viewer.globalContext.activeLocalContext);if(e===!0)this.currentCommands.push(t);else if(typeof e?.then=="function"){this.asyncPredicates.add(e),this.asyncPredicateRunning=!0;const i=await e;this.asyncPredicates.has(e)&&(this.asyncPredicates.delete(e),this.asyncPredicateRunning=this.asyncPredicates.size>0,i===!0&&this.currentCommands.push(t))}}else this.currentCommands.push(t)}),this.currentCommands.push(...this.contextCommands),this.contextCommands=[]},getDefaultCommands({objects:t=[],state:e=this.$viewer.state,context:i=null}){const o=new Map;return i&&this.$viewer.shortcutManager.getShortcuts(i).forEach(r=>o.set(r.name,r.key)),iki({contextMenu:this,objects:t,state:e,pictos:o})},executeCommand(t){if(t.execute&&(t.execute(this.originEvent),this.displayed=!1),t.component&&!t.menu)throw new Error("Command with component property must have a `menu` property")},away(){this.displayed=!1},groupCurrentCommands(){const t=new Map;this.currentCommands.forEach(i=>{(i.group===null||i.group===void 0)&&(i.group=0),t.has(i.group)?t.get(i.group).push(i):t.set(i.group,[i])}),t.forEach(i=>i.sort((o,r)=>(o.position=o.position||0,r.position=r.position||0,o.position-r.position)));const e=[...t.keys()].sort((i,o)=>i-o).map(i=>t.get(i)).flat();this.currentCommands=e},isGroupIntersection(t){if(t===0)return!1;const e=this.currentCommands[t-1],i=this.currentCommands[t];return e.group<i.group},registerContextCommand(t){const e=this.typeCheckCommand(t);return this.contextCommands.push(e),t.id},registerCommand(t){const e=this.typeCheckCommand(t);return this.registeredCommands.push(e),t.id},unregisterCommand(t){return this.registeredCommands.find(e=>e.id===t)?(this.registeredCommands=this.registeredCommands.filter(e=>e.id!==t),!0):!1},preventDefault(){this.defaultPrevented=!0}}},rki={key:0,class:"separator"},nki={class:"menu-text"},aki={key:1,class:"menu-picto"},ski={key:0,class:"context-menu__spinner"};function lki(t,e,i,o,r,n){const a=I("BIMDataIconChevron"),s=I("LiWrapper"),l=I("BIMDataSpinner"),c=si("click-away");return r.displayed&&(r.currentCommands.length||r.asyncPredicateRunning)?yt((M(),_("ul",{key:0,class:"bimdata-list context-menu",style:ce(n.position)},[(M(!0),_(Ye,null,Mt(r.currentCommands,(d,u)=>(M(),G(s,{key:d.label,class:"context-menu__element",onClick:h=>n.executeCommand(d)},{default:N(()=>[n.isGroupIntersection(u)?(M(),_("div",rki)):te("",!0),w("div",nki,z(d.label),1),!d.component&&d.picto?(M(),_("span",aki,z(d.picto),1)):d.component?(M(),G(a,{key:2,size:"xxs",class:"fill-primary"})):te("",!0)]),_:2},1032,["onClick"]))),128)),r.asyncPredicateRunning?(M(),_("li",ski,[S(l)])):te("",!0)],4)),[[c,n.away]]):te("",!0)}const cki=j(oki,[["render",lki],["__scopeId","data-v-5b87d4a3"]]),dki={name:"ViewerHeader",inject:["$viewer"],props:{visible:{type:Boolean,default:!0}},setup(){const t=at("$viewer"),e=hr(new Map),i=r=>{if(!r.name)throw new TypeError("[Viewer Header] Content must have a name");if(e.has(r.name))throw new Error(`[Viewer Header] Content with name ${r.name} already exists`);e.set(r.name,r)},o=r=>e.has(r)?(e.delete(r),!0):!1;return{logo:t.uiSettings.bimdataLogo!==!1,version:t.uiSettings.version!==!1?t.version:null,headerContent:e,headerRightContentComponents:Re(()=>Array.from(e.values()).filter(r=>r.position==="right").sort((r,n)=>r.order-n.order).map(r=>r.component)),headerLeftContentComponents:Re(()=>Array.from(e.values()).filter(r=>r.position==="left").sort((r,n)=>r.order-n.order).map(r=>r.component)),addContent:i,removeContent:o}}},uki={class:"viewer-header"},hki={class:"viewer-header__content"},pki={class:"viewer-header__content__left"},fki={class:"viewer-header__content__right"},Aki={key:0,class:"m-l-6 flex items-center"},gki={key:1,class:"viewer-header__version"};function mki(t,e,i,o,r,n){const a=I("BIMDataIllustration");return yt((M(),_("div",uki,[w("div",hki,[w("div",pki,[(M(!0),_(Ye,null,Mt(o.headerLeftContentComponents,s=>(M(),G(go(s),{key:s.name}))),128))]),w("div",fki,[(M(!0),_(Ye,null,Mt(o.headerRightContentComponents,s=>(M(),G(go(s),{key:s.name}))),128))])]),o.logo||o.version?(M(),_("div",Aki,[o.logo?(M(),G(a,{key:0,name:"logo",width:"30px",height:"30px"})):te("",!0),o.version?(M(),_("div",gki,z(o.version),1)):te("",!0)])):te("",!0)],512)),[[Ht,i.visible]])}const vki=j(dki,[["render",mki],["__scopeId","data-v-5c9ea6b6"]]),yki={emits:["resize"],setup(t,{emit:e}){return{onResizerMousedown:i=>{i.preventDefault();let o=i.clientX;const r=a=>{a.preventDefault();const s=a.clientX-o;o=a.clientX,e("resize",s)},n=a=>{a.preventDefault(),window.removeEventListener("mousemove",r),window.removeEventListener("mouseup",n)};window.addEventListener("mousemove",r),window.addEventListener("mouseup",n)}}}},bki={class:"bimdata-separator"};function wki(t,e,i,o,r,n){return M(),_("div",bki,[e[1]||(e[1]=w("div",{class:"bimdata-separator__line"},null,-1)),w("div",{class:"bimdata-separator__resizer",onMousedown:e[0]||(e[0]=(...a)=>o.onResizerMousedown&&o.onResizerMousedown(...a))},null,32)])}const Cki=j(yki,[["render",wki],["__scopeId","data-v-79a3b3af"]]),xki={components:{Separator:Cki},props:{position:{type:String,required:!0,validator(t){return["left","right"].includes(t)}},sidePanel:{type:Object,required:!0,validator(t){if(t.width&&(typeof t.width!="number"||t.width<0))return console.error(`[GlobalSidePanel] sidePanel.width must be a strictly positive number, received ${typeof t.width}`),!1;const e=typeof t?.component=="object";return e||console.error("[GlobalSidePanel] sidePanel must have a component property"),e}}},setup(t){const e=re(null),i=re(t.sidePanel.width??400),o=(r,n=1)=>{const a=i.value+r*n;i.value=Math.max(0,a)};return dt(()=>t.sidePanel,()=>{Object.defineProperty(t.sidePanel,"width",{get(){return i.value},set(r){if(typeof r!="number"||r<=0){console.error(`[GlobalSidePanel] sidePanel.width must be a strictly positive number, received ${typeof r}`);return}i.value=r}}),Object.defineProperty(t.sidePanel,"componentInstance",{get(){return e.value},enumerable:!0})},{immediate:!0}),{componentInstance:e,width:i,onResize:o}}},kki={class:"bimdata-global-side-panel__component"};function Mki(t,e,i,o,r,n){const a=I("Separator");return M(),_("div",{class:"bimdata-global-side-panel",style:ce(`width: ${o.width}px`)},[i.sidePanel.resizable&&i.position==="right"?(M(),G(a,{key:0,onResize:e[0]||(e[0]=s=>o.onResize(s,-1))})):te("",!0),w("div",kki,[(M(),G(go(i.sidePanel.component),{ref:"componentInstance"},null,512))]),i.sidePanel.resizable&&i.position==="left"?(M(),G(a,{key:1,onResize:e[1]||(e[1]=s=>o.onResize(s))})):te("",!0)],4)}const Eki=j(xki,[["render",Mki],["__scopeId","data-v-82d0d4cb"]]),Bki={name:"BimdataViewer",components:{ContextMenu:cki,ViewerHeader:vki,ModalManager:Qge,GlobalSidePanel:Eki},setup(){const t=at("$viewer"),{globalContext:e,shortcutManager:i}=t;bi(()=>{i&&i.destroy(),e.hub.clear()}),ni(()=>{t.pluginManager.runPluginsScripts(t)});const o=Re(()=>t.uiSettings.bimdataLogo!==!1&&(e.localContexts.length!==1||e.localContexts[0].window?.logoAndVersion)),r=Re(()=>t.uiSettings.version!==!1&&(e.localContexts.length!==1||e.localContexts[0].window?.logoAndVersion)?t.version:null),n=Re(()=>e.leftSidePanel),a=Re(()=>e.rightSidePanel),s=Re(()=>{const p=t.uiSettings.header!==!1,A=e.localContexts.length===1&&e.localContexts[0].window?.header===!1,f=!!(n.value||a.value);return p&&(!A||f)}),l=t.uiSettings.contextMenu!==!1,c=re(null);function d(p){l&&c.value.open(p)}function u(){t.shortcutManager.active=!0}function h(){t.shortcutManager.active=!1}return{Layout:t.layout.areas.component,onContextMenu:d,onMouseenter:u,onMouseleave:h,isHeaderVisible:s,viewerTemplateRef:e.templateRef,modalManagerTemplateRef:e.modalManagerTemplateRef,headerTemplateRef:e.headerTemplateRef,contextMenuTemplateRef:c,contextMenuEnabled:l,bimdataLogoOnSingleWindow:o,viewerVersionOnSingleWindow:r,version:t.version,loading:Re(()=>e.loading),spinner:Re(()=>e.spinner),leftSidePanel:n,rightSidePanel:a}}},Pki={key:1,class:"bimdata-context-loading-overlay",style:{"z-index":"3"}},Iki={key:2,class:"viewer__logo"},Ski={key:1,class:"version m-t-6"};function Tki(t,e,i,o,r,n){const a=I("ModalManager"),s=I("ContextMenu"),l=I("ViewerHeader"),c=I("GlobalSidePanel"),d=I("BIMDataSpinner"),u=I("BIMDataIllustration");return M(),_("div",{id:"bimdata-viewer",ref:"viewerTemplateRef",class:"bimdata-viewer bimdata-design-system bimdata-scrollbar",onContextmenu:e[0]||(e[0]=(...h)=>o.onContextMenu&&o.onContextMenu(...h)),onMouseenter:e[1]||(e[1]=(...h)=>o.onMouseenter&&o.onMouseenter(...h)),onMouseleave:e[2]||(e[2]=(...h)=>o.onMouseleave&&o.onMouseleave(...h))},[S(a,{ref:"modalManagerTemplateRef"},null,512),o.contextMenuEnabled?(M(),G(s,{key:0,ref:"contextMenuTemplateRef"},null,512)):te("",!0),S(l,{ref:"headerTemplateRef",visible:o.isHeaderVisible},null,8,["visible"]),w("div",{class:"bimdata-viewer__content",style:ce(o.isHeaderVisible?"height: calc(100% - var(--bimdata-viewer-header-height, 40px))":"height: 100%")},[o.leftSidePanel?(M(),G(c,{key:0,"side-panel":o.leftSidePanel,position:"left"},null,8,["side-panel"])):te("",!0),(M(),G(go(o.Layout),{style:"height: 100%; flex-grow: 1;"})),o.rightSidePanel?(M(),G(c,{key:1,"side-panel":o.rightSidePanel,position:"right"},null,8,["side-panel"])):te("",!0)],4),o.loading?(M(),_("div",Pki,[o.spinner&&o.spinner.component?(M(),G(go(o.spinner.component),Ta(xn({key:0},o.spinner.props)),null,16)):(M(),G(d,{key:1,size:"40px",border:"5px"}))])):te("",!0),!o.isHeaderVisible&&(o.bimdataLogoOnSingleWindow||o.viewerVersionOnSingleWindow)?(M(),_("div",Iki,[o.bimdataLogoOnSingleWindow?(M(),G(u,{key:0,name:"logo"})):te("",!0),o.viewerVersionOnSingleWindow?(M(),_("div",Ski,z(o.version),1)):te("",!0)])):te("",!0)],544)}const Rki=j(Bki,[["render",Tki],["__scopeId","data-v-0c1c941a"]]),Lki=["src"],Dki={class:"bimdata-models__header"},_ki={key:0,class:"bimdata-models__header__loader"},Fki={class:"bimdata-models__header__picto"},Oki={class:"bimdata-models__header__name"},Uki={key:0,class:"bimdata-models__header__name--empty"},Nki={key:1,class:"bimdata-models__header__name--empty"},jki={key:3},Vki=["onMousemove","onClick"],zki={__name:"Models",props:{preview:{type:Boolean,default:!1},windowPositioning:{type:Boolean,default:!0},customFilter:{type:Function,default:null},width:{type:String,default:"350px"}},setup(t){const e=t,i=at("$viewer"),o=re(),r=re(0),n=re(0),a=re(),s=di([]),l=re(!1),c=Re(()=>i.localContext.loadedModels),d=Re(()=>i.localContext.loadedModelIds),u=Re(()=>i.localContext.loadingModelIds),h=Re(()=>i.localContext.multiModel),p=Re(()=>(e.customFilter?s.value.filter(e.customFilter):s.value).map(k=>c.value.find(E=>E.document?.head_id!=null&&E.document.head_id===k.document.id)??k)),A=k=>d.value.includes(k),f=k=>u.value.includes(k),m=Re(()=>{const{x:k,y:E}=a.value?.getBoundingClientRect()??{x:0,y:0};return`top:${n.value-E}px; left:${r.value-k}px;`}),g=k=>{!h.value&&A(k.id)||u.value.length>0||(i.localContext.loadedModelIds.includes(k.id)?i.localContext.unloadModels([k.id]):i.localContext.loadModels([k.id]))},y=k=>{switch(k){case"C":return"success";case"E":return"failed";case"P":case"I":return"sandglass"}},v=(k,E)=>{k?.viewer_360_file&&(r.value=E.clientX,n.value=E.clientY),o.value=k?.viewer_360_file},b=async k=>{l.value=!0;try{return(await i.api.apiClient.modelApi.getModels(i.api.cloudId,i.api.projectId,void 0,void 0,k)).filter(E=>i.state.models.some(B=>B.archived)||!E.archived).sort(rl("updated_at",!1))}catch(E){console.error("[Models] Cannot get project models. Error: ",E)}finally{l.value=!1}return[]},x=k=>k.children?.some(E=>A(E.id))??!1;return b(i.localContext.modelTypes).then(k=>{s.value=k}),(k,E)=>{const B=I("BIMDataSpinner"),P=I("BIMDataIconModel3D"),T=I("BIMDataTextbox"),R=I("BIMDataCheckbox"),L=I("BIMDataRadio"),F=I("BIMDataIcon"),U=I("BIMDataDropdownList");return M(),_("div",{ref_key:"templateRef",ref:a,class:de(["bimdata-models",{"bimdata-models--window-positioning":t.windowPositioning}])},[o.value?(M(),_("div",{key:0,class:"bimdata-models__preview",style:ce(m.value)},[w("img",{src:o.value},null,8,Lki)],4)):te("",!0),S(U,{style:ce(`--bimdata-models-width: ${t.width};`),width:t.width,list:p.value,"element-key":"id","per-page":40,loading:l.value,class:"bimdata-models__list",disabled:p.value.length===0,onElementClick:g},{header:N(({isOpen:q})=>[w("div",Dki,[l.value||u.value.length>0?(M(),_("div",_ki,[S(B)])):(M(),_(Ye,{key:1},[w("div",Fki,[S(P)]),w("div",{class:de(["bimdata-models__header__number bimdata-info-length",{"bimdata-models__header__number--empty":d.value.length===0}])},[w("span",null,z(d.value.length),1)],2),w("div",Oki,[p.value.length===0?(M(),_("span",Uki,z(k.$t("model.no_model")),1)):d.value.length===0?(M(),_("span",Nki,z(k.$t("model.no_loaded_model")),1)):d.value.length===1?(M(),G(T,{key:2,text:c.value[0].name,tooltip:!q},null,8,["text","tooltip"])):d.value.length>1?(M(),_("span",jki,z(k.$t("model.selected_models")),1)):te("",!0)])],64))])]),element:N(({element:q,close:V})=>[w("div",{class:"bimdata-models__model",onMousemove:W=>t.preview&&v(q,W),onMouseout:E[0]||(E[0]=W=>t.preview&&v()),onClick:()=>{!h.value&&!A(q.id)&&V()}},[h.value?(M(),G(R,{key:0,"model-value":A(q.id)||x(q),disabled:q.status!=="C"||u.value.length>0},null,8,["model-value","disabled"])):(M(),G(L,{key:1,"model-value":A(q.id)||x(q),disabled:q.status!=="C"||u.value.length>0},null,8,["model-value","disabled"])),S(F,{margin:"0 calc(var(--spacing-unit) / 2)",name:y(q.status),size:"xs",class:de({"fill-success":q.status==="C","fill-high":q.status==="E"})},null,8,["name","class"]),S(T,{class:de({"bimdata-models__model__name":!0,"bimdata-models__model__name--disabled":q.status!=="C"||u.value.length>0}),text:q.name,width:`calc(100% -
6437
6437
  ${h.value?13:23}px - 2 * 6px - 16px)`},null,8,["class","text","width"]),q.document&&!q.document.is_head_version?(M(),G(F,{key:2,name:"versioning",fill:"",color:"default",size:"xs",margin:"0 0 0 6px"})):te("",!0)],40,Vki),f(q.id)?(M(),G(B,{key:0,class:"bimdata-models__model__spinner"})):te("",!0)]),_:1},8,["style","width","list","loading","disabled"])],2)}}},Wge=j(zki,[["__scopeId","data-v-34c2cf79"]]),Hki="data:image/svg+xml,%3csvg%20width='16'%20height='21'%20viewBox='0%200%2016%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.47193%202.76644C7.65699%202.84439%207.77716%203.02565%207.777%203.22661L7.77339%207.94624C7.77318%208.22238%207.54916%208.44655%207.27301%208.44693L2.4192%208.45366C2.21569%208.45394%202.03258%208.33085%201.95617%208.1424C1.87975%207.95394%201.92528%207.73773%202.07129%207.59566L6.92872%202.86931C7.0729%202.72902%207.28688%202.6885%207.47193%202.76644ZM3.65141%207.45195L6.77378%207.44762L6.7761%204.41157L3.65141%207.45195ZM5.81657%200.893911L6.02338%200.893274L13.3879%200.870595C14.679%200.866619%2015.7208%201.91642%2015.722%203.20083L15.2221%203.20237L15.722%203.20052L15.722%203.20083L15.745%2017.8999L15.745%2017.9002C15.7462%2019.1846%2014.7063%2020.2408%2013.4153%2020.2448L2.35929%2020.2788C1.07114%2020.2828%200.0171799%2019.2362%200.0159721%2017.9486L0.00563138%206.92409L0.00543684%206.71668L0.152103%206.56972L5.67032%201.04045L5.81657%200.893911ZM6.23113%201.89264L1.00582%207.12841L1.01597%2017.9455C1.01666%2018.6791%201.62068%2019.2811%202.35835%2019.2788L13.4143%2019.2448C14.1484%2019.2425%2014.7456%2018.6402%2014.745%2017.9035C14.745%2017.9034%2014.745%2017.9033%2014.745%2017.9033L14.722%203.20423L14.722%203.20391C14.7213%202.46716%2014.123%201.86833%2013.3888%201.87059L6.23113%201.89264Z'%20fill='%232F374A'/%3e%3c/svg%3e",qki=["src"],Qki={key:0,class:"bimdata-multi-model-loader__header-container"},Gki={key:0,class:"bimdata-multi-model-loader__header__loader"},Kki={class:"bimdata-multi-model-loader__header__picto"},Jki=["src"],Zki={class:"bimdata-multi-model-loader__header__name"},Wki={key:0,class:"bimdata-multi-model-loader__header__name--empty"},Yki={key:1,class:"bimdata-multi-model-loader__header__name--empty"},Xki={key:3},$ki={key:1,class:"bimdata-multi-model-loader__main"},eMi=["onMousemove","onClick"],tMi={__name:"BIMDataMultiModelLoader",props:{preview:{type:Boolean,default:!1},windowPositioning:{type:Boolean,default:!0},customFilter:{type:Function,default:null},width:{type:String,default:"350px"}},setup(t){const e=t,i=at("$viewer"),o=re(),r=re(0),n=re(0),a=re(),s=di([]),l=re(!1),c=re(!0),d=L=>{L.key==="Escape"?c.value=!0:L.key==="Enter"&&B()};dt(c,L=>{L?(window.removeEventListener("keydown",d),v.clear(),y.clear(),o.value=null):window.addEventListener("keydown",d)});const u=Re(()=>i.localContext.loadedModels),h=Re(()=>i.localContext.loadedModelIds),p=Re(()=>i.localContext.loadingModelIds),A=Re(()=>i.localContext.multiModel),f=Re(()=>(e.customFilter?s.value.filter(e.customFilter):s.value).map(L=>u.value.find(F=>F.document?.head_id!=null&&F.document.head_id===L.document.id)??L)),m=L=>h.value.includes(L),g=L=>p.value.includes(L),y=hr(new Set),v=hr(new Set),b=L=>L.children?.some(F=>m(F.id))??!1,x=L=>(m(L.id)||b(L)||y.has(L))&&!v.has(L),k=Re(()=>{const{x:L,y:F}=a.value.getBoundingClientRect();return`top:${n.value-F}px; left:${r.value-L}px;`}),E=L=>{L.status==="C"&&(!A.value&&m(L.id)||(m(L.id)?v.has(L)?v.delete(L):v.add(L):y.has(L)?y.delete(L):y.add(L)))},B=()=>{y.size>0&&i.localContext.loadModels(Array.from(y).map(L=>L.id)),v.size>0&&i.localContext.unloadModels(Array.from(v).map(L=>L.id)),c.value=!0},P=L=>{switch(L){case"C":return"success";case"E":return"failed";case"P":case"I":return"sandglass"}},T=L=>L.document&&!L.document.is_head_version,R=(L,F)=>{!e.preview||c.value||(L?.viewer_360_file&&(r.value=F.clientX,n.value=F.clientY),o.value=L?.viewer_360_file)};return(async L=>{l.value=!0;try{return(await i.api.apiClient.modelApi.getModels(i.api.cloudId,i.api.projectId,void 0,void 0,L)).filter(F=>i.state.models.some(U=>U.archived)||!F.archived).sort(rl("updated_at",!1))}catch(F){console.error("[Models] Cannot get project models. Error: ",F)}finally{l.value=!1}return[]})(i.localContext.modelTypes).then(L=>{s.value=L}),(L,F)=>{const U=I("BIMDataSpinner"),q=I("BIMDataTextbox"),V=I("BIMDataIconChevron"),W=I("BIMDataButton"),Y=I("BIMDataIconFileIfcPolychrome"),$=I("BIMDataCheckbox"),fe=I("BIMDataRadio"),Me=I("BIMDataIcon"),Se=I("BIMDataPaginatedList"),qe=si("click-away");return M(),_("div",{ref_key:"templateRef",ref:a,class:de(["bimdata-multi-model-loader",{"bimdata-multi-model-loader--window-positioning":t.windowPositioning}])},[o.value?(M(),_("div",{key:0,class:"bimdata-multi-model-loader__preview",style:ce(k.value)},[w("img",{src:o.value},null,8,qki)],4)):te("",!0),S(Ai,{name:"fade",mode:"out-in"},{default:N(()=>[c.value?(M(),_("div",Qki,[gt(L.$slots,"left",{},void 0,!0),w("div",{class:"bimdata-multi-model-loader__header",onClick:F[0]||(F[0]=Qe=>c.value=!1)},[l.value||p.value.length>0?(M(),_("div",Gki,[S(U)])):(M(),_(Ye,{key:1},[w("div",Kki,[w("img",{src:it(Hki),alt:"file icon"},null,8,Jki)]),w("div",{class:de(["bimdata-multi-model-loader__header__number bimdata-info-length",{"bimdata-multi-model-loader__header__number--empty":h.value.length===0}])},[w("span",null,z(h.value.length),1)],2),w("div",Zki,[f.value.length===0?(M(),_("span",Wki,z(L.$t("model.no_model")),1)):h.value.length===0?(M(),_("span",Yki,z(L.$t("model.no_loaded_model")),1)):h.value.length===1?(M(),G(q,{key:2,text:u.value[0].name,tooltip:c.value,width:"233px"},null,8,["text","tooltip"])):h.value.length>1?(M(),_("span",Xki,z(L.$t("model.selected_models")),1)):te("",!0)]),S(W,{color:"default",icon:"",radius:"",fill:"",width:"21px",height:"21px"},{default:N(()=>[S(V,{size:"xxxs"})]),_:1})],64))]),gt(L.$slots,"right",{},void 0,!0)])):yt((M(),_("div",$ki,[S(Se,{list:f.value,"per-page":10},{element:N(({element:Qe})=>[w("div",{class:de(["bimdata-multi-model-loader__main__model",{"bimdata-multi-model-loader__main__model--disabled":Qe.status!=="C"}]),onMousemove:Ce=>R(Qe,Ce),onMouseout:F[1]||(F[1]=Ce=>R()),onClick:Ce=>E(Qe)},[S(Y,{fill:"",color:"default",size:"xs"}),A.value?(M(),G($,{key:0,"model-value":x(Qe),disabled:Qe.status!=="C"},null,8,["model-value","disabled"])):(M(),G(fe,{key:1,"model-value":x(Qe),disabled:Qe.status!=="C"},null,8,["model-value","disabled"])),S(q,{class:de({"bimdata-multi-model-loader__main__model__name":!0,"bimdata-multi-model-loader__main__model__name--disabled":Qe.status!=="C"}),text:Qe.name,width:T(Qe)?"333px":"363px"},null,8,["class","text","width"]),T(Qe)?(M(),G(Me,{key:2,name:"versioning",fill:"",color:"default",size:"xs",margin:"0 0 0 6px"})):te("",!0),g(Qe.id)?(M(),G(U,{key:3,class:"bimdata-multi-model-loader__main__model__spinner"})):(M(),G(Me,{key:4,name:P(Qe.status),size:"xs",class:de({"fill-success":Qe.status==="C","fill-high":Qe.status==="E"})},null,8,["name","class"]))],42,eMi)]),_:1},8,["list"]),S(W,{class:"bimdata-multi-model-loader__main__validate",width:"93px",color:"primary",fill:"",radius:"",disabled:it(y).size===0&&it(v).size===0,onClick:B},{default:N(()=>[Je(z(L.$t("global.validate")),1)]),_:1},8,["disabled"])])),[[qe,()=>c.value=!0]])]),_:3})],2)}}},iMi=j(tMi,[["__scopeId","data-v-44e6af66"]]),oMi={data(){return{shown:!1}},mounted(){setTimeout(()=>{this.shown=!0},500)}};function rMi(t,e,i,o,r,n){const a=I("BIMDataIllustration");return M(),_("div",{class:"bimdata__no-model",style:ce({"--no-model--opacity":r.shown?1:0})},[S(a,{name:"emptyViewer",x:"90",y:"90"}),w("span",null,z(t.$t("model.select_model")),1)],4)}const Yge=j(oMi,[["render",rMi],["__scopeId","data-v-5ffd9bc0"]]);window.BIMDataViewerVue=kz;class nMi{constructor(e={}){const{api:i={},ui:o}=e;this.uiCfg=o,i.apiUrl||(console.info("[BIMData Viewer] INFO - Viewer config - `apiUrl` not set, use 'https://api.bimdata.io' by default."),i.apiUrl="https://api.bimdata.io"),i.archiveUrl||(console.info("[BIMData Viewer] INFO - Viewer config - `archiveUrl` not set, use 'https://archive.bimdata.io' by default."),i.archiveUrl="https://archive.bimdata.io"),i.pdfBackendUrl||(console.info("[BIMData Viewer] INFO - Viewer config - `pdfBackendUrl` not set, use 'https://pdf-backend.bimdata.io' by default."),i.pdfBackendUrl="https://pdf-backend.bimdata.io"),i.ifcIds&&(console.warn("[BIMData Viewer] DEPRECATED - Viewer config - please use the `modelIds` property instead of `ifcIds`."),i.modelIds===void 0&&(i.modelIds=i.ifcIds)),i.modelIds||(i.modelIds=[]),i.offline?.dataFile&&(i.offline.data=i.offline.dataFile),this.$viewer=new hxi(e),i.offline?.enabled?this.$viewer.api.enableOfflineMode(i.offline.data,i.offline.options).then(()=>this.state.loadModels(i.modelIds)):(this.$viewer.globalContext.loadingProcessStart(),this.state.loadModels(i.modelIds).finally(()=>this.$viewer.globalContext.loadingProcessEnd())),this.vueApp=null}get state(){return this.$viewer.state}get api(){return this.$viewer.api}async mount(e,i="3d"){const{$viewer:o}=this;await o.api.ready;try{const d=await o.api.apiClient.collaborationApi.checkProjectAccess(o.api.cloudId,o.api.projectId);o.api.permissions=Zge(d)}catch{o.api.permissions=Zge()}const r=this.api.accessToken,{i18n:n}=o;n.registerTranslations(o.pluginManager.pluginTranslations),o.layout.apply(i);const a={i18n:n.i18nVuePlugin,data(){return{accessToken:r}},render(){return mo(Rki,{style:"height: 100%"})}},s=Km(a).use(n.i18nVuePlugin).use($xi()).use(Wxi({i18nPlugin:n.i18nVuePlugin})).use(Bxi({apiClient:o.api.apiClient,i18nPlugin:n.i18nVuePlugin}));s.provide("$viewer",o),s.provide("BIMDATA_DESIGN_SYSTEM_DARK_THEME",Re(()=>o.darkTheme)),s.component("BIMDataModelLoader",Wge),s.component("BIMDataMultiModelLoader",iMi),s.component("BIMDataNoModelWindowPlaceHolder",Yge),s.component("BIMDataStoreySelector",vP),s.component("ModelsLoader",Wge),s.component("NoModelWindowPlaceHolder",Yge);const l=e instanceof HTMLElement?e:document.querySelector(e);l&&(l.style.height="100%");const c=s.mount(e);return c.$viewer=o,pxi(c.$el,this.uiCfg?.style),typeof window<"u"&&(window.bimdataViewer=c),this.vueApp=s,c}destroy(){this.vueApp?.unmount()}setLocale(e){if(!Vz.includes(e))throw new Error(`Viewer available locales are ${Vz.join(", ")}.`);this.$viewer.i18n.locale=e}registerPlugin(e){this.$viewer.registerPlugin(e)}registerWindow(e){return this.$viewer.windowManager.registerWindow(e)}unregisterWindow(e){return this.$viewer.windowManager.unregisterWindow(e)}setAccessToken(e){this.api.accessToken=e}async loadModels(e){this.$viewer.globalContext.loadingProcessStart();const i=await this.state.loadModels(e);return this.$viewer.globalContext.loadingProcessEnd(),i}loadIfcs(e){return console.warn("[BIMData Viewer] DEPRECATED - Viewer - please use the loadModels method instead of loadIfcs."),this.loadModels(e)}}const Xge=(t={})=>new nMi(t);window.makeBIMDataViewer=Xge;export{Xge as default};