UNPKG

@enablerr-ui/visualboard

Version:

enablerr - the Next Enterprise Solution

1 lines 141 kB
System.register(["@enablerr-ui/form","@enablerr-ui/detail","@enablerr-ui/layout","@enablerr-ui/auth"],(function(t){"use strict";var e,r,a,s,n,o,i,c,d,l,p,b,h;return{setters:[function(t){e=t.Storage,r=t.task_notification,a=t.approval_notification,s=t.Request,n=t.currentRoles,o=t.Page,i=t.settings},function(t){c=t.getMapLink,d=t.Form},function(t){l=t.getAttractions,p=t.getGridHelp,b=t.getGrid},function(t){h=t.user}],execute:function(){t("version","0.2.74");function g(){}function y(t){return t()}function u(){return Object.create(null)}function m(t){t.forEach(y)}function f(t){return"function"==typeof t}function v(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function x(t,e,r){t.$$.on_destroy.push(function(t,...e){if(null==t)return g;const r=t.subscribe(...e);return r.unsubscribe?()=>r.unsubscribe():r}(e,r))}function w(t,e,r,a){return t[1]&&a?function(t,e){for(const r in e)t[r]=e[r];return t}(r.ctx.slice(),t[1](a(e))):r.ctx}function k(t,e,r,a,s,n,o){const i=function(t,e,r,a){if(t[2]&&a){const s=t[2](a(r));if(void 0===e.dirty)return s;if("object"==typeof s){const t=[],r=Math.max(e.dirty.length,s.length);for(let a=0;a<r;a+=1)t[a]=e.dirty[a]|s[a];return t}return e.dirty|s}return e.dirty}(e,a,s,n);if(i){const s=w(e,r,a,o);t.p(s,i)}}function $(t){return null==t?"":t}function z(t,e){t.appendChild(e)}function j(t,e,r){t.insertBefore(e,r||null)}function _(t){t.parentNode.removeChild(t)}function P(t,e){for(let r=0;r<t.length;r+=1)t[r]&&t[r].d(e)}function I(t){return document.createElement(t)}function D(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function C(t){return document.createTextNode(t)}function E(){return C(" ")}function S(){return C("")}function M(t,e,r,a){return t.addEventListener(e,r,a),()=>t.removeEventListener(e,r,a)}function O(t,e,r){null==r?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function B(t,e,r){e in t?t[e]="boolean"==typeof t[e]&&""===r||r:O(t,e,r)}function N(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function W(t,e,r,a){t.style.setProperty(e,r,a?"important":"")}let q;function A(t){q=t}function T(){if(!q)throw new Error("Function called outside component initialization");return q}function L(){const t=T();return(e,r)=>{const a=t.$$.callbacks[e];if(a){const s=function(t,e){const r=document.createEvent("CustomEvent");return r.initCustomEvent(t,!1,!1,e),r}(e,r);a.slice().forEach((e=>{e.call(t,s)}))}}}function U(t,e){const r=t.$$.callbacks[e.type];r&&r.slice().forEach((t=>t(e)))}const R=[],X=[],F=[],H=[],G=Promise.resolve();let J=!1;function V(){J||(J=!0,G.then(tt))}function Y(t){F.push(t)}function K(t){H.push(t)}let Q=!1;const Z=new Set;function tt(){if(!Q){Q=!0;do{for(let t=0;t<R.length;t+=1){const e=R[t];A(e),et(e.$$)}for(A(null),R.length=0;X.length;)X.pop()();for(let t=0;t<F.length;t+=1){const e=F[t];Z.has(e)||(Z.add(e),e())}F.length=0}while(R.length);for(;H.length;)H.pop()();J=!1,Q=!1,Z.clear()}}function et(t){if(null!==t.fragment){t.update(),m(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Y)}}const rt=new Set;let at;function st(){at={r:0,c:[],p:at}}function nt(){at.r||m(at.c),at=at.p}function ot(t,e){t&&t.i&&(rt.delete(t),t.i(e))}function it(t,e,r,a){if(t&&t.o){if(rt.has(t))return;rt.add(t),at&&at.c.push((()=>{rt.delete(t),a&&(r&&t.d(1),a())})),t.o(e)}}function ct(t,e){const r=e.token={};function a(t,a,s,n){if(e.token!==r)return;e.resolved=n;let o=e.ctx;void 0!==s&&(o=o.slice(),o[s]=n);const i=t&&(e.current=t)(o);let c=!1;e.block&&(e.blocks?e.blocks.forEach(((t,r)=>{r!==a&&t&&(st(),it(t,1,1,(()=>{e.blocks[r]===t&&(e.blocks[r]=null)})),nt())})):e.block.d(1),i.c(),ot(i,1),i.m(e.mount(),e.anchor),c=!0),e.block=i,e.blocks&&(e.blocks[a]=i),c&&tt()}if((s=t)&&"object"==typeof s&&"function"==typeof s.then){const r=T();if(t.then((t=>{A(r),a(e.then,1,e.value,t),A(null)}),(t=>{if(A(r),a(e.catch,2,e.error,t),A(null),!e.hasCatch)throw t})),e.current!==e.pending)return a(e.pending,0),!0}else{if(e.current!==e.then)return a(e.then,1,e.value,t),!0;e.resolved=t}var s}function dt(t,e,r){const a=e.slice(),{resolved:s}=t;t.current===t.then&&(a[t.value]=s),t.current===t.catch&&(a[t.error]=s),t.block.p(a,r)}const lt="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function pt(t,e,r){const a=t.$$.props[e];void 0!==a&&(t.$$.bound[a]=r,r(t.$$.ctx[a]))}function bt(t){t&&t.c()}function ht(t,e,r,a){const{fragment:s,on_mount:n,on_destroy:o,after_update:i}=t.$$;s&&s.m(e,r),a||Y((()=>{const e=n.map(y).filter(f);o?o.push(...e):m(e),t.$$.on_mount=[]})),i.forEach(Y)}function gt(t,e){const r=t.$$;null!==r.fragment&&(m(r.on_destroy),r.fragment&&r.fragment.d(e),r.on_destroy=r.fragment=null,r.ctx=[])}function yt(t,e,r,a,s,n,o=[-1]){const i=q;A(t);const c=t.$$={fragment:null,ctx:null,props:n,update:g,not_equal:s,bound:u(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(i?i.$$.context:e.context||[]),callbacks:u(),dirty:o,skip_bound:!1};let d=!1;if(c.ctx=r?r(t,e.props||{},((e,r,...a)=>{const n=a.length?a[0]:r;return c.ctx&&s(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),d&&function(t,e){-1===t.$$.dirty[0]&&(R.push(t),V(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}(t,e)),r})):[],c.update(),d=!0,m(c.before_update),c.fragment=!!a&&a(c.ctx),e.target){if(e.hydrate){const t=function(t){return Array.from(t.childNodes)}(e.target);c.fragment&&c.fragment.l(t),t.forEach(_)}else c.fragment&&c.fragment.c();e.intro&&ot(t.$$.fragment),ht(t,e.target,e.anchor,e.customElement),tt()}A(i)}class ut{$destroy(){gt(this,1),this.$destroy=g}$on(t,e){const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(e),()=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}function mt(t){let e,r,a,s;return{c(){e=D("svg"),r=D("path"),a=D("line"),O(r,"d","M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"),O(a,"x1","1"),O(a,"y1","1"),O(a,"x2","23"),O(a,"y2","23"),O(e,"xmlns","http://www.w3.org/2000/svg"),O(e,"width",t[0]),O(e,"height",t[0]),O(e,"fill","none"),O(e,"viewBox","0 0 24 24"),O(e,"stroke","currentColor"),O(e,"stroke-width",t[1]),O(e,"stroke-linecap","round"),O(e,"stroke-linejoin","round"),O(e,"class",s="feather feather-eye-off "+t[2])},m(t,s){j(t,e,s),z(e,r),z(e,a)},p(t,[r]){1&r&&O(e,"width",t[0]),1&r&&O(e,"height",t[0]),2&r&&O(e,"stroke-width",t[1]),4&r&&s!==(s="feather feather-eye-off "+t[2])&&O(e,"class",s)},i:g,o:g,d(t){t&&_(e)}}}function ft(t,e,r){let{size:a="100%"}=e,{strokeWidth:s=2}=e,{class:n=""}=e;return"100%"!==a&&(a="x"===a.slice(-1)?a.slice(0,a.length-1)+"em":parseInt(a)+"px"),t.$$set=t=>{"size"in t&&r(0,a=t.size),"strokeWidth"in t&&r(1,s=t.strokeWidth),"class"in t&&r(2,n=t.class)},[a,s,n]}class vt extends ut{constructor(t){super(),yt(this,t,ft,mt,v,{size:0,strokeWidth:1,class:2})}}function xt(t){let e,r,a,s;return{c(){e=D("svg"),r=D("path"),a=D("circle"),O(r,"d","M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"),O(a,"cx","12"),O(a,"cy","12"),O(a,"r","3"),O(e,"xmlns","http://www.w3.org/2000/svg"),O(e,"width",t[0]),O(e,"height",t[0]),O(e,"fill","none"),O(e,"viewBox","0 0 24 24"),O(e,"stroke","currentColor"),O(e,"stroke-width",t[1]),O(e,"stroke-linecap","round"),O(e,"stroke-linejoin","round"),O(e,"class",s="feather feather-eye "+t[2])},m(t,s){j(t,e,s),z(e,r),z(e,a)},p(t,[r]){1&r&&O(e,"width",t[0]),1&r&&O(e,"height",t[0]),2&r&&O(e,"stroke-width",t[1]),4&r&&s!==(s="feather feather-eye "+t[2])&&O(e,"class",s)},i:g,o:g,d(t){t&&_(e)}}}function wt(t,e,r){let{size:a="100%"}=e,{strokeWidth:s=2}=e,{class:n=""}=e;return"100%"!==a&&(a="x"===a.slice(-1)?a.slice(0,a.length-1)+"em":parseInt(a)+"px"),t.$$set=t=>{"size"in t&&r(0,a=t.size),"strokeWidth"in t&&r(1,s=t.strokeWidth),"class"in t&&r(2,n=t.class)},[a,s,n]}class kt extends ut{constructor(t){super(),yt(this,t,wt,xt,v,{size:0,strokeWidth:1,class:2})}}function $t(t){let e,r,a,s;return{c(){e=D("svg"),r=D("rect"),a=D("path"),O(r,"x","3"),O(r,"y","11"),O(r,"width","18"),O(r,"height","11"),O(r,"rx","2"),O(r,"ry","2"),O(a,"d","M7 11V7a5 5 0 0 1 10 0v4"),O(e,"xmlns","http://www.w3.org/2000/svg"),O(e,"width",t[0]),O(e,"height",t[0]),O(e,"fill","none"),O(e,"viewBox","0 0 24 24"),O(e,"stroke","currentColor"),O(e,"stroke-width",t[1]),O(e,"stroke-linecap","round"),O(e,"stroke-linejoin","round"),O(e,"class",s="feather feather-lock "+t[2])},m(t,s){j(t,e,s),z(e,r),z(e,a)},p(t,[r]){1&r&&O(e,"width",t[0]),1&r&&O(e,"height",t[0]),2&r&&O(e,"stroke-width",t[1]),4&r&&s!==(s="feather feather-lock "+t[2])&&O(e,"class",s)},i:g,o:g,d(t){t&&_(e)}}}function zt(t,e,r){let{size:a="100%"}=e,{strokeWidth:s=2}=e,{class:n=""}=e;return"100%"!==a&&(a="x"===a.slice(-1)?a.slice(0,a.length-1)+"em":parseInt(a)+"px"),t.$$set=t=>{"size"in t&&r(0,a=t.size),"strokeWidth"in t&&r(1,s=t.strokeWidth),"class"in t&&r(2,n=t.class)},[a,s,n]}class jt extends ut{constructor(t){super(),yt(this,t,zt,$t,v,{size:0,strokeWidth:1,class:2})}}function _t(t){let e,r,a;return{c(){e=D("svg"),r=D("path"),O(r,"d","M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"),O(e,"xmlns","http://www.w3.org/2000/svg"),O(e,"width",t[0]),O(e,"height",t[0]),O(e,"fill","none"),O(e,"viewBox","0 0 24 24"),O(e,"stroke","currentColor"),O(e,"stroke-width",t[1]),O(e,"stroke-linecap","round"),O(e,"stroke-linejoin","round"),O(e,"class",a="feather feather-maximize "+t[2])},m(t,a){j(t,e,a),z(e,r)},p(t,[r]){1&r&&O(e,"width",t[0]),1&r&&O(e,"height",t[0]),2&r&&O(e,"stroke-width",t[1]),4&r&&a!==(a="feather feather-maximize "+t[2])&&O(e,"class",a)},i:g,o:g,d(t){t&&_(e)}}}function Pt(t,e,r){let{size:a="100%"}=e,{strokeWidth:s=2}=e,{class:n=""}=e;return"100%"!==a&&(a="x"===a.slice(-1)?a.slice(0,a.length-1)+"em":parseInt(a)+"px"),t.$$set=t=>{"size"in t&&r(0,a=t.size),"strokeWidth"in t&&r(1,s=t.strokeWidth),"class"in t&&r(2,n=t.class)},[a,s,n]}class It extends ut{constructor(t){super(),yt(this,t,Pt,_t,v,{size:0,strokeWidth:1,class:2})}}function Dt(t){let e,r,a;return{c(){e=D("svg"),r=D("path"),O(r,"d","M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"),O(e,"xmlns","http://www.w3.org/2000/svg"),O(e,"width",t[0]),O(e,"height",t[0]),O(e,"fill","none"),O(e,"viewBox","0 0 24 24"),O(e,"stroke","currentColor"),O(e,"stroke-width",t[1]),O(e,"stroke-linecap","round"),O(e,"stroke-linejoin","round"),O(e,"class",a="feather feather-minimize "+t[2])},m(t,a){j(t,e,a),z(e,r)},p(t,[r]){1&r&&O(e,"width",t[0]),1&r&&O(e,"height",t[0]),2&r&&O(e,"stroke-width",t[1]),4&r&&a!==(a="feather feather-minimize "+t[2])&&O(e,"class",a)},i:g,o:g,d(t){t&&_(e)}}}function Ct(t,e,r){let{size:a="100%"}=e,{strokeWidth:s=2}=e,{class:n=""}=e;return"100%"!==a&&(a="x"===a.slice(-1)?a.slice(0,a.length-1)+"em":parseInt(a)+"px"),t.$$set=t=>{"size"in t&&r(0,a=t.size),"strokeWidth"in t&&r(1,s=t.strokeWidth),"class"in t&&r(2,n=t.class)},[a,s,n]}class Et extends ut{constructor(t){super(),yt(this,t,Ct,Dt,v,{size:0,strokeWidth:1,class:2})}}function St(t){let e,r,a,s,n,o,i,c;return{c(){e=D("svg"),r=D("polyline"),a=D("polyline"),s=D("polyline"),n=D("polyline"),o=D("line"),i=D("line"),O(r,"points","5 9 2 12 5 15"),O(a,"points","9 5 12 2 15 5"),O(s,"points","15 19 12 22 9 19"),O(n,"points","19 9 22 12 19 15"),O(o,"x1","2"),O(o,"y1","12"),O(o,"x2","22"),O(o,"y2","12"),O(i,"x1","12"),O(i,"y1","2"),O(i,"x2","12"),O(i,"y2","22"),O(e,"xmlns","http://www.w3.org/2000/svg"),O(e,"width",t[0]),O(e,"height",t[0]),O(e,"fill","none"),O(e,"viewBox","0 0 24 24"),O(e,"stroke","currentColor"),O(e,"stroke-width",t[1]),O(e,"stroke-linecap","round"),O(e,"stroke-linejoin","round"),O(e,"class",c="feather feather-move "+t[2])},m(t,c){j(t,e,c),z(e,r),z(e,a),z(e,s),z(e,n),z(e,o),z(e,i)},p(t,[r]){1&r&&O(e,"width",t[0]),1&r&&O(e,"height",t[0]),2&r&&O(e,"stroke-width",t[1]),4&r&&c!==(c="feather feather-move "+t[2])&&O(e,"class",c)},i:g,o:g,d(t){t&&_(e)}}}function Mt(t,e,r){let{size:a="100%"}=e,{strokeWidth:s=2}=e,{class:n=""}=e;return"100%"!==a&&(a="x"===a.slice(-1)?a.slice(0,a.length-1)+"em":parseInt(a)+"px"),t.$$set=t=>{"size"in t&&r(0,a=t.size),"strokeWidth"in t&&r(1,s=t.strokeWidth),"class"in t&&r(2,n=t.class)},[a,s,n]}class Ot extends ut{constructor(t){super(),yt(this,t,Mt,St,v,{size:0,strokeWidth:1,class:2})}}function Bt(t){let e,r,a,s;return{c(){e=D("svg"),r=D("rect"),a=D("path"),O(r,"x","3"),O(r,"y","11"),O(r,"width","18"),O(r,"height","11"),O(r,"rx","2"),O(r,"ry","2"),O(a,"d","M7 11V7a5 5 0 0 1 9.9-1"),O(e,"xmlns","http://www.w3.org/2000/svg"),O(e,"width",t[0]),O(e,"height",t[0]),O(e,"fill","none"),O(e,"viewBox","0 0 24 24"),O(e,"stroke","currentColor"),O(e,"stroke-width",t[1]),O(e,"stroke-linecap","round"),O(e,"stroke-linejoin","round"),O(e,"class",s="feather feather-unlock "+t[2])},m(t,s){j(t,e,s),z(e,r),z(e,a)},p(t,[r]){1&r&&O(e,"width",t[0]),1&r&&O(e,"height",t[0]),2&r&&O(e,"stroke-width",t[1]),4&r&&s!==(s="feather feather-unlock "+t[2])&&O(e,"class",s)},i:g,o:g,d(t){t&&_(e)}}}function Nt(t,e,r){let{size:a="100%"}=e,{strokeWidth:s=2}=e,{class:n=""}=e;return"100%"!==a&&(a="x"===a.slice(-1)?a.slice(0,a.length-1)+"em":parseInt(a)+"px"),t.$$set=t=>{"size"in t&&r(0,a=t.size),"strokeWidth"in t&&r(1,s=t.strokeWidth),"class"in t&&r(2,n=t.class)},[a,s,n]}class Wt extends ut{constructor(t){super(),yt(this,t,Nt,Bt,v,{size:0,strokeWidth:1,class:2})}}const{document:qt}=lt;function At(t){let e,r;return e=new Ot({props:{size:"20"}}),{c(){bt(e.$$.fragment)},m(t,a){ht(e,t,a),r=!0},i(t){r||(ot(e.$$.fragment,t),r=!0)},o(t){it(e.$$.fragment,t),r=!1},d(t){gt(e,t)}}}function Tt(t){let e,r,a;return r=new t[8]({props:{outline:!0,$$slots:{default:[Lt]},$$scope:{ctx:t}}}),{c(){e=I("div"),bt(r.$$.fragment),O(e,"class","title-text")},m(t,s){j(t,e,s),ht(r,e,null),a=!0},p(t,e){const a={};262146&e&&(a.$$scope={dirty:e,ctx:t}),r.$set(a)},i(t){a||(ot(r.$$.fragment,t),a=!0)},o(t){it(r.$$.fragment,t),a=!1},d(t){t&&_(e),gt(r)}}}function Lt(t){let e,r=t[1].identity.description+"";return{c(){e=C(r)},m(t,r){j(t,e,r)},p(t,a){2&a&&r!==(r=t[1].identity.description+"")&&N(e,r)},d(t){t&&_(e)}}}function Ut(t){let e,r,a,s,n;const o=[Xt,Rt],i=[];function c(t,e){return t[0].fixed?0:1}return e=c(t),r=i[e]=o[e](t),s=new t[7]({props:{small:!0,round:!0,noRipple:!0,class:"first",$$slots:{default:[Gt]},$$scope:{ctx:t}}}),s.$on("click",t[10]),{c(){r.c(),a=E(),bt(s.$$.fragment)},m(t,r){i[e].m(t,r),j(t,a,r),ht(s,t,r),n=!0},p(t,n){let d=e;e=c(t),e===d?i[e].p(t,n):(st(),it(i[d],1,1,(()=>{i[d]=null})),nt(),r=i[e],r?r.p(t,n):(r=i[e]=o[e](t),r.c()),ot(r,1),r.m(a.parentNode,a));const l={};262144&n&&(l.$$scope={dirty:n,ctx:t}),s.$set(l)},i(t){n||(ot(r),ot(s.$$.fragment,t),n=!0)},o(t){it(r),it(s.$$.fragment,t),n=!1},d(t){i[e].d(t),t&&_(a),gt(s,t)}}}function Rt(t){let e,r;return e=new t[7]({props:{small:!0,round:!0,noRipple:!0,class:"first",$$slots:{default:[Ft]},$$scope:{ctx:t}}}),e.$on("click",t[11]),{c(){bt(e.$$.fragment)},m(t,a){ht(e,t,a),r=!0},p(t,r){const a={};262144&r&&(a.$$scope={dirty:r,ctx:t}),e.$set(a)},i(t){r||(ot(e.$$.fragment,t),r=!0)},o(t){it(e.$$.fragment,t),r=!1},d(t){gt(e,t)}}}function Xt(t){let e,r;return e=new t[7]({props:{small:!0,round:!0,noRipple:!0,class:"first",$$slots:{default:[Ht]},$$scope:{ctx:t}}}),e.$on("click",t[12]),{c(){bt(e.$$.fragment)},m(t,a){ht(e,t,a),r=!0},p(t,r){const a={};262144&r&&(a.$$scope={dirty:r,ctx:t}),e.$set(a)},i(t){r||(ot(e.$$.fragment,t),r=!0)},o(t){it(e.$$.fragment,t),r=!1},d(t){gt(e,t)}}}function Ft(t){let e,r;return e=new Wt({props:{size:"20"}}),{c(){bt(e.$$.fragment)},m(t,a){ht(e,t,a),r=!0},p:g,i(t){r||(ot(e.$$.fragment,t),r=!0)},o(t){it(e.$$.fragment,t),r=!1},d(t){gt(e,t)}}}function Ht(t){let e,r;return e=new jt({props:{size:"20"}}),{c(){bt(e.$$.fragment)},m(t,a){ht(e,t,a),r=!0},p:g,i(t){r||(ot(e.$$.fragment,t),r=!0)},o(t){it(e.$$.fragment,t),r=!1},d(t){gt(e,t)}}}function Gt(t){let e,r;return e=new vt({props:{size:"20"}}),{c(){bt(e.$$.fragment)},m(t,a){ht(e,t,a),r=!0},p:g,i(t){r||(ot(e.$$.fragment,t),r=!0)},o(t){it(e.$$.fragment,t),r=!1},d(t){gt(e,t)}}}function Jt(t){let e,r;return e=new Et({props:{size:"20"}}),{c(){bt(e.$$.fragment)},m(t,a){ht(e,t,a),r=!0},i(t){r||(ot(e.$$.fragment,t),r=!0)},o(t){it(e.$$.fragment,t),r=!1},d(t){gt(e,t)}}}function Vt(t){let e,r;return e=new It({props:{size:"20"}}),{c(){bt(e.$$.fragment)},m(t,a){ht(e,t,a),r=!0},i(t){r||(ot(e.$$.fragment,t),r=!0)},o(t){it(e.$$.fragment,t),r=!1},d(t){gt(e,t)}}}function Yt(t){let e,r,a,s;const n=[Vt,Jt],o=[];function i(t,e){return t[5]?1:0}return e=i(t),r=o[e]=n[e](t),{c(){r.c(),a=S()},m(t,r){o[e].m(t,r),j(t,a,r),s=!0},p(t,s){let c=e;e=i(t),e!==c&&(st(),it(o[c],1,1,(()=>{o[c]=null})),nt(),r=o[e],r||(r=o[e]=n[e](t),r.c()),ot(r,1),r.m(a.parentNode,a))},i(t){s||(ot(r),s=!0)},o(t){it(r),s=!1},d(t){o[e].d(t),t&&_(a)}}}function Kt(t){let e,r,a,s,n,o,i,c,d,l,p,b,h,g,y,u,m=!t[5]&&!t[0].fixed&&At(),v=t[1].identity.description&&Tt(t),x=!t[5]&&Ut(t);p=new t[7]({props:{small:!0,round:!0,noRipple:!0,class:"task-maximize",$$slots:{default:[Yt]},$$scope:{ctx:t}}}),p.$on("click",t[9]);const $=t[17].default,P=function(t,e,r,a){if(t){const s=w(t,e,r,a);return t[0](s)}}($,t,t[18],null);return{c(){e=I("div"),r=I("div"),m&&m.c(),a=E(),s=I("p"),n=C(t[3]),o=E(),v&&v.c(),i=E(),c=I("div"),d=I("div"),x&&x.c(),l=E(),bt(p.$$.fragment),b=E(),h=I("div"),P&&P.c(),O(r,"class","header_icon svelte-3yynwe"),O(e,"class","title"),W(e,"display","flex"),W(d,"display","flex"),O(c,"id",t[2]),O(c,"class","header-maximize"),O(h,"class","eList svelte-3yynwe")},m(w,k){j(w,e,k),z(e,r),m&&m.m(r,null),z(e,a),z(e,s),z(s,n),z(e,o),v&&v.m(e,null),j(w,i,k),j(w,c,k),z(c,d),x&&x.m(d,null),z(d,l),ht(p,d,null),j(w,b,k),j(w,h,k),P&&P.m(h,null),g=!0,y||(u=M(r,"pointerdown",(function(){f(t[4])&&t[4].apply(this,arguments)})),y=!0)},p(a,s){(t=a)[5]||t[0].fixed?m&&(st(),it(m,1,1,(()=>{m=null})),nt()):m?33&s&&ot(m,1):(m=At(),m.c(),ot(m,1),m.m(r,null)),(!g||8&s)&&N(n,t[3]),t[1].identity.description?v?(v.p(t,s),2&s&&ot(v,1)):(v=Tt(t),v.c(),ot(v,1),v.m(e,null)):v&&(st(),it(v,1,1,(()=>{v=null})),nt()),t[5]?x&&(st(),it(x,1,1,(()=>{x=null})),nt()):x?(x.p(t,s),32&s&&ot(x,1)):(x=Ut(t),x.c(),ot(x,1),x.m(d,l));const o={};262176&s&&(o.$$scope={dirty:s,ctx:t}),p.$set(o),(!g||4&s)&&O(c,"id",t[2]),P&&P.p&&(!g||262144&s)&&k(P,$,t,t[18],s,null,null)},i(t){g||(ot(m),ot(v),ot(x),ot(p.$$.fragment,t),ot(P,t),g=!0)},o(t){it(m),it(v),it(x),it(p.$$.fragment,t),it(P,t),g=!1},d(t){t&&_(e),m&&m.d(),v&&v.d(),t&&_(i),t&&_(c),x&&x.d(),gt(p),t&&_(b),t&&_(h),P&&P.d(t),y=!1,u()}}}function Qt(t){let e,r;return e=new t[6]({props:{class:t[1]._id,$$slots:{default:[Kt]},$$scope:{ctx:t}}}),{c(){bt(e.$$.fragment)},m(t,a){ht(e,t,a),r=!0},p(t,[r]){const a={};2&r&&(a.class=t[1]._id),262207&r&&(a.$$scope={dirty:r,ctx:t}),e.$set(a)},i(t){r||(ot(e.$$.fragment,t),r=!0)},o(t){it(e.$$.fragment,t),r=!1},d(t){gt(e,t)}}}let Zt;const te=t=>{let e=t.selection.refClass;e.includes(".")&&(e=e.split(".")[1]);let r=[e];const a=[].concat(t.selection.lookup);return t.selection.lookup&&(r=r.concat(a.map((t=>t.refClass)))),t.selection.refreshOn&&r.push(t.selection.refreshOn),r},ee=(t,e,r)=>{if(!Zt)return;if(!t)return;const{eventClass:a}=t;"saleDelivery"!==a&&e.includes(a)&&setTimeout((()=>r()),200)};function re(t,e,r){let{$$slots:a={},$$scope:s}=e;const{Dialog:n,Button:o,Chip:i}=l,c=L();let d,p,{widget:b}=e,{widgetId:h}=e,{widgetItem:g}=e,{title:y}=e,{movePointerDown:u}=e,{resizePointerDown:m}=e,{resizePointerUp:f}=e,{widgetCols:v}=e,{obj:x}=e;const w=()=>{setTimeout((()=>{const t=document.getElementsByClassName(b._id)[0].parentElement;t.classList.add("hide-shadow");const e=document.getElementById(h);m(new CustomEvent("resizePointerDown",{detail:{target:e,pageX:g.x,pageY:g.y}})),(V(),G).then((()=>{f(new CustomEvent("resizePointerUp",{detail:{id:g.id}})),t.classList.remove("hide-shadow")}))}),200)};var k;return k=()=>{Zt=!0},T().$$.on_mount.push(k),function(t){T().$$.on_destroy.push(t)}((()=>{Zt=!1})),t.$$set=t=>{"widget"in t&&r(1,b=t.widget),"widgetId"in t&&r(2,h=t.widgetId),"widgetItem"in t&&r(0,g=t.widgetItem),"title"in t&&r(3,y=t.title),"movePointerDown"in t&&r(4,u=t.movePointerDown),"resizePointerDown"in t&&r(13,m=t.resizePointerDown),"resizePointerUp"in t&&r(14,f=t.resizePointerUp),"widgetCols"in t&&r(15,v=t.widgetCols),"obj"in t&&r(16,x=t.obj),"$$scope"in t&&r(18,s=t.$$scope)},t.$$.update=()=>{98304&t.$$.dirty&&(x||v)&&w()},[g,b,h,y,u,d,n,o,i,function(){r(5,d=!d);const t=document.getElementById(h).parentElement.parentElement,e=t.parentElement.parentElement,a=document.documentElement.scrollTop;if(d){t.classList.add("maximizeTaskModule");const{left:r,top:s,right:n,bottom:o,height:i}=t.getBoundingClientRect(),{top:c}=e.getBoundingClientRect();return p=t.firstElementChild.style.height,t.style.left=50-r+"px",t.style.top=100+(a+c)-s+"px",void(t.firstElementChild.style.height=document.documentElement.clientHeight/3*2+"px")}t.classList.remove("maximizeTaskModule"),t.style.left="unset",t.style.top="unset",t.firstElementChild.style.height=p},()=>{c("hide",{widget:b})},()=>{r(0,g.fixed=!0,g),c("lock",{lock:!0})},()=>{r(0,g.fixed=!1,g),c("lock",{lock:!1})},m,f,v,x,a,s]}class ae extends ut{constructor(t){var e;super(),qt.getElementById("svelte-3yynwe-style")||((e=I("style")).id="svelte-3yynwe-style",e.textContent=".eList.svelte-3yynwe{height:fit-content;max-height:65vh;overflow-y:auto;overflow-x:hidden}.header_icon.svelte-3yynwe{cursor:grab;color:#404040;opacity:0.5;margin-top:-1em;margin-left:-1.5em;min-width:1.5em}.visual-board .header-maximize{position:absolute;right:0;top:0}.visual-board .dialog{width:auto !important}.header-maximize, .task-maximize{color:#fff;padding:0}.visual-board .maximizeTaskModule{width:90vw !important;max-width:1200px;height:auto;position:fixed !important;z-index:2}.visual-board .hide-shadow + .shadow-active{background-color:transparent !important}.visual-board .maximizeTaskModule .eList{height:auto !important}.visual-board .dialog>.title p{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:80%;color:#326173;display:inline-block;font-size:1.2em;font-weight:500;margin-left:0.25em;margin-bottom:0.5em;margin-top:0.25em}.visual-board .dialog>.title>div+p+.title-text{display:none;position:absolute;left:2em;top:4em;background-color:#fefefe;border-color:black !important;border-radius:1.5625em;font-size:0.9em;font-style:italic;z-index:1000}.visual-board .dialog>.title>div+p:hover+.title-text{display:block}.visual-board .btn.first{margin-right:-0.5em}",z(qt.head,e)),yt(this,t,re,Qt,v,{widget:1,widgetId:2,widgetItem:0,title:3,movePointerDown:4,resizePointerDown:13,resizePointerUp:14,widgetCols:15,obj:16})}}function se(t){t[29]=t[32].items,t[30]=t[32].actions,t[31]=t[32].selection}function ne(t,e,r){const a=t.slice();return a[33]=e[r],a}function oe(t,e,r){const a=t.slice();return a[36]=e[r],a}function ie(t,e,r){const a=t.slice();return a[39]=e[r],a}function ce(t,e,r){const a=t.slice();return a[36]=e[r],a}function de(t,e,r){const a=t.slice();return a[39]=e[r],a}function le(t){return{c:g,m:g,p:g,i:g,o:g,d:g}}function pe(t){let e,r;return se(t),e=new ae({props:{title:t[1],widget:t[0],widgetItem:t[6],widgetId:t[5],movePointerDown:t[2],resizePointerDown:t[3],resizePointerUp:t[4],obj:t[8],widgetCols:t[7],$$slots:{default:[we]},$$scope:{ctx:t}}}),e.$on("hide",t[16]),e.$on("lock",t[17]),{c(){bt(e.$$.fragment)},m(t,a){ht(e,t,a),r=!0},p(t,r){se(t);const a={};2&r[0]&&(a.title=t[1]),1&r[0]&&(a.widget=t[0]),64&r[0]&&(a.widgetItem=t[6]),32&r[0]&&(a.widgetId=t[5]),4&r[0]&&(a.movePointerDown=t[2]),8&r[0]&&(a.resizePointerDown=t[3]),16&r[0]&&(a.resizePointerUp=t[4]),256&r[0]&&(a.obj=t[8]),128&r[0]&&(a.widgetCols=t[7]),256&r[0]|32768&r[1]&&(a.$$scope={dirty:r,ctx:t}),e.$set(a)},i(t){r||(ot(e.$$.fragment,t),r=!0)},o(t){it(e.$$.fragment,t),r=!1},d(t){gt(e,t)}}}function be(t){let e,r,a=t[39]?.designation+"";return{c(){e=I("th"),r=C(a),O(e,"class",$(t[39].type)+" svelte-1jza41i")},m(t,a){j(t,e,a),z(e,r)},p:g,d(t){t&&_(e)}}}function he(t){let e;return{c(){e=I("th"),e.textContent=" ",O(e,"class","svelte-1jza41i")},m(t,r){j(t,e,r)},d(t){t&&_(e)}}}function ge(t){let e,r,a=t[10](t[33],t[39])+"";return{c(){e=I("td"),r=C(a),O(e,"class",$(t[39].type)+" svelte-1jza41i")},m(t,a){j(t,e,a),z(e,r)},p(t,e){256&e[0]&&a!==(a=t[10](t[33],t[39])+"")&&N(r,a)},d(t){t&&_(e)}}}function ye(t){let e,r,a,s,n=t[10](t[33],t[39])+"";return{c(){e=I("td"),r=C(n),O(e,"class",$("link "+t[39].type)+" svelte-1jza41i")},m(n,o){j(n,e,o),z(e,r),a||(s=M(e,"click",(function(){f(t[12](t[33],t[39]))&&t[12](t[33],t[39]).apply(this,arguments)})),a=!0)},p(e,a){t=e,256&a[0]&&n!==(n=t[10](t[33],t[39])+"")&&N(r,n)},d(t){t&&_(e),a=!1,s()}}}function ue(t){let e;let r=function(t){return t[39].link?ye:ge}(t),a=r(t);return{c(){a.c(),e=S()},m(t,r){a.m(t,r),j(t,e,r)},p(t,e){a.p(t,e)},d(t){a.d(t),t&&_(e)}}}function me(t){let e,r;return e=new t[9]({props:{$$slots:{default:[fe]},$$scope:{ctx:t}}}),{c(){bt(e.$$.fragment)},m(t,a){ht(e,t,a),r=!0},p(t,r){const a={};32768&r[1]&&(a.$$scope={dirty:r,ctx:t}),e.$set(a)},i(t){r||(ot(e.$$.fragment,t),r=!0)},o(t){it(e.$$.fragment,t),r=!1},d(t){gt(e,t)}}}function fe(t){let e,r=t[36].designation+"";return{c(){e=C(r)},m(t,r){j(t,e,r)},p:g,d(t){t&&_(e)}}}function ve(t){let e,r,a,s,n=!t[14](t[33],t[36].filter),o=n&&me(t);return{c(){e=I("td"),o&&o.c(),O(e,"class","svelte-1jza41i")},m(n,i){j(n,e,i),o&&o.m(e,null),r=!0,a||(s=M(e,"click",(function(){f(t[15](t[33],t[36],t[31]))&&t[15](t[33],t[36],t[31]).apply(this,arguments)})),a=!0)},p(r,a){t=r,256&a[0]&&(n=!t[14](t[33],t[36].filter)),n?o?(o.p(t,a),256&a[0]&&ot(o,1)):(o=me(t),o.c(),ot(o,1),o.m(e,null)):o&&(st(),it(o,1,1,(()=>{o=null})),nt())},i(t){r||(ot(o),r=!0)},o(t){it(o),r=!1},d(t){t&&_(e),o&&o.d(),a=!1,s()}}}function xe(t){let e,r,a,s,n,o,i,c=t[29],d=[];for(let e=0;e<c.length;e+=1)d[e]=ue(ie(t,c,e));let l=t[30],p=[];for(let e=0;e<l.length;e+=1)p[e]=ve(oe(t,l,e));const b=t=>it(p[t],1,1,(()=>{p[t]=null}));return{c(){e=I("tr");for(let t=0;t<d.length;t+=1)d[t].c();r=E();for(let t=0;t<p.length;t+=1)p[t].c();a=E(),O(e,"class",s=$(t[33]._id?"pointer":"")+" svelte-1jza41i")},m(s,c){j(s,e,c);for(let t=0;t<d.length;t+=1)d[t].m(e,null);z(e,r);for(let t=0;t<p.length;t+=1)p[t].m(e,null);z(e,a),n=!0,o||(i=M(e,"click",(function(){f(t[13](t[33]))&&t[13](t[33]).apply(this,arguments)})),o=!0)},p(o,i){if(t=o,7424&i[0]){let a;for(c=t[29],a=0;a<c.length;a+=1){const s=ie(t,c,a);d[a]?d[a].p(s,i):(d[a]=ue(s),d[a].c(),d[a].m(e,r))}for(;a<d.length;a+=1)d[a].d(1);d.length=c.length}if(51456&i[0]){let r;for(l=t[30],r=0;r<l.length;r+=1){const s=oe(t,l,r);p[r]?(p[r].p(s,i),ot(p[r],1)):(p[r]=ve(s),p[r].c(),ot(p[r],1),p[r].m(e,a))}for(st(),r=l.length;r<p.length;r+=1)b(r);nt()}(!n||256&i[0]&&s!==(s=$(t[33]._id?"pointer":"")+" svelte-1jza41i"))&&O(e,"class",s)},i(t){if(!n){for(let t=0;t<l.length;t+=1)ot(p[t]);n=!0}},o(t){p=p.filter(Boolean);for(let t=0;t<p.length;t+=1)it(p[t]);n=!1},d(t){t&&_(e),P(d,t),P(p,t),o=!1,i()}}}function we(t){let e,r,a,s,n,o,i,c=t[29],d=[];for(let e=0;e<c.length;e+=1)d[e]=be(de(t,c,e));let l=t[30],p=[];for(let e=0;e<l.length;e+=1)p[e]=he(ce(t,l,e));let b=t[8],h=[];for(let e=0;e<b.length;e+=1)h[e]=xe(ne(t,b,e));const g=t=>it(h[t],1,1,(()=>{h[t]=null}));return{c(){e=I("table"),r=I("thead"),a=I("tr");for(let t=0;t<d.length;t+=1)d[t].c();s=E();for(let t=0;t<p.length;t+=1)p[t].c();n=E(),o=I("tbody");for(let t=0;t<h.length;t+=1)h[t].c();O(a,"class","svelte-1jza41i"),O(r,"class","svelte-1jza41i"),O(e,"striped",""),O(e,"class","svelte-1jza41i")},m(t,c){j(t,e,c),z(e,r),z(r,a);for(let t=0;t<d.length;t+=1)d[t].m(a,null);z(a,s);for(let t=0;t<p.length;t+=1)p[t].m(a,null);z(e,n),z(e,o);for(let t=0;t<h.length;t+=1)h[t].m(o,null);i=!0},p(t,e){if(2048&e[0]){let r;for(c=t[29],r=0;r<c.length;r+=1){const n=de(t,c,r);d[r]?d[r].p(n,e):(d[r]=be(n),d[r].c(),d[r].m(a,s))}for(;r<d.length;r+=1)d[r].d(1);d.length=c.length}if(64768&e[0]){let r;for(b=t[8],r=0;r<b.length;r+=1){const a=ne(t,b,r);h[r]?(h[r].p(a,e),ot(h[r],1)):(h[r]=xe(a),h[r].c(),ot(h[r],1),h[r].m(o,null))}for(st(),r=b.length;r<h.length;r+=1)g(r);nt()}},i(t){if(!i){for(let t=0;t<b.length;t+=1)ot(h[t]);i=!0}},o(t){h=h.filter(Boolean);for(let t=0;t<h.length;t+=1)it(h[t]);i=!1},d(t){t&&_(e),P(d,t),P(p,t),P(h,t)}}}function ke(t){return{c:g,m:g,p:g,i:g,o:g,d:g}}function $e(t){let e,r,a={ctx:t,current:null,token:null,hasCatch:!1,pending:ke,then:pe,catch:le,value:32,blocks:[,,,]};return ct(t[11](),a),{c(){e=S(),a.block.c()},m(t,s){j(t,e,s),a.block.m(t,a.anchor=s),a.mount=()=>e.parentNode,a.anchor=e,r=!0},p(e,r){dt(a,t=e,r)},i(t){r||(ot(a.block),r=!0)},o(t){for(let t=0;t<3;t+=1){it(a.blocks[t])}r=!1},d(t){t&&_(e),a.block.d(t),a.token=null,a=null}}}function ze(t,e){try{return e.split(".").reduce(((t,e)=>t[e]),t)??""}catch{return""}}function je(t,n,o){const{Button:i,Modal:d,Dialog:p}=l,b=L();let h,g,y,{widget:u}=n,{title:m}=n,{movePointerDown:f}=n,{resizePointerDown:v}=n,{resizePointerUp:x}=n,{widgetId:w}=n,{widgetItem:k}=n,{widgetCols:$}=n,z=[],j=[];const _=JSON.parse(e.getItem("Locale")).id,P=(t,e)=>Array.isArray(e.name)?e.name.map((r=>{const a={...e};return a.name=r,D(t,a)})).filter((t=>!!t)).join(", "):D(t,e),I=(t,e,r=!1)=>{if(!e?.split)return"";const[a,s]=e.split("T"),[n]=s.split(":");let[o,i,c]=a.split("-");return n>22&&(c=("00"+(+c+1)).slice(-2)),r?i+"."+c:t.replace("yy",o).replace("mm",i).replace("dd",c)},D=(t,e)=>{if(!e)return;let r=ze(t,e.name);if(r||!1===r||(r=t[e.name]),e.refItem&&(r=ze(t[e.refItem],e.name)),e.refClass&&!r){const[a,s]=e.refClass?.split(".");s&&(r=ze(t[s],e.name))}if(Array.isArray(r)){const t=t=>t.replaceAll(" ",String.fromCharCode(160));r=r.map(t),r.length>3&&(r=r.slice(0,3),r=r.concat("...")),r=r.join(", ")}if("number"===e.type)if(e.value){let{type:o,input:i}=e.value;"age"===o&&(i=ze(t,i),a=new Date(i),s=Date.now()-a.getTime(),n=new Date(s),r=Math.abs(n.getUTCFullYear()-1970))}else{const t=e.properties?.decimals;r=Number(r)?Number(r).toLocaleString(_,{minimumFractionDigits:t||0,maximumFractionDigits:t||0}):""}var a,s,n;return"date"===e.type&&e.format&&(r=I(e.format,r)),"number"===e.type?r:"boolean"==typeof r?(t=>t?"(ja)":"(nein)")(r):((t,e)=>"string"!=typeof t||t.length<20||!(e=t.split(" · "))?t:e.map((t=>2===t.split("T").length&&3===t.split("T")[0].split("-").length?new Date(t).toLocaleDateString():t)).filter((t=>!!t)).join(" · "))(r||"")},C=async()=>{const t=u.output.class[0],{selection:e,item:r}=t;let a=t.action||[];const{refClass:n,lookup:i,group:c,sort:d}=e;let[l,p]=n.split(".");h=y=p||l;let b=await s.getWidgetSelection(u._id);if(c){const t=[];for(let e of b)if(e._list){const r={[c.by]:e[c.by]};for(const t of i){r[t.name]=[];for(const a of e._list)r[t.name]=r[t.name].concat(a[t.name])}t.push(r)}t.length&&(b=t)}for(const t of r)if(t.name.includes(".")){let[e,...r]=t.name.split(".");r=r.join(".");for(const a of b)Array.isArray(a[e])&&(a[t.name]=a[e].reduce(((e,a,s)=>{const[n,o]=r.split(".");if(Array.isArray(a[n]))return e+a[n].reduce(((t,e)=>t+ +ze(e,o)),0);{let n=ze(a,r);return"_amount"!==r||n||(n=+(ze(a,"price")||0)*+(ze(a,"quantity")||0)),e+("number"===t.type?+(n||0):(s?", ":"")+n)}}),"number"===t.type?0:""));d&&d[t.name]&&(d[t.name],b=b.sort(((e,r)=>{const a=e[t.name],s=r[t.name];return 1===d[t.name]?a-s:s-a})))}else if(d&&d[t.name]&&t.format){if(t.filter){let e=I(t.format,(new Date).toISOString()),[,r]=e.split(".");r=+r;let a=+r+t.filter;a>12&&(a-=12),b=b.filter((e=>{const s=I(t.format,e[t.name]),[,n]=s.split(".");return r<a?n>=r&&n<=a:n>=r||n<=a}))}b=b.sort(((e,r)=>{const a=I(t.format,e[t.name],!0),s=I(t.format,r[t.name],!0);return 1===d[t.name]?a-s:s-a}))}for(const t of a||[]){const{event:e,designation:r,target:a}=t,n=await s.getEvents();t.follower=n.find((t=>t.identity.name===e)),a&&(t.refItem=a)}return j=te(t),o(8,z=[...b]),{items:r,actions:a,selection:e}};r.subscribe((async t=>ee(t,j,C))),a.subscribe((async t=>ee(t,j,C)));return t.$$set=t=>{"widget"in t&&o(0,u=t.widget),"title"in t&&o(1,m=t.title),"movePointerDown"in t&&o(2,f=t.movePointerDown),"resizePointerDown"in t&&o(3,v=t.resizePointerDown),"resizePointerUp"in t&&o(4,x=t.resizePointerUp),"widgetId"in t&&o(5,w=t.widgetId),"widgetItem"in t&&o(6,k=t.widgetItem),"widgetCols"in t&&o(7,$=t.widgetCols)},[u,m,f,v,x,w,k,$,z,i,P,C,(t,e)=>r=>{r.stopPropagation();const a=e.link,s=P(t,e);if("tel"===a)return window.open(`tel:${s}`,"_self");if("email"===a)return window.open(`mailto:${s}`,"_self");if("url"===a)return window.open(s.includes("://")?s:`https://${s}`,"_blank");if("map"!==a);else{const r=[].concat(e.name)[0].split(".").slice(0,-1).join(".");c(ze(t,r)).then((t=>window.open(t,"_blank")))}},t=>async e=>{if(!t._id)return;const r=await s.getTask(y,t._id);window.open(`/task/${r._task.event}/${r._task.task_id}/task?view=standalone`,"_blank")},(t,e)=>{if(!e)return!1;const{refItem:r,value:a,op:s="eq"}=e,n=t[r];return"eq"===s?n==a:"ne"===s?n!=a:"lte"===s?n<=a:"lt"===s?n<a:"gte"===s?n>=a:"gt"===s&&n>a},(t,e,r)=>async a=>{if(a.stopPropagation(),"report"===e.follower.output?.type){const a=await s.getTask(r.refClass,t._id),n=`/reporting/${e.follower._id}/${a._task.task_id}?view=standalone&back=true`;return window.singleSpaNavigate(n),!1}if("inline"===e.type)return g=await s.getSchema(e.follower._id,!0),b("shortEdit",{action:e,selection:r,schema:g,row:t}),!1;const{follower:n,refItem:o}=e;let i=t._id;o&&(i=t[o],h=o);let c="";e.target&&(c=":"+t._id);const d=await s.getTask(h,i);return window.open(`/task/${d._task.event}/${d._task.task_id}/task/${n._id}${c}?view=standalone`,"_blank"),!1},function(e){U(t,e)},function(e){U(t,e)}]}class _e extends ut{constructor(t){var e;super(),document.getElementById("svelte-1jza41i-style")||((e=I("style")).id="svelte-1jza41i-style",e.textContent=".eList table.svelte-1jza41i thead.svelte-1jza41i{position:sticky;top:0;background:#326173;color:white}.eList table.svelte-1jza41i thead tr.svelte-1jza41i{height:2.3em}.eList table.svelte-1jza41i tbody tr.svelte-1jza41i{height:2.75em !important}.eList table.svelte-1jza41i th.number.svelte-1jza41i,.eList table.svelte-1jza41i td.number.svelte-1jza41i{text-align:end}.eList table.svelte-1jza41i th.date.svelte-1jza41i,.eList table.svelte-1jza41i td.date.svelte-1jza41i{text-align:center}.eList table.svelte-1jza41i td.link.svelte-1jza41i{color:#326173}th.svelte-1jza41i.svelte-1jza41i,td.svelte-1jza41i.svelte-1jza41i{padding-left:0.4em;padding-right:0.4em}tr.pointer.svelte-1jza41i.svelte-1jza41i:hover{background-color:#DAE1E5}.visual-board .maximizeTaskModule .dialog{min-height:75vh !important}",z(document.head,e)),yt(this,t,je,$e,v,{widget:0,title:1,movePointerDown:2,resizePointerDown:3,resizePointerUp:4,widgetId:5,widgetItem:6,widgetCols:7},[-1,-1])}}function Pe(t,e,r){const a=t.slice();return a[41]=e[r],a}function Ie(t,e,r){const a=t.slice();return a[41]=e[r],a[43]=r,a}function De(t,e,r){const a=t.slice();return a[38]=e[r],a[40]=r,a}function Ce(t,e,r){const a=t.slice();return a[41]=e[r],a[43]=r,a}function Ee(t,e,r){const a=t.slice();return a[38]=e[r],a[40]=r,a}function Se(t){return{c:g,m:g,p:g,i:g,o:g,d:g}}function Me(t){let e,r,a,s;const n=[Be,Oe],o=[];function i(t,e){return t[9]?0:1}return e=i(t),r=o[e]=n[e](t),{c(){r.c(),a=S()},m(t,r){o[e].m(t,r),j(t,a,r),s=!0},p(t,s){let c=e;e=i(t),e===c?o[e].p(t,s):(st(),it(o[c],1,1,(()=>{o[c]=null})),nt(),r=o[e],r?r.p(t,s):(r=o[e]=n[e](t),r.c()),ot(r,1),r.m(a.parentNode,a))},i(t){s||(ot(r),s=!0)},o(t){it(r),s=!1},d(t){o[e].d(t),t&&_(a)}}}function Oe(t){let e,r;return e=new ae({props:{title:t[1],widget:t[0],widgetItem:t[6],widgetId:t[5],movePointerDown:t[2],resizePointerDown:t[3],resizePointerUp:t[4],obj:t[11],widgetCols:t[7],$$slots:{default:[Re]},$$scope:{ctx:t}}}),e.$on("hide",t[22]),{c(){bt(e.$$.fragment)},m(t,a){ht(e,t,a),r=!0},p(t,r){const a={};2&r[0]&&(a.title=t[1]),1&r[0]&&(a.widget=t[0]),64&r[0]&&(a.widgetItem=t[6]),32&r[0]&&(a.widgetId=t[5]),4&r[0]&&(a.movePointerDown=t[2]),8&r[0]&&(a.resizePointerDown=t[3]),16&r[0]&&(a.resizePointerUp=t[4]),2048&r[0]&&(a.obj=t[11]),128&r[0]&&(a.widgetCols=t[7]),14592&r[0]|131072&r[1]&&(a.$$scope={dirty:r,ctx:t}),e.$set(a)},i(t){r||(ot(e.$$.fragment,t),r=!0)},o(t){it(e.$$.fragment,t),r=!1},d(t){gt(e,t)}}}function Be(t){let e,r;return e=new ae({props:{title:t[1],widget:t[0],widgetItem:t[6],widgetId:t[5],movePointerDown:t[2],resizePointerDown:t[3],resizePointerUp:t[4],obj:t[11],widgetCols:t[7],$$slots:{default:[Ke]},$$scope:{ctx:t}}}),e.$on("hide",t[20]),e.$on("lock",t[21]),{c(){bt(e.$$.fragment)},m(t,a){ht(e,t,a),r=!0},p(t,r){const a={};2&r[0]&&(a.title=t[1]),1&r[0]&&(a.widget=t[0]),64&r[0]&&(a.widgetItem=t[6]),32&r[0]&&(a.widgetId=t[5]),4&r[0]&&(a.movePointerDown=t[2]),8&r[0]&&(a.resizePointerDown=t[3]),16&r[0]&&(a.resizePointerUp=t[4]),2048&r[0]&&(a.obj=t[11]),128&r[0]&&(a.widgetCols=t[7]),16128&r[0]|131072&r[1]&&(a.$$scope={dirty:r,ctx:t}),e.$set(a)},i(t){r||(ot(e.$$.fragment,t),r=!0)},o(t){it(e.$$.fragment,t),r=!1},d(t){gt(e,t)}}}function Ne(t){let e,r,a,s,n,o=t[18](t[41].value,t[41].decimals)+"",i=t[41].tooltip&&qe(t);return{c(){e=I("td"),i&&i.c(),r=E(),a=I("span"),s=C(o),O(a,"class","data"),O(e,"style",n=t[16](t[41],t[43],t[12]))},m(t,n){j(t,e,n),i&&i.m(e,null),z(e,r),z(e,a),z(a,s)},p(t,a){t[41].tooltip?i?i.p(t,a):(i=qe(t),i.c(),i.m(e,r)):i&&(i.d(1),i=null),2048&a[0]&&o!==(o=t[18](t[41].value,t[41].decimals)+"")&&N(s,o),6144&a[0]&&n!==(n=t[16](t[41],t[43],t[12]))&&O(e,"style",n)},d(t){t&&_(e),i&&i.d()}}}function We(t){let e,r,a,s,n,o=t[18](t[41].value,t[41].decimals)+"",i=t[41].tooltip&&Ae(t);return{c(){e=I("td"),i&&i.c(),r=E(),a=I("span"),s=C(o),O(a,"class",n="data "+t[19](t[41].value,t[12],t[8])),W(e,"--size",t[41].value/t[12])},m(t,n){j(t,e,n),i&&i.m(e,null),z(e,r),z(e,a),z(a,s)},p(t,c){t[41].tooltip?i?i.p(t,c):(i=Ae(t),i.c(),i.m(e,r)):i&&(i.d(1),i=null),2048&c[0]&&o!==(o=t[18](t[41].value,t[41].decimals)+"")&&N(s,o),6400&c[0]&&n!==(n="data "+t[19](t[41].value,t[12],t[8]))&&O(a,"class",n),6144&c[0]&&W(e,"--size",t[41].value/t[12])},d(t){t&&_(e),i&&i.d()}}}function qe(t){let e,r,a=t[41].tooltip+"";return{c(){e=I("span"),r=C(a),O(e,"class","tooltip")},m(t,a){j(t,e,a),z(e,r)},p(t,e){2048&e[0]&&a!==(a=t[41].tooltip+"")&&N(r,a)},d(t){t&&_(e)}}}function Ae(t){let e,r,a=t[41].tooltip+"";return{c(){e=I("span"),r=C(a),O(e,"class","tooltip")},m(t,a){j(t,e,a),z(e,r)},p(t,e){2048&e[0]&&a!==(a=t[41].tooltip+"")&&N(r,a)},d(t){t&&_(e)}}}function Te(t){let e,r,a,s,n,o=t[41].title+"";function i(t,e){return"bar"===t[8]||"column"===t[8]?We:Ne}let c=i(t),d=c(t);return{c(){e=I("tr"),r=I("th"),a=C(o),s=E(),d.c(),n=E(),O(r,"scope","row")},m(t,o){j(t,e,o),z(e,r),z(r,a),z(e,s),d.m(e,null),z(e,n)},p(t,r){2048&r[0]&&o!==(o=t[41].title+"")&&N(a,o),c===(c=i(t))&&d?d.p(t,r):(d.d(1),d=c(t),d&&(d.c(),d.m(e,n)))},d(t){t&&_(e),d.d()}}}function Le(t){let e,r=t[11],a=[];for(let e=0;e<r.length;e+=1)a[e]=Ue(Pe(t,r,e));return{c(){e=I("ul");for(let t=0;t<a.length;t+=1)a[t].c();O(e,"class","charts-css legend legen-square"),W(e,"flex-direction","columm"),W(e,"align-self","center"),W(e,"margin-left","1em"),W(e,"width","fit-content")},m(t,r){j(t,e,r);for(let t=0;t<a.length;t+=1)a[t].m(e,null)},p(t,s){if(2048&s[0]){let n;for(r=t[11],n=0;n<r.length;n+=1){const o=Pe(t,r,n);a[n]?a[n].p(o,s):(a[n]=Ue(o),a[n].c(),a[n].m(e,null))}for(;n<a.length;n+=1)a[n].d(1);a.length=r.length}},d(t){t&&_(e),P(a,t)}}}function Ue(t){let e,r,a=t[41].title+"";return{c(){e=I("li"),r=C(a)},m(t,a){j(t,e,a),z(e,r)},p(t,e){2048&e[0]&&a!==(a=t[41].title+"")&&N(r,a)},d(t){t&&_(e)}}}function Re(t){let e,r,a,s,n,o=t[11],i=[];for(let e=0;e<o.length;e+=1)i[e]=Te(Ie(t,o,e));let c="pie"===t[8]&&Le(t);return{c(){e=I("table"),r=I("tbody");for(let t=0;t<i.length;t+=1)i[t].c();s=E(),c&&c.c(),n=S(),O(e,"class",a=`${t[8]} charts-css show-labels show-primary-axis data-spacing-10${"pie"!==t[8]?" show-"+t[13]+"-secondary-axes":""}`)},m(t,a){j(t,e,a),z(e,r);for(let t=0;t<i.length;t+=1)i[t].m(r,null);j(t,s,a),c&&c.m(t,a),j(t,n,a)},p(t,s){if(858368&s[0]){let e;for(o=t[11],e=0;e<o.length;e+=1){const a=Ie(t,o,e);i[e]?i[e].p(a,s):(i[e]=Te(a),i[e].c(),i[e].m(r,null))}for(;e<i.length;e+=1)i[e].d(1);i.length=o.length}8448&s[0]&&a!==(a=`${t[8]} charts-css show-labels show-primary-axis data-spacing-10${"pie"!==t[8]?" show-"+t[13]+"-secondary-axes":""}`)&&O(e,"class",a),"pie"===t[8]?c?c.p(t,s):(c=Le(t),c.c(),c.m(n.parentNode,n)):c&&(c.d(1),c=null)},d(t){t&&_(e),P(i,t),t&&_(s),c&&c.d(t),t&&_(n)}}}function Xe(t){let e,r,a,s,n,o=t[17](t[38],t[41])+"",i=t[41].tooltip&&He(t);return{c(){e=I("td"),i&&i.c(),r=E(),a=I("span"),s=C(o),O(a,"class","data"),W(a,"align-self","center"),O(e,"style",n=t[15](t[38],t[41],t[43],t[40],t[12]))},m(t,n){j(t,e,n),i&&i.m(e,null),z(e,r),z(e,a),z(a,s)},p(t,a){t[41].tooltip?i?i.p(t,a):(i=He(t),i.c(),i.m(e,r)):i&&(i.d(1),i=null),2048&a[0]&&o!==(o=t[17](t[38],t[41])+"")&&N(s,o),6144&a[0]&&n!==(n=t[15](t[38],t[41],t[43],t[40],t[12]))&&O(e,"style",n)},d(t){t&&_(e),i&&i.d()}}}function Fe(t){let e,r,a,s,n=t[17](t[38],t[41])+"",o=t[41].tooltip&&Ge(t);return{c(){e=I("td"),o&&o.c(),r=E(),a=I("span"),s=C(n),O(a,"class","data"),W(a,"align-self","center"),W(e,"--size",t[38]["_"+t[41].name]/t[12])},m(t,n){j(t,e,n),o&&o.m(e,null),z(e,r),z(e,a),z(a,s)},p(t,a){t[41].tooltip?o?o.p(t,a):(o=Ge(t),o.c(),o.m(e,r)):o&&(o.d(1),o=null),2048&a[0]&&n!==(n=t[17](t[38],t[41])+"")&&N(s,n),6144&a[0]&&W(e,"--size",t[38]["_"+t[41].name]/t[12])},d(t){t&&_(e),o&&o.d()}}}function He(t){let e,r,a=t[41].tooltip+"";return{c(){e=I("span"),r=C(a),O(e,"class","tooltip")},m(t,a){j(t,e,a),z(e,r)},p(t,e){2048&e[0]&&a!==(a=t[41].tooltip+"")&&N(r,a)},d(t){t&&_(e)}}}function Ge(t){let e,r,a=t[41].tooltip+"";return{c(){e=I("span"),r=C(a),O(e,"class","tooltip")},m(t,a){j(t,e,a),z(e,r)},p(t,e){2048&e[0]&&a!==(a=t[41].tooltip+"")&&N(r,a)},d(t){t&&_(e)}}}function Je(t){let e;function r(t,e){return"bar"===t[8]||"column"===t[8]?Fe:Xe}let a=r(t),s=a(t);return{c(){s.c(),e=S()},m(t,r){s.m(t,r),j(t,e,r)},p(t,n){a===(a=r(t))&&s?s.p(t,n):(s.d(1),s=a(t),s&&(s.c(),s.m(e.parentNode,e)))},d(t){s.d(t),t&&_(e)}}}function Ve(t){let e,r,a,s,n,o=t[41].title+(t[10]?" ("+t[18](t[41].value,t[41].decimals)+")":""),i=t[37],c=[];for(let e=0;e<i.length;e+=1)c[e]=Je(Ee(t,i,e));return{c(){e=I("tr"),r=I("th"),a=C(o),s=E();for(let t=0;t<c.length;t+=1)c[t].c();n=E(),O(r,"scope","row")},m(t,o){j(t,e,o),z(e,r),z(r,a),z(e,s);for(let t=0;t<c.length;t+=1)c[t].m(e,null);z(e,n)},p(t,r){if(3072&r[0]&&o!==(o=t[41].title+(t[10]?" ("+t[18](t[41].value,t[41].decimals)+")":""))&&N(a,o),186624&r[0]){let a;for(i=t[37],a=0;a<i.length;a+=1){const s=Ee(t,i,a);c[a]?c[a].p(s,r):(c[a]=Je(s),c[a].c(),c[a].m(e,n))}for(;a<c.length;a+=1)c[a].d(1);c.length=i.length}},d(t){t&&_(e),P(c,t)}}}function Ye(t){let e,r,a=t[38]._title+"";return{c(){e=I("li"),r=C(a)},m(t,a){j(t,e,a),z(e,r)},p:g,d(t){t&&_(e)}}}function Ke(t){let e,r,a,s,n,o,i=t[11],c=[];for(let e=0;e<i.length;e+=1)c[e]=Ve(Ce(t,i,e));let d=t[37],l=[];for(let e=0;e<d.length;e+=1)l[e]=Ye(De(t,d,e));return{c(){e=I("div"),r=I("table"),a=I("tbody");for(let t=0;t<c.length;t+=1)c[t].c();n=E(),o=I("ul");for(let t=0;t<l.length;t+=1)l[t].c();O(r,"class",s=`charts-css ${t[8]}${t[9]?" multiple":""}${t[10]?" stacked":""} show-labels show-primary-axis data-spacing-10${"pie"!==t[8]?" show-"+t[13]+"-secondary-axes":""} reverse-datasets`),O(o,"class","charts-css legend legend-square"),W(o,"flex-direction","columm"),W(o,"align-self","center"),W(o,"margin-left","1em"),W(o,"width","fit-content"),W(e,"display","flex")},m(t,s){j(t,e,s),z(e,r),z(r,a);for(let t=0;t<c.length;t+=1)c[t].m(a,null);z(e,n),z(e,o);for(let t=0;t<l.length;t+=1)l[t].m(o,null)},p(t,e){if(449792&e[0]){let r;for(i=t[11],r=0;r<i.length;r+=1){const s=Ce(t,i,r);c[r]?c[r].p(s,e):(c[r]=Ve(s),c[r].c(),c[r].m(a,null))}for(;r<c.length;r+=1)c[r].d(1);c.length=i.length}if(9984&e[0]&&s!==(s=`charts-css ${t[8]}${t[9]?" multiple":""}${t[10]?" stacked":""} show-labels show-primary-axis data-spacing-10${"pie"!==t[8]?" show-"+t[13]+"-secondary-axes":""} reverse-datasets`)&&O(r,"class",s),16384&e[0]){let r;for(d=t[37],r=0;r<d.length;r+=1){const a=De(t,d,r);l[r]?l[r].p(a,e):(l[r]=Ye(a),l[r].c(),l[r].m(o,null))}for(;r<l.length;r+=1)l[r].d(1);l.length=d.length}},d(t){t&&_(e),P(c,t),P(l,t)}}}function Qe(t){return{c:g,m:g,p:g,i:g,o:g,d:g}}function Ze(t){let e,r,a={ctx:t,current:null,token:null,hasCatch:!1,pending:Qe,then:Me,catch:Se,value:37,blocks:[,,,]};return ct(t[14](),a),{c(){e=S(),a.block.c()},m(t,s){j(t,e,s),a.block.m(t,a.anchor=s),a.mount=()=>e.parentNode,a.anchor=e,r=!0},p(e,r){dt(a,t=e,r)},i(t){r||(ot(a.block),r=!0)},o(t){for(let t=0;t<3;t+=1){it(a.blocks[t])}r=!1},d(t){t&&_(e),a.block.d(t),a.token=null,a=null}}}function tr(t,e){try{return e.split(".").reduce(((t,e)=>t[e]),t)??""}catch{return""}}function er(t,n,o){let i,c,d,{widget:l}=n,{title:p}=n,{movePointerDown:b}=n,{resizePointerDown:h}=n,{resizePointerUp:g}=n,{widgetId:y}=n,{widgetItem:u}=n,{widgetCols:m}=n,{type:f}=n,{multiple:v}=n,{stacked:x}=n,w=[];const k=JSON.parse(e.getItem("Locale")).id,$=async()=>{const t=l.output.class[0],{item:e}=t;t.selection,w=te(t);const r=await s.getWidgetSelection(l._id);if(v){if(I(t.selection.group,r),e.forEach((t=>_(t,r))),o(11,i=e.map((t=>({name:t.name,value:D(j(r,t.name),t.properties?.decimals),title:t.designation,tooltip:t.tooltip,decimals:t.properties?.decimals})))),"pie"!==f){const t=P(r,i);o(12,c=t.total),o(13,d=t.stufen)}else o(12,c=i.reduce(((t,e)=>t+e.value),0));return r}if(o(11,i=e.map((t=>({title:t.designation,value:D(S(t.name,r),t.properties?.decimals),tooltip:t.tooltip,decimals:t.properties?.decimals})))),"pie"!==f){const t=C(i);o(12,c=t.total),o(13,d=t.stufen)}else o(12,c=i.reduce(((t,e)=>t+e.value),0))};let z=[];const j=(t,e)=>t.reduce(((t,r)=>t+parseFloat(r["_"+e])),0),_=(t,e)=>{for(let r of e)r["_"+t.name]=D(S(t.name,r._list),t.decimals)},P=(t,e)=>{let r,a=0;for(const s of e)r=t.reduce(((t,e)=>t+parseFloat(e["_"+s.name])),0),r>a&&(a=r);const s=Math.floor(a).toString().length,n=Math.floor(a/10**(s-1)+1);return{total:n*10**(s-1),stufen:n}},I=(t,e)=>{let{refClass:r,title:a}=t;r=r.split(".")[0],a=[].concat(a);for(let t of a)t=r?r+"."+t:t;for(const t of e)t._title=a.map((e=>tr(t[r],e))).join(" ")},D=(t,e)=>e?Number(t).toFixed(e):t,C=t=>{const e=Math.floor(Math.max(...t.map((t=>t.value)))),r=e.toString().length,a=Math.floor(e/10**(r-1)+1);return{total:a*10**(r-1),stufen:a}},E=(t,e)=>parseFloat(t).toLocaleString(k,{minimumFractionDigits:e||0,maximumFractionDigits:e||0}),S=(t,e)=>e.reduce(((e,r)=>e+ +M(t.split("."),r)),0),M=(t,e)=>{if(!t)return 0;let r,a=t[0],s=a.split(":");return s.length&&s.length>1?(a=s[1],s=s[0],r=e[s]?.length?e[a]:""):r=e[a],Array.isArray(r)?r.reduce(((e,r)=>e+ +M(t.slice(1),r)),0):+r};return r.subscribe((async t=>ee(t,w,$))),a.subscribe((async t=>ee(t,w,$))),t.$$set=t=>{"widget"in t&&o(0,l=t.widget),"title"in t&&o(1,p=t.title),"movePointerDown"in t&&o(2,b=t.movePointerDown),"resizePointerDown"in t&&o(3,h=t.resizePointerDown),"resizePointerUp"in t&&o(4,g=t.resizePointerUp),"widgetId"in t&&o(5,y=t.widgetId),"widgetItem"in t&&o(6,u=t.widgetItem),"widgetCols"in t&&o(7,m=t.widgetCols),"type"in t&&o(8,f=t.type),"multiple"in t&&o(9,v=t.multiple),"stacked"in t&&o(10,x=t.stacked)},[l,p,b,h,g,y,u,m,f,v,x,i,c,d,$,(t,e,r,a,s)=>{const n=parseFloat(t["_"+e.name])/s;return`--start: ${r||(z[a]=0),z[a]}; --end: ${z[a]+=n,z[a]};`},(t,e,r)=>{const a=parseFloat(t.value)/r;return`--start: ${e||(z[0]=0),z[0]}; --end: ${z[0]+=a,z[0]};`},(t,e)=>parseFloat(t["_"+e.name])?E(t["_"+e.name],e.decimals):"",E,(t,e,r)=>t/e>("bar"===r?.8:.9)?"inside":"outside",function(e){U(t,e)},function(e){U(t,e)},function(e){U(t,e)}]}!function(t,e){void 0===e&&(e={});var r=e.insertAt;if(t&&"undefined"!=typeof document){var a=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css","top"===r&&a.firstChild?a.insertBefore(s,a.firstChild):a.appendChild(s),s.styleSheet?s.styleSheet.cssText=t:s.appendChild(document.createTextNode(t))}}('@property --color-1{syntax:"<color>";initial-value:transparent;inherits:true}@property --color-2{syntax:"<color>";initial-value:transparent;inherits:true}@property --color-3{syntax:"<color>";initial-value:transparent;inherits:true}@property --color-4{syntax:"<color>";initial-value:transparent;inherits:true}@property --color-5{syntax:"<color>";initial-value:transparent;inherits:true}@property --color-6{syntax:"<color>";initial-value:transparent;inherits:true}@property --color-7{syntax:"<color>";initial-value:transparent;inherits:true}@property --color-8{syntax:"<color>";initial-value:transparent;inherits:true}@property --color-9{syntax:"<color>";initial-value:transparent;inherits:true}@property --color-10{syntax:"<color>";initial-value:transparent;inherits:true}@property --color{syntax:"<color>";inherits:true}@property --chart-bg-color{syntax:"<color>";inherits:true}@property --aspect-ratio{syntax:"<ratio>";initial-value:auto;inherits:true}@property --labels-size{syntax:"<length>";initial-value:0;inherits:true}@property --labels-align-block{syntax:"<string>";inherits:true}@property --labels-align-inline{syntax:"<string>";inherits:true}@property --primary-axis-width{syntax:"<length>";initial-value:1px;inherits:true}@property --secondary-axes-width{syntax:"<length>";initial-value:1px;inherits:true}@property --data-axes-width{syntax:"<length>";initial-value:1px;inherits:true}@property --legend-border-width{syntax:"<length>";initial-value:1px;inherits:true}@property --primary-axis-style{syntax:"<line-style>";initial-value:solid;inherits:true}@property --secondary-axes-style{syntax:"<line-style>";initial-value:solid;inherits:true}@property --data-axes-style{syntax:"<line-style>";initial-value:solid;inherits:true}@property --legend-border-style{syntax:"<line-style>";initial-value:solid;inherits:true}@property --primary-axis-color{syntax:"<color>";initial-value:transparent;inherits:true}@property --secondary-axes-color{syntax:"<color>";initial-value:transparent;inherits:true}@property --data-axes-color{syntax:"<color>";initial-value:transparent;inherits:true}@property --legend-border-color{syntax:"<color>";initial-value:transparent;inherits:true}@property --start{syntax:"<number>";inherits: