@qaecy/cue-ui 0.0.67 → 0.0.68

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.
package/6423.js CHANGED
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[6423],{96756(k,O,i){i.d(O,{BK:()=>e,In:()=>S,Kz:()=>w,Mc:()=>G,U6:()=>M,g0:()=>V,g8:()=>n,r:()=>t,u9:()=>p});const e=["#2B5DE6","#1A2B50","#C5E045","#6FA8FF","#00C2E0","#5847EB","#008585","#4ADE80","#0F4C81","#8B5CF6","#FACC15","#FB923C","#F43F5E","#E879F9","#D97706","#334155","#64748B","#94A3B8","#C7D2FE","#F8FAFC"];function t(c){switch(c){case"primary":default:return"#2859e1";case"accent":return"#e2f552";case"tertiary":return"#ffffff"}}function M(c){switch(c){case"primary":default:return"#1744c2";case"accent":return"#b8cc3f";case"tertiary":return"#eeeeee"}}function n(c){const[g,R,I]=function y(c,g){if(typeof window>"u"||typeof document>"u")return g.map(()=>"");const R=c?.nativeElement??document.body;if(!R)return g.map(()=>"");const I=window.getComputedStyle(R);return g.map(A=>I.getPropertyValue(A).trim()||"")}(c,["--cue-chart-text-color","--cue-chart-border-background-color","--chart-graph-edge-color"]);return{text:g,borderBackground:R,edgeColor:I}}const p={fontFamily:"Poppins, sans-serif",fontWeight:"normal",color:"#333"};function S(c){return c>=1e6?`${(c/1e6).toFixed(1)}m`:c>=1e3?`${(c/1e3).toFixed(0)}k`:c.toString()}function w(c,g,R,I){if(1===I)return c;const A=b(c),P=b(g),f=R/(I-1);return`rgb(${Math.round(A.r+(P.r-A.r)*f)}, ${Math.round(A.g+(P.g-A.g)*f)}, ${Math.round(A.b+(P.b-A.b)*f)})`}const G=(c,g)=>void 0===g?c:g.children??[];function V(c,g,R=.05,I="Other"){const A=c.reduce((h,o)=>h+m(o),0),P=[],f=[];if(c.forEach(h=>{let o,d;o=void 0===h.value&&Array.isArray(h.children)&&h.children.length>0?h.children.reduce((s,l)=>s+m(l),0):void 0!==h.value?h.value:0,Array.isArray(h.children)&&h.children.length>0&&(d=V(h.children,g,R,I));const u={...h,value:o,children:d};g&&A>0&&o/A<R?f.push(u):P.push(u)}),g&&f.length>0){const h=f.reduce((o,d)=>o+d.value,0);P.push({id:"__grouped_small__",name:I,value:h,children:f,isGroup:!0})}return P}function b(c){const g=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(c);return g?{r:parseInt(g[1],16),g:parseInt(g[2],16),b:parseInt(g[3],16)}:{r:0,g:0,b:0}}function m(c){return"number"==typeof c.value?c.value:Array.isArray(c.children)&&c.children.length>0?c.children.reduce((g,R)=>g+m(R),0):0}},89480(k,O,i){i.d(O,{r:()=>L});var e=i(17705),t=i(32271),M=i(85802),n=i(10467),y=i(35547),p=i(89079),N=i(92771),E=i(18359),S=i(21413),w=i(43236),W=i(24226),G=i(39974),V=i(54360),b=i(58750),c=i(41584);var R=i(25558);const I=new M.nKC("NGX_ECHARTS_CONFIG");class A{constructor(){this.subject=new N.m(1),this.subscriptions=new E.yU}doFilter(q){this.subject.next(q)}dispose(){this.subscriptions.unsubscribe()}notEmpty(q,a){this.subscriptions.add(this.subject.subscribe(r=>{if(r[q]){const D=r[q].currentValue;null!=D&&a(D)}}))}has(q,a){this.subscriptions.add(this.subject.subscribe(r=>{r[q]&&a(r[q].currentValue)}))}notFirst(q,a){this.subscriptions.add(this.subject.subscribe(r=>{r[q]&&!r[q].isFirstChange()&&a(r[q].currentValue)}))}notFirstAndEmpty(q,a){this.subscriptions.add(this.subject.subscribe(r=>{if(r[q]&&!r[q].isFirstChange()){const D=r[q].currentValue;null!=D&&a(D)}}))}}let P=(()=>{class v{constructor(){this.el=(0,M.WQX)(y.aKT),this.ngZone=(0,M.WQX)(M.SKi),this.config=(0,M.WQX)(I),this.options=(0,e.hFB)(null),this.theme=(0,e.hFB)(this.config.theme??null),this.initOpts=(0,e.hFB)(null),this.merge=(0,e.hFB)(null),this.autoResize=(0,e.hFB)(!0),this.loading=(0,e.hFB)(!1),this.loadingType=(0,e.hFB)("default"),this.loadingOpts=(0,e.hFB)(null),this.chartInit=(0,e.CGW)(),this.optionsError=(0,e.CGW)(),this.chartClick=(0,p.p)(this.createLazyEvent("click")),this.chartDblClick=(0,p.p)(this.createLazyEvent("dblclick")),this.chartMouseDown=(0,p.p)(this.createLazyEvent("mousedown")),this.chartMouseMove=(0,p.p)(this.createLazyEvent("mousemove")),this.chartMouseUp=(0,p.p)(this.createLazyEvent("mouseup")),this.chartMouseOver=(0,p.p)(this.createLazyEvent("mouseover")),this.chartMouseOut=(0,p.p)(this.createLazyEvent("mouseout")),this.chartGlobalOut=(0,p.p)(this.createLazyEvent("globalout")),this.chartContextMenu=(0,p.p)(this.createLazyEvent("contextmenu")),this.chartHighlight=(0,p.p)(this.createLazyEvent("highlight")),this.chartDownplay=(0,p.p)(this.createLazyEvent("downplay")),this.chartSelectChanged=(0,p.p)(this.createLazyEvent("selectchanged")),this.chartLegendSelectChanged=(0,p.p)(this.createLazyEvent("legendselectchanged")),this.chartLegendSelected=(0,p.p)(this.createLazyEvent("legendselected")),this.chartLegendUnselected=(0,p.p)(this.createLazyEvent("legendunselected")),this.chartLegendLegendSelectAll=(0,p.p)(this.createLazyEvent("legendselectall")),this.chartLegendLegendInverseSelect=(0,p.p)(this.createLazyEvent("legendinverseselect")),this.chartLegendScroll=(0,p.p)(this.createLazyEvent("legendscroll")),this.chartDataZoom=(0,p.p)(this.createLazyEvent("datazoom")),this.chartDataRangeSelected=(0,p.p)(this.createLazyEvent("datarangeselected")),this.chartGraphRoam=(0,p.p)(this.createLazyEvent("graphroam")),this.chartGeoRoam=(0,p.p)(this.createLazyEvent("georoam")),this.chartTreeRoam=(0,p.p)(this.createLazyEvent("treeroam")),this.chartTimelineChanged=(0,p.p)(this.createLazyEvent("timelinechanged")),this.chartTimelinePlayChanged=(0,p.p)(this.createLazyEvent("timelineplaychanged")),this.chartRestore=(0,p.p)(this.createLazyEvent("restore")),this.chartDataViewChanged=(0,p.p)(this.createLazyEvent("dataviewchanged")),this.chartMagicTypeChanged=(0,p.p)(this.createLazyEvent("magictypechanged")),this.chartGeoSelectChanged=(0,p.p)(this.createLazyEvent("geoselectchanged")),this.chartGeoSelected=(0,p.p)(this.createLazyEvent("geoselected")),this.chartGeoUnselected=(0,p.p)(this.createLazyEvent("geounselected")),this.chartAxisAreaSelected=(0,p.p)(this.createLazyEvent("axisareaselected")),this.chartBrush=(0,p.p)(this.createLazyEvent("brush")),this.chartBrushEnd=(0,p.p)(this.createLazyEvent("brushend")),this.chartBrushSelected=(0,p.p)(this.createLazyEvent("brushselected")),this.chartGlobalCursorTaken=(0,p.p)(this.createLazyEvent("globalcursortaken")),this.chartRendered=(0,p.p)(this.createLazyEvent("rendered")),this.chartFinished=(0,p.p)(this.createLazyEvent("finished")),this.animationFrameID=null,this.chart$=new N.m(1),this.resize$=new S.B,this.changeFilter=new A,this.resizeObFired=!1,this.echarts=this.config.echarts}ngOnChanges(a){this.changeFilter.doFilter(a)}ngOnInit(){if(!window.ResizeObserver)throw new Error("please install a polyfill for ResizeObserver");this.resizeSub=this.resize$.pipe(function g(v,q=w.E,a){const r=(0,c.O)(v,q);return function m(v,q){return(0,G.N)((a,r)=>{const{leading:D=!0,trailing:H=!1}=q??{};let B=!1,_=null,x=null,z=!1;const $=()=>{x?.unsubscribe(),x=null,H&&(X(),z&&r.complete())},F=()=>{x=null,z&&r.complete()},U=j=>x=(0,b.Tg)(v(j)).subscribe((0,V._)(r,$,F)),X=()=>{if(B){B=!1;const j=_;_=null,r.next(j),!z&&U(j)}};a.subscribe((0,V._)(r,j=>{B=!0,_=j,(!x||x.closed)&&(D?X():U(j))},()=>{z=!0,(!(H&&B&&x)||x.closed)&&r.complete()}))})}(()=>r,a)}(100,w.E,{leading:!1,trailing:!0})).subscribe(()=>this.resize()),this.autoResize()&&(this.resizeOb=this.ngZone.runOutsideAngular(()=>new window.ResizeObserver(a=>{for(const r of a)r.target===this.el.nativeElement&&(this.resizeObFired?this.animationFrameID=window.requestAnimationFrame(()=>{this.resize$.next()}):this.resizeObFired=!0)})),this.resizeOb.observe(this.el.nativeElement)),this.changeFilter.notFirstAndEmpty("options",a=>this.onOptionsChange(a)),this.changeFilter.notFirstAndEmpty("merge",a=>this.setOption(a)),this.changeFilter.has("loading",a=>this.toggleLoading(!!a)),this.changeFilter.notFirst("theme",()=>this.refreshChart())}ngOnDestroy(){window.clearTimeout(this.initChartTimer),this.resizeSub&&this.resizeSub.unsubscribe(),this.animationFrameID&&window.cancelAnimationFrame(this.animationFrameID),this.resizeOb&&this.resizeOb.unobserve(this.el.nativeElement),this.loadingSub&&this.loadingSub.unsubscribe(),this.changeFilter.dispose(),this.dispose()}ngAfterViewInit(){this.initChartTimer=window.setTimeout(()=>this.initChart())}dispose(){this.chart&&(this.chart.isDisposed()||this.chart.dispose(),this.chart=null)}resize(){this.chart&&this.chart.resize()}toggleLoading(a){this.chart?a?this.chart.showLoading(this.loadingType(),this.loadingOpts()):this.chart.hideLoading():this.loadingSub=this.chart$.subscribe(r=>a?r.showLoading(this.loadingType(),this.loadingOpts()):r.hideLoading())}setOption(a,r){if(this.chart)try{this.chart.setOption(a,r)}catch(D){console.error(D),this.optionsError.emit(D)}}refreshChart(){var a=this;return(0,n.A)(function*(){a.dispose(),yield a.initChart()})()}createChart(){const a=this.el.nativeElement;if(window&&window.getComputedStyle){const r=window.getComputedStyle(a,null).getPropertyValue("height");(!r||"0px"===r)&&(!a.style.height||"0px"===a.style.height)&&(a.style.height="400px")}return this.ngZone.runOutsideAngular(()=>("function"==typeof this.echarts?this.echarts:()=>Promise.resolve(this.echarts))().then(({init:D})=>D(a,this.theme()??this.config?.theme,this.initOpts())))}initChart(){var a=this;return(0,n.A)(function*(){yield a.onOptionsChange(a.options());const r=a.merge();r&&a.chart&&a.setOption(r)})()}onOptionsChange(a){var r=this;return(0,n.A)(function*(){a&&(r.chart||(r.chart=yield r.createChart(),r.chart$.next(r.chart),r.chartInit.emit(r.chart)),r.setOption(r.options(),!0))})()}createLazyEvent(a){return(0,p.yC)(this.chartInit).pipe((0,R.n)(r=>new W.c(D=>(r.on(a,H=>this.ngZone.run(()=>D.next(H))),()=>{this.chart&&(this.chart.isDisposed()||r.off(a))}))))}static{this.\u0275fac=function(r){return new(r||v)}}static{this.\u0275dir=y.FsC({type:v,selectors:[["echarts"],["","echarts",""]],inputs:{options:[1,"options"],theme:[1,"theme"],initOpts:[1,"initOpts"],merge:[1,"merge"],autoResize:[1,"autoResize"],loading:[1,"loading"],loadingType:[1,"loadingType"],loadingOpts:[1,"loadingOpts"]},outputs:{chartInit:"chartInit",optionsError:"optionsError",chartClick:"chartClick",chartDblClick:"chartDblClick",chartMouseDown:"chartMouseDown",chartMouseMove:"chartMouseMove",chartMouseUp:"chartMouseUp",chartMouseOver:"chartMouseOver",chartMouseOut:"chartMouseOut",chartGlobalOut:"chartGlobalOut",chartContextMenu:"chartContextMenu",chartHighlight:"chartHighlight",chartDownplay:"chartDownplay",chartSelectChanged:"chartSelectChanged",chartLegendSelectChanged:"chartLegendSelectChanged",chartLegendSelected:"chartLegendSelected",chartLegendUnselected:"chartLegendUnselected",chartLegendLegendSelectAll:"chartLegendLegendSelectAll",chartLegendLegendInverseSelect:"chartLegendLegendInverseSelect",chartLegendScroll:"chartLegendScroll",chartDataZoom:"chartDataZoom",chartDataRangeSelected:"chartDataRangeSelected",chartGraphRoam:"chartGraphRoam",chartGeoRoam:"chartGeoRoam",chartTreeRoam:"chartTreeRoam",chartTimelineChanged:"chartTimelineChanged",chartTimelinePlayChanged:"chartTimelinePlayChanged",chartRestore:"chartRestore",chartDataViewChanged:"chartDataViewChanged",chartMagicTypeChanged:"chartMagicTypeChanged",chartGeoSelectChanged:"chartGeoSelectChanged",chartGeoSelected:"chartGeoSelected",chartGeoUnselected:"chartGeoUnselected",chartAxisAreaSelected:"chartAxisAreaSelected",chartBrush:"chartBrush",chartBrushEnd:"chartBrushEnd",chartBrushSelected:"chartBrushSelected",chartGlobalCursorTaken:"chartGlobalCursorTaken",chartRendered:"chartRendered",chartFinished:"chartFinished"},exportAs:["echarts"],features:[y.OA$]})}}return v})();function f(v){return{provide:I,useValue:v}}let h=(()=>{class v{static forRoot(a){return{ngModule:v,providers:[f(a)]}}static forChild(){return{ngModule:v}}static{this.\u0275fac=function(r){return new(r||v)}}static{this.\u0275mod=y.$C({type:v})}static{this.\u0275inj=M.G2t({})}}return v})();var o=i(96756),d=i(42245),u=i(35381),s=i(36170);const l=()=>({renderer:"canvas",width:"auto",height:"auto"});function C(v,q){if(1&v&&(y.j41(0,"cue-flexcontainer",3),y.nrm(1,"cue-typography",5),y.k0s()),2&v){const a=y.XpG();y.R7$(),y.Y8G("innerHTML",a.currentHoveredValue()||a.formattedSum(),y.npT)}}function T(v,q){if(1&v&&(y.j41(0,"cue-flexcontainer",4)(1,"cue-typography",6),y.EFF(2),y.k0s()()),2&v){const a=y.XpG();y.R7$(2),y.JRh(a.currentHoveredValue())}}let L=(()=>{class v{data=e.hFB.required();variant=(0,e.hFB)("primary");doughnut=(0,e.hFB)(!1);hoverType=(0,e.hFB)("name");labelType=(0,e.hFB)("name");clickable=(0,e.hFB)(!0);labelThresholdPct=(0,e.hFB)(3);groupSmallFractions=(0,e.hFB)(void 0);clickedCategory=(0,e.CGW)();clickedCanvas=(0,e.CGW)();radius=(0,t.EW)(()=>this.doughnut()?["40%","70%"]:"70%");startColor=(0,t.EW)(()=>(0,o.r)(this.variant()));endColor=(0,t.EW)(()=>(0,o.U6)(this.variant()));currentParent=(0,M.vPA)(void 0);saturated=(0,t.EW)(()=>{const a=this.groupSmallFractions();return a?.enabled?(0,o.g0)(this.data(),!0,a.threshold,a.groupName):(0,o.g0)(this.data(),!1)});chartData=(0,t.EW)(()=>(0,o.Mc)(this.saturated(),this.currentParent()));borderColor=(0,t.EW)(()=>"tertiary"===this.variant()?"#cccccc":this.borderBackgroundColor());textColor=(0,M.vPA)("#333");borderBackgroundColor=(0,M.vPA)("#fff");sum=(0,t.EW)(()=>this.chartData().reduce((a,r)=>a+r.value,0));formattedSum=(0,t.EW)(()=>(0,o.In)(this.sum()));chartInstance=null;currentHoveredValue=(0,M.vPA)(null);hoveredItemName=(0,M.vPA)(null);constructor(){this.updateColors()}updateColors(){const a=(0,o.g8)();this.textColor.set(a.text||"#333"),this.borderBackgroundColor.set(a.borderBackground||"#fff")}onChartInit(a){this.chartInstance=a,this.setupChartEvents()}setupChartEvents(){this.chartInstance&&(this.chartInstance.on("mouseover",a=>{a.data&&(this.hoveredItemName.set(a.data.name),this.updateHoveredValue(a.data),this.chartInstance?.setOption(this.chartOptions()))}),this.chartInstance.on("mouseout",()=>{this.hoveredItemName.set(null),this.currentHoveredValue.set(null),this.chartInstance?.setOption(this.chartOptions())}),this.chartInstance.on("click",a=>{const r=window.event||a.event;r&&"function"==typeof r.stopPropagation&&r.stopPropagation(),a.data&&(!0!==a.data?.isGroup&&this.clickedCategory.emit(a.data),this.currentParent.set(void 0!==a.data.children&&a.data.children.length>0?a.data:void 0))}))}onData=(0,M.QZP)(()=>{this.data(),this.currentHoveredValue.set(null)});handleCanvasClick(){this.clickedCanvas.emit(),this.currentParent.set(void 0)}updateHoveredValue(a){switch(this.hoverType()){case"value":this.currentHoveredValue.set(a.value.toString());break;case"valueShort":this.currentHoveredValue.set((0,o.In)(a.value));break;case"pct":{const r=(a.value/this.sum()*100).toFixed(1);this.currentHoveredValue.set(`${r}%`);break}case"nameValue":this.currentHoveredValue.set(`${a.name}${this.doughnut()?"<br>":": "}${a.value.toString()}`);break;case"nameValueShort":this.currentHoveredValue.set(`${a.name}${this.doughnut()?"<br>":": "}${(0,o.In)(a.value)}`);break;case"namePct":{const r=(a.value/this.sum()*100).toFixed(1);this.currentHoveredValue.set(`${a.name}${this.doughnut()?"<br>":": "}${r}%`);break}default:this.currentHoveredValue.set(a.name)}}chartOptions=(0,t.EW)(()=>{const a=this.chartData();return{fontStyle:o.u9,series:[{name:"Distribution",type:"pie",radius:this.radius(),cursor:this.clickable()?"pointer":"default",data:a.map((r,D)=>({...r,itemStyle:{color:(0,o.Kz)(this.startColor(),this.endColor(),D,a.length),borderColor:this.borderColor(),borderWidth:"tertiary"===this.variant()?1:2,borderType:"solid"},...r.name===this.hoveredItemName()?{label:{width:void 0,overflow:"break",align:"center"}}:{}})),emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)",borderWidth:"tertiary"===this.variant()?2:0,borderColor:"tertiary"===this.variant()?"#999999":"transparent"}},labelLine:{show:!1},label:{color:"inherit",position:"outside",distanceToLabelLine:-100,show:"none"!==this.labelType(),backgroundColor:this.borderBackgroundColor(),borderColor:"#333"===this.textColor()||"var(--cue-chart-text-color)"===this.textColor()?"rgba(0, 0, 0, 0.08)":"rgba(255, 255, 255, 0.12)",borderWidth:1,borderRadius:9999,padding:[5,10],shadowBlur:6,shadowColor:"rgba(0, 0, 0, 0.1)",shadowOffsetX:0,shadowOffsetY:2,fontFamily:o.u9.fontFamily,fontSize:12,fontWeight:500,formatter:r=>{const{data:D}=r,H=D.value/this.sum()*100;if(H<this.labelThresholdPct())return"";let B="";switch(this.labelType()){case"value":B=D.value.toString();break;case"valueShort":B=(0,o.In)(D.value);break;case"pct":B=`${H.toFixed(1)}%`;break;default:B=D.name}return`{dot|\u25cf} {text|${B}}`},rich:{dot:{fontSize:14,padding:[0,4,0,0]},text:{color:this.textColor(),fontFamily:o.u9.fontFamily,fontSize:12,fontWeight:500}}}}]}});static \u0275fac=function(r){return new(r||v)};static \u0275cmp=y.VBU({type:v,selectors:[["cue-pie-chart"]],inputs:{data:[1,"data"],variant:[1,"variant"],doughnut:[1,"doughnut"],hoverType:[1,"hoverType"],labelType:[1,"labelType"],clickable:[1,"clickable"],labelThresholdPct:[1,"labelThresholdPct"],groupSmallFractions:[1,"groupSmallFractions"]},outputs:{clickedCategory:"clickedCategory",clickedCanvas:"clickedCanvas"},features:[y.Jv_([f({echarts:()=>i.e(5473).then(i.bind(i,25473)).then(a=>a.default)})])],decls:5,vars:5,consts:[["chart",""],["cueDarkMode","",1,"chart-container",3,"darkModeChange","click"],["echarts","",1,"chart",3,"chartInit","options","initOpts"],["justify","center",1,"center-text"],["justify","center",1,"bottom-text"],["size","l","weight","semibold","align","center",3,"innerHTML"],["size","l","weight","semibold"]],template:function(r,D){1&r&&(y.j41(0,"div",1),y.bIt("darkModeChange",function(){return D.updateColors()})("click",function(){return D.handleCanvasClick()}),y.j41(1,"div",2,0),y.bIt("chartInit",function(B){return D.onChartInit(B)}),y.k0s(),y.nVh(3,C,2,1,"cue-flexcontainer",3),y.nVh(4,T,3,1,"cue-flexcontainer",4),y.k0s()),2&r&&(y.R7$(),y.Y8G("options",D.chartOptions())("initOpts",y.lJ4(4,l)),y.R7$(2),y.vxM(D.doughnut()?3:-1),y.R7$(),y.vxM(D.doughnut()?-1:4))},dependencies:[h,P,d.Typography,u.FlexContainer,s.R],styles:[".chart-container[_ngcontent-%COMP%]{position:relative;width:100%;height:400px}.chart[_ngcontent-%COMP%]{width:100%;height:100%}.center-text[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;pointer-events:none;width:80%}.bottom-text[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;right:0;text-align:center;padding-bottom:10px}"]})}return v})()},99811(k,O,i){i.d(O,{z:()=>M});var e=i(85802),t=i(61519);let M=(()=>{class n{handlers=(0,e.vPA)(new t.$);projectId=(0,e.vPA)("");portalBaseURL=(0,e.vPA)("");resourceBaseURL=(0,e.vPA)("");graphIsSaturated=(0,e.vPA)(!1);privileges=(0,e.vPA)(new t.c);availableContentCategories=(0,e.vPA)(void 0);availableEntityCategories=(0,e.vPA)(void 0);availableEntityRelationships=(0,e.vPA)(void 0);entityInfoMap=(0,e.vPA)({});documentInfoMap=(0,e.vPA)({});static \u0275fac=function(N){return new(N||n)};static \u0275prov=e.jDH({token:n,factory:n.\u0275fac})}return n})()},7993(k,O,i){i.d(O,{o:()=>P});var e=i(10467),t=i(85802),M=i(17705),n=i(32271),y=i(89480),p=i(77573);const b=[{"@id":"https://dev.qaecy.com/enum#ConstructionProcessDocument","@type":"qcy:ContentCategory",children:[{"@id":"https://dev.qaecy.com/enum#ScheduleDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Schedule Document"}},{"@id":"https://dev.qaecy.com/enum#SafetyDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Safety Document"}},{"@id":"https://dev.qaecy.com/enum#QualityAssuranceDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"QA/QC Document"}},{"@id":"https://dev.qaecy.com/enum#ProgressStatusReport","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Progress & Status Report"}},{"@id":"https://dev.qaecy.com/enum#OtherConstructionProcessDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Other Construction Management Document"}},{"@id":"https://dev.qaecy.com/enum#ChangeOrderRFIDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Change Order & RFI Document"}}],label:{"@language":"en","@value":"Construction Process & Management Document"}},{"@id":"https://dev.qaecy.com/enum#ContractualDocument","@type":"qcy:ContentCategory",children:[{"@id":"https://dev.qaecy.com/enum#PurchaseOrLeaseAgreement","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Purchase & Lease Agreement"}},{"@id":"https://dev.qaecy.com/enum#OtherContractualDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Other Contractual & Legal Document"}},{"@id":"https://dev.qaecy.com/enum#InsuranceBondDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Insurance & Bond Document"}},{"@id":"https://dev.qaecy.com/enum#ConstructionContract","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Construction Contract"}}],label:{"@language":"en","@value":"Contractual & Legal Document"}},{"@id":"https://dev.qaecy.com/enum#DesignDocument","@type":"qcy:ContentCategory",children:[{"@id":"https://dev.qaecy.com/enum#OtherDesignDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Other Design Document"}},{"@id":"https://dev.qaecy.com/enum#LandscapeDesignDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Landscape Design Document"}},{"@id":"https://dev.qaecy.com/enum#InteriorDesignDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Interior Design Document"}},{"@id":"https://dev.qaecy.com/enum#EngineeringDesignDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Engineering Design Document"}},{"@id":"https://dev.qaecy.com/enum#ArchitecturalDesignDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Architectural Design Document"}}],label:{"@language":"en","@value":"Design Document"}},{"@id":"https://dev.qaecy.com/enum#FinancialAdministrativeDocument","@type":"qcy:ContentCategory",children:[{"@id":"https://dev.qaecy.com/enum#OtherFinancialAdministrativeDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Other Financial & Administrative Document"}},{"@id":"https://dev.qaecy.com/enum#InvoicePaymentDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Invoice or Payment Document"}},{"@id":"https://dev.qaecy.com/enum#BudgetEstimateDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Budget or Estimate Document"}},{"@id":"https://dev.qaecy.com/enum#AppraisalValuationDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Appraisal or Valuation Document"}}],label:{"@language":"en","@value":"Financial & Administrative Document"}},{"@id":"https://dev.qaecy.com/enum#MiscDocument","@type":"qcy:ContentCategory",children:[{"@id":"https://dev.qaecy.com/enum#OtherMiscDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Other Miscellaneous Document"}},{"@id":"https://dev.qaecy.com/enum#MarketingCloseoutDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Marketing or Project Closeout Document"}},{"@id":"https://dev.qaecy.com/enum#DueDiligenceDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Due Diligence Document"}},{"@id":"https://dev.qaecy.com/enum#CorrespondenceDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Correspondence Document"}}],label:{"@language":"en","@value":"Miscellaneous Document"}},{"@id":"https://dev.qaecy.com/enum#OperationsMaintenanceDocument","@type":"qcy:ContentCategory",children:[{"@id":"https://dev.qaecy.com/enum#WarrantyDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Warranty or Guarantee Document"}},{"@id":"https://dev.qaecy.com/enum#OtherOperationsMaintenanceDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Other O&M Document"}},{"@id":"https://dev.qaecy.com/enum#OperationManual","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Operation Manual"}},{"@id":"https://dev.qaecy.com/enum#MaintenanceLog","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Maintenance Log"}},{"@id":"https://dev.qaecy.com/enum#AsBuiltDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"As-Built Document"}}],label:{"@language":"en","@value":"Operations & Maintenance Document"}},{"@id":"https://dev.qaecy.com/enum#RegulatoryComplianceDocument","@type":"qcy:ContentCategory",children:[{"@id":"https://dev.qaecy.com/enum#PermitDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Permit Document"}},{"@id":"https://dev.qaecy.com/enum#OtherRegulatoryComplianceDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Other Regulatory & Compliance Document"}},{"@id":"https://dev.qaecy.com/enum#InspectionDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Inspection Document"}},{"@id":"https://dev.qaecy.com/enum#ComplianceReport","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Compliance Report"}},{"@id":"https://dev.qaecy.com/enum#CertificationDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Certification Document"}}],label:{"@language":"en","@value":"Regulatory & Compliance Document"}},{"@id":"https://dev.qaecy.com/enum#RequirementsDocument","@type":"qcy:ContentCategory",children:[{"@id":"https://dev.qaecy.com/enum#TechnicalRequirementsDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Technical Requirements Document"}},{"@id":"https://dev.qaecy.com/enum#ScopeOfWorkDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Scope of Work (SOW) Document"}},{"@id":"https://dev.qaecy.com/enum#PerformanceRequirementsDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Performance Requirements Document"}},{"@id":"https://dev.qaecy.com/enum#OtherRequirementsDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Other Requirements & Scoping Document"}},{"@id":"https://dev.qaecy.com/enum#FunctionalRequirementsDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Functional Requirements Document"}}],label:{"@language":"en","@value":"Requirements & Scoping Document"}}],g=(f,h,o="size")=>{const d=Array.isArray(f)?f.reduce((l,C)=>({...l,[C.id]:C.value}),{}):Object.entries(f).reduce((l,[C,T])=>{const L="number"==typeof T?T:T[o];return{...l,[C]:L}},{});if(h&&h.length>0)return R(d,h);const u=Object.entries(d).map(([l,C])=>({id:l,value:C}));if(!(f=>{const h=(()=>{const f=new Set,h=o=>{for(const d of o)f.add(d["@id"]),d.children&&h(d.children)};return h(b),f})(),o=Array.isArray(f)?f.map(d=>d.id):Object.keys(f);for(const d of o)if(!h.has(d))return!1;return!0})(d))return u.map(l=>({id:l.id,name:String(l.id),value:l.value}));const s=l=>{const C=d[l["@id"]]||0,T=l.children?l.children.map(v=>s(v)).filter(v=>void 0!==v):void 0;let L=C;if(T&&T.length>0&&(L+=T.reduce((v,q)=>v+(q.value||0),0)),L>0)return{id:l["@id"],name:l.label["@value"],value:L,children:T&&T.length>0?T:void 0}};return b.map(l=>s(l)).filter(l=>void 0!==l)},R=(f,h)=>{const o=new Map,d=[];h.forEach(s=>{o.set(s.iri,{id:s.iri,name:s.label,value:f[s.iri]||0,children:[]})}),h.forEach(s=>{const l=o.get(s.iri);s.parent&&o.has(s.parent)?o.get(s.parent).children.push(l):d.push(l)});const u=s=>{let l=0;return s.children&&s.children.length>0&&(s.children=s.children.map(C=>u(C)).filter(C=>void 0!==C),l=s.children.reduce((C,T)=>C+(T.value||0),0)),(!s.children||0===s.children.length)&&delete s.children,s.value=(s.value||0)+l,(s.value||0)>0?s:void 0};return d.map(s=>u(s)).filter(s=>void 0!==s)};var I=i(99811),A=i(35547);let P=(()=>{class f{ctx=(0,t.WQX)(I.z);data=M.hFB.required();config=M.hFB.required();handlers=(0,n.EW)(()=>this.config().handlers);navigated=(0,M.CGW)();selectedContentCategories=(0,t.vPA)([]);onReset=(0,t.QZP)(()=>{this.handleCanvasClick()});fullTree=(0,n.EW)(()=>g(this.data().documents,this.ctx.availableContentCategories(),"count"));chartData=(0,n.EW)(()=>{const o=this.selectedContentCategories();if(!o.length)return this.fullTree();const d=o[0],u=l=>{for(const C of l){if(C.id===d)return C;if(C.children){const T=u(C.children);if(T)return T}}};return u(this.fullTree())?.children??this.fullTree()});groupSmallFractions=(0,n.EW)(()=>({enabled:!0,threshold:.05,groupName:"Rest"}));handleContentCategoryClick(o){var d=this;return(0,e.A)(function*(){const u=l=>{const C=[];return C.push(l.id),Array.isArray(l.children)&&l.children.forEach(T=>{C.push(...u(T))}),C};if(o.children&&o.children.length>0)return d.selectedContentCategories.set([o.id]),void d.navigated.emit({filterBy:"contentCat",values:u(o),label:o.name??o.id});const s=u(o);d.selectedContentCategories.set(s),d.navigated.emit({filterBy:"contentCat",values:s,label:o.name??o.id}),d.requestDocumentList(o)})()}requestDocumentList(o){var d=this;return(0,e.A)(function*(){const u=d.handlers()?.subsequentBlockRequest;if((f=>f===`${p.E["qcy-e"]}ContractualDocument`||"https://dev.qaecy.com/c/tend/enum#RentalContract"===f)(o.id)&&void 0!==u)return void u({id:"content-category",data:{categoryIRI:o.id},config:d.config(),focusOnAdd:!1},o.name??o.id,!0);const l=d.handlers()?.docListFilterRequest;if(void 0===l)return;const C=yield l("contentCat",[o.id]);C&&void 0!==u&&u({id:"document-list",data:C,config:d.config(),focusOnAdd:!0},o.name??o.id,!0)})()}handleCanvasClick(){this.selectedContentCategories.set([]),this.navigated.emit(null)}static \u0275fac=function(d){return new(d||f)};static \u0275cmp=A.VBU({type:f,selectors:[["cue-block-documents-by-content-category"]],inputs:{data:[1,"data"],config:[1,"config"]},outputs:{navigated:"navigated"},decls:1,vars:4,consts:[[1,"chart",3,"clickedCanvas","clickedCategory","data","doughnut","hoverType","groupSmallFractions"]],template:function(d,u){1&d&&(A.j41(0,"cue-pie-chart",0),A.bIt("clickedCanvas",function(){return u.handleCanvasClick()})("clickedCategory",function(l){return u.handleContentCategoryClick(l)}),A.k0s()),2&d&&A.Y8G("data",u.chartData())("doughnut",!1)("hoverType","nameValue")("groupSmallFractions",u.groupSmallFractions())},dependencies:[y.r],encapsulation:2,changeDetection:0})}return f})()},23615(k,O,i){i.d(O,{Y:()=>W});var e=i(10467),t=i(17705),M=i(85802),n=i(32271),y=i(94820),p=i(16114),N=i(89480),E=i(35547);const w="unknown";let W=(()=>{class G{data=t.hFB.required();config=t.hFB.required();handlers=(0,n.EW)(()=>this.config().handlers);navigated=(0,t.CGW)();documentInfoReady=(0,t.CGW)();documentInfo=(0,n.EW)(()=>{const b=this.data().documents;return Object.entries(b).map(([m,c])=>{const g=m.toLowerCase();return{id:m,name:m,value:c.count,info:p.V[g]}})});categorySuffixMap=(0,n.EW)(()=>{const b={};return this.documentInfo().forEach(m=>{const c=m.info?.type;void 0===c||c===y.p.UNKNOWN?(Object.keys(b).includes(w)||(b[w]=[]),b[w].push(m.name)):(Object.keys(b).includes(c)||(b[c]=[]),b[c].push(m.name))}),b});groupSmallFractions=(0,n.EW)(()=>({enabled:!0,threshold:.05,groupName:"other"}));onDocumentInfo=(0,M.QZP)(()=>{this.documentInfoReady.emit(this.documentInfo())});byCategory=(0,n.EW)(()=>{const b={};let m=0;return this.documentInfo().forEach(c=>{const g=c.info?.type;void 0===g||g===y.p.UNKNOWN?m+=c.value??0:(Object.keys(b).includes(g)||(b[g]=0),b[g]+=c.value??0)}),m>0&&(b[w]=m),Object.keys(b).map(c=>({name:c,value:b[c],id:c}))});docChartData=(0,n.EW)(()=>{const b=this.selectedMimeCategories();if(!b.length)return this.byCategory();const m=[];if(b.includes(w)){const c=this.documentInfo().filter(g=>void 0===g.info||g.info.type===y.p.UNKNOWN);m.push(...c)}return this.documentInfo().forEach(c=>{b.includes(c.info?.type??"")&&m.push(c)}),m});selectedMimeCategories=(0,M.vPA)([]);selectedSuffixes=(0,M.vPA)([]);handleDataClick(b){var m=this;return(0,e.A)(function*(){const c=b.name,g=m.selectedMimeCategories();if(!c?.startsWith(".")&&!g.length){m.selectedMimeCategories.set([c??""]);const u=m.categorySuffixMap()[c??""];return void m.navigated.emit({filterBy:"suffix",values:u,label:c??""})}const I=u=>{const s=[];return s.push(u.name??""),Array.isArray(u.children)&&u.children.forEach(l=>{s.push(...I(l))}),s},A=I(b),P=m.handlers()?.docListFilterRequest;if(void 0===P)return;let f;const h=A.some(u=>u.startsWith("."));if(console.log("[DocumentsBySuffix] handleDataClick",h,A),h)f=yield P("suffix",A),m.navigated.emit({filterBy:"suffix",values:A,label:c??""});else{const u=m.categorySuffixMap()[A[0]];f=yield P("suffix",u),m.navigated.emit({filterBy:"suffix",values:u,label:A[0]})}if(!f)return;const o=m.handlers()?.subsequentBlockRequest;void 0!==o?o({id:"document-list",data:f,config:m.config(),focusOnAdd:!0},c,!0):console.error("subsequentBlockRequest is undefined!")})()}handleCanvasClick(){this.selectedMimeCategories.update(()=>[]),this.selectedSuffixes.update(()=>[]),this.navigated.emit(null)}static \u0275fac=function(m){return new(m||G)};static \u0275cmp=E.VBU({type:G,selectors:[["cue-block-documents-by-suffix"]],inputs:{data:[1,"data"],config:[1,"config"]},outputs:{navigated:"navigated",documentInfoReady:"documentInfoReady"},decls:1,vars:5,consts:[[1,"chart",3,"clickedCategory","clickedCanvas","data","doughnut","hoverType","groupSmallFractions","labelThresholdPct"]],template:function(m,c){1&m&&(E.j41(0,"cue-pie-chart",0),E.bIt("clickedCategory",function(R){return c.handleDataClick(R)})("clickedCanvas",function(){return c.handleCanvasClick()}),E.k0s()),2&m&&E.Y8G("data",c.docChartData())("doughnut",!0)("hoverType","nameValue")("groupSmallFractions",c.groupSmallFractions())("labelThresholdPct",1)},dependencies:[N.r],encapsulation:2,changeDetection:0})}return G})()},61519(k,O,i){i.d(O,{$:()=>M,c:()=>n});var e=i(10467),t=i(77573);class M{docListFilterRequest=(0,e.A)(function*(){console.warn("docListFilterRequest block request not implemented")});alternativeRepresentationsRequest=()=>{throw new Error("No alternative representation request handler defined")};buildAgentPlan=(0,e.A)(function*(){console.warn("buildAgentPlan not implemented")});downloadURLRequest=(p,N=`${t.E.qcy}InformationObject`)=>{throw console.log(p,N),new Error("No download URL request handler defined")};requestDocumentsByFilter=(0,e.A)(function*(){return console.warn("requestDocumentsByFilter not implemented"),[]});documentDuplicatesRequest=(0,e.A)(function*(){return console.warn("documentDuplicatesRequest not implemented"),{}});executeAgentPlan=(0,e.A)(function*(){return console.warn("executeAgentPlan not implemented"),"xx"});filteredDocumentListRequest;openDocumentInFileManager=()=>{console.warn("openDocumentInFileManager not implemented")};openDocumentInViewer;openEntityInViewer;queryHandler=(0,e.A)(function*(){throw new Error("No query handler defined")});relatedDocumentsRequest=(0,e.A)(function*(){console.warn("relatedDocumentsRequest block request not implemented")});requestEntityLocations=()=>{console.warn("requestEntityLocations not implemented")};requestFullScreen=()=>{console.warn("requestFullScreen not implemented")};requestGeoFeatures=()=>(console.warn("requestGeoFeatures not implemented"),Promise.resolve([]));requestRDFChange;rowClickHandler=()=>{throw new Error("No row click handler defined")};rowHoverHandler=()=>{throw new Error("No row hover handler defined")};subsequentBlockRequest=(0,e.A)(function*(){console.warn("subsequentBlockRequest not implemented")});requestEntityData=()=>{console.warn("requestEntityData not implemented")};requestEntityRelationships=(0,e.A)(function*(){console.warn("requestEntityRelationships not implemented")});openEntity=()=>{console.warn("openEntity not implemented")};requestDocumentData=()=>{console.warn("requestDocumentData not implemented")};requestDocumentURL;removeAgentPlanFromHistory=(0,e.A)(function*(){console.warn("removeAgentPlanFromHistory not implemented")});summaryGraphRequest=()=>{throw new Error("No summary graph request handler defined")}}class n{canEditContentCategory=!1;canEditEntityCategories=!1}},16114(k,O,i){i.d(O,{N:()=>t,V:()=>M});var e=i(94820),t=function(n){return n.AAC=".aac",n.ABW=".abw",n.ARC=".arc",n.AVIF=".avif",n.AVI=".avi",n.APNG=".apng",n.BAK=".bak",n.BIN=".bin",n.BMC=".bmc",n.BMP=".bmp",n.BZ=".bz",n.BZ2=".bz2",n.C3D=".c3d",n.CPG=".cpg",n.CSS=".css",n.CSV=".csv",n.DAT=".dat",n.DOC=".doc",n.DOCX=".docx",n.E57=".e57",n.EPUB=".epub",n.EXE=".exe",n.FFS=".ffs",n.FME=".fme",n.FMW=".fmw",n.FRAG=".fragments",n.GH=".gh",n.GZ=".gz",n.GIF=".gif",n.HTML=".html",n.HTM=".htm",n.ICO=".ico",n.ICS=".ics",n.JAR=".jar",n.JPG=".jpg",n.JPEG=".jpeg",n.JSON=".json",n.JSONLD=".jsonld",n.JS=".js",n.MOV=".mov",n.MP3=".mp3",n.MP4=".mp4",n.MPEG=".mpeg",n.MSI=".msi",n.MTL=".mtl",n.ODP=".odp",n.ODS=".ods",n.ODT=".odt",n.OGA=".oga",n.OGG=".ogg",n.OGV=".ogv",n.OGX=".ogx",n.OTF=".otf",n.PNG=".png",n.PDF=".pdf",n.PHP=".php",n.PKG=".pkg",n.PPT=".ppt",n.PPTX=".pptx",n.PS=".ps",n.RAR=".rar",n.RCP=".rcp",n.RTF=".rtf",n.SH=".sh",n.SLK=".slk",n.SVG=".svg",n.TAR=".tar",n.TIFF=".tiff",n.TIF=".tif",n.TTF=".ttf",n.TXT=".txt",n.VGL=".vgl",n.VWX=".vwx",n.WAV=".wav",n.WEBM=".webm",n.WEBP=".webp",n.WMV=".wmv",n.WOFF=".woff",n.WOFF2=".woff2",n.XLS=".xls",n.XLSX=".xlsx",n.XHTML=".xhtml",n.XML=".xml",n.XYZ=".xyz",n.ZIP=".zip",n.SEVEN_Z=".7z",n.DBF=".dbf",n.EML=".eml",n.EMLX=".emlx",n.MBX=".mbx",n.MD=".md",n.MSG=".msg",n.RST=".rst",n.HEIC=".heic",n.MPP=".mpp",n.TSV=".tsv",n.B3DM=".b3dm",n.I3DM=".i3dm",n.PNTS=".pnts",n.CMPT=".cmpt",n.GLTF=".gltf",n.GLB=".glb",n.IFC=".ifc",n.IFCZIP=".ifczip",n.IFXML=".ifcxml",n.THREEDM=".3dm",n.THREEDS=".3ds",n.GHP=".ghp",n.RVT=".rvt",n.RFA=".rfa",n.RFT=".rft",n.RTE=".rte",n.PLA=".pla",n.PLN=".pln",n.GSM=".gsm",n.SMC=".smc",n.BCF=".bcf",n.DWG=".dwg",n.DWL=".dwl",n.DXF=".dxf",n.DGN=".dgn",n.NWD=".nwd",n.OBJ=".obj",n.C4D=".c4d",n.TEKLASTRUCTURES=".teklastructures",n.PTS=".pts",n.LAS=".las",n.LAZ=".laz",n.USDZ=".usdz",n.USDA=".usda",n.USDC=".usdc",n.USD=".usd",n.PSD=".psd",n.PSP=".psp",n.AI=".ai",n.SBN=".sbn",n.SBX=".sbx",n.SHX=".shx",n.SKP=".skp",n.STL=".stl",n.FBX=".fbx",n.KML=".kml",n.SHP=".shp",n}(t||{});const M={[t.AAC]:{type:e.p.AUDIO,open:!0,suffix:".aac"},[t.ABW]:{type:e.p.TEXT,open:!0,suffix:".abw"},[t.ARC]:{type:e.p.ARCHIVE,open:!1,suffix:".arc"},[t.AVIF]:{type:e.p.IMAGE,open:!0,suffix:".avif"},[t.AVI]:{type:e.p.VIDEO,open:!0,suffix:".avi"},[t.APNG]:{type:e.p.IMAGE,open:!0,suffix:".apng"},[t.BAK]:{type:e.p.BACKUP,open:!1,suffix:".bak"},[t.BIN]:{type:e.p.BINARY,open:!1,suffix:".bin"},[t.BMC]:{type:e.p.BIM,open:!1,suffix:".bmc"},[t.BMP]:{type:e.p.IMAGE,open:!0,suffix:".bmp"},[t.BZ]:{type:e.p.ARCHIVE,open:!0,suffix:".bz"},[t.BZ2]:{type:e.p.ARCHIVE,open:!0,suffix:".bz2"},[t.C3D]:{type:e.p.THREE_D,open:!0,suffix:".c3d"},[t.CPG]:{type:e.p.GEOSPATIAL,open:!0,suffix:".cpg"},[t.CSS]:{type:e.p.MARKUP,open:!0,suffix:".css"},[t.CSV]:{type:e.p.DATA,open:!0,suffix:".csv"},[t.DAT]:{type:e.p.DATA,open:!1,suffix:".dat"},[t.DBF]:{type:e.p.DATA,open:!0,suffix:".dbf"},[t.DOC]:{type:e.p.TEXT,open:!1,suffix:".doc"},[t.DOCX]:{type:e.p.TEXT,open:!0,suffix:".docx"},[t.E57]:{type:e.p.THREE_D,open:!0,suffix:".e57"},[t.EPUB]:{type:e.p.TEXT,open:!0,suffix:".epub"},[t.EXE]:{type:e.p.INSTALLER,open:!1,suffix:".exe"},[t.FFS]:{type:e.p.AUTOMATION,open:!1,suffix:".ffs"},[t.FME]:{type:e.p.AUTOMATION,open:!1,suffix:".fme"},[t.FMW]:{type:e.p.AUTOMATION,open:!1,suffix:".fmw"},[t.FRAG]:{type:e.p.BIM,open:!1,suffix:".fragments"},[t.GH]:{type:e.p.THREE_D,open:!1,suffix:".gh"},[t.GZ]:{type:e.p.ARCHIVE,open:!0,suffix:".gz"},[t.GIF]:{type:e.p.IMAGE,open:!0,suffix:".gif"},[t.HTML]:{type:e.p.MARKUP,open:!0,suffix:".html"},[t.HTM]:{type:e.p.MARKUP,open:!0,suffix:".htm"},[t.ICO]:{type:e.p.IMAGE,open:!1,suffix:".ico"},[t.ICS]:{type:e.p.DATA,open:!0,suffix:".ics"},[t.JAR]:{type:e.p.ARCHIVE,open:!0,suffix:".jar"},[t.JPG]:{type:e.p.IMAGE,open:!0,suffix:".jpg"},[t.JPEG]:{type:e.p.IMAGE,open:!0,suffix:".jpeg"},[t.JSON]:{type:e.p.DATA,open:!0,suffix:".json"},[t.JSONLD]:{type:e.p.DATA,open:!0,suffix:".jsonld"},[t.JS]:{type:e.p.SCRIPT,open:!0,suffix:".js"},[t.MSI]:{type:e.p.INSTALLER,open:!1,suffix:".msi"},[t.MOV]:{type:e.p.VIDEO,open:!0,suffix:".mov"},[t.MP3]:{type:e.p.AUDIO,open:!0,suffix:".mp3"},[t.MP4]:{type:e.p.VIDEO,open:!0,suffix:".mp4"},[t.MPEG]:{type:e.p.VIDEO,open:!0,suffix:".mpeg"},[t.MTL]:{type:e.p.THREE_D,open:!0,suffix:".mtl"},[t.ODP]:{type:e.p.PRESENTATION,open:!0,suffix:".odp"},[t.ODS]:{type:e.p.SPREADSHEET,open:!0,suffix:".ods"},[t.ODT]:{type:e.p.TEXT,open:!0,suffix:".odt"},[t.OGA]:{type:e.p.AUDIO,open:!0,suffix:".oga"},[t.OGG]:{type:e.p.AUDIO,open:!0,suffix:".ogg"},[t.OGV]:{type:e.p.VIDEO,open:!0,suffix:".ogv"},[t.OGX]:{type:e.p.VIDEO,open:!0,suffix:".ogx"},[t.OTF]:{type:e.p.FONT,open:!0,suffix:".otf"},[t.PNG]:{type:e.p.IMAGE,open:!0,suffix:".png"},[t.PDF]:{type:e.p.TEXT,open:!0,suffix:".pdf"},[t.PHP]:{type:e.p.SCRIPT,open:!0,suffix:".php"},[t.PKG]:{type:e.p.INSTALLER,open:!1,suffix:".pkg"},[t.PPT]:{type:e.p.PRESENTATION,open:!1,suffix:".ppt"},[t.PPTX]:{type:e.p.PRESENTATION,open:!0,suffix:".pptx"},[t.PS]:{type:e.p.IMAGE,open:!1,suffix:".ps"},[t.RAR]:{type:e.p.ARCHIVE,open:!1,suffix:".rar"},[t.RCP]:{type:e.p.THREE_D,open:!1,suffix:".rcp"},[t.RTF]:{type:e.p.TEXT,open:!0,suffix:".rtf"},[t.SBN]:{type:e.p.GEOSPATIAL,open:!1,suffix:".sbn"},[t.SBX]:{type:e.p.GEOSPATIAL,open:!1,suffix:".sbx"},[t.SHX]:{type:e.p.GEOSPATIAL,open:!0,suffix:".shx"},[t.SH]:{type:e.p.SCRIPT,open:!0,suffix:".sh"},[t.SLK]:{type:e.p.DATA,open:!0,suffix:".slk"},[t.SVG]:{type:e.p.IMAGE,open:!0,suffix:".svg"},[t.TAR]:{type:e.p.ARCHIVE,open:!0,suffix:".tar"},[t.TIFF]:{type:e.p.IMAGE,open:!0,suffix:".tiff"},[t.TIF]:{type:e.p.IMAGE,open:!0,suffix:".tif"},[t.TTF]:{type:e.p.FONT,open:!0,suffix:".ttf"},[t.TXT]:{type:e.p.TEXT,open:!0,suffix:".txt"},[t.VGL]:{type:e.p.THREE_D,open:!1,suffix:".vgl"},[t.VWX]:{type:e.p.CAD,open:!1,suffix:".vwx"},[t.WAV]:{type:e.p.AUDIO,open:!0,suffix:".wav"},[t.WEBM]:{type:e.p.VIDEO,open:!0,suffix:".webm"},[t.WEBP]:{type:e.p.IMAGE,open:!0,suffix:".webp"},[t.WMV]:{type:e.p.VIDEO,open:!0,suffix:".wmv"},[t.WOFF]:{type:e.p.FONT,open:!0,suffix:".woff"},[t.WOFF2]:{type:e.p.FONT,open:!0,suffix:".woff2"},[t.XLS]:{type:e.p.SPREADSHEET,open:!1,suffix:".xls"},[t.XLSX]:{type:e.p.SPREADSHEET,open:!0,suffix:".xlsx"},[t.XHTML]:{type:e.p.MARKUP,open:!0,suffix:".xhtml"},[t.XML]:{type:e.p.DATA,open:!0,suffix:".xml"},[t.XYZ]:{type:e.p.THREE_D,open:!0,suffix:".xyz"},[t.ZIP]:{type:e.p.ARCHIVE,open:!0,suffix:".zip"},[t.SEVEN_Z]:{type:e.p.ARCHIVE,open:!0,suffix:".7z"},[t.EML]:{type:e.p.EMAIL,open:!0,suffix:".eml"},[t.EMLX]:{type:e.p.EMAIL,open:!0,suffix:".emlx"},[t.MBX]:{type:e.p.EMAIL,open:!0,suffix:".mbx"},[t.MD]:{type:e.p.TEXT,open:!0,suffix:".md"},[t.MSG]:{type:e.p.EMAIL,open:!1,suffix:".msg"},[t.RST]:{type:e.p.TEXT,open:!0,suffix:".rst"},[t.HEIC]:{type:e.p.IMAGE,open:!1,suffix:".heic"},[t.MPP]:{type:e.p.PLANNING,open:!1,suffix:".mpp"},[t.TSV]:{type:e.p.DATA,open:!0,suffix:".tsv"},[t.B3DM]:{type:e.p.THREE_D,open:!0,suffix:".b3dm"},[t.I3DM]:{type:e.p.THREE_D,open:!0,suffix:".i3dm"},[t.PNTS]:{type:e.p.THREE_D,open:!1,suffix:".pnts"},[t.CMPT]:{type:e.p.THREE_D,open:!1,suffix:".cmpt"},[t.GLTF]:{type:e.p.THREE_D,open:!0,suffix:".gltf"},[t.GLB]:{type:e.p.THREE_D,open:!0,suffix:".glb"},[t.IFC]:{type:e.p.BIM,open:!0,suffix:".ifc"},[t.IFCZIP]:{type:e.p.BIM,open:!0,suffix:".ifczip"},[t.IFXML]:{type:e.p.BIM,open:!0,suffix:".ifcxml"},[t.THREEDM]:{type:e.p.CAD,open:!1,suffix:".3dm"},[t.THREEDS]:{type:e.p.THREE_D,open:!1,suffix:".3ds"},[t.GHP]:{type:e.p.CAD,open:!1,suffix:".ghp"},[t.RVT]:{type:e.p.BIM,open:!1,suffix:".rvt"},[t.RFA]:{type:e.p.BIM,open:!1,suffix:".rfa"},[t.RFT]:{type:e.p.BIM,open:!1,suffix:".rft"},[t.RTE]:{type:e.p.BIM,open:!1,suffix:".rte"},[t.PLA]:{type:e.p.BIM,open:!1,suffix:".pla"},[t.PLN]:{type:e.p.BIM,open:!1,suffix:".pln"},[t.GSM]:{type:e.p.BIM,open:!1,suffix:".gsm"},[t.SMC]:{type:e.p.BIM,open:!1,suffix:".smc"},[t.STL]:{type:e.p.THREE_D,open:!0,suffix:".stl"},[t.BCF]:{type:e.p.BIM,open:!0,suffix:".bcf"},[t.DWG]:{type:e.p.CAD,open:!1,suffix:".dwg"},[t.DWL]:{type:e.p.CAD,open:!1,suffix:".dwl"},[t.DXF]:{type:e.p.CAD,open:!0,suffix:".dxf"},[t.DGN]:{type:e.p.CAD,open:!1,suffix:".dgn"},[t.NWD]:{type:e.p.BIM,open:!1,suffix:".nwd"},[t.OBJ]:{type:e.p.THREE_D,open:!0,suffix:".obj"},[t.C4D]:{type:e.p.THREE_D,open:!1,suffix:".c4d"},[t.TEKLASTRUCTURES]:{type:e.p.BIM,open:!1,suffix:".teklastructures"},[t.PTS]:{type:e.p.THREE_D,open:!1,suffix:".pts"},[t.LAS]:{type:e.p.THREE_D,open:!0,suffix:".las"},[t.LAZ]:{type:e.p.THREE_D,open:!0,suffix:".laz"},[t.USDZ]:{type:e.p.THREE_D,open:!0,suffix:".usdz"},[t.USDA]:{type:e.p.THREE_D,open:!0,suffix:".usda"},[t.USDC]:{type:e.p.THREE_D,open:!0,suffix:".usdc"},[t.USD]:{type:e.p.THREE_D,open:!0,suffix:".usd"},[t.PSD]:{type:e.p.IMAGE,open:!1,suffix:".psd"},[t.PSP]:{type:e.p.IMAGE,open:!1,suffix:".psp"},[t.AI]:{type:e.p.IMAGE,open:!1,suffix:".ai"},[t.SKP]:{type:e.p.THREE_D,open:!1,suffix:".skp"},[t.FBX]:{type:e.p.THREE_D,open:!0,suffix:".fbx"},[t.KML]:{type:e.p.GEOSPATIAL,open:!0,suffix:".kml"},[t.SHP]:{type:e.p.GEOSPATIAL,open:!0,suffix:".shp"}}},94820(k,O,i){i.d(O,{p:()=>e});var e=function(t){return t.AUTOMATION="automation",t.ARCHIVE="archive",t.AUDIO="audio",t.BACKUP="backup",t.BINARY="binary",t.BIM="bim",t.CAD="cad",t.DATA="data",t.EMAIL="email",t.FONT="font",t.GEOSPATIAL="geospatial",t.IMAGE="image",t.INSTALLER="installer",t.MARKUP="markup",t.MULTIMEDIA="multimedia",t.PLANNING="planning",t.PRESENTATION="presentation",t.SCRIPT="script",t.SPREADSHEET="spreadsheet",t.TEXT="text",t.THREE_D="3d",t.UNKNOWN="unknown",t.VIDEO="video",t}(e||{})},77573(k,O,i){i.d(O,{E:()=>e});const e={qcy:"https://dev.qaecy.com/ont#","qcy-e":"https://dev.qaecy.com/enum#","qcy-f":"https://dev.qaecy.com/functions#",obc:"https://w3id.org/obc#",dicc:"https://w3id.org/digitalconstruction/0.5/Contexts#",dicv:"https://w3id.org/digitalconstruction/0.5/Variables#",dice:"https://w3id.org/digitalconstruction/0.5/Entities#",dicp:"https://w3id.org/digitalconstruction/0.5/Processes#",dica:"https://w3id.org/digitalconstruction/0.5/Agents#",dici:"https://w3id.org/digitalconstruction/0.5/Information#",dicbm:"https://w3id.org/digitalconstruction/0.5/Materials#",dicob:"https://w3id.org/digitalconstruction/0.5/Occupancy#",dicl:"https://w3id.org/digitalconstruction/0.5/Lifecycle#",dices:"https://w3id.org/digitalconstruction/0.5/Energy#",dicu:"https://w3id.org/digitalconstruction/0.5/Units#",diclvl:"https://w3id.org/digitalconstruction/0.5/Levels#",dicstg:"https://w3id.org/digitalconstruction/0.5/Stages#"}}}]);
1
+ "use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[6423],{96756(k,O,i){i.d(O,{BK:()=>e,In:()=>S,Kz:()=>w,Mc:()=>G,U6:()=>M,g0:()=>V,g8:()=>n,r:()=>t,u9:()=>p});const e=["#2B5DE6","#1A2B50","#C5E045","#6FA8FF","#00C2E0","#5847EB","#008585","#4ADE80","#0F4C81","#8B5CF6","#FACC15","#FB923C","#F43F5E","#E879F9","#D97706","#334155","#64748B","#94A3B8","#C7D2FE","#F8FAFC"];function t(c){switch(c){case"primary":default:return"#2859e1";case"accent":return"#e2f552";case"tertiary":return"#ffffff"}}function M(c){switch(c){case"primary":default:return"#1744c2";case"accent":return"#b8cc3f";case"tertiary":return"#eeeeee"}}function n(c){const[g,R,I]=function y(c,g){if(typeof window>"u"||typeof document>"u")return g.map(()=>"");const R=c?.nativeElement??document.body;if(!R)return g.map(()=>"");const I=window.getComputedStyle(R);return g.map(A=>I.getPropertyValue(A).trim()||"")}(c,["--cue-chart-text-color","--cue-chart-border-background-color","--chart-graph-edge-color"]);return{text:g,borderBackground:R,edgeColor:I}}const p={fontFamily:"Poppins, sans-serif",fontWeight:"normal",color:"#333"};function S(c){return c>=1e6?`${(c/1e6).toFixed(1)}m`:c>=1e3?`${(c/1e3).toFixed(0)}k`:c.toString()}function w(c,g,R,I){if(1===I)return c;const A=b(c),P=b(g),f=R/(I-1);return`rgb(${Math.round(A.r+(P.r-A.r)*f)}, ${Math.round(A.g+(P.g-A.g)*f)}, ${Math.round(A.b+(P.b-A.b)*f)})`}const G=(c,g)=>void 0===g?c:g.children??[];function V(c,g,R=.05,I="Other"){const A=c.reduce((h,o)=>h+m(o),0),P=[],f=[];if(c.forEach(h=>{let o,d;o=void 0===h.value&&Array.isArray(h.children)&&h.children.length>0?h.children.reduce((s,l)=>s+m(l),0):void 0!==h.value?h.value:0,Array.isArray(h.children)&&h.children.length>0&&(d=V(h.children,g,R,I));const u={...h,value:o,children:d};g&&A>0&&o/A<R?f.push(u):P.push(u)}),g&&f.length>0){const h=f.reduce((o,d)=>o+d.value,0);P.push({id:"__grouped_small__",name:I,value:h,children:f,isGroup:!0})}return P}function b(c){const g=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(c);return g?{r:parseInt(g[1],16),g:parseInt(g[2],16),b:parseInt(g[3],16)}:{r:0,g:0,b:0}}function m(c){return"number"==typeof c.value?c.value:Array.isArray(c.children)&&c.children.length>0?c.children.reduce((g,R)=>g+m(R),0):0}},89480(k,O,i){i.d(O,{r:()=>L});var e=i(17705),t=i(32271),M=i(85802),n=i(10467),y=i(35547),p=i(89079),N=i(92771),E=i(18359),S=i(21413),w=i(43236),W=i(24226),G=i(39974),V=i(54360),b=i(58750),c=i(41584);var R=i(25558);const I=new M.nKC("NGX_ECHARTS_CONFIG");class A{constructor(){this.subject=new N.m(1),this.subscriptions=new E.yU}doFilter(q){this.subject.next(q)}dispose(){this.subscriptions.unsubscribe()}notEmpty(q,a){this.subscriptions.add(this.subject.subscribe(r=>{if(r[q]){const D=r[q].currentValue;null!=D&&a(D)}}))}has(q,a){this.subscriptions.add(this.subject.subscribe(r=>{r[q]&&a(r[q].currentValue)}))}notFirst(q,a){this.subscriptions.add(this.subject.subscribe(r=>{r[q]&&!r[q].isFirstChange()&&a(r[q].currentValue)}))}notFirstAndEmpty(q,a){this.subscriptions.add(this.subject.subscribe(r=>{if(r[q]&&!r[q].isFirstChange()){const D=r[q].currentValue;null!=D&&a(D)}}))}}let P=(()=>{class v{constructor(){this.el=(0,M.WQX)(y.aKT),this.ngZone=(0,M.WQX)(M.SKi),this.config=(0,M.WQX)(I),this.options=(0,e.hFB)(null),this.theme=(0,e.hFB)(this.config.theme??null),this.initOpts=(0,e.hFB)(null),this.merge=(0,e.hFB)(null),this.autoResize=(0,e.hFB)(!0),this.loading=(0,e.hFB)(!1),this.loadingType=(0,e.hFB)("default"),this.loadingOpts=(0,e.hFB)(null),this.chartInit=(0,e.CGW)(),this.optionsError=(0,e.CGW)(),this.chartClick=(0,p.p)(this.createLazyEvent("click")),this.chartDblClick=(0,p.p)(this.createLazyEvent("dblclick")),this.chartMouseDown=(0,p.p)(this.createLazyEvent("mousedown")),this.chartMouseMove=(0,p.p)(this.createLazyEvent("mousemove")),this.chartMouseUp=(0,p.p)(this.createLazyEvent("mouseup")),this.chartMouseOver=(0,p.p)(this.createLazyEvent("mouseover")),this.chartMouseOut=(0,p.p)(this.createLazyEvent("mouseout")),this.chartGlobalOut=(0,p.p)(this.createLazyEvent("globalout")),this.chartContextMenu=(0,p.p)(this.createLazyEvent("contextmenu")),this.chartHighlight=(0,p.p)(this.createLazyEvent("highlight")),this.chartDownplay=(0,p.p)(this.createLazyEvent("downplay")),this.chartSelectChanged=(0,p.p)(this.createLazyEvent("selectchanged")),this.chartLegendSelectChanged=(0,p.p)(this.createLazyEvent("legendselectchanged")),this.chartLegendSelected=(0,p.p)(this.createLazyEvent("legendselected")),this.chartLegendUnselected=(0,p.p)(this.createLazyEvent("legendunselected")),this.chartLegendLegendSelectAll=(0,p.p)(this.createLazyEvent("legendselectall")),this.chartLegendLegendInverseSelect=(0,p.p)(this.createLazyEvent("legendinverseselect")),this.chartLegendScroll=(0,p.p)(this.createLazyEvent("legendscroll")),this.chartDataZoom=(0,p.p)(this.createLazyEvent("datazoom")),this.chartDataRangeSelected=(0,p.p)(this.createLazyEvent("datarangeselected")),this.chartGraphRoam=(0,p.p)(this.createLazyEvent("graphroam")),this.chartGeoRoam=(0,p.p)(this.createLazyEvent("georoam")),this.chartTreeRoam=(0,p.p)(this.createLazyEvent("treeroam")),this.chartTimelineChanged=(0,p.p)(this.createLazyEvent("timelinechanged")),this.chartTimelinePlayChanged=(0,p.p)(this.createLazyEvent("timelineplaychanged")),this.chartRestore=(0,p.p)(this.createLazyEvent("restore")),this.chartDataViewChanged=(0,p.p)(this.createLazyEvent("dataviewchanged")),this.chartMagicTypeChanged=(0,p.p)(this.createLazyEvent("magictypechanged")),this.chartGeoSelectChanged=(0,p.p)(this.createLazyEvent("geoselectchanged")),this.chartGeoSelected=(0,p.p)(this.createLazyEvent("geoselected")),this.chartGeoUnselected=(0,p.p)(this.createLazyEvent("geounselected")),this.chartAxisAreaSelected=(0,p.p)(this.createLazyEvent("axisareaselected")),this.chartBrush=(0,p.p)(this.createLazyEvent("brush")),this.chartBrushEnd=(0,p.p)(this.createLazyEvent("brushend")),this.chartBrushSelected=(0,p.p)(this.createLazyEvent("brushselected")),this.chartGlobalCursorTaken=(0,p.p)(this.createLazyEvent("globalcursortaken")),this.chartRendered=(0,p.p)(this.createLazyEvent("rendered")),this.chartFinished=(0,p.p)(this.createLazyEvent("finished")),this.animationFrameID=null,this.chart$=new N.m(1),this.resize$=new S.B,this.changeFilter=new A,this.resizeObFired=!1,this.echarts=this.config.echarts}ngOnChanges(a){this.changeFilter.doFilter(a)}ngOnInit(){if(!window.ResizeObserver)throw new Error("please install a polyfill for ResizeObserver");this.resizeSub=this.resize$.pipe(function g(v,q=w.E,a){const r=(0,c.O)(v,q);return function m(v,q){return(0,G.N)((a,r)=>{const{leading:D=!0,trailing:H=!1}=q??{};let B=!1,_=null,x=null,z=!1;const $=()=>{x?.unsubscribe(),x=null,H&&(X(),z&&r.complete())},F=()=>{x=null,z&&r.complete()},U=j=>x=(0,b.Tg)(v(j)).subscribe((0,V._)(r,$,F)),X=()=>{if(B){B=!1;const j=_;_=null,r.next(j),!z&&U(j)}};a.subscribe((0,V._)(r,j=>{B=!0,_=j,(!x||x.closed)&&(D?X():U(j))},()=>{z=!0,(!(H&&B&&x)||x.closed)&&r.complete()}))})}(()=>r,a)}(100,w.E,{leading:!1,trailing:!0})).subscribe(()=>this.resize()),this.autoResize()&&(this.resizeOb=this.ngZone.runOutsideAngular(()=>new window.ResizeObserver(a=>{for(const r of a)r.target===this.el.nativeElement&&(this.resizeObFired?this.animationFrameID=window.requestAnimationFrame(()=>{this.resize$.next()}):this.resizeObFired=!0)})),this.resizeOb.observe(this.el.nativeElement)),this.changeFilter.notFirstAndEmpty("options",a=>this.onOptionsChange(a)),this.changeFilter.notFirstAndEmpty("merge",a=>this.setOption(a)),this.changeFilter.has("loading",a=>this.toggleLoading(!!a)),this.changeFilter.notFirst("theme",()=>this.refreshChart())}ngOnDestroy(){window.clearTimeout(this.initChartTimer),this.resizeSub&&this.resizeSub.unsubscribe(),this.animationFrameID&&window.cancelAnimationFrame(this.animationFrameID),this.resizeOb&&this.resizeOb.unobserve(this.el.nativeElement),this.loadingSub&&this.loadingSub.unsubscribe(),this.changeFilter.dispose(),this.dispose()}ngAfterViewInit(){this.initChartTimer=window.setTimeout(()=>this.initChart())}dispose(){this.chart&&(this.chart.isDisposed()||this.chart.dispose(),this.chart=null)}resize(){this.chart&&this.chart.resize()}toggleLoading(a){this.chart?a?this.chart.showLoading(this.loadingType(),this.loadingOpts()):this.chart.hideLoading():this.loadingSub=this.chart$.subscribe(r=>a?r.showLoading(this.loadingType(),this.loadingOpts()):r.hideLoading())}setOption(a,r){if(this.chart)try{this.chart.setOption(a,r)}catch(D){console.error(D),this.optionsError.emit(D)}}refreshChart(){var a=this;return(0,n.A)(function*(){a.dispose(),yield a.initChart()})()}createChart(){const a=this.el.nativeElement;if(window&&window.getComputedStyle){const r=window.getComputedStyle(a,null).getPropertyValue("height");(!r||"0px"===r)&&(!a.style.height||"0px"===a.style.height)&&(a.style.height="400px")}return this.ngZone.runOutsideAngular(()=>("function"==typeof this.echarts?this.echarts:()=>Promise.resolve(this.echarts))().then(({init:D})=>D(a,this.theme()??this.config?.theme,this.initOpts())))}initChart(){var a=this;return(0,n.A)(function*(){yield a.onOptionsChange(a.options());const r=a.merge();r&&a.chart&&a.setOption(r)})()}onOptionsChange(a){var r=this;return(0,n.A)(function*(){a&&(r.chart||(r.chart=yield r.createChart(),r.chart$.next(r.chart),r.chartInit.emit(r.chart)),r.setOption(r.options(),!0))})()}createLazyEvent(a){return(0,p.yC)(this.chartInit).pipe((0,R.n)(r=>new W.c(D=>(r.on(a,H=>this.ngZone.run(()=>D.next(H))),()=>{this.chart&&(this.chart.isDisposed()||r.off(a))}))))}static{this.\u0275fac=function(r){return new(r||v)}}static{this.\u0275dir=y.FsC({type:v,selectors:[["echarts"],["","echarts",""]],inputs:{options:[1,"options"],theme:[1,"theme"],initOpts:[1,"initOpts"],merge:[1,"merge"],autoResize:[1,"autoResize"],loading:[1,"loading"],loadingType:[1,"loadingType"],loadingOpts:[1,"loadingOpts"]},outputs:{chartInit:"chartInit",optionsError:"optionsError",chartClick:"chartClick",chartDblClick:"chartDblClick",chartMouseDown:"chartMouseDown",chartMouseMove:"chartMouseMove",chartMouseUp:"chartMouseUp",chartMouseOver:"chartMouseOver",chartMouseOut:"chartMouseOut",chartGlobalOut:"chartGlobalOut",chartContextMenu:"chartContextMenu",chartHighlight:"chartHighlight",chartDownplay:"chartDownplay",chartSelectChanged:"chartSelectChanged",chartLegendSelectChanged:"chartLegendSelectChanged",chartLegendSelected:"chartLegendSelected",chartLegendUnselected:"chartLegendUnselected",chartLegendLegendSelectAll:"chartLegendLegendSelectAll",chartLegendLegendInverseSelect:"chartLegendLegendInverseSelect",chartLegendScroll:"chartLegendScroll",chartDataZoom:"chartDataZoom",chartDataRangeSelected:"chartDataRangeSelected",chartGraphRoam:"chartGraphRoam",chartGeoRoam:"chartGeoRoam",chartTreeRoam:"chartTreeRoam",chartTimelineChanged:"chartTimelineChanged",chartTimelinePlayChanged:"chartTimelinePlayChanged",chartRestore:"chartRestore",chartDataViewChanged:"chartDataViewChanged",chartMagicTypeChanged:"chartMagicTypeChanged",chartGeoSelectChanged:"chartGeoSelectChanged",chartGeoSelected:"chartGeoSelected",chartGeoUnselected:"chartGeoUnselected",chartAxisAreaSelected:"chartAxisAreaSelected",chartBrush:"chartBrush",chartBrushEnd:"chartBrushEnd",chartBrushSelected:"chartBrushSelected",chartGlobalCursorTaken:"chartGlobalCursorTaken",chartRendered:"chartRendered",chartFinished:"chartFinished"},exportAs:["echarts"],features:[y.OA$]})}}return v})();function f(v){return{provide:I,useValue:v}}let h=(()=>{class v{static forRoot(a){return{ngModule:v,providers:[f(a)]}}static forChild(){return{ngModule:v}}static{this.\u0275fac=function(r){return new(r||v)}}static{this.\u0275mod=y.$C({type:v})}static{this.\u0275inj=M.G2t({})}}return v})();var o=i(96756),d=i(42245),u=i(35381),s=i(36170);const l=()=>({renderer:"canvas",width:"auto",height:"auto"});function C(v,q){if(1&v&&(y.j41(0,"cue-flexcontainer",3),y.nrm(1,"cue-typography",5),y.k0s()),2&v){const a=y.XpG();y.R7$(),y.Y8G("innerHTML",a.currentHoveredValue()||a.formattedSum(),y.npT)}}function T(v,q){if(1&v&&(y.j41(0,"cue-flexcontainer",4)(1,"cue-typography",6),y.EFF(2),y.k0s()()),2&v){const a=y.XpG();y.R7$(2),y.JRh(a.currentHoveredValue())}}let L=(()=>{class v{data=e.hFB.required();variant=(0,e.hFB)("primary");doughnut=(0,e.hFB)(!1);hoverType=(0,e.hFB)("name");labelType=(0,e.hFB)("name");clickable=(0,e.hFB)(!0);labelThresholdPct=(0,e.hFB)(3);groupSmallFractions=(0,e.hFB)(void 0);clickedCategory=(0,e.CGW)();clickedCanvas=(0,e.CGW)();radius=(0,t.EW)(()=>this.doughnut()?["40%","70%"]:"70%");startColor=(0,t.EW)(()=>(0,o.r)(this.variant()));endColor=(0,t.EW)(()=>(0,o.U6)(this.variant()));currentParent=(0,M.vPA)(void 0);saturated=(0,t.EW)(()=>{const a=this.groupSmallFractions();return a?.enabled?(0,o.g0)(this.data(),!0,a.threshold,a.groupName):(0,o.g0)(this.data(),!1)});chartData=(0,t.EW)(()=>(0,o.Mc)(this.saturated(),this.currentParent()));borderColor=(0,t.EW)(()=>"tertiary"===this.variant()?"#cccccc":this.borderBackgroundColor());textColor=(0,M.vPA)("#333");borderBackgroundColor=(0,M.vPA)("#fff");sum=(0,t.EW)(()=>this.chartData().reduce((a,r)=>a+r.value,0));formattedSum=(0,t.EW)(()=>(0,o.In)(this.sum()));chartInstance=null;currentHoveredValue=(0,M.vPA)(null);hoveredItemName=(0,M.vPA)(null);constructor(){this.updateColors()}updateColors(){const a=(0,o.g8)();this.textColor.set(a.text||"#333"),this.borderBackgroundColor.set(a.borderBackground||"#fff")}onChartInit(a){this.chartInstance=a,this.setupChartEvents()}setupChartEvents(){this.chartInstance&&(this.chartInstance.on("mouseover",a=>{a.data&&(this.hoveredItemName.set(a.data.name),this.updateHoveredValue(a.data),this.chartInstance?.setOption(this.chartOptions()))}),this.chartInstance.on("mouseout",()=>{this.hoveredItemName.set(null),this.currentHoveredValue.set(null),this.chartInstance?.setOption(this.chartOptions())}),this.chartInstance.on("click",a=>{const r=window.event||a.event;r&&"function"==typeof r.stopPropagation&&r.stopPropagation(),a.data&&(!0!==a.data?.isGroup&&this.clickedCategory.emit(a.data),this.currentParent.set(void 0!==a.data.children&&a.data.children.length>0?a.data:void 0))}))}onData=(0,M.QZP)(()=>{this.data(),this.currentHoveredValue.set(null)});handleCanvasClick(){this.clickedCanvas.emit(),this.currentParent.set(void 0)}updateHoveredValue(a){switch(this.hoverType()){case"value":this.currentHoveredValue.set(a.value.toString());break;case"valueShort":this.currentHoveredValue.set((0,o.In)(a.value));break;case"pct":{const r=(a.value/this.sum()*100).toFixed(1);this.currentHoveredValue.set(`${r}%`);break}case"nameValue":this.currentHoveredValue.set(`${a.name}${this.doughnut()?"<br>":": "}${a.value.toString()}`);break;case"nameValueShort":this.currentHoveredValue.set(`${a.name}${this.doughnut()?"<br>":": "}${(0,o.In)(a.value)}`);break;case"namePct":{const r=(a.value/this.sum()*100).toFixed(1);this.currentHoveredValue.set(`${a.name}${this.doughnut()?"<br>":": "}${r}%`);break}default:this.currentHoveredValue.set(a.name)}}chartOptions=(0,t.EW)(()=>{const a=this.chartData();return{fontStyle:o.u9,series:[{name:"Distribution",type:"pie",radius:this.radius(),cursor:this.clickable()?"pointer":"default",data:a.map((r,D)=>({...r,itemStyle:{color:(0,o.Kz)(this.startColor(),this.endColor(),D,a.length),borderColor:this.borderColor(),borderWidth:"tertiary"===this.variant()?1:2,borderType:"solid"},...r.name===this.hoveredItemName()?{label:{width:void 0,overflow:"break",align:"center"}}:{}})),emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)",borderWidth:"tertiary"===this.variant()?2:0,borderColor:"tertiary"===this.variant()?"#999999":"transparent"}},labelLine:{show:!1},label:{color:"inherit",position:"outside",distanceToLabelLine:-100,show:"none"!==this.labelType(),backgroundColor:this.borderBackgroundColor(),borderColor:"#333"===this.textColor()||"var(--cue-chart-text-color)"===this.textColor()?"rgba(0, 0, 0, 0.08)":"rgba(255, 255, 255, 0.12)",borderWidth:1,borderRadius:9999,padding:[5,10],shadowBlur:6,shadowColor:"rgba(0, 0, 0, 0.1)",shadowOffsetX:0,shadowOffsetY:2,fontFamily:o.u9.fontFamily,fontSize:12,fontWeight:500,formatter:r=>{const{data:D}=r,H=D.value/this.sum()*100;if(H<this.labelThresholdPct())return"";let B="";switch(this.labelType()){case"value":B=D.value.toString();break;case"valueShort":B=(0,o.In)(D.value);break;case"pct":B=`${H.toFixed(1)}%`;break;default:B=D.name}return`{dot|\u25cf} {text|${B}}`},rich:{dot:{fontSize:14,padding:[0,4,0,0]},text:{color:this.textColor(),fontFamily:o.u9.fontFamily,fontSize:12,fontWeight:500}}}}]}});static \u0275fac=function(r){return new(r||v)};static \u0275cmp=y.VBU({type:v,selectors:[["cue-pie-chart"]],inputs:{data:[1,"data"],variant:[1,"variant"],doughnut:[1,"doughnut"],hoverType:[1,"hoverType"],labelType:[1,"labelType"],clickable:[1,"clickable"],labelThresholdPct:[1,"labelThresholdPct"],groupSmallFractions:[1,"groupSmallFractions"]},outputs:{clickedCategory:"clickedCategory",clickedCanvas:"clickedCanvas"},features:[y.Jv_([f({echarts:()=>i.e(5473).then(i.bind(i,25473)).then(a=>a.default)})])],decls:5,vars:5,consts:[["chart",""],["cueDarkMode","",1,"chart-container",3,"darkModeChange","click"],["echarts","",1,"chart",3,"chartInit","options","initOpts"],["justify","center",1,"center-text"],["justify","center",1,"bottom-text"],["size","l","weight","semibold","align","center",3,"innerHTML"],["size","l","weight","semibold"]],template:function(r,D){1&r&&(y.j41(0,"div",1),y.bIt("darkModeChange",function(){return D.updateColors()})("click",function(){return D.handleCanvasClick()}),y.j41(1,"div",2,0),y.bIt("chartInit",function(B){return D.onChartInit(B)}),y.k0s(),y.nVh(3,C,2,1,"cue-flexcontainer",3),y.nVh(4,T,3,1,"cue-flexcontainer",4),y.k0s()),2&r&&(y.R7$(),y.Y8G("options",D.chartOptions())("initOpts",y.lJ4(4,l)),y.R7$(2),y.vxM(D.doughnut()?3:-1),y.R7$(),y.vxM(D.doughnut()?-1:4))},dependencies:[h,P,d.Typography,u.FlexContainer,s.R],styles:[".chart-container[_ngcontent-%COMP%]{position:relative;width:100%;height:var(--cue-pie-chart-height, 400px)}.chart[_ngcontent-%COMP%]{width:100%;height:100%}.center-text[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;pointer-events:none;width:80%}.bottom-text[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;right:0;text-align:center;padding-bottom:10px}"]})}return v})()},99811(k,O,i){i.d(O,{z:()=>M});var e=i(85802),t=i(61519);let M=(()=>{class n{handlers=(0,e.vPA)(new t.$);projectId=(0,e.vPA)("");portalBaseURL=(0,e.vPA)("");resourceBaseURL=(0,e.vPA)("");graphIsSaturated=(0,e.vPA)(!1);privileges=(0,e.vPA)(new t.c);availableContentCategories=(0,e.vPA)(void 0);availableEntityCategories=(0,e.vPA)(void 0);availableEntityRelationships=(0,e.vPA)(void 0);entityInfoMap=(0,e.vPA)({});documentInfoMap=(0,e.vPA)({});static \u0275fac=function(N){return new(N||n)};static \u0275prov=e.jDH({token:n,factory:n.\u0275fac})}return n})()},7993(k,O,i){i.d(O,{o:()=>P});var e=i(10467),t=i(85802),M=i(17705),n=i(32271),y=i(89480),p=i(77573);const b=[{"@id":"https://dev.qaecy.com/enum#ConstructionProcessDocument","@type":"qcy:ContentCategory",children:[{"@id":"https://dev.qaecy.com/enum#ScheduleDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Schedule Document"}},{"@id":"https://dev.qaecy.com/enum#SafetyDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Safety Document"}},{"@id":"https://dev.qaecy.com/enum#QualityAssuranceDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"QA/QC Document"}},{"@id":"https://dev.qaecy.com/enum#ProgressStatusReport","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Progress & Status Report"}},{"@id":"https://dev.qaecy.com/enum#OtherConstructionProcessDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Other Construction Management Document"}},{"@id":"https://dev.qaecy.com/enum#ChangeOrderRFIDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Change Order & RFI Document"}}],label:{"@language":"en","@value":"Construction Process & Management Document"}},{"@id":"https://dev.qaecy.com/enum#ContractualDocument","@type":"qcy:ContentCategory",children:[{"@id":"https://dev.qaecy.com/enum#PurchaseOrLeaseAgreement","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Purchase & Lease Agreement"}},{"@id":"https://dev.qaecy.com/enum#OtherContractualDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Other Contractual & Legal Document"}},{"@id":"https://dev.qaecy.com/enum#InsuranceBondDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Insurance & Bond Document"}},{"@id":"https://dev.qaecy.com/enum#ConstructionContract","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Construction Contract"}}],label:{"@language":"en","@value":"Contractual & Legal Document"}},{"@id":"https://dev.qaecy.com/enum#DesignDocument","@type":"qcy:ContentCategory",children:[{"@id":"https://dev.qaecy.com/enum#OtherDesignDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Other Design Document"}},{"@id":"https://dev.qaecy.com/enum#LandscapeDesignDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Landscape Design Document"}},{"@id":"https://dev.qaecy.com/enum#InteriorDesignDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Interior Design Document"}},{"@id":"https://dev.qaecy.com/enum#EngineeringDesignDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Engineering Design Document"}},{"@id":"https://dev.qaecy.com/enum#ArchitecturalDesignDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Architectural Design Document"}}],label:{"@language":"en","@value":"Design Document"}},{"@id":"https://dev.qaecy.com/enum#FinancialAdministrativeDocument","@type":"qcy:ContentCategory",children:[{"@id":"https://dev.qaecy.com/enum#OtherFinancialAdministrativeDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Other Financial & Administrative Document"}},{"@id":"https://dev.qaecy.com/enum#InvoicePaymentDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Invoice or Payment Document"}},{"@id":"https://dev.qaecy.com/enum#BudgetEstimateDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Budget or Estimate Document"}},{"@id":"https://dev.qaecy.com/enum#AppraisalValuationDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Appraisal or Valuation Document"}}],label:{"@language":"en","@value":"Financial & Administrative Document"}},{"@id":"https://dev.qaecy.com/enum#MiscDocument","@type":"qcy:ContentCategory",children:[{"@id":"https://dev.qaecy.com/enum#OtherMiscDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Other Miscellaneous Document"}},{"@id":"https://dev.qaecy.com/enum#MarketingCloseoutDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Marketing or Project Closeout Document"}},{"@id":"https://dev.qaecy.com/enum#DueDiligenceDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Due Diligence Document"}},{"@id":"https://dev.qaecy.com/enum#CorrespondenceDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Correspondence Document"}}],label:{"@language":"en","@value":"Miscellaneous Document"}},{"@id":"https://dev.qaecy.com/enum#OperationsMaintenanceDocument","@type":"qcy:ContentCategory",children:[{"@id":"https://dev.qaecy.com/enum#WarrantyDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Warranty or Guarantee Document"}},{"@id":"https://dev.qaecy.com/enum#OtherOperationsMaintenanceDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Other O&M Document"}},{"@id":"https://dev.qaecy.com/enum#OperationManual","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Operation Manual"}},{"@id":"https://dev.qaecy.com/enum#MaintenanceLog","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Maintenance Log"}},{"@id":"https://dev.qaecy.com/enum#AsBuiltDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"As-Built Document"}}],label:{"@language":"en","@value":"Operations & Maintenance Document"}},{"@id":"https://dev.qaecy.com/enum#RegulatoryComplianceDocument","@type":"qcy:ContentCategory",children:[{"@id":"https://dev.qaecy.com/enum#PermitDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Permit Document"}},{"@id":"https://dev.qaecy.com/enum#OtherRegulatoryComplianceDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Other Regulatory & Compliance Document"}},{"@id":"https://dev.qaecy.com/enum#InspectionDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Inspection Document"}},{"@id":"https://dev.qaecy.com/enum#ComplianceReport","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Compliance Report"}},{"@id":"https://dev.qaecy.com/enum#CertificationDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Certification Document"}}],label:{"@language":"en","@value":"Regulatory & Compliance Document"}},{"@id":"https://dev.qaecy.com/enum#RequirementsDocument","@type":"qcy:ContentCategory",children:[{"@id":"https://dev.qaecy.com/enum#TechnicalRequirementsDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Technical Requirements Document"}},{"@id":"https://dev.qaecy.com/enum#ScopeOfWorkDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Scope of Work (SOW) Document"}},{"@id":"https://dev.qaecy.com/enum#PerformanceRequirementsDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Performance Requirements Document"}},{"@id":"https://dev.qaecy.com/enum#OtherRequirementsDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Other Requirements & Scoping Document"}},{"@id":"https://dev.qaecy.com/enum#FunctionalRequirementsDocument","@type":"qcy:ContentCategory",label:{"@language":"en","@value":"Functional Requirements Document"}}],label:{"@language":"en","@value":"Requirements & Scoping Document"}}],g=(f,h,o="size")=>{const d=Array.isArray(f)?f.reduce((l,C)=>({...l,[C.id]:C.value}),{}):Object.entries(f).reduce((l,[C,T])=>{const L="number"==typeof T?T:T[o];return{...l,[C]:L}},{});if(h&&h.length>0)return R(d,h);const u=Object.entries(d).map(([l,C])=>({id:l,value:C}));if(!(f=>{const h=(()=>{const f=new Set,h=o=>{for(const d of o)f.add(d["@id"]),d.children&&h(d.children)};return h(b),f})(),o=Array.isArray(f)?f.map(d=>d.id):Object.keys(f);for(const d of o)if(!h.has(d))return!1;return!0})(d))return u.map(l=>({id:l.id,name:String(l.id),value:l.value}));const s=l=>{const C=d[l["@id"]]||0,T=l.children?l.children.map(v=>s(v)).filter(v=>void 0!==v):void 0;let L=C;if(T&&T.length>0&&(L+=T.reduce((v,q)=>v+(q.value||0),0)),L>0)return{id:l["@id"],name:l.label["@value"],value:L,children:T&&T.length>0?T:void 0}};return b.map(l=>s(l)).filter(l=>void 0!==l)},R=(f,h)=>{const o=new Map,d=[];h.forEach(s=>{o.set(s.iri,{id:s.iri,name:s.label,value:f[s.iri]||0,children:[]})}),h.forEach(s=>{const l=o.get(s.iri);s.parent&&o.has(s.parent)?o.get(s.parent).children.push(l):d.push(l)});const u=s=>{let l=0;return s.children&&s.children.length>0&&(s.children=s.children.map(C=>u(C)).filter(C=>void 0!==C),l=s.children.reduce((C,T)=>C+(T.value||0),0)),(!s.children||0===s.children.length)&&delete s.children,s.value=(s.value||0)+l,(s.value||0)>0?s:void 0};return d.map(s=>u(s)).filter(s=>void 0!==s)};var I=i(99811),A=i(35547);let P=(()=>{class f{ctx=(0,t.WQX)(I.z);data=M.hFB.required();config=M.hFB.required();handlers=(0,n.EW)(()=>this.config().handlers);navigated=(0,M.CGW)();selectedContentCategories=(0,t.vPA)([]);onReset=(0,t.QZP)(()=>{this.handleCanvasClick()});fullTree=(0,n.EW)(()=>g(this.data().documents,this.ctx.availableContentCategories(),"count"));chartData=(0,n.EW)(()=>{const o=this.selectedContentCategories();if(!o.length)return this.fullTree();const d=o[0],u=l=>{for(const C of l){if(C.id===d)return C;if(C.children){const T=u(C.children);if(T)return T}}};return u(this.fullTree())?.children??this.fullTree()});groupSmallFractions=(0,n.EW)(()=>({enabled:!0,threshold:.05,groupName:"Rest"}));handleContentCategoryClick(o){var d=this;return(0,e.A)(function*(){const u=l=>{const C=[];return C.push(l.id),Array.isArray(l.children)&&l.children.forEach(T=>{C.push(...u(T))}),C};if(o.children&&o.children.length>0)return d.selectedContentCategories.set([o.id]),void d.navigated.emit({filterBy:"contentCat",values:u(o),label:o.name??o.id});const s=u(o);d.selectedContentCategories.set(s),d.navigated.emit({filterBy:"contentCat",values:s,label:o.name??o.id}),d.requestDocumentList(o)})()}requestDocumentList(o){var d=this;return(0,e.A)(function*(){const u=d.handlers()?.subsequentBlockRequest;if((f=>f===`${p.E["qcy-e"]}ContractualDocument`||"https://dev.qaecy.com/c/tend/enum#RentalContract"===f)(o.id)&&void 0!==u)return void u({id:"content-category",data:{categoryIRI:o.id},config:d.config(),focusOnAdd:!1},o.name??o.id,!0);const l=d.handlers()?.docListFilterRequest;if(void 0===l)return;const C=yield l("contentCat",[o.id]);C&&void 0!==u&&u({id:"document-list",data:C,config:d.config(),focusOnAdd:!0},o.name??o.id,!0)})()}handleCanvasClick(){this.selectedContentCategories.set([]),this.navigated.emit(null)}static \u0275fac=function(d){return new(d||f)};static \u0275cmp=A.VBU({type:f,selectors:[["cue-block-documents-by-content-category"]],inputs:{data:[1,"data"],config:[1,"config"]},outputs:{navigated:"navigated"},decls:1,vars:4,consts:[[1,"chart",3,"clickedCanvas","clickedCategory","data","doughnut","hoverType","groupSmallFractions"]],template:function(d,u){1&d&&(A.j41(0,"cue-pie-chart",0),A.bIt("clickedCanvas",function(){return u.handleCanvasClick()})("clickedCategory",function(l){return u.handleContentCategoryClick(l)}),A.k0s()),2&d&&A.Y8G("data",u.chartData())("doughnut",!1)("hoverType","nameValue")("groupSmallFractions",u.groupSmallFractions())},dependencies:[y.r],encapsulation:2,changeDetection:0})}return f})()},23615(k,O,i){i.d(O,{Y:()=>W});var e=i(10467),t=i(17705),M=i(85802),n=i(32271),y=i(94820),p=i(16114),N=i(89480),E=i(35547);const w="unknown";let W=(()=>{class G{data=t.hFB.required();config=t.hFB.required();handlers=(0,n.EW)(()=>this.config().handlers);navigated=(0,t.CGW)();documentInfoReady=(0,t.CGW)();documentInfo=(0,n.EW)(()=>{const b=this.data().documents;return Object.entries(b).map(([m,c])=>{const g=m.toLowerCase();return{id:m,name:m,value:c.count,info:p.V[g]}})});categorySuffixMap=(0,n.EW)(()=>{const b={};return this.documentInfo().forEach(m=>{const c=m.info?.type;void 0===c||c===y.p.UNKNOWN?(Object.keys(b).includes(w)||(b[w]=[]),b[w].push(m.name)):(Object.keys(b).includes(c)||(b[c]=[]),b[c].push(m.name))}),b});groupSmallFractions=(0,n.EW)(()=>({enabled:!0,threshold:.05,groupName:"other"}));onDocumentInfo=(0,M.QZP)(()=>{this.documentInfoReady.emit(this.documentInfo())});byCategory=(0,n.EW)(()=>{const b={};let m=0;return this.documentInfo().forEach(c=>{const g=c.info?.type;void 0===g||g===y.p.UNKNOWN?m+=c.value??0:(Object.keys(b).includes(g)||(b[g]=0),b[g]+=c.value??0)}),m>0&&(b[w]=m),Object.keys(b).map(c=>({name:c,value:b[c],id:c}))});docChartData=(0,n.EW)(()=>{const b=this.selectedMimeCategories();if(!b.length)return this.byCategory();const m=[];if(b.includes(w)){const c=this.documentInfo().filter(g=>void 0===g.info||g.info.type===y.p.UNKNOWN);m.push(...c)}return this.documentInfo().forEach(c=>{b.includes(c.info?.type??"")&&m.push(c)}),m});selectedMimeCategories=(0,M.vPA)([]);selectedSuffixes=(0,M.vPA)([]);handleDataClick(b){var m=this;return(0,e.A)(function*(){const c=b.name,g=m.selectedMimeCategories();if(!c?.startsWith(".")&&!g.length){m.selectedMimeCategories.set([c??""]);const u=m.categorySuffixMap()[c??""];return void m.navigated.emit({filterBy:"suffix",values:u,label:c??""})}const I=u=>{const s=[];return s.push(u.name??""),Array.isArray(u.children)&&u.children.forEach(l=>{s.push(...I(l))}),s},A=I(b),P=m.handlers()?.docListFilterRequest;if(void 0===P)return;let f;const h=A.some(u=>u.startsWith("."));if(console.log("[DocumentsBySuffix] handleDataClick",h,A),h)f=yield P("suffix",A),m.navigated.emit({filterBy:"suffix",values:A,label:c??""});else{const u=m.categorySuffixMap()[A[0]];f=yield P("suffix",u),m.navigated.emit({filterBy:"suffix",values:u,label:A[0]})}if(!f)return;const o=m.handlers()?.subsequentBlockRequest;void 0!==o?o({id:"document-list",data:f,config:m.config(),focusOnAdd:!0},c,!0):console.error("subsequentBlockRequest is undefined!")})()}handleCanvasClick(){this.selectedMimeCategories.update(()=>[]),this.selectedSuffixes.update(()=>[]),this.navigated.emit(null)}static \u0275fac=function(m){return new(m||G)};static \u0275cmp=E.VBU({type:G,selectors:[["cue-block-documents-by-suffix"]],inputs:{data:[1,"data"],config:[1,"config"]},outputs:{navigated:"navigated",documentInfoReady:"documentInfoReady"},decls:1,vars:5,consts:[[1,"chart",3,"clickedCategory","clickedCanvas","data","doughnut","hoverType","groupSmallFractions","labelThresholdPct"]],template:function(m,c){1&m&&(E.j41(0,"cue-pie-chart",0),E.bIt("clickedCategory",function(R){return c.handleDataClick(R)})("clickedCanvas",function(){return c.handleCanvasClick()}),E.k0s()),2&m&&E.Y8G("data",c.docChartData())("doughnut",!0)("hoverType","nameValue")("groupSmallFractions",c.groupSmallFractions())("labelThresholdPct",1)},dependencies:[N.r],encapsulation:2,changeDetection:0})}return G})()},61519(k,O,i){i.d(O,{$:()=>M,c:()=>n});var e=i(10467),t=i(77573);class M{docListFilterRequest=(0,e.A)(function*(){console.warn("docListFilterRequest block request not implemented")});alternativeRepresentationsRequest=()=>{throw new Error("No alternative representation request handler defined")};buildAgentPlan=(0,e.A)(function*(){console.warn("buildAgentPlan not implemented")});downloadURLRequest=(p,N=`${t.E.qcy}InformationObject`)=>{throw console.log(p,N),new Error("No download URL request handler defined")};requestDocumentsByFilter=(0,e.A)(function*(){return console.warn("requestDocumentsByFilter not implemented"),[]});documentDuplicatesRequest=(0,e.A)(function*(){return console.warn("documentDuplicatesRequest not implemented"),{}});executeAgentPlan=(0,e.A)(function*(){return console.warn("executeAgentPlan not implemented"),"xx"});filteredDocumentListRequest;openDocumentInFileManager=()=>{console.warn("openDocumentInFileManager not implemented")};openDocumentInViewer;openEntityInViewer;queryHandler=(0,e.A)(function*(){throw new Error("No query handler defined")});relatedDocumentsRequest=(0,e.A)(function*(){console.warn("relatedDocumentsRequest block request not implemented")});requestEntityLocations=()=>{console.warn("requestEntityLocations not implemented")};requestFullScreen=()=>{console.warn("requestFullScreen not implemented")};requestGeoFeatures=()=>(console.warn("requestGeoFeatures not implemented"),Promise.resolve([]));requestRDFChange;rowClickHandler=()=>{throw new Error("No row click handler defined")};rowHoverHandler=()=>{throw new Error("No row hover handler defined")};subsequentBlockRequest=(0,e.A)(function*(){console.warn("subsequentBlockRequest not implemented")});requestEntityData=()=>{console.warn("requestEntityData not implemented")};requestEntityRelationships=(0,e.A)(function*(){console.warn("requestEntityRelationships not implemented")});openEntity=()=>{console.warn("openEntity not implemented")};requestDocumentData=()=>{console.warn("requestDocumentData not implemented")};requestDocumentURL;removeAgentPlanFromHistory=(0,e.A)(function*(){console.warn("removeAgentPlanFromHistory not implemented")});summaryGraphRequest=()=>{throw new Error("No summary graph request handler defined")}}class n{canEditContentCategory=!1;canEditEntityCategories=!1}},16114(k,O,i){i.d(O,{N:()=>t,V:()=>M});var e=i(94820),t=function(n){return n.AAC=".aac",n.ABW=".abw",n.ARC=".arc",n.AVIF=".avif",n.AVI=".avi",n.APNG=".apng",n.BAK=".bak",n.BIN=".bin",n.BMC=".bmc",n.BMP=".bmp",n.BZ=".bz",n.BZ2=".bz2",n.C3D=".c3d",n.CPG=".cpg",n.CSS=".css",n.CSV=".csv",n.DAT=".dat",n.DOC=".doc",n.DOCX=".docx",n.E57=".e57",n.EPUB=".epub",n.EXE=".exe",n.FFS=".ffs",n.FME=".fme",n.FMW=".fmw",n.FRAG=".fragments",n.GH=".gh",n.GZ=".gz",n.GIF=".gif",n.HTML=".html",n.HTM=".htm",n.ICO=".ico",n.ICS=".ics",n.JAR=".jar",n.JPG=".jpg",n.JPEG=".jpeg",n.JSON=".json",n.JSONLD=".jsonld",n.JS=".js",n.MOV=".mov",n.MP3=".mp3",n.MP4=".mp4",n.MPEG=".mpeg",n.MSI=".msi",n.MTL=".mtl",n.ODP=".odp",n.ODS=".ods",n.ODT=".odt",n.OGA=".oga",n.OGG=".ogg",n.OGV=".ogv",n.OGX=".ogx",n.OTF=".otf",n.PNG=".png",n.PDF=".pdf",n.PHP=".php",n.PKG=".pkg",n.PPT=".ppt",n.PPTX=".pptx",n.PS=".ps",n.RAR=".rar",n.RCP=".rcp",n.RTF=".rtf",n.SH=".sh",n.SLK=".slk",n.SVG=".svg",n.TAR=".tar",n.TIFF=".tiff",n.TIF=".tif",n.TTF=".ttf",n.TXT=".txt",n.VGL=".vgl",n.VWX=".vwx",n.WAV=".wav",n.WEBM=".webm",n.WEBP=".webp",n.WMV=".wmv",n.WOFF=".woff",n.WOFF2=".woff2",n.XLS=".xls",n.XLSX=".xlsx",n.XHTML=".xhtml",n.XML=".xml",n.XYZ=".xyz",n.ZIP=".zip",n.SEVEN_Z=".7z",n.DBF=".dbf",n.EML=".eml",n.EMLX=".emlx",n.MBX=".mbx",n.MD=".md",n.MSG=".msg",n.RST=".rst",n.HEIC=".heic",n.MPP=".mpp",n.TSV=".tsv",n.B3DM=".b3dm",n.I3DM=".i3dm",n.PNTS=".pnts",n.CMPT=".cmpt",n.GLTF=".gltf",n.GLB=".glb",n.IFC=".ifc",n.IFCZIP=".ifczip",n.IFXML=".ifcxml",n.THREEDM=".3dm",n.THREEDS=".3ds",n.GHP=".ghp",n.RVT=".rvt",n.RFA=".rfa",n.RFT=".rft",n.RTE=".rte",n.PLA=".pla",n.PLN=".pln",n.GSM=".gsm",n.SMC=".smc",n.BCF=".bcf",n.DWG=".dwg",n.DWL=".dwl",n.DXF=".dxf",n.DGN=".dgn",n.NWD=".nwd",n.OBJ=".obj",n.C4D=".c4d",n.TEKLASTRUCTURES=".teklastructures",n.PTS=".pts",n.LAS=".las",n.LAZ=".laz",n.USDZ=".usdz",n.USDA=".usda",n.USDC=".usdc",n.USD=".usd",n.PSD=".psd",n.PSP=".psp",n.AI=".ai",n.SBN=".sbn",n.SBX=".sbx",n.SHX=".shx",n.SKP=".skp",n.STL=".stl",n.FBX=".fbx",n.KML=".kml",n.SHP=".shp",n}(t||{});const M={[t.AAC]:{type:e.p.AUDIO,open:!0,suffix:".aac"},[t.ABW]:{type:e.p.TEXT,open:!0,suffix:".abw"},[t.ARC]:{type:e.p.ARCHIVE,open:!1,suffix:".arc"},[t.AVIF]:{type:e.p.IMAGE,open:!0,suffix:".avif"},[t.AVI]:{type:e.p.VIDEO,open:!0,suffix:".avi"},[t.APNG]:{type:e.p.IMAGE,open:!0,suffix:".apng"},[t.BAK]:{type:e.p.BACKUP,open:!1,suffix:".bak"},[t.BIN]:{type:e.p.BINARY,open:!1,suffix:".bin"},[t.BMC]:{type:e.p.BIM,open:!1,suffix:".bmc"},[t.BMP]:{type:e.p.IMAGE,open:!0,suffix:".bmp"},[t.BZ]:{type:e.p.ARCHIVE,open:!0,suffix:".bz"},[t.BZ2]:{type:e.p.ARCHIVE,open:!0,suffix:".bz2"},[t.C3D]:{type:e.p.THREE_D,open:!0,suffix:".c3d"},[t.CPG]:{type:e.p.GEOSPATIAL,open:!0,suffix:".cpg"},[t.CSS]:{type:e.p.MARKUP,open:!0,suffix:".css"},[t.CSV]:{type:e.p.DATA,open:!0,suffix:".csv"},[t.DAT]:{type:e.p.DATA,open:!1,suffix:".dat"},[t.DBF]:{type:e.p.DATA,open:!0,suffix:".dbf"},[t.DOC]:{type:e.p.TEXT,open:!1,suffix:".doc"},[t.DOCX]:{type:e.p.TEXT,open:!0,suffix:".docx"},[t.E57]:{type:e.p.THREE_D,open:!0,suffix:".e57"},[t.EPUB]:{type:e.p.TEXT,open:!0,suffix:".epub"},[t.EXE]:{type:e.p.INSTALLER,open:!1,suffix:".exe"},[t.FFS]:{type:e.p.AUTOMATION,open:!1,suffix:".ffs"},[t.FME]:{type:e.p.AUTOMATION,open:!1,suffix:".fme"},[t.FMW]:{type:e.p.AUTOMATION,open:!1,suffix:".fmw"},[t.FRAG]:{type:e.p.BIM,open:!1,suffix:".fragments"},[t.GH]:{type:e.p.THREE_D,open:!1,suffix:".gh"},[t.GZ]:{type:e.p.ARCHIVE,open:!0,suffix:".gz"},[t.GIF]:{type:e.p.IMAGE,open:!0,suffix:".gif"},[t.HTML]:{type:e.p.MARKUP,open:!0,suffix:".html"},[t.HTM]:{type:e.p.MARKUP,open:!0,suffix:".htm"},[t.ICO]:{type:e.p.IMAGE,open:!1,suffix:".ico"},[t.ICS]:{type:e.p.DATA,open:!0,suffix:".ics"},[t.JAR]:{type:e.p.ARCHIVE,open:!0,suffix:".jar"},[t.JPG]:{type:e.p.IMAGE,open:!0,suffix:".jpg"},[t.JPEG]:{type:e.p.IMAGE,open:!0,suffix:".jpeg"},[t.JSON]:{type:e.p.DATA,open:!0,suffix:".json"},[t.JSONLD]:{type:e.p.DATA,open:!0,suffix:".jsonld"},[t.JS]:{type:e.p.SCRIPT,open:!0,suffix:".js"},[t.MSI]:{type:e.p.INSTALLER,open:!1,suffix:".msi"},[t.MOV]:{type:e.p.VIDEO,open:!0,suffix:".mov"},[t.MP3]:{type:e.p.AUDIO,open:!0,suffix:".mp3"},[t.MP4]:{type:e.p.VIDEO,open:!0,suffix:".mp4"},[t.MPEG]:{type:e.p.VIDEO,open:!0,suffix:".mpeg"},[t.MTL]:{type:e.p.THREE_D,open:!0,suffix:".mtl"},[t.ODP]:{type:e.p.PRESENTATION,open:!0,suffix:".odp"},[t.ODS]:{type:e.p.SPREADSHEET,open:!0,suffix:".ods"},[t.ODT]:{type:e.p.TEXT,open:!0,suffix:".odt"},[t.OGA]:{type:e.p.AUDIO,open:!0,suffix:".oga"},[t.OGG]:{type:e.p.AUDIO,open:!0,suffix:".ogg"},[t.OGV]:{type:e.p.VIDEO,open:!0,suffix:".ogv"},[t.OGX]:{type:e.p.VIDEO,open:!0,suffix:".ogx"},[t.OTF]:{type:e.p.FONT,open:!0,suffix:".otf"},[t.PNG]:{type:e.p.IMAGE,open:!0,suffix:".png"},[t.PDF]:{type:e.p.TEXT,open:!0,suffix:".pdf"},[t.PHP]:{type:e.p.SCRIPT,open:!0,suffix:".php"},[t.PKG]:{type:e.p.INSTALLER,open:!1,suffix:".pkg"},[t.PPT]:{type:e.p.PRESENTATION,open:!1,suffix:".ppt"},[t.PPTX]:{type:e.p.PRESENTATION,open:!0,suffix:".pptx"},[t.PS]:{type:e.p.IMAGE,open:!1,suffix:".ps"},[t.RAR]:{type:e.p.ARCHIVE,open:!1,suffix:".rar"},[t.RCP]:{type:e.p.THREE_D,open:!1,suffix:".rcp"},[t.RTF]:{type:e.p.TEXT,open:!0,suffix:".rtf"},[t.SBN]:{type:e.p.GEOSPATIAL,open:!1,suffix:".sbn"},[t.SBX]:{type:e.p.GEOSPATIAL,open:!1,suffix:".sbx"},[t.SHX]:{type:e.p.GEOSPATIAL,open:!0,suffix:".shx"},[t.SH]:{type:e.p.SCRIPT,open:!0,suffix:".sh"},[t.SLK]:{type:e.p.DATA,open:!0,suffix:".slk"},[t.SVG]:{type:e.p.IMAGE,open:!0,suffix:".svg"},[t.TAR]:{type:e.p.ARCHIVE,open:!0,suffix:".tar"},[t.TIFF]:{type:e.p.IMAGE,open:!0,suffix:".tiff"},[t.TIF]:{type:e.p.IMAGE,open:!0,suffix:".tif"},[t.TTF]:{type:e.p.FONT,open:!0,suffix:".ttf"},[t.TXT]:{type:e.p.TEXT,open:!0,suffix:".txt"},[t.VGL]:{type:e.p.THREE_D,open:!1,suffix:".vgl"},[t.VWX]:{type:e.p.CAD,open:!1,suffix:".vwx"},[t.WAV]:{type:e.p.AUDIO,open:!0,suffix:".wav"},[t.WEBM]:{type:e.p.VIDEO,open:!0,suffix:".webm"},[t.WEBP]:{type:e.p.IMAGE,open:!0,suffix:".webp"},[t.WMV]:{type:e.p.VIDEO,open:!0,suffix:".wmv"},[t.WOFF]:{type:e.p.FONT,open:!0,suffix:".woff"},[t.WOFF2]:{type:e.p.FONT,open:!0,suffix:".woff2"},[t.XLS]:{type:e.p.SPREADSHEET,open:!1,suffix:".xls"},[t.XLSX]:{type:e.p.SPREADSHEET,open:!0,suffix:".xlsx"},[t.XHTML]:{type:e.p.MARKUP,open:!0,suffix:".xhtml"},[t.XML]:{type:e.p.DATA,open:!0,suffix:".xml"},[t.XYZ]:{type:e.p.THREE_D,open:!0,suffix:".xyz"},[t.ZIP]:{type:e.p.ARCHIVE,open:!0,suffix:".zip"},[t.SEVEN_Z]:{type:e.p.ARCHIVE,open:!0,suffix:".7z"},[t.EML]:{type:e.p.EMAIL,open:!0,suffix:".eml"},[t.EMLX]:{type:e.p.EMAIL,open:!0,suffix:".emlx"},[t.MBX]:{type:e.p.EMAIL,open:!0,suffix:".mbx"},[t.MD]:{type:e.p.TEXT,open:!0,suffix:".md"},[t.MSG]:{type:e.p.EMAIL,open:!1,suffix:".msg"},[t.RST]:{type:e.p.TEXT,open:!0,suffix:".rst"},[t.HEIC]:{type:e.p.IMAGE,open:!1,suffix:".heic"},[t.MPP]:{type:e.p.PLANNING,open:!1,suffix:".mpp"},[t.TSV]:{type:e.p.DATA,open:!0,suffix:".tsv"},[t.B3DM]:{type:e.p.THREE_D,open:!0,suffix:".b3dm"},[t.I3DM]:{type:e.p.THREE_D,open:!0,suffix:".i3dm"},[t.PNTS]:{type:e.p.THREE_D,open:!1,suffix:".pnts"},[t.CMPT]:{type:e.p.THREE_D,open:!1,suffix:".cmpt"},[t.GLTF]:{type:e.p.THREE_D,open:!0,suffix:".gltf"},[t.GLB]:{type:e.p.THREE_D,open:!0,suffix:".glb"},[t.IFC]:{type:e.p.BIM,open:!0,suffix:".ifc"},[t.IFCZIP]:{type:e.p.BIM,open:!0,suffix:".ifczip"},[t.IFXML]:{type:e.p.BIM,open:!0,suffix:".ifcxml"},[t.THREEDM]:{type:e.p.CAD,open:!1,suffix:".3dm"},[t.THREEDS]:{type:e.p.THREE_D,open:!1,suffix:".3ds"},[t.GHP]:{type:e.p.CAD,open:!1,suffix:".ghp"},[t.RVT]:{type:e.p.BIM,open:!1,suffix:".rvt"},[t.RFA]:{type:e.p.BIM,open:!1,suffix:".rfa"},[t.RFT]:{type:e.p.BIM,open:!1,suffix:".rft"},[t.RTE]:{type:e.p.BIM,open:!1,suffix:".rte"},[t.PLA]:{type:e.p.BIM,open:!1,suffix:".pla"},[t.PLN]:{type:e.p.BIM,open:!1,suffix:".pln"},[t.GSM]:{type:e.p.BIM,open:!1,suffix:".gsm"},[t.SMC]:{type:e.p.BIM,open:!1,suffix:".smc"},[t.STL]:{type:e.p.THREE_D,open:!0,suffix:".stl"},[t.BCF]:{type:e.p.BIM,open:!0,suffix:".bcf"},[t.DWG]:{type:e.p.CAD,open:!1,suffix:".dwg"},[t.DWL]:{type:e.p.CAD,open:!1,suffix:".dwl"},[t.DXF]:{type:e.p.CAD,open:!0,suffix:".dxf"},[t.DGN]:{type:e.p.CAD,open:!1,suffix:".dgn"},[t.NWD]:{type:e.p.BIM,open:!1,suffix:".nwd"},[t.OBJ]:{type:e.p.THREE_D,open:!0,suffix:".obj"},[t.C4D]:{type:e.p.THREE_D,open:!1,suffix:".c4d"},[t.TEKLASTRUCTURES]:{type:e.p.BIM,open:!1,suffix:".teklastructures"},[t.PTS]:{type:e.p.THREE_D,open:!1,suffix:".pts"},[t.LAS]:{type:e.p.THREE_D,open:!0,suffix:".las"},[t.LAZ]:{type:e.p.THREE_D,open:!0,suffix:".laz"},[t.USDZ]:{type:e.p.THREE_D,open:!0,suffix:".usdz"},[t.USDA]:{type:e.p.THREE_D,open:!0,suffix:".usda"},[t.USDC]:{type:e.p.THREE_D,open:!0,suffix:".usdc"},[t.USD]:{type:e.p.THREE_D,open:!0,suffix:".usd"},[t.PSD]:{type:e.p.IMAGE,open:!1,suffix:".psd"},[t.PSP]:{type:e.p.IMAGE,open:!1,suffix:".psp"},[t.AI]:{type:e.p.IMAGE,open:!1,suffix:".ai"},[t.SKP]:{type:e.p.THREE_D,open:!1,suffix:".skp"},[t.FBX]:{type:e.p.THREE_D,open:!0,suffix:".fbx"},[t.KML]:{type:e.p.GEOSPATIAL,open:!0,suffix:".kml"},[t.SHP]:{type:e.p.GEOSPATIAL,open:!0,suffix:".shp"}}},94820(k,O,i){i.d(O,{p:()=>e});var e=function(t){return t.AUTOMATION="automation",t.ARCHIVE="archive",t.AUDIO="audio",t.BACKUP="backup",t.BINARY="binary",t.BIM="bim",t.CAD="cad",t.DATA="data",t.EMAIL="email",t.FONT="font",t.GEOSPATIAL="geospatial",t.IMAGE="image",t.INSTALLER="installer",t.MARKUP="markup",t.MULTIMEDIA="multimedia",t.PLANNING="planning",t.PRESENTATION="presentation",t.SCRIPT="script",t.SPREADSHEET="spreadsheet",t.TEXT="text",t.THREE_D="3d",t.UNKNOWN="unknown",t.VIDEO="video",t}(e||{})},77573(k,O,i){i.d(O,{E:()=>e});const e={qcy:"https://dev.qaecy.com/ont#","qcy-e":"https://dev.qaecy.com/enum#","qcy-f":"https://dev.qaecy.com/functions#",obc:"https://w3id.org/obc#",dicc:"https://w3id.org/digitalconstruction/0.5/Contexts#",dicv:"https://w3id.org/digitalconstruction/0.5/Variables#",dice:"https://w3id.org/digitalconstruction/0.5/Entities#",dicp:"https://w3id.org/digitalconstruction/0.5/Processes#",dica:"https://w3id.org/digitalconstruction/0.5/Agents#",dici:"https://w3id.org/digitalconstruction/0.5/Information#",dicbm:"https://w3id.org/digitalconstruction/0.5/Materials#",dicob:"https://w3id.org/digitalconstruction/0.5/Occupancy#",dicl:"https://w3id.org/digitalconstruction/0.5/Lifecycle#",dices:"https://w3id.org/digitalconstruction/0.5/Energy#",dicu:"https://w3id.org/digitalconstruction/0.5/Units#",diclvl:"https://w3id.org/digitalconstruction/0.5/Levels#",dicstg:"https://w3id.org/digitalconstruction/0.5/Stages#"}}}]);