New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hpcc-js/react

Package Overview
Dependencies
Maintainers
1
Versions
207
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hpcc-js/react - npm Package Compare versions

Comparing version 2.31.0 to 2.32.0

6

dist/index.es6.js
import { Utility, Palette, publish, HTMLWidget, SVGWidget } from '@hpcc-js/common';
var PKG_NAME = "@hpcc-js/react";
var PKG_VERSION = "2.31.0";
var BUILD_VERSION = "2.65.0";
var PKG_VERSION = "2.32.0";
var BUILD_VERSION = "2.67.0";
var PKG_NAME$1 = "@hpcc-js/preact-shim";
var PKG_VERSION$1 = "2.13.13";
var BUILD_VERSION$1 = "2.65.0";
var BUILD_VERSION$1 = "2.67.0";

@@ -11,0 +11,0 @@ var n,u,i,t,o,f,r={},e=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function a(n){var l=n.parentNode;l&&l.removeChild(n);}function h(n,l,u){var i,t=arguments,o={};for(i in l)"key"!==i&&"ref"!==i&&(o[i]=l[i]);if(arguments.length>3)for(u=[u],i=3;i<arguments.length;i++)u.push(t[i]);if(null!=u&&(o.children=u),"function"==typeof n&&null!=n.defaultProps)for(i in n.defaultProps)void 0===o[i]&&(o[i]=n.defaultProps[i]);return v(n,o,l&&l.key,l&&l.ref)}function v(l,u,i,t){var o={type:l,props:u,key:i,ref:t,__k:null,__:null,__b:0,__e:null,__d:null,__c:null,constructor:void 0};return n.vnode&&n.vnode(o),o}function y(n){return n.children}function d(n,l){this.props=n,this.context=l;}function m(n,l){if(null==l)return n.__?m(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?m(n):null}function w(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return w(n)}}function g(l){(!l.__d&&(l.__d=!0)&&1===u.push(l)||t!==n.debounceRendering)&&((t=n.debounceRendering)||i)(k);}function k(){var n,l,i,t,o,f,r;for(u.sort(function(n,l){return l.__v.__b-n.__v.__b});n=u.pop();)n.__d&&(i=void 0,t=void 0,f=(o=(l=n).__v).__e,(r=l.__P)&&(i=[],t=T(r,o,s({},o),l.__n,void 0!==r.ownerSVGElement,null,i,null==f?m(o):f),$(i,o),t!=f&&w(o)));}function _(n,l,u,i,t,o,f,c,s){var h,v,p,y,d,w,g,k=u&&u.__k||e,_=k.length;if(c==r&&(c=null!=o?o[0]:_?m(u,0):null),h=0,l.__k=b(l.__k,function(u){if(null!=u){if(u.__=l,u.__b=l.__b+1,null===(p=k[h])||p&&u.key==p.key&&u.type===p.type)k[h]=void 0;else for(v=0;v<_;v++){if((p=k[v])&&u.key==p.key&&u.type===p.type){k[v]=void 0;break}p=null;}if(y=T(n,u,p=p||r,i,t,o,f,c,s),(v=u.ref)&&p.ref!=v&&(g||(g=[]),p.ref&&g.push(p.ref,null,u),g.push(v,u.__c||y,u)),null!=y){if(null==w&&(w=y),null!=u.__d)y=u.__d,u.__d=null;else if(o==p||y!=c||null==y.parentNode){n:if(null==c||c.parentNode!==n)n.appendChild(y);else {for(d=c,v=0;(d=d.nextSibling)&&v<_;v+=2)if(d==y)break n;n.insertBefore(y,c);}"option"==l.type&&(n.value="");}c=y.nextSibling,"function"==typeof l.type&&(l.__d=y);}}return h++,u}),l.__e=w,null!=o&&"function"!=typeof l.type)for(h=o.length;h--;)null!=o[h]&&a(o[h]);for(h=_;h--;)null!=k[h]&&A(k[h],k[h]);if(g)for(h=0;h<g.length;h++)z(g[h],g[++h],g[++h]);}function b(n,l,u){if(null==u&&(u=[]),null==n||"boolean"==typeof n)l&&u.push(l(null));else if(Array.isArray(n))for(var i=0;i<n.length;i++)b(n[i],l,u);else u.push(l?l("string"==typeof n||"number"==typeof n?v(null,n,null,null):null!=n.__e||null!=n.__c?v(n.type,n.props,n.key,null):n):n);return u}function x(n,l,u,i,t){var o;for(o in u)o in l||P(n,o,null,u[o],i);for(o in l)t&&"function"!=typeof l[o]||"value"===o||"checked"===o||u[o]===l[o]||P(n,o,l[o],u[o],i);}function C(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]="number"==typeof u&&!1===c.test(l)?u+"px":null==u?"":u;}function P(n,l,u,i,t){var o,f,r,e,c;if(t?"className"===l&&(l="class"):"class"===l&&(l="className"),"key"===l||"children"===l);else if("style"===l)if(o=n.style,"string"==typeof u)o.cssText=u;else {if("string"==typeof i&&(o.cssText="",i=null),i)for(f in i)u&&f in u||C(o,f,"");if(u)for(r in u)i&&u[r]===i[r]||C(o,r,u[r]);}else "o"===l[0]&&"n"===l[1]?(e=l!==(l=l.replace(/Capture$/,"")),c=l.toLowerCase(),l=(c in n?c:l).slice(2),u?(i||n.addEventListener(l,N,e),(n.l||(n.l={}))[l]=u):n.removeEventListener(l,N,e)):"list"!==l&&"tagName"!==l&&"form"!==l&&"type"!==l&&!t&&l in n?n[l]=null==u?"":u:"function"!=typeof u&&"dangerouslySetInnerHTML"!==l&&(l!==(l=l.replace(/^xlink:?/,""))?null==u||!1===u?n.removeAttributeNS("http://www.w3.org/1999/xlink",l.toLowerCase()):n.setAttributeNS("http://www.w3.org/1999/xlink",l.toLowerCase(),u):null==u||!1===u?n.removeAttribute(l):n.setAttribute(l,u));}function N(l){this.l[l.type](n.event?n.event(l):l);}function T(l,u,i,t,o,f,r,e,c){var a,h,v,p,m,w,g,k,x,C,P=u.type;if(void 0!==u.constructor)return null;(a=n.__b)&&a(u);try{n:if("function"==typeof P){if(k=u.props,x=(a=P.contextType)&&t[a.__c],C=a?x?x.props.value:a.__:t,i.__c?g=(h=u.__c=i.__c).__=h.__E:("prototype"in P&&P.prototype.render?u.__c=h=new P(k,C):(u.__c=h=new d(k,C),h.constructor=P,h.render=D),x&&x.sub(h),h.props=k,h.state||(h.state={}),h.context=C,h.__n=t,v=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=P.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=s({},h.__s)),s(h.__s,P.getDerivedStateFromProps(k,h.__s))),p=h.props,m=h.state,v)null==P.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else {if(null==P.getDerivedStateFromProps&&k!==p&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(k,C),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(k,h.__s,C)){for(h.props=k,h.state=h.__s,h.__d=!1,h.__v=u,u.__e=i.__e,u.__k=i.__k,h.__h.length&&r.push(h),a=0;a<u.__k.length;a++)u.__k[a]&&(u.__k[a].__=u);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(k,h.__s,C),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(p,m,w);});}h.context=C,h.props=k,h.state=h.__s,(a=n.__r)&&a(u),h.__d=!1,h.__v=u,h.__P=l,a=h.render(h.props,h.state,h.context),u.__k=b(null!=a&&a.type==y&&null==a.key?a.props.children:a),null!=h.getChildContext&&(t=s(s({},t),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(w=h.getSnapshotBeforeUpdate(p,m)),_(l,u,i,t,o,f,r,e,c),h.base=u.__e,h.__h.length&&r.push(h),g&&(h.__E=h.__=null),h.__e=null;}else u.__e=j(i.__e,u,i,t,o,f,r,c);(a=n.diffed)&&a(u);}catch(l){n.__e(l,u,i);}return u.__e}function $(l,u){n.__c&&n.__c(u,l),l.some(function(u){try{l=u.__h,u.__h=[],l.some(function(n){n.call(u);});}catch(l){n.__e(l,u.__v);}});}function j(n,l,u,i,t,o,f,c){var s,a,h,v,p,y=u.props,d=l.props;if(t="svg"===l.type||t,null==n&&null!=o)for(s=0;s<o.length;s++)if(null!=(a=o[s])&&(null===l.type?3===a.nodeType:a.localName===l.type)){n=a,o[s]=null;break}if(null==n){if(null===l.type)return document.createTextNode(d);n=t?document.createElementNS("http://www.w3.org/2000/svg",l.type):document.createElement(l.type),o=null;}if(null===l.type)null!=o&&(o[o.indexOf(n)]=null),y!==d&&(n.data=d);else if(l!==u){if(null!=o&&(o=e.slice.call(n.childNodes)),h=(y=u.props||r).dangerouslySetInnerHTML,v=d.dangerouslySetInnerHTML,!c){if(y===r)for(y={},p=0;p<n.attributes.length;p++)y[n.attributes[p].name]=n.attributes[p].value;(v||h)&&(v&&h&&v.__html==h.__html||(n.innerHTML=v&&v.__html||""));}x(n,d,y,t,c),l.__k=l.props.children,v||_(n,l,u,i,"foreignObject"!==l.type&&t,o,f,r,c),c||("value"in d&&void 0!==d.value&&d.value!==n.value&&(n.value=null==d.value?"":d.value),"checked"in d&&void 0!==d.checked&&d.checked!==n.checked&&(n.checked=d.checked));}return n}function z(l,u,i){try{"function"==typeof l?l(u):l.current=u;}catch(l){n.__e(l,i);}}function A(l,u,i){var t,o,f;if(n.unmount&&n.unmount(l),(t=l.ref)&&z(t,null,u),i||"function"==typeof l.type||(i=null!=(o=l.__e)),l.__e=l.__d=null,null!=(t=l.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(l){n.__e(l,u);}t.base=t.__P=null;}if(t=l.__k)for(f=0;f<t.length;f++)t[f]&&A(t[f],u,i);null!=o&&a(o);}function D(n,l,u){return this.constructor(n,u)}function E(l,u,i){var t,f,c;n.__&&n.__(l,u),f=(t=i===o)?null:i&&i.__k||u.__k,l=h(y,null,[l]),c=[],T(u,(t?u:i||u).__k=l,f||r,r,void 0!==u.ownerSVGElement,i&&!t?[i]:f?null:e.slice.call(u.childNodes),c,i||r,t),$(c,l);}n={__e:function(n,l){for(var u;l=l.__;)if((u=l.__c)&&!u.__)try{if(u.constructor&&null!=u.constructor.getDerivedStateFromError)u.setState(u.constructor.getDerivedStateFromError(n));else {if(null==u.componentDidCatch)continue;u.componentDidCatch(n);}return g(u.__E=u)}catch(l){n=l;}throw n}},d.prototype.setState=function(n,l){var u;u=this.__s!==this.state?this.__s:this.__s=s({},this.state),"function"==typeof n&&(n=n(u,this.props)),n&&s(u,n),null!=n&&this.__v&&(this.__e=!1,l&&this.__h.push(l),g(this));},d.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),g(this));},d.prototype.render=y,u=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,o=r,f=0;

