unisi 0.3.17__py3-none-any.whl → 0.3.19__py3-none-any.whl
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.
- unisi/containers.py +1 -0
- unisi/llmrag.py +13 -2
- unisi/server.py +3 -4
- unisi/web/css/565.f35d8840.css +1 -0
- unisi/web/css/72.9393078c.css +1 -0
- unisi/web/css/{vendor.f7e3cefe.css → app.36cc37f3.css} +3 -3
- unisi/web/css/app.36cc37f3.css.gz +0 -0
- unisi/web/fonts/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWuYjalmUiAw.2cafd699.woff +0 -0
- unisi/web/fonts/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWuZtalmUiAw.7f471697.woff +0 -0
- unisi/web/fonts/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWuaabVmUiAw.b69d1cce.woff +0 -0
- unisi/web/fonts/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWub2bVmUiAw.2115c3bd.woff +0 -0
- unisi/web/fonts/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbFmUiAw.bb8ee9ee.woff +0 -0
- unisi/web/fonts/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbVmUiAw.eb9d7304.woff +0 -0
- unisi/web/index.html +1 -1
- unisi/web/js/260.1d50abd6.js +1 -0
- unisi/web/js/565.437dc595.js +3 -0
- unisi/web/js/565.437dc595.js.gz +0 -0
- unisi/web/js/609.a5c4177e.js +1 -0
- unisi/web/js/72.f1673470.js +1 -0
- unisi/web/js/935.a10cb1a0.js +1 -0
- unisi/web/js/app.aa62bd3c.js +1 -0
- unisi/web/js/echart.8f773fb7.js +1 -0
- unisi/web/js/echart.8f773fb7.js.gz +0 -0
- unisi/web/js/sigma.ce21336a.js +1 -0
- unisi/web/js/sigma.ce21336a.js.gz +0 -0
- unisi/web/js/vendor.6a64dcc5.js +57 -0
- unisi/web/js/vendor.6a64dcc5.js.gz +0 -0
- {unisi-0.3.17.dist-info → unisi-0.3.19.dist-info}/METADATA +1 -1
- unisi-0.3.19.dist-info/RECORD +58 -0
- unisi/web/css/337.703d8f36.css +0 -1
- unisi/web/css/app.31d6cfe0.css +0 -0
- unisi/web/fonts/KFOkCnqEu92Fr1MmgVxIIzQ.68bb21d0.woff +0 -0
- unisi/web/fonts/KFOlCnqEu92Fr1MmEU9fBBc-.48af7707.woff +0 -0
- unisi/web/fonts/KFOlCnqEu92Fr1MmSU5fBBc-.c2f7ab22.woff +0 -0
- unisi/web/fonts/KFOlCnqEu92Fr1MmWUlfBBc-.77ecb942.woff +0 -0
- unisi/web/fonts/KFOlCnqEu92Fr1MmYUtfBBc-.f5677eb2.woff +0 -0
- unisi/web/fonts/KFOmCnqEu92Fr1Mu4mxM.f1e2a767.woff +0 -0
- unisi/web/js/337.f67a085d.js +0 -3
- unisi/web/js/609.35dc13d3.js +0 -1
- unisi/web/js/935.cc0c012c.js +0 -1
- unisi/web/js/app.5d4f7ec8.js +0 -1
- unisi/web/js/vendor.1bb14e9d.js +0 -45
- unisi-0.3.17.dist-info/RECORD +0 -49
- {unisi-0.3.17.dist-info → unisi-0.3.19.dist-info}/WHEEL +0 -0
- {unisi-0.3.17.dist-info → unisi-0.3.19.dist-info}/entry_points.txt +0 -0
- {unisi-0.3.17.dist-info → unisi-0.3.19.dist-info}/licenses/LICENSE +0 -0
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
unisi/web/index.html
CHANGED
@@ -1 +1 @@
|
|
1
|
-
<!DOCTYPE html><html><head><base href=/ ><title>UNISI</title><meta charset=utf-8><meta name=description content="UNISI on Quasar"><meta name=format-detection content="telephone=no"><meta name=msapplication-tap-highlight content=no><meta name=viewport content="user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1,width=device-width"><link rel=icon type=image/png sizes=128x128 href=icons/favicon-128x128.png><link rel=icon type=image/png sizes=96x96 href=icons/favicon-96x96.png><link rel=icon type=image/png sizes=32x32 href=icons/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=icons/favicon-16x16.png><link rel=icon type=image/ico href=favicon.ico><script defer src=/js/vendor.
|
1
|
+
<!DOCTYPE html><html><head><base href=/ ><title>UNISI</title><meta charset=utf-8><meta name=description content="UNISI on Quasar"><meta name=format-detection content="telephone=no"><meta name=msapplication-tap-highlight content=no><meta name=viewport content="user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1,width=device-width"><link rel=icon type=image/png sizes=128x128 href=icons/favicon-128x128.png><link rel=icon type=image/png sizes=96x96 href=icons/favicon-96x96.png><link rel=icon type=image/png sizes=32x32 href=icons/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=icons/favicon-16x16.png><link rel=icon type=image/ico href=favicon.ico><script defer src=/js/vendor.6a64dcc5.js></script><script defer src=/js/app.aa62bd3c.js></script><link href=/css/app.36cc37f3.css rel=stylesheet></head><body><div id=q-app></div></body></html>
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(globalThis["webpackChunkuniqua"]=globalThis["webpackChunkuniqua"]||[]).push([[260],{4260:(t,e,a)=>{a.r(e),a.d(e,{default:()=>m});var i=a(1758),s=a(8790);function n(t,e,a,n,o,l){return(0,i.uX)(),(0,i.CE)("div",{style:(0,s.Tr)(a.styleSize?a.styleSize:l.currentStyle())},[((0,i.uX)(),(0,i.Wv)((0,i.$y)(o.VChartAsync),{ref:"chart","manual-update":!0,onClick:l.clicked,autoresize:!0},null,8,["onClick"]))],4)}a(8499);var o=a(4907),l=a(3952),r=a(8734);let h=["","#80FFA5","#00DDFF","#37A2FF","#FF0087","#FFBF00","rgba(128, 255, 165)","rgba(77, 119, 255)"];const d={name:"linechart",props:{data:Object,pdata:Object,styleSize:String},data(){const t=(0,o.A)();return{$q:t,model:!1,animation:null,markPoint:null,options:{responsive:!0,maintainAspectRatio:!1,legend:{data:[],bottom:10,textStyle:{color:"#4DD0E1"}},tooltip:{trigger:"axis",position:function(t){return[t[0],"10%"]}},title:{left:"center",text:""},toolbox:{feature:{}},xAxis:{type:"category",boundaryGap:!1,data:null},yAxis:{type:"value",boundaryGap:[0,"100%"]},dataZoom:[{type:"inside",start:0,end:10},{start:0,end:10}],series:[]},VChartAsync:null}},computed:{fullname(){return`${this.data.name}@${this.pdata.name}`}},methods:{async loadChartComponents(){const[{default:t},e]=await Promise.all([Promise.all([a.e(121),a.e(464)]).then(a.bind(a,6581)),Promise.all([a.e(121),a.e(464)]).then(a.bind(a,1879))]);this.VChartAsync=(0,r.IG)(t),this.echarts=e},setOptions(){this.$refs.chart&&this.$refs.chart.setOption(this.options)},currentStyle(){let t=this.data.tablerect,e=t?t.width:300,a=t?t.height:200;return`width: ${e}px; height: ${a}px`},processCoord(t,e,a){let i=null;for(let a of e)if(t[0]==a.coord[0]){i=a;break}a?i?e.splice(e.indexOf(i),1):e.push({coord:t}):(e.splice(0,e.length),i||e.push({coord:t}))},clicked(t){let e=[t.dataIndex,this.options.series[t.seriesIndex].data[t.dataIndex]];this.processCoord(e,this.markPoint.data,l.Zp.shiftKey);let a=this.markPoint.data.map((t=>t.coord[0])),i=this.data;if(i.value=Array.isArray(i.value)||a.length>1?a:a.length?a[0]:null,this.animation){let t=this.options.dataZoom;t[0].start=this.animation.start,t[1].start=this.animation.start,t[0].end=this.animation.end,t[1].end=this.animation.end}this.setOptions(),(0,l.tN)([this.pdata.name,this.data.name,"changed",this.data.value])},calcSeries(){this.options.toolbox.feature.mySwitcher={show:!0,title:"Switch view to the table",icon:"image:M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm15 2h-4v3h4V4zm0 4h-4v3h4V8zm0 4h-4v3h3a1 1 0 0 0 1-1v-2zm-5 3v-3H6v3h4zm-5 0v-3H1v2a1 1 0 0 0 1 1h3zm-4-4h4V8H1v3zm0-4h4V4H1v3zm5-3v3h4V4H6zm4 4H6v3h4V8z",onclick:()=>{let t=this.data;t.type="table",t.tablerect=this.$refs.chart.$el.getBoundingClientRect(),l.Yt[this.fullname].styleSize=this.currentStyle()}};let t=this.data.view,e=this.data.headers;"_"!=this.data.name[0]&&(this.options.title.text=this.data.name);let a=t.split("-"),i=a[1].split(",");i.unshift(a[0]);let s=[];for(let t=0;t<i.length;t++)i[t]="i"==i[t]?-1:parseInt(i[t]),s.push([]),t&&(this.options.series.push({name:e[i[t]],type:"line",symbol:"circle",symbolSize:10,sampling:"lttb",itemStyle:{color:h[t]},data:s[t]}),this.options.legend.data.push(e[i[t]]));this.options.xAxis.data=s[0];let n=this.data.rows;for(let t=0;t<n.length;t++)for(let e=0;e<i.length;e++)s[e].push(-1==i[e]?t:n[t][i[e]]);if(this.options.series[1]){let t=[],e=this.options.series[1].data,a=Array.isArray(this.data.value)?this.data.value:null===this.data.value?[]:[this.data.value];for(let i=0;i<a.length;i++)this.processCoord([a[i],e[a[i]]],t,!0);this.markPoint={symbol:"rect",symbolSize:10,animationDuration:300,silent:!0,label:{color:"#fff"},itemStyle:{color:"blue"},data:t},this.options.series[1].markPoint=this.markPoint}this.setOptions()}},async mounted(){await this.loadChartComponents(),this.calcSeries();let t=this;this.$refs.chart.chart.on("datazoom",(function(e){(e.start||e.end)&&(t.animation=e)}))}};var c=a(2807);const u=(0,c.A)(d,[["render",n]]),m=u}}]);
|
@@ -0,0 +1,3 @@
|
|
1
|
+
"use strict";(globalThis["webpackChunkuniqua"]=globalThis["webpackChunkuniqua"]||[]).push([[565],{3952:(e,t,a)=>{a.d(t,{DK:()=>E,FP:()=>p,JB:()=>f,Jk:()=>A,KG:()=>y,MP:()=>u,NP:()=>m,PP:()=>Q,Q$:()=>$,QJ:()=>S,RF:()=>q,RX:()=>v,Rl:()=>d,S4:()=>w,Yt:()=>g,Zp:()=>s,fn:()=>c,nc:()=>C,q1:()=>x,rn:()=>X,sn:()=>k,tN:()=>b});a(7781),a(6186),a(4718),a(65),a(8499);var l=a(1576),i=a(3436);let s=null,n={};var o;const r=!1;let d=r;const c=["graph","chart","block","text"],u=["tree","table","list","text","graph","chart"];const h=window.location.host,p=`${window.location.protocol}//${h}`;let m={},g={},f={};function y(e){let t=window.location.href,a=t.split("?"),l=2==a.length?a[1]:null;l&&(a=l.split("#"),2==a.length&&(l=a[0]));let i=r?"ws://localhost:8000/ws":`ws://${h}/ws`;l&&(i+="?"+l),o=new WebSocket(i),o.onopen=()=>e.statusConnect=!0,o.onmessage=t=>{d&&console.log("incoming message",t.data),s.designCycle=0;let a=JSON.parse(t.data);a?e.processMessage(a):e.closeProgress(a)},o.onerror=t=>e.error(t),o.onclose=t=>{t.wasClean?e.info("Connection was finished by the server."):e.error("Connection suddenly closed!"),e.statusConnect=!1,d&&console.info("close code : "+t.code+" reason: "+t.reason)},s=e}function b(e){let t={block:e[0],element:e[1],event:e[2],value:e[3]};d&&console.log("sended",t),o.send(JSON.stringify(t))}let k=!0;function v(e){k=e,e||(f={})}function w(e){if(k){let t=f[e.fullname];if(t)return t.styleSize;k=!1}return null}function A(e,t,a,l="complete"){let i=[e.pdata.name,e.data.name,l,t];b(i),n[i.toString()]=a}function C(e,t,a,l,i){let s=[e,t,i,a];b(s),n[s.toString()]=l}function x(){m={},f=g,k=!0,g={}}function _(e,t,a=null){let l=null;for(let i=0;i<e.length;i++)if(Array.isArray(e[i])){if(l=_(e[i],t,a),l)return l}else if(e[i].name==t)return a&&(e[i]=a),e[i];return null}function q(e){for(let t of e){let e=t.path,a=s.screen.blocks,l=null;e.length>1?(l=_(a,e[0],null),l&&(l=_(l.value,e[1],t.data))):l=_(a,e[0],t.data),l||s.error("Invalid path: "+name)}}function S(e){let t=`${e.element}@${e.block}`,a=g[t];a.update?a.update(e):console.error()}function X(e){let t=[e.message.block,e.message.element,e.type,e.message.value].toString();if("string"==typeof e.value)s.error(e.value);else if(n[t]){let a=n[t];delete n[t],a(e.value,e.message)}else s.error(t+" doesnt exist in queryMap!")}function W(e){let t=[];for(let a of e)a instanceof Array?t.push(a):t.push([a]);let a=t.shift();return t.reduce(((e,t)=>e.flatMap((e=>t.map((t=>e instanceof Array?[...e,t]:[e,t]))))),a)}function $(e=!1){requestAnimationFrame((()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{Q(document.documentElement.scrollWidth>window.innerWidth)}))}))}))}let E=(0,i.debounce)($,50);function Q(e){if(s.designCycle>=1)return;d&&console.log(`------------------recalc design ${s.designCycle}`),s.designCycle++;const t=F(e),a=D(e);for(let[e,l]of Object.entries(t)){let t=g[e],i=a[e];const[s,n]=i||[0,1];let o,r=t.geom(),d=r.el,c=t.pdata?t.pdata.name:t.name,u=m[c];for(let e of u.data.value.slice(1))if(Array.isArray(e)){if(e.find((e=>e.name==t.data.name))){let t=e[e.length-1],a=`${t.name}@${c}`;o=g[a];break}}else if(e.name==t.data.name){o=t;break}let h=s;h/=n;let p=t.only_fixed_elems?"":`width:${Math.ceil(d.clientWidth+h)}px`;"text"==t.type&&(l-=t.showname?50:6);let f=`height:${Math.floor(l+t.he)}px;${p}`;f!=t.styleSize&&(t.styleSize=f),t.has_recalc=!1}}function F(e){const t=s.screen.blocks;let a=window.innerHeight-60,i={},n=new Map,o=[];for(let e of t){const t=[];let s=e instanceof Array,r=s?W(e):[[e]],d={};for(let[e,t]of Object.entries(m)){let a=t.$el.getBoundingClientRect(),l=a.bottom;d[e]=l-a.top}for(let e of r){let t=0,a=!0;Array.isArray(e)||(e=[e]);for(let l of e)t+=d[l.name],m[l.name].only_fixed_elems||(a=!1);if(a){let t=m[e.slice(-1)[0].name];g[t.fullname]=t}o.push([t+8*e.length,e])}o.sort(((e,t)=>e[0]>t[0]?-1:e[0]==t[0]?0:1));for(let e of o){let a=e[1];(0,l.vA)(Array.isArray(a));const i=[];for(let[e,t]of Object.entries(g))if(t.expanding_height){let[l,s]=e.split("@");if(a.find((e=>e.name==s))){let e=!0;const a=t.geom();for(let[l,s]of i.entries()){let o=s.geom();e&&s!==t&&o.top==a.top&&(o.scrollHeight<a.scrollHeight&&(i[l]=t),e=!1,n.set(t.fullname,s.fullname))}e&&i.push(t)}}i.length&&t.push([e[0],i])}for(let[e,l]of t){let t=0,s=[];for(let a of l)if(a.fullname in i)e+=i[a.fullname];else{let l=a.geom(),i=l.bottom-l.top;i<100&&(e+=100-i,i=100),a.he=i,t+=a.he,s.push(a)}let n=(t+a-e)/s.length,o=0;for(let e of s){let t,a=n-e.he;if(1==s.length)t=a;else if(t=Math.floor(a),a-t){o+=a-t;let e=Math.round(o)-o;e<.001&&e>-.001&&(t+=Math.round(o),o=0)}i[e.fullname]=t}}}let r=Array.from(n.entries());r.sort(((e,t)=>e[0]in i||e[1]in i?-1:1));for(let[e,t]of r)t in i?(i[e]=i[t],g[e].he=g[t].he):(i[t]=i[e],g[t].he=g[e].he);return i}function D(e){let t=null;const a=t?[t]:s.screen.blocks;let l=window.innerWidth-20,i=[],n={};for(let e of a)if(0==i.length)if(Array.isArray(e))for(let t of e)i.push(Array.isArray(t)?t:[t]);else i=[[e]];else{let t=[];if(Array.isArray(e))for(let a of e)for(let e of i)t.push(Array.isArray(a)?e.concat(a):[...e,a]);else for(let a of i)t.push([...a,e]);i=t}const o=[];for(let e of i){let t=0;for(let a of e){let e=m[a.name].$el.getBoundingClientRect();t+=e.right-e.left+5}let a=l-t,i=[[]];for(let t of e){let e=[],a=m[t.name].hlevelements;if(a.length){for(let t of a)for(let a of i)e.push([...a,...t]);i=e}}for(let e of i)o.push([a,e])}o.sort(((e,t)=>t[1].length-e[1].length));for(let[t,a]of o){let l=new Map;for(let e=0;e<a.length;e++){let i=a[e],s=i.parent_name,o=s||i.name,r=i.geom(),d=(i.data.width?i.data.width:r.scrollWidth)-(r.right-r.left);if(d>1&&!c.includes(i.type)&&t>0&&!n[i.fullname]){let e=t>d?d:t;t-=e,n[i.fullname]=[e,1]}if(o=i.parent_name,o){let e=m[o],t=e.$el.getBoundingClientRect().right-6,a=e.free_right_delta4(i,r.right),s=t-a;a&&s>0&&(!l.has(o)||l.get(o)>s)&&l.set(o,s)}}for(let e of l.values())t+=e;let i=[];for(let l of a)if(l.expanding_width&&(e||c.includes(l.type)))if(n[l.fullname]){let[e,a]=n[l.fullname];t-=e/a}else i.push(l);let s=i.length;const o=t/s;for(let e of i)n[e.fullname]||(n[e.fullname]=[Math.floor(o),1]);for(let e of a)n[e.fullname]||(n[e.fullname]=[0,1])}return n}},2565:(e,t,a)=>{a.r(t),a.d(t,{default:()=>pt});var l=a(1758),i=a(8790);function s(e,t,a,s,n,o){const r=(0,l.g2)("q-item-label"),d=(0,l.g2)("element"),c=(0,l.g2)("q-tab"),u=(0,l.g2)("q-tabs"),h=(0,l.g2)("q-space"),p=(0,l.g2)("q-tooltip"),m=(0,l.g2)("q-btn"),g=(0,l.g2)("q-toolbar"),f=(0,l.g2)("q-header"),y=(0,l.g2)("zone"),b=(0,l.g2)("q-page"),k=(0,l.g2)("q-page-container"),v=(0,l.g2)("q-layout");return(0,l.uX)(),(0,l.Wv)(v,{view:"lHh Lpr lFf"},{default:(0,l.k6)((()=>[(0,l.bF)(f,{elevated:"",class:(0,i.C4)({"bg-deep-purple-9":e.Dark.isActive,"bg-blue-grey-9":!e.Dark.isActive})},{default:(0,l.k6)((()=>[(0,l.bF)(g,null,{default:(0,l.k6)((()=>[(0,l.bF)(r,{class:"text-h5"},{default:(0,l.k6)((()=>[(0,l.eW)((0,i.v_)(e.screen.header?e.screen.header:""),1)])),_:1}),t[2]||(t[2]=(0,l.Lk)("div",{class:"q-pa-md"},null,-1)),((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)(e.left_toolbar,(t=>((0,l.uX)(),(0,l.Wv)(d,{class:(0,i.C4)(["q-ma-xs",{"bg-blue-grey-9":e.Dark.isActive}]),data:t,pdata:e.tooldata},null,8,["class","data","pdata"])))),256)),t[3]||(t[3]=(0,l.Lk)("div",{class:"q-pa-md"},null,-1)),(0,l.bF)(u,{class:"bold-tabs",align:"center","inline-label":"",dense:"",modelValue:e.tab,"onUpdate:modelValue":t[0]||(t[0]=t=>e.tab=t),style:{float:"center"}},{default:(0,l.k6)((()=>[((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)(e.menu,(t=>((0,l.uX)(),(0,l.CE)("div",null,[t.icon?((0,l.uX)(),(0,l.Wv)(c,{key:0,class:"justify-center text-white shadow-2","no-caps":"",name:t.name,icon:t.icon,label:t.name,onClick:a=>e.tabclick(t.name)},null,8,["name","icon","label","onClick"])):(0,l.Q3)("",!0),t.icon?(0,l.Q3)("",!0):((0,l.uX)(),(0,l.Wv)(c,{key:1,class:"justify-center text-white shadow-2","no-caps":"",name:t.name,label:t.name,onClick:a=>e.tabclick(t.name)},null,8,["name","label","onClick"]))])))),256))])),_:1},8,["modelValue"]),(0,l.bF)(h),((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)(e.right_toolbar,(t=>((0,l.uX)(),(0,l.Wv)(d,{class:(0,i.C4)(["q-ma-xs",{"bg-blue-grey-9":e.Dark.isActive}]),data:t,pdata:e.tooldata},null,8,["class","data","pdata"])))),256)),e.voice_button?((0,l.uX)(),(0,l.Wv)(m,{key:0,class:(0,i.C4)(["q-ma-xs",{"bg-blue-grey-9":e.Dark.isActive}]),dense:"",round:"",icon:e.isListening?"record_voice_over":"voice_over_off",onClick:e.toggleListening},{default:(0,l.k6)((()=>[(0,l.bF)(p,{class:"text-body2"},{default:(0,l.k6)((()=>[(0,l.eW)((0,i.v_)(e.isListening?"Stop Voice Mate":"Start Voice Mate"),1)])),_:1})])),_:1},8,["class","icon","onClick"])):(0,l.Q3)("",!0),(0,l.bF)(m,{class:(0,i.C4)(["q-ma-xs",{"bg-blue-grey-9":e.Dark.isActive}]),dense:"",round:"",icon:e.Dark.isActive?"light_mode":"dark_mode",onClick:e.switchTheme},{default:(0,l.k6)((()=>[(0,l.bF)(p,{class:"text-body2"},{default:(0,l.k6)((()=>t[1]||(t[1]=[(0,l.eW)("Dark/Light mode")]))),_:1})])),_:1},8,["class","icon","onClick"])])),_:1})])),_:1},8,["class"]),(0,l.bF)(k,{class:"content"},{default:(0,l.k6)((()=>[(0,l.bF)(b,{class:"flex justify-center centers"},{default:(0,l.k6)((()=>[(0,l.bF)(y,{data:e.screen.blocks,ref:"page"},null,8,["data"])])),_:1})])),_:1})])),_:1})}a(7781),a(4739),a(8499);function n(e,t,a,s,n,o){const r=(0,l.g2)("q-icon"),d=(0,l.g2)("q-item-section"),c=(0,l.g2)("q-item-label"),u=(0,l.g2)("q-item");return(0,l.uX)(),(0,l.Wv)(u,{clickable:"",tag:"a",target:"_blank",onClick:e.send},{default:(0,l.k6)((()=>[(0,l.bF)(d,{avatar:""},{default:(0,l.k6)((()=>[(0,l.bF)(r,{name:e.icon},null,8,["name"])])),_:1}),(0,l.bF)(d,null,{default:(0,l.k6)((()=>[(0,l.bF)(c,null,{default:(0,l.k6)((()=>[(0,l.eW)((0,i.v_)(e.name),1)])),_:1})])),_:1})])),_:1},8,["onClick"])}var o=a(3952);const r=(0,l.pM)({name:"menubar",methods:{send(){(0,o.tN)(["root",null,"changed",this.name])}},props:{name:{type:String,required:!0},icon:{type:String,default:""}}});var d=a(2807),c=a(124),u=a(5173),h=a(492),p=a(3796),m=a(8582),g=a.n(m);const f=(0,d.A)(r,[["render",n]]),y=f;g()(r,"components",{QItem:c.A,QItemSection:u.A,QIcon:h.A,QItemLabel:p.A});const b={key:0,class:"row q-col-gutter-xs q-py-xs"},k={class:"q-col-gutter-xs"},v={key:0,class:"column q-col-gutter-xs"};function w(e,t,a,i,s,n){const o=(0,l.g2)("zone",!0),r=(0,l.g2)("block");return e.data instanceof Array?((0,l.uX)(),(0,l.CE)("div",b,[((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)(e.data,(e=>((0,l.uX)(),(0,l.CE)("div",k,[e instanceof Array?((0,l.uX)(),(0,l.CE)("div",v,[((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)(e,(e=>((0,l.uX)(),(0,l.Wv)(o,{class:"q-col-gutter-xs q-py-xs",data:e},null,8,["data"])))),256))])):((0,l.uX)(),(0,l.Wv)(r,{key:1,data:e},null,8,["data"]))])))),256))])):((0,l.uX)(),(0,l.Wv)(r,{key:1,data:e.data},null,8,["data"]))}const A={class:"row no-wrap"},C={key:0,class:"frame"},x=["data","pdata"],_={key:0,class:"row"},q=["data","pdata"],S={key:0,class:"row no-wrap"};function X(e,t,a,s,n,o){const r=(0,l.g2)("element"),d=(0,l.g2)("q-icon"),c=(0,l.g2)("q-space"),u=(0,l.g2)("q-tooltip"),h=(0,l.g2)("q-btn"),p=(0,l.g2)("q-scroll-area"),m=(0,l.g2)("q-card");return(0,l.uX)(),(0,l.Wv)(m,{class:"my-card q-ma-xs container",style:(0,i.Tr)(e.only_fixed_elems?e.styleSize:null),key:e.name},{default:(0,l.k6)((()=>[(0,l.Lk)("div",A,[e.data.active?((0,l.uX)(),(0,l.CE)("div",C)):(0,l.Q3)("",!0),e.data.logo?((0,l.uX)(),(0,l.Wv)(r,{key:1,class:"q-ma-sm",data:e.data.logo,pdata:e.data},null,8,["data","pdata"])):e.data.icon?((0,l.uX)(),(0,l.Wv)(d,{key:2,class:"q-mt-sm q-ml-sm",style:{"padding-top":"6px"},size:"sm",name:e.data.icon},null,8,["name"])):(0,l.Q3)("",!0),"_"!=e.name[0]?((0,l.uX)(),(0,l.CE)("p",{key:3,class:(0,i.C4)(["q-ma-sm",{"text-info":e.Dark.isActive,"text-cyan-10":!e.Dark.isActive}]),style:{"padding-top":"6px","font-size":"18px"}},(0,i.v_)(e.name),3)):(0,l.Q3)("",!0),((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)(e.tops,(t=>((0,l.uX)(),(0,l.Wv)(r,{class:"q-ma-sm",data:t,pdata:e.data},null,8,["data","pdata"])))),256)),(0,l.bF)(c),"close"in e.data?((0,l.uX)(),(0,l.Wv)(h,{key:4,class:(0,i.C4)(["q-ma-xs",{"bg-blue-grey-9":e.Dark.isActive}]),rounded:"",dense:"",flat:"",size:"14px",icon:"cancel",onClick:e.close},{default:(0,l.k6)((()=>[(0,l.bF)(u,{class:"text-body2"},{default:(0,l.k6)((()=>t[0]||(t[0]=[(0,l.eW)("Close")]))),_:1})])),_:1},8,["class","onClick"])):(0,l.Q3)("",!0)]),e.data.scroll?((0,l.uX)(),(0,l.Wv)(p,{key:0,style:(0,i.Tr)(e.styleSize),"thumb-style":e.thumbStyle,"bar-style":e.barStyle},{default:(0,l.k6)((()=>[((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)(e.data.value.slice(1),(t=>((0,l.uX)(),(0,l.CE)("div",{class:"column",data:t,pdata:e.data},[t instanceof Array?((0,l.uX)(),(0,l.CE)("div",_,[((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)(t,(t=>((0,l.uX)(),(0,l.Wv)(r,{class:"q-ma-xs",data:t,pdata:e.data},null,8,["data","pdata"])))),256))])):((0,l.uX)(),(0,l.Wv)(r,{key:1,class:"q-ma-xs",data:t,pdata:e.data},null,8,["data","pdata"]))],8,x)))),256))])),_:1},8,["style","thumb-style","bar-style"])):((0,l.uX)(!0),(0,l.CE)(l.FK,{key:1},(0,l.pI)(e.data.value.slice(1),(t=>((0,l.uX)(),(0,l.CE)("div",{class:"column",data:t,pdata:e.data},[t instanceof Array?((0,l.uX)(),(0,l.CE)("div",S,[t[0]&&t[0].space?((0,l.uX)(),(0,l.Wv)(c,{key:0})):(0,l.Q3)("",!0),((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)(t,(t=>((0,l.uX)(),(0,l.Wv)(r,{class:"q-ma-xs",data:t,pdata:e.data},null,8,["data","pdata"])))),256))])):((0,l.uX)(),(0,l.Wv)(r,{key:1,class:"q-ma-xs",data:t,pdata:e.data},null,8,["data","pdata"]))],8,q)))),256))])),_:1},8,["style"])}var W=a(9104);const $={class:"container"},E={key:5,class:"{'bg-blue-grey-9': Dark.isActive}"},Q=["width","height"],F=["src"],D={class:"camera-button"},R={key:0},L={key:1},M={class:"camera-loading"},K={ref:"camera",width:450,height:337.5,autoplay:""},V={id:"photoTaken",ref:"canvas",width:450,height:337.5},I={key:1,class:"camera-shoot"},T={key:2,class:"camera-download"},z={key:21},P={key:24,class:"frame"};function O(e,t,a,s,n,o){const r=(0,l.g2)("q-icon"),d=(0,l.g2)("q-img"),c=(0,l.g2)("q-select"),u=(0,l.g2)("q-checkbox"),h=(0,l.g2)("q-toggle"),p=(0,l.g2)("q-badge"),m=(0,l.g2)("q-slider"),g=(0,l.g2)("q-btn"),f=(0,l.g2)("q-btn-toggle"),y=(0,l.g2)("utable"),b=(0,l.g2)("asyncLinechart"),k=(0,l.g2)("q-input"),v=(0,l.g2)("q-tree"),w=(0,l.g2)("q-scroll-area"),A=(0,l.g2)("q-separator"),C=(0,l.g2)("q-uploader"),x=(0,l.g2)("asyncSgraph"),_=(0,l.g2)("htmlcomponent"),q=(0,l.g2)("q-tooltip"),S=(0,l.g2)("q-spinner-ios");return(0,l.uX)(),(0,l.CE)("div",$,["image"==e.type?((0,l.uX)(),(0,l.Wv)(d,{key:e.key,src:e.data.url,"spinner-color":"blue",onClick:(0,W.D$)(e.switchValue,["stop"]),fit:"cover",style:(0,i.Tr)(e.elemSize)},{default:(0,l.k6)((()=>[e.data.label?((0,l.uX)(),(0,l.CE)("div",{key:0,class:"absolute-bottom-right text-subtitle2 custom-caption",onClick:t[0]||(t[0]=(0,W.D$)(((...t)=>e.lens&&e.lens(...t)),["stop"]))},(0,i.v_)(e.data.label),1)):(0,l.Q3)("",!0),e.value?((0,l.uX)(),(0,l.Wv)(r,{key:1,class:"absolute all-pointer-events",size:"32px",name:"check_circle",color:"light-blue-2",style:{"font-size":"2em",top:"8px",left:"8px"}})):(0,l.Q3)("",!0)])),_:1},8,["src","onClick","style"])):"select"==e.type?((0,l.uX)(),(0,l.Wv)(c,{key:e.key,ref:"inputRef","transition-show":"flip-up",readonly:0==e.data.edit,"transition-hide":"flip-down",dense:"",modelValue:e.value,"onUpdate:modelValue":t[1]||(t[1]=t=>e.value=t),options:e.data.options},(0,l.eX)({_:2},[e.showname?{name:"prepend",fn:(0,l.k6)((()=>[(0,l.Lk)("p",{class:(0,i.C4)(["text-subtitle1 q-ma-sm",{white:e.Dark.isActive,black:!e.Dark.isActive}])},(0,i.v_)(e.name),3)])),key:"0"}:void 0]),1032,["readonly","modelValue","options"])):"check"==e.type?((0,l.uX)(),(0,l.Wv)(u,{key:e.key,ref:"inputRef","left-label":"",disable:0==e.data.edit,modelValue:e.value,"onUpdate:modelValue":t[2]||(t[2]=t=>e.value=t),label:e.nameLabel,"checked-icon":"task_alt","unchecked-icon":"highlight_off"},null,8,["disable","modelValue","label"])):"switch"==e.type?((0,l.uX)(),(0,l.Wv)(h,{key:e.key,ref:"inputRef",modelValue:e.value,"onUpdate:modelValue":t[3]||(t[3]=t=>e.value=t),disable:0==e.data.edit,color:"primary",label:e.nameLabel,"left-label":""},null,8,["modelValue","disable","label"])):"range"==e.type?((0,l.uX)(),(0,l.CE)("div",{key:e.key},[(0,l.bF)(p,{outline:"",dense:"",color:e.Dark.isActive?"blue-3":"blue-9"},{default:(0,l.k6)((()=>[(0,l.eW)((0,i.v_)(e.name)+": "+(0,i.v_)(e.value)+" ("+(0,i.v_)(e.data.options[0])+" to "+(0,i.v_)(e.data.options[1])+", Δ "+(0,i.v_)(e.data.options[2])+")",1)])),_:1},8,["color"]),(0,l.bF)(m,{class:"q-pl-sm",dense:"",modelValue:e.value,"onUpdate:modelValue":t[4]||(t[4]=t=>e.value=t),min:e.data.options[0],max:e.data.options[1],step:e.data.options[2],color:"primary"},null,8,["modelValue","min","max","step"])])):"radio"==e.type?((0,l.uX)(),(0,l.CE)("div",E,[e.showname?((0,l.uX)(),(0,l.Wv)(g,{key:0,ripple:!1,color:"indigo-10",disable:"",label:e.name,"no-caps":""},null,8,["label"])):(0,l.Q3)("",!0),(0,l.bF)(f,{ref:"inputRef",modelValue:e.value,"onUpdate:modelValue":t[5]||(t[5]=t=>e.value=t),readonly:0==e.data.edit,class:(0,i.C4)({"bg-blue-grey-9":e.Dark.isActive}),"no-caps":"",options:e.data.options.map((e=>({label:e,value:e})))},null,8,["modelValue","readonly","class","options"])])):"table"==e.type?((0,l.uX)(),(0,l.Wv)(y,{key:e.key,data:e.data,pdata:e.pdata,styleSize:e.styleSize},null,8,["data","pdata","styleSize"])):"chart"==e.type?((0,l.uX)(),(0,l.Wv)(b,{key:e.key,data:e.data,pdata:e.pdata,styleSize:e.styleSize},null,8,["data","pdata","styleSize"])):"string"==e.type&&e.data.hasOwnProperty("complete")?((0,l.uX)(),(0,l.Wv)(c,{key:e.key,ref:"inputRef",dense:"",readonly:0==e.data.edit,modelValue:e.value,"onUpdate:modelValue":t[6]||(t[6]=t=>e.value=t),"use-input":"","hide-selected":"",borderless:"",outlined:"","hide-bottom-space":"","fill-input":"","input-debounce":"0",options:e.options,onFilter:e.complete,label:e.name,onKeydown:(0,W.jR)(e.pressedEnter,["enter"])},null,8,["readonly","modelValue","options","onFilter","label","onKeydown"])):"string"==e.type&&0==e.data.edit?((0,l.uX)(),(0,l.CE)("div",{key:e.key},[(0,l.Lk)("p",{class:(0,i.C4)(["q-ma-sm",{white:e.Dark.isActive,black:!e.Dark.isActive}])},(0,i.v_)(e.value),3)])):"string"==e.type?((0,l.uX)(),(0,l.Wv)(k,{key:e.key,modelValue:e.value,"onUpdate:modelValue":t[7]||(t[7]=t=>e.value=t),label:e.name2show,ref:"inputRef",autogrow:e.data.autogrow,dense:"",onKeydown:(0,W.jR)(e.pressedEnter,["enter"]),readonly:0==e.data.edit},null,8,["modelValue","label","autogrow","onKeydown","readonly"])):"number"==e.type?((0,l.uX)(),(0,l.Wv)(k,{key:e.key,modelValue:e.value,"onUpdate:modelValue":t[8]||(t[8]=t=>e.value=t),modelModifiers:{number:!0},label:e.name2show,ref:"inputRef",dense:"",onKeydown:(0,W.jR)(e.pressedEnter,["enter"]),type:"number",readonly:0==e.data.edit},null,8,["modelValue","label","onKeydown","readonly"])):"tree"==e.type||"list"==e.type?((0,l.uX)(),(0,l.CE)("div",{key:e.key},[e.showname?((0,l.uX)(),(0,l.CE)("p",{key:0,class:(0,i.C4)(["text-subtitle1 q-ma-sm text-grey-7",{"text-white":e.Dark.isActive,"text-indigo-10":!e.Dark.isActive}])},(0,i.v_)(e.name),3)):(0,l.Q3)("",!0),(0,l.bF)(w,{style:(0,i.Tr)(e.styleSize),"thumb-style":e.thumbStyle,"bar-style":e.barStyle,ref:"scroller"},{default:(0,l.k6)((()=>[(0,l.bF)(v,{nodes:e.treeNodes,"selected-color":e.Dark.isActive?"blue-3":"blue-9",dense:e.data.dense,ref:"tree",selected:e.value,"onUpdate:selected":t[9]||(t[9]=t=>e.value=t),expanded:e.expandedKeys,"onUpdate:expanded":t[10]||(t[10]=t=>e.expandedKeys=t),"node-key":"label","default-expand-all":""},null,8,["nodes","selected-color","dense","selected","expanded"])])),_:1},8,["style","thumb-style","bar-style"])])):"text"==e.type?((0,l.uX)(),(0,l.CE)("div",{key:e.key},[e.showname?((0,l.uX)(),(0,l.CE)("p",{key:0,class:(0,i.C4)(["text-subtitle1 q-ma-sm",{"text-white":e.Dark.isActive,"text-indigo-10":!e.Dark.isActive}])},(0,i.v_)(e.name),3)):(0,l.Q3)("",!0),(0,l.bo)((0,l.Lk)("textarea",{class:(0,i.C4)(["textarea",{"bg-grey-10":e.Dark.isActive,"text-white":e.Dark.isActive}]),"onUpdate:modelValue":t[11]||(t[11]=t=>e.value=t),ref:"inputRef",filled:"",type:"textarea",style:(0,i.Tr)(e.elemSize),onKeydown:t[12]||(t[12]=(0,W.jR)(((...t)=>e.pressedEnter&&e.pressedEnter(...t)),["enter"]))},null,38),[[W.Jo,e.value]])])):"line"==e.type?((0,l.uX)(),(0,l.Wv)(A,{key:14,color:"green"})):"video"==e.type?((0,l.uX)(),(0,l.CE)("video",{key:e.key,controls:"",width:e.data.width,height:e.data.height},[(0,l.Lk)("source",{src:e.data.url,type:"video/mp4"},null,8,F)],8,Q)):"uploader"==e.type?((0,l.uX)(),(0,l.Wv)(C,{key:e.key,label:e.name,"auto-upload":"",thumbnails:"",url:e.host_path,onUploaded:e.updateDom,onAdded:e.onAdded,style:(0,i.Tr)(e.elemSize),ref:"uploaderRef",flat:"",class:(0,i.C4)({"bg-grey-10":e.Dark.isActive}),color:e.Dark.isActive?"purple-10":"blue"},null,8,["label","url","onUploaded","onAdded","style","class","color"])):"image_uploader"==e.type?((0,l.uX)(),(0,l.Wv)(C,{key:e.key,label:e.name,"auto-upload":"",thumbnails:"",url:e.host_path,onUploaded:e.updateDom,onAdded:e.onAdded,ref:"uploaderRef",flat:"",class:(0,i.C4)({"bg-grey-10":e.Dark.isActive}),color:e.Dark.isActive?"purple-10":"blue"},null,8,["label","url","onUploaded","onAdded","class","color"])):"graph"==e.type?((0,l.uX)(),(0,l.Wv)(x,{key:e.key,data:e.data,pdata:e.pdata,styleSize:e.elemSize},null,8,["data","pdata","styleSize"])):"camera"==e.type?((0,l.uX)(),(0,l.CE)("div",{class:"web-camera-container",key:e.key},[(0,l.Lk)("div",D,[(0,l.Lk)("button",{class:(0,i.C4)(["button is-rounded",{"is-primary":!e.isCameraOpen,"is-danger":e.isCameraOpen}]),type:"button",onClick:t[13]||(t[13]=(...t)=>e.toggleCamera&&e.toggleCamera(...t))},[e.isCameraOpen?((0,l.uX)(),(0,l.CE)("span",L,"Close Camera")):((0,l.uX)(),(0,l.CE)("span",R,"Open Camera"))],2)]),(0,l.bo)((0,l.Lk)("div",M,t[15]||(t[15]=[(0,l.Lk)("ul",{class:"loader-circle"},[(0,l.Lk)("li"),(0,l.Lk)("li"),(0,l.Lk)("li")],-1)]),512),[[W.aG,e.isCameraOpen&&e.isLoading]]),e.isCameraOpen?(0,l.bo)(((0,l.uX)(),(0,l.CE)("div",{key:0,class:(0,i.C4)(["camera-box",{flash:e.isShotPhoto}])},[(0,l.Lk)("div",{class:(0,i.C4)(["camera-shutter",{flash:e.isShotPhoto}])},null,2),(0,l.bo)((0,l.Lk)("video",K,null,512),[[W.aG,!e.isPhotoTaken]]),(0,l.bo)((0,l.Lk)("canvas",V,null,512),[[W.aG,e.isPhotoTaken]])],2)),[[W.aG,!e.isLoading]]):(0,l.Q3)("",!0),e.isCameraOpen&&!e.isLoading?((0,l.uX)(),(0,l.CE)("div",I,[(0,l.Lk)("button",{class:"button",type:"button",onClick:t[14]||(t[14]=(...t)=>e.takePhoto&&e.takePhoto(...t))},t[16]||(t[16]=[(0,l.Lk)("img",{src:"https://img.icons8.com/material-outlined/50/000000/camera--v2.png"},null,-1)]))])):(0,l.Q3)("",!0),e.isPhotoTaken&&e.isCameraOpen?((0,l.uX)(),(0,l.CE)("div",T,[(0,l.bF)(g,{onClick:e.downloadImage,label:"Send"},null,8,["onClick"])])):(0,l.Q3)("",!0)])):"html"==e.type?((0,l.uX)(),(0,l.Wv)(_,{key:e.key,data:e.data,pdata:e.pdata,style:(0,i.Tr)(e.elemSize)},null,8,["data","pdata","style"])):""!=e.showname?((0,l.uX)(),(0,l.CE)("div",z,[((0,l.uX)(),(0,l.Wv)(g,{key:e.key,ref:"inputRef","no-caps":"",disable:0==e.data.edit,class:(0,i.C4)({"bg-blue-grey-8":e.Dark.isActive}),style:(0,i.Tr)(e.button_style),color:e.data.color,label:e.name,icon:e.data.icon,onClick:e.sendValue},{default:(0,l.k6)((()=>[e.data.tooltip?((0,l.uX)(),(0,l.Wv)(q,{key:0,class:"text-body2"},{default:(0,l.k6)((()=>[(0,l.eW)((0,i.v_)(e.data.tooltip),1)])),_:1})):(0,l.Q3)("",!0)])),_:1},8,["disable","class","style","color","label","icon","onClick"]))])):e.data.spinner?((0,l.uX)(),(0,l.Wv)(g,{key:e.key,ref:"inputRef","no-caps":"",dense:"",disable:0==e.data.edit,round:"",class:(0,i.C4)({"bg-blue-grey-8":e.Dark.isActive}),color:e.data.color,onClick:e.sendValue},{default:(0,l.k6)((()=>[(0,l.bF)(S,{color:e.Dark.isActive?"white":"black"},null,8,["color"]),e.data.tooltip?((0,l.uX)(),(0,l.Wv)(q,{key:0,class:"text-body2"},{default:(0,l.k6)((()=>[(0,l.eW)((0,i.v_)(e.data.tooltip),1)])),_:1})):(0,l.Q3)("",!0)])),_:1},8,["disable","class","color","onClick"])):((0,l.uX)(),(0,l.Wv)(g,{key:e.key,ref:"inputRef","no-caps":"",disable:0==e.data.edit,dense:"",round:"",class:(0,i.C4)({"bg-blue-grey-8":e.Dark.isActive}),color:e.data.color,icon:e.data.icon,onClick:e.sendValue},{default:(0,l.k6)((()=>[e.data.tooltip?((0,l.uX)(),(0,l.Wv)(q,{key:0,class:"text-body2"},{default:(0,l.k6)((()=>[(0,l.eW)((0,i.v_)(e.data.tooltip),1)])),_:1})):(0,l.Q3)("",!0)])),_:1},8,["disable","class","color","icon","onClick"])),e.data.active?((0,l.uX)(),(0,l.CE)("div",P)):(0,l.Q3)("",!0)])}a(9526);var U=a(8734);const j={class:"text-h6"},B={key:0},H={class:"row"},N=["onClick"],Y=["onClick"];function J(e,t,a,s,n,o){const r=(0,l.g2)("q-tooltip"),d=(0,l.g2)("q-btn"),c=(0,l.g2)("q-icon"),u=(0,l.g2)("q-input"),h=(0,l.g2)("q-th"),p=(0,l.g2)("q-tr"),m=(0,l.g2)("q-checkbox"),g=(0,l.g2)("q-select"),f=(0,l.g2)("q-td"),y=(0,l.g2)("q-table");return(0,l.uX)(),(0,l.Wv)(y,{"virtual-scroll":"",dense:e.data.dense,style:(0,i.Tr)(e.styleSize?e.styleSize:e.currentStyle()),flat:"",filter:e.data.id?"":e.search,ref:"table",virtualScrollSliceSize:"100",pagination:e.pagination,"virtual-scroll-item-size":"100",onVirtualScroll:e.onScroll,"rows-per-page-options":[0],"virtual-scroll-sticky-size-start":100,"row-key":"iiid",title:e.name,rows:e.rows,columns:e.columns,selection:e.singleMode?"single":"multiple",selected:e.selected,"onUpdate:selected":t[2]||(t[2]=t=>e.selected=t)},{"top-left":(0,l.k6)((()=>["link"in e.data?((0,l.uX)(),(0,l.Wv)(d,{key:0,class:(0,i.C4)(["q-ml-xs",{"bg-blue-grey-8":e.Dark.isActive}]),dense:"",outline:"",color:"primary",icon:e.data.filter?"filter_alt":"filter_alt_off","no-caps":"",onClick:e.switchFilter},{default:(0,l.k6)((()=>[(0,l.bF)(r,{class:"text-body2"},{default:(0,l.k6)((()=>[(0,l.eW)((0,i.v_)(e.data.filter?"Turn off filter":"Turn on filter"),1)])),_:1})])),_:1},8,["class","icon","onClick"])):(0,l.Q3)("",!0),(0,l.Lk)("div",j,(0,i.v_)(e.name),1)])),"top-right":(0,l.k6)((()=>[!1!==e.data.tools?((0,l.uX)(),(0,l.CE)("div",B,[(0,l.Lk)("div",H,[(0,l.bF)(u,{modelValue:e.search,"onUpdate:modelValue":t[1]||(t[1]=t=>e.search=t),label:"Search",dense:"",ref:"searchField"},(0,l.eX)({append:(0,l.k6)((()=>[""!=e.search?((0,l.uX)(),(0,l.Wv)(c,{key:0,class:"cursor-pointer",name:"close",size:"xs",onClick:t[0]||(t[0]=t=>{e.search="",e.$refs.searchField.focus()})},{default:(0,l.k6)((()=>[(0,l.bF)(r,{class:"text-body2"},{default:(0,l.k6)((()=>t[3]||(t[3]=[(0,l.eW)("Reset search ")]))),_:1})])),_:1})):(0,l.Q3)("",!0)])),_:2},[""==e.search?{name:"prepend",fn:(0,l.k6)((()=>[(0,l.bF)(c,{name:"search",size:"xs"})])),key:"0"}:void 0]),1032,["modelValue"]),(0,l.Lk)("div",null,[(0,l.bF)(d,{class:(0,i.C4)(["q-ml-xs",{"bg-blue-grey-8":e.Dark.isActive}]),dense:"",rounded:"",icon:"select_all","no-caps":"",onClick:e.showSelected},{default:(0,l.k6)((()=>[(0,l.bF)(r,{class:"text-body2"},{default:(0,l.k6)((()=>t[4]||(t[4]=[(0,l.eW)("Show selected ")]))),_:1})])),_:1},8,["class","onClick"]),(0,l.bF)(d,{class:(0,i.C4)(["q-ml-xs",{"bg-blue-grey-8":e.Dark.isActive}]),dense:"",rounded:"",icon:"deselect","no-caps":"",onClick:e.deselectAll},{default:(0,l.k6)((()=>[(0,l.bF)(r,{class:"text-body2"},{default:(0,l.k6)((()=>t[5]||(t[5]=[(0,l.eW)("Deselect all")]))),_:1})])),_:1},8,["class","onClick"]),!1!==e.data.multimode?((0,l.uX)(),(0,l.Wv)(d,{key:0,class:(0,i.C4)(["q-ml-xs",{"bg-blue-grey-8":e.Dark.isActive}]),dense:"",rounded:"",icon:e.singleMode?"looks_one":"grain","no-caps":"",onClick:e.switchMode},{default:(0,l.k6)((()=>[(0,l.bF)(r,{class:"text-body2"},{default:(0,l.k6)((()=>t[6]||(t[6]=[(0,l.eW)("Multi-single select mode ")]))),_:1})])),_:1},8,["class","icon","onClick"])):(0,l.Q3)("",!0),e.editable?((0,l.uX)(),(0,l.Wv)(d,{key:1,class:(0,i.C4)(["q-ml-xs",{"bg-blue-grey-8":e.Dark.isActive}]),dense:"",rounded:"",icon:e.data.editing?"cancel":"edit","no-caps":"",onClick:e.switchEdit},{default:(0,l.k6)((()=>[(0,l.bF)(r,{class:"text-body2"},{default:(0,l.k6)((()=>t[7]||(t[7]=[(0,l.eW)("Edit mode")]))),_:1})])),_:1},8,["class","icon","onClick"])):(0,l.Q3)("",!0),e.editable&&"append"in e.data?((0,l.uX)(),(0,l.Wv)(d,{key:2,class:(0,i.C4)(["q-ml-xs",{"bg-blue-grey-8":e.Dark.isActive}]),dense:"",rounded:"",icon:"add","no-caps":"",onClick:e.append},{default:(0,l.k6)((()=>[(0,l.bF)(r,{class:"text-body2"},{default:(0,l.k6)((()=>[(0,l.eW)((0,i.v_)(e.data.filter?"Add a new entity+link":"Add a new row"),1)])),_:1})])),_:1},8,["class","onClick"])):(0,l.Q3)("",!0),"delete"in e.data?((0,l.uX)(),(0,l.Wv)(d,{key:3,class:(0,i.C4)(["q-ml-xs",{"bg-blue-grey-8":e.Dark.isActive}]),dense:"",rounded:"",icon:"delete_forever","no-caps":"",onClick:e.delSelected},{default:(0,l.k6)((()=>[(0,l.bF)(r,{class:"text-body2"},{default:(0,l.k6)((()=>t[8]||(t[8]=[(0,l.eW)("Delete selected ")]))),_:1})])),_:1},8,["class","onClick"])):(0,l.Q3)("",!0),"view"in e.data?((0,l.uX)(),(0,l.Wv)(d,{key:4,class:(0,i.C4)(["q-ml-xs",{"bg-blue-grey-8":e.Dark.isActive}]),dense:"",rounded:"",icon:"insights","no-caps":"",onClick:e.chart},{default:(0,l.k6)((()=>[(0,l.bF)(r,{class:"text-body2"},{default:(0,l.k6)((()=>t[9]||(t[9]=[(0,l.eW)("Draw the chart")]))),_:1})])),_:1},8,["class","onClick"])):(0,l.Q3)("",!0)])])])):(0,l.Q3)("",!0)])),header:(0,l.k6)((t=>[(0,l.bF)(p,{props:t},{default:(0,l.k6)((()=>[((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)(t.cols,(a=>((0,l.uX)(),(0,l.Wv)(h,{class:(0,i.C4)(["text-italic",{"text-grey-9":!e.Dark.isActive,"text-teal-3":e.Dark.isActive}]),key:a.name,props:t},{default:(0,l.k6)((()=>[(0,l.eW)((0,i.v_)(a.label),1)])),_:2},1032,["class","props"])))),128))])),_:2},1032,["props"])])),body:(0,l.k6)((t=>[(0,l.bF)(p,{props:t,onClick:e=>t.selected=!t.selected},{default:(0,l.k6)((()=>[((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)(e.columns,((a,s)=>((0,l.uX)(),(0,l.Wv)(f,{key:a.name,props:t},{default:(0,l.k6)((()=>["boolean"==typeof t.row[a.name]?((0,l.uX)(),(0,l.Wv)(m,{key:0,modelValue:t.row[a.name],"onUpdate:modelValue":[e=>t.row[a.name]=e,l=>e.change_switcher(t.row,a.name,s)],dense:"",disable:!e.data.editing},null,8,["modelValue","onUpdate:modelValue","disable"])):e.data.editing&&"complete"in e.data&&s==e.cedit&&e.redit==t.row.iiid?((0,l.uX)(),(0,l.Wv)(g,{key:1,dense:"","model-value":t.row[a.name],"use-input":"","hide-selected":"","fill-input":"",autofocus:"",outlined:"",borderless:"",onInputValue:e.change,"hide-dropdown-icon":"","input-debounce":"0",options:e.options,onKeydown:e.keyInput,onFilter:e.complete},null,8,["model-value","onInputValue","options","onKeydown","onFilter"])):e.data.editing&&s==e.cedit&&e.redit==t.row.iiid?((0,l.uX)(),(0,l.Wv)(u,{key:2,modelValue:t.row[a.name],"onUpdate:modelValue":[e=>t.row[a.name]=e,e.change],dense:"",onKeydown:e.keyInput,autofocus:""},null,8,["modelValue","onUpdate:modelValue","onKeydown"])):void 0==t.row[a.name]?((0,l.uX)(),(0,l.CE)("div",{key:3,onClick:a=>e.select(t.row,s)},"-- ",8,N)):((0,l.uX)(),(0,l.CE)("div",{key:4,onClick:a=>e.select(t.row,s)},(0,i.v_)(t.row[a.name]),9,Y))])),_:2},1032,["props"])))),128))])),_:2},1032,["props","onClick"])])),_:1},8,["dense","style","filter","pagination","onVirtualScroll","title","rows","columns","selection","selected"])}a(6186);var Z=a(411);function G(e,t){return e.length===t.length&&e.every(((e,a)=>t[a]&&e.iiid==t[a].iiid))}let ee="✘";function te(e,t){let a=[];const l=e.headers,i=l.length,s=t.length;for(var n=0;n<s;n++){const s={},r=t[n];for(var o=0;o<i;o++)null!=r[o]&&void 0!=r[o]&&(s[l[o]]=r[o]);let d=r.length;s.iiid=i<d||e.id?r[d-1]:n,a.push(s)}return a}function ae(e,t){let a=[],{limit:l,length:i,data:s}=t.rows;i&&a.splice(0,0,...te(t,s)),a.length=i,a=(0,U.Kh)(a);let n=[];function r(l,i){switch(l.update){case"update":a[l.index]=te(t,[l.data])[0];break;case"updates":if(l.data){let e=l.data.length;a.splice(l.index,e,...te(t,l.data))}if("length"in l&&(a.length=l.length),i){let a=n.indexOf(i.value);-1!=a&&n.splice(a,1),n.length&&(0,o.nc)(e,t.name,n[n.length-1],r,"get")}break;case"delete":this.length--,a.splice(l.index,1);break;case"add":a[this.length]=te(t,[l.data])[0],this.length++;break;case"adds":a.splice(l.index,0,...te(t,l.data)),this.length+=l.data.length}}function d(a){-1==n.indexOf(a)&&(n.length>5&&n.splice(0,1),n.push(a),1==n.length&&(0,o.nc)(e,t.name,a,r,"get"))}return t.update=r,a.add2quered=d,a}const le=(0,l.pM)({name:"utable",setup(e){const{data:t,pdata:a}=(0,U.QW)(e),i=(0,U.KR)(null);let s,n=t.value;s=n.id?(0,U.KR)(ae(a.value.name,n)):(0,U.KR)(te(n,n.rows));let r=()=>{let e=t.value,a=null===e.value||0==s.value.length?[]:Array.isArray(e.value)?s.value.filter((t=>e.value.includes(t.iiid))):s.value.filter((t=>e.value==t.iiid));return a},d=r(),c=(0,U.KR)(d),u=(0,U.KR)(d),h=(0,U.KR)(!Array.isArray(t.value.value)),p=(e,l)=>{(0,o.tN)([a.value.name,t.value.name,e,l])},m=(0,l.EW)((()=>t.value.value));return(0,l.wB)(s,((e,t)=>{u.value=r(),c.value=u.value})),(0,l.wB)(t,((e,l)=>{o.Rl&&console.log("data update",l.name),n.id?s.value=ae(a.value.name,e):s.value=te(e,e.rows),u.value=r(),c.value=u.value,h.value=!Array.isArray(t.value.value),i.value.scrollTo(0)})),{rows:s,selected:u,singleMode:h,sendMessage:p,datavalue:m,updated:c,table:i,onScroll(e){let t=n.rows.limit,a=(e.from/t|0)*t,l=(e.to/t|0)*t;for(let e=a;e<=l;e+=t)s.value[e]||s.value.add2quered(e)}}},data(){return{Dark:Z.A,search:"",options:[],prevSelectedId:void 0,cedit:null,pagination:{rowsPerPage:0}}},methods:{switchFilter(){let e=this.data;e.filter=!e.filter,this.sendMessage("filter",e.filter)},currentStyle(){let e=this.data.tablerect;if(e){let t=e.width,a=e.height;return`width: ${t}px; height: ${a}px`}return null},select(e,t){if(this.data.editing){let a=this.headers[t];"ID"!=a&&"ⓇID"!=a&&(this.cedit=t,o.Rl&&console.log("selected",e.iiid,this.cedit))}},change_switcher(e,t,a){if(this.data.editing){let a=this.data.headers.indexOf(t),l=this.rows.findIndex((t=>t?.iiid==e.iiid));this.sendMessage("modify",{value:e[t],id:e.iiid,delta:l,cell:a})}},change(e){let t=this.headers[this.cedit],a=this.data.headers.indexOf(t);if(o.Rl&&console.log("changed",t,e),this.data.editing&&this.selected.length){const l=this.selected[0];l[t]=e;this.rows;let i=this.rows.findIndex((e=>e?.iiid==l.iiid));if(-1==i)return void console.log("cannot find a row!");this.sendMessage("modify",{value:e,delta:i,id:l.iiid,cell:a})}},keyInput(e){if("Control"==e.key)return;let t=!1;switch(e.key){case"Enter":"update"in this.data&&this.sendMessage("update",[this.rows[this.redit][this.headers[this.cedit]],[this.redit,this.cedit]]),t=!0;case"ArrowRight":if(e.ctrlKey||t)for(let e=this.cedit+1;e<this.headers.length;){let t=this.headers[e],a=this.selected[0][t],l=typeof a;if("boolean"!=l&&"ⓇID"!=t&&"ID"!=t){this.cedit=e;break}}break;case"Escape":this.switchEdit();break;case"ArrowLeft":if(e.ctrlKey)for(let e=this.cedit-1;e>=0;e--){let t=this.headers[e],a=typeof this.selected[0][t];if("boolean"!=a&&"ⓇID"!=t&&"ID"!=t){this.cedit=e;break}}break;case"ArrowUp":if(e.ctrlKey&&this.redit>0){let e=this.redit-1,t=this.data,a=typeof t.rows[e][this.cedit];"string"!=a&&"number"!=a||(t.value=e),this.selected=[this.rows[e]]}break;case"ArrowDown":if(e.ctrlKey&&this.redit+1<this.rows.length){let e=this.redit+1,t=this.data,a=typeof t.rows[e][this.cedit];"string"!=a&&"number"!=a||(t.value=e),this.selected=[this.rows[e]]}break}},complete(e,t,a){(0,o.Jk)(this,[e,[this.redit,this.cedit]],(e=>t((()=>{this.options=e}))))},append(){let e=this.rows,t=e.length,a=this;"append"in this.data&&(0,o.Jk)(this,this.search,(function(l){if(!Array.isArray(l))return o.Zp.error(l);o.Rl&&console.log("added row",l),a.search="",l=te(a.data,[l])[0],l.iiid=Math.random(),e.push(l),setTimeout((()=>{let e=a.rows;a.selected=[e[t]],a.showSelected(),a.data.editing||a.switchEdit(),a.select(e[t],0)}),100)}),"append")},showSelected(){if(this.selected.length){let e=this.$refs.table,t=this.rows,a=this.selected[0];if(void 0!=this.prevSelectedId){let e=this.selected.findIndex((e=>e?.iiid==this.prevSelectedId));-1!=e&&(++e>=this.selected.length&&(e=0),a=this.selected[e])}let i=a.iiid;this.prevSelectedId=i;let s=t.findIndex((e=>e?.iiid==i));e.scrollTo(s),(0,l.dY)((()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{e.scrollTo(s)}))}))}))}))}))}))}))}},deselectAll(){this.selected=[],this.sendMessage("changed",this.value)},chart(){let e=this.data;e.type="chart",e.tablerect=this.$refs.table.$el.getBoundingClientRect(),o.Yt[this.fullname].styleSize=this.currentStyle()},switchMode(){this.singleMode=!this.singleMode,this.singleMode&&this.selected.length>1&&this.selected.splice(1)},switchEdit(){let e=this.data;e.editing=!e.editing,this.sendMessage("editing",this.data.editing)},delSelected(){if(this.selected.length){if(this.sendMessage("delete",this.value),this.singleMode)this.rows.splice(this.value,1);else{let e=this.value;e.sort((function(e,t){return t-e}));for(let t of e)this.rows.splice(t,1)}this.selected=[]}else o.Zp.error("Rows are not selected!")}},watch:{selected(e){const t=this.data;G(this.updated,this.selected)||(this.sendMessage("changed",this.value),this.updated=this.selected),t.show&&(this.showSelected(),t.show=!1)},search(e){this.data.id&&this.sendMessage("search",e)}},computed:{fullname(){return`${this.data.name}@${this.pdata.name}`},redit(){return this.data.editing&&this.selected.length?this.selected[0].iiid:null},editable(){return 0!=this.data["edit"]},value(){let e=this.selected.map((e=>this.rows.findIndex((t=>t?.iiid===e.iiid))));return-1!=e.indexOf(-1)&&console.error("selected row in a table did not found!"),this.singleMode?1==e.length?e[0]:null:e},name(){return"_"==this.data.name?"":this.data.name},headers(){let e=this.data;return e.headers.filter((e=>!e.startsWith(ee)))},columns(){let e=!this.data.id;return this.headers.map((t=>({name:t,label:t,align:"left",sortable:e,field:t})))}},props:{data:Object,pdata:Object,styleSize:String}});var ie=a(8098),se=a(6384),ne=a(7410),oe=a(9270),re=a(4488),de=a(7722),ce=a(5262),ue=a(460),he=a(9183);const pe=(0,d.A)(le,[["render",J]]),me=pe;g()(le,"components",{QTable:ie.A,QBtn:se.A,QTooltip:ne.A,QInput:oe.A,QIcon:h.A,QTr:re.A,QTh:de.A,QTd:ce.A,QCheckbox:ue.A,QSelect:he.A});const ge=["innerHTML"];function fe(e,t,a,s,n,o){return(0,l.uX)(),(0,l.CE)("div",{ref:"htmlContainer",innerHTML:a.data.value,onClick:t[0]||(t[0]=(...e)=>s.handleClick&&s.handleClick(...e)),style:(0,i.Tr)(s.styleObject)},null,12,ge)}const ye={props:{pdata:{type:Object,required:!0},data:{type:Object,required:!0},style:{type:[String,Object,Array],default:""}},setup(e){const t=(0,U.KR)(null),a=t=>{if(e.data.changed){const a=t.target,l={tagName:a.tagName,id:a.id,classList:[...a.classList],attributes:{},value:a.value||null};Array.from(a.attributes).forEach((e=>{l.attributes[e.name]=e.value})),(0,o.tN)([e.pdata["name"],e.data["name"],"changed",{type:t.type,target:l}])}},i=["click","mouseover","mouseout","change","focus","blur","submit","input","keydown","keyup"],s=()=>{t.value&&i.forEach((e=>{t.value.addEventListener(e,a)}))},n=()=>{t.value&&i.forEach((e=>{t.value.removeEventListener(e,a)}))};(0,l.sV)((()=>{s()})),(0,l.xo)((()=>{n()}));const r=(0,l.EW)((()=>e.style));return{htmlContainer:t,handleClick:a,styleObject:r}}},be=(0,d.A)(ye,[["render",fe]]),ke=be,ve=(0,l.$V)((()=>a.e(72).then(a.bind(a,72)))),we=(0,l.$V)((()=>Promise.all([a.e(121),a.e(260)]).then(a.bind(a,4260))));let Ae={right:"4px",borderRadius:"7px",backgroundColor:"#027be3",width:"4px",opacity:.75},Ce={right:"2px",borderRadius:"9px",backgroundColor:"#027be3",width:"8px",opacity:.2},xe=0;function _e(e){let t=new FormData;t.append("image",e);let a=new XMLHttpRequest;a.open("POST",o.FP,!0),a.onload=function(){200===this.status?console.log(this.response):console.error(a)},a.send(t)}const qe=(0,l.pM)({name:"element",components:{utable:me,asyncSgraph:ve,asyncLinechart:we,htmlcomponent:ke},setup(){const e=(0,U.KR)(xe);xe++;const t=()=>{e.value=xe,xe++};return{forceUpdate:t,key:e}},methods:{log(e){console.log(e)},showSelected(){if("tree"==this.type||"list"==this.type){let e=this.value;e&&requestAnimationFrame((()=>{requestAnimationFrame((()=>{if(this.$refs.tree){let t=this.$refs.tree.$el,a=this.$refs.scroller.$el;for(let l of t.getElementsByTagName("div"))if(l.innerHTML==e){const{bottom:e,height:t,top:i}=l.getBoundingClientRect();if(i){const l=a.getBoundingClientRect();(i<=l.top?l.top-i<=t:e-l.bottom<=t)||this.$refs.scroller.setScrollPosition("vertical",i-l.top);break}}}}))}))}},onAdded(e){0!==e.length&&(0!==this.fileArr.length?(this.$refs.uploaderRef.removeFile(this.fileArr[0]),this.fileArr.splice(0,1,e[0])):this.fileArr.push(e[0]))},sendMessage(e,t){(0,o.tN)([this.pdata["name"],this.data["name"],e,t])},pressedEnter(){"update"in this.data&&this.sendMessage("update",this.value)},updateDom(e){let t=e.files.length;t&&this.sendMessage("changed",e.xhr.responseText)},sendValue(){
|
2
|
+
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! add emit close
|
3
|
+
this.sendMessage("changed",this.value)},switchValue(){this.value=!this.value},setValue(e){this.value=e},focus_position(){if(this.data.focus&&this.$refs.inputRef){let e=this.$refs.inputRef;try{e.focus()}catch(e){}"text"!=this.data.type&&(e=e.$el.querySelector("input")),"x"in this.data&&-1!=this.data.x&&e.querySelector&&"number"!=this.data.type&&e.setSelectionRange(this.data.x,this.data.x)}},complete(e,t,a){(0,o.Jk)(this,e,(e=>t((()=>{this.options=e}))))},lens(){o.Zp.lens(this.data)},toggleCamera(){this.isCameraOpen?(this.isCameraOpen=!1,this.isPhotoTaken=!1,this.isShotPhoto=!1,this.stopCameraStream()):(this.isCameraOpen=!0,this.createCameraElement())},createCameraElement(){this.isLoading=!0;const e=window.constraints={audio:!1,video:!0};navigator.mediaDevices.getUserMedia(e).then((e=>{this.isLoading=!1,this.$refs.camera.srcObject=e})).catch((e=>{this.isLoading=!1,alert("May the browser didn't support or there are some errors.")}))},stopCameraStream(){let e=this.$refs.camera.srcObject.getTracks();e.forEach((e=>{e.stop()}))},takePhoto(){if(!this.isPhotoTaken){this.isShotPhoto=!0;const e=50;setTimeout((()=>{this.isShotPhoto=!1}),e)}this.isPhotoTaken=!this.isPhotoTaken;const e=this.$refs.canvas.getContext("2d");e.drawImage(this.$refs.camera,0,0,450,337.5)},downloadImage(){document.getElementById("downloadPhoto"),document.getElementById("photoTaken").toBlob(_e,"image/jpeg")},rect(){let e="clientHeight"in this.$el?this.$el:this.$el.nextElementSibling;return e.getBoundingClientRect()},geom(){let e=this.type,t=this.$el;t="tree"==e||"list"==e?t.querySelector(".scroll"):"clientHeight"in t?t:t.nextElementSibling,t||(t=this.$el.previousElementSibling,t="clientHeight"in t?t:t.nextElementSibling);const a="text"==e||"graph"==e||"chart"==e?t:t.querySelector("table"==e?".scroll":".q-tree"),l=t.getBoundingClientRect();return{el:t,inner:a,left:l.left,right:l.right,top:l.top,bottom:l.bottom,scrollHeight:a.scrollHeight,scrollWidth:a.scrollWidth}}},updated(){o.Yt[this.fullname]=this,this.showSelected(),this.focus_position(),o.Rl&&console.log("updated",this.fullname)},mounted(){let e=this.data;o.Yt[this.fullname]=this,e.id&&"table"==e.type&&!e.filter&&(this.update=e.update),this.focus_position(),this.showSelected(),o.Rl&&console.log("mounted",this.fullname)},data(){return{Dark:Z.A,value:this.data.value,styleSize:o.sn?(0,o.S4)(this):null,has_recalc:!0,host_path:o.FP,options:[],expandedKeys:[],thumbStyle:Ae,barStyle:Ce,updated:"#027be3sds",isCameraOpen:!1,isPhotoTaken:!1,isShotPhoto:!1,isLoading:!1,link:"#",fileArr:[]}},computed:{button_style(){return this.data.width?`width:${this.data.width}px`:""},elemSize(){let e="";return this.data.width&&(e=`width:${this.data.width}px`),this.data.height&&(""!=e&&(e+="; "),e+=`height:${this.data.height}px`),""==e?this.styleSize:e},parent_name(){return this.pdata?this.pdata.name:null},name(){return this.data.name},fullname(){return`${this.data.name}@${this.pdata.name}`},showname(){let e=this.data.name;return e&&"_"!=e[0]},name2show(){let e=this.data.name;return e&&"_"!=e[0]?e:""},nameLabel(){return this.data.label?this.data.label:"_"!=this.data.name[0]?this.data.name:""},text(){return this.data.text},expanding(){return o.MP.includes(this.type)},expanding_width(){return!this.data.width&&(this.expanding&&"list"!=this.type)},expanding_height(){return!this.data.height&&this.expanding},selection(){return this.data.selection},icon(){return this.data.icon},type(){return this.data.type},treeNodes(){var e=[];if("list"==this.type)return this.data.options.map((e=>({label:e,children:[]})));var t={};for(const[i,s]of Object.entries(this.data.options)){var a=t[i];if(a||(a={label:i,children:[]},t[i]=a),s){var l=t[s];l||(l={label:s,children:[]},t[s]=l),l.children.push(a)}else e.push(a)}return e}},props:{data:{type:Object,required:!0},pdata:{type:Object,required:!0}},watch:{value(e,t){"tree"!=this.type&&"list"!=this.type||(this.data.options[e]==t&&this.expandedKeys.indexOf(t)<0&&this.expandedKeys.push(t),this.showSelected()),e!==this.updated&&(o.Rl&&console.log("value changed",e,t),this.sendValue(),this.updated=e)},selection(e){o.Rl&&console.log("selection changed",e,this.$refs.inputRef),Array.isArray(e)||(e=[0,0]);let t=this.$refs.inputRef.$el;t.focus_position();let a=t.getElementsByTagName("textarea");0==a.length&&(a=t.getElementsByTagName("input")),a[0].setSelectionRange(e[0],e[1])},data(e,t){o.Rl&&console.log("data update",this.fullname,t.name),this.styleSize||(this.styleSize=null),o.Zp.screen.reload&&"tree"==this.type&&this.$refs.tree&&this.$refs.tree.expandAll();let a=this.data;this.value=a.value,this.updated=this.value,o.Yt[this.fullname]=this}}});var Se=a(2665),Xe=a(6908),We=a(3954),$e=a(1444),Ee=a(6939),Qe=a(8958),Fe=a(7567),De=a(386),Re=a(1298),Le=a(2157);const Me=(0,d.A)(qe,[["render",O],["__scopeId","data-v-6398f67f"]]),Ke=Me;g()(qe,"components",{QImg:Se.A,QIcon:h.A,QSelect:he.A,QCheckbox:ue.A,QToggle:Xe.A,QBadge:We.A,QSlider:$e.A,QBtn:se.A,QBtnToggle:Ee.A,QInput:oe.A,QScrollArea:Qe.A,QTree:Fe.A,QSeparator:De.A,QUploader:Re.A,QTooltip:ne.A,QSpinnerIos:Le.A});const Ve=(0,l.pM)({name:"block",components:{element:Ke},data(){return{Dark:Z.A,styleSize:null,thumbStyle:{right:"4px",borderRadius:"7px",backgroundColor:"#027be3",width:"4px",opacity:.75},barStyle:{right:"2px",borderRadius:"9px",backgroundColor:"#027be3",width:"8px",opacity:.2}}},methods:{log(){console.log(Object.keys(o.NP).length,this.name,this.$el.getBoundingClientRect())},close(){(0,o.tN)([this.data.name,null,"close",!0])},geom(){let e="clientHeight"in this.$el?this.$el:this.$el.nextElementSibling,t=e.querySelector(".q-scrollarea");t||(t=e);const a=t.getBoundingClientRect();return{el:e,inner:t,left:a.left,right:a.right,top:a.top,bottom:a.bottom,scrollHeight:window.innerHeight,scrollWidth:window.innerWidth}},free_right_delta4(e,t){for(let a of this.data.value)if(Array.isArray(a)){for(let l of a)if(l==e.data){let l=a[a.length-1];return l==e.data?t:o.fn.includes(l.type)?0:o.Yt[`${l.name}@${this.name}`].$el.getBoundingClientRect().right}}else if(a===e)return t;return 0}},mounted(){o.NP[this.data.name]=this,(this.expanding||this.data.width)&&(o.Yt[this.fullname]=this)},computed:{name(){return this.data.name},fullname(){return`${this.data.scroll?"_scroll":"_space"}@${this.name}`},icon(){return this.data.icon},type(){return this.data.type},expanding(){return this.data.scroll},expanding_width(){return this.expanding&&!this.data.width},name_elements(){if(this.expanding)return[this.fullname];let e=[];for(let t of this.data.value)if(Array.isArray(t))for(let a of t)e.push(`${a.name}@${this.name}`);else e.push(`${t.name}@${this.name}`);return e},hlevelements(){if(this.expanding)return[[o.Yt[this.fullname]]];let e=[];for(let t of this.data.value)if(Array.isArray(t)){let a=t.map((e=>o.Yt[`${e.name}@${this.name}`])).filter((e=>e.expanding));a.length&&e.push(a)}else{let a=o.Yt[`${t.name}@${this.name}`];a.expanding&&e.push([a])}return e},only_fixed_elems(){if(this.expanding)return!1;for(let e of this.data.value)if(Array.isArray(e)){for(let t of e)if(o.MP.includes(t.type))return!1}else if(o.MP.includes(e.type))return!1;return!0},expanding_height(){return!this.data.height&&(this.expanding||this.only_fixed_elems)},tops(){let e=this.data.value;return e.length?Array.isArray(e[0])?e[0]:[e[0]]:[]}},props:{data:{type:Object,required:!0}},watch:{data(e){o.Rl&&console.log("data update",this.name),o.NP[this.name]=this,this.expanding&&(o.Yt[this.fullname]=this)}}});var Ie=a(3316),Te=a(3676);const ze=(0,d.A)(Ve,[["render",X]]),Pe=ze;function Oe(){let e=o.sn&&o.Yt.size==o.JB.size;if(e)for(let[t,a]of Object.entries(o.Yt))if(!o.JB[t]){e=!1;break}e||((0,o.PP)(document.documentElement.scrollWidth>window.innerWidth),(0,l.dY)((()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{o.Zp.visible(!0)}))}))})))}g()(Ve,"components",{QCard:Ie.A,QIcon:h.A,QSpace:Te.A,QBtn:se.A,QTooltip:ne.A,QScrollArea:Qe.A});const Ue=(0,l.pM)({name:"zone",components:{block:Pe},props:{data:Object},updated(e){(0,l.dY)((()=>{requestAnimationFrame((()=>{requestAnimationFrame(Oe)}))}))}}),je=(0,d.A)(Ue,[["render",w]]),Be=je;function He(e,t,a,s,n,o){const r=(0,l.g2)("block"),d=(0,l.g2)("q-card"),c=(0,l.g2)("q-dialog");return(0,l.uX)(),(0,l.Wv)(c,{ref:"dialog",onHide:o.onDialogHide,onKeyup:(0,W.jR)(o.pressedEnter,["enter"])},{default:(0,l.k6)((()=>[(0,l.bF)(d,{class:"q-dialog-plugin q-pa-md items-start q-gutter-md",bordered:"",style:(0,i.Tr)(a.data.internal?"width: 800px; max-width: 80vw;":"")},{default:(0,l.k6)((()=>[a.data?((0,l.uX)(),(0,l.Wv)(r,{key:0,data:a.data},null,8,["data"])):(0,l.Q3)("",!0)])),_:1},8,["style"])])),_:1},8,["onHide","onKeyup"])}const Ne={props:{data:Object,commands:Array},components:{block:Pe},emits:["ok","hide"],data(){return{closed:!1}},methods:{show(){this.$refs.dialog.show(),o.Zp.dialog=this},message4(e){return[this.data["name"],null,"changed",e]},sendMessage(e){this.data.internal||(0,o.tN)(this.message4(e)),this.closed=!0,this.hide()},hide(){this.$refs.dialog.hide(),o.Zp.dialog=null},onDialogHide(){this.$emit("hide"),this.closed||this.data.internal||(0,o.tN)(this.message4(null))},pressedEnter(){this.sendMessage(this.commands[0])},onOKClick(){this.$emit("ok"),this.hide()},onCancelClick(){this.hide()}}};var Ye=a(558);const Je=(0,d.A)(Ne,[["render",He]]),Ze=Je;g()(Ne,"components",{QDialog:Ye.A,QCard:Ie.A,QItemLabel:p.A,QSpace:Te.A,QBtn:se.A});var Ge=a(8993);let et="theme";try{Z.A.set(Ge.A.getItem(et))}catch(e){}let tt=null,at=["complete","append","get"],lt=null;const it=(0,l.pM)({name:"MainLayout",data(){return{leftDrawerOpen:!1,Dark:Z.A,menu:[],tab:"",tooldata:{name:"toolbar"},localServer:!0,statusConnect:!1,screen:{blocks:[],toolbar:[]},visibility:!0,designCycle:0,shiftKey:!1,isListening:!1,voice_button:!0,voice_str_length:0,dialog:null}},components:{menubar:y,zone:Be,element:Ke},created(){(0,o.KG)(this)},unmounted(){window.removeEventListener("resize",this.onResize),lt&<.stop()},computed:{left_toolbar(){return this.screen.toolbar.filter((e=>!e.right))},right_toolbar(){return this.screen.toolbar.filter((e=>e.right))}},methods:{toggleListening(){if(this.isListening=!this.isListening,this.isListening){if(!lt){const e=window.webkitSpeechRecognition;e?(lt=new e,lt.lang=this.screen.lang||"en-US",lt.continuous=!0,lt.interimResults=!0,lt.onresult=e=>{let t="";for(const a of e.results)a.isFinal&&(t+=a[0].transcript);let a=t.substring(this.voice_str_length).trim();this.voice_str_length=t.length,a&&(0,o.tN)(["voice",null,"changed",a])},lt.onerror=e=>{this.voice_str_length=0},lt.onend=()=>{this.isListening&<.start()}):(this.error("Speech Recognition not supported by this browser."),this.voice_button=!1)}lt.start()}else lt.stop();(0,o.tN)(["voice",null,"listen",this.isListening])},switchTheme(){Z.A.set(!Z.A.isActive),Ge.A.set(et,Z.A.isActive)},toggleLeftDrawer(){this.leftDrawerOpen=!this.leftDrawerOpen},tabclick(e){(0,o.tN)(["root",null,"changed",e])},visible(e){this.visibility!=e&&(this.$refs.page.$el.style.visibility=e?"":"hidden",this.visibility=e)},handleKeyDown(e){"Shift"==e.key&&(this.shiftKey=!0)},handleKeyUp(e){"Shift"==e.key&&(this.shiftKey=!1)},onResize(e){o.Rl&&console.log(`window has been resized w = ${window.innerWidth}, h=${window.innerHeight}`),this.designCycle=0,(0,o.DK)()},lens(e){let t={title:"Photo lens",message:e.text,cancel:!0,persistent:!0,component:Ze},{height:a,...l}=e;l.width=750;let i={name:`Picture lens of ${e.name}`,value:[[],l],internal:!0};t.componentProps={data:i,commands:["Close"]},this.dialog=this.$q.dialog(t)},notify(e,t){let a=t,l={message:e,type:t,position:"top",icon:a};"progress"==t?null==tt?(l={group:!1,timeout:0,spinner:!0,type:"info",message:e||"Progress..",position:"top",color:"secondary"},tt=this.$q.notify(l)):null==e?(tt(),tt=null):(l={caption:e},tt(l)):("error"==t&&l.type,this.$q.notify(l))},error(e){this.notify(e,"error")},info(e){this.notify(e,"info")},processMessage(e){if("screen"==e.type){if(this.screen.name!=e.name)(0,o.RX)(!1),(0,o.q1)(),o.Rl||this.visible(!1);else if(e.reload){this.designCycle=0,this.visible(!1);for(let e of Object.values(o.Yt))e.has_recalc=!0,e.styleSize=null;(0,o.Q$)()}this.screen=e,this.menu=e.menu.map((e=>({name:e[0],icon:e[1],order:e[2]}))),this.tab=this.screen.name}else if("dialog"==e.type){let t={title:e.name,message:e.text,cancel:!0,persistent:!0};t.component=Ze,t.componentProps={data:e,commands:e.commands},this.dialog=this.$q.dialog(t)}else if(at.includes(e.type))(0,o.rn)(e);else{if("action"==e.type)return this.dialog&&"close"==e.value?(this.dialog.data.internal=!0,this.dialog.hide(),void(this.dialog=null)):void(0,o.QJ)(e);let t=e.updates&&e.updates.length;t&&(0,o.RF)(e.updates);let a=!1;["error","progress","warning","info"].includes(e.type)&&(this.notify(e.value,e.type),a=!0),a||t||(this.error("Invalid data came from the server! Look the console."),console.log(`Invalid data came from the server! ${e}`))}this.closeProgress(e)},closeProgress(e){!tt||e&&"progress"==e.type||this.notify(null,"progress")}},mounted(){window.addEventListener("resize",this.onResize);const e=new ResizeObserver((e=>{let t=document.documentElement.scrollWidth>window.innerWidth||document.documentElement.scrollHeight>window.innerHeight;t&&(0,o.Q$)(!1)}));let t=this.$refs.page.$el;e.observe(t),window.addEventListener("keydown",this.handleKeyDown),window.addEventListener("keyup",this.handleKeyUp)},beforeUnmount(){window.removeEventListener("keydown",this.handleKeyDown),window.removeEventListener("keyup",this.handleKeyUp)}});var st=a(2008),nt=a(8416),ot=a(6914),rt=a(2980),dt=a(327),ct=a(5205),ut=a(7716);const ht=(0,d.A)(it,[["render",s]]),pt=ht;g()(it,"components",{QLayout:st.A,QHeader:nt.A,QToolbar:ot.A,QBtn:se.A,QItemLabel:p.A,QTabs:rt.A,QTab:dt.A,QSpace:Te.A,QTooltip:ne.A,QPageContainer:ct.A,QPage:ut.A})}}]);
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(globalThis["webpackChunkuniqua"]=globalThis["webpackChunkuniqua"]||[]).push([[609],{1609:(e,t,n)=>{n.r(t),n.d(t,{default:()=>b});var l=n(1758);const o={class:"fullscreen bg-blue text-white text-center q-pa-md flex flex-center"};function s(e,t,n,s,c,a){const r=(0,l.g2)("q-btn");return(0,l.uX)(),(0,l.CE)("div",o,[(0,l.Lk)("div",null,[t[0]||(t[0]=(0,l.Lk)("div",{style:{"font-size":"30vh"}}," 404 ",-1)),t[1]||(t[1]=(0,l.Lk)("div",{class:"text-h2",style:{opacity:".4"}}," Oops. Nothing here... ",-1)),(0,l.bF)(r,{class:"q-mt-xl",color:"white","text-color":"blue",unelevated:"",to:"/",label:"Go Home","no-caps":""})])])}const c=(0,l.pM)({name:"Error404"});var a=n(2807),r=n(6384),u=n(8582),i=n.n(u);const h=(0,a.A)(c,[["render",s]]),b=h;i()(c,"components",{QBtn:r.A})}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(globalThis["webpackChunkuniqua"]=globalThis["webpackChunkuniqua"]||[]).push([[72],{72:(e,t,s)=>{s.r(t),s.d(t,{default:()=>f});var d=s(1758),l=s(8790);const o={key:0,id:"header"};function i(e,t,s,i,r,a){return(0,d.uX)(),(0,d.CE)("div",{ref:"graph",style:(0,l.Tr)(s.styleSize),id:"graph"},[(0,d.Lk)("div",null,["_"!=s.data.name[0]?((0,d.uX)(),(0,d.CE)("div",o,(0,l.v_)(s.data.name),1)):(0,d.Q3)("",!0)])],4)}s(7225),s(8743),s(2858),s(2071),s(5520),s(2775),s(6203),s(7781),s(4739),s(8499);var r=s(3952),a=s(411);let n="#091159",g={enableEdgeEvents:!0,hideEdgesOnMove:!1,hideLabelsOnMove:!1,renderLabels:!0,renderEdgeLabels:!0,enableEdgeClickEvents:!0,enableEdgeWheelEvents:!1,enableEdgeHoverEvents:!0,enableEdgeHovering:!0,allowInvalidContainer:!0,enableEdgeClickEvents:!0,enableEdgeHoverEvents:!0,defaultNodeColor:"#FCA072",defaultNodeType:"circle",defaultEdgeColor:"#888",defaultEdgeType:"arrow",labelFont:"Arial",labelSize:14,labelWeight:"normal",labelColor:{color:"#00838F",attribute:"#000"},edgeLabelFont:"Arial",edgeLabelSize:14,edgeLabelWeight:"normal",edgeLabelColor:{attribute:"color"},stagePadding:30,labelDensity:1,labelGridCellSize:100,labelRenderedSizeThreshold:6,animationsTime:1e3,borderSize:2,outerBorderSize:3,defaultNodeOuterBorderColor:"rgb(236, 81, 72)",edgeHoverHighlightNodes:"circle",sideMargin:1,edgeHoverColor:"edge",defaultEdgeHoverColor:"#062646",edgeHoverSizeRatio:1,edgeHoverExtremities:!0,scalingMode:"outside",nodeProgramClasses:{image:null}};const h={name:"sgraph",props:{data:{type:Object,required:!0},pdata:{type:Object,required:!0},styleSize:String},data(){return{Dark:a.A,s:null,state:{searchQuery:""},selectedNodes:[],selectedEdges:[],graph:null,fa2start:null,fa2stop:null,fa2run:null,Sigma:null,MultiDirectedGraph:null,FA2Layout:null,forceAtlas2:null,NodeImageProgram:null}},methods:{sendMessage(e,t){(0,r.tN)([this.pdata["name"],this.data["name"],e,t])},refresh(){if(!this.graph)return;let e=this.graph();const t=this.forceAtlas2.inferSettings(e);let s=new this.FA2Layout(e,{settings:t});r.Rl&&console.log("refresh graph",this.data.name,this.pdata.name),s.isRunning()||(s.start(),setTimeout((function(){s.stop()}),1e3))},setSelectedEdges(e){this.s.selectEdges(e)},setSearchQuery(e){if(e){const t=e.toLowerCase(),s=this.graph().nodes().map((e=>({id:e,label:this.graph().getNodeAttribute(e,"label")}))).filter((({label:e})=>e.toLowerCase().includes(t)));if(1===s.length&&s[0].label===e){this.state.selectedNode=s[0].id,this.state.suggestions=void 0;const e=this.s.getNodeDisplayData(this.state.selectedNode);this.s.getCamera().animate(e,{duration:500})}else this.state.selectedNode=void 0,this.state.suggestions=new Set(s.map((({id:e})=>e)))}else this.state.selectedNode=void 0,this.state.suggestions=void 0;this.s.refresh()},load(e){if(!this.graph)return;let t=e.value;this.selectedNodes=t.nodes?t.nodes.map((e=>String(e))):[],this.selectedEdges=t.edges?t.edges.map((e=>String(e))):[];let s=e.sizing,d=e.nodes,l=this.graph(),o=[],i=[],r=new Map;for(let e=0;e<d.length;e++){if(!d[e])continue;let t=Object.assign({},d[e]);void 0==t.id&&(t.id=e),void 0!=t.name&&(t.label=t.name);let s={key:String(t.id),attributes:t};t.size=t.size?t.size:10,o.push(s),r.set(t.id,e);let i=l._nodes.get(s.key);i?(t.x=i.attributes.x,t.y=i.attributes.y):(t.x=Math.random(),t.y=Math.random()),this.selectedNodes.includes(s.key)&&(t.highlighted=!0)}let a=[],h=new Map,u=Array(o.length).fill(0);for(let t=0;t<e.edges.length;t++){let d=Object.assign({},e.edges[t]),l=r.get(d.source),o=r.get(d.target);if(void 0==l||void 0==o)continue;if(void 0==d.id&&(d.id=t),d.name&&(d.label=d.name),d.key=String(d.id),i.push(d),s){"in"!=s&&(o=r.get(d.source),l=r.get(d.target)),u[o]++,h.has(o)?h.get(o).push(l):h.set(o,[l]);let e=a.indexOf(l),t=a.indexOf(o);if(-1==e&&(e=a.length,a.push(l)),-1==t&&(t=a.length,a.push(o)),t<e){let s=a[e];a[e]=a[t],a[t]=s}}let c=d.attributes;c||(c={},d.attributes=c),c.id=d.id,c.size=d.size?d.size:5,this.selectedEdges.includes(d.key)?(c.ocolor=c.color?c.color:g.defaultEdgeColor,c.color=n):d.color&&(c.color=d.color),d.label&&(c.label=d.label)}if(s)for(let e=0;e<a.length;e++){let t=a[e];if(h.has(t))for(let e of h.get(t))u[t]+=u[e];o[t].attributes.size=10+u[t]}l.clear(),l.import({nodes:o,edges:i}),this.refresh()}},computed:{value(){if(!this.graph)return{nodes:[],edges:[]};let e=this.graph(),t=this.selectedNodes.map((t=>e._nodes.get(t).attributes.id)),s=this.selectedEdges.map((t=>e._edges.get(t).attributes.id));return{nodes:t,edges:s}}},watch:{data:{handler(e,t){r.Rl&&console.log("data update",this.data.name,this.pdata.name),this.load(e)},deep:!0},"Dark.isActive":function(e){this.s&&(this.s.settings.labelColor.color=e?"#00838F":"#000",this.s.refresh())}},updated(){this.s&&(this.s.refresh(),r.Rl&&console.log("updated",this.data.name,this.pdata.name))},mounted(){Promise.all([Promise.all([s.e(121),s.e(324)]).then(s.bind(s,6747)),Promise.all([s.e(121),s.e(324)]).then(s.t.bind(s,8911,23)),Promise.all([s.e(121),s.e(324)]).then(s.t.bind(s,3668,23)),Promise.all([s.e(121),s.e(324)]).then(s.t.bind(s,1944,23)),Promise.all([s.e(121),s.e(324)]).then(s.bind(s,5793))]).then((([e,t,s,d,l])=>{this.Sigma=e.default,this.MultiDirectedGraph=t.default.MultiDirectedGraph,this.MultiDirectedGraph||console.error("Error: MultiDirectedGraph not found in graphologyModule.default"),this.FA2Layout=s.default,this.forceAtlas2=d.default,this.NodeImageProgram=l.NodeImageProgram,g.nodeProgramClasses.image=this.NodeImageProgram;let o=new this.MultiDirectedGraph;this.graph=()=>o;let i=this.$refs.graph;this.s=new this.Sigma(o,i,g);let h=this.s;var u=this;function c(e){e?u.state.hoveredNeighbors=new Set(o.neighbors(e)):(u.state.hoveredNode=void 0,u.state.hoveredNeighbors=void 0),h.refresh()}function f(e,t=n){let s=o.getEdgeAttributes(e);s.color!=t&&(s.ocolor||(s.ocolor=s.color?s.color:g.defaultEdgeColor),o.setEdgeAttribute(e,"color",t))}function b(e,t=n){let s=o.getEdgeAttributes(e);if(s.color==t){let t=o.getEdgeAttribute(e,"ocolor");o.setEdgeAttribute(e,"color",t)}}this.s.settings.labelColor.color=a.A.isActive?"#00838F":"#000",h.on("clickNode",(function(e){let t=e.node;if(!r.Zp.shiftKey){for(let e of u.selectedEdges)b(e);u.selectedEdges=[]}if(u.selectedNodes.includes(t))if(o.setNodeAttribute(t,"highlighted",!1),r.Zp.shiftKey){let e=u.selectedNodes.indexOf(t);-1!=e&&u.selectedNodes.splice(e,1)}else u.selectedNodes=[];else{if(!r.Zp.shiftKey&&u.selectedNodes.length>0){for(let e of u.selectedNodes)o.setNodeAttribute(e,"highlighted",!1);u.selectedNodes=[]}o.setNodeAttribute(t,"highlighted",!0),u.selectedNodes.push(t)}h.refresh(),u.sendMessage("changed",u.value)})),h.on("clickEdge",(function({edge:e}){if(!r.Zp.shiftKey){for(let e of u.selectedNodes)o.setNodeAttribute(e,"highlighted",!1);u.selectedNodes=[]}if(u.selectedEdges.includes(e))if(b(e),r.Zp.shiftKey){let t=u.selectedEdges.indexOf(e);-1!=t&&u.selectedEdges.splice(t,1)}else u.selectedEdges=[];else{if(!r.Zp.shiftKey&&u.selectedEdges.length>0){for(let e of u.selectedEdges)b(e);u.selectedEdges=[]}f(e),u.selectedEdges.push(e)}h.refresh(),u.sendMessage("changed",u.value)})),h.on("enterNode",(function({node:e}){for(let t of o.edgeEntries())t.target==e?f(t.edge,"#808000"):t.source==e&&f(t.edge,"#2F4F4F");c(e)})),h.on("leaveNode",(function({node:e}){for(let t of o.edgeEntries())t.target==e?u.selectedEdges.includes(t.edge)?o.setEdgeAttribute(t.edge,"color",n):b(t.edge,"#808000"):t.source==e&&(u.selectedEdges.includes(t.edge)?o.setEdgeAttribute(t.edge,"color",n):b(t.edge,"#2F4F4F"));c(void 0)})),h.on("enterEdge",(function({edge:e}){u.selectedEdges.includes(e)||f(e)})),h.on("leaveEdge",(function({edge:e}){u.selectedEdges.includes(e)||b(e)}));const p=new ResizeObserver((e=>h.refresh()));p.observe(i);let m=null,E=!1;h.on("downNode",(e=>{E=!0,m=e.node,o.setNodeAttribute(m,"highlighted",!0)})),h.getMouseCaptor().on("mousemovebody",(e=>{if(!E||!m)return;const t=h.viewportToGraph(e);o.setNodeAttribute(m,"x",t.x),o.setNodeAttribute(m,"y",t.y),e.preventSigmaDefault(),e.original.preventDefault(),e.original.stopPropagation()})),h.getMouseCaptor().on("mouseup",(()=>{m&&o.removeNodeAttribute(m,"highlighted"),E=!1,m=null})),h.getMouseCaptor().on("mousedown",(()=>{h.getCustomBBox()||h.setCustomBBox(h.getBBox())})),u.load(u.data)})).catch((e=>{console.error("Error loading sigma.js and related libraries:",e)}))}};var u=s(2807);const c=(0,u.A)(h,[["render",i],["__scopeId","data-v-a6b7e7b0"]]),f=c}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
(globalThis["webpackChunkuniqua"]=globalThis["webpackChunkuniqua"]||[]).push([[935],{2935:(M,L,j)=>{"use strict";j.r(L),j.d(L,{default:()=>E});var N=j(1758),T=j(4062),g=j.n(T);function u(M,L,j,T,u,I){const y=(0,N.g2)("q-page");return(0,N.uX)(),(0,N.Wv)(y,{class:"flex flex-center"},{default:(0,N.k6)((()=>L[0]||(L[0]=[(0,N.Lk)("img",{alt:"Quasar logo",src:g(),style:{width:"200px",height:"200px"}},null,-1)]))),_:1})}const I=(0,N.pM)({name:"PageIndex"});var y=j(2807),A=j(7716),C=j(8582),D=j.n(C);const t=(0,y.A)(I,[["render",u]]),E=t;D()(I,"components",{QPage:A.A})},4062:M=>{M.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNTYgMzYwIj4KCTxwYXRoCgkJZD0iTTQzLjQgMzAzLjRjMCAzLjgtMi4zIDYuMy03LjEgNi4zaC0xNXYtMjJoMTQuNGM0LjMgMCA2LjIgMi4yIDYuMiA1LjIgMCAyLjYtMS41IDQuNC0zLjQgNSAyLjguNCA0LjkgMi41IDQuOSA1LjV6bS04LTEzSDI0LjF2Ni45SDM1YzIuMSAwIDQtMS4zIDQtMy44IDAtMi4yLTEuMy0zLjEtMy43LTMuMXptNS4xIDEyLjZjMC0yLjMtMS44LTMuNy00LTMuN0gyNC4ydjcuN2gxMS43YzMuNCAwIDQuNi0xLjggNC42LTR6bTM2LjMgNHYyLjdINTZ2LTIyaDIwLjZ2Mi43SDU4Ljl2Ni44aDE0LjZ2Mi4zSDU4Ljl2Ny41aDE3Ljl6bTIzLTUuOHY4LjVIOTd2LTguNWwtMTEtMTMuNGgzLjRsOC45IDExIDguOC0xMWgzLjRsLTEwLjggMTMuNHptMTkuMS0xLjhWMjk4YzAtNy45IDUuMi0xMC43IDEyLjctMTAuNyA3LjUgMCAxMyAyLjggMTMgMTAuN3YxLjRjMCA3LjktNS41IDEwLjgtMTMgMTAuOHMtMTIuNy0zLTEyLjctMTAuOHptMjIuNyAwVjI5OGMwLTUuNy0zLjktOC0xMC04LTYgMC05LjggMi4zLTkuOCA4djEuNGMwIDUuOCAzLjggOC4xIDkuOCA4LjEgNiAwIDEwLTIuMyAxMC04LjF6bTM3LjItMTEuNnYyMS45aC0yLjlsLTE1LjgtMTcuOXYxNy45aC0yLjh2LTIyaDNsMTUuNiAxOHYtMThoMi45em0zNy45IDEwLjJ2MS4zYzAgNy44LTUuMiAxMC40LTEyLjQgMTAuNEgxOTN2LTIyaDExLjJjNy4yIDAgMTIuNCAyLjggMTIuNCAxMC4zem0tMyAwYzAtNS4zLTMuMy03LjYtOS40LTcuNmgtOC40VjMwN2g4LjRjNiAwIDkuNS0yIDkuNS03LjdWMjk4em01MC44LTcuNmgtOS43djE5LjNoLTN2LTE5LjNoLTkuN3YtMi42aDIyLjR2Mi42em0zNC40LTIuNnYyMS45aC0zdi0xMC4xaC0xNi44djEwaC0yLjh2LTIxLjhoMi44djkuMkgyOTZ2LTkuMmgyLjl6bTM0LjkgMTkuMnYyLjdoLTIwLjd2LTIyaDIwLjZ2Mi43SDMxNnY2LjhoMTQuNXYyLjNIMzE2djcuNWgxNy44ek0yNCAzNDAuMnY3LjNoMTMuOXYyLjRoLTE0djkuNkgyMXYtMjJoMjB2Mi43SDI0em00MS41IDExLjRoLTkuOHY3LjlINTN2LTIyaDEzLjNjNS4xIDAgOCAxLjkgOCA2LjggMCAzLjctMiA2LjMtNS42IDdsNiA4LjJoLTMuM2wtNS44LTh6bS05LjgtMi42SDY2YzMuMSAwIDUuMy0xLjUgNS4zLTQuNyAwLTMuMy0yLjItNC4xLTUuMy00LjFINTUuN3Y4Ljh6bTQ3LjkgNi4ySDg5bC0yIDQuM2gtMy4ybDEwLjctMjIuMkg5OGwxMC43IDIyLjJoLTMuMmwtMi00LjN6bS0xLTIuM2wtNi4zLTEzLTYgMTNoMTIuMnptNDYuMy0xNS4zdjIxLjlIMTQ2di0xNy4yTDEzNS43IDM1OGgtMi4xbC0xMC4yLTE1LjZ2MTdoLTIuOHYtMjEuOGgzbDExIDE2LjkgMTEuMy0xN2gzem0zNSAxOS4zdjIuNmgtMjAuN3YtMjJoMjAuNnYyLjdIMTY2djYuOGgxNC41djIuM0gxNjZ2Ny42aDE3Ljh6bTQ3LTE5LjNsLTguMyAyMmgtM2wtNy4xLTE4LjYtNyAxOC42aC0zbC04LjItMjJoMy4zTDIwNCAzNTZsNi44LTE4LjVoMy40TDIyMSAzNTZsNi42LTE4LjVoMy4zem0xMCAxMS42di0xLjRjMC03LjggNS4yLTEwLjcgMTIuNy0xMC43IDcuNiAwIDEzIDIuOSAxMyAxMC43djEuNGMwIDcuOS01LjQgMTAuOC0xMyAxMC44LTcuNSAwLTEyLjctMy0xMi43LTEwLjh6bTIyLjggMHYtMS40YzAtNS43LTQtOC0xMC04cy05LjkgMi4zLTkuOSA4djEuNGMwIDUuOCAzLjggOC4yIDkuOCA4LjIgNi4xIDAgMTAtMi40IDEwLTguMnptMjguMyAyLjRoLTkuOHY3LjloLTIuOHYtMjJoMTMuMmM1LjIgMCA4IDEuOSA4IDYuOCAwIDMuNy0yIDYuMy01LjYgN2w2IDguMmgtMy4zbC01LjgtOHptLTkuOC0yLjZoMTAuMmMzIDAgNS4yLTEuNSA1LjItNC43IDAtMy4zLTIuMS00LjEtNS4yLTQuMWgtMTAuMnY4Ljh6bTQwLjMtMS41bC02LjggNS42djYuNGgtMi45di0yMmgyLjl2MTIuM2wxNS4yLTEyLjJoMy43bC05LjkgOC4xIDEwLjMgMTMuOGgtMy42bC04LjktMTJ6IiAvPgoJPHBhdGggZmlsbD0iIzA1MEExNCIKCQlkPSJNMTg4LjQgNzEuN2ExMC40IDEwLjQgMCAwMS0yMC44IDAgMTAuNCAxMC40IDAgMTEyMC44IDB6TTIyNC4yIDQ1Yy0yLjItMy45LTUtNy41LTguMi0xMC43bC0xMiA3Yy0zLjctMy4yLTgtNS43LTEyLjYtNy4zYTQ5LjQgNDkuNCAwIDAwLTkuNyAxMy45IDU5IDU5IDAgMDE0MC4xIDE0bDcuNi00LjRhNTcgNTcgMCAwMC01LjItMTIuNXpNMTc4IDEyNS4xYzQuNSAwIDktLjYgMTMuNC0xLjd2LTE0YTQwIDQwIDAgMDAxMi41LTcuMiA0Ny43IDQ3LjcgMCAwMC03LjEtMTUuMyA1OSA1OSAwIDAxLTMyLjIgMjcuN3Y4LjdjNC40IDEuMiA4LjkgMS44IDEzLjQgMS44ek0xMzEuOCA0NWMtMi4zIDQtNCA4LjEtNS4yIDEyLjVsMTIgN2E0MCA0MCAwIDAwMCAxNC40YzUuNyAxLjUgMTEuMyAyIDE2LjkgMS41YTU5IDU5IDAgMDEtOC00MS43bC03LjUtNC4zYy0zLjIgMy4yLTYgNi43LTguMiAxMC42eiIgLz4KCTxwYXRoIGZpbGw9IiMwMEI0RkYiCgkJZD0iTTIyNC4yIDk4LjRjMi4zLTMuOSA0LTggNS4yLTEyLjRsLTEyLTdhNDAgNDAgMCAwMDAtMTQuNWMtNS43LTEuNS0xMS4zLTItMTYuOS0xLjVhNTkgNTkgMCAwMTggNDEuN2w3LjUgNC40YzMuMi0zLjIgNi02LjggOC4yLTEwLjd6bS05Mi40IDBjMi4yIDQgNSA3LjUgOC4yIDEwLjdsMTItN2E0MCA0MCAwIDAwMTIuNiA3LjNjNC00LjEgNy4zLTguOCA5LjctMTMuOGE1OSA1OSAwIDAxLTQwLTE0bC03LjcgNC40YzEuMiA0LjMgMyA4LjUgNS4yIDEyLjR6bTQ2LjItODBjLTQuNSAwLTkgLjUtMTMuNCAxLjdWMzRhNDAgNDAgMCAwMC0xMi41IDcuMmMxLjUgNS43IDQgMTAuOCA3LjEgMTUuNGE1OSA1OSAwIDAxMzIuMi0yNy43VjIwYTUzLjMgNTMuMyAwIDAwLTEzLjQtMS44eiIgLz4KCTxwYXRoIGZpbGw9IiMwMEI0RkYiCgkJZD0iTTE3OCA5LjJhNjIuNiA2Mi42IDAgMTEtLjEgMTI1LjJBNjIuNiA2Mi42IDAgMDExNzggOS4ybTAtOS4yYTcxLjcgNzEuNyAwIDEwMCAxNDMuNUE3MS43IDcxLjcgMCAwMDE3OCAweiIgLz4KCTxwYXRoIGZpbGw9IiMwNTBBMTQiCgkJZD0iTTk2LjYgMjEydjQuM2MtOS4yLS44LTE1LjQtNS44LTE1LjQtMTcuOFYxODBoNC42djE4LjRjMCA4LjYgNCAxMi42IDEwLjggMTMuNXptMTYtMzEuOXYxOC40YzAgOC45LTQuMyAxMi44LTEwLjkgMTMuNXY0LjRjOS4yLS43IDE1LjUtNS42IDE1LjUtMTh2LTE4LjNoLTQuN3pNNjIuMiAxOTl2LTIuMmMwLTEyLjctOC44LTE3LjQtMjEtMTcuNC0xMi4xIDAtMjAuNyA0LjctMjAuNyAxNy40djIuMmMwIDEyLjggOC42IDE3LjYgMjAuNyAxNy42IDEuNSAwIDMtLjEgNC40LS4zbDExLjggNi4yIDItMy4zLTguMi00LTYuNC0zLjFhMzIgMzIgMCAwMS0zLjYuMmMtOS44IDAtMTYtMy45LTE2LTEzLjN2LTIuMmMwLTkuMyA2LjItMTMuMSAxNi0xMy4xIDkuOSAwIDE2LjMgMy44IDE2LjMgMTMuMXYyLjJjMCA1LjMtMi4xIDguNy01LjYgMTAuOGw0LjggMi40YzMuNC0yLjggNS41LTcgNS41LTEzLjJ6TTE2OCAyMTUuNmg1LjFMMTU2IDE3OS43aC00LjhsMTcgMzZ6TTE0MyAyMDVsNy40LTE1LjctMi40LTUtMTUuMSAzMS40aDUuMWwzLjMtN2gxOC4zbC0xLjgtMy43SDE0M3ptMTMzLjcgMTAuN2g1LjJsLTE3LjMtMzUuOWgtNC44bDE3IDM2em0tMjUtMTAuN2w3LjQtMTUuNy0yLjQtNS0xNS4xIDMxLjRoNS4xbDMuMy03aDE4LjNsLTEuNy0zLjdoLTE0Ljh6bTczLjgtMi41YzYtMS4yIDktNS40IDktMTEuNCAwLTgtNC41LTEwLjktMTIuOS0xMC45aC0yMS40djM1LjVoNC42di0zMS4zaDE2LjVjNSAwIDguNSAxLjQgOC41IDYuNyAwIDUuMi0zLjUgNy43LTguNSA3LjdoLTExLjR2NC4xaDEwLjdsOS4zIDEyLjhoNS41bC05LjktMTMuMnptLTExNy40IDkuOWMtOS43IDAtMTQuNy0yLjUtMTguNi02LjNsLTIuMiAzLjhjNS4xIDUgMTEgNi43IDIxIDYuNyAxLjYgMCAzLjEtLjEgNC42LS4zbC0xLjktNGgtM3ptMTguNC03YzAtNi40LTQuNy04LjYtMTMuOC05LjRsLTEwLjEtMWMtNi43LS43LTkuMy0yLjItOS4zLTUuNiAwLTIuNSAxLjQtNCA0LjYtNWwtMS44LTMuOGMtNC43IDEuNC03LjUgNC4yLTcuNSA4LjkgMCA1LjIgMy40IDguNyAxMyA5LjZsMTEuMyAxLjJjNi40LjYgOC45IDIgOC45IDUuNCAwIDIuNy0yLjEgNC43LTYgNS44bDEuOCAzLjljNS4zLTEuNiA4LjktNC43IDguOS0xMHptLTIwLjMtMjEuOWM3LjkgMCAxMy4zIDEuOCAxOC4xIDUuN2wxLjgtMy45YTMwIDMwIDAgMDAtMTkuNi01LjljLTIgMC00IC4xLTUuNy4zbDEuOSA0IDMuNS0uMnoiIC8+Cgk8cGF0aCBmaWxsPSIjMDBCNEZGIgoJCWQ9Ik0uNSAyNTEuOWMyOS42LS41IDU5LjItLjggODguOC0xbDg4LjctLjMgODguNy4zIDQ0LjQuNCA0NC40LjYtNDQuNC42LTQ0LjQuNC04OC43LjMtODguNy0uM2E3OTgxIDc5ODEgMCAwMS04OC44LTF6IiAvPgoJPHBhdGggZmlsbD0ibm9uZSIgZD0iTS01NjUuMiAzMjRILTI1MnYxNS44aC0zMTMuMnoiIC8+Cjwvc3ZnPg=="}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
(()=>{"use strict";var e={8260:(e,t,r)=>{r(7781),r(4739),r(8499);var o=r(9104),n=r(6501),a=r(8734),i=r(1758);const l={id:"q-app"};function u(e,t,r,o,n,a){const u=(0,i.g2)("router-view");return(0,i.uX)(),(0,i.CE)("div",l,[(0,i.bF)(u)])}const s=(0,i.pM)({name:"App"});var c=r(2807);const d=(0,c.A)(s,[["render",u]]),f=d;var p=r(1573),h=r(455);const v=[{path:"/",component:()=>Promise.all([r.e(121),r.e(565)]).then(r.bind(r,2565)),children:[{path:"",component:()=>Promise.all([r.e(121),r.e(935)]).then(r.bind(r,2935))}]},{path:"/:catchAll(.*)*",component:()=>Promise.all([r.e(121),r.e(609)]).then(r.bind(r,1609))}],m=v,b=(0,p.wE)((function(){const e=h.LA,t=(0,h.aE)({scrollBehavior:()=>({left:0,top:0}),routes:m,history:e("/")});return t}));async function g(e,t){const r=e(f);r.use(n.A,t);const o=(0,a.IG)("function"===typeof b?await b({}):b);return{app:r,router:o}}var y=r(1627),w=r(8292),O=r(8993),j=r(1903);const A={config:{notify:{}},plugins:{Notify:y.A,Dialog:w.A,LocalStorage:O.A,SessionStorage:j.A}},P="/";async function E({app:e,router:t},r){let o=!1;const n=e=>{try{return t.resolve(e).href}catch(e){}return Object(e)===e?null:e},a=e=>{if(o=!0,"string"===typeof e&&/^https?:\/\//.test(e))return void(window.location.href=e);const t=n(e);null!==t&&(window.location.href=t)},i=window.location.href.replace(window.location.origin,"");for(let n=0;!1===o&&n<r.length;n++)try{await r[n]({app:e,router:t,ssrContext:null,redirect:a,urlPath:i,publicPath:P})}catch(e){return e&&e.url?void a(e.url):void console.error("[Quasar] boot error:",e)}!0!==o&&(e.use(t),e.mount("#q-app"))}g(o.Ef,A).then((e=>{const[t,o]=void 0!==Promise.allSettled?["allSettled",e=>e.map((e=>{if("rejected"!==e.status)return e.value.default;console.error("[Quasar] boot error:",e.reason)}))]:["all",e=>e.map((e=>e.default))];return Promise[t]([Promise.resolve().then(r.bind(r,6598))]).then((t=>{const r=o(t).filter((e=>"function"===typeof e));E(e,r)}))}))},6598:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n});var o=r(1573);const n=(0,o.zj)((async({app:e})=>{}))}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var a=t[o]={id:o,loaded:!1,exports:{}};return e[o].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}r.m=e,(()=>{var e=[];r.O=(t,o,n,a)=>{if(!o){var i=1/0;for(c=0;c<e.length;c++){for(var[o,n,a]=e[c],l=!0,u=0;u<o.length;u++)(!1&a||i>=a)&&Object.keys(r.O).every((e=>r.O[e](o[u])))?o.splice(u--,1):(l=!1,a<i&&(i=a));if(l){e.splice(c--,1);var s=n();void 0!==s&&(t=s)}}return t}a=a||0;for(var c=e.length;c>0&&e[c-1][2]>a;c--)e[c]=e[c-1];e[c]=[o,n,a]}})(),(()=>{r.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return r.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"===typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"===typeof o.then)return o}var a=Object.create(null);r.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var l=2&n&&o;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>i[e]=()=>o[e]));return i["default"]=()=>o,r.d(a,i),a}})(),(()=>{r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}})(),(()=>{r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((t,o)=>(r.f[o](e,t),t)),[]))})(),(()=>{r.u=e=>"js/"+({324:"sigma",464:"echart"}[e]||e)+"."+{72:"f1673470",260:"1d50abd6",324:"ce21336a",464:"8f773fb7",565:"437dc595",609:"a5c4177e",935:"a10cb1a0"}[e]+".js"})(),(()=>{r.miniCssF=e=>"css/"+e+"."+{72:"9393078c",565:"f35d8840"}[e]+".css"})(),(()=>{r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="uniqua:";r.l=(o,n,a,i)=>{if(e[o])e[o].push(n);else{var l,u;if(void 0!==a)for(var s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var d=s[c];if(d.getAttribute("src")==o||d.getAttribute("data-webpack")==t+a){l=d;break}}l||(u=!0,l=document.createElement("script"),l.charset="utf-8",l.timeout=120,r.nc&&l.setAttribute("nonce",r.nc),l.setAttribute("data-webpack",t+a),l.src=o),e[o]=[n];var f=(t,r)=>{l.onerror=l.onload=null,clearTimeout(p);var n=e[o];if(delete e[o],l.parentNode&&l.parentNode.removeChild(l),n&&n.forEach((e=>e(r))),t)return t(r)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=f.bind(null,l.onerror),l.onload=f.bind(null,l.onload),u&&document.head.appendChild(l)}}})(),(()=>{r.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e)})(),(()=>{r.p="/"})(),(()=>{if("undefined"!==typeof document){var e=(e,t,o,n,a)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",r.nc&&(i.nonce=r.nc);var l=r=>{if(i.onerror=i.onload=null,"load"===r.type)n();else{var o=r&&r.type,l=r&&r.target&&r.target.href||t,u=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+l+")");u.name="ChunkLoadError",u.code="CSS_CHUNK_LOAD_FAILED",u.type=o,u.request=l,i.parentNode&&i.parentNode.removeChild(i),a(u)}};return i.onerror=i.onload=l,i.href=t,o?o.parentNode.insertBefore(i,o.nextSibling):document.head.appendChild(i),i},t=(e,t)=>{for(var r=document.getElementsByTagName("link"),o=0;o<r.length;o++){var n=r[o],a=n.getAttribute("data-href")||n.getAttribute("href");if("stylesheet"===n.rel&&(a===e||a===t))return n}var i=document.getElementsByTagName("style");for(o=0;o<i.length;o++){n=i[o],a=n.getAttribute("data-href");if(a===e||a===t)return n}},o=o=>new Promise(((n,a)=>{var i=r.miniCssF(o),l=r.p+i;if(t(i,l))return n();e(o,l,null,n,a)})),n={524:0};r.f.miniCss=(e,t)=>{var r={72:1,565:1};n[e]?t.push(n[e]):0!==n[e]&&r[e]&&t.push(n[e]=o(e).then((()=>{n[e]=0}),(t=>{throw delete n[e],t})))}}})(),(()=>{var e={524:0};r.f.j=(t,o)=>{var n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise(((r,o)=>n=e[t]=[r,o]));o.push(n[2]=a);var i=r.p+r.u(t),l=new Error,u=o=>{if(r.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){var a=o&&("load"===o.type?"missing":o.type),i=o&&o.target&&o.target.src;l.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",l.name="ChunkLoadError",l.type=a,l.request=i,n[1](l)}};r.l(i,u,"chunk-"+t,t)}},r.O.j=t=>0===e[t];var t=(t,o)=>{var n,a,[i,l,u]=o,s=0;if(i.some((t=>0!==e[t]))){for(n in l)r.o(l,n)&&(r.m[n]=l[n]);if(u)var c=u(r)}for(t&&t(o);s<i.length;s++)a=i[s],r.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return r.O(c)},o=globalThis["webpackChunkuniqua"]=globalThis["webpackChunkuniqua"]||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var o=r.O(void 0,[121],(()=>r(8260)));o=r.O(o)})();
|