@qaecy/cue-ui 0.0.33 → 0.0.34

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/627.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[170,627],{6170(T,e,t){t.d(e,{R:()=>I});var f=t(7705),p=t(5802),a=t(2271),u=t(5547);let I=(()=>{class r{destroyRef=(0,p.WQX)(p.abz);_isDarkMode=(0,p.vPA)(this.hasDarkClass());isDarkMode=(0,a.EW)(()=>this._isDarkMode());darkModeChange=(0,f.CGW)();constructor(){const A=new MutationObserver(D=>{D.forEach(M=>{if("attributes"===M.type&&"class"===M.attributeName){const y=this.hasDarkClass();y!==this._isDarkMode()&&this._isDarkMode.set(y)}})});A.observe(document.body,{attributes:!0,attributeFilter:["class"]}),this.destroyRef.onDestroy(()=>A.disconnect()),(0,p.QZP)(()=>{this.darkModeChange.emit(this._isDarkMode()),document.documentElement.style.colorScheme=this._isDarkMode()?"dark":"light"})}hasDarkClass(){return document.body.classList.contains("dark")}toggleDarkMode(){document.body.classList.toggle("dark")}static \u0275fac=function(D){return new(D||r)};static \u0275dir=u.FsC({type:r,selectors:[["","cueDarkMode",""]],outputs:{darkModeChange:"darkModeChange"},exportAs:["darkModeDetector"]})}return r})()},6114(T,e,t){t.d(e,{N:()=>p,V:()=>a});var f=t(4820),p=function(u){return u.AAC=".aac",u.ABW=".abw",u.ARC=".arc",u.AVIF=".avif",u.AVI=".avi",u.APNG=".apng",u.BAK=".bak",u.BIN=".bin",u.BMC=".bmc",u.BMP=".bmp",u.BZ=".bz",u.BZ2=".bz2",u.C3D=".c3d",u.CPG=".cpg",u.CSS=".css",u.CSV=".csv",u.DAT=".dat",u.DOC=".doc",u.DOCX=".docx",u.E57=".e57",u.EPUB=".epub",u.EXE=".exe",u.FFS=".ffs",u.FME=".fme",u.FMW=".fmw",u.FRAG=".fragments",u.GH=".gh",u.GZ=".gz",u.GIF=".gif",u.HTML=".html",u.HTM=".htm",u.ICO=".ico",u.ICS=".ics",u.JAR=".jar",u.JPG=".jpg",u.JPEG=".jpeg",u.JSON=".json",u.JSONLD=".jsonld",u.JS=".js",u.MOV=".mov",u.MP3=".mp3",u.MP4=".mp4",u.MPEG=".mpeg",u.MSI=".msi",u.MTL=".mtl",u.ODP=".odp",u.ODS=".ods",u.ODT=".odt",u.OGA=".oga",u.OGG=".ogg",u.OGV=".ogv",u.OGX=".ogx",u.OTF=".otf",u.PNG=".png",u.PDF=".pdf",u.PHP=".php",u.PKG=".pkg",u.PPT=".ppt",u.PPTX=".pptx",u.PS=".ps",u.RAR=".rar",u.RCP=".rcp",u.RTF=".rtf",u.SH=".sh",u.SLK=".slk",u.SVG=".svg",u.TAR=".tar",u.TIFF=".tiff",u.TIF=".tif",u.TTF=".ttf",u.TXT=".txt",u.VGL=".vgl",u.VWX=".vwx",u.WAV=".wav",u.WEBM=".webm",u.WEBP=".webp",u.WMV=".wmv",u.WOFF=".woff",u.WOFF2=".woff2",u.XLS=".xls",u.XLSX=".xlsx",u.XHTML=".xhtml",u.XML=".xml",u.XYZ=".xyz",u.ZIP=".zip",u.SEVEN_Z=".7z",u.DBF=".dbf",u.EML=".eml",u.EMLX=".emlx",u.MBX=".mbx",u.MD=".md",u.MSG=".msg",u.RST=".rst",u.HEIC=".heic",u.MPP=".mpp",u.TSV=".tsv",u.B3DM=".b3dm",u.I3DM=".i3dm",u.PNTS=".pnts",u.CMPT=".cmpt",u.GLTF=".gltf",u.GLB=".glb",u.IFC=".ifc",u.IFCZIP=".ifczip",u.IFXML=".ifcxml",u.THREEDM=".3dm",u.THREEDS=".3ds",u.GHP=".ghp",u.RVT=".rvt",u.RFA=".rfa",u.RFT=".rft",u.RTE=".rte",u.PLA=".pla",u.PLN=".pln",u.GSM=".gsm",u.SMC=".smc",u.BCF=".bcf",u.DWG=".dwg",u.DWL=".dwl",u.DXF=".dxf",u.DGN=".dgn",u.NWD=".nwd",u.OBJ=".obj",u.C4D=".c4d",u.TEKLASTRUCTURES=".teklastructures",u.PTS=".pts",u.LAS=".las",u.LAZ=".laz",u.USDZ=".usdz",u.USDA=".usda",u.USDC=".usdc",u.USD=".usd",u.PSD=".psd",u.PSP=".psp",u.AI=".ai",u.SBN=".sbn",u.SBX=".sbx",u.SHX=".shx",u.SKP=".skp",u.STL=".stl",u.FBX=".fbx",u.KML=".kml",u.SHP=".shp",u}(p||{});const a={[p.AAC]:{type:f.p.AUDIO,open:!0,suffix:".aac"},[p.ABW]:{type:f.p.TEXT,open:!0,suffix:".abw"},[p.ARC]:{type:f.p.ARCHIVE,open:!1,suffix:".arc"},[p.AVIF]:{type:f.p.IMAGE,open:!0,suffix:".avif"},[p.AVI]:{type:f.p.VIDEO,open:!0,suffix:".avi"},[p.APNG]:{type:f.p.IMAGE,open:!0,suffix:".apng"},[p.BAK]:{type:f.p.BACKUP,open:!1,suffix:".bak"},[p.BIN]:{type:f.p.BINARY,open:!1,suffix:".bin"},[p.BMC]:{type:f.p.BIM,open:!1,suffix:".bmc"},[p.BMP]:{type:f.p.IMAGE,open:!0,suffix:".bmp"},[p.BZ]:{type:f.p.ARCHIVE,open:!0,suffix:".bz"},[p.BZ2]:{type:f.p.ARCHIVE,open:!0,suffix:".bz2"},[p.C3D]:{type:f.p.THREE_D,open:!0,suffix:".c3d"},[p.CPG]:{type:f.p.GEOSPATIAL,open:!0,suffix:".cpg"},[p.CSS]:{type:f.p.MARKUP,open:!0,suffix:".css"},[p.CSV]:{type:f.p.DATA,open:!0,suffix:".csv"},[p.DAT]:{type:f.p.DATA,open:!1,suffix:".dat"},[p.DBF]:{type:f.p.DATA,open:!0,suffix:".dbf"},[p.DOC]:{type:f.p.TEXT,open:!1,suffix:".doc"},[p.DOCX]:{type:f.p.TEXT,open:!0,suffix:".docx"},[p.E57]:{type:f.p.THREE_D,open:!0,suffix:".e57"},[p.EPUB]:{type:f.p.TEXT,open:!0,suffix:".epub"},[p.EXE]:{type:f.p.INSTALLER,open:!1,suffix:".exe"},[p.FFS]:{type:f.p.AUTOMATION,open:!1,suffix:".ffs"},[p.FME]:{type:f.p.AUTOMATION,open:!1,suffix:".fme"},[p.FMW]:{type:f.p.AUTOMATION,open:!1,suffix:".fmw"},[p.FRAG]:{type:f.p.BIM,open:!0,suffix:".fragments"},[p.GH]:{type:f.p.THREE_D,open:!1,suffix:".gh"},[p.GZ]:{type:f.p.ARCHIVE,open:!0,suffix:".gz"},[p.GIF]:{type:f.p.IMAGE,open:!0,suffix:".gif"},[p.HTML]:{type:f.p.MARKUP,open:!0,suffix:".html"},[p.HTM]:{type:f.p.MARKUP,open:!0,suffix:".htm"},[p.ICO]:{type:f.p.IMAGE,open:!1,suffix:".ico"},[p.ICS]:{type:f.p.DATA,open:!0,suffix:".ics"},[p.JAR]:{type:f.p.ARCHIVE,open:!0,suffix:".jar"},[p.JPG]:{type:f.p.IMAGE,open:!0,suffix:".jpg"},[p.JPEG]:{type:f.p.IMAGE,open:!0,suffix:".jpeg"},[p.JSON]:{type:f.p.DATA,open:!0,suffix:".json"},[p.JSONLD]:{type:f.p.DATA,open:!0,suffix:".jsonld"},[p.JS]:{type:f.p.SCRIPT,open:!0,suffix:".js"},[p.MSI]:{type:f.p.INSTALLER,open:!1,suffix:".msi"},[p.MOV]:{type:f.p.VIDEO,open:!0,suffix:".mov"},[p.MP3]:{type:f.p.AUDIO,open:!0,suffix:".mp3"},[p.MP4]:{type:f.p.VIDEO,open:!0,suffix:".mp4"},[p.MPEG]:{type:f.p.VIDEO,open:!0,suffix:".mpeg"},[p.MTL]:{type:f.p.THREE_D,open:!0,suffix:".mtl"},[p.ODP]:{type:f.p.PRESENTATION,open:!0,suffix:".odp"},[p.ODS]:{type:f.p.SPREADSHEET,open:!0,suffix:".ods"},[p.ODT]:{type:f.p.TEXT,open:!0,suffix:".odt"},[p.OGA]:{type:f.p.AUDIO,open:!0,suffix:".oga"},[p.OGG]:{type:f.p.AUDIO,open:!0,suffix:".ogg"},[p.OGV]:{type:f.p.VIDEO,open:!0,suffix:".ogv"},[p.OGX]:{type:f.p.VIDEO,open:!0,suffix:".ogx"},[p.OTF]:{type:f.p.FONT,open:!0,suffix:".otf"},[p.PNG]:{type:f.p.IMAGE,open:!0,suffix:".png"},[p.PDF]:{type:f.p.TEXT,open:!0,suffix:".pdf"},[p.PHP]:{type:f.p.SCRIPT,open:!0,suffix:".php"},[p.PKG]:{type:f.p.INSTALLER,open:!1,suffix:".pkg"},[p.PPT]:{type:f.p.PRESENTATION,open:!1,suffix:".ppt"},[p.PPTX]:{type:f.p.PRESENTATION,open:!0,suffix:".pptx"},[p.PS]:{type:f.p.IMAGE,open:!1,suffix:".ps"},[p.RAR]:{type:f.p.ARCHIVE,open:!1,suffix:".rar"},[p.RCP]:{type:f.p.THREE_D,open:!1,suffix:".rcp"},[p.RTF]:{type:f.p.TEXT,open:!0,suffix:".rtf"},[p.SBN]:{type:f.p.GEOSPATIAL,open:!1,suffix:".sbn"},[p.SBX]:{type:f.p.GEOSPATIAL,open:!1,suffix:".sbx"},[p.SHX]:{type:f.p.GEOSPATIAL,open:!0,suffix:".shx"},[p.SH]:{type:f.p.SCRIPT,open:!0,suffix:".sh"},[p.SLK]:{type:f.p.DATA,open:!0,suffix:".slk"},[p.SVG]:{type:f.p.IMAGE,open:!0,suffix:".svg"},[p.TAR]:{type:f.p.ARCHIVE,open:!0,suffix:".tar"},[p.TIFF]:{type:f.p.IMAGE,open:!0,suffix:".tiff"},[p.TIF]:{type:f.p.IMAGE,open:!0,suffix:".tif"},[p.TTF]:{type:f.p.FONT,open:!0,suffix:".ttf"},[p.TXT]:{type:f.p.TEXT,open:!0,suffix:".txt"},[p.VGL]:{type:f.p.THREE_D,open:!1,suffix:".vgl"},[p.VWX]:{type:f.p.CAD,open:!1,suffix:".vwx"},[p.WAV]:{type:f.p.AUDIO,open:!0,suffix:".wav"},[p.WEBM]:{type:f.p.VIDEO,open:!0,suffix:".webm"},[p.WEBP]:{type:f.p.IMAGE,open:!0,suffix:".webp"},[p.WMV]:{type:f.p.VIDEO,open:!0,suffix:".wmv"},[p.WOFF]:{type:f.p.FONT,open:!0,suffix:".woff"},[p.WOFF2]:{type:f.p.FONT,open:!0,suffix:".woff2"},[p.XLS]:{type:f.p.SPREADSHEET,open:!1,suffix:".xls"},[p.XLSX]:{type:f.p.SPREADSHEET,open:!0,suffix:".xlsx"},[p.XHTML]:{type:f.p.MARKUP,open:!0,suffix:".xhtml"},[p.XML]:{type:f.p.DATA,open:!0,suffix:".xml"},[p.XYZ]:{type:f.p.THREE_D,open:!0,suffix:".xyz"},[p.ZIP]:{type:f.p.ARCHIVE,open:!0,suffix:".zip"},[p.SEVEN_Z]:{type:f.p.ARCHIVE,open:!0,suffix:".7z"},[p.EML]:{type:f.p.EMAIL,open:!0,suffix:".eml"},[p.EMLX]:{type:f.p.EMAIL,open:!0,suffix:".emlx"},[p.MBX]:{type:f.p.EMAIL,open:!0,suffix:".mbx"},[p.MD]:{type:f.p.TEXT,open:!0,suffix:".md"},[p.MSG]:{type:f.p.EMAIL,open:!1,suffix:".msg"},[p.RST]:{type:f.p.TEXT,open:!0,suffix:".rst"},[p.HEIC]:{type:f.p.IMAGE,open:!1,suffix:".heic"},[p.MPP]:{type:f.p.PLANNING,open:!1,suffix:".mpp"},[p.TSV]:{type:f.p.DATA,open:!0,suffix:".tsv"},[p.B3DM]:{type:f.p.THREE_D,open:!0,suffix:".b3dm"},[p.I3DM]:{type:f.p.THREE_D,open:!0,suffix:".i3dm"},[p.PNTS]:{type:f.p.THREE_D,open:!1,suffix:".pnts"},[p.CMPT]:{type:f.p.THREE_D,open:!1,suffix:".cmpt"},[p.GLTF]:{type:f.p.THREE_D,open:!0,suffix:".gltf"},[p.GLB]:{type:f.p.THREE_D,open:!0,suffix:".glb"},[p.IFC]:{type:f.p.BIM,open:!0,suffix:".ifc"},[p.IFCZIP]:{type:f.p.BIM,open:!0,suffix:".ifczip"},[p.IFXML]:{type:f.p.BIM,open:!0,suffix:".ifcxml"},[p.THREEDM]:{type:f.p.CAD,open:!1,suffix:".3dm"},[p.THREEDS]:{type:f.p.THREE_D,open:!1,suffix:".3ds"},[p.GHP]:{type:f.p.CAD,open:!1,suffix:".ghp"},[p.RVT]:{type:f.p.BIM,open:!1,suffix:".rvt"},[p.RFA]:{type:f.p.BIM,open:!1,suffix:".rfa"},[p.RFT]:{type:f.p.BIM,open:!1,suffix:".rft"},[p.RTE]:{type:f.p.BIM,open:!1,suffix:".rte"},[p.PLA]:{type:f.p.BIM,open:!1,suffix:".pla"},[p.PLN]:{type:f.p.BIM,open:!1,suffix:".pln"},[p.GSM]:{type:f.p.BIM,open:!1,suffix:".gsm"},[p.SMC]:{type:f.p.BIM,open:!1,suffix:".smc"},[p.STL]:{type:f.p.THREE_D,open:!0,suffix:".stl"},[p.BCF]:{type:f.p.BIM,open:!0,suffix:".bcf"},[p.DWG]:{type:f.p.CAD,open:!1,suffix:".dwg"},[p.DWL]:{type:f.p.CAD,open:!1,suffix:".dwl"},[p.DXF]:{type:f.p.CAD,open:!0,suffix:".dxf"},[p.DGN]:{type:f.p.CAD,open:!1,suffix:".dgn"},[p.NWD]:{type:f.p.BIM,open:!1,suffix:".nwd"},[p.OBJ]:{type:f.p.THREE_D,open:!0,suffix:".obj"},[p.C4D]:{type:f.p.THREE_D,open:!1,suffix:".c4d"},[p.TEKLASTRUCTURES]:{type:f.p.BIM,open:!1,suffix:".teklastructures"},[p.PTS]:{type:f.p.THREE_D,open:!1,suffix:".pts"},[p.LAS]:{type:f.p.THREE_D,open:!0,suffix:".las"},[p.LAZ]:{type:f.p.THREE_D,open:!0,suffix:".laz"},[p.USDZ]:{type:f.p.THREE_D,open:!0,suffix:".usdz"},[p.USDA]:{type:f.p.THREE_D,open:!0,suffix:".usda"},[p.USDC]:{type:f.p.THREE_D,open:!0,suffix:".usdc"},[p.USD]:{type:f.p.THREE_D,open:!0,suffix:".usd"},[p.PSD]:{type:f.p.IMAGE,open:!1,suffix:".psd"},[p.PSP]:{type:f.p.IMAGE,open:!1,suffix:".psp"},[p.AI]:{type:f.p.IMAGE,open:!1,suffix:".ai"},[p.SKP]:{type:f.p.THREE_D,open:!1,suffix:".skp"},[p.FBX]:{type:f.p.THREE_D,open:!0,suffix:".fbx"},[p.KML]:{type:f.p.GEOSPATIAL,open:!0,suffix:".kml"},[p.SHP]:{type:f.p.GEOSPATIAL,open:!0,suffix:".shp"}}},4820(T,e,t){t.d(e,{p:()=>f});var f=function(p){return p.AUTOMATION="automation",p.ARCHIVE="archive",p.AUDIO="audio",p.BACKUP="backup",p.BINARY="binary",p.BIM="bim",p.CAD="cad",p.DATA="data",p.EMAIL="email",p.FONT="font",p.GEOSPATIAL="geospatial",p.IMAGE="image",p.INSTALLER="installer",p.MARKUP="markup",p.MULTIMEDIA="multimedia",p.PLANNING="planning",p.PRESENTATION="presentation",p.SCRIPT="script",p.SPREADSHEET="spreadsheet",p.TEXT="text",p.THREE_D="3d",p.UNKNOWN="unknown",p.VIDEO="video",p}(f||{})}}]);
package/828.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[170,828],{6911(p,c,t){t.d(c,{ByCueLogo:()=>l});var o=t(7705),i=t(4613),e=t(5547);let l=(()=>{class n{src=o.hFB.required();alt=(0,o.hFB)("");active=(0,o.hFB)(!0,{transform:o.L39});continuous=(0,o.hFB)(!1,{transform:o.L39});static \u0275fac=function(a){return new(a||n)};static \u0275cmp=e.VBU({type:n,selectors:[["cue-by-cue-logo"]],inputs:{src:[1,"src"],alt:[1,"alt"],active:[1,"active"],continuous:[1,"continuous"]},decls:7,vars:5,consts:[[1,"wrapper"],[1,"main-logo",3,"src","alt"],[1,"by-cue"],[1,"by-text"],[1,"logo-wrapper"],[3,"size","active","continuous"]],template:function(a,s){1&a&&(e.j41(0,"div",0),e.nrm(1,"img",1),e.j41(2,"div",2)(3,"span",3),e.EFF(4,"by"),e.k0s(),e.j41(5,"div",4),e.nrm(6,"cue-logo",5),e.k0s()()()),2&a&&(e.R7$(),e.Y8G("src",s.src(),e.B4B)("alt",s.alt()),e.R7$(5),e.Y8G("size","xs")("active",s.active())("continuous",s.continuous()))},dependencies:[i.Logo],styles:[":host{display:inline-block}.wrapper{position:relative;display:inline-block;width:var(--by-cue-logo-width, 200px);container-type:inline-size}.main-logo{display:block;width:100%;height:auto}.by-cue{position:absolute;bottom:clamp(-20px,-7cqi,-8px);right:clamp(-30px,-10cqi,-10px);display:flex;align-items:flex-end;gap:clamp(2px,2cqi,6px);opacity:.55}.by-cue:hover{opacity:1;transition:opacity .3s ease}.by-text{font-family:Poppins,sans-serif;font-size:clamp(8px,5cqi,13px);font-weight:300;font-style:italic;letter-spacing:.04em;color:currentColor;line-height:1}.logo-wrapper{width:clamp(24px,20cqi,56px);aspect-ratio:221.545 / 86.191;display:block}cue-logo{width:100%!important;height:100%!important;display:block}\n"],encapsulation:3})}return n})()},6170(p,c,t){t.d(c,{R:()=>n});var o=t(7705),i=t(5802),e=t(2271),l=t(5547);let n=(()=>{class r{destroyRef=(0,i.WQX)(i.abz);_isDarkMode=(0,i.vPA)(this.hasDarkClass());isDarkMode=(0,e.EW)(()=>this._isDarkMode());darkModeChange=(0,o.CGW)();constructor(){const a=new MutationObserver(s=>{s.forEach(d=>{if("attributes"===d.type&&"class"===d.attributeName){const u=this.hasDarkClass();u!==this._isDarkMode()&&this._isDarkMode.set(u)}})});a.observe(document.body,{attributes:!0,attributeFilter:["class"]}),this.destroyRef.onDestroy(()=>a.disconnect()),(0,i.QZP)(()=>{this.darkModeChange.emit(this._isDarkMode()),document.documentElement.style.colorScheme=this._isDarkMode()?"dark":"light"})}hasDarkClass(){return document.body.classList.contains("dark")}toggleDarkMode(){document.body.classList.toggle("dark")}static \u0275fac=function(s){return new(s||r)};static \u0275dir=l.FsC({type:r,selectors:[["","cueDarkMode",""]],outputs:{darkModeChange:"darkModeChange"},exportAs:["darkModeDetector"]})}return r})()}}]);
package/common.js CHANGED
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[76],{2014(p,c,l){l.d(c,{z:()=>o});var r=l(7705),d=l(2271),i=l(5547);const e=["*"];let o=(()=>{class a{justify=(0,r.hFB)("start");size=(0,r.hFB)("l");widthStyle=(0,d.EW)(()=>`var(--cue-button-label-padding-${this.size()}-x)`);static \u0275fac=function(n){return new(n||a)};static \u0275cmp=i.VBU({type:a,selectors:[["cue-button-padder"]],inputs:{justify:[1,"justify"],size:[1,"size"]},ngContentSelectors:e,decls:2,vars:4,template:function(n,t){1&n&&(i.NAR(),i.rj2(0,"div"),i.SdG(1),i.eux()),2&n&&i.xc7("justify-content",t.justify())("min-width",t.widthStyle())},styles:["div[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:1px}"]})}return a})()},9134(p,c,l){l.d(c,{v:()=>o});var r=l(7705),d=l(6034),i=l(7517),e=l(5547);let o=(()=>{class a{title=(0,r.hFB)("Legend");layers=(0,r.hFB)([]);position=(0,r.hFB)("top-left");close=(0,r.CGW)();visibilityChange=(0,r.CGW)();layerChange=(0,r.CGW)();visibilityAll=(0,r.CGW)();static \u0275fac=function(n){return new(n||a)};static \u0275cmp=e.VBU({type:a,selectors:[["cue-color-legend-panel"]],inputs:{title:[1,"title"],layers:[1,"layers"],position:[1,"position"]},outputs:{close:"close",visibilityChange:"visibilityChange",layerChange:"layerChange",visibilityAll:"visibilityAll"},decls:3,vars:4,consts:[[3,"clickedClose","label","padded","position"],[1,"content"],[3,"visibilityAll","layerChange","visibilityChange","layers"]],template:function(n,t){1&n&&(e.j41(0,"cue-draggable-card",0),e.bIt("clickedClose",function(){return t.close.emit()}),e.j41(1,"div",1)(2,"cue-layer-legend",2),e.bIt("visibilityAll",function(s){return t.visibilityAll.emit(s)})("layerChange",function(s){return t.layerChange.emit(s)})("visibilityChange",function(s){return t.visibilityChange.emit(s)}),e.k0s()()()),2&n&&(e.Y8G("label",t.title())("padded",!1)("position",t.position()),e.R7$(2),e.Y8G("layers",t.layers()))},dependencies:[d.y,i.P],styles:[".content[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px;margin-bottom:30px;font-size:.8em;max-height:200px;max-width:180px;overflow:auto}"]})}return a})()},7106(p,c,l){function r(d,i){this.v=d,this.k=i}l.d(c,{A:()=>r})},600(p,c,l){l.d(c,{A:()=>d});var r=l(7106);function d(e){return function(){return new i(e.apply(this,arguments))}}function i(e){var o,a;function v(n,t){try{var _=e[n](t),s=_.value,g=s instanceof r.A;Promise.resolve(g?s.v:s).then(function(u){if(g){var h="return"===n?"return":"next";if(!s.k||u.done)return v(h,u);u=e[h](u).value}y(_.done?"return":"normal",u)},function(u){v("throw",u)})}catch(u){y("throw",u)}}function y(n,t){switch(n){case"return":o.resolve({value:t,done:!0});break;case"throw":o.reject(t);break;default:o.resolve({value:t,done:!1})}(o=o.next)?v(o.key,o.arg):a=null}this._invoke=function(n,t){return new Promise(function(_,s){var g={key:n,arg:t,resolve:_,reject:s,next:null};a?a=a.next=g:(o=a=g,v(n,t))})},"function"!=typeof e.return&&(this.return=void 0)}i.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},i.prototype.next=function(e){return this._invoke("next",e)},i.prototype.throw=function(e){return this._invoke("throw",e)},i.prototype.return=function(e){return this._invoke("return",e)}}}]);
1
+ "use strict";(self.webpackChunkcue_ui=self.webpackChunkcue_ui||[]).push([[76],{2014(b,m,a){a.d(m,{z:()=>u});var s=a(7705),h=a(2271),n=a(5547);const l=["*"];let u=(()=>{class t{justify=(0,s.hFB)("start");size=(0,s.hFB)("l");widthStyle=(0,h.EW)(()=>`var(--cue-button-label-padding-${this.size()}-x)`);static \u0275fac=function(e){return new(e||t)};static \u0275cmp=n.VBU({type:t,selectors:[["cue-button-padder"]],inputs:{justify:[1,"justify"],size:[1,"size"]},ngContentSelectors:l,decls:2,vars:4,template:function(e,o){1&e&&(n.NAR(),n.rj2(0,"div"),n.SdG(1),n.eux()),2&e&&n.xc7("justify-content",o.justify())("min-width",o.widthStyle())},styles:["div[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:1px}"]})}return t})()},6034(b,m,a){a.d(m,{y:()=>f});var s=a(7705),h=a(7598),n=a(9769),l=a(5187),u=a(2271),t=a(5547);const v=["*"];let _=(()=>{class c{style=(0,s.hFB)("");gap=(0,s.hFB)("m");columns=(0,s.hFB)(1);getStyles=(0,u.EW)(()=>`\n grid-template-columns: repeat(${this.columns()}, minmax(0, 1fr));\n gap: var(--cue-grid-gap-${this.gap()});\n ${this.style()}\n `);static \u0275fac=function(y){return new(y||c)};static \u0275cmp=t.VBU({type:c,selectors:[["cue-grid"]],hostVars:2,hostBindings:function(y,g){2&y&&t.Aen(g.getStyles())},inputs:{style:[1,"style"],gap:[1,"gap"],columns:[1,"columns"]},ngContentSelectors:v,decls:1,vars:0,template:function(y,g){1&y&&(t.NAR(),t.SdG(0))},styles:["[_nghost-%COMP%]{display:grid}"]})}return c})();var e=a(2245),o=a(5381),i=a(29);const r=["*"];function p(c,C){if(1&c&&(t.j41(0,"cue-typography",2),t.EFF(1),t.k0s()),2&c){const M=t.XpG();t.R7$(),t.SpI(" ",M.label()," ")}}let f=(()=>{class c{label=(0,s.hFB)("");variant=(0,s.hFB)("default");shadow=(0,s.hFB)(!1);padded=(0,s.hFB)(!0);showCloseBtn=(0,s.hFB)(!0);position=(0,s.hFB)("top-left");clickedClose=(0,s.CGW)();margin=(0,s.hFB)("0.5rem");close(M){M.stopPropagation(),M.stopImmediatePropagation(),this.clickedClose.emit()}static \u0275fac=function(y){return new(y||c)};static \u0275cmp=t.VBU({type:c,selectors:[["cue-draggable-card"]],inputs:{label:[1,"label"],variant:[1,"variant"],shadow:[1,"shadow"],padded:[1,"padded"],showCloseBtn:[1,"showCloseBtn"],position:[1,"position"],margin:[1,"margin"]},outputs:{clickedClose:"clickedClose"},ngContentSelectors:r,decls:8,vars:14,consts:[["cdkDrag","",1,"panel",3,"variant","shadow","padded"],["justify","end"],["size","l"],[2,"width","100%"],["name","close",2,"cursor","pointer",3,"click"]],template:function(y,g){1&y&&(t.NAR(),t.j41(0,"cue-card",0)(1,"cue-typography")(2,"cue-grid")(3,"cue-flexcontainer",1),t.nVh(4,p,2,1,"cue-typography",2),t.nrm(5,"span",3),t.j41(6,"cue-svg-icon",4),t.bIt("click",function(D){return g.close(D)}),t.k0s()(),t.SdG(7),t.k0s()()()),2&y&&(t.xc7("top","top-left"===g.position()||"top-right"===g.position()?g.margin():"null")("bottom","bottom-left"===g.position()||"bottom-right"===g.position()?g.margin():"null")("left","top-left"===g.position()||"bottom-left"===g.position()?g.margin():"null")("right","top-right"===g.position()||"bottom-right"===g.position()?g.margin():"null"),t.Y8G("variant",g.variant())("shadow",g.shadow())("padded",g.padded()),t.R7$(3),t.xc7("padding",g.padded()?"0":"10px"),t.R7$(),t.vxM(g.label()&&"undefined"!==g.label()?4:-1))},dependencies:[n.MD,l.Z,_,e.Typography,o.n,i.A,h.T1],styles:[".panel[_ngcontent-%COMP%]{position:absolute;width:fit-content}"]})}return c})()},9134(b,m,a){a.d(m,{v:()=>u});var s=a(7705),h=a(6034),n=a(7517),l=a(5547);let u=(()=>{class t{title=(0,s.hFB)("Legend");layers=(0,s.hFB)([]);position=(0,s.hFB)("top-left");close=(0,s.CGW)();visibilityChange=(0,s.CGW)();layerChange=(0,s.CGW)();visibilityAll=(0,s.CGW)();static \u0275fac=function(e){return new(e||t)};static \u0275cmp=l.VBU({type:t,selectors:[["cue-color-legend-panel"]],inputs:{title:[1,"title"],layers:[1,"layers"],position:[1,"position"]},outputs:{close:"close",visibilityChange:"visibilityChange",layerChange:"layerChange",visibilityAll:"visibilityAll"},decls:3,vars:4,consts:[[3,"clickedClose","label","padded","position"],[1,"content"],[3,"visibilityAll","layerChange","visibilityChange","layers"]],template:function(e,o){1&e&&(l.j41(0,"cue-draggable-card",0),l.bIt("clickedClose",function(){return o.close.emit()}),l.j41(1,"div",1)(2,"cue-layer-legend",2),l.bIt("visibilityAll",function(r){return o.visibilityAll.emit(r)})("layerChange",function(r){return o.layerChange.emit(r)})("visibilityChange",function(r){return o.visibilityChange.emit(r)}),l.k0s()()()),2&e&&(l.Y8G("label",o.title())("padded",!1)("position",o.position()),l.R7$(2),l.Y8G("layers",o.layers()))},dependencies:[h.y,n.P],styles:[".content[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px;margin-bottom:30px;font-size:.8em;max-height:200px;max-width:180px;overflow:auto}"]})}return t})()},4613(b,m,a){a.d(m,{Logo:()=>t});var s=a(7705),h=a(5802),n=a(5547),l=a(2271),u=a(6170);let t=(()=>{class v{size=(0,s.hFB)("m");sizeMap={xs:"40px",s:"80px",m:"160px",l:"222px"};active=(0,s.hFB)(!0,{transform:s.L39});continuous=(0,s.hFB)(!1,{transform:s.L39});mode=(0,s.hFB)("default");isDarkMode=(0,s.geq)(!1);handleDarkModeChange(e){this.isDarkMode.set(e),-1===this.raf&&this.animate()}colorA=(0,l.EW)(()=>this.isDarkMode()?[221,246,18]:[18,28,43]);colorB=[0,202,204];paths=[];raf=-1;appearTime=0;disappearTime=0;tip=0;toe=0;mix=[0,0,0];norm=0;animate=e=>{if(void 0!==e){const o=5e-4*(e-this.appearTime);"glow"===this.mode()?this.tip=o%1:(this.tip=Math.min(1,o),this.active()||(this.toe=Math.min(1,6e-4*(e-this.disappearTime))))}if("glow"===this.mode()){const o=.06666666666666667,i=this.rgbToSvg(this.colorA());return this.paths.forEach((r,p)=>{this.norm=1/this.paths.length*p;let d=this.tip-this.norm;if(d<-(1-o)&&(d+=1),d>=0&&d<o){const f=1-d/o;r.setAttribute("stroke",this.rgbToSvg(this.colorB)),r.setAttribute("stroke-opacity",f.toFixed(3))}else r.setAttribute("stroke",i),r.setAttribute("stroke-opacity","0.005")}),void(this.raf=requestAnimationFrame(this.animate))}if(this.paths.forEach((o,i)=>{this.norm=1/this.paths.length*i,this.mix=this.mixRgb(this.colorA(),this.colorB,Math.max(0,Math.min(1,15*(this.tip-this.norm)))),o.setAttribute("stroke",this.tip*this.paths.length>i&&(this.active()||this.toe*this.paths.length<i)?this.rgbToSvg(this.mix):"transparent")}),this.tip>=1&&(this.active()||this.toe>=1))return this.continuous()?void setTimeout(()=>{this.appearTime=performance.now(),this.tip=0,this.toe=0,this.raf=requestAnimationFrame(this.animate)},500):void(this.raf=-1);this.raf=requestAnimationFrame(this.animate)};activate(){this.appearTime=performance.now(),this.animate(this.appearTime)}deactivate(){this.disappearTime=performance.now(),-1===this.raf&&this.animate(this.disappearTime)}mixChannel(e,o,i){return parseInt((e*i+o*(1-i)).toFixed())}mixRgb(e,o,i){return[this.mixChannel(e[0],o[0],i),this.mixChannel(e[1],o[1],i),this.mixChannel(e[2],o[2],i)]}rgbToSvg(e){return`rgb(${e[0]},${e[1]},${e[2]})`}constructor(){(0,h.QZP)(()=>{"glow"===this.mode()||this.active()?this.activate():this.deactivate()}),(0,h.QZP)(()=>{this.isDarkMode(),this.animate()});const e=(0,h.WQX)(n.aKT);(0,n.mal)({read:()=>{if(this.paths.length)return;const o=e.nativeElement.querySelector("svg"),i=e.nativeElement.querySelector("#original-path");if(!i)return;const r=i.getTotalLength(),d=[];for(let f=0;f<400;f++){const c=i.getPointAtLength(r/400*f);d.push({x:parseFloat(c.x.toFixed(2)),y:parseFloat(c.y.toFixed(2))})}d.push(i.getPointAtLength(r)),d.reverse(),d.forEach((f,c)=>{if(0===c||1===c)return;const C=document.createElementNS("http://www.w3.org/2000/svg","path");C.setAttribute("d",`M${d[c-2].x},${d[c-2].y}L${d[c-1].x},${d[c-1].y}L${f.x},${f.y}`),C.setAttribute("fill","none"),C.setAttribute("stroke","transparent"),C.setAttribute("stroke-width",i?.getAttribute("stroke-width")||"1"),C.setAttribute("stroke-miterlimit",i?.getAttribute("stroke-miterlimit")||"1"),o.appendChild(C),this.paths.push(C)})}})}ngOnDestroy(){this.paths=[],cancelAnimationFrame(this.raf),this.raf=-1}static \u0275fac=function(o){return new(o||v)};static \u0275cmp=n.VBU({type:v,selectors:[["cue-logo"]],hostVars:2,hostBindings:function(o,i){2&o&&n.xc7("width",i.sizeMap[i.size()])},inputs:{size:[1,"size"],active:[1,"active"],continuous:[1,"continuous"],mode:[1,"mode"],isDarkMode:[1,"isDarkMode"]},outputs:{isDarkMode:"isDarkModeChange"},decls:2,vars:0,consts:[["cueDarkMode","","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 221.545 86.191","width","222","height","86","overflow","visible",3,"darkModeChange"],["id","original-path","fill","none","stroke","transparent","stroke-miterlimit","10","stroke-width","12","d","M216.046 56.638s-10.561 24.201-36.192 22.991c-25.631-1.21-22.771-24.751-20.351-37.622 2.42-12.871 10.451-20.351 16.831-18.041 6.283 2.275 8.03 9.68 2.09 21.891-5.94 12.211-21.341 37.567-35.862 33.992-12.413-3.056-13.281-23.162-13.281-23.162V29.762v26.925c0 14.471-12.47 23.212-24.672 23.212s-24.672-8.301-24.672-23.212V29.829l-.006.105v13.031c0 20.416-16.55 36.966-36.966 36.966S6 63.381 6 42.966 22.55 6 42.966 6c6.91 0 13.377 1.896 18.91 5.196"]],template:function(o,i){1&o&&(h.qSk(),n.j41(0,"svg",0),n.bIt("darkModeChange",function(p){return i.handleDarkModeChange(p)}),n.nrm(1,"path",1),n.k0s())},dependencies:[u.R],styles:["[_nghost-%COMP%]{display:block}svg[_ngcontent-%COMP%]{flex:1;display:block;width:100%;height:auto}"]})}return v})()},7851(b,m,a){a.d(m,{k:()=>_});var s=a(7705),h=a(5802),n=a(5547),l=a(4613),u=a(2245);function t(e,o){if(1&e&&(n.j41(0,"cue-typography",1),n.EFF(1),n.k0s()),2&e){const i=n.XpG();n.R7$(),n.JRh(i.message)}}let v=(()=>{class e{message="";static \u0275fac=function(r){return new(r||e)};static \u0275cmp=n.VBU({type:e,selectors:[["cue-logo-loader-overlay"]],decls:2,vars:1,consts:[["size","m","mode","glow"],["size","s",1,"message"]],template:function(r,p){1&r&&(n.nrm(0,"cue-logo",0),n.nVh(1,t,2,1,"cue-typography",1)),2&r&&(n.R7$(),n.vxM(p.message?1:-1))},dependencies:[l.Logo,u.Typography],styles:["[_nghost-%COMP%]{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;z-index:1000}.message[_ngcontent-%COMP%]{color:var(--color-text-secondary)}"],changeDetection:0})}return e})(),_=(()=>{class e{cueLogoLoader=(0,s.hFB)(!1);cueLogoLoaderMessage=(0,s.hFB)("");el=(0,h.WQX)(n.aKT);appRef=(0,h.WQX)(n.o8S);envInjector=(0,h.WQX)(h.uvJ);renderer=(0,h.WQX)(n.sFG);overlayRef;constructor(){(0,h.QZP)(()=>{const i=this.cueLogoLoader(),r=this.cueLogoLoaderMessage();i?(this.overlayRef||this.createOverlay(),this.overlayRef&&(this.overlayRef.instance.message=r,this.overlayRef.changeDetectorRef.markForCheck())):this.destroyOverlay()})}createOverlay(){this.overlayRef=(0,s.a0P)(v,{environmentInjector:this.envInjector}),this.appRef.attachView(this.overlayRef.hostView),this.renderer.appendChild(this.el.nativeElement,this.overlayRef.hostView.rootNodes[0])}destroyOverlay(){this.overlayRef&&(this.appRef.detachView(this.overlayRef.hostView),this.overlayRef.destroy(),this.overlayRef=void 0)}ngOnDestroy(){this.destroyOverlay()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=n.FsC({type:e,selectors:[["","cueLogoLoader",""]],hostVars:2,hostBindings:function(r,p){2&r&&n.xc7("position","relative")},inputs:{cueLogoLoader:[1,"cueLogoLoader"],cueLogoLoaderMessage:[1,"cueLogoLoaderMessage"]}})}return e})()},7106(b,m,a){function s(h,n){this.v=h,this.k=n}a.d(m,{A:()=>s})},600(b,m,a){a.d(m,{A:()=>h});var s=a(7106);function h(l){return function(){return new n(l.apply(this,arguments))}}function n(l){var u,t;function v(e,o){try{var i=l[e](o),r=i.value,p=r instanceof s.A;Promise.resolve(p?r.v:r).then(function(d){if(p){var f="return"===e?"return":"next";if(!r.k||d.done)return v(f,d);d=l[f](d).value}_(i.done?"return":"normal",d)},function(d){v("throw",d)})}catch(d){_("throw",d)}}function _(e,o){switch(e){case"return":u.resolve({value:o,done:!0});break;case"throw":u.reject(o);break;default:u.resolve({value:o,done:!1})}(u=u.next)?v(u.key,u.arg):t=null}this._invoke=function(e,o){return new Promise(function(i,r){var p={key:e,arg:o,resolve:i,reject:r,next:null};t?t=t.next=p:(u=t=p,v(e,o))})},"function"!=typeof l.return&&(this.return=void 0)}n.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},n.prototype.next=function(l){return this._invoke("next",l)},n.prototype.throw=function(l){return this._invoke("throw",l)},n.prototype.return=function(l){return this._invoke("return",l)}}}]);