@@ -8,8 +8,8 @@ (function (global, factory) {

var PKG_NAME = "@hpcc-js/react";
var PKG_VERSION = "2.31.0";
var BUILD_VERSION = "2.65.0";
var PKG_VERSION = "2.32.0";
var BUILD_VERSION = "2.67.0";
var PKG_NAME$1 = "@hpcc-js/preact-shim";
var PKG_VERSION$1 = "2.13.13";
var BUILD_VERSION$1 = "2.65.0";
var BUILD_VERSION$1 = "2.67.0";

@@ -16,0 +16,0 @@ var n,u,i,t,o,f,r={},e=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function a(n){var l=n.parentNode;l&&l.removeChild(n);}function h(n,l,u){var i,t=arguments,o={};for(i in l)"key"!==i&&"ref"!==i&&(o[i]=l[i]);if(arguments.length>3)for(u=[u],i=3;i<arguments.length;i++)u.push(t[i]);if(null!=u&&(o.children=u),"function"==typeof n&&null!=n.defaultProps)for(i in n.defaultProps)void 0===o[i]&&(o[i]=n.defaultProps[i]);return v(n,o,l&&l.key,l&&l.ref)}function v(l,u,i,t){var o={type:l,props:u,key:i,ref:t,__k:null,__:null,__b:0,__e:null,__d:null,__c:null,constructor:void 0};return n.vnode&&n.vnode(o),o}function y(n){return n.children}function d(n,l){this.props=n,this.context=l;}function m(n,l){if(null==l)return n.__?m(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?m(n):null}function w(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return w(n)}}function g(l){(!l.__d&&(l.__d=!0)&&1===u.push(l)||t!==n.debounceRendering)&&((t=n.debounceRendering)||i)(k);}function k(){var n,l,i,t,o,f,r;for(u.sort(function(n,l){return l.__v.__b-n.__v.__b});n=u.pop();)n.__d&&(i=void 0,t=void 0,f=(o=(l=n).__v).__e,(r=l.__P)&&(i=[],t=T(r,o,s({},o),l.__n,void 0!==r.ownerSVGElement,null,i,null==f?m(o):f),$(i,o),t!=f&&w(o)));}function _(n,l,u,i,t,o,f,c,s){var h,v,p,y,d,w,g,k=u&&u.__k||e,_=k.length;if(c==r&&(c=null!=o?o[0]:_?m(u,0):null),h=0,l.__k=b(l.__k,function(u){if(null!=u){if(u.__=l,u.__b=l.__b+1,null===(p=k[h])||p&&u.key==p.key&&u.type===p.type)k[h]=void 0;else for(v=0;v<_;v++){if((p=k[v])&&u.key==p.key&&u.type===p.type){k[v]=void 0;break}p=null;}if(y=T(n,u,p=p||r,i,t,o,f,c,s),(v=u.ref)&&p.ref!=v&&(g||(g=[]),p.ref&&g.push(p.ref,null,u),g.push(v,u.__c||y,u)),null!=y){if(null==w&&(w=y),null!=u.__d)y=u.__d,u.__d=null;else if(o==p||y!=c||null==y.parentNode){n:if(null==c||c.parentNode!==n)n.appendChild(y);else {for(d=c,v=0;(d=d.nextSibling)&&v<_;v+=2)if(d==y)break n;n.insertBefore(y,c);}"option"==l.type&&(n.value="");}c=y.nextSibling,"function"==typeof l.type&&(l.__d=y);}}return h++,u}),l.__e=w,null!=o&&"function"!=typeof l.type)for(h=o.length;h--;)null!=o[h]&&a(o[h]);for(h=_;h--;)null!=k[h]&&A(k[h],k[h]);if(g)for(h=0;h<g.length;h++)z(g[h],g[++h],g[++h]);}function b(n,l,u){if(null==u&&(u=[]),null==n||"boolean"==typeof n)l&&u.push(l(null));else if(Array.isArray(n))for(var i=0;i<n.length;i++)b(n[i],l,u);else u.push(l?l("string"==typeof n||"number"==typeof n?v(null,n,null,null):null!=n.__e||null!=n.__c?v(n.type,n.props,n.key,null):n):n);return u}function x(n,l,u,i,t){var o;for(o in u)o in l||P(n,o,null,u[o],i);for(o in l)t&&"function"!=typeof l[o]||"value"===o||"checked"===o||u[o]===l[o]||P(n,o,l[o],u[o],i);}function C(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]="number"==typeof u&&!1===c.test(l)?u+"px":null==u?"":u;}function P(n,l,u,i,t){var o,f,r,e,c;if(t?"className"===l&&(l="class"):"class"===l&&(l="className"),"key"===l||"children"===l);else if("style"===l)if(o=n.style,"string"==typeof u)o.cssText=u;else {if("string"==typeof i&&(o.cssText="",i=null),i)for(f in i)u&&f in u||C(o,f,"");if(u)for(r in u)i&&u[r]===i[r]||C(o,r,u[r]);}else "o"===l[0]&&"n"===l[1]?(e=l!==(l=l.replace(/Capture$/,"")),c=l.toLowerCase(),l=(c in n?c:l).slice(2),u?(i||n.addEventListener(l,N,e),(n.l||(n.l={}))[l]=u):n.removeEventListener(l,N,e)):"list"!==l&&"tagName"!==l&&"form"!==l&&"type"!==l&&!t&&l in n?n[l]=null==u?"":u:"function"!=typeof u&&"dangerouslySetInnerHTML"!==l&&(l!==(l=l.replace(/^xlink:?/,""))?null==u||!1===u?n.removeAttributeNS("http://www.w3.org/1999/xlink",l.toLowerCase()):n.setAttributeNS("http://www.w3.org/1999/xlink",l.toLowerCase(),u):null==u||!1===u?n.removeAttribute(l):n.setAttribute(l,u));}function N(l){this.l[l.type](n.event?n.event(l):l);}function T(l,u,i,t,o,f,r,e,c){var a,h,v,p,m,w,g,k,x,C,P=u.type;if(void 0!==u.constructor)return null;(a=n.__b)&&a(u);try{n:if("function"==typeof P){if(k=u.props,x=(a=P.contextType)&&t[a.__c],C=a?x?x.props.value:a.__:t,i.__c?g=(h=u.__c=i.__c).__=h.__E:("prototype"in P&&P.prototype.render?u.__c=h=new P(k,C):(u.__c=h=new d(k,C),h.constructor=P,h.render=D),x&&x.sub(h),h.props=k,h.state||(h.state={}),h.context=C,h.__n=t,v=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=P.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=s({},h.__s)),s(h.__s,P.getDerivedStateFromProps(k,h.__s))),p=h.props,m=h.state,v)null==P.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else {if(null==P.getDerivedStateFromProps&&k!==p&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(k,C),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(k,h.__s,C)){for(h.props=k,h.state=h.__s,h.__d=!1,h.__v=u,u.__e=i.__e,u.__k=i.__k,h.__h.length&&r.push(h),a=0;a<u.__k.length;a++)u.__k[a]&&(u.__k[a].__=u);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(k,h.__s,C),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(p,m,w);});}h.context=C,h.props=k,h.state=h.__s,(a=n.__r)&&a(u),h.__d=!1,h.__v=u,h.__P=l,a=h.render(h.props,h.state,h.context),u.__k=b(null!=a&&a.type==y&&null==a.key?a.props.children:a),null!=h.getChildContext&&(t=s(s({},t),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(w=h.getSnapshotBeforeUpdate(p,m)),_(l,u,i,t,o,f,r,e,c),h.base=u.__e,h.__h.length&&r.push(h),g&&(h.__E=h.__=null),h.__e=null;}else u.__e=j(i.__e,u,i,t,o,f,r,c);(a=n.diffed)&&a(u);}catch(l){n.__e(l,u,i);}return u.__e}function $(l,u){n.__c&&n.__c(u,l),l.some(function(u){try{l=u.__h,u.__h=[],l.some(function(n){n.call(u);});}catch(l){n.__e(l,u.__v);}});}function j(n,l,u,i,t,o,f,c){var s,a,h,v,p,y=u.props,d=l.props;if(t="svg"===l.type||t,null==n&&null!=o)for(s=0;s<o.length;s++)if(null!=(a=o[s])&&(null===l.type?3===a.nodeType:a.localName===l.type)){n=a,o[s]=null;break}if(null==n){if(null===l.type)return document.createTextNode(d);n=t?document.createElementNS("http://www.w3.org/2000/svg",l.type):document.createElement(l.type),o=null;}if(null===l.type)null!=o&&(o[o.indexOf(n)]=null),y!==d&&(n.data=d);else if(l!==u){if(null!=o&&(o=e.slice.call(n.childNodes)),h=(y=u.props||r).dangerouslySetInnerHTML,v=d.dangerouslySetInnerHTML,!c){if(y===r)for(y={},p=0;p<n.attributes.length;p++)y[n.attributes[p].name]=n.attributes[p].value;(v||h)&&(v&&h&&v.__html==h.__html||(n.innerHTML=v&&v.__html||""));}x(n,d,y,t,c),l.__k=l.props.children,v||_(n,l,u,i,"foreignObject"!==l.type&&t,o,f,r,c),c||("value"in d&&void 0!==d.value&&d.value!==n.value&&(n.value=null==d.value?"":d.value),"checked"in d&&void 0!==d.checked&&d.checked!==n.checked&&(n.checked=d.checked));}return n}function z(l,u,i){try{"function"==typeof l?l(u):l.current=u;}catch(l){n.__e(l,i);}}function A(l,u,i){var t,o,f;if(n.unmount&&n.unmount(l),(t=l.ref)&&z(t,null,u),i||"function"==typeof l.type||(i=null!=(o=l.__e)),l.__e=l.__d=null,null!=(t=l.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(l){n.__e(l,u);}t.base=t.__P=null;}if(t=l.__k)for(f=0;f<t.length;f++)t[f]&&A(t[f],u,i);null!=o&&a(o);}function D(n,l,u){return this.constructor(n,u)}function E(l,u,i){var t,f,c;n.__&&n.__(l,u),f=(t=i===o)?null:i&&i.__k||u.__k,l=h(y,null,[l]),c=[],T(u,(t?u:i||u).__k=l,f||r,r,void 0!==u.ownerSVGElement,i&&!t?[i]:f?null:e.slice.call(u.childNodes),c,i||r,t),$(c,l);}n={__e:function(n,l){for(var u;l=l.__;)if((u=l.__c)&&!u.__)try{if(u.constructor&&null!=u.constructor.getDerivedStateFromError)u.setState(u.constructor.getDerivedStateFromError(n));else {if(null==u.componentDidCatch)continue;u.componentDidCatch(n);}return g(u.__E=u)}catch(l){n=l;}throw n}},d.prototype.setState=function(n,l){var u;u=this.__s!==this.state?this.__s:this.__s=s({},this.state),"function"==typeof n&&(n=n(u,this.props)),n&&s(u,n),null!=n&&this.__v&&(this.__e=!1,l&&this.__h.push(l),g(this));},d.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),g(this));},d.prototype.render=y,u=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,o=r,f=0;

@@ -1,2 +0,2 @@

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@hpcc-js/common")):"function"==typeof define&&define.amd?define(["exports","@hpcc-js/common"],e):e((t=t||self)["@hpcc-js/react"]={},t["@hpcc-js/common"])}(this,function(t,e){"use strict";var i,n,o,r,l,s={},a=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function u(t,e){for(var i in e)t[i]=e[i];return t}function _(t){var e=t.parentNode;e&&e.removeChild(t)}function c(t,e,i){var n,o=arguments,r={};for(n in e)"key"!==n&&"ref"!==n&&(r[n]=e[n]);if(arguments.length>3)for(i=[i],n=3;n<arguments.length;n++)i.push(o[n]);if(null!=i&&(r.children=i),"function"==typeof t&&null!=t.defaultProps)for(n in t.defaultProps)void 0===r[n]&&(r[n]=t.defaultProps[n]);return f(t,r,e&&e.key,e&&e.ref)}function f(t,e,n,o){var r={type:t,props:e,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:null,__c:null,constructor:void 0};return i.vnode&&i.vnode(r),r}function d(t){return t.children}function p(t,e){this.props=t,this.context=e}function v(t,e){if(null==e)return t.__?v(t.__,t.__.__k.indexOf(t)+1):null;for(var i;e<t.__k.length;e++)if(null!=(i=t.__k[e])&&null!=i.__e)return i.__e;return"function"==typeof t.type?v(t):null}function y(t){var e,i;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(i=t.__k[e])&&null!=i.__e){t.__e=t.__c.base=i.__e;break}return y(t)}}function g(t){(!t.__d&&(t.__d=!0)&&1===n.push(t)||r!==i.debounceRendering)&&((r=i.debounceRendering)||o)(x)}function x(){var t,e,i,o,r,l,s;for(n.sort(function(t,e){return e.__v.__b-t.__v.__b});t=n.pop();)t.__d&&(i=void 0,o=void 0,l=(r=(e=t).__v).__e,(s=e.__P)&&(i=[],o=S(s,r,u({},r),e.__n,void 0!==s.ownerSVGElement,null,i,null==l?v(r):l),C(i,r),o!=l&&y(r)))}function m(t,e,i,n,o,r,l,h,u){var c,f,d,p,y,g,x,m=i&&i.__k||a,b=m.length;if(h==s&&(h=null!=r?r[0]:b?v(i,0):null),c=0,e.__k=k(e.__k,function(i){if(null!=i){if(i.__=e,i.__b=e.__b+1,null===(d=m[c])||d&&i.key==d.key&&i.type===d.type)m[c]=void 0;else for(f=0;f<b;f++){if((d=m[f])&&i.key==d.key&&i.type===d.type){m[f]=void 0;break}d=null}if(p=S(t,i,d=d||s,n,o,r,l,h,u),(f=i.ref)&&d.ref!=f&&(x||(x=[]),d.ref&&x.push(d.ref,null,i),x.push(f,i.__c||p,i)),null!=p){if(null==g&&(g=p),null!=i.__d)p=i.__d,i.__d=null;else if(r==d||p!=h||null==p.parentNode){t:if(null==h||h.parentNode!==t)t.appendChild(p);else{for(y=h,f=0;(y=y.nextSibling)&&f<b;f+=2)if(y==p)break t;t.insertBefore(p,h)}"option"==e.type&&(t.value="")}h=p.nextSibling,"function"==typeof e.type&&(e.__d=p)}}return c++,i}),e.__e=g,null!=r&&"function"!=typeof e.type)for(c=r.length;c--;)null!=r[c]&&_(r[c]);for(c=b;c--;)null!=m[c]&&P(m[c],m[c]);if(x)for(c=0;c<x.length;c++)T(x[c],x[++c],x[++c])}function k(t,e,i){if(null==i&&(i=[]),null==t||"boolean"==typeof t)e&&i.push(e(null));else if(Array.isArray(t))for(var n=0;n<t.length;n++)k(t[n],e,i);else i.push(e?e("string"==typeof t||"number"==typeof t?f(null,t,null,null):null!=t.__e||null!=t.__c?f(t.type,t.props,t.key,null):t):t);return i}function b(t,e,i){"-"===e[0]?t.setProperty(e,i):t[e]="number"==typeof i&&!1===h.test(e)?i+"px":null==i?"":i}function F(t,e,i,n,o){var r,l,s,a,h;if(o?"className"===e&&(e="class"):"class"===e&&(e="className"),"key"===e||"children"===e);else if("style"===e)if(r=t.style,"string"==typeof i)r.cssText=i;else{if("string"==typeof n&&(r.cssText="",n=null),n)for(l in n)i&&l in i||b(r,l,"");if(i)for(s in i)n&&i[s]===n[s]||b(r,s,i[s])}else"o"===e[0]&&"n"===e[1]?(a=e!==(e=e.replace(/Capture$/,"")),h=e.toLowerCase(),e=(h in t?h:e).slice(2),i?(n||t.addEventListener(e,w,a),(t.l||(t.l={}))[e]=i):t.removeEventListener(e,w,a)):"list"!==e&&"tagName"!==e&&"form"!==e&&"type"!==e&&!o&&e in t?t[e]=null==i?"":i:"function"!=typeof i&&"dangerouslySetInnerHTML"!==e&&(e!==(e=e.replace(/^xlink:?/,""))?null==i||!1===i?t.removeAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase()):t.setAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase(),i):null==i||!1===i?t.removeAttribute(e):t.setAttribute(e,i))}function w(t){this.l[t.type](i.event?i.event(t):t)}function S(t,e,n,o,r,l,s,a,h){var _,c,f,v,y,g,x,b,F,w,S=e.type;if(void 0!==e.constructor)return null;(_=i.__b)&&_(e);try{t:if("function"==typeof S){if(b=e.props,F=(_=S.contextType)&&o[_.__c],w=_?F?F.props.value:_.__:o,n.__c?x=(c=e.__c=n.__c).__=c.__E:("prototype"in S&&S.prototype.render?e.__c=c=new S(b,w):(e.__c=c=new p(b,w),c.constructor=S,c.render=E),F&&F.sub(c),c.props=b,c.state||(c.state={}),c.context=w,c.__n=o,f=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=S.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=u({},c.__s)),u(c.__s,S.getDerivedStateFromProps(b,c.__s))),v=c.props,y=c.state,f)null==S.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==S.getDerivedStateFromProps&&b!==v&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(b,w),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(b,c.__s,w)){for(c.props=b,c.state=c.__s,c.__d=!1,c.__v=e,e.__e=n.__e,e.__k=n.__k,c.__h.length&&s.push(c),_=0;_<e.__k.length;_++)e.__k[_]&&(e.__k[_].__=e);break t}null!=c.componentWillUpdate&&c.componentWillUpdate(b,c.__s,w),null!=c.componentDidUpdate&&c.__h.push(function(){c.componentDidUpdate(v,y,g)})}c.context=w,c.props=b,c.state=c.__s,(_=i.__r)&&_(e),c.__d=!1,c.__v=e,c.__P=t,_=c.render(c.props,c.state,c.context),e.__k=k(null!=_&&_.type==d&&null==_.key?_.props.children:_),null!=c.getChildContext&&(o=u(u({},o),c.getChildContext())),f||null==c.getSnapshotBeforeUpdate||(g=c.getSnapshotBeforeUpdate(v,y)),m(t,e,n,o,r,l,s,a,h),c.base=e.__e,c.__h.length&&s.push(c),x&&(c.__E=c.__=null),c.__e=null}else e.__e=R(n.__e,e,n,o,r,l,s,h);(_=i.diffed)&&_(e)}catch(t){i.__e(t,e,n)}return e.__e}function C(t,e){i.__c&&i.__c(e,t),t.some(function(e){try{t=e.__h,e.__h=[],t.some(function(t){t.call(e)})}catch(t){i.__e(t,e.__v)}})}function R(t,e,i,n,o,r,l,h){var u,_,c,f,d,p=i.props,v=e.props;if(o="svg"===e.type||o,null==t&&null!=r)for(u=0;u<r.length;u++)if(null!=(_=r[u])&&(null===e.type?3===_.nodeType:_.localName===e.type)){t=_,r[u]=null;break}if(null==t){if(null===e.type)return document.createTextNode(v);t=o?document.createElementNS("http://www.w3.org/2000/svg",e.type):document.createElement(e.type),r=null}if(null===e.type)null!=r&&(r[r.indexOf(t)]=null),p!==v&&(t.data=v);else if(e!==i){if(null!=r&&(r=a.slice.call(t.childNodes)),c=(p=i.props||s).dangerouslySetInnerHTML,f=v.dangerouslySetInnerHTML,!h){if(p===s)for(p={},d=0;d<t.attributes.length;d++)p[t.attributes[d].name]=t.attributes[d].value;(f||c)&&(f&&c&&f.__html==c.__html||(t.innerHTML=f&&f.__html||""))}(function(t,e,i,n,o){var r;for(r in i)r in e||F(t,r,null,i[r],n);for(r in e)o&&"function"!=typeof e[r]||"value"===r||"checked"===r||i[r]===e[r]||F(t,r,e[r],i[r],n)})(t,v,p,o,h),e.__k=e.props.children,f||m(t,e,i,n,"foreignObject"!==e.type&&o,r,l,s,h),h||("value"in v&&void 0!==v.value&&v.value!==t.value&&(t.value=null==v.value?"":v.value),"checked"in v&&void 0!==v.checked&&v.checked!==t.checked&&(t.checked=v.checked))}return t}function T(t,e,n){try{"function"==typeof t?t(e):t.current=e}catch(t){i.__e(t,n)}}function P(t,e,n){var o,r,l;if(i.unmount&&i.unmount(t),(o=t.ref)&&T(o,null,e),n||"function"==typeof t.type||(n=null!=(r=t.__e)),t.__e=t.__d=null,null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(t){i.__e(t,e)}o.base=o.__P=null}if(o=t.__k)for(l=0;l<o.length;l++)o[l]&&P(o[l],e,n);null!=r&&_(r)}function E(t,e,i){return this.constructor(t,i)}function M(t,e,n){var o,r,h;i.__&&i.__(t,e),r=(o=n===l)?null:n&&n.__k||e.__k,t=c(d,null,[t]),h=[],S(e,(o?e:n||e).__k=t,r||s,s,void 0!==e.ownerSVGElement,n&&!o?[n]:r?null:a.slice.call(e.childNodes),h,n||s,o),C(h,t)}i={__e:function(t,e){for(var i;e=e.__;)if((i=e.__c)&&!i.__)try{if(i.constructor&&null!=i.constructor.getDerivedStateFromError)i.setState(i.constructor.getDerivedStateFromError(t));else{if(null==i.componentDidCatch)continue;i.componentDidCatch(t)}return g(i.__E=i)}catch(e){t=e}throw t}},p.prototype.setState=function(t,e){var i;i=this.__s!==this.state?this.__s:this.__s=u({},this.state),"function"==typeof t&&(t=t(i,this.props)),t&&u(i,t),null!=t&&this.__v&&(this.__e=!1,e&&this.__h.push(e),g(this))},p.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),g(this))},p.prototype.render=d,n=[],o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,l=s;var W,D,N,H=[],A=i.__r,O=i.diffed,U=i.__c,j=i.unmount;function z(t){i.__h&&i.__h(D);var e=D.__H||(D.__H={t:[],u:[]});return t>=e.t.length&&e.t.push({}),e.t[t]}function I(t){return L(Z,t)}function L(t,e,i){var n=z(W++);return n.__c||(n.__c=D,n.i=[i?i(e):Z(void 0,e),function(e){var i=t(n.i[0],e);n.i[0]!==i&&(n.i[0]=i,n.__c.setState({}))}]),n.i}function V(t,e){var i=z(W++);K(i.o,e)&&(i.i=t,i.o=e,D.__H.u.push(i))}function q(){H.some(function(t){t.__P&&(t.__H.u.forEach(G),t.__H.u.forEach(B),t.__H.u=[])}),H=[]}function G(t){t.m&&t.m()}function B(t){var e=t.i();"function"==typeof e&&(t.m=e)}function K(t,e){return!t||e.some(function(e,i){return e!==t[i]})}function Z(t,e){return"function"==typeof e?e(t):e}i.__r=function(t){A&&A(t),W=0,(D=t.__c).__H&&(D.__H.u.forEach(G),D.__H.u.forEach(B),D.__H.u=[])},i.diffed=function(t){O&&O(t);var e=t.__c;if(e){var n=e.__H;n&&n.u.length&&(1!==H.push(e)&&N===i.requestAnimationFrame||((N=i.requestAnimationFrame)||function(t){var e,i=function(){clearTimeout(n),cancelAnimationFrame(e),setTimeout(t)},n=setTimeout(i,100);"undefined"!=typeof window&&(e=requestAnimationFrame(i))})(q))}},i.__c=function(t,e){e.some(function(t){t.__h.forEach(G),t.__h=t.__h.filter(function(t){return!t.i||B(t)})}),U&&U(t,e)},i.unmount=function(t){j&&j(t);var e=t.__c;if(e){var i=e.__H;i&&i.t.forEach(function(t){return t.m&&t.m()})}};var $=Object.freeze({__proto__:null,BUILD_VERSION:"2.65.0",Component:p,Fragment:d,PKG_NAME:"@hpcc-js/preact-shim",PKG_VERSION:"2.13.13",createElement:c,h:c,render:M,useEffect:V,useMemo:function(t,e){var i=z(W++);return K(i.o,e)?(i.o=e,i.v=t,i.i=t()):i.i},useReducer:L,useState:I}),Q=Math.PI,J=2*Q,X=J-1e-6;function Y(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function tt(){return new Y}function et(t){return function(){return t}}function it(t){this._context=t}function nt(t){return new it(t)}function ot(t){return t[0]}function rt(t){return t[1]}function lt(t,e,i){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+i)/6)}function st(t){this._context=t}function at(t){return t<0?-1:1}function ht(t,e,i){var n=t._x1-t._x0,o=e-t._x1,r=(t._y1-t._y0)/(n||o<0&&-0),l=(i-t._y1)/(o||n<0&&-0),s=(r*o+l*n)/(n+o);return(at(r)+at(l))*Math.min(Math.abs(r),Math.abs(l),.5*Math.abs(s))||0}function ut(t,e){var i=t._x1-t._x0;return i?(3*(t._y1-t._y0)/i-e)/2:e}function _t(t,e,i){var n=t._x0,o=t._y0,r=t._x1,l=t._y1,s=(r-n)/3;t._context.bezierCurveTo(n+s,o+s*e,r-s,l-s*i,r,l)}function ct(t){this._context=t}function ft(t){this._context=t}Y.prototype=tt.prototype={constructor:Y,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,i,n){this._+="Q"+ +t+","+ +e+","+(this._x1=+i)+","+(this._y1=+n)},bezierCurveTo:function(t,e,i,n,o,r){this._+="C"+ +t+","+ +e+","+ +i+","+ +n+","+(this._x1=+o)+","+(this._y1=+r)},arcTo:function(t,e,i,n,o){t=+t,e=+e,i=+i,n=+n,o=+o;var r=this._x1,l=this._y1,s=i-t,a=n-e,h=r-t,u=l-e,_=h*h+u*u;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(_>1e-6)if(Math.abs(u*s-a*h)>1e-6&&o){var c=i-r,f=n-l,d=s*s+a*a,p=c*c+f*f,v=Math.sqrt(d),y=Math.sqrt(_),g=o*Math.tan((Q-Math.acos((d+_-p)/(2*v*y)))/2),x=g/y,m=g/v;Math.abs(x-1)>1e-6&&(this._+="L"+(t+x*h)+","+(e+x*u)),this._+="A"+o+","+o+",0,0,"+ +(u*c>h*f)+","+(this._x1=t+m*s)+","+(this._y1=e+m*a)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,i,n,o,r){t=+t,e=+e;var l=(i=+i)*Math.cos(n),s=i*Math.sin(n),a=t+l,h=e+s,u=1^r,_=r?n-o:o-n;if(i<0)throw new Error("negative radius: "+i);null===this._x1?this._+="M"+a+","+h:(Math.abs(this._x1-a)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+a+","+h),i&&(_<0&&(_=_%J+J),_>X?this._+="A"+i+","+i+",0,1,"+u+","+(t-l)+","+(e-s)+"A"+i+","+i+",0,1,"+u+","+(this._x1=a)+","+(this._y1=h):_>1e-6&&(this._+="A"+i+","+i+",0,"+ +(_>=Q)+","+u+","+(this._x1=t+i*Math.cos(o))+","+(this._y1=e+i*Math.sin(o))))},rect:function(t,e,i,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +i+"v"+ +n+"h"+-i+"Z"},toString:function(){return this._}},it.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},st.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:lt(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:lt(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ct.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:_t(this,this._t0,ut(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var i=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,_t(this,ut(this,i=ht(this,t,e)),i);break;default:_t(this,this._t0,i=ht(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=i}}},(function(t){this._context=new ft(t)}.prototype=Object.create(ct.prototype)).point=function(t,e){ct.prototype.point.call(this,e,t)},ft.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,i,n,o,r){this._context.bezierCurveTo(e,t,n,i,r,o)}};var dt=function(){var t=ot,e=rt,i=et(!0),n=null,o=nt,r=null;function l(l){var s,a,h,u=l.length,_=!1;for(null==n&&(r=o(h=tt())),s=0;s<=u;++s)!(s<u&&i(a=l[s],s,l))===_&&((_=!_)?r.lineStart():r.lineEnd()),_&&r.point(+t(a,s,l),+e(a,s,l));if(h)return r=null,h+""||null}return l.x=function(e){return arguments.length?(t="function"==typeof e?e:et(+e),l):t},l.y=function(t){return arguments.length?(e="function"==typeof t?t:et(+t),l):e},l.defined=function(t){return arguments.length?(i="function"==typeof t?t:et(!!t),l):i},l.curve=function(t){return arguments.length?(o=t,null!=n&&(r=o(n)),l):o},l.context=function(t){return arguments.length?(null==t?n=r=null:r=o(n=t),l):n},l}().x(function(t){return t[0]}).y(function(t){return t[1]}).curve(function(t){return new st(t)});function pt(t,e){if(2===t.length&&e){var i=t[0][0]-t[1][0],n=t[0][1]-t[1][1];if(Math.sqrt(i*i+n*n)){var o=(t[0][0]+t[1][0])/2-n*e/100,r=(t[0][1]+t[1][1])/2+i*e/100;return[t[0],[o,r],t[1]]}}return t}var vt=function(t){var i=t.x,n=t.y,o=void 0===n?0:n,r=t.height,l=void 0===r?12:r,s=t.fill,a=t.stroke,h=t.fontFamily,u=void 0===h?"FontAwesome":h,_=t.char,f=void 0===_?"":_;return c("text",{x:i,y:o,fill:s,stroke:a,"font-family":u,"font-size":l+"px","dominant-baseline":"middle",style:"text-anchor: middle;alignment-baseline:middle;"},"FontAwesome"===u?e.Utility.faChar(f):f)},yt=function(t,e){return(yt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)};function gt(t,e){function i(){this.constructor=t}yt(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}var xt=function(){return(xt=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function mt(t,e,i,n){var o,r=arguments.length,l=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(l=(r<3?o(l):r>3?o(e,i,l):o(e,i))||l);return r>3&&l&&Object.defineProperty(e,i,l),l}function kt(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}var bt=function(t){var e=t.radius,i=void 0===e?32:e,n=t.fill,o=void 0===n?"navy":n,r=t.stroke,l=void 0===r?o:r,s=t.strokeWidth;return c("circle",{r:i,fill:o,stroke:l,"stroke-width":void 0===s?1:s,"shape-rendering":t.shapeRendering})},Ft=function(t){var e=t.radius,i=void 0===e?30:e,n=t.cornerRadius,o=void 0===n?0:n,r=t.fill,l=void 0===r?"white":r,s=t.stroke,a=t.strokeWidth;return c("rect",{x:-i,y:-i,rx:o,ry:o,width:2*i,height:2*i,fill:l,stroke:s||l,"stroke-width":void 0===a?1:a,"shape-rendering":t.shapeRendering})},wt=function(t){var e=t.width,i=void 0===e?30:e,n=t.height,o=void 0===n?30:n,r=t.cornerRadius,l=void 0===r?0:r,s=t.fill,a=void 0===s?"white":s,h=t.stroke,u=void 0===h?"black":h,_=t.strokeWidth;return c("rect",{x:-i/2,y:-o/2,rx:l,ry:l,width:i,height:o,fill:a,stroke:u||a,"stroke-width":void 0===_?1:_,"shape-rendering":t.shapeRendering})},St=function(t){var e=t.shape,i=void 0===e?"circle":e,n=t.height,o=void 0===n?128:n,r=t.fill,l=t.stroke,s=t.strokeWidth,a=void 0===s?1:s,h=t.shapeRendering,u=t.cornerRadius;switch(i){case"square":return c(Ft,{radius:o/2,fill:r,stroke:l,strokeWidth:a,shapeRendering:h,cornerRadius:u});case"circle":default:return c(bt,{radius:o/2,fill:r,stroke:l,strokeWidth:a,shapeRendering:h})}},Ct=function(t){var i=t.shape,n=void 0===i?"circle":i,o=t.height,r=void 0===o?32:o,l=t.fill,s=t.stroke,a=t.strokeWidth,h=void 0===a?0:a,u=t.imageFontFamily,_=void 0===u?"FontAwesome":u,f=t.imageChar,p=void 0===f?"":f,v=t.imageCharFill,y=void 0===v?e.Palette.textColor(l):v,g=t.padding,x=void 0===g?r/5:g,m=t.yOffset,k=void 0===m?0:m,b=t.cornerRadius,F=t.shapeRendering;return c(d,null,c(St,{shape:n,height:r,fill:l,stroke:s,strokeWidth:h,shapeRendering:F,cornerRadius:b}),c(vt,{y:k,height:r-x,fontFamily:_,char:p,fill:y,"font-weight":400}))};function Rt(t,e,i,n){M(c(t,e),i,n)}var Tt=function(t){function i(e){var i=t.call(this)||this;return i._component=e,i._props={},i}return gt(i,t),i.prototype.props=function(t){return arguments.length?(this._props=xt(xt({},this._props),t),this):this._props},i.prototype.prop=function(t,e){return 1===arguments.length?this._props[t]:(this._props[t]=e,this)},i.prototype.update=function(e,i){t.prototype.update.call(this,e,i),Rt(this._component,this._props,e)},mt([e.publish({},"object","Properties"),kt("design:type",Object)],i.prototype,"_props",void 0),i}(e.HTMLWidget),Pt=function(t){function i(e){var i=t.call(this)||this;return i._component=e,i._props={},i}return gt(i,t),i.prototype.props=function(t){return arguments.length?(this._props=xt(xt({},this._props),t),this):this._props},i.prototype.prop=function(t,e){return 1===arguments.length?this._props[t]:(this._props[t]=e,this)},i.prototype.update=function(e,i){t.prototype.update.call(this,e,i),Rt(this._component,this._props,e)},mt([e.publish({},"object","Properties"),kt("design:type",Object)],i.prototype,"_props",void 0),i}(e.SVGWidget),Et=function(t){var e=t.text,i=t.height,n=void 0===i?12:i,o=t.anchor,r=void 0===o?"middle":o,l=t.baseline,s=void 0===l?"middle":l,a=t.fontFamily,h=void 0===a?"Verdana":a,u=t.fill;return c("text",{"font-family":h,"font-size":n+"px","text-anchor":r,"dominant-baseline":s,fill:void 0===u?"black":u},e)},Mt=function(t){var i=t.text,n=t.height,o=void 0===n?12:n,r=t.fontFamily,l=void 0===r?"Verdana":r,s=t.fill,a=void 0===s?"black":s,h=t.onSizeUpdate,u=void 0===h?function(t){}:h,_=I(0),f=_[0],p=_[1],v=I(0),y=v[0],g=v[1];V(function(){return u({width:f,height:y})},[f,y]);var x=i.split("\n");p(e.Utility.textSize(x,l,o).width),g(x.length*(o+2)-2);var m=-y/2+o/2,k=x.map(function(t,e){return c("g",{transform:"translate(0 "+(m+e*(o+2))+")"},c(Et,{text:t,height:o,fontFamily:l,fill:a}))});return c(d,null,k)},Wt=function(t){var e=t.text,i=t.height,n=void 0===i?12:i,o=t.fontFamily,r=void 0===o?"Verdana":o,l=t.padding,s=void 0===l?4:l,a=t.fill,h=void 0===a?"whitesmoke":a,u=t.stroke,_=void 0===u?"lightgray":u,f=t.textFill,p=void 0===f?"black":f,v=t.strokeWidth,y=void 0===v?1:v,g=t.cornerRadius,x=void 0===g?0:g,m=t.onSizeUpdate,k=void 0===m?function(t){}:m,b=I(0),F=b[0],w=b[1],S=I(0),C=S[0],R=S[1];V(function(){return k({width:F,height:C})},[F,C]);var T=F+2*s+y,P=C+2*s+y,E=Math.floor(n/10);return c(d,null,c(wt,{width:T,height:P,fill:h,stroke:_,strokeWidth:y,cornerRadius:x}),c("g",{transform:"translate(0 "+E+")"},c(Mt,{text:e,fontFamily:r,height:n,fill:p,onSizeUpdate:function(t){w(t.width),R(t.height)}})))},Dt=function(t){var e=t.x,i=t.y,n=t.annotationIDs,o=void 0===n?[]:n,r=t.stepSize,l=void 0===r?-16:r,s=o.map(function(t,n){return c("g",{key:t,transform:"translate("+(e+n*l)+" "+i+")"},c("use",{href:"#"+t}))});return c(d,null,s)},Nt=function(t){t.categoryID;var i=t.text,n=void 0===i?"":i,o=t.textHeight,r=void 0===o?10:o,l=t.textPadding,s=void 0===l?4:l,a=t.textFill,h=void 0===a?"#287EC4":a,u=t.textboxFill,_=void 0===u?"white":u,f=t.textboxStroke,d=void 0===f?"#CCCCCC":f,p=t.textboxStrokeWidth,v=void 0===p?1:p,y=t.textFontFamily,g=void 0===y?"Verdana":y,x=t.annotationGutter,m=void 0===x?2:x,k=t.annotations,b=void 0===k?[]:k,F=t.cornerRadius,w=void 0===F?3:F,S=t.icon,C=void 0===S?{}:S,R=t.subText,T=void 0===R?{}:R,P=t.showLabel,E=void 0===P||P,M=t.noLabelRadius,W=void 0===M?5:M;C=xt({height:50,imageChar:"?",imageFontFamily:"FontAwesome",imageCharFill:"#555555",fill:"transparent",strokeWidth:0},C),T=xt({text:"",fill:"white",textFill:"#555555"},T);var D=0,N=e.Utility.textSize(n,g,r,!1).width,H=0;""!==n&&(H=N+2*s+2*v);var A=(D+=H+m)-H/2,O=r+2*s+2*v,U=[];b.forEach(function(t){var e=t.imageChar,i=(D+=O+m)-O/2;U.push(c("g",{class:"vertex3-anno",transform:"translate("+i+" 0)"},c(Ct,xt({},t,{shape:"square",height:O,imageChar:e,imageFontFamily:t.imageFontFamily,cornerRadius:w,strokeWidth:0}))))}),b.length>0&&(D+=m*(b.length-1));var j=c("g",{transform:"translate("+A+" 0)"},E&&""!==n?c(Wt,{text:n,height:r,padding:s,strokeWidth:v,stroke:d,fill:_,textFill:h,fontFamily:g,cornerRadius:w}):c("circle",{r:W,stroke:d,fill:h})),z=C.height||20,I=C.strokeWidth||0,L=0,V=O+2*m;""!==n||U.length>0?L=-z/2-I-O/2-2*m:""!==T.text&&(V=z/2+I+2*m);var q=""===T.text?null:c("g",{transform:"translate(0 "+V+")"},c(Wt,xt({fill:T.fill||"#FFFFFF",textFill:T.textFill||h},T,{height:r,padding:s,strokeWidth:0,stroke:d,fontFamily:g,cornerRadius:w})));return c("g",null,c("g",{transform:"translate(0 "+L+")"},c(Ct,xt({},C))),c("g",{transform:"translate("+-D/2+" 0)"},j,U),q)};t.Annotations=Dt,t.BUILD_VERSION="2.65.0",t.CentroidVertex3=function(t){var e=t.categoryID,i=void 0===e?"":e,n=t.text,o=void 0===n?"":n,r=t.textHeight,l=void 0===r?12:r,s=t.textPadding,a=void 0===s?10:s,h=t.textFill,u=void 0===h?"#287EC4":h,_=t.textboxFill,f=void 0===_?"white":_,d=t.textboxStroke,p=void 0===d?"#CCCCCC":d,v=t.textboxStrokeWidth,y=void 0===v?1:v,g=t.textFontFamily,x=void 0===g?"Verdana":g,m=t.annotationGutter,k=void 0===m?2:m,b=t.annotations,F=void 0===b?[]:b,w=t.cornerRadius,S=t.icon,C=void 0===S?{}:S,R=t.subText,T=void 0===R?{}:R;return C=xt({height:91,padding:40,imageCharFill:"#555555",imageFontFamily:"FontAwesome",fill:"#FFCC33",stroke:"#DFDFDF",imageChar:"?",strokeWidth:4,yOffset:-15},C),T=xt({text:"",fill:"transparent",textFill:"#555555"},T),c(Nt,xt({},{categoryID:i,text:o,textHeight:l,textPadding:a,textFill:u,textboxFill:f,textboxStroke:p,textboxStrokeWidth:y,textFontFamily:x,annotationGutter:k,annotations:F,cornerRadius:w,icon:C,subText:T},{icon:C,subText:T}))},t.Circle=bt,t.Edge=function(t){var e=t.points,i=void 0===e?[]:e,n=t.curveDepth,o=void 0===n?16:n,r=t.stroke,l=void 0===r?"black":r,s=t.strokeDasharray;return console.log("strokeDasharray",s),c("path",{stroke:l,"stroke-dasharray":s,d:dt(pt(i,o))})},t.HTMLAdapter=Tt,t.Icon=Ct,t.IconLabelledRect=function(t){var e=t.icon,i=t.iconFontFamily,n=t.text,o=t.height,r=void 0===o?12:o,l=t.width,s=void 0===l?12:l,a=t.fontFamily,h=void 0===a?"Verdana":a,u=t.fontSize,_=void 0===u?10:u,f=t.padding,p=void 0===f?3:f,v=t.fill,y=void 0===v?"whitesmoke":v,g=t.stroke,x=void 0===g?"lightgray":g,m=t.textFill,k=void 0===m?"black":m,b=t.strokeWidth,F=void 0===b?1:b,w=t.cornerRadius,S=void 0===w?0:w;t.onSizeUpdate;return c(d,null,c(wt,{width:s,height:r,fill:y,stroke:x,strokeWidth:F,cornerRadius:S}),c("g",{transform:"translate("+(-s/2+p)+" "+(-r/2+p)+")"},c(Ct,{shape:"square",imageFontFamily:i,imageChar:e,height:r,fill:y,imageCharFill:k})),c("g",{transform:"translate("+(-s/2+2*p+r)+" "+(-r/2+p)+")"},c(Et,{text:n,fontFamily:h,height:_,fill:k,anchor:"start",baseline:"hanging"})))},t.Icons=function(t){var e=t.icons,i=(void 0===e?[]:e).map(function(t){return c("g",{key:t.id,id:t.id},c(Ct,xt({},t)))});return c(d,null,i)},t.ImageChar=vt,t.LabelledRect=function(t){var e=t.text,i=t.height,n=void 0===i?12:i,o=t.width,r=void 0===o?12:o,l=t.fontFamily,s=void 0===l?"Verdana":l,a=t.fontSize,h=void 0===a?10:a,u=t.padding,_=void 0===u?3:u,f=t.fill,p=void 0===f?"whitesmoke":f,v=t.stroke,y=void 0===v?"lightgray":v,g=t.textFill,x=void 0===g?"black":g,m=t.strokeWidth,k=void 0===m?1:m,b=t.cornerRadius,F=void 0===b?0:b;t.onSizeUpdate;return c(d,null,c(wt,{width:r,height:n,fill:p,stroke:y,strokeWidth:k,cornerRadius:F}),c("g",{transform:"translate("+(-r/2+_)+" "+(-n/2+_)+")"},c(Et,{text:e,fontFamily:s,height:h,fill:x,anchor:"start",baseline:"hanging"})))},t.PKG_NAME="@hpcc-js/react",t.PKG_VERSION="2.31.0",t.React=$,t.Rectangle=wt,t.SVGAdapter=Pt,t.Shape=St,t.Square=Ft,t.Subgraph=function(t){var i=t.text,n=t.width,o=void 0===n?100:n,r=t.height,l=void 0===r?100:r,s=t.fill,a=void 0===s?"transparent":s,h=t.stroke,u=void 0===h?"black":h,_=t.fontHeight,f=void 0===_?12:_,p=t.fontFamily,v=e.Utility.textSize(i,p,f,!1);return c(d,null,c(wt,{width:o,height:l,fill:a,stroke:u}),c("g",{transform:"translate("+((-o+v.width)/2+4)+" "+((-l+v.height)/2+4)+")"},c(Mt,{height:f,text:i,fontFamily:p})))},t.Text=Mt,t.TextBox=Wt,t.TextLine=Et,t.Vertex=function(t){var e=t.categoryID,i=void 0===e?"":e,n=t.text,o=void 0===n?"":n,r=t.textHeight,l=void 0===r?12:r,s=t.textPadding,a=void 0===s?4:s,h=t.icon,u=void 0===h?{}:h,_=t.annotationsHeight,f=void 0===_?12:_,d=t.annotationIDs,p=void 0===d?[]:d,v=t.textFill,y=t.textboxFill,g=t.textboxStroke,x=t.textFontFamily,m=t.onSizeUpdate,k=void 0===m?function(t){}:m,b=t.showLabel,F=void 0===b||b,w=I(0),S=w[0],C=w[1],R=I(0),T=R[0],P=R[1];V(function(){return k({width:0,height:0})},[S,T]);var E=S;E+=4;var M=-(2*(u=xt({imageChar:"fa-question",height:32,fill:"transparent"},u)).height/6+l+8)/2,W=u.height/3+T/2+a,D=u.height/3+T+a+f/3;F||(M+=(l+8)/2,D-=T+a);var N=F?c("g",{transform:"translate(0 "+W+")"},c(Wt,{text:o,height:l,padding:a,onSizeUpdate:function(t){C(t.width),P(t.height)},textFill:v,fill:y,stroke:g,fontFamily:x})):void 0;return i?c("g",{transform:"translate(0 "+M+")"},c("use",{href:"#"+i}),N,c(Dt,{x:E/2,y:D,annotationIDs:p})):c("g",{transform:"translate(0 "+M+")"},c(Ct,xt({},u)),N)},t.Vertex2=function(t){var i=t.categoryID,n=void 0===i?"":i,o=t.text,r=void 0===o?"":o,l=t.textHeight,s=void 0===l?12:l,a=t.textPadding,h=void 0===a?4:a,u=t.icon,_=void 0===u?{}:u,f=t.textFill,p=void 0===f?"black":f,v=t.textboxFill,y=void 0===v?"white":v,g=t.textboxStroke,x=void 0===g?"black":g,m=t.textFontFamily,k=t.annotationsHeight,b=void 0===k?12:k,F=t.annotationIDs,w=void 0===F?[]:F;_=xt({imageChar:"fa-question",imageCharFill:"white",height:32,fill:"black",shape:"square"},_);var S=s+2*h,C=e.Utility.textSize(r,m,s,!1).width,R=b,T=S/2,P=-(2*_.height/6+s+8)/2,E=-_.height/2,M=Math.ceil(C/2+h),W=T-_.height/2,D=R/2,N=T;return n?c("g",{transform:"translate(0 "+P+")"},c("g",{transform:"translate("+E+" 0)"},c("use",{href:"#"+n})),c("g",{transform:"translate("+M+" "+W+")"},c(Wt,{text:r,height:s,padding:h,strokeWidth:1,stroke:x,fill:y,textFill:p,fontFamily:m})),c(Dt,{x:D,y:N,annotationIDs:w,stepSize:R})):c(d,null,c("g",{transform:"translate("+E+" 0)scale(1.0002)"},c(Ct,xt({},_,{shape:"square"}))),c("g",{transform:"translate("+M+" "+W+")scale(1.0002)"},c(Wt,{text:r,height:s,padding:h,stroke:x,fill:y})))},t.Vertex3=Nt,t.render=Rt,t.svgRender=function(t,e,i,n){M(c("svg",null,c(t,e)),i,n)},Object.defineProperty(t,"__esModule",{value:!0})});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@hpcc-js/common")):"function"==typeof define&&define.amd?define(["exports","@hpcc-js/common"],e):e((t=t||self)["@hpcc-js/react"]={},t["@hpcc-js/common"])}(this,function(t,e){"use strict";var i,n,o,r,l,s={},a=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function u(t,e){for(var i in e)t[i]=e[i];return t}function _(t){var e=t.parentNode;e&&e.removeChild(t)}function c(t,e,i){var n,o=arguments,r={};for(n in e)"key"!==n&&"ref"!==n&&(r[n]=e[n]);if(arguments.length>3)for(i=[i],n=3;n<arguments.length;n++)i.push(o[n]);if(null!=i&&(r.children=i),"function"==typeof t&&null!=t.defaultProps)for(n in t.defaultProps)void 0===r[n]&&(r[n]=t.defaultProps[n]);return f(t,r,e&&e.key,e&&e.ref)}function f(t,e,n,o){var r={type:t,props:e,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:null,__c:null,constructor:void 0};return i.vnode&&i.vnode(r),r}function d(t){return t.children}function p(t,e){this.props=t,this.context=e}function v(t,e){if(null==e)return t.__?v(t.__,t.__.__k.indexOf(t)+1):null;for(var i;e<t.__k.length;e++)if(null!=(i=t.__k[e])&&null!=i.__e)return i.__e;return"function"==typeof t.type?v(t):null}function y(t){var e,i;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(i=t.__k[e])&&null!=i.__e){t.__e=t.__c.base=i.__e;break}return y(t)}}function g(t){(!t.__d&&(t.__d=!0)&&1===n.push(t)||r!==i.debounceRendering)&&((r=i.debounceRendering)||o)(x)}function x(){var t,e,i,o,r,l,s;for(n.sort(function(t,e){return e.__v.__b-t.__v.__b});t=n.pop();)t.__d&&(i=void 0,o=void 0,l=(r=(e=t).__v).__e,(s=e.__P)&&(i=[],o=S(s,r,u({},r),e.__n,void 0!==s.ownerSVGElement,null,i,null==l?v(r):l),C(i,r),o!=l&&y(r)))}function m(t,e,i,n,o,r,l,h,u){var c,f,d,p,y,g,x,m=i&&i.__k||a,b=m.length;if(h==s&&(h=null!=r?r[0]:b?v(i,0):null),c=0,e.__k=k(e.__k,function(i){if(null!=i){if(i.__=e,i.__b=e.__b+1,null===(d=m[c])||d&&i.key==d.key&&i.type===d.type)m[c]=void 0;else for(f=0;f<b;f++){if((d=m[f])&&i.key==d.key&&i.type===d.type){m[f]=void 0;break}d=null}if(p=S(t,i,d=d||s,n,o,r,l,h,u),(f=i.ref)&&d.ref!=f&&(x||(x=[]),d.ref&&x.push(d.ref,null,i),x.push(f,i.__c||p,i)),null!=p){if(null==g&&(g=p),null!=i.__d)p=i.__d,i.__d=null;else if(r==d||p!=h||null==p.parentNode){t:if(null==h||h.parentNode!==t)t.appendChild(p);else{for(y=h,f=0;(y=y.nextSibling)&&f<b;f+=2)if(y==p)break t;t.insertBefore(p,h)}"option"==e.type&&(t.value="")}h=p.nextSibling,"function"==typeof e.type&&(e.__d=p)}}return c++,i}),e.__e=g,null!=r&&"function"!=typeof e.type)for(c=r.length;c--;)null!=r[c]&&_(r[c]);for(c=b;c--;)null!=m[c]&&P(m[c],m[c]);if(x)for(c=0;c<x.length;c++)T(x[c],x[++c],x[++c])}function k(t,e,i){if(null==i&&(i=[]),null==t||"boolean"==typeof t)e&&i.push(e(null));else if(Array.isArray(t))for(var n=0;n<t.length;n++)k(t[n],e,i);else i.push(e?e("string"==typeof t||"number"==typeof t?f(null,t,null,null):null!=t.__e||null!=t.__c?f(t.type,t.props,t.key,null):t):t);return i}function b(t,e,i){"-"===e[0]?t.setProperty(e,i):t[e]="number"==typeof i&&!1===h.test(e)?i+"px":null==i?"":i}function F(t,e,i,n,o){var r,l,s,a,h;if(o?"className"===e&&(e="class"):"class"===e&&(e="className"),"key"===e||"children"===e);else if("style"===e)if(r=t.style,"string"==typeof i)r.cssText=i;else{if("string"==typeof n&&(r.cssText="",n=null),n)for(l in n)i&&l in i||b(r,l,"");if(i)for(s in i)n&&i[s]===n[s]||b(r,s,i[s])}else"o"===e[0]&&"n"===e[1]?(a=e!==(e=e.replace(/Capture$/,"")),h=e.toLowerCase(),e=(h in t?h:e).slice(2),i?(n||t.addEventListener(e,w,a),(t.l||(t.l={}))[e]=i):t.removeEventListener(e,w,a)):"list"!==e&&"tagName"!==e&&"form"!==e&&"type"!==e&&!o&&e in t?t[e]=null==i?"":i:"function"!=typeof i&&"dangerouslySetInnerHTML"!==e&&(e!==(e=e.replace(/^xlink:?/,""))?null==i||!1===i?t.removeAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase()):t.setAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase(),i):null==i||!1===i?t.removeAttribute(e):t.setAttribute(e,i))}function w(t){this.l[t.type](i.event?i.event(t):t)}function S(t,e,n,o,r,l,s,a,h){var _,c,f,v,y,g,x,b,F,w,S=e.type;if(void 0!==e.constructor)return null;(_=i.__b)&&_(e);try{t:if("function"==typeof S){if(b=e.props,F=(_=S.contextType)&&o[_.__c],w=_?F?F.props.value:_.__:o,n.__c?x=(c=e.__c=n.__c).__=c.__E:("prototype"in S&&S.prototype.render?e.__c=c=new S(b,w):(e.__c=c=new p(b,w),c.constructor=S,c.render=E),F&&F.sub(c),c.props=b,c.state||(c.state={}),c.context=w,c.__n=o,f=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=S.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=u({},c.__s)),u(c.__s,S.getDerivedStateFromProps(b,c.__s))),v=c.props,y=c.state,f)null==S.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==S.getDerivedStateFromProps&&b!==v&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(b,w),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(b,c.__s,w)){for(c.props=b,c.state=c.__s,c.__d=!1,c.__v=e,e.__e=n.__e,e.__k=n.__k,c.__h.length&&s.push(c),_=0;_<e.__k.length;_++)e.__k[_]&&(e.__k[_].__=e);break t}null!=c.componentWillUpdate&&c.componentWillUpdate(b,c.__s,w),null!=c.componentDidUpdate&&c.__h.push(function(){c.componentDidUpdate(v,y,g)})}c.context=w,c.props=b,c.state=c.__s,(_=i.__r)&&_(e),c.__d=!1,c.__v=e,c.__P=t,_=c.render(c.props,c.state,c.context),e.__k=k(null!=_&&_.type==d&&null==_.key?_.props.children:_),null!=c.getChildContext&&(o=u(u({},o),c.getChildContext())),f||null==c.getSnapshotBeforeUpdate||(g=c.getSnapshotBeforeUpdate(v,y)),m(t,e,n,o,r,l,s,a,h),c.base=e.__e,c.__h.length&&s.push(c),x&&(c.__E=c.__=null),c.__e=null}else e.__e=R(n.__e,e,n,o,r,l,s,h);(_=i.diffed)&&_(e)}catch(t){i.__e(t,e,n)}return e.__e}function C(t,e){i.__c&&i.__c(e,t),t.some(function(e){try{t=e.__h,e.__h=[],t.some(function(t){t.call(e)})}catch(t){i.__e(t,e.__v)}})}function R(t,e,i,n,o,r,l,h){var u,_,c,f,d,p=i.props,v=e.props;if(o="svg"===e.type||o,null==t&&null!=r)for(u=0;u<r.length;u++)if(null!=(_=r[u])&&(null===e.type?3===_.nodeType:_.localName===e.type)){t=_,r[u]=null;break}if(null==t){if(null===e.type)return document.createTextNode(v);t=o?document.createElementNS("http://www.w3.org/2000/svg",e.type):document.createElement(e.type),r=null}if(null===e.type)null!=r&&(r[r.indexOf(t)]=null),p!==v&&(t.data=v);else if(e!==i){if(null!=r&&(r=a.slice.call(t.childNodes)),c=(p=i.props||s).dangerouslySetInnerHTML,f=v.dangerouslySetInnerHTML,!h){if(p===s)for(p={},d=0;d<t.attributes.length;d++)p[t.attributes[d].name]=t.attributes[d].value;(f||c)&&(f&&c&&f.__html==c.__html||(t.innerHTML=f&&f.__html||""))}(function(t,e,i,n,o){var r;for(r in i)r in e||F(t,r,null,i[r],n);for(r in e)o&&"function"!=typeof e[r]||"value"===r||"checked"===r||i[r]===e[r]||F(t,r,e[r],i[r],n)})(t,v,p,o,h),e.__k=e.props.children,f||m(t,e,i,n,"foreignObject"!==e.type&&o,r,l,s,h),h||("value"in v&&void 0!==v.value&&v.value!==t.value&&(t.value=null==v.value?"":v.value),"checked"in v&&void 0!==v.checked&&v.checked!==t.checked&&(t.checked=v.checked))}return t}function T(t,e,n){try{"function"==typeof t?t(e):t.current=e}catch(t){i.__e(t,n)}}function P(t,e,n){var o,r,l;if(i.unmount&&i.unmount(t),(o=t.ref)&&T(o,null,e),n||"function"==typeof t.type||(n=null!=(r=t.__e)),t.__e=t.__d=null,null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(t){i.__e(t,e)}o.base=o.__P=null}if(o=t.__k)for(l=0;l<o.length;l++)o[l]&&P(o[l],e,n);null!=r&&_(r)}function E(t,e,i){return this.constructor(t,i)}function M(t,e,n){var o,r,h;i.__&&i.__(t,e),r=(o=n===l)?null:n&&n.__k||e.__k,t=c(d,null,[t]),h=[],S(e,(o?e:n||e).__k=t,r||s,s,void 0!==e.ownerSVGElement,n&&!o?[n]:r?null:a.slice.call(e.childNodes),h,n||s,o),C(h,t)}i={__e:function(t,e){for(var i;e=e.__;)if((i=e.__c)&&!i.__)try{if(i.constructor&&null!=i.constructor.getDerivedStateFromError)i.setState(i.constructor.getDerivedStateFromError(t));else{if(null==i.componentDidCatch)continue;i.componentDidCatch(t)}return g(i.__E=i)}catch(e){t=e}throw t}},p.prototype.setState=function(t,e){var i;i=this.__s!==this.state?this.__s:this.__s=u({},this.state),"function"==typeof t&&(t=t(i,this.props)),t&&u(i,t),null!=t&&this.__v&&(this.__e=!1,e&&this.__h.push(e),g(this))},p.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),g(this))},p.prototype.render=d,n=[],o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,l=s;var W,D,N,H=[],A=i.__r,O=i.diffed,U=i.__c,j=i.unmount;function z(t){i.__h&&i.__h(D);var e=D.__H||(D.__H={t:[],u:[]});return t>=e.t.length&&e.t.push({}),e.t[t]}function I(t){return L(Z,t)}function L(t,e,i){var n=z(W++);return n.__c||(n.__c=D,n.i=[i?i(e):Z(void 0,e),function(e){var i=t(n.i[0],e);n.i[0]!==i&&(n.i[0]=i,n.__c.setState({}))}]),n.i}function V(t,e){var i=z(W++);K(i.o,e)&&(i.i=t,i.o=e,D.__H.u.push(i))}function q(){H.some(function(t){t.__P&&(t.__H.u.forEach(G),t.__H.u.forEach(B),t.__H.u=[])}),H=[]}function G(t){t.m&&t.m()}function B(t){var e=t.i();"function"==typeof e&&(t.m=e)}function K(t,e){return!t||e.some(function(e,i){return e!==t[i]})}function Z(t,e){return"function"==typeof e?e(t):e}i.__r=function(t){A&&A(t),W=0,(D=t.__c).__H&&(D.__H.u.forEach(G),D.__H.u.forEach(B),D.__H.u=[])},i.diffed=function(t){O&&O(t);var e=t.__c;if(e){var n=e.__H;n&&n.u.length&&(1!==H.push(e)&&N===i.requestAnimationFrame||((N=i.requestAnimationFrame)||function(t){var e,i=function(){clearTimeout(n),cancelAnimationFrame(e),setTimeout(t)},n=setTimeout(i,100);"undefined"!=typeof window&&(e=requestAnimationFrame(i))})(q))}},i.__c=function(t,e){e.some(function(t){t.__h.forEach(G),t.__h=t.__h.filter(function(t){return!t.i||B(t)})}),U&&U(t,e)},i.unmount=function(t){j&&j(t);var e=t.__c;if(e){var i=e.__H;i&&i.t.forEach(function(t){return t.m&&t.m()})}};var $=Object.freeze({__proto__:null,BUILD_VERSION:"2.67.0",Component:p,Fragment:d,PKG_NAME:"@hpcc-js/preact-shim",PKG_VERSION:"2.13.13",createElement:c,h:c,render:M,useEffect:V,useMemo:function(t,e){var i=z(W++);return K(i.o,e)?(i.o=e,i.v=t,i.i=t()):i.i},useReducer:L,useState:I}),Q=Math.PI,J=2*Q,X=J-1e-6;function Y(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function tt(){return new Y}function et(t){return function(){return t}}function it(t){this._context=t}function nt(t){return new it(t)}function ot(t){return t[0]}function rt(t){return t[1]}function lt(t,e,i){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+i)/6)}function st(t){this._context=t}function at(t){return t<0?-1:1}function ht(t,e,i){var n=t._x1-t._x0,o=e-t._x1,r=(t._y1-t._y0)/(n||o<0&&-0),l=(i-t._y1)/(o||n<0&&-0),s=(r*o+l*n)/(n+o);return(at(r)+at(l))*Math.min(Math.abs(r),Math.abs(l),.5*Math.abs(s))||0}function ut(t,e){var i=t._x1-t._x0;return i?(3*(t._y1-t._y0)/i-e)/2:e}function _t(t,e,i){var n=t._x0,o=t._y0,r=t._x1,l=t._y1,s=(r-n)/3;t._context.bezierCurveTo(n+s,o+s*e,r-s,l-s*i,r,l)}function ct(t){this._context=t}function ft(t){this._context=t}Y.prototype=tt.prototype={constructor:Y,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,i,n){this._+="Q"+ +t+","+ +e+","+(this._x1=+i)+","+(this._y1=+n)},bezierCurveTo:function(t,e,i,n,o,r){this._+="C"+ +t+","+ +e+","+ +i+","+ +n+","+(this._x1=+o)+","+(this._y1=+r)},arcTo:function(t,e,i,n,o){t=+t,e=+e,i=+i,n=+n,o=+o;var r=this._x1,l=this._y1,s=i-t,a=n-e,h=r-t,u=l-e,_=h*h+u*u;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(_>1e-6)if(Math.abs(u*s-a*h)>1e-6&&o){var c=i-r,f=n-l,d=s*s+a*a,p=c*c+f*f,v=Math.sqrt(d),y=Math.sqrt(_),g=o*Math.tan((Q-Math.acos((d+_-p)/(2*v*y)))/2),x=g/y,m=g/v;Math.abs(x-1)>1e-6&&(this._+="L"+(t+x*h)+","+(e+x*u)),this._+="A"+o+","+o+",0,0,"+ +(u*c>h*f)+","+(this._x1=t+m*s)+","+(this._y1=e+m*a)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,i,n,o,r){t=+t,e=+e;var l=(i=+i)*Math.cos(n),s=i*Math.sin(n),a=t+l,h=e+s,u=1^r,_=r?n-o:o-n;if(i<0)throw new Error("negative radius: "+i);null===this._x1?this._+="M"+a+","+h:(Math.abs(this._x1-a)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+a+","+h),i&&(_<0&&(_=_%J+J),_>X?this._+="A"+i+","+i+",0,1,"+u+","+(t-l)+","+(e-s)+"A"+i+","+i+",0,1,"+u+","+(this._x1=a)+","+(this._y1=h):_>1e-6&&(this._+="A"+i+","+i+",0,"+ +(_>=Q)+","+u+","+(this._x1=t+i*Math.cos(o))+","+(this._y1=e+i*Math.sin(o))))},rect:function(t,e,i,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +i+"v"+ +n+"h"+-i+"Z"},toString:function(){return this._}},it.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},st.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:lt(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:lt(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ct.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:_t(this,this._t0,ut(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var i=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,_t(this,ut(this,i=ht(this,t,e)),i);break;default:_t(this,this._t0,i=ht(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=i}}},(function(t){this._context=new ft(t)}.prototype=Object.create(ct.prototype)).point=function(t,e){ct.prototype.point.call(this,e,t)},ft.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,i,n,o,r){this._context.bezierCurveTo(e,t,n,i,r,o)}};var dt=function(){var t=ot,e=rt,i=et(!0),n=null,o=nt,r=null;function l(l){var s,a,h,u=l.length,_=!1;for(null==n&&(r=o(h=tt())),s=0;s<=u;++s)!(s<u&&i(a=l[s],s,l))===_&&((_=!_)?r.lineStart():r.lineEnd()),_&&r.point(+t(a,s,l),+e(a,s,l));if(h)return r=null,h+""||null}return l.x=function(e){return arguments.length?(t="function"==typeof e?e:et(+e),l):t},l.y=function(t){return arguments.length?(e="function"==typeof t?t:et(+t),l):e},l.defined=function(t){return arguments.length?(i="function"==typeof t?t:et(!!t),l):i},l.curve=function(t){return arguments.length?(o=t,null!=n&&(r=o(n)),l):o},l.context=function(t){return arguments.length?(null==t?n=r=null:r=o(n=t),l):n},l}().x(function(t){return t[0]}).y(function(t){return t[1]}).curve(function(t){return new st(t)});function pt(t,e){if(2===t.length&&e){var i=t[0][0]-t[1][0],n=t[0][1]-t[1][1];if(Math.sqrt(i*i+n*n)){var o=(t[0][0]+t[1][0])/2-n*e/100,r=(t[0][1]+t[1][1])/2+i*e/100;return[t[0],[o,r],t[1]]}}return t}var vt=function(t){var i=t.x,n=t.y,o=void 0===n?0:n,r=t.height,l=void 0===r?12:r,s=t.fill,a=t.stroke,h=t.fontFamily,u=void 0===h?"FontAwesome":h,_=t.char,f=void 0===_?"":_;return c("text",{x:i,y:o,fill:s,stroke:a,"font-family":u,"font-size":l+"px","dominant-baseline":"middle",style:"text-anchor: middle;alignment-baseline:middle;"},"FontAwesome"===u?e.Utility.faChar(f):f)},yt=function(t,e){return(yt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)};function gt(t,e){function i(){this.constructor=t}yt(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}var xt=function(){return(xt=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function mt(t,e,i,n){var o,r=arguments.length,l=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,i,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(l=(r<3?o(l):r>3?o(e,i,l):o(e,i))||l);return r>3&&l&&Object.defineProperty(e,i,l),l}function kt(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}var bt=function(t){var e=t.radius,i=void 0===e?32:e,n=t.fill,o=void 0===n?"navy":n,r=t.stroke,l=void 0===r?o:r,s=t.strokeWidth;return c("circle",{r:i,fill:o,stroke:l,"stroke-width":void 0===s?1:s,"shape-rendering":t.shapeRendering})},Ft=function(t){var e=t.radius,i=void 0===e?30:e,n=t.cornerRadius,o=void 0===n?0:n,r=t.fill,l=void 0===r?"white":r,s=t.stroke,a=t.strokeWidth;return c("rect",{x:-i,y:-i,rx:o,ry:o,width:2*i,height:2*i,fill:l,stroke:s||l,"stroke-width":void 0===a?1:a,"shape-rendering":t.shapeRendering})},wt=function(t){var e=t.width,i=void 0===e?30:e,n=t.height,o=void 0===n?30:n,r=t.cornerRadius,l=void 0===r?0:r,s=t.fill,a=void 0===s?"white":s,h=t.stroke,u=void 0===h?"black":h,_=t.strokeWidth;return c("rect",{x:-i/2,y:-o/2,rx:l,ry:l,width:i,height:o,fill:a,stroke:u||a,"stroke-width":void 0===_?1:_,"shape-rendering":t.shapeRendering})},St=function(t){var e=t.shape,i=void 0===e?"circle":e,n=t.height,o=void 0===n?128:n,r=t.fill,l=t.stroke,s=t.strokeWidth,a=void 0===s?1:s,h=t.shapeRendering,u=t.cornerRadius;switch(i){case"square":return c(Ft,{radius:o/2,fill:r,stroke:l,strokeWidth:a,shapeRendering:h,cornerRadius:u});case"circle":default:return c(bt,{radius:o/2,fill:r,stroke:l,strokeWidth:a,shapeRendering:h})}},Ct=function(t){var i=t.shape,n=void 0===i?"circle":i,o=t.height,r=void 0===o?32:o,l=t.fill,s=t.stroke,a=t.strokeWidth,h=void 0===a?0:a,u=t.imageFontFamily,_=void 0===u?"FontAwesome":u,f=t.imageChar,p=void 0===f?"":f,v=t.imageCharFill,y=void 0===v?e.Palette.textColor(l):v,g=t.padding,x=void 0===g?r/5:g,m=t.yOffset,k=void 0===m?0:m,b=t.cornerRadius,F=t.shapeRendering;return c(d,null,c(St,{shape:n,height:r,fill:l,stroke:s,strokeWidth:h,shapeRendering:F,cornerRadius:b}),c(vt,{y:k,height:r-x,fontFamily:_,char:p,fill:y,"font-weight":400}))};function Rt(t,e,i,n){M(c(t,e),i,n)}var Tt=function(t){function i(e){var i=t.call(this)||this;return i._component=e,i._props={},i}return gt(i,t),i.prototype.props=function(t){return arguments.length?(this._props=xt(xt({},this._props),t),this):this._props},i.prototype.prop=function(t,e){return 1===arguments.length?this._props[t]:(this._props[t]=e,this)},i.prototype.update=function(e,i){t.prototype.update.call(this,e,i),Rt(this._component,this._props,e)},mt([e.publish({},"object","Properties"),kt("design:type",Object)],i.prototype,"_props",void 0),i}(e.HTMLWidget),Pt=function(t){function i(e){var i=t.call(this)||this;return i._component=e,i._props={},i}return gt(i,t),i.prototype.props=function(t){return arguments.length?(this._props=xt(xt({},this._props),t),this):this._props},i.prototype.prop=function(t,e){return 1===arguments.length?this._props[t]:(this._props[t]=e,this)},i.prototype.update=function(e,i){t.prototype.update.call(this,e,i),Rt(this._component,this._props,e)},mt([e.publish({},"object","Properties"),kt("design:type",Object)],i.prototype,"_props",void 0),i}(e.SVGWidget),Et=function(t){var e=t.text,i=t.height,n=void 0===i?12:i,o=t.anchor,r=void 0===o?"middle":o,l=t.baseline,s=void 0===l?"middle":l,a=t.fontFamily,h=void 0===a?"Verdana":a,u=t.fill;return c("text",{"font-family":h,"font-size":n+"px","text-anchor":r,"dominant-baseline":s,fill:void 0===u?"black":u},e)},Mt=function(t){var i=t.text,n=t.height,o=void 0===n?12:n,r=t.fontFamily,l=void 0===r?"Verdana":r,s=t.fill,a=void 0===s?"black":s,h=t.onSizeUpdate,u=void 0===h?function(t){}:h,_=I(0),f=_[0],p=_[1],v=I(0),y=v[0],g=v[1];V(function(){return u({width:f,height:y})},[f,y]);var x=i.split("\n");p(e.Utility.textSize(x,l,o).width),g(x.length*(o+2)-2);var m=-y/2+o/2,k=x.map(function(t,e){return c("g",{transform:"translate(0 "+(m+e*(o+2))+")"},c(Et,{text:t,height:o,fontFamily:l,fill:a}))});return c(d,null,k)},Wt=function(t){var e=t.text,i=t.height,n=void 0===i?12:i,o=t.fontFamily,r=void 0===o?"Verdana":o,l=t.padding,s=void 0===l?4:l,a=t.fill,h=void 0===a?"whitesmoke":a,u=t.stroke,_=void 0===u?"lightgray":u,f=t.textFill,p=void 0===f?"black":f,v=t.strokeWidth,y=void 0===v?1:v,g=t.cornerRadius,x=void 0===g?0:g,m=t.onSizeUpdate,k=void 0===m?function(t){}:m,b=I(0),F=b[0],w=b[1],S=I(0),C=S[0],R=S[1];V(function(){return k({width:F,height:C})},[F,C]);var T=F+2*s+y,P=C+2*s+y,E=Math.floor(n/10);return c(d,null,c(wt,{width:T,height:P,fill:h,stroke:_,strokeWidth:y,cornerRadius:x}),c("g",{transform:"translate(0 "+E+")"},c(Mt,{text:e,fontFamily:r,height:n,fill:p,onSizeUpdate:function(t){w(t.width),R(t.height)}})))},Dt=function(t){var e=t.x,i=t.y,n=t.annotationIDs,o=void 0===n?[]:n,r=t.stepSize,l=void 0===r?-16:r,s=o.map(function(t,n){return c("g",{key:t,transform:"translate("+(e+n*l)+" "+i+")"},c("use",{href:"#"+t}))});return c(d,null,s)},Nt=function(t){t.categoryID;var i=t.text,n=void 0===i?"":i,o=t.textHeight,r=void 0===o?10:o,l=t.textPadding,s=void 0===l?4:l,a=t.textFill,h=void 0===a?"#287EC4":a,u=t.textboxFill,_=void 0===u?"white":u,f=t.textboxStroke,d=void 0===f?"#CCCCCC":f,p=t.textboxStrokeWidth,v=void 0===p?1:p,y=t.textFontFamily,g=void 0===y?"Verdana":y,x=t.annotationGutter,m=void 0===x?2:x,k=t.annotations,b=void 0===k?[]:k,F=t.cornerRadius,w=void 0===F?3:F,S=t.icon,C=void 0===S?{}:S,R=t.subText,T=void 0===R?{}:R,P=t.showLabel,E=void 0===P||P,M=t.noLabelRadius,W=void 0===M?5:M;C=xt({height:50,imageChar:"?",imageFontFamily:"FontAwesome",imageCharFill:"#555555",fill:"transparent",strokeWidth:0},C),T=xt({text:"",fill:"white",textFill:"#555555"},T);var D=0,N=e.Utility.textSize(n,g,r,!1).width,H=0;""!==n&&(H=N+2*s+2*v);var A=(D+=H+m)-H/2,O=r+2*s+2*v,U=[];b.forEach(function(t){var e=t.imageChar,i=(D+=O+m)-O/2;U.push(c("g",{class:"vertex3-anno",transform:"translate("+i+" 0)"},c(Ct,xt({},t,{shape:"square",height:O,imageChar:e,imageFontFamily:t.imageFontFamily,cornerRadius:w,strokeWidth:0}))))}),b.length>0&&(D+=m*(b.length-1));var j=c("g",{transform:"translate("+A+" 0)"},E&&""!==n?c(Wt,{text:n,height:r,padding:s,strokeWidth:v,stroke:d,fill:_,textFill:h,fontFamily:g,cornerRadius:w}):c("circle",{r:W,stroke:d,fill:h})),z=C.height||20,I=C.strokeWidth||0,L=0,V=O+2*m;""!==n||U.length>0?L=-z/2-I-O/2-2*m:""!==T.text&&(V=z/2+I+2*m);var q=""===T.text?null:c("g",{transform:"translate(0 "+V+")"},c(Wt,xt({fill:T.fill||"#FFFFFF",textFill:T.textFill||h},T,{height:r,padding:s,strokeWidth:0,stroke:d,fontFamily:g,cornerRadius:w})));return c("g",null,c("g",{transform:"translate(0 "+L+")"},c(Ct,xt({},C))),c("g",{transform:"translate("+-D/2+" 0)"},j,U),q)};t.Annotations=Dt,t.BUILD_VERSION="2.67.0",t.CentroidVertex3=function(t){var e=t.categoryID,i=void 0===e?"":e,n=t.text,o=void 0===n?"":n,r=t.textHeight,l=void 0===r?12:r,s=t.textPadding,a=void 0===s?10:s,h=t.textFill,u=void 0===h?"#287EC4":h,_=t.textboxFill,f=void 0===_?"white":_,d=t.textboxStroke,p=void 0===d?"#CCCCCC":d,v=t.textboxStrokeWidth,y=void 0===v?1:v,g=t.textFontFamily,x=void 0===g?"Verdana":g,m=t.annotationGutter,k=void 0===m?2:m,b=t.annotations,F=void 0===b?[]:b,w=t.cornerRadius,S=t.icon,C=void 0===S?{}:S,R=t.subText,T=void 0===R?{}:R;return C=xt({height:91,padding:40,imageCharFill:"#555555",imageFontFamily:"FontAwesome",fill:"#FFCC33",stroke:"#DFDFDF",imageChar:"?",strokeWidth:4,yOffset:-15},C),T=xt({text:"",fill:"transparent",textFill:"#555555"},T),c(Nt,xt({},{categoryID:i,text:o,textHeight:l,textPadding:a,textFill:u,textboxFill:f,textboxStroke:p,textboxStrokeWidth:y,textFontFamily:x,annotationGutter:k,annotations:F,cornerRadius:w,icon:C,subText:T},{icon:C,subText:T}))},t.Circle=bt,t.Edge=function(t){var e=t.points,i=void 0===e?[]:e,n=t.curveDepth,o=void 0===n?16:n,r=t.stroke,l=void 0===r?"black":r,s=t.strokeDasharray;return console.log("strokeDasharray",s),c("path",{stroke:l,"stroke-dasharray":s,d:dt(pt(i,o))})},t.HTMLAdapter=Tt,t.Icon=Ct,t.IconLabelledRect=function(t){var e=t.icon,i=t.iconFontFamily,n=t.text,o=t.height,r=void 0===o?12:o,l=t.width,s=void 0===l?12:l,a=t.fontFamily,h=void 0===a?"Verdana":a,u=t.fontSize,_=void 0===u?10:u,f=t.padding,p=void 0===f?3:f,v=t.fill,y=void 0===v?"whitesmoke":v,g=t.stroke,x=void 0===g?"lightgray":g,m=t.textFill,k=void 0===m?"black":m,b=t.strokeWidth,F=void 0===b?1:b,w=t.cornerRadius,S=void 0===w?0:w;t.onSizeUpdate;return c(d,null,c(wt,{width:s,height:r,fill:y,stroke:x,strokeWidth:F,cornerRadius:S}),c("g",{transform:"translate("+(-s/2+p)+" "+(-r/2+p)+")"},c(Ct,{shape:"square",imageFontFamily:i,imageChar:e,height:r,fill:y,imageCharFill:k})),c("g",{transform:"translate("+(-s/2+2*p+r)+" "+(-r/2+p)+")"},c(Et,{text:n,fontFamily:h,height:_,fill:k,anchor:"start",baseline:"hanging"})))},t.Icons=function(t){var e=t.icons,i=(void 0===e?[]:e).map(function(t){return c("g",{key:t.id,id:t.id},c(Ct,xt({},t)))});return c(d,null,i)},t.ImageChar=vt,t.LabelledRect=function(t){var e=t.text,i=t.height,n=void 0===i?12:i,o=t.width,r=void 0===o?12:o,l=t.fontFamily,s=void 0===l?"Verdana":l,a=t.fontSize,h=void 0===a?10:a,u=t.padding,_=void 0===u?3:u,f=t.fill,p=void 0===f?"whitesmoke":f,v=t.stroke,y=void 0===v?"lightgray":v,g=t.textFill,x=void 0===g?"black":g,m=t.strokeWidth,k=void 0===m?1:m,b=t.cornerRadius,F=void 0===b?0:b;t.onSizeUpdate;return c(d,null,c(wt,{width:r,height:n,fill:p,stroke:y,strokeWidth:k,cornerRadius:F}),c("g",{transform:"translate("+(-r/2+_)+" "+(-n/2+_)+")"},c(Et,{text:e,fontFamily:s,height:h,fill:x,anchor:"start",baseline:"hanging"})))},t.PKG_NAME="@hpcc-js/react",t.PKG_VERSION="2.32.0",t.React=$,t.Rectangle=wt,t.SVGAdapter=Pt,t.Shape=St,t.Square=Ft,t.Subgraph=function(t){var i=t.text,n=t.width,o=void 0===n?100:n,r=t.height,l=void 0===r?100:r,s=t.fill,a=void 0===s?"transparent":s,h=t.stroke,u=void 0===h?"black":h,_=t.fontHeight,f=void 0===_?12:_,p=t.fontFamily,v=e.Utility.textSize(i,p,f,!1);return c(d,null,c(wt,{width:o,height:l,fill:a,stroke:u}),c("g",{transform:"translate("+((-o+v.width)/2+4)+" "+((-l+v.height)/2+4)+")"},c(Mt,{height:f,text:i,fontFamily:p})))},t.Text=Mt,t.TextBox=Wt,t.TextLine=Et,t.Vertex=function(t){var e=t.categoryID,i=void 0===e?"":e,n=t.text,o=void 0===n?"":n,r=t.textHeight,l=void 0===r?12:r,s=t.textPadding,a=void 0===s?4:s,h=t.icon,u=void 0===h?{}:h,_=t.annotationsHeight,f=void 0===_?12:_,d=t.annotationIDs,p=void 0===d?[]:d,v=t.textFill,y=t.textboxFill,g=t.textboxStroke,x=t.textFontFamily,m=t.onSizeUpdate,k=void 0===m?function(t){}:m,b=t.showLabel,F=void 0===b||b,w=I(0),S=w[0],C=w[1],R=I(0),T=R[0],P=R[1];V(function(){return k({width:0,height:0})},[S,T]);var E=S;E+=4;var M=-(2*(u=xt({imageChar:"fa-question",height:32,fill:"transparent"},u)).height/6+l+8)/2,W=u.height/3+T/2+a,D=u.height/3+T+a+f/3;F||(M+=(l+8)/2,D-=T+a);var N=F?c("g",{transform:"translate(0 "+W+")"},c(Wt,{text:o,height:l,padding:a,onSizeUpdate:function(t){C(t.width),P(t.height)},textFill:v,fill:y,stroke:g,fontFamily:x})):void 0;return i?c("g",{transform:"translate(0 "+M+")"},c("use",{href:"#"+i}),N,c(Dt,{x:E/2,y:D,annotationIDs:p})):c("g",{transform:"translate(0 "+M+")"},c(Ct,xt({},u)),N)},t.Vertex2=function(t){var i=t.categoryID,n=void 0===i?"":i,o=t.text,r=void 0===o?"":o,l=t.textHeight,s=void 0===l?12:l,a=t.textPadding,h=void 0===a?4:a,u=t.icon,_=void 0===u?{}:u,f=t.textFill,p=void 0===f?"black":f,v=t.textboxFill,y=void 0===v?"white":v,g=t.textboxStroke,x=void 0===g?"black":g,m=t.textFontFamily,k=t.annotationsHeight,b=void 0===k?12:k,F=t.annotationIDs,w=void 0===F?[]:F;_=xt({imageChar:"fa-question",imageCharFill:"white",height:32,fill:"black",shape:"square"},_);var S=s+2*h,C=e.Utility.textSize(r,m,s,!1).width,R=b,T=S/2,P=-(2*_.height/6+s+8)/2,E=-_.height/2,M=Math.ceil(C/2+h),W=T-_.height/2,D=R/2,N=T;return n?c("g",{transform:"translate(0 "+P+")"},c("g",{transform:"translate("+E+" 0)"},c("use",{href:"#"+n})),c("g",{transform:"translate("+M+" "+W+")"},c(Wt,{text:r,height:s,padding:h,strokeWidth:1,stroke:x,fill:y,textFill:p,fontFamily:m})),c(Dt,{x:D,y:N,annotationIDs:w,stepSize:R})):c(d,null,c("g",{transform:"translate("+E+" 0)scale(1.0002)"},c(Ct,xt({},_,{shape:"square"}))),c("g",{transform:"translate("+M+" "+W+")scale(1.0002)"},c(Wt,{text:r,height:s,padding:h,stroke:x,fill:y})))},t.Vertex3=Nt,t.render=Rt,t.svgRender=function(t,e,i,n){M(c("svg",null,c(t,e)),i,n)},Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=index.min.js.map
{
"name": "@hpcc-js/react",
"version": "2.31.0",
"version": "2.32.0",
"description": "hpcc-js - Viz React",

@@ -40,3 +40,3 @@ "main": "dist/index.js",

"dependencies": {
"@hpcc-js/common": "^2.48.0",
"@hpcc-js/common": "^2.49.0",
"@hpcc-js/preact-shim": "^2.13.13"

@@ -74,3 +74,3 @@ },

"homepage": "https://github.com/hpcc-systems/Visualization",
"gitHead": "66071b0cdad4b4d795fd9b6f267562c30a246c1d"
"gitHead": "057b0e8d09e0eacaabd3ea8d038a7db02d807a4e"
}
export const PKG_NAME = "@hpcc-js/react";
export const PKG_VERSION = "2.31.0";
export const BUILD_VERSION = "2.65.0";
export const PKG_VERSION = "2.32.0";
export const BUILD_VERSION = "2.67.0";
export declare const PKG_NAME = "@hpcc-js/react";
export declare const PKG_VERSION = "2.31.0";
export declare const BUILD_VERSION = "2.65.0";
export declare const PKG_VERSION = "2.32.0";
export declare const BUILD_VERSION = "2.67.0";
//# sourceMappingURL=__package__.d.ts.map
export declare const PKG_NAME = "@hpcc-js/react";
export declare const PKG_VERSION = "2.31.0";
export declare const BUILD_VERSION = "2.65.0";
export declare const PKG_VERSION = "2.32.0";
export declare const BUILD_VERSION = "2.67.0";
//# sourceMappingURL=__package__.d.ts.map

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc