aiware-js 2.22.0 → 2.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/index.esm.css +390 -90
  2. package/index.esm.js +1 -1
  3. package/js-core.esm.js +10 -10
  4. package/js-core.esm12.js +1 -1
  5. package/js-core.esm13.js +1 -1
  6. package/js-core.esm14.js +1 -1
  7. package/js-core.esm15.js +1 -1
  8. package/js-core.esm16.js +1 -1
  9. package/js-core.esm17.js +1 -1
  10. package/js-core.esm18.js +1 -230
  11. package/js-core.esm19.js +1 -78
  12. package/js-core.esm20.js +230 -1
  13. package/js-core.esm21.js +78 -1
  14. package/js-core.esm22.js +1 -1
  15. package/js-core.esm23.js +1 -1
  16. package/js-core.esm24.js +1 -1
  17. package/js-core.esm25.js +1 -1
  18. package/js-core.esm26.js +1 -1
  19. package/js-core.esm27.js +1 -1
  20. package/js-core.esm28.js +1 -1
  21. package/js-core.esm29.js +1 -1
  22. package/js-core.esm30.js +1 -14
  23. package/js-core.esm31.js +1 -12
  24. package/js-core.esm32.js +7 -47
  25. package/js-core.esm33.js +12 -1
  26. package/js-core.esm34.js +54 -1
  27. package/js-core.esm35.js +1 -108
  28. package/js-core.esm36.js +1 -1
  29. package/js-core.esm37.js +92 -198
  30. package/js-core.esm38.js +1 -37
  31. package/js-core.esm39.js +214 -1
  32. package/js-core.esm4.js +1 -1
  33. package/js-core.esm40.js +1 -1
  34. package/js-core.esm41.js +1 -1
  35. package/js-core.esm42.js +1 -1
  36. package/js-core.esm43.js +37 -1
  37. package/js-core.esm44.js +1 -31
  38. package/js-core.esm45.js +1 -32
  39. package/js-core.esm46.js +1 -53
  40. package/js-core.esm47.js +1 -1
  41. package/js-core.esm48.js +26 -115
  42. package/js-core.esm49.js +28 -83
  43. package/js-core.esm5.js +2 -2
  44. package/js-core.esm50.js +85 -1
  45. package/js-core.esm51.js +1 -0
  46. package/js-core.esm52.js +132 -0
  47. package/js-core.esm53.js +87 -0
  48. package/js-core.esm54.js +1 -0
  49. package/js-core.esm55.js +15 -0
  50. package/js-core.esm56.js +10 -0
  51. package/js-core.esm7.js +4 -4
  52. package/js-core.umd.css +300 -0
  53. package/js-core.umd.js +210 -143
  54. package/locales/en.json +1 -1
  55. package/locales/es.json +1 -1
  56. package/locales/fr.json +1 -1
  57. package/package.json +4 -2
@@ -0,0 +1,10 @@
1
+ import{r as react,j as jsxRuntime,H as createSlice,cc as combineReducers,m as makeStyles,cf as AIWareThemeProvider,K as lib,A as AIWareIntlProvider,i as useDispatch,k as useSelector,eV as panelsSelector,T as Typography,aV as Select,aW as MenuItem,at as Button,Y as Portal,x as classNames,a2 as all,d5 as takeEvery$1,bU as showMessage,bV as MessageSeverity,ai as select$1,ff as selectApiConfigs,ah as put,cC as baseGraphQLApiWithError}from"./js-core.esm.js";import{v as v4}from"./js-core.esm42.js";import{C as Close}from"./js-core.esm13.js";function cc(n){if("string"==typeof n||"number"==typeof n)return""+n;let o="";if(Array.isArray(n))for(let e=0,t;e<n.length;e++)""!==(t=cc(n[e]))&&(o+=(o&&" ")+t);else for(var e in n)n[e]&&(o+=(o&&" ")+e);return o}const createStoreImpl=e=>{let o;const a=new Set;var t=(e,t)=>{e="function"==typeof e?e(o):e;if(!Object.is(e,o)){const n=o;o=(null!=t?t:"object"!=typeof e)?e:Object.assign({},o,e),a.forEach(e=>e(o,n))}},n=()=>o,r={setState:t,getState:n,subscribe:e=>(a.add(e),()=>a.delete(e)),destroy:()=>a.clear()};return o=e(t,n,r),r},createStore=e=>e?createStoreImpl(e):createStoreImpl;var withSelector={exports:{}},withSelector_production_min={},shim={exports:{}},useSyncExternalStoreShim_production_min={},e=react.exports;function h$1(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var k="function"==typeof Object.is?Object.is:h$1,l=e.useState,m=e.useEffect,n$1=e.useLayoutEffect,p$1=e.useDebugValue;function q$1(e,t){var n=t(),o=l({inst:{value:n,getSnapshot:t}}),a=o[0].inst,r=o[1];return n$1(function(){a.value=n,a.getSnapshot=t,r$1(a)&&r({inst:a})},[e,n,t]),m(function(){return r$1(a)&&r({inst:a}),e(function(){r$1(a)&&r({inst:a})})},[e]),p$1(n),n}function r$1(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!k(e,n)}catch(e){return!0}}function t$1(e,t){return t()}var u$1="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?t$1:q$1,h=(useSyncExternalStoreShim_production_min.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:u$1,shim.exports=useSyncExternalStoreShim_production_min,react.exports),n=shim.exports;function p(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var q="function"==typeof Object.is?Object.is:p,r=n.useSyncExternalStore,t=h.useRef,u=h.useEffect,v=h.useMemo,w=h.useDebugValue,useSyncExternalStoreExports=(withSelector_production_min.useSyncExternalStoreWithSelector=function(e,n,i,d,s){var c,o=t(null),a=(null===o.current?(c={hasValue:!1,value:null},o.current=c):c=o.current,o=v(function(){function e(e){if(!r){if(r=!0,e=d(o=e),void 0!==s&&c.hasValue){var t=c.value;if(s(t,e))return a=t}return a=e}if(t=a,q(o,e))return t;var n=d(e);return void 0!==s&&s(t,n)?t:(o=e,a=n)}var o,a,r=!1,t=void 0===i?null:i;return[function(){return e(n())},null===t?void 0:function(){return e(t())}]},[n,i,d,s]),r(e,o[0],o[1]));return u(function(){c.hasValue=!0,c.value=a},[a]),w(a),a},withSelector.exports=withSelector_production_min,withSelector.exports);const useSyncExternalStoreWithSelector=useSyncExternalStoreExports["useSyncExternalStoreWithSelector"];function useStore$1(e,t=e.getState,n){t=useSyncExternalStoreWithSelector(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return react.exports.useDebugValue(t),t}function shallow(t,n){if(Object.is(t,n))return!0;if("object"!=typeof t||null===t||"object"!=typeof n||null===n)return!1;if(t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(var[e,o]of t)if(!Object.is(o,n.get(e)))return!1;return!0}if(t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(const r of t)if(!n.has(r))return!1;return!0}var a=Object.keys(t);if(a.length!==Object.keys(n).length)return!1;for(let e=0;e<a.length;e++)if(!Object.prototype.hasOwnProperty.call(n,a[e])||!Object.is(t[a[e]],n[a[e]]))return!1;return!0}var noop$1={value:()=>{}};function dispatch(){for(var e,t=0,n=arguments.length,o={};t<n;++t){if(!(e=arguments[t]+"")||e in o||/[\s.]/.test(e))throw new Error("illegal type: "+e);o[e]=[]}return new Dispatch(o)}function Dispatch(e){this._=e}function parseTypenames$1(e,o){return e.trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");if(0<=n&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!o.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}})}function get$2(e,t){for(var n,o=0,a=e.length;o<a;++o)if((n=e[o]).name===t)return n.value}function set$2(e,t,n){for(var o=0,a=e.length;o<a;++o)if(e[o].name===t){e[o]=noop$1,e=e.slice(0,o).concat(e.slice(o+1));break}return null!=n&&e.push({name:t,value:n}),e}Dispatch.prototype=dispatch.prototype={constructor:Dispatch,on:function(e,t){var n,o=this._,a=parseTypenames$1(e+"",o),r=-1,i=a.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++r<i;)if(n=(e=a[r]).type)o[n]=set$2(o[n],e.name,t);else if(null==t)for(n in o)o[n]=set$2(o[n],e.name,null);return this}for(;++r<i;)if((n=(e=a[r]).type)&&(n=get$2(o[n],e.name)))return n},copy:function(){var e,t={},n=this._;for(e in n)t[e]=n[e].slice();return new Dispatch(t)},call:function(e,t){if(0<(n=arguments.length-2))for(var n,o,a=new Array(n),r=0;r<n;++r)a[r]=arguments[r+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(r=0,n=(o=this._[e]).length;r<n;++r)o[r].value.apply(t,a)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var o=this._[e],a=0,r=o.length;a<r;++a)o[a].value.apply(t,n)}};var xhtml="http://www.w3.org/1999/xhtml",namespaces={svg:"http://www.w3.org/2000/svg",xhtml:xhtml,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function namespace$1(e){var t=e+="",n=t.indexOf(":");return 0<=n&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),namespaces.hasOwnProperty(t)?{space:namespaces[t],local:e}:e}function creatorInherit(n){return function(){var e=this.ownerDocument,t=this.namespaceURI;return t===xhtml&&e.documentElement.namespaceURI===xhtml?e.createElement(n):e.createElementNS(t,n)}}function creatorFixed(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function creator(e){e=namespace$1(e);return(e.local?creatorFixed:creatorInherit)(e)}function none(){}function selector$1(e){return null==e?none:function(){return this.querySelector(e)}}function selection_select(e){"function"!=typeof e&&(e=selector$1(e));for(var t=this._groups,n=t.length,o=new Array(n),a=0;a<n;++a)for(var r,i,d=t[a],s=d.length,c=o[a]=new Array(s),u=0;u<s;++u)(r=d[u])&&(i=e.call(r,r.__data__,u,d))&&("__data__"in r&&(i.__data__=r.__data__),c[u]=i);return new Selection$1(o,this._parents)}function array(e){return null==e?[]:Array.isArray(e)?e:Array.from(e)}function empty(){return[]}function selectorAll(e){return null==e?empty:function(){return this.querySelectorAll(e)}}function arrayAll(e){return function(){return array(e.apply(this,arguments))}}function selection_selectAll(e){e=("function"==typeof e?arrayAll:selectorAll)(e);for(var t=this._groups,n=t.length,o=[],a=[],r=0;r<n;++r)for(var i,d=t[r],s=d.length,c=0;c<s;++c)(i=d[c])&&(o.push(e.call(i,i.__data__,c,d)),a.push(i));return new Selection$1(o,a)}function matcher(e){return function(){return this.matches(e)}}function childMatcher(t){return function(e){return e.matches(t)}}var find=Array.prototype.find;function childFind(e){return function(){return find.call(this.children,e)}}function childFirst(){return this.firstElementChild}function selection_selectChild(e){return this.select(null==e?childFirst:childFind("function"==typeof e?e:childMatcher(e)))}var filter=Array.prototype.filter;function children(){return Array.from(this.children)}function childrenFilter(e){return function(){return filter.call(this.children,e)}}function selection_selectChildren(e){return this.selectAll(null==e?children:childrenFilter("function"==typeof e?e:childMatcher(e)))}function selection_filter(e){"function"!=typeof e&&(e=matcher(e));for(var t=this._groups,n=t.length,o=new Array(n),a=0;a<n;++a)for(var r,i=t[a],d=i.length,s=o[a]=[],c=0;c<d;++c)(r=i[c])&&e.call(r,r.__data__,c,i)&&s.push(r);return new Selection$1(o,this._parents)}function sparse(e){return new Array(e.length)}function selection_enter(){return new Selection$1(this._enter||this._groups.map(sparse),this._parents)}function EnterNode(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function constant$3(e){return function(){return e}}function bindIndex(e,t,n,o,a,r){for(var i,d=0,s=t.length,c=r.length;d<c;++d)(i=t[d])?(i.__data__=r[d],o[d]=i):n[d]=new EnterNode(e,r[d]);for(;d<s;++d)(i=t[d])&&(a[d]=i)}function bindKey(e,t,n,o,a,r,i){for(var d,s,c=new Map,u=t.length,l=r.length,p=new Array(u),f=0;f<u;++f)(d=t[f])&&(p[f]=s=i.call(d,d.__data__,f,t)+"",c.has(s)?a[f]=d:c.set(s,d));for(f=0;f<l;++f)s=i.call(e,r[f],f,r)+"",(d=c.get(s))?((o[f]=d).__data__=r[f],c.delete(s)):n[f]=new EnterNode(e,r[f]);for(f=0;f<u;++f)(d=t[f])&&c.get(p[f])===d&&(a[f]=d)}function datum(e){return e.__data__}function selection_data(e,t){if(!arguments.length)return Array.from(this,datum);var n=t?bindKey:bindIndex,o=this._parents,a=this._groups;"function"!=typeof e&&(e=constant$3(e));for(var r=a.length,i=new Array(r),d=new Array(r),s=new Array(r),c=0;c<r;++c){var u=o[c],l=a[c],p=l.length,f=arraylike(e.call(u,u&&u.__data__,c,o)),m=f.length,h=d[c]=new Array(m),g=i[c]=new Array(m);n(u,l,h,g,s[c]=new Array(p),f,t);for(var b,y,I=0,x=0;I<m;++I)if(b=h[I]){for(x<=I&&(x=I+1);!(y=g[x])&&++x<m;);b._next=y||null}}return(i=new Selection$1(i,o))._enter=d,i._exit=s,i}function arraylike(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function selection_exit(){return new Selection$1(this._exit||this._groups.map(sparse),this._parents)}function selection_join(e,t,n){var o=this.enter(),a=this,r=this.exit(),o="function"==typeof e?(o=e(o))&&o.selection():o.append(e+"");return null!=t&&(a=(a=t(a))&&a.selection()),null==n?r.remove():n(r),o&&a?o.merge(a).order():a}function selection_merge(e){for(var e=e.selection?e.selection():e,t=this._groups,n=e._groups,o=t.length,e=n.length,a=Math.min(o,e),r=new Array(o),i=0;i<a;++i)for(var d,s=t[i],c=n[i],u=s.length,l=r[i]=new Array(u),p=0;p<u;++p)(d=s[p]||c[p])&&(l[p]=d);for(;i<o;++i)r[i]=t[i];return new Selection$1(r,this._parents)}function selection_order(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var o,a=e[t],r=a.length-1,i=a[r];0<=--r;)(o=a[r])&&(i&&4^o.compareDocumentPosition(i)&&i.parentNode.insertBefore(o,i),i=o);return this}function selection_sort(n){function e(e,t){return e&&t?n(e.__data__,t.__data__):!e-!t}n=n||ascending;for(var t=this._groups,o=t.length,a=new Array(o),r=0;r<o;++r){for(var i,d=t[r],s=d.length,c=a[r]=new Array(s),u=0;u<s;++u)(i=d[u])&&(c[u]=i);c.sort(e)}return new Selection$1(a,this._parents).order()}function ascending(e,t){return e<t?-1:t<e?1:t<=e?0:NaN}function selection_call(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function selection_nodes(){return Array.from(this)}function selection_node(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var o=e[t],a=0,r=o.length;a<r;++a){var i=o[a];if(i)return i}return null}function selection_size(){let e=0;for(const t of this)++e;return e}function selection_empty(){return!this.node()}function selection_each(e){for(var t=this._groups,n=0,o=t.length;n<o;++n)for(var a,r=t[n],i=0,d=r.length;i<d;++i)(a=r[i])&&e.call(a,a.__data__,i,r);return this}function attrRemove$1(e){return function(){this.removeAttribute(e)}}function attrRemoveNS$1(e){return function(){this.removeAttributeNS(e.space,e.local)}}function attrConstant$1(e,t){return function(){this.setAttribute(e,t)}}function attrConstantNS$1(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function attrFunction$1(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function attrFunctionNS$1(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function selection_attr(e,t){var n,o=namespace$1(e);return arguments.length<2?(n=this.node(),o.local?n.getAttributeNS(o.space,o.local):n.getAttribute(o)):this.each((null==t?o.local?attrRemoveNS$1:attrRemove$1:"function"==typeof t?o.local?attrFunctionNS$1:attrFunction$1:o.local?attrConstantNS$1:attrConstant$1)(o,t))}function defaultView(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function styleRemove$1(e){return function(){this.style.removeProperty(e)}}function styleConstant$1(e,t,n){return function(){this.style.setProperty(e,t,n)}}function styleFunction$1(t,n,o){return function(){var e=n.apply(this,arguments);null==e?this.style.removeProperty(t):this.style.setProperty(t,e,o)}}function selection_style(e,t,n){return 1<arguments.length?this.each((null==t?styleRemove$1:"function"==typeof t?styleFunction$1:styleConstant$1)(e,t,null==n?"":n)):styleValue(this.node(),e)}function styleValue(e,t){return e.style.getPropertyValue(t)||defaultView(e).getComputedStyle(e,null).getPropertyValue(t)}function propertyRemove(e){return function(){delete this[e]}}function propertyConstant(e,t){return function(){this[e]=t}}function propertyFunction(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function selection_property(e,t){return 1<arguments.length?this.each((null==t?propertyRemove:"function"==typeof t?propertyFunction:propertyConstant)(e,t)):this.node()[e]}function classArray(e){return e.trim().split(/^|\s+/)}function classList$1(e){return e.classList||new ClassList(e)}function ClassList(e){this._node=e,this._names=classArray(e.getAttribute("class")||"")}function classedAdd(e,t){for(var n=classList$1(e),o=-1,a=t.length;++o<a;)n.add(t[o])}function classedRemove(e,t){for(var n=classList$1(e),o=-1,a=t.length;++o<a;)n.remove(t[o])}function classedTrue(e){return function(){classedAdd(this,e)}}function classedFalse(e){return function(){classedRemove(this,e)}}function classedFunction(e,t){return function(){(t.apply(this,arguments)?classedAdd:classedRemove)(this,e)}}function selection_classed(e,t){var n=classArray(e+"");if(arguments.length<2){for(var o=classList$1(this.node()),a=-1,r=n.length;++a<r;)if(!o.contains(n[a]))return!1;return!0}return this.each(("function"==typeof t?classedFunction:t?classedTrue:classedFalse)(n,t))}function textRemove(){this.textContent=""}function textConstant$1(e){return function(){this.textContent=e}}function textFunction$1(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function selection_text(e){return arguments.length?this.each(null==e?textRemove:("function"==typeof e?textFunction$1:textConstant$1)(e)):this.node().textContent}function htmlRemove(){this.innerHTML=""}function htmlConstant(e){return function(){this.innerHTML=e}}function htmlFunction(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function selection_html(e){return arguments.length?this.each(null==e?htmlRemove:("function"==typeof e?htmlFunction:htmlConstant)(e)):this.node().innerHTML}function raise(){this.nextSibling&&this.parentNode.appendChild(this)}function selection_raise(){return this.each(raise)}function lower(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function selection_lower(){return this.each(lower)}function selection_append(e){var t="function"==typeof e?e:creator(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function constantNull(){return null}function selection_insert(e,t){var n="function"==typeof e?e:creator(e),o=null==t?constantNull:"function"==typeof t?t:selector$1(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),o.apply(this,arguments)||null)})}function remove(){var e=this.parentNode;e&&e.removeChild(this)}function selection_remove(){return this.each(remove)}function selection_cloneShallow(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function selection_cloneDeep(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function selection_clone(e){return this.select(e?selection_cloneDeep:selection_cloneShallow)}function selection_datum(e){return arguments.length?this.property("__data__",e):this.node().__data__}function contextListener(t){return function(e){t.call(this,e,this.__data__)}}function parseTypenames(e){return e.trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");return 0<=n&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}function onRemove(r){return function(){var e=this.__on;if(e){for(var t,n=0,o=-1,a=e.length;n<a;++n)t=e[n],r.type&&t.type!==r.type||t.name!==r.name?e[++o]=t:this.removeEventListener(t.type,t.listener,t.options);++o?e.length=o:delete this.__on}}}function onAdd(r,i,d){return function(){var e,t=this.__on,n=contextListener(i);if(t)for(var o=0,a=t.length;o<a;++o)if((e=t[o]).type===r.type&&e.name===r.name)return this.removeEventListener(e.type,e.listener,e.options),this.addEventListener(e.type,e.listener=n,e.options=d),void(e.value=i);this.addEventListener(r.type,n,d),e={type:r.type,name:r.name,value:i,listener:n,options:d},t?t.push(e):this.__on=[e]}}function selection_on(e,t,n){var o,a,r=parseTypenames(e+""),i=r.length;if(!(arguments.length<2)){for(d=t?onAdd:onRemove,o=0;o<i;++o)this.each(d(r[o],t,n));return this}var d=this.node().__on;if(d)for(var s,c=0,u=d.length;c<u;++c)for(o=0,s=d[c];o<i;++o)if((a=r[o]).type===s.type&&a.name===s.name)return s.value}function dispatchEvent(e,t,n){var o=defaultView(e),a=o.CustomEvent;"function"==typeof a?a=new a(t,n):(a=o.document.createEvent("Event"),n?(a.initEvent(t,n.bubbles,n.cancelable),a.detail=n.detail):a.initEvent(t,!1,!1)),e.dispatchEvent(a)}function dispatchConstant(e,t){return function(){return dispatchEvent(this,e,t)}}function dispatchFunction(e,t){return function(){return dispatchEvent(this,e,t.apply(this,arguments))}}function selection_dispatch(e,t){return this.each(("function"==typeof t?dispatchFunction:dispatchConstant)(e,t))}function*selection_iterator(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var o,a=e[t],r=0,i=a.length;r<i;++r)(o=a[r])&&(yield o)}EnterNode.prototype={constructor:EnterNode,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}},ClassList.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){e=this._names.indexOf(e);0<=e&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return 0<=this._names.indexOf(e)}};var root=[null];function Selection$1(e,t){this._groups=e,this._parents=t}function selection(){return new Selection$1([[document.documentElement]],root)}function selection_selection(){return this}function select(e){return"string"==typeof e?new Selection$1([[document.querySelector(e)]],[document.documentElement]):new Selection$1([[e]],root)}function sourceEvent(e){for(var t;t=e.sourceEvent;)e=t;return e}function pointer(e,t){if(e=sourceEvent(e),t=void 0===t?e.currentTarget:t){var n=t.ownerSVGElement||t;if(n.createSVGPoint)return(n=n.createSVGPoint()).x=e.clientX,n.y=e.clientY,[(n=n.matrixTransform(t.getScreenCTM().inverse())).x,n.y];if(t.getBoundingClientRect)return n=t.getBoundingClientRect(),[e.clientX-n.left-t.clientLeft,e.clientY-n.top-t.clientTop]}return[e.pageX,e.pageY]}const nonpassive={passive:!(Selection$1.prototype=selection.prototype={constructor:Selection$1,select:selection_select,selectAll:selection_selectAll,selectChild:selection_selectChild,selectChildren:selection_selectChildren,filter:selection_filter,data:selection_data,enter:selection_enter,exit:selection_exit,join:selection_join,merge:selection_merge,selection:selection_selection,order:selection_order,sort:selection_sort,call:selection_call,nodes:selection_nodes,node:selection_node,size:selection_size,empty:selection_empty,each:selection_each,attr:selection_attr,style:selection_style,property:selection_property,classed:selection_classed,text:selection_text,html:selection_html,raise:selection_raise,lower:selection_lower,append:selection_append,insert:selection_insert,remove:selection_remove,clone:selection_clone,datum:selection_datum,on:selection_on,dispatch:selection_dispatch,[Symbol.iterator]:selection_iterator})},nonpassivecapture={capture:!0,passive:!1};function nopropagation$1(e){e.stopImmediatePropagation()}function noevent$1(e){e.preventDefault(),e.stopImmediatePropagation()}function dragDisable(e){var t=e.document.documentElement,e=select(e).on("dragstart.drag",noevent$1,nonpassivecapture);"onselectstart"in t?e.on("selectstart.drag",noevent$1,nonpassivecapture):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}function yesdrag(e,t){var n=e.document.documentElement,o=select(e).on("dragstart.drag",null);t&&(o.on("click.drag",noevent$1,nonpassivecapture),setTimeout(function(){o.on("click.drag",null)},0)),"onselectstart"in n?o.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}var constant$2=e=>()=>e;function DragEvent(e,{sourceEvent:t,subject:n,target:o,identifier:a,active:r,x:i,y:d,dx:s,dy:c,dispatch:u}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:o,enumerable:!0,configurable:!0},identifier:{value:a,enumerable:!0,configurable:!0},active:{value:r,enumerable:!0,configurable:!0},x:{value:i,enumerable:!0,configurable:!0},y:{value:d,enumerable:!0,configurable:!0},dx:{value:s,enumerable:!0,configurable:!0},dy:{value:c,enumerable:!0,configurable:!0},_:{value:u}})}function defaultFilter$1(e){return!e.ctrlKey&&!e.button}function defaultContainer(){return this.parentNode}function defaultSubject(e,t){return null==t?{x:e.x,y:e.y}:t}function defaultTouchable$1(){return navigator.maxTouchPoints||"ontouchstart"in this}function drag(){var o,a,r,i,d=defaultFilter$1,s=defaultContainer,n=defaultSubject,t=defaultTouchable$1,h={},g=dispatch("start","drag","end"),b=0,c=0;function y(e){e.on("mousedown.drag",u).filter(t).on("touchstart.drag",f).on("touchmove.drag",m,nonpassive).on("touchend.drag touchcancel.drag",I).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function u(e,t){!i&&d.call(this,e,t)&&(t=x(this,s.call(this,e,t),e,t,"mouse"))&&(select(e.view).on("mousemove.drag",l,nonpassivecapture).on("mouseup.drag",p,nonpassivecapture),dragDisable(e.view),nopropagation$1(e),r=!1,o=e.clientX,a=e.clientY,t("start",e))}function l(e){var t,n;noevent$1(e),r||(t=e.clientX-o,n=e.clientY-a,r=c<t*t+n*n),h.mouse("drag",e)}function p(e){select(e.view).on("mousemove.drag mouseup.drag",null),yesdrag(e.view,r),noevent$1(e),h.mouse("end",e)}function f(e,t){if(d.call(this,e,t))for(var n,o=e.changedTouches,a=s.call(this,e,t),r=o.length,i=0;i<r;++i)(n=x(this,a,e,t,o[i].identifier,o[i]))&&(nopropagation$1(e),n("start",e,o[i]))}function m(e){for(var t,n=e.changedTouches,o=n.length,a=0;a<o;++a)(t=h[n[a].identifier])&&(noevent$1(e),t("drag",e,n[a]))}function I(e){var t,n,o=e.changedTouches,a=o.length;for(i&&clearTimeout(i),i=setTimeout(function(){i=null},500),t=0;t<a;++t)(n=h[o[t].identifier])&&(nopropagation$1(e),n("end",e,o[t]))}function x(i,d,e,s,c,t){var u,l,p,f=g.copy(),m=pointer(t||e,d);if(null!=(p=n.call(i,new DragEvent("beforestart",{sourceEvent:e,target:y,identifier:c,active:b,x:m[0],y:m[1],dx:0,dy:0,dispatch:f}),s)))return u=p.x-m[0]||0,l=p.y-m[1]||0,function e(t,n,o){var a,r=m;switch(t){case"start":h[c]=e,a=b++;break;case"end":delete h[c],--b;case"drag":m=pointer(o||n,d),a=b}f.call(t,i,new DragEvent(t,{sourceEvent:n,subject:p,target:y,identifier:c,active:a,x:m[0]+u,y:m[1]+l,dx:m[0]-r[0],dy:m[1]-r[1],dispatch:f}),s)}}return y.filter=function(e){return arguments.length?(d="function"==typeof e?e:constant$2(!!e),y):d},y.container=function(e){return arguments.length?(s="function"==typeof e?e:constant$2(e),y):s},y.subject=function(e){return arguments.length?(n="function"==typeof e?e:constant$2(e),y):n},y.touchable=function(e){return arguments.length?(t="function"==typeof e?e:constant$2(!!e),y):t},y.on=function(){var e=g.on.apply(g,arguments);return e===g?y:e},y.clickDistance=function(e){return arguments.length?(c=(e=+e)*e,y):Math.sqrt(c)},y}function define$1(e,t,n){(e.prototype=t.prototype=n).constructor=e}function extend$1(e,t){var n,o=Object.create(e.prototype);for(n in t)o[n]=t[n];return o}function Color$1(){}DragEvent.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};var darker$1=.7,brighter$1=1/darker$1,reI$1="\\s*([+-]?\\d+)\\s*",reN$1="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",reP$1="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",reHex$1=/^#([0-9a-f]{3,8})$/,reRgbInteger$1=new RegExp(`^rgb\\(${reI$1},${reI$1},${reI$1}\\)$`),reRgbPercent$1=new RegExp(`^rgb\\(${reP$1},${reP$1},${reP$1}\\)$`),reRgbaInteger$1=new RegExp(`^rgba\\(${reI$1},${reI$1},${reI$1},${reN$1}\\)$`),reRgbaPercent$1=new RegExp(`^rgba\\(${reP$1},${reP$1},${reP$1},${reN$1}\\)$`),reHslPercent$1=new RegExp(`^hsl\\(${reN$1},${reP$1},${reP$1}\\)$`),reHslaPercent$1=new RegExp(`^hsla\\(${reN$1},${reP$1},${reP$1},${reN$1}\\)$`),named$1={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function color_formatHex$1(){return this.rgb().formatHex()}function color_formatHex8$1(){return this.rgb().formatHex8()}function color_formatHsl$1(){return hslConvert$1(this).formatHsl()}function color_formatRgb$1(){return this.rgb().formatRgb()}function color$1(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=reHex$1.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?rgbn$1(t):3===n?new Rgb$1(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?rgba$1(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?rgba$1(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=reRgbInteger$1.exec(e))?new Rgb$1(t[1],t[2],t[3],1):(t=reRgbPercent$1.exec(e))?new Rgb$1(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=reRgbaInteger$1.exec(e))?rgba$1(t[1],t[2],t[3],t[4]):(t=reRgbaPercent$1.exec(e))?rgba$1(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=reHslPercent$1.exec(e))?hsla$1(t[1],t[2]/100,t[3]/100,1):(t=reHslaPercent$1.exec(e))?hsla$1(t[1],t[2]/100,t[3]/100,t[4]):named$1.hasOwnProperty(e)?rgbn$1(named$1[e]):"transparent"===e?new Rgb$1(NaN,NaN,NaN,0):null}function rgbn$1(e){return new Rgb$1(e>>16&255,e>>8&255,255&e,1)}function rgba$1(e,t,n,o){return new Rgb$1(e=o<=0?t=n=NaN:e,t,n,o)}function rgbConvert$1(e){return(e=e instanceof Color$1?e:color$1(e))?new Rgb$1((e=e.rgb()).r,e.g,e.b,e.opacity):new Rgb$1}function rgb$1(e,t,n,o){return 1===arguments.length?rgbConvert$1(e):new Rgb$1(e,t,n,null==o?1:o)}function Rgb$1(e,t,n,o){this.r=+e,this.g=+t,this.b=+n,this.opacity=+o}function rgb_formatHex$1(){return"#"+hex$1(this.r)+hex$1(this.g)+hex$1(this.b)}function rgb_formatHex8$1(){return"#"+hex$1(this.r)+hex$1(this.g)+hex$1(this.b)+hex$1(255*(isNaN(this.opacity)?1:this.opacity))}function rgb_formatRgb$1(){var e=clampa$1(this.opacity);return(1===e?"rgb(":"rgba(")+clampi$1(this.r)+`, ${clampi$1(this.g)}, `+clampi$1(this.b)+(1===e?")":`, ${e})`)}function clampa$1(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function clampi$1(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function hex$1(e){return((e=clampi$1(e))<16?"0":"")+e.toString(16)}function hsla$1(e,t,n,o){return o<=0?e=t=n=NaN:n<=0||1<=n?e=t=NaN:t<=0&&(e=NaN),new Hsl$1(e,t,n,o)}function hslConvert$1(e){if(e instanceof Hsl$1)return new Hsl$1(e.h,e.s,e.l,e.opacity);if(!(e=e instanceof Color$1?e:color$1(e)))return new Hsl$1;if(e instanceof Hsl$1)return e;var t=(e=e.rgb()).r/255,n=e.g/255,o=e.b/255,a=Math.min(t,n,o),r=Math.max(t,n,o),i=NaN,d=r-a,s=(r+a)/2;return d?(i=t===r?(n-o)/d+6*(n<o):n===r?(o-t)/d+2:(t-n)/d+4,d/=s<.5?r+a:2-r-a,i*=60):d=0<s&&s<1?0:i,new Hsl$1(i,d,s,e.opacity)}function hsl$1(e,t,n,o){return 1===arguments.length?hslConvert$1(e):new Hsl$1(e,t,n,null==o?1:o)}function Hsl$1(e,t,n,o){this.h=+e,this.s=+t,this.l=+n,this.opacity=+o}function clamph$1(e){return(e=(e||0)%360)<0?e+360:e}function clampt$1(e){return Math.max(0,Math.min(1,e||0))}function hsl2rgb$1(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}define$1(Color$1,color$1,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:color_formatHex$1,formatHex:color_formatHex$1,formatHex8:color_formatHex8$1,formatHsl:color_formatHsl$1,formatRgb:color_formatRgb$1,toString:color_formatRgb$1}),define$1(Rgb$1,rgb$1,extend$1(Color$1,{brighter(e){return e=null==e?brighter$1:Math.pow(brighter$1,e),new Rgb$1(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?darker$1:Math.pow(darker$1,e),new Rgb$1(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Rgb$1(clampi$1(this.r),clampi$1(this.g),clampi$1(this.b),clampa$1(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:rgb_formatHex$1,formatHex:rgb_formatHex$1,formatHex8:rgb_formatHex8$1,formatRgb:rgb_formatRgb$1,toString:rgb_formatRgb$1})),define$1(Hsl$1,hsl$1,extend$1(Color$1,{brighter(e){return e=null==e?brighter$1:Math.pow(brighter$1,e),new Hsl$1(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?darker$1:Math.pow(darker$1,e),new Hsl$1(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,t=n+(n<.5?n:1-n)*t,n=2*n-t;return new Rgb$1(hsl2rgb$1(240<=e?e-240:120+e,n,t),hsl2rgb$1(e,n,t),hsl2rgb$1(e<120?240+e:e-120,n,t),this.opacity)},clamp(){return new Hsl$1(clamph$1(this.h),clampt$1(this.s),clampt$1(this.l),clampa$1(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){var e=clampa$1(this.opacity);return(1===e?"hsl(":"hsla(")+clamph$1(this.h)+`, ${100*clampt$1(this.s)}%, ${100*clampt$1(this.l)}%`+(1===e?")":`, ${e})`)}}));var constant$1=e=>()=>e;function linear(t,n){return function(e){return t+e*n}}function exponential(t,n,o){return t=Math.pow(t,o),n=Math.pow(n,o)-t,o=1/o,function(e){return Math.pow(t+e*n,o)}}function gamma(n){return 1==(n=+n)?nogamma:function(e,t){return t-e?exponential(e,t,n):constant$1(isNaN(e)?t:e)}}function nogamma(e,t){var n=t-e;return n?linear(e,n):constant$1(isNaN(e)?t:e)}var interpolateRgb=function e(t){var i=gamma(t);function n(t,e){var n=i((t=rgb$1(t)).r,(e=rgb$1(e)).r),o=i(t.g,e.g),a=i(t.b,e.b),r=nogamma(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=o(e),t.b=a(e),t.opacity=r(e),t+""}}return n.gamma=e,n}(1);function interpolateNumber(t,n){return t=+t,n=+n,function(e){return t*(1-e)+n*e}}var reA=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,reB=new RegExp(reA.source,"g");function zero(e){return function(){return e}}function one(t){return function(e){return t(e)+""}}function interpolateString(e,o){var t,n,a,r=reA.lastIndex=reB.lastIndex=0,i=-1,d=[],s=[];for(e+="",o+="";(t=reA.exec(e))&&(n=reB.exec(o));)(a=n.index)>r&&(a=o.slice(r,a),d[i]?d[i]+=a:d[++i]=a),(t=t[0])===(n=n[0])?d[i]?d[i]+=n:d[++i]=n:(d[++i]=null,s.push({i:i,x:interpolateNumber(t,n)})),r=reB.lastIndex;return r<o.length&&(a=o.slice(r),d[i]?d[i]+=a:d[++i]=a),d.length<2?s[0]?one(s[0].x):zero(o):(o=s.length,function(e){for(var t,n=0;n<o;++n)d[(t=s[n]).i]=t.x(e);return d.join("")})}var svgNode,degrees=180/Math.PI,identity$1={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function decompose(e,t,n,o,a,r){var i,d,s;return(i=Math.sqrt(e*e+t*t))&&(e/=i,t/=i),(s=e*n+t*o)&&(n-=e*s,o-=t*s),(d=Math.sqrt(n*n+o*o))&&(n/=d,o/=d,s/=d),e*o<t*n&&(e=-e,t=-t,s=-s,i=-i),{translateX:a,translateY:r,rotate:Math.atan2(t,e)*degrees,skewX:Math.atan(s)*degrees,scaleX:i,scaleY:d}}function parseCss(e){e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return e.isIdentity?identity$1:decompose(e.a,e.b,e.c,e.d,e.e,e.f)}function parseSvg(e){return null==e?identity$1:((svgNode=svgNode||document.createElementNS("http://www.w3.org/2000/svg","g")).setAttribute("transform",e),(e=svgNode.transform.baseVal.consolidate())?decompose((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):identity$1)}function interpolateTransform(p,f,m,h){function g(e){return e.length?e.pop()+" ":""}return function(e,t){var n,o,a,r,i,d,s,c,u=[],l=[];return e=p(e),t=p(t),a=e.translateX,r=e.translateY,s=t.translateX,d=t.translateY,i=u,o=l,a!==s||r!==d?(n=i.push("translate(",null,f,null,m),o.push({i:n-4,x:interpolateNumber(a,s)},{i:n-2,x:interpolateNumber(r,d)})):(s||d)&&i.push("translate("+s+f+d+m),o=e.rotate,a=t.rotate,n=u,r=l,o!==a?(180<o-a?a+=360:180<a-o&&(o+=360),r.push({i:n.push(g(n)+"rotate(",null,h)-2,x:interpolateNumber(o,a)})):a&&n.push(g(n)+"rotate("+a+h),i=e.skewX,s=t.skewX,d=u,r=l,i!==s?r.push({i:d.push(g(d)+"skewX(",null,h)-2,x:interpolateNumber(i,s)}):s&&d.push(g(d)+"skewX("+s+h),o=e.scaleX,a=e.scaleY,r=t.scaleX,i=t.scaleY,d=u,s=l,o!==r||a!==i?(c=d.push(g(d)+"scale(",null,",",null,")"),s.push({i:c-4,x:interpolateNumber(o,r)},{i:c-2,x:interpolateNumber(a,i)})):1===r&&1===i||d.push(g(d)+"scale("+r+","+i+")"),e=t=null,function(e){for(var t,n=-1,o=l.length;++n<o;)u[(t=l[n]).i]=t.x(e);return u.join("")}}}var interpolateTransformCss=interpolateTransform(parseCss,"px, ","px)","deg)"),interpolateTransformSvg=interpolateTransform(parseSvg,", ",")",")"),epsilon2=1e-12;function cosh(e){return((e=Math.exp(e))+1/e)/2}function sinh(e){return((e=Math.exp(e))-1/e)/2}function tanh(e){return((e=Math.exp(2*e))-1)/(e+1)}var taskHead,taskTail,interpolateZoom=function n(l,p,f){function e(e,t){var o,a,r,i=e[0],d=e[1],s=e[2],e=t[0],n=t[1],t=t[2],c=e-i,u=n-d,e=c*c+u*u;return(t=e<epsilon2?(r=Math.log(t/s)/l,function(e){return[i+e*c,d+e*u,s*Math.exp(l*e*r)]}):(o=Math.sqrt(e),n=(t*t-s*s+f*e)/(2*s*p*o),e=(t*t-s*s-f*e)/(2*t*p*o),a=Math.log(Math.sqrt(n*n+1)-n),r=(Math.log(Math.sqrt(e*e+1)-e)-a)/l,function(e){var e=e*r,t=cosh(a),n=s/(p*o)*(t*tanh(l*e+a)-sinh(a));return[i+n*c,d+n*u,s*t/cosh(l*e+a)]})).duration=1e3*r*l/Math.SQRT2,t}return e.rho=function(e){var e=Math.max(.001,+e),t=e*e;return n(e,t,t*t)},e}(Math.SQRT2,2,4),frame=0,timeout$1=0,interval=0,pokeDelay=1e3,clockLast=0,clockNow=0,clockSkew=0,clock="object"==typeof performance&&performance.now?performance:Date,setFrame="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function now(){return clockNow||(setFrame(clearNow),clockNow=clock.now()+clockSkew)}function clearNow(){clockNow=0}function Timer(){this._call=this._time=this._next=null}function timer(e,t,n){var o=new Timer;return o.restart(e,t,n),o}function timerFlush(){now(),++frame;for(var e,t=taskHead;t;)0<=(e=clockNow-t._time)&&t._call.call(void 0,e),t=t._next;--frame}function wake(){clockNow=(clockLast=clock.now())+clockSkew,frame=timeout$1=0;try{timerFlush()}finally{frame=0,nap(),clockNow=0}}function poke(){var e=clock.now(),t=e-clockLast;pokeDelay<t&&(clockSkew-=t,clockLast=e)}function nap(){for(var e,t,n=taskHead,o=1/0;n;)n=n._call?(o>n._time&&(o=n._time),(e=n)._next):(t=n._next,n._next=null,e?e._next=t:taskHead=t);taskTail=e,sleep(o)}function sleep(e){frame||(timeout$1=timeout$1&&clearTimeout(timeout$1),24<e-clockNow?(e<1/0&&(timeout$1=setTimeout(wake,e-clock.now()-clockSkew)),interval=interval&&clearInterval(interval)):(interval||(clockLast=clock.now(),interval=setInterval(poke,pokeDelay)),frame=1,setFrame(wake)))}function timeout(t,n,e){var o=new Timer;return n=null==n?0:+n,o.restart(e=>{o.stop(),t(e+n)},n,e),o}Timer.prototype=timer.prototype={constructor:Timer,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?now():+n)+(null==t?0:+t),this._next||taskTail===this||(taskTail?taskTail._next=this:taskHead=this,taskTail=this),this._call=e,this._time=n,sleep()},stop:function(){this._call&&(this._call=null,this._time=1/0,sleep())}};var emptyOn=dispatch("start","end","cancel","interrupt"),emptyTween=[],CREATED=0,SCHEDULED=1,STARTING=2,STARTED=3,RUNNING=4,ENDING=5,ENDED=6;function schedule(e,t,n,o,a,r){var i=e.__transition;if(i){if(n in i)return}else e.__transition={};create$2(e,n,{name:t,index:o,group:a,on:emptyOn,tween:emptyTween,time:r.time,delay:r.delay,duration:r.duration,ease:r.ease,timer:null,state:CREATED})}function init(e,t){e=get$1(e,t);if(e.state>CREATED)throw new Error("too late; already scheduled");return e}function set$1(e,t){e=get$1(e,t);if(e.state>STARTED)throw new Error("too late; already running");return e}function get$1(e,t){e=e.__transition;if(e=e&&e[t])return e;throw new Error("transition not found")}function create$2(r,i,d){var s,c=r.__transition;function u(e){var t,n,o,a;if(d.state!==SCHEDULED)return p();for(t in c)if((a=c[t]).name===d.name){if(a.state===STARTED)return timeout(u);a.state===RUNNING?(a.state=ENDED,a.timer.stop(),a.on.call("interrupt",r,r.__data__,a.index,a.group),delete c[t]):+t<i&&(a.state=ENDED,a.timer.stop(),a.on.call("cancel",r,r.__data__,a.index,a.group),delete c[t])}if(timeout(function(){d.state===STARTED&&(d.state=RUNNING,d.timer.restart(l,d.delay,d.time),l(e))}),d.state=STARTING,d.on.call("start",r,r.__data__,d.index,d.group),d.state===STARTING){for(d.state=STARTED,s=new Array(o=d.tween.length),t=0,n=-1;t<o;++t)(a=d.tween[t].value.call(r,r.__data__,d.index,d.group))&&(s[++n]=a);s.length=n+1}}function l(e){for(var t=e<d.duration?d.ease.call(null,e/d.duration):(d.timer.restart(p),d.state=ENDING,1),n=-1,o=s.length;++n<o;)s[n].call(r,t);d.state===ENDING&&(d.on.call("end",r,r.__data__,d.index,d.group),p())}function p(){for(var e in d.state=ENDED,d.timer.stop(),delete c[i],c)return;delete r.__transition}(c[i]=d).timer=timer(function(e){d.state=SCHEDULED,d.timer.restart(u,d.delay,d.time),d.delay<=e&&u(e-d.delay)},0,d.time)}function interrupt(e,t){var n,o,a,r=e.__transition,i=!0;if(r){for(a in t=null==t?null:t+"",r)(n=r[a]).name!==t?i=!1:(o=n.state>STARTING&&n.state<ENDING,n.state=ENDED,n.timer.stop(),n.on.call(o?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete r[a]);i&&delete e.__transition}}function selection_interrupt(e){return this.each(function(){interrupt(this,e)})}function tweenRemove(a,r){var i,d;return function(){var e=set$1(this,a),t=e.tween;if(t!==i)for(var n=0,o=(d=i=t).length;n<o;++n)if(d[n].name===r){(d=d.slice()).splice(n,1);break}e.tween=d}}function tweenFunction(r,i,d){var s,c;if("function"!=typeof d)throw new Error;return function(){var e=set$1(this,r),t=e.tween;if(t!==s){c=(s=t).slice();for(var n={name:i,value:d},o=0,a=c.length;o<a;++o)if(c[o].name===i){c[o]=n;break}o===a&&c.push(n)}e.tween=c}}function transition_tween(e,t){var n=this._id;if(e+="",arguments.length<2){for(var o,a=get$1(this.node(),n).tween,r=0,i=a.length;r<i;++r)if((o=a[r]).name===e)return o.value;return null}return this.each((null==t?tweenRemove:tweenFunction)(n,e,t))}function tweenValue(e,t,n){var o=e._id;return e.each(function(){var e=set$1(this,o);(e.value||(e.value={}))[t]=n.apply(this,arguments)}),function(e){return get$1(e,o).value[t]}}function define(e,t,n){(e.prototype=t.prototype=n).constructor=e}function extend(e,t){var n,o=Object.create(e.prototype);for(n in t)o[n]=t[n];return o}function Color(){}var darker=.7,brighter=1/darker,reI="\\s*([+-]?\\d+)\\s*",reN="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",reP="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",reHex=/^#([0-9a-f]{3,8})$/,reRgbInteger=new RegExp(`^rgb\\(${reI},${reI},${reI}\\)$`),reRgbPercent=new RegExp(`^rgb\\(${reP},${reP},${reP}\\)$`),reRgbaInteger=new RegExp(`^rgba\\(${reI},${reI},${reI},${reN}\\)$`),reRgbaPercent=new RegExp(`^rgba\\(${reP},${reP},${reP},${reN}\\)$`),reHslPercent=new RegExp(`^hsl\\(${reN},${reP},${reP}\\)$`),reHslaPercent=new RegExp(`^hsla\\(${reN},${reP},${reP},${reN}\\)$`),named={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function color_formatHex(){return this.rgb().formatHex()}function color_formatHex8(){return this.rgb().formatHex8()}function color_formatHsl(){return hslConvert(this).formatHsl()}function color_formatRgb(){return this.rgb().formatRgb()}function color(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=reHex.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?rgbn(t):3===n?new Rgb(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?rgba(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?rgba(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=reRgbInteger.exec(e))?new Rgb(t[1],t[2],t[3],1):(t=reRgbPercent.exec(e))?new Rgb(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=reRgbaInteger.exec(e))?rgba(t[1],t[2],t[3],t[4]):(t=reRgbaPercent.exec(e))?rgba(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=reHslPercent.exec(e))?hsla(t[1],t[2]/100,t[3]/100,1):(t=reHslaPercent.exec(e))?hsla(t[1],t[2]/100,t[3]/100,t[4]):named.hasOwnProperty(e)?rgbn(named[e]):"transparent"===e?new Rgb(NaN,NaN,NaN,0):null}function rgbn(e){return new Rgb(e>>16&255,e>>8&255,255&e,1)}function rgba(e,t,n,o){return new Rgb(e=o<=0?t=n=NaN:e,t,n,o)}function rgbConvert(e){return(e=e instanceof Color?e:color(e))?new Rgb((e=e.rgb()).r,e.g,e.b,e.opacity):new Rgb}function rgb(e,t,n,o){return 1===arguments.length?rgbConvert(e):new Rgb(e,t,n,null==o?1:o)}function Rgb(e,t,n,o){this.r=+e,this.g=+t,this.b=+n,this.opacity=+o}function rgb_formatHex(){return"#"+hex(this.r)+hex(this.g)+hex(this.b)}function rgb_formatHex8(){return"#"+hex(this.r)+hex(this.g)+hex(this.b)+hex(255*(isNaN(this.opacity)?1:this.opacity))}function rgb_formatRgb(){var e=clampa(this.opacity);return(1===e?"rgb(":"rgba(")+clampi(this.r)+`, ${clampi(this.g)}, `+clampi(this.b)+(1===e?")":`, ${e})`)}function clampa(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function clampi(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function hex(e){return((e=clampi(e))<16?"0":"")+e.toString(16)}function hsla(e,t,n,o){return o<=0?e=t=n=NaN:n<=0||1<=n?e=t=NaN:t<=0&&(e=NaN),new Hsl(e,t,n,o)}function hslConvert(e){if(e instanceof Hsl)return new Hsl(e.h,e.s,e.l,e.opacity);if(!(e=e instanceof Color?e:color(e)))return new Hsl;if(e instanceof Hsl)return e;var t=(e=e.rgb()).r/255,n=e.g/255,o=e.b/255,a=Math.min(t,n,o),r=Math.max(t,n,o),i=NaN,d=r-a,s=(r+a)/2;return d?(i=t===r?(n-o)/d+6*(n<o):n===r?(o-t)/d+2:(t-n)/d+4,d/=s<.5?r+a:2-r-a,i*=60):d=0<s&&s<1?0:i,new Hsl(i,d,s,e.opacity)}function hsl(e,t,n,o){return 1===arguments.length?hslConvert(e):new Hsl(e,t,n,null==o?1:o)}function Hsl(e,t,n,o){this.h=+e,this.s=+t,this.l=+n,this.opacity=+o}function clamph(e){return(e=(e||0)%360)<0?e+360:e}function clampt(e){return Math.max(0,Math.min(1,e||0))}function hsl2rgb(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function interpolate(e,t){var n;return("number"==typeof t?interpolateNumber:t instanceof color?interpolateRgb:(n=color(t))?(t=n,interpolateRgb):interpolateString)(e,t)}function attrRemove(e){return function(){this.removeAttribute(e)}}function attrRemoveNS(e){return function(){this.removeAttributeNS(e.space,e.local)}}function attrConstant(t,n,o){var a,r,i=o+"";return function(){var e=this.getAttribute(t);return e===i?null:e===a?r:r=n(a=e,o)}}function attrConstantNS(t,n,o){var a,r,i=o+"";return function(){var e=this.getAttributeNS(t.space,t.local);return e===i?null:e===a?r:r=n(a=e,o)}}function attrFunction(o,a,r){var i,d,s;return function(){var e,t,n=r(this);if(null!=n)return(e=this.getAttribute(o))===(t=n+"")?null:e===i&&t===d?s:(d=t,s=a(i=e,n));this.removeAttribute(o)}}function attrFunctionNS(o,a,r){var i,d,s;return function(){var e,t,n=r(this);if(null!=n)return(e=this.getAttributeNS(o.space,o.local))===(t=n+"")?null:e===i&&t===d?s:(d=t,s=a(i=e,n));this.removeAttributeNS(o.space,o.local)}}function transition_attr(e,t){var n=namespace$1(e),o="transform"===n?interpolateTransformSvg:interpolate;return this.attrTween(e,"function"==typeof t?(n.local?attrFunctionNS:attrFunction)(n,o,tweenValue(this,"attr."+e,t)):null==t?(n.local?attrRemoveNS:attrRemove)(n):(n.local?attrConstantNS:attrConstant)(n,o,t))}function attrInterpolate(t,n){return function(e){this.setAttribute(t,n.call(this,e))}}function attrInterpolateNS(t,n){return function(e){this.setAttributeNS(t.space,t.local,n.call(this,e))}}function attrTweenNS(t,n){var o,a;function e(){var e=n.apply(this,arguments);return o=e!==a?(a=e)&&attrInterpolateNS(t,e):o}return e._value=n,e}function attrTween(t,n){var o,a;function e(){var e=n.apply(this,arguments);return o=e!==a?(a=e)&&attrInterpolate(t,e):o}return e._value=n,e}function transition_attrTween(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var o=namespace$1(e);return this.tween(n,(o.local?attrTweenNS:attrTween)(o,t))}function delayFunction(e,t){return function(){init(this,e).delay=+t.apply(this,arguments)}}function delayConstant(e,t){return t=+t,function(){init(this,e).delay=t}}function transition_delay(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?delayFunction:delayConstant)(t,e)):get$1(this.node(),t).delay}function durationFunction(e,t){return function(){set$1(this,e).duration=+t.apply(this,arguments)}}function durationConstant(e,t){return t=+t,function(){set$1(this,e).duration=t}}function transition_duration(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?durationFunction:durationConstant)(t,e)):get$1(this.node(),t).duration}function easeConstant(e,t){if("function"!=typeof t)throw new Error;return function(){set$1(this,e).ease=t}}function transition_ease(e){var t=this._id;return arguments.length?this.each(easeConstant(t,e)):get$1(this.node(),t).ease}function easeVarying(t,n){return function(){var e=n.apply(this,arguments);if("function"!=typeof e)throw new Error;set$1(this,t).ease=e}}function transition_easeVarying(e){if("function"!=typeof e)throw new Error;return this.each(easeVarying(this._id,e))}function transition_filter(e){"function"!=typeof e&&(e=matcher(e));for(var t=this._groups,n=t.length,o=new Array(n),a=0;a<n;++a)for(var r,i=t[a],d=i.length,s=o[a]=[],c=0;c<d;++c)(r=i[c])&&e.call(r,r.__data__,c,i)&&s.push(r);return new Transition(o,this._parents,this._name,this._id)}function transition_merge(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,o=t.length,e=n.length,a=Math.min(o,e),r=new Array(o),i=0;i<a;++i)for(var d,s=t[i],c=n[i],u=s.length,l=r[i]=new Array(u),p=0;p<u;++p)(d=s[p]||c[p])&&(l[p]=d);for(;i<o;++i)r[i]=t[i];return new Transition(r,this._parents,this._name,this._id)}function start(e){return(e+"").trim().split(/^|\s+/).every(function(e){var t=e.indexOf(".");return!(e=0<=t?e.slice(0,t):e)||"start"===e})}function onFunction(n,o,a){var r,i,d=start(o)?init:set$1;return function(){var e=d(this,n),t=e.on;t!==r&&(i=(r=t).copy()).on(o,a),e.on=i}}function transition_on(e,t){var n=this._id;return arguments.length<2?get$1(this.node(),n).on.on(e):this.each(onFunction(n,e,t))}function removeFunction(n){return function(){var e,t=this.parentNode;for(e in this.__transition)if(+e!==n)return;t&&t.removeChild(this)}}function transition_remove(){return this.on("end.remove",removeFunction(this._id))}function transition_select(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=selector$1(e));for(var o=this._groups,a=o.length,r=new Array(a),i=0;i<a;++i)for(var d,s,c=o[i],u=c.length,l=r[i]=new Array(u),p=0;p<u;++p)(d=c[p])&&(s=e.call(d,d.__data__,p,c))&&("__data__"in d&&(s.__data__=d.__data__),l[p]=s,schedule(l[p],t,n,p,l,get$1(d,n)));return new Transition(r,this._parents,t,n)}function transition_selectAll(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=selectorAll(e));for(var o=this._groups,a=o.length,r=[],i=[],d=0;d<a;++d)for(var s,c=o[d],u=c.length,l=0;l<u;++l)if(s=c[l]){for(var p,f=e.call(s,s.__data__,l,c),m=get$1(s,n),h=0,g=f.length;h<g;++h)(p=f[h])&&schedule(p,t,n,h,f,m);r.push(f),i.push(s)}return new Transition(r,i,t,n)}define(Color,color,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:color_formatHex,formatHex:color_formatHex,formatHex8:color_formatHex8,formatHsl:color_formatHsl,formatRgb:color_formatRgb,toString:color_formatRgb}),define(Rgb,rgb,extend(Color,{brighter(e){return e=null==e?brighter:Math.pow(brighter,e),new Rgb(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?darker:Math.pow(darker,e),new Rgb(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Rgb(clampi(this.r),clampi(this.g),clampi(this.b),clampa(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:rgb_formatHex,formatHex:rgb_formatHex,formatHex8:rgb_formatHex8,formatRgb:rgb_formatRgb,toString:rgb_formatRgb})),define(Hsl,hsl,extend(Color,{brighter(e){return e=null==e?brighter:Math.pow(brighter,e),new Hsl(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?darker:Math.pow(darker,e),new Hsl(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,t=n+(n<.5?n:1-n)*t,n=2*n-t;return new Rgb(hsl2rgb(240<=e?e-240:120+e,n,t),hsl2rgb(e,n,t),hsl2rgb(e<120?240+e:e-120,n,t),this.opacity)},clamp(){return new Hsl(clamph(this.h),clampt(this.s),clampt(this.l),clampa(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){var e=clampa(this.opacity);return(1===e?"hsl(":"hsla(")+clamph(this.h)+`, ${100*clampt(this.s)}%, ${100*clampt(this.l)}%`+(1===e?")":`, ${e})`)}}));var Selection=selection.prototype.constructor;function transition_selection(){return new Selection(this._groups,this._parents)}function styleNull(n,o){var a,r,i;return function(){var e=styleValue(this,n),t=(this.style.removeProperty(n),styleValue(this,n));return e===t?null:e===a&&t===r?i:i=o(a=e,r=t)}}function styleRemove(e){return function(){this.style.removeProperty(e)}}function styleConstant(t,n,o){var a,r,i=o+"";return function(){var e=styleValue(this,t);return e===i?null:e===a?r:r=n(a=e,o)}}function styleFunction(o,a,r){var i,d,s;return function(){var e=styleValue(this,o),t=r(this),n=t+"";return null==t&&(this.style.removeProperty(o),n=t=styleValue(this,o)),e===n?null:e===i&&n===d?s:(d=n,s=a(i=e,t))}}function styleMaybeRemove(o,a){var r,i,d,s,c="style."+a,u="end."+c;return function(){var e=set$1(this,o),t=e.on,n=null==e.value[c]?s=s||styleRemove(a):void 0;t===r&&d===n||(i=(r=t).copy()).on(u,d=n),e.on=i}}function transition_style(e,t,n){var o="transform"==(e+="")?interpolateTransformCss:interpolate;return null==t?this.styleTween(e,styleNull(e,o)).on("end.style."+e,styleRemove(e)):"function"==typeof t?this.styleTween(e,styleFunction(e,o,tweenValue(this,"style."+e,t))).each(styleMaybeRemove(this._id,e)):this.styleTween(e,styleConstant(e,o,t),n).on("end.style."+e,null)}function styleInterpolate(t,n,o){return function(e){this.style.setProperty(t,n.call(this,e),o)}}function styleTween(t,n,o){var a,r;function e(){var e=n.apply(this,arguments);return a=e!==r?(r=e)&&styleInterpolate(t,e,o):a}return e._value=n,e}function transition_styleTween(e,t,n){var o="style."+(e+="");if(arguments.length<2)return(o=this.tween(o))&&o._value;if(null==t)return this.tween(o,null);if("function"!=typeof t)throw new Error;return this.tween(o,styleTween(e,t,null==n?"":n))}function textConstant(e){return function(){this.textContent=e}}function textFunction(t){return function(){var e=t(this);this.textContent=null==e?"":e}}function transition_text(e){return this.tween("text","function"==typeof e?textFunction(tweenValue(this,"text",e)):textConstant(null==e?"":e+""))}function textInterpolate(t){return function(e){this.textContent=t.call(this,e)}}function textTween(t){var n,o;function e(){var e=t.apply(this,arguments);return n=e!==o?(o=e)&&textInterpolate(e):n}return e._value=t,e}function transition_textTween(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;return this.tween(t,textTween(e))}function transition_transition(){for(var e=this._name,t=this._id,n=newId(),o=this._groups,a=o.length,r=0;r<a;++r)for(var i,d=o[r],s=d.length,c=0;c<s;++c)(i=d[c])&&schedule(i,e,n,c,d,{time:(i=get$1(i,t)).time+i.delay+i.duration,delay:0,duration:i.duration,ease:i.ease});return new Transition(o,this._parents,e,n)}function transition_end(){var a,r,i=this,d=i._id,s=i.size();return new Promise(function(e,t){var n={value:t},o={value:function(){0==--s&&e()}};i.each(function(){var e=set$1(this,d),t=e.on;t!==a&&((r=(a=t).copy())._.cancel.push(n),r._.interrupt.push(n),r._.end.push(o)),e.on=r}),0===s&&e()})}var id$1=0;function Transition(e,t,n,o){this._groups=e,this._parents=t,this._name=n,this._id=o}function newId(){return++id$1}var selection_prototype=selection.prototype;function cubicInOut(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}Transition.prototype={constructor:Transition,select:transition_select,selectAll:transition_selectAll,selectChild:selection_prototype.selectChild,selectChildren:selection_prototype.selectChildren,filter:transition_filter,merge:transition_merge,selection:transition_selection,transition:transition_transition,call:selection_prototype.call,nodes:selection_prototype.nodes,node:selection_prototype.node,size:selection_prototype.size,empty:selection_prototype.empty,each:selection_prototype.each,on:transition_on,attr:transition_attr,attrTween:transition_attrTween,style:transition_style,styleTween:transition_styleTween,text:transition_text,textTween:transition_textTween,remove:transition_remove,tween:transition_tween,delay:transition_delay,duration:transition_duration,ease:transition_ease,easeVarying:transition_easeVarying,end:transition_end,[Symbol.iterator]:selection_prototype[Symbol.iterator]};var defaultTiming={time:null,delay:0,duration:250,ease:cubicInOut};function inherit(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}function selection_transition(e){var t,n;e=e instanceof Transition?(t=e._id,e._name):(t=newId(),(n=defaultTiming).time=now(),null==e?null:e+"");for(var o=this._groups,a=o.length,r=0;r<a;++r)for(var i,d=o[r],s=d.length,c=0;c<s;++c)(i=d[c])&&schedule(i,e,t,c,d,n||inherit(i,t));return new Transition(o,this._parents,e,t)}selection.prototype.interrupt=selection_interrupt,selection.prototype.transition=selection_transition;var constant=e=>()=>e;function ZoomEvent(e,{sourceEvent:t,target:n,transform:o,dispatch:a}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:o,enumerable:!0,configurable:!0},_:{value:a}})}function Transform(e,t,n){this.k=e,this.x=t,this.y=n}Transform.prototype={constructor:Transform,scale:function(e){return 1===e?this:new Transform(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new Transform(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var identity=new Transform(1,0,0);function nopropagation(e){e.stopImmediatePropagation()}function noevent(e){e.preventDefault(),e.stopImmediatePropagation()}function defaultFilter(e){return!(e.ctrlKey&&"wheel"!==e.type||e.button)}function defaultExtent(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e).hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]:[[0,0],[e.clientWidth,e.clientHeight]]}function defaultTransform(){return this.__zoom||identity}function defaultWheelDelta(e){return-e.deltaY*(1===e.deltaMode?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function defaultTouchable(){return navigator.maxTouchPoints||"ontouchstart"in this}function defaultConstrain(e,t,n){var o=e.invertX(t[0][0])-n[0][0],a=e.invertX(t[1][0])-n[1][0],r=e.invertY(t[0][1])-n[0][1],t=e.invertY(t[1][1])-n[1][1];return e.translate(o<a?(o+a)/2:Math.min(0,o)||Math.max(0,a),r<t?(r+t)/2:Math.min(0,r)||Math.max(0,t))}function zoom(){var c,u,s,l=defaultFilter,p=defaultExtent,f=defaultConstrain,i=defaultWheelDelta,t=defaultTouchable,d=[0,1/0],m=[[-1/0,-1/0],[1/0,1/0]],h=250,g=interpolateZoom,n=dispatch("start","zoom","end"),b=500,y=150,I=0,x=10;function v(e){e.property("__zoom",defaultTransform).on("wheel.zoom",a,{passive:!1}).on("mousedown.zoom",r).on("dblclick.zoom",$).filter(t).on("touchstart.zoom",T).on("touchmove.zoom",k).on("touchend.zoom touchcancel.zoom",P).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function S(e,t){return(t=Math.max(d[0],Math.min(d[1],t)))===e.k?e:new Transform(t,e.x,e.y)}function w(e,t,n){var o=t[0]-n[0]*e.k,t=t[1]-n[1]*e.k;return o===e.x&&t===e.y?e:new Transform(e.k,o,t)}function C(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function F(e,s,c,u){e.on("start.zoom",function(){E(this,arguments).event(u).start()}).on("interrupt.zoom end.zoom",function(){E(this,arguments).event(u).end()}).tween("zoom",function(){var e=this,t=arguments,o=E(e,t).event(u),n=p.apply(e,t),a=null==c?C(n):"function"==typeof c?c.apply(e,t):c,r=Math.max(n[1][0]-n[0][0],n[1][1]-n[0][1]),n=e.__zoom,i="function"==typeof s?s.apply(e,t):s,d=g(n.invert(a).concat(r/n.k),i.invert(a).concat(r/i.k));return function(e){var t,n;e=1===e?i:(t=d(e),new Transform(n=r/t[2],a[0]-t[0]*n,a[1]-t[1]*n)),o.zoom(null,e)}})}function E(e,t,n){return!n&&e.__zooming||new o(e,t)}function o(e,t){this.that=e,this.args=t,this.active=0,this.sourceEvent=null,this.extent=p.apply(e,t),this.taps=0}function a(e,...t){if(l.apply(this,arguments)){var n=E(this,t).event(e),o=this.__zoom,a=Math.max(d[0],Math.min(d[1],o.k*Math.pow(2,i.apply(this,arguments)))),r=pointer(e);if(n.wheel)n.mouse[0][0]===r[0]&&n.mouse[0][1]===r[1]||(n.mouse[1]=o.invert(n.mouse[0]=r)),clearTimeout(n.wheel);else{if(o.k===a)return;n.mouse=[r,o.invert(r)],interrupt(this),n.start()}noevent(e),n.wheel=setTimeout(function(){n.wheel=null,n.end()},y),n.zoom("mouse",f(w(S(o,a),n.mouse[0],n.mouse[1]),n.extent,m))}}function r(e,...t){var o,a,n,r,i,d;!s&&l.apply(this,arguments)&&(o=e.currentTarget,a=E(this,t,!0).event(e),n=select(e.view).on("mousemove.zoom",function(e){{var t,n;noevent(e),a.moved||(t=e.clientX-i,n=e.clientY-d,a.moved=I<t*t+n*n)}a.event(e).zoom("mouse",f(w(a.that.__zoom,a.mouse[0]=pointer(e,o),a.mouse[1]),a.extent,m))},!0).on("mouseup.zoom",function(e){n.on("mousemove.zoom mouseup.zoom",null),yesdrag(e.view,a.moved),noevent(e),a.event(e).end()},!0),r=pointer(e,o),i=e.clientX,d=e.clientY,dragDisable(e.view),nopropagation(e),a.mouse=[r,this.__zoom.invert(r)],interrupt(this),a.start())}function $(e,...t){var n,o,a,r;l.apply(this,arguments)&&(r=this.__zoom,n=pointer(e.changedTouches?e.changedTouches[0]:e,this),o=r.invert(n),a=r.k*(e.shiftKey?.5:2),r=f(w(S(r,a),n,o),p.apply(this,t),m),noevent(e),0<h?select(this).transition().duration(h).call(F,r,n,e):select(this).call(v.transform,r,n,e))}function T(e,...t){if(l.apply(this,arguments)){var n,o,a,r,i=e.touches,d=i.length,s=E(this,t,e.changedTouches.length===d).event(e);for(nopropagation(e),o=0;o<d;++o)r=[r=pointer(a=i[o],this),this.__zoom.invert(r),a.identifier],s.touch0?s.touch1||s.touch0[2]===r[2]||(s.touch1=r,s.taps=0):(s.touch0=r,n=!0,s.taps=1+!!c);c=c&&clearTimeout(c),n&&(s.taps<2&&(u=r[0],c=setTimeout(function(){c=null},b)),interrupt(this),s.start())}}function k(e,...t){if(this.__zooming){var n,o=E(this,t).event(e),a=e.changedTouches,r=a.length;for(noevent(e),n=0;n<r;++n)l=pointer(u=a[n],this),o.touch0&&o.touch0[2]===u.identifier?o.touch0[0]=l:o.touch1&&o.touch1[2]===u.identifier&&(o.touch1[0]=l);if(u=o.that.__zoom,o.touch1)var t=o.touch0[0],e=o.touch0[1],i=o.touch1[0],d=o.touch1[1],s=(s=i[0]-t[0])*s+(s=i[1]-t[1])*s,c=(c=d[0]-e[0])*c+(c=d[1]-e[1])*c,u=S(u,Math.sqrt(s/c)),l=[(t[0]+i[0])/2,(t[1]+i[1])/2],s=[(e[0]+d[0])/2,(e[1]+d[1])/2];else{if(!o.touch0)return;l=o.touch0[0],s=o.touch0[1]}o.zoom("touch",f(w(u,l,s),o.extent,m))}}function P(e,...t){if(this.__zooming){var n,o,a,r=E(this,t).event(e),i=e.changedTouches,d=i.length;for(nopropagation(e),s&&clearTimeout(s),s=setTimeout(function(){s=null},b),n=0;n<d;++n)a=i[n],r.touch0&&r.touch0[2]===a.identifier?delete r.touch0:r.touch1&&r.touch1[2]===a.identifier&&delete r.touch1;r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0?r.touch0[1]=this.__zoom.invert(r.touch0[0]):(r.end(),2===r.taps&&(a=pointer(a,this),Math.hypot(u[0]-a[0],u[1]-a[1])<x&&((o=select(this).on("dblclick.zoom"))&&o.apply(this,arguments))))}}return v.transform=function(e,t,n,o){var a=e.selection?e.selection():e;a.property("__zoom",defaultTransform),e!==a?F(e,t,n,o):a.interrupt().each(function(){E(this,arguments).event(o).start().zoom(null,"function"==typeof t?t.apply(this,arguments):t).end()})},v.scaleBy=function(e,t,n,o){v.scaleTo(e,function(){return this.__zoom.k*("function"==typeof t?t.apply(this,arguments):t)},n,o)},v.scaleTo=function(e,r,i,t){v.transform(e,function(){var e=p.apply(this,arguments),t=this.__zoom,n=null==i?C(e):"function"==typeof i?i.apply(this,arguments):i,o=t.invert(n),a="function"==typeof r?r.apply(this,arguments):r;return f(w(S(t,a),n,o),e,m)},i,t)},v.translateBy=function(e,t,n,o){v.transform(e,function(){return f(this.__zoom.translate("function"==typeof t?t.apply(this,arguments):t,"function"==typeof n?n.apply(this,arguments):n),p.apply(this,arguments),m)},null,o)},v.translateTo=function(e,o,a,r,t){v.transform(e,function(){var e=p.apply(this,arguments),t=this.__zoom,n=null==r?C(e):"function"==typeof r?r.apply(this,arguments):r;return f(identity.translate(n[0],n[1]).scale(t.k).translate("function"==typeof o?-o.apply(this,arguments):-o,"function"==typeof a?-a.apply(this,arguments):-a),e,m)},r,t)},o.prototype={event:function(e){return e&&(this.sourceEvent=e),this},start:function(){return 1==++this.active&&(this.that.__zooming=this).emit("start"),this},zoom:function(e,t){return this.mouse&&"mouse"!==e&&(this.mouse[1]=t.invert(this.mouse[0])),this.touch0&&"touch"!==e&&(this.touch0[1]=t.invert(this.touch0[0])),this.touch1&&"touch"!==e&&(this.touch1[1]=t.invert(this.touch1[0])),this.that.__zoom=t,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(e){var t=select(this.that).datum();n.call(e,this.that,new ZoomEvent(e,{sourceEvent:this.sourceEvent,target:v,type:e,transform:this.that.__zoom,dispatch:n}),t)}},v.wheelDelta=function(e){return arguments.length?(i="function"==typeof e?e:constant(+e),v):i},v.filter=function(e){return arguments.length?(l="function"==typeof e?e:constant(!!e),v):l},v.touchable=function(e){return arguments.length?(t="function"==typeof e?e:constant(!!e),v):t},v.extent=function(e){return arguments.length?(p="function"==typeof e?e:constant([[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]]),v):p},v.scaleExtent=function(e){return arguments.length?(d[0]=+e[0],d[1]=+e[1],v):[d[0],d[1]]},v.translateExtent=function(e){return arguments.length?(m[0][0]=+e[0][0],m[1][0]=+e[1][0],m[0][1]=+e[0][1],m[1][1]=+e[1][1],v):[[m[0][0],m[0][1]],[m[1][0],m[1][1]]]},v.constrain=function(e){return arguments.length?(f=e,v):f},v.duration=function(e){return arguments.length?(h=+e,v):h},v.interpolate=function(e){return arguments.length?(g=e,v):g},v.on=function(){var e=n.on.apply(n,arguments);return e===n?v:e},v.clickDistance=function(e){return arguments.length?(I=(e=+e)*e,v):Math.sqrt(I)},v.tapDistance=function(e){return arguments.length?(x=+e,v):x},v}Transform.prototype;const StoreContext=react.exports.createContext(null),Provider$1=StoreContext.Provider,errorMessage="[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#100";function useStore(e,t){var n=react.exports.useContext(StoreContext);if(null===n)throw new Error(errorMessage);return useStore$1(n,e,t)}const useStoreApi=()=>{const e=react.exports.useContext(StoreContext);if(null===e)throw new Error(errorMessage);return react.exports.useMemo(()=>({getState:e.getState,setState:e.setState,subscribe:e.subscribe,destroy:e.destroy}),[e])},selector$f=e=>e.userSelectionActive?"none":"all";function Panel({position:e,children:t,className:n,style:o,...a}){var r=useStore(selector$f),e=(""+e).split("-");return jsxRuntime.exports.jsx("div",{className:cc(["react-flow__panel",n,...e]),style:{...o,pointerEvents:r},...a,children:t})}function Attribution({proOptions:e,position:t="bottom-right"}){return e?.hideAttribution?null:jsxRuntime.exports.jsx(Panel,{position:t,className:"react-flow__attribution","data-message":"Please only hide this attribution when you are subscribed to React Flow Pro: https://pro.reactflow.dev",children:jsxRuntime.exports.jsx("a",{href:"https://reactflow.dev",target:"_blank",rel:"noopener noreferrer","aria-label":"React Flow attribution",children:"React Flow"})})}const EdgeText=({x:e,y:t,label:n,labelStyle:o={},labelShowBg:a=!0,labelBgStyle:r={},labelBgPadding:i=[2,4],labelBgBorderRadius:d=2,children:s,className:c,...u})=>{const l=react.exports.useRef(null),[p,f]=react.exports.useState({x:0,y:0,width:0,height:0});c=cc(["react-flow__edge-textwrapper",c]);return react.exports.useEffect(()=>{var e;l.current&&(e=l.current.getBBox(),f({x:e.x,y:e.y,width:e.width,height:e.height}))},[n]),void 0!==n&&n?jsxRuntime.exports.jsxs("g",{transform:`translate(${e-p.width/2} ${t-p.height/2})`,className:c,visibility:p.width?"visible":"hidden",...u,children:[a&&jsxRuntime.exports.jsx("rect",{width:p.width+2*i[0],x:-i[0],y:-i[1],height:p.height+2*i[1],className:"react-flow__edge-textbg",style:r,rx:d,ry:d}),jsxRuntime.exports.jsx("text",{className:"react-flow__edge-text",y:p.height/2,dy:"0.3em",ref:l,style:o,children:n}),s]}):null};var ConnectionMode,PanOnScrollMode,SelectionMode,ConnectionLineType,MarkerType,Position,EdgeText$1=react.exports.memo(EdgeText);const getDimensions=e=>({width:e.offsetWidth,height:e.offsetHeight}),clamp=(e,t=0,n=1)=>Math.min(Math.max(e,t),n),clampPosition=(e={x:0,y:0},t)=>({x:clamp(e.x,t[0][0],t[1][0]),y:clamp(e.y,t[0][1],t[1][1])}),getHostForElement=e=>e.getRootNode?.()||window?.document,getBoundsOfBoxes=(e,t)=>({x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),x2:Math.max(e.x2,t.x2),y2:Math.max(e.y2,t.y2)}),rectToBox=({x:e,y:t,width:n,height:o})=>({x:e,y:t,x2:e+n,y2:t+o}),boxToRect=({x:e,y:t,x2:n,y2:o})=>({x:e,y:t,width:n-e,height:o-t}),nodeToRect=e=>({...e.positionAbsolute||{x:0,y:0},width:e.width||0,height:e.height||0}),getOverlappingArea=(e,t)=>{var n=Math.max(0,Math.min(e.x+e.width,t.x+t.width)-Math.max(e.x,t.x)),e=Math.max(0,Math.min(e.y+e.height,t.y+t.height)-Math.max(e.y,t.y));return Math.ceil(n*e)},isRectObject=e=>isNumeric(e.width)&&isNumeric(e.height)&&isNumeric(e.x)&&isNumeric(e.y),isNumeric=e=>!isNaN(e)&&isFinite(e),internalsSymbol=Symbol.for("internals"),elementSelectionKeys=["Enter"," ","Escape"],devWarn=e=>{},isReactKeyboardEvent=e=>"nativeEvent"in e;function isInputDOMNode(e){const t=isReactKeyboardEvent(e)?e.nativeEvent:e,n=t.composedPath?.()?.[0]||e.target;return!(e.ctrlKey||e.metaKey||e.shiftKey)&&(["INPUT","SELECT","TEXTAREA"].includes(n?.nodeName)||n?.hasAttribute("contenteditable")||!!n?.closest(".nokey"))}const BaseEdge=({path:e,labelX:t,labelY:n,label:o,labelStyle:a,labelShowBg:r,labelBgStyle:i,labelBgPadding:d,labelBgBorderRadius:s,style:c,markerEnd:u,markerStart:l,interactionWidth:p=20})=>jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx("path",{style:c,d:e,fill:"none",className:"react-flow__edge-path",markerEnd:u,markerStart:l}),p&&jsxRuntime.exports.jsx("path",{d:e,fill:"none",strokeOpacity:0,strokeWidth:p,className:"react-flow__edge-interaction"}),o&&isNumeric(t)&&isNumeric(n)?jsxRuntime.exports.jsx(EdgeText$1,{x:t,y:n,label:o,labelStyle:a,labelShowBg:r,labelBgStyle:i,labelBgPadding:d,labelBgBorderRadius:s}):null]});function getMouseHandler$1(n,o,a){return void 0===a?a:e=>{var t=o().edges.find(e=>e.id===n);t&&a(e,{...t})}}function getEdgeCenter({sourceX:e,sourceY:t,targetX:n,targetY:o}){var a=Math.abs(n-e)/2,e=n<e?n+a:n-a,n=Math.abs(o-t)/2;return[e,o<t?o+n:o-n,a,n]}function getBezierEdgeCenter({sourceX:e,sourceY:t,targetX:n,targetY:o,sourceControlX:a,sourceControlY:r,targetControlX:i,targetControlY:d}){a=.125*e+.375*a+.375*i+.125*n,i=.125*t+.375*r+.375*d+.125*o;return[a,i,Math.abs(a-e),Math.abs(i-t)]}function getControl({pos:e,x1:t,y1:n,x2:o,y2:a}){return e===Position.Left||e===Position.Right?[.5*(t+o),n]:[t,.5*(n+a)]}function getSimpleBezierPath({sourceX:e,sourceY:t,sourcePosition:n=Position.Bottom,targetX:o,targetY:a,targetPosition:r=Position.Top}){var[n,i]=getControl({pos:n,x1:e,y1:t,x2:o,y2:a}),[r,d]=getControl({pos:r,x1:o,y1:a,x2:e,y2:t}),[s,c,u,l]=getBezierEdgeCenter({sourceX:e,sourceY:t,targetX:o,targetY:a,sourceControlX:n,sourceControlY:i,targetControlX:r,targetControlY:d});return[`M${e},${t} C${n},${i} ${r},${d} ${o},`+a,s,c,u,l]}BaseEdge.displayName="BaseEdge",function(e){e.Strict="strict",e.Loose="loose"}(ConnectionMode=ConnectionMode||{}),function(e){e.Free="free",e.Vertical="vertical",e.Horizontal="horizontal"}(PanOnScrollMode=PanOnScrollMode||{}),function(e){e.Partial="partial",e.Full="full"}(SelectionMode=SelectionMode||{}),function(e){e.Bezier="default",e.Straight="straight",e.Step="step",e.SmoothStep="smoothstep",e.SimpleBezier="simplebezier"}(ConnectionLineType=ConnectionLineType||{}),function(e){e.Arrow="arrow",e.ArrowClosed="arrowclosed"}(MarkerType=MarkerType||{}),function(e){e.Left="left",e.Top="top",e.Right="right",e.Bottom="bottom"}(Position=Position||{});const SimpleBezierEdge=react.exports.memo(({sourceX:e,sourceY:t,targetX:n,targetY:o,sourcePosition:a=Position.Bottom,targetPosition:r=Position.Top,label:i,labelStyle:d,labelShowBg:s,labelBgStyle:c,labelBgPadding:u,labelBgBorderRadius:l,style:p,markerEnd:f,markerStart:m,interactionWidth:h})=>{var[e,t,a]=getSimpleBezierPath({sourceX:e,sourceY:t,sourcePosition:a,targetX:n,targetY:o,targetPosition:r});return jsxRuntime.exports.jsx(BaseEdge,{path:e,labelX:t,labelY:a,label:i,labelStyle:d,labelShowBg:s,labelBgStyle:c,labelBgPadding:u,labelBgBorderRadius:l,style:p,markerEnd:f,markerStart:m,interactionWidth:h})}),handleDirections=(SimpleBezierEdge.displayName="SimpleBezierEdge",{[Position.Left]:{x:-1,y:0},[Position.Right]:{x:1,y:0},[Position.Top]:{x:0,y:-1},[Position.Bottom]:{x:0,y:1}}),getDirection=({source:e,sourcePosition:t=Position.Bottom,target:n})=>t===Position.Left||t===Position.Right?e.x<n.x?{x:1,y:0}:{x:-1,y:0}:e.y<n.y?{x:0,y:1}:{x:0,y:-1},distance=(e,t)=>Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2));function getPoints({source:e,sourcePosition:t=Position.Bottom,target:n,targetPosition:o=Position.Top,center:a,offset:r}){var i=handleDirections[t],d=handleDirections[o],s={x:e.x+i.x*r,y:e.y+i.y*r},r={x:n.x+d.x*r,y:n.y+d.y*r},c=getDirection({source:s,sourcePosition:t,target:r}),u=0!==c.x?"x":"y",c=c[u];let l=[],p,f;var[m,h,g,b]=getEdgeCenter({sourceX:e.x,sourceY:e.y,targetX:n.x,targetY:n.y}),d=(i[u]*d[u]==-1?(p=a.x||m,f=a.y||h,m=[{x:p,y:s.y},{x:p,y:r.y}],a=[{x:s.x,y:f},{x:r.x,y:f}],l=i[u]===c?"x"==u?m:a:"x"==u?a:m):(h=[{x:s.x,y:r.y}],a=[{x:r.x,y:s.y}],l="x"==u?i.x===c?a:h:i.y===c?h:a,t!==o&&(c=i[u]===d[m="x"==u?"y":"x"],t=r[m]<s[m],o=s[m]<r[m],(1===i[u]&&(!c&&t||c&&o)||1!==i[u]&&(!c&&o||c&&t))&&(l="x"==u?h:a)),p=l[0].x,f=l[0].y),[e,s,...l,r,n]);return[d,p,f,g,b]}function getBend(e,t,n,o){var o=Math.min(distance(e,t)/2,distance(t,n)/2,o),{x:t,y:a}=t;if(e.x===t&&t===n.x||e.y===a&&a===n.y)return`L${t} `+a;if(e.y===a){const r=e.x<n.x?-1:1,i=e.y<n.y?1:-1;return`L ${t+o*r},${a}Q ${t},${a} ${t},`+(a+o*i)}const r=e.x<n.x?1:-1,i=e.y<n.y?-1:1;return`L ${t},${a+o*i}Q ${t},${a} ${t+o*r},`+a}function getSmoothStepPath({sourceX:e,sourceY:t,sourcePosition:n=Position.Bottom,targetX:o,targetY:a,targetPosition:r=Position.Top,borderRadius:i=5,centerX:d,centerY:s,offset:c=20}){const[u,l,p,f,m]=getPoints({source:{x:e,y:t},sourcePosition:n,target:{x:o,y:a},targetPosition:r,center:{x:d,y:s},offset:c});return[u.reduce((e,t,n)=>{let o="";return e+=o=0<n&&n<u.length-1?getBend(u[n-1],t,u[n+1],i):(0===n?"M":"L")+t.x+" "+t.y},""),l,p,f,m]}const SmoothStepEdge=react.exports.memo(({sourceX:e,sourceY:t,targetX:n,targetY:o,label:a,labelStyle:r,labelShowBg:i,labelBgStyle:d,labelBgPadding:s,labelBgBorderRadius:c,style:u,sourcePosition:l=Position.Bottom,targetPosition:p=Position.Top,markerEnd:f,markerStart:m,pathOptions:h,interactionWidth:g})=>{var[e,t,l]=getSmoothStepPath({sourceX:e,sourceY:t,sourcePosition:l,targetX:n,targetY:o,targetPosition:p,borderRadius:h?.borderRadius,offset:h?.offset});return jsxRuntime.exports.jsx(BaseEdge,{path:e,labelX:t,labelY:l,label:a,labelStyle:r,labelShowBg:i,labelBgStyle:d,labelBgPadding:s,labelBgBorderRadius:c,style:u,markerEnd:f,markerStart:m,interactionWidth:g})}),StepEdge=(SmoothStepEdge.displayName="SmoothStepEdge",react.exports.memo(e=>jsxRuntime.exports.jsx(SmoothStepEdge,{...e,pathOptions:react.exports.useMemo(()=>({borderRadius:0,offset:e.pathOptions?.offset}),[e.pathOptions?.offset])})));function getStraightPath({sourceX:e,sourceY:t,targetX:n,targetY:o}){var[a,r,i,d]=getEdgeCenter({sourceX:e,sourceY:t,targetX:n,targetY:o});return[`M ${e},${t}L ${n},`+o,a,r,i,d]}StepEdge.displayName="StepEdge";const StraightEdge=react.exports.memo(({sourceX:e,sourceY:t,targetX:n,targetY:o,label:a,labelStyle:r,labelShowBg:i,labelBgStyle:d,labelBgPadding:s,labelBgBorderRadius:c,style:u,markerEnd:l,markerStart:p,interactionWidth:f})=>{var[e,t,n]=getStraightPath({sourceX:e,sourceY:t,targetX:n,targetY:o});return jsxRuntime.exports.jsx(BaseEdge,{path:e,labelX:t,labelY:n,label:a,labelStyle:r,labelShowBg:i,labelBgStyle:d,labelBgPadding:s,labelBgBorderRadius:c,style:u,markerEnd:l,markerStart:p,interactionWidth:f})});function calculateControlOffset(e,t){return 0<=e?.5*e:25*t*Math.sqrt(-e)}function getControlWithCurvature({pos:e,x1:t,y1:n,x2:o,y2:a,c:r}){switch(e){case Position.Left:return[t-calculateControlOffset(t-o,r),n];case Position.Right:return[t+calculateControlOffset(o-t,r),n];case Position.Top:return[t,n-calculateControlOffset(n-a,r)];case Position.Bottom:return[t,n+calculateControlOffset(a-n,r)]}}function getBezierPath({sourceX:e,sourceY:t,sourcePosition:n=Position.Bottom,targetX:o,targetY:a,targetPosition:r=Position.Top,curvature:i=.25}){var[n,d]=getControlWithCurvature({pos:n,x1:e,y1:t,x2:o,y2:a,c:i}),[r,i]=getControlWithCurvature({pos:r,x1:o,y1:a,x2:e,y2:t,c:i}),[s,c,u,l]=getBezierEdgeCenter({sourceX:e,sourceY:t,targetX:o,targetY:a,sourceControlX:n,sourceControlY:d,targetControlX:r,targetControlY:i});return[`M${e},${t} C${n},${d} ${r},${i} ${o},`+a,s,c,u,l]}StraightEdge.displayName="StraightEdge";const BezierEdge=react.exports.memo(({sourceX:e,sourceY:t,targetX:n,targetY:o,sourcePosition:a=Position.Bottom,targetPosition:r=Position.Top,label:i,labelStyle:d,labelShowBg:s,labelBgStyle:c,labelBgPadding:u,labelBgBorderRadius:l,style:p,markerEnd:f,markerStart:m,pathOptions:h,interactionWidth:g})=>{var[e,t,a]=getBezierPath({sourceX:e,sourceY:t,sourcePosition:a,targetX:n,targetY:o,targetPosition:r,curvature:h?.curvature});return jsxRuntime.exports.jsx(BaseEdge,{path:e,labelX:t,labelY:a,label:i,labelStyle:d,labelShowBg:s,labelBgStyle:c,labelBgPadding:u,labelBgBorderRadius:l,style:p,markerEnd:f,markerStart:m,interactionWidth:g})}),NodeIdContext=(BezierEdge.displayName="BezierEdge",react.exports.createContext(null)),Provider=NodeIdContext.Provider,useNodeId=(NodeIdContext.Consumer,()=>{return react.exports.useContext(NodeIdContext)});function checkElementBelowIsValid(e,t,n,o,a,r,i){const d=i.elementFromPoint(e.clientX,e.clientY);var s,c,u,i=d?.classList.contains("target")||!1,e=d?.classList.contains("source")||!1;const l={elementBelow:d,isValid:!1,connection:{source:null,target:null,sourceHandle:null,targetHandle:null},isHoveringHandle:!1};return d&&(i||e)&&(l.isHoveringHandle=!0,s=d.getAttribute("data-nodeid"),c=d.getAttribute("data-handleid"),u=n?{source:s,sourceHandle:c,target:o,targetHandle:a}:{source:o,sourceHandle:a,target:s,targetHandle:c},l.connection=u,(t===ConnectionMode.Strict?n&&e||!n&&i:s!==o||c!==a)&&(l.isValid=r(u))),l}function resetRecentHandle(e){e?.classList.remove("react-flow__handle-valid"),e?.classList.remove("react-flow__handle-connecting")}function handleMouseDown({event:e,handleId:i,nodeId:d,onConnect:a,isTarget:s,getState:c,setState:u,isValidConnection:l,elementEdgeUpdaterType:p,onEdgeUpdateEnd:f}){const t=e.target.closest(".react-flow"),m=getHostForElement(e.target);if(m){const r=m.elementFromPoint(e.clientX,e.clientY);var n=r?.classList.contains("target"),o=r?.classList.contains("source");if(t&&(n||o||p)){const{onConnectStart:g,connectionMode:b}=c();o=p||(n?"target":"source");const y=t.getBoundingClientRect();let r;function h(e){u({connectionPosition:{x:e.clientX-y.left,y:e.clientY-y.top}});const{connection:t,elementBelow:n,isValid:o,isHoveringHandle:a}=checkElementBelowIsValid(e,b,s,d,i,l,m);if(!a)return resetRecentHandle(r);t.source!==t.target&&n&&(resetRecentHandle(r),(r=n).classList.add("react-flow__handle-connecting"),n.classList.toggle("react-flow__handle-valid",o))}u({connectionPosition:{x:e.clientX-y.left,y:e.clientY-y.top},connectionNodeId:d,connectionHandleId:i,connectionHandleType:o}),g?.(e,{nodeId:d,handleId:i,handleType:o}),m.addEventListener("mousemove",h),m.addEventListener("mouseup",function e(t){var{connection:n,isValid:o}=checkElementBelowIsValid(t,b,s,d,i,l,m);o&&a?.(n),c().onConnectEnd?.(t),p&&f&&f(t),resetRecentHandle(r),u({connectionNodeId:null,connectionHandleId:null,connectionHandleType:null}),m.removeEventListener("mousemove",h),m.removeEventListener("mouseup",e)})}}}const isEdge=e=>"id"in e&&"source"in e&&"target"in e,getEdgeId=({source:e,sourceHandle:t,target:n,targetHandle:o})=>`reactflow__edge-${e}${t||""}-`+n+(o||""),getMarkerId=(t,e)=>{return void 0===t?"":"string"==typeof t?t:(e?e+"__":"")+Object.keys(t).sort().map(e=>e+"="+t[e]).join("&")},connectionExists=(t,e)=>e.some(e=>!(e.source!==t.source||e.target!==t.target||e.sourceHandle!==t.sourceHandle&&(e.sourceHandle||t.sourceHandle)||e.targetHandle!==t.targetHandle&&(e.targetHandle||t.targetHandle))),addEdge=(e,t)=>{if(!e.source||!e.target)return t;let n;return n=isEdge(e)?{...e}:{...e,id:getEdgeId(e)},connectionExists(n,t)?t:t.concat(n)},pointToRendererPoint=({x:e,y:t},[n,o,a],r,[i,d])=>{e={x:(e-n)/a,y:(t-o)/a};return r?{x:i*Math.round(e.x/i),y:d*Math.round(e.y/d)}:e},getNodePositionWithOrigin=(e,t=[0,0])=>{if(!e)return{x:0,y:0,positionAbsolute:{x:0,y:0}};var n=(e.width??0)*t[0],t=(e.height??0)*t[1],o={x:e.position.x-n,y:e.position.y-t};return{...o,positionAbsolute:e.positionAbsolute?{x:e.positionAbsolute.x-n,y:e.positionAbsolute.y-t}:o}},getRectOfNodes=(e,a=[0,0])=>{if(0===e.length)return{x:0,y:0,width:0,height:0};e=e.reduce((e,t)=>{var{x:n,y:o}=getNodePositionWithOrigin(t,a).positionAbsolute;return getBoundsOfBoxes(e,rectToBox({x:n,y:o,width:t.width||0,height:t.height||0}))},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return boxToRect(e)},getNodesInside=(e,t,[n,o,a]=[0,0,1],r=!1,i=!1,d=[0,0])=>{const s={x:(t.x-n)/a,y:(t.y-o)/a,width:t.width/a,height:t.height/a},c=[];return e.forEach(e=>{var{width:t,height:n,selectable:o=!0,hidden:a=!1}=e;if(i&&!o||a)return!1;o=getNodePositionWithOrigin(e,d).positionAbsolute,a={x:o.x,y:o.y,width:t||0,height:n||0},o=getOverlappingArea(s,a);(void 0===t||void 0===n||null===t||null===n||r&&0<o||(t||0)*(n||0)<=o||e.dragging)&&c.push(e)}),c},getConnectedEdges=(e,t)=>{const n=e.map(e=>e.id);return t.filter(e=>n.includes(e.source)||n.includes(e.target))},getTransformForBounds=(e,t,n,o,a,r=.1)=>{var i=t/(e.width*(1+r)),r=n/(e.height*(1+r)),i=Math.min(i,r),r=clamp(i,o,a);return[t/2-(e.x+e.width/2)*r,n/2-(e.y+e.height/2)*r,r]},getD3Transition=(e,t=0)=>e.transition().duration(t),alwaysValid=()=>!0,selector$e=e=>({connectionStartHandle:e.connectionStartHandle,connectOnClick:e.connectOnClick,noPanClassName:e.noPanClassName}),Handle=react.exports.forwardRef(({type:i="source",position:e=Position.Top,isValidConnection:d=alwaysValid,isConnectable:t=!0,id:n,onConnect:r,children:o,className:a,onMouseDown:s,...c},u)=>{const l=useStoreApi(),p=useNodeId(),{connectionStartHandle:f,connectOnClick:m,noPanClassName:h}=useStore(selector$e,shallow),g=n||null,b="target"===i,y=e=>{const{defaultEdgeOptions:t,onConnect:n,hasDefaultEdges:o}=l.getState();var a,e={...t,...e};o&&(a=l.getState()["edges"],l.setState({edges:addEdge(e,a)})),n?.(e),r?.(e)};return jsxRuntime.exports.jsx("div",{"data-handleid":g,"data-nodeid":p,"data-handlepos":e,className:cc(["react-flow__handle","react-flow__handle-"+e,"nodrag",h,a,{source:!b,target:b,connectable:t,connecting:f?.nodeId===p&&f?.handleId===g&&f?.type===i}]),onMouseDown:e=>{0===e.button&&handleMouseDown({event:e,handleId:g,nodeId:p,onConnect:y,isTarget:b,getState:l.getState,setState:l.setState,isValidConnection:d}),s?.(e)},onClick:m?e=>{const{onClickConnectStart:t,onClickConnectEnd:n,connectionMode:o}=l.getState();if(!f)return t?.(e,{nodeId:p,handleId:g,handleType:i}),void l.setState({connectionStartHandle:{nodeId:p,type:i,handleId:g}});var a=getHostForElement(e.target),{connection:a,isValid:r}=checkElementBelowIsValid(e,o,"target"===f.type,f.nodeId,f.handleId||null,d,a);r&&y(a),n?.(e),l.setState({connectionStartHandle:null})}:void 0,ref:u,...c,children:o})});Handle.displayName="Handle";var Handle$1=react.exports.memo(Handle);const DefaultNode=({data:e,isConnectable:t,targetPosition:n=Position.Top,sourcePosition:o=Position.Bottom})=>jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(Handle$1,{type:"target",position:n,isConnectable:t}),e?.label,jsxRuntime.exports.jsx(Handle$1,{type:"source",position:o,isConnectable:t})]});DefaultNode.displayName="DefaultNode";var DefaultNode$1=react.exports.memo(DefaultNode);const InputNode=({data:e,isConnectable:t,sourcePosition:n=Position.Bottom})=>jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[e?.label,jsxRuntime.exports.jsx(Handle$1,{type:"source",position:n,isConnectable:t})]});InputNode.displayName="InputNode";var InputNode$1=react.exports.memo(InputNode);const OutputNode=({data:e,isConnectable:t,targetPosition:n=Position.Top})=>jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(Handle$1,{type:"target",position:n,isConnectable:t}),e?.label]});OutputNode.displayName="OutputNode";var OutputNode$1=react.exports.memo(OutputNode);const GroupNode=()=>null,selector$d=(GroupNode.displayName="GroupNode",e=>({selectedNodes:e.getNodes().filter(e=>e.selected),selectedEdges:e.edges.filter(e=>e.selected)})),selectId=e=>e.id;function areEqual(e,t){return shallow(e.selectedNodes.map(selectId),t.selectedNodes.map(selectId))&&shallow(e.selectedEdges.map(selectId),t.selectedEdges.map(selectId))}const SelectionListener=react.exports.memo(({onSelectionChange:t})=>{const n=useStoreApi(),{selectedNodes:o,selectedEdges:a}=useStore(selector$d,areEqual);return react.exports.useEffect(()=>{var e={nodes:o,edges:a};t?.(e),n.getState().onSelectionChange?.(e)},[o,a,t]),null}),changeSelector=(SelectionListener.displayName="SelectionListener",e=>!!e.onSelectionChange);function Wrapper$1({onSelectionChange:e}){var t=useStore(changeSelector);return e||t?jsxRuntime.exports.jsx(SelectionListener,{onSelectionChange:e}):null}const selector$c=e=>({setNodes:e.setNodes,setEdges:e.setEdges,setDefaultNodesAndEdges:e.setDefaultNodesAndEdges,setMinZoom:e.setMinZoom,setMaxZoom:e.setMaxZoom,setTranslateExtent:e.setTranslateExtent,setNodeExtent:e.setNodeExtent,reset:e.reset});function useStoreUpdater(e,t){react.exports.useEffect(()=>{void 0!==e&&t(e)},[e])}function useDirectStoreUpdater(e,t,n){react.exports.useEffect(()=>{void 0!==t&&n({[e]:t})},[t])}const StoreUpdater=({nodes:e,edges:t,defaultNodes:n,defaultEdges:o,onConnect:a,onConnectStart:r,onConnectEnd:i,onClickConnectStart:d,onClickConnectEnd:s,nodesDraggable:c,nodesConnectable:u,nodesFocusable:l,edgesFocusable:p,elevateNodesOnSelect:f,minZoom:m,maxZoom:h,nodeExtent:g,onNodesChange:b,onEdgesChange:y,elementsSelectable:I,connectionMode:x,snapGrid:v,snapToGrid:S,translateExtent:w,connectOnClick:C,defaultEdgeOptions:F,fitView:E,fitViewOptions:$,onNodesDelete:T,onEdgesDelete:k,onNodeDrag:P,onNodeDragStart:_,onNodeDragStop:N,onSelectionDrag:O,onSelectionDragStart:j,onSelectionDragStop:M,noPanClassName:A,nodeOrigin:D,rfId:B})=>{const{setNodes:V,setEdges:L,setDefaultNodesAndEdges:H,setMinZoom:z,setMaxZoom:U,setTranslateExtent:G,setNodeExtent:K,reset:Y}=useStore(selector$c,shallow);var R=useStoreApi();return react.exports.useEffect(()=>{var e=o?.map(e=>({...e,...F}));return H(n,e),()=>{Y()}},[]),useDirectStoreUpdater("defaultEdgeOptions",F,R.setState),useDirectStoreUpdater("connectionMode",x,R.setState),useDirectStoreUpdater("onConnect",a,R.setState),useDirectStoreUpdater("onConnectStart",r,R.setState),useDirectStoreUpdater("onConnectEnd",i,R.setState),useDirectStoreUpdater("onClickConnectStart",d,R.setState),useDirectStoreUpdater("onClickConnectEnd",s,R.setState),useDirectStoreUpdater("nodesDraggable",c,R.setState),useDirectStoreUpdater("nodesConnectable",u,R.setState),useDirectStoreUpdater("nodesFocusable",l,R.setState),useDirectStoreUpdater("edgesFocusable",p,R.setState),useDirectStoreUpdater("elementsSelectable",I,R.setState),useDirectStoreUpdater("elevateNodesOnSelect",f,R.setState),useDirectStoreUpdater("snapToGrid",S,R.setState),useDirectStoreUpdater("snapGrid",v,R.setState),useDirectStoreUpdater("onNodesChange",b,R.setState),useDirectStoreUpdater("onEdgesChange",y,R.setState),useDirectStoreUpdater("connectOnClick",C,R.setState),useDirectStoreUpdater("fitViewOnInit",E,R.setState),useDirectStoreUpdater("fitViewOnInitOptions",$,R.setState),useDirectStoreUpdater("onNodesDelete",T,R.setState),useDirectStoreUpdater("onEdgesDelete",k,R.setState),useDirectStoreUpdater("onNodeDrag",P,R.setState),useDirectStoreUpdater("onNodeDragStart",_,R.setState),useDirectStoreUpdater("onNodeDragStop",N,R.setState),useDirectStoreUpdater("onSelectionDrag",O,R.setState),useDirectStoreUpdater("onSelectionDragStart",j,R.setState),useDirectStoreUpdater("onSelectionDragStop",M,R.setState),useDirectStoreUpdater("noPanClassName",A,R.setState),useDirectStoreUpdater("nodeOrigin",D,R.setState),useDirectStoreUpdater("rfId",B,R.setState),useStoreUpdater(e,V),useStoreUpdater(t,L),useStoreUpdater(m,z),useStoreUpdater(h,U),useStoreUpdater(w,G),useStoreUpdater(g,K),null},style={display:"none"},ariaLiveStyle={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},ARIA_NODE_DESC_KEY="react-flow__node-desc",ARIA_EDGE_DESC_KEY="react-flow__edge-desc",ARIA_LIVE_MESSAGE="react-flow__aria-live",selector$b=e=>e.ariaLiveMessage;function AriaLiveMessage({rfId:e}){var t=useStore(selector$b);return jsxRuntime.exports.jsx("div",{id:ARIA_LIVE_MESSAGE+"-"+e,"aria-live":"assertive","aria-atomic":"true",style:ariaLiveStyle,children:t})}function A11yDescriptions({rfId:e,disableKeyboardA11y:t}){return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsxs("div",{id:ARIA_NODE_DESC_KEY+"-"+e,style:style,children:["Press enter or space to select a node.",!t&&"You can then use the arrow keys to move the node around."," Press delete to remove it and escape to cancel."," "]}),jsxRuntime.exports.jsx("div",{id:ARIA_EDGE_DESC_KEY+"-"+e,style:style,children:"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel."}),!t&&jsxRuntime.exports.jsx(AriaLiveMessage,{rfId:e})]})}const shiftX=(e,t,n)=>n===Position.Left?e-t:n===Position.Right?e+t:e,shiftY=(e,t,n)=>n===Position.Top?e-t:n===Position.Bottom?e+t:e,EdgeUpdaterClassName="react-flow__edgeupdater",EdgeAnchor=({position:e,centerX:t,centerY:n,radius:o=10,onMouseDown:a,onMouseEnter:r,onMouseOut:i,type:d})=>jsxRuntime.exports.jsx("circle",{onMouseDown:a,onMouseEnter:r,onMouseOut:i,className:cc([EdgeUpdaterClassName,EdgeUpdaterClassName+"-"+d]),cx:shiftX(t,o,e),cy:shiftY(n,o,e),r:o,stroke:"transparent",fill:"transparent"});var wrapEdge=Q=>{var e=({id:i,className:e,type:t,data:M,onClick:a,onEdgeDoubleClick:n,selected:o,animated:r,label:A,labelStyle:D,labelShowBg:B,labelBgStyle:V,labelBgPadding:L,labelBgBorderRadius:H,style:z,source:d,target:s,sourceX:c,sourceY:u,targetX:l,targetY:p,sourcePosition:f,targetPosition:m,elementsSelectable:h,hidden:g,sourceHandleId:b,targetHandleId:y,onContextMenu:I,onMouseEnter:x,onMouseMove:v,onMouseLeave:S,edgeUpdaterRadius:w,onEdgeUpdate:C,onEdgeUpdateStart:U,onEdgeUpdateEnd:G,markerEnd:F,markerStart:E,rfId:$,ariaLabel:T,isFocusable:k,pathOptions:K,interactionWidth:Y})=>{const P=react.exports.useRef(null),[W,_]=react.exports.useState(!1),[X,N]=react.exports.useState(!1),O=useStoreApi();var Z=react.exports.useMemo(()=>`url(#${getMarkerId(E,$)})`,[E,$]),q=react.exports.useMemo(()=>`url(#${getMarkerId(F,$)})`,[F,$]);if(g)return null;g=getMouseHandler$1(i,O.getState,n),n=getMouseHandler$1(i,O.getState,I),I=getMouseHandler$1(i,O.getState,x),x=getMouseHandler$1(i,O.getState,v),v=getMouseHandler$1(i,O.getState,S);const j=(e,t)=>{var n=t?s:d,o=(t?y:b)||null;const a=t?"target":"source";const r=O.getState().edges.find(e=>e.id===i);N(!0),U?.(e,r,a);handleMouseDown({event:e,handleId:o,nodeId:n,onConnect:e=>C?.(r,e),isTarget:t,getState:O.getState,setState:O.setState,isValidConnection:()=>!0,elementEdgeUpdaterType:a,onEdgeUpdateEnd:e=>{N(!1),G?.(e,r,a)}})};var S=()=>_(!0),R=()=>_(!1),J=void 0!==C;return jsxRuntime.exports.jsxs("g",{className:cc(["react-flow__edge","react-flow__edge-"+t,e,{selected:o,animated:r,inactive:!h&&!a,updating:W}]),onClick:e=>{const{edges:t,addSelectedEdges:n}=O.getState();var o;h&&(O.setState({nodesSelectionActive:!1}),n([i])),a&&(o=t.find(e=>e.id===i),a(e,o))},onDoubleClick:g,onContextMenu:n,onMouseEnter:I,onMouseMove:x,onMouseLeave:v,onKeyDown:k?e=>{if(elementSelectionKeys.includes(e.key)&&h){const{unselectNodesAndEdges:t,addSelectedEdges:n,edges:o}=O.getState();"Escape"===e.key?(P.current?.blur(),t({edges:[o.find(e=>e.id===i)]})):n([i])}}:void 0,tabIndex:k?0:void 0,role:k?"button":void 0,"data-testid":"rf__edge-"+i,"aria-label":null===T?void 0:T||`Edge from ${d} to `+s,"aria-describedby":k?ARIA_EDGE_DESC_KEY+"-"+$:void 0,ref:P,children:[!X&&jsxRuntime.exports.jsx(Q,{id:i,source:d,target:s,selected:o,animated:r,label:A,labelStyle:D,labelShowBg:B,labelBgStyle:V,labelBgPadding:L,labelBgBorderRadius:H,data:M,style:z,sourceX:c,sourceY:u,targetX:l,targetY:p,sourcePosition:f,targetPosition:m,sourceHandleId:b,targetHandleId:y,markerStart:Z,markerEnd:q,pathOptions:K,interactionWidth:Y}),J&&jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(EdgeAnchor,{position:f,centerX:c,centerY:u,radius:w,onMouseDown:e=>j(e,!0),onMouseEnter:S,onMouseOut:R,type:"source"}),jsxRuntime.exports.jsx(EdgeAnchor,{position:m,centerX:l,centerY:p,radius:w,onMouseDown:e=>j(e,!1),onMouseEnter:S,onMouseOut:R,type:"target"})]})]})};return e.displayName="EdgeWrapper",react.exports.memo(e)};function createEdgeTypes(n){var e={default:wrapEdge(n.default||BezierEdge),straight:wrapEdge(n.bezier||StraightEdge),step:wrapEdge(n.step||StepEdge),smoothstep:wrapEdge(n.step||SmoothStepEdge),simplebezier:wrapEdge(n.simplebezier||SimpleBezierEdge)},t=Object.keys(n).filter(e=>!["default","bezier"].includes(e)).reduce((e,t)=>(e[t]=wrapEdge(n[t]||BezierEdge),e),{});return{...e,...t}}function getHandlePosition(e,t,n=null){var o=(n?.x||0)+t.x,a=(n?.y||0)+t.y,r=n?.width||t.width,i=n?.height||t.height;switch(e){case Position.Top:return{x:o+r/2,y:a};case Position.Right:return{x:o+r,y:a+i/2};case Position.Bottom:return{x:o+r/2,y:a+i};case Position.Left:return{x:o,y:a+i/2}}}function getHandle(e,t){if(!e)return null;let n=null;return 1!==e.length&&t?t&&(n=e.find(e=>e.id===t)):n=e[0],void 0===n?null:n}const getEdgePositions=(e,t,n,o,a,r)=>{n=getHandlePosition(n,e,t),e=getHandlePosition(r,o,a);return{sourceX:n.x,sourceY:n.y,targetX:e.x,targetY:e.y}};function isEdgeVisible({sourcePos:e,targetPos:t,sourceWidth:n,sourceHeight:o,targetWidth:a,targetHeight:r,width:i,height:d,transform:s}){const c={x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),x2:Math.max(e.x+n,t.x+a),y2:Math.max(e.y+o,t.y+r)};c.x===c.x2&&(c.x2+=1),c.y===c.y2&&(c.y2+=1);n=rectToBox({x:(0-s[0])/s[2],y:(0-s[1])/s[2],width:i/s[2],height:d/s[2]}),a=Math.max(0,Math.min(n.x2,c.x2)-Math.max(n.x,c.x)),e=Math.max(0,Math.min(n.y2,c.y2)-Math.max(n.y,c.y));return 0<Math.ceil(a*e)}function getNodeData(e){var t=e?.[internalsSymbol]?.handleBounds||null,n=!(e&&t&&e.width&&e.height&&void 0!==e.positionAbsolute?.x&&void 0!==e.positionAbsolute?.y);return[{x:e?.positionAbsolute?.x||0,y:e?.positionAbsolute?.y||0,width:e?.width||0,height:e?.height||0},t,!n]}function isParentSelected(e,t){if(!e.parentNode)return!1;e=t.get(e.parentNode);return!!e&&(!!e.selected||isParentSelected(e,t))}function hasSelector(e,t,n){let o=e;do{if(o?.matches(t))return!0;if(o===n.current)return!1}while(o=o.parentElement);return!1}function getDragItems(t,n,o){return Array.from(t.values()).filter(e=>(e.selected||e.id===o)&&(!e.parentNode||!isParentSelected(e,t))).map(e=>({id:e.id,position:e.position||{x:0,y:0},positionAbsolute:e.positionAbsolute||{x:0,y:0},distance:{x:n.x-(e.positionAbsolute?.x??0),y:n.y-(e.positionAbsolute?.y??0)},delta:{x:0,y:0},extent:e.extent,parentNode:e.parentNode,width:e.width,height:e.height}))}function calcNextPosition(e,t,n,o,a=[0,0]){let r=e.extent||o;var i,d;"parent"===e.extent?r=e.parentNode&&e.width&&e.height?(d=n.get(e.parentNode),{x:c,y:i}=getNodePositionWithOrigin(d,a).positionAbsolute,d&&isNumeric(c)&&isNumeric(i)&&isNumeric(d.width)&&isNumeric(d.height)?[[c+e.width*a[0],i+e.height*a[1]],[c+d.width-e.width+e.width*a[0],i+d.height-e.height+e.height*a[1]]]:r):o:e.extent&&e.parentNode&&(c=n.get(e.parentNode),{x:i,y:d}=getNodePositionWithOrigin(c,a).positionAbsolute,r=[[e.extent[0][0]+i,e.extent[0][1]+d],[e.extent[1][0]+i,e.extent[1][1]+d]]);let s={x:0,y:0};e.parentNode&&(o=n.get(e.parentNode),s=getNodePositionWithOrigin(o,a).positionAbsolute);var c=r?clampPosition(t,r):t;return{position:{x:c.x-s.x,y:c.y-s.y},positionAbsolute:c}}function getEventHandlerParams({nodeId:t,dragItems:e,nodeInternals:n}){const o=e.map(e=>{return{...n.get(e.id),position:e.position,positionAbsolute:e.positionAbsolute}});return[t?o.find(e=>e.id===t):o[0],o]}const getHandleBounds=(e,t,n,o)=>{e=t.querySelectorAll(e);if(!e||!e.length)return null;const a=Array.from(e),r=t.getBoundingClientRect(),i={x:r.width*o[0],y:r.height*o[1]};return a.map(e=>{var t=e.getBoundingClientRect();return{id:e.getAttribute("data-handleid"),position:e.getAttribute("data-handlepos"),x:(t.left-r.left-i.x)/n,y:(t.top-r.top-i.y)/n,...getDimensions(e)}})};function getMouseHandler(n,o,a){return void 0===a?a:e=>{var t=o().nodeInternals.get(n);a(e,{...t})}}function handleNodeClick({id:e,store:t,unselect:n=!1}){const{addSelectedNodes:o,unselectNodesAndEdges:a,multiSelectionActive:r,nodeInternals:i}=t.getState();var d=i.get(e);t.setState({nodesSelectionActive:!1}),d.selected?(n||d.selected&&r)&&a({nodes:[d]}):o([e])}function useGetPointerPosition(){const r=useStoreApi();return react.exports.useCallback(({sourceEvent:e})=>{var{transform:t,snapGrid:n,snapToGrid:o}=r.getState(),a=(e.touches?e.touches[0]:e).clientX,e=(e.touches?e.touches[0]:e).clientY,a={x:(a-t[0])/t[2],y:(e-t[1])/t[2]};return{xSnapped:o?n[0]*Math.round(a.x/n[0]):a.x,ySnapped:o?n[1]*Math.round(a.y/n[1]):a.y,...a}},[])}function wrapSelectionDragFunc(o){return(e,t,n)=>o?.(e,n)}function useDrag({nodeRef:n,disabled:o=!1,noDragClassName:a,handleSelector:r,nodeId:m,isSelectable:c,selectNodesOnDrag:u}){const[e,h]=react.exports.useState(!1),g=useStoreApi(),b=react.exports.useRef(),y=react.exports.useRef({x:null,y:null}),I=useGetPointerPosition();return react.exports.useEffect(()=>{if(n?.current){const t=select(n.current);var e;if(!o)return e=drag().on("start",e=>{const{nodeInternals:t,multiSelectionActive:n,unselectNodesAndEdges:o,onNodeDragStart:a,onSelectionDragStart:r}=g.getState(),i=m?a:wrapSelectionDragFunc(r);u||n||!m||t.get(m)?.selected||o(),m&&c&&u&&handleNodeClick({id:m,store:g});var d,s=I(e);y.current=s,b.current=getDragItems(t,s,m),i&&b.current&&([s,d]=getEventHandlerParams({nodeId:m,dragItems:b.current,nodeInternals:t}),i(e.sourceEvent,s,d))}).on("drag",e=>{const{updateNodePositions:t,nodeInternals:a,nodeExtent:r,onNodeDrag:n,onSelectionDrag:i,snapGrid:d,snapToGrid:s,nodeOrigin:c}=g.getState(),u=I(e);if((y.current.x!==u.xSnapped||y.current.y!==u.ySnapped)&&b.current){let o=!(y.current={x:u.xSnapped,y:u.ySnapped});if(b.current=b.current.map(e=>{const t={x:u.x-e.distance.x,y:u.y-e.distance.y};s&&(t.x=d[0]*Math.round(t.x/d[0]),t.y=d[1]*Math.round(t.y/d[1]));var n=calcNextPosition(e,t,a,r,c);return o=o||e.position.x!==n.position.x||e.position.y!==n.position.y,e.position=n.position,e.positionAbsolute=n.positionAbsolute,e}),o){const f=m?n:wrapSelectionDragFunc(i);var l,p;t(b.current,!0,!0),h(!0),f&&([l,p]=getEventHandlerParams({nodeId:m,dragItems:b.current,nodeInternals:a}),f(e.sourceEvent,l,p))}}}).on("end",e=>{if(h(!1),b.current){const{updateNodePositions:o,nodeInternals:a,onNodeDragStop:r,onSelectionDragStop:i}=g.getState(),d=m?r:wrapSelectionDragFunc(i);var t,n;o(b.current,!1,!1),d&&([t,n]=getEventHandlerParams({nodeId:m,dragItems:b.current,nodeInternals:a}),d(e.sourceEvent,t,n))}}).filter(e=>{var t=e.target;return!e.button&&(!a||!hasSelector(t,"."+a,n))&&(!r||hasSelector(t,r,n))}),t.call(e),()=>{t.on(".drag",null)};t.on(".drag",null)}},[n,o,a,r,c,g,m,u,I]),e}function useUpdateNodePositions(){const f=useStoreApi();return react.exports.useCallback(e=>{const{nodeInternals:o,nodeExtent:a,updateNodePositions:t,getNodes:n,snapToGrid:r,snapGrid:i}=f.getState(),d=n().filter(e=>e.selected);var s=r?i[0]:5,c=r?i[1]:5,u=e.isShiftPressed?4:1;const l=e.x*s*u,p=e.y*c*u;s=d.map(e=>{if(e.positionAbsolute){const n={x:e.positionAbsolute.x+l,y:e.positionAbsolute.y+p};r&&(n.x=i[0]*Math.round(n.x/i[0]),n.y=i[1]*Math.round(n.y/i[1]));var t=calcNextPosition(e,n,o,a);e.position=t.position,e.positionAbsolute=t.positionAbsolute}return e});t(s,!0,!1)},[])}const arrowKeyDiffs={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}};var wrapNode=L=>{var e=({id:o,type:a,data:e,xPos:n,yPos:r,xPosOrigin:t,yPosOrigin:i,selected:d,onClick:s,onMouseEnter:c,onMouseMove:u,onMouseLeave:l,onContextMenu:p,onDoubleClick:f,style:m,className:h,isDraggable:g,isSelectable:b,isConnectable:y,isFocusable:I,selectNodesOnDrag:x,sourcePosition:v,targetPosition:S,hidden:w,resizeObserver:C,dragHandle:F,zIndex:E,isParent:$,noDragClassName:T,noPanClassName:k,initialized:M,disableKeyboardA11y:P,ariaLabel:A,rfId:D})=>{const _=useStoreApi(),N=react.exports.useRef(null),O=react.exports.useRef(v),j=react.exports.useRef(S),R=react.exports.useRef(a);var B=b||g||s||c||u||l;const V=useUpdateNodePositions();c=getMouseHandler(o,_.getState,c),u=getMouseHandler(o,_.getState,u),l=getMouseHandler(o,_.getState,l),p=getMouseHandler(o,_.getState,p),f=getMouseHandler(o,_.getState,f),react.exports.useEffect(()=>{if(N.current&&!w){const e=N.current;return C?.observe(e),()=>C?.unobserve(e)}},[w]),react.exports.useEffect(()=>{var e=R.current!==a,t=O.current!==v,n=j.current!==S;N.current&&(e||t||n)&&(e&&(R.current=a),t&&(O.current=v),n&&(j.current=S),_.getState().updateNodeDimensions([{id:o,nodeElement:N.current,forceUpdate:!0}]))},[o,a,v,S]),T=useDrag({nodeRef:N,disabled:w||!g,noDragClassName:T,handleSelector:F,nodeId:o,isSelectable:b,selectNodesOnDrag:x});return w?null:jsxRuntime.exports.jsx("div",{className:cc(["react-flow__node","react-flow__node-"+a,{[k]:g},h,{selected:d,selectable:b,parent:$,dragging:T}]),ref:N,style:{zIndex:E,transform:`translate(${t}px,${i}px)`,pointerEvents:B?"all":"none",visibility:M?"visible":"hidden",...m},"data-id":o,"data-testid":"rf__node-"+o,onMouseEnter:c,onMouseMove:u,onMouseLeave:l,onContextMenu:p,onClick:e=>{var t;!b||x&&g||handleNodeClick({id:o,store:_}),s&&(t=_.getState().nodeInternals.get(o),s(e,{...t}))},onDoubleClick:f,onKeyDown:I?e=>{var t;isInputDOMNode(e)||(elementSelectionKeys.includes(e.key)&&b?((t="Escape"===e.key)&&N.current?.blur(),handleNodeClick({id:o,store:_,unselect:t})):!P&&g&&d&&Object.prototype.hasOwnProperty.call(arrowKeyDiffs,e.key)&&(_.setState({ariaLiveMessage:`Moved selected node ${e.key.replace("Arrow","").toLowerCase()}. New position, x: ${~~n}, y: `+~~r}),V({x:arrowKeyDiffs[e.key].x,y:arrowKeyDiffs[e.key].y,isShiftPressed:e.shiftKey})))}:void 0,tabIndex:I?0:void 0,role:I?"button":void 0,"aria-describedby":P?void 0:ARIA_NODE_DESC_KEY+"-"+D,"aria-label":A,children:jsxRuntime.exports.jsx(Provider,{value:o,children:jsxRuntime.exports.jsx(L,{id:o,data:e,type:a,xPos:n,yPos:r,selected:d,isConnectable:y,sourcePosition:v,targetPosition:S,dragging:T,dragHandle:F,zIndex:E})})})};return e.displayName="NodeWrapper",react.exports.memo(e)};function createNodeTypes(n){var e={input:wrapNode(n.input||InputNode$1),default:wrapNode(n.default||DefaultNode$1),output:wrapNode(n.output||OutputNode$1),group:wrapNode(n.group||GroupNode)},t=Object.keys(n).filter(e=>!["input","default","output","group"].includes(e)).reduce((e,t)=>(e[t]=wrapNode(n[t]||DefaultNode$1),e),{});return{...e,...t}}const getPositionWithOrigin=({x:e,y:t,width:n,height:o,origin:a})=>!n||!o||(a[0]<0||a[1]<0||1<a[0]||1<a[1])?{x:e,y:t}:{x:e-n*a[0],y:t-o*a[1]},doc="undefined"!=typeof document?document:null;var useKeyPress=(o=null,a={target:doc})=>{const[e,r]=react.exports.useState(!1),i=react.exports.useRef(new Set([])),[d,s]=react.exports.useMemo(()=>{if(null===o)return[[],[]];{const t=Array.isArray(o)?o:[o],n=t.filter(e=>"string"==typeof e).map(e=>e.split("+"));var e=n.reduce((e,t)=>e.concat(...t),[]);return[n,e]}},[o]);return react.exports.useEffect(()=>{if(null!==o){const e=e=>{if(isInputDOMNode(e))return!1;var t=useKeyOrCode(e.code,s);i.current.add(e[t]),isMatchingKey(d,i.current,!1)&&(e.preventDefault(),r(!0))},t=e=>{if(isInputDOMNode(e))return!1;var t=useKeyOrCode(e.code,s);isMatchingKey(d,i.current,!0)?(r(!1),i.current.clear()):i.current.delete(e[t])},n=()=>{i.current.clear(),r(!1)};return a?.target?.addEventListener("keydown",e),a?.target?.addEventListener("keyup",t),window.addEventListener("blur",n),()=>{a?.target?.removeEventListener("keydown",e),a?.target?.removeEventListener("keyup",t),window.removeEventListener("blur",n)}}},[o,r]),e};function isMatchingKey(e,t,n){return e.filter(e=>n||e.length===t.size).some(e=>e.every(e=>t.has(e)))}function useKeyOrCode(e,t){return t.includes(e)?"code":"key"}function calculateXYZPosition(e,t,n,o,a){if(!e.parentNode)return o;var e=t.get(e.parentNode),r=getNodePositionWithOrigin(e,a);return calculateXYZPosition(e,t,n,{x:(o.x??0)+r.x,y:(o.y??0)+r.y,z:(e[internalsSymbol]?.z??0)>(o.z??0)?e[internalsSymbol]?.z??0:o.z??0},a)}function createNodeInternals(e,a,r,t){const i=new Map,d={},s=t?1e3:0;return e.forEach(e=>{var t=(isNumeric(e.zIndex)?e.zIndex:0)+(e.selected?s:0),n=a.get(e.id);const o={width:n?.width,height:n?.height,...e,positionAbsolute:{x:e.position.x,y:e.position.y}};e.parentNode&&(o.parentNode=e.parentNode,d[e.parentNode]=!0),Object.defineProperty(o,internalsSymbol,{enumerable:!1,value:{handleBounds:n?.[internalsSymbol]?.handleBounds,z:t}}),i.set(e.id,o)}),i.forEach(e=>{if(e.parentNode&&!i.has(e.parentNode))throw new Error(`Parent node ${e.parentNode} not found`);var t,n,o;(e.parentNode||d[e.id])&&({x:t,y:n,z:o}=calculateXYZPosition(e,i,d,{...e.position,z:e[internalsSymbol]?.z??0},r),e.positionAbsolute={x:t,y:n},e[internalsSymbol].z=o,d[e.id]&&(e[internalsSymbol].isParent=!0))}),i}function fitView(e,t={}){const{getNodes:n,width:o,height:a,minZoom:r,maxZoom:i,d3Zoom:d,d3Selection:s,fitViewOnInitDone:c,fitViewOnInit:u,nodeOrigin:l}=e();if((t.initial&&!c&&u||!t.initial)&&d&&s){const m=n().filter(e=>t.includeHiddenNodes?e.width&&e.height:!e.hidden);var p,f,e=m.every(e=>e.width&&e.height);if(0<m.length&&e)return e=getRectOfNodes(m,l),[e,p,f]=getTransformForBounds(e,o,a,t.minZoom??r,t.maxZoom??i,t.padding??.1),e=identity.translate(e,p).scale(f),"number"==typeof t.duration&&0<t.duration?d.transform(getD3Transition(s,t.duration),e):d.transform(s,e),!0}return!1}function handleControlledNodeSelectionChange(e,n){return e.forEach(e=>{var t=n.get(e.id);t&&n.set(t.id,{...t,[internalsSymbol]:t[internalsSymbol],selected:e.selected})}),new Map(n)}function handleControlledEdgeSelectionChange(n,e){return e.map(t=>{var e=n.find(e=>e.id===t.id);return e&&(t.selected=e.selected),t})}function updateNodesAndEdgesSelections({changedNodes:e,changedEdges:t,get:n,set:o}){const{nodeInternals:a,edges:r,onNodesChange:i,onEdgesChange:d,hasDefaultNodes:s,hasDefaultEdges:c}=n();e?.length&&(s&&o({nodeInternals:handleControlledNodeSelectionChange(e,a)}),i?.(e)),t?.length&&(c&&o({edges:handleControlledEdgeSelectionChange(t,r)}),d?.(t))}const noop=()=>{},initialViewportHelper={zoomIn:noop,zoomOut:noop,zoomTo:noop,getZoom:()=>1,setViewport:noop,getViewport:()=>({x:0,y:0,zoom:1}),fitView:noop,setCenter:noop,fitBounds:noop,project:e=>e,viewportInitialized:!1},selector$a=e=>({d3Zoom:e.d3Zoom,d3Selection:e.d3Selection}),useViewportHelper=()=>{const i=useStoreApi(),{d3Zoom:d,d3Selection:s}=useStore(selector$a,shallow);return react.exports.useMemo(()=>s&&d?{zoomIn:e=>d.scaleBy(getD3Transition(s,e?.duration),1.2),zoomOut:e=>d.scaleBy(getD3Transition(s,e?.duration),1/1.2),zoomTo:(e,t)=>d.scaleTo(getD3Transition(s,t?.duration),e),getZoom:()=>i.getState().transform[2],setViewport:(e,t)=>{var[n,o,a]=i.getState().transform,n=identity.translate(e.x??n,e.y??o).scale(e.zoom??a);d.transform(getD3Transition(s,t?.duration),n)},getViewport:()=>{var[e,t,n]=i.getState().transform;return{x:e,y:t,zoom:n}},fitView:e=>fitView(i.getState,e),setCenter:(e,t,n)=>{var{width:o,height:a,maxZoom:r}=i.getState(),r=void 0!==n?.zoom?n.zoom:r,o=identity.translate(o/2-e*r,a/2-t*r).scale(r);d.transform(getD3Transition(s,n?.duration),o)},fitBounds:(e,t)=>{var{width:n,height:o,minZoom:a,maxZoom:r}=i.getState(),[e,n,o]=getTransformForBounds(e,n,o,a,r,t?.padding??.1),a=identity.translate(e,n).scale(o);d.transform(getD3Transition(s,t?.duration),a)},project:e=>{var{transform:t,snapToGrid:n,snapGrid:o}=i.getState();return pointToRendererPoint(e,t,n,o)},viewportInitialized:!0}:initialViewportHelper,[d,s])};function useReactFlow(){const e=useViewportHelper(),b=useStoreApi(),t=react.exports.useCallback(()=>b.getState().getNodes().map(e=>({...e})),[]),n=react.exports.useCallback(e=>b.getState().nodeInternals.get(e),[]),o=react.exports.useCallback(()=>{const{edges:e=[]}=b.getState();return e.map(e=>({...e}))},[]),a=react.exports.useCallback(t=>{const{edges:e=[]}=b.getState();return e.find(e=>e.id===t)},[]),r=react.exports.useCallback(e=>{const{getNodes:t,setNodes:n,hasDefaultNodes:o,onNodesChange:a}=b.getState(),r=t(),i="function"==typeof e?e(r):e;o?n(i):a&&(e=0===i.length?r.map(e=>({type:"remove",id:e.id})):i.map(e=>({item:e,type:"reset"})),a(e))},[]),i=react.exports.useCallback(e=>{const{edges:t=[],setEdges:n,hasDefaultEdges:o,onEdgesChange:a}=b.getState(),r="function"==typeof e?e(t):e;o?n(r):a&&(e=0===r.length?t.map(e=>({type:"remove",id:e.id})):r.map(e=>({item:e,type:"reset"})),a(e))},[]),d=react.exports.useCallback(e=>{const t=Array.isArray(e)?e:[e],{getNodes:n,setNodes:o,hasDefaultNodes:a,onNodesChange:r}=b.getState();a?(e=[...n(),...t],o(e)):r&&(e=t.map(e=>({item:e,type:"add"})),r(e))},[]),s=react.exports.useCallback(e=>{const t=Array.isArray(e)?e:[e],{edges:n=[],setEdges:o,hasDefaultEdges:a,onEdgesChange:r}=b.getState();a?o([...n,...t]):r&&(e=t.map(e=>({item:e,type:"add"})),r(e))},[]),c=react.exports.useCallback(()=>{const{getNodes:e,edges:t=[],transform:n}=b.getState();var[o,a,r]=n;return{nodes:e().map(e=>({...e})),edges:t.map(e=>({...e})),viewport:{x:o,y:a,zoom:r}}},[]),u=react.exports.useCallback(({nodes:e,edges:t})=>{const{nodeInternals:n,getNodes:o,edges:a,hasDefaultNodes:r,hasDefaultEdges:i,onNodesDelete:d,onEdgesDelete:s,onNodesChange:c,onEdgesChange:u}=b.getState(),l=(e||[]).map(e=>e.id),p=(t||[]).map(e=>e.id),f=o().reduce((e,t)=>{var n=!l.includes(t.id)&&t.parentNode&&e.find(e=>e.id===t.parentNode);return("boolean"!=typeof t.deletable||t.deletable)&&(l.includes(t.id)||n)&&e.push(t),e},[]),m=a.filter(e=>"boolean"!=typeof e.deletable||e.deletable);e=m.filter(e=>p.includes(e.id));if(f||e){t=getConnectedEdges(f,m);const h=[...e,...t],g=h.reduce((e,t)=>(e.includes(t.id)||e.push(t.id),e),[]);(i||r)&&(i&&b.setState({edges:a.filter(e=>!g.includes(e.id))}),r&&(f.forEach(e=>{n.delete(e.id)}),b.setState({nodeInternals:new Map(n)}))),0<g.length&&(s?.(h),u&&u(g.map(e=>({id:e,type:"remove"})))),0<f.length&&(d?.(f),c&&(e=f.map(e=>({id:e.id,type:"remove"})),c(e)))}},[]),l=react.exports.useCallback(e=>{var t=isRectObject(e),n=t?null:b.getState().nodeInternals.get(e.id);return[t?e:nodeToRect(n),n,t]},[]),p=react.exports.useCallback((t,n=!0,e)=>{const[o,a,r]=l(t);return o?(e||b.getState().getNodes()).filter(e=>{if(!(r||e.id!==a.id&&e.positionAbsolute))return!1;e=nodeToRect(e),e=getOverlappingArea(e,o);return n&&0<e||e>=t.width*t.height}):[]},[]),f=react.exports.useCallback((e,t,n=!0)=>{var[o]=l(e);if(!o)return!1;o=getOverlappingArea(o,t);return n&&0<o||o>=e.width*e.height},[]);return react.exports.useMemo(()=>({...e,getNodes:t,getNode:n,getEdges:o,getEdge:a,setNodes:r,setEdges:i,addNodes:d,addEdges:s,toObject:c,deleteElements:u,getIntersectingNodes:p,isNodeIntersecting:f}),[e,t,n,o,a,r,i,d,s,c,u,p,f])}var useGlobalKeyHandler=({deleteKeyCode:e,multiSelectionKeyCode:t})=>{const a=useStoreApi(),r=useReactFlow()["deleteElements"],i=useKeyPress(e),n=useKeyPress(t);react.exports.useEffect(()=>{if(i){const{edges:n,getNodes:o}=a.getState();var e=o().filter(e=>e.selected),t=n.filter(e=>e.selected);r({nodes:e,edges:t}),a.setState({nodesSelectionActive:!1})}},[i]),react.exports.useEffect(()=>{a.setState({multiSelectionActive:n})},[n])};function useResizeHandler(n){const o=useStoreApi();react.exports.useEffect(()=>{let e;const t=()=>{var e;n.current&&(0!==(e=getDimensions(n.current)).height&&e.width,o.setState({width:e.width||500,height:e.height||500}))};return t(),window.addEventListener("resize",t),n.current&&(e=new ResizeObserver(()=>t())).observe(n.current),()=>{window.removeEventListener("resize",t),e&&n.current&&e.unobserve(n.current)}},[])}const containerStyle={position:"absolute",width:"100%",height:"100%",top:0,left:0},viewChanged=(e,t)=>e.x!==t.x||e.y!==t.y||e.zoom!==t.k,eventToFlowTransform=e=>({x:e.x,y:e.y,zoom:e.k}),isWrappedWithClass=(e,t)=>e.target.closest("."+t),isRightClickPan=(e,t)=>2===t&&Array.isArray(e)&&e.includes(2),selector$9=e=>({d3Zoom:e.d3Zoom,d3Selection:e.d3Selection,d3ZoomHandler:e.d3ZoomHandler,userSelectionActive:e.userSelectionActive}),ZoomPane=({onMove:o,onMoveStart:a,onMoveEnd:r,onPaneContextMenu:i,zoomOnScroll:d=!0,zoomOnPinch:s=!0,panOnScroll:c=!1,panOnScrollSpeed:u=.5,panOnScrollMode:l=PanOnScrollMode.Free,zoomOnDoubleClick:p=!0,elementsSelectable:e,panOnDrag:f=!0,defaultViewport:m,translateExtent:h,minZoom:g,maxZoom:b,zoomActivationKeyCode:t,preventScrolling:n=!0,children:y,noWheelClassName:I,noPanClassName:x})=>{const v=react.exports.useRef(),S=useStoreApi(),w=react.exports.useRef(!1),C=react.exports.useRef(!1),F=react.exports.useRef(null),E=react.exports.useRef({x:0,y:0,zoom:0}),{d3Zoom:$,d3Selection:T,d3ZoomHandler:k,userSelectionActive:P}=useStore(selector$9,shallow),_=useKeyPress(t);return useResizeHandler(F),react.exports.useEffect(()=>{if(F.current){var e=F.current.getBoundingClientRect();const n=zoom().scaleExtent([g,b]).translateExtent(h),o=select(F.current).call(n);var t=identity.translate(m.x,m.y).scale(clamp(m.zoom,g,b)),e=[[0,0],[e.width,e.height]],t=n.constrain()(t,e,h);n.transform(o,t),S.setState({d3Zoom:n,d3Selection:o,d3ZoomHandler:o.on("wheel.zoom"),transform:[t.x,t.y,t.k],domNode:F.current.closest(".react-flow")})}},[]),react.exports.useEffect(()=>{T&&$&&(!c||_||P?void 0!==k&&T.on("wheel.zoom",function(e,t){if(!n||isWrappedWithClass(e,I))return null;e.preventDefault(),k.call(this,e,t)}):T.on("wheel.zoom",e=>{if(isWrappedWithClass(e,I))return!1;e.preventDefault(),e.stopImmediatePropagation();var t=T.property("__zoom").k||1;if(e.ctrlKey&&s)return o=pointer(e),n=-e.deltaY*(1===e.deltaMode?.05:e.deltaMode?1:.002)*10,n=t*Math.pow(2,n),void $.scaleTo(T,n,o);var n=1===e.deltaMode?20:1,o=l===PanOnScrollMode.Vertical?0:e.deltaX*n,e=l===PanOnScrollMode.Horizontal?0:e.deltaY*n;$.translateBy(T,-o/t*u,-e/t*u)}))},[P,c,l,T,$,k,_,s,n,I]),react.exports.useEffect(()=>{$&&(P&&!w.current?$.on("zoom",null):P||$.on("zoom",e=>{const t=S.getState()["onViewportChange"];var n;S.setState({transform:[e.transform.x,e.transform.y,e.transform.k]}),C.current=!(!i||!isRightClickPan(f,e.sourceEvent?.button)),(o||t)&&(n=eventToFlowTransform(e.transform),t?.(n),o?.(e.sourceEvent,n))}))},[P,$,o,f,i]),react.exports.useEffect(()=>{$&&$.on("start",e=>{if(!e.sourceEvent)return null;const t=S.getState()["onViewportChangeStart"];var n;w.current=!0,"mousedown"===e.sourceEvent?.type&&S.setState({paneDragging:!0}),(a||t)&&(n=eventToFlowTransform(e.transform),E.current=n,t?.(n),a?.(e.sourceEvent,n))})},[$,a]),react.exports.useEffect(()=>{$&&$.on("end",e=>{if(!e.sourceEvent)return null;const t=S.getState()["onViewportChangeEnd"];if(w.current=!1,S.setState({paneDragging:!1}),i&&isRightClickPan(f,e.sourceEvent?.button)&&!C.current&&i(e.sourceEvent),C.current=!1,(r||t)&&viewChanged(E.current,e.transform)){const n=eventToFlowTransform(e.transform);E.current=n,clearTimeout(v.current),v.current=setTimeout(()=>{t?.(n),r?.(e.sourceEvent,n)},c?150:0)}})},[$,c,f,r,i]),react.exports.useEffect(()=>{$&&$.filter(e=>{var t=_||d,n=s&&e.ctrlKey;if(1===e.button&&"mousedown"===e.type&&(isWrappedWithClass(e,"react-flow__node")||isWrappedWithClass(e,"react-flow__edge")))return!0;if(!(f||t||c||p||s))return!1;if(P)return!1;if(!p&&"dblclick"===e.type)return!1;if(isWrappedWithClass(e,I)&&"wheel"===e.type)return!1;if(isWrappedWithClass(e,x)&&"wheel"!==e.type)return!1;if(!s&&e.ctrlKey&&"wheel"===e.type)return!1;if(!t&&!c&&!n&&"wheel"===e.type)return!1;if(!f&&("mousedown"===e.type||"touchstart"===e.type))return!1;if(Array.isArray(f)&&!f.includes(e.button)&&("mousedown"===e.type||"touchstart"===e.type))return!1;t=Array.isArray(f)&&f.includes(e.button)||!e.button||e.button<=1;return(!e.ctrlKey||"wheel"===e.type)&&t})},[P,$,d,s,c,p,f,e,_]),jsxRuntime.exports.jsx("div",{className:"react-flow__renderer",ref:F,style:containerStyle,children:y})},selector$8=e=>({userSelectionActive:e.userSelectionActive,userSelectionRect:e.userSelectionRect});function UserSelection(){var{userSelectionActive:e,userSelectionRect:t}=useStore(selector$8,shallow);return e&&t?jsxRuntime.exports.jsx("div",{className:"react-flow__selection react-flow__container",style:{width:t.width,height:t.height,transform:`translate(${t.x}px, ${t.y}px)`}}):null}function handleParentExpand(e,t){const n=e.find(e=>e.id===t.parentNode);var o;n&&(e=t.position.x+t.width-n.width,o=t.position.y+t.height-n.height,(0<e||0<o||t.position.x<0||t.position.y<0)&&(n.style={...n.style},n.style.width=n.style.width??n.width,n.style.height=n.style.height??n.height,0<e&&(n.style.width+=e),0<o&&(n.style.height+=o),t.position.x<0&&(e=Math.abs(t.position.x),n.position.x=n.position.x-e,n.style.width+=e,t.position.x=0),t.position.y<0&&(o=Math.abs(t.position.y),n.position.y=n.position.y-o,n.style.height+=o,t.position.y=0),n.width=n.style.width,n.height=n.style.height))}function applyChanges(r,e){if(r.some(e=>"reset"===e.type))return r.filter(e=>"reset"===e.type).map(e=>e.item);var t=r.filter(e=>"add"===e.type).map(e=>e.item);return e.reduce((e,t)=>{var n=r.filter(e=>e.id===t.id);if(0===n.length)return e.push(t),e;const o={...t};for(const a of n)if(a)switch(a.type){case"select":o.selected=a.selected;break;case"position":void 0!==a.position&&(o.position=a.position),void 0!==a.positionAbsolute&&(o.positionAbsolute=a.positionAbsolute),void 0!==a.dragging&&(o.dragging=a.dragging),o.expandParent&&handleParentExpand(e,o);break;case"dimensions":void 0!==a.dimensions&&(o.width=a.dimensions.width,o.height=a.dimensions.height),void 0!==a.updateStyle&&(o.style={...o.style||{},...a.dimensions}),"boolean"==typeof a.resizing&&(o.resizing=a.resizing),o.expandParent&&handleParentExpand(e,o);break;case"remove":return e}return e.push(o),e},t)}function applyNodeChanges(e,t){return applyChanges(e,t)}function applyEdgeChanges(e,t){return applyChanges(e,t)}const createSelectionChange=(e,t)=>({id:e,type:"select",selected:t});function getSelectionChanges(e,o){return e.reduce((e,t)=>{var n=o.includes(t.id);return!t.selected&&n?(t.selected=!0,e.push(createSelectionChange(t.id,!0))):t.selected&&!n&&(t.selected=!1,e.push(createSelectionChange(t.id,!1))),e},[])}function getMousePosition(e,t){return{x:e.clientX-t.left,y:e.clientY-t.top}}const wrapHandler=(t,n)=>e=>{e.target===n.current&&t?.(e)},selector$7=e=>({userSelectionActive:e.userSelectionActive,elementsSelectable:e.elementsSelectable,dragging:e.paneDragging}),Pane=react.exports.memo(({isSelecting:f,selectionMode:m=SelectionMode.Full,panOnDrag:t,onSelectionStart:r,onSelectionEnd:n,onPaneClick:o,onPaneContextMenu:a,onPaneScroll:i,onPaneMouseEnter:e,onPaneMouseMove:d,onPaneMouseLeave:s,children:c})=>{const u=react.exports.useRef(null),h=useStoreApi(),g=react.exports.useRef(0),b=react.exports.useRef(0),y=react.exports.useRef(),{userSelectionActive:l,elementsSelectable:p,dragging:I}=useStore(selector$7,shallow),x=()=>{h.setState({userSelectionActive:!1,userSelectionRect:null}),g.current=0,b.current=0},v=e=>{o?.(e),h.getState().resetSelectedElements(),h.setState({nodesSelectionActive:!1})};var S=i?e=>i(e):void 0,w=p&&(f||l);return jsxRuntime.exports.jsxs("div",{className:cc(["react-flow__pane",{dragging:I,selection:f}]),onClick:w?void 0:wrapHandler(v,u),onContextMenu:wrapHandler(e=>{Array.isArray(t)&&t?.includes(2)?e.preventDefault():a?.(e)},u),onWheel:wrapHandler(S,u),onMouseEnter:w?void 0:e,onMouseDown:w?e=>{const{resetSelectedElements:t,domNode:n}=h.getState();var o,a;y.current=n?.getBoundingClientRect(),p&&f&&0===e.button&&e.target===u.current&&y.current&&({x:o,y:a}=getMousePosition(e,y.current),t(),h.setState({userSelectionRect:{width:0,height:0,startX:o,startY:a,x:o,y:a}}),r?.(e))}:void 0,onMouseMove:w?e=>{const{userSelectionRect:t,nodeInternals:n,edges:o,transform:a,onNodesChange:r,onEdgesChange:i,nodeOrigin:d,getNodes:s}=h.getState();if(f&&y.current&&t){h.setState({userSelectionActive:!0,nodesSelectionActive:!1});var e=getMousePosition(e,y.current),c=t.startX??0,u=t.startY??0,c={...t,x:e.x<c?e.x:c,y:e.y<u?e.y:u,width:Math.abs(e.x-c),height:Math.abs(e.y-u)},e=s();const p=getNodesInside(n,c,a,m===SelectionMode.Partial,!0,d);var u=getConnectedEdges(p,o).map(e=>e.id),l=p.map(e=>e.id);g.current!==l.length&&(g.current=l.length,(e=getSelectionChanges(e,l)).length&&r?.(e)),b.current!==u.length&&(b.current=u.length,(l=getSelectionChanges(o,u)).length&&i?.(l)),h.setState({userSelectionRect:c})}}:d,onMouseUp:w?e=>{var t=h.getState()["userSelectionRect"];!l&&t&&e.target===u.current&&v(e),h.setState({nodesSelectionActive:0<g.current}),x(),n?.(e)}:void 0,onMouseLeave:w?e=>{l&&(h.setState({nodesSelectionActive:0<g.current}),n?.(e)),x()}:s,ref:u,style:containerStyle,children:[c,jsxRuntime.exports.jsx(UserSelection,{})]})}),selector$6=(Pane.displayName="Pane",e=>({transformString:`translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`,userSelectionActive:e.userSelectionActive})),bboxSelector=e=>{var t=e.getNodes().filter(e=>e.selected);return getRectOfNodes(t,e.nodeOrigin)};function NodesSelection({onSelectionContextMenu:n,noPanClassName:e,disableKeyboardA11y:t}){const o=useStoreApi();var{transformString:a,userSelectionActive:r}=useStore(selector$6,shallow),{width:i,height:d,x:s,y:c}=useStore(bboxSelector,shallow);const u=useUpdateNodePositions(),l=react.exports.useRef(null);if(react.exports.useEffect(()=>{t||l.current?.focus({preventScroll:!0})},[t]),useDrag({nodeRef:l}),r||!i||!d)return null;r=n?e=>{var t=o.getState().getNodes().filter(e=>e.selected);n(e,t)}:void 0;return jsxRuntime.exports.jsx("div",{className:cc(["react-flow__nodesselection","react-flow__container",e]),style:{transform:a},children:jsxRuntime.exports.jsx("div",{ref:l,className:"react-flow__nodesselection-rect",onContextMenu:r,tabIndex:t?void 0:-1,onKeyDown:t?void 0:e=>{Object.prototype.hasOwnProperty.call(arrowKeyDiffs,e.key)&&u({x:arrowKeyDiffs[e.key].x,y:arrowKeyDiffs[e.key].y,isShiftPressed:e.shiftKey})},style:{width:i,height:d,top:c,left:s}})})}var NodesSelection$1=react.exports.memo(NodesSelection);const selector$5=e=>e.nodesSelectionActive,FlowRenderer=({children:e,onPaneClick:t,onPaneMouseEnter:n,onPaneMouseMove:o,onPaneMouseLeave:a,onPaneContextMenu:r,onPaneScroll:i,deleteKeyCode:d,onMove:s,onMoveStart:c,onMoveEnd:u,selectionKeyCode:l,selectionOnDrag:p,selectionMode:f,onSelectionStart:m,onSelectionEnd:h,multiSelectionKeyCode:g,panActivationKeyCode:b,zoomActivationKeyCode:y,elementsSelectable:I,zoomOnScroll:x,zoomOnPinch:v,panOnScroll:S,panOnScrollSpeed:w,panOnScrollMode:C,zoomOnDoubleClick:F,panOnDrag:E,defaultViewport:$,translateExtent:T,minZoom:k,maxZoom:P,preventScrolling:_,onSelectionContextMenu:N,noWheelClassName:O,noPanClassName:j,disableKeyboardA11y:R})=>{var M=useStore(selector$5),l=useKeyPress(l),b=useKeyPress(b)||E,E=l||p&&!0!==b;return useGlobalKeyHandler({deleteKeyCode:d,multiSelectionKeyCode:g}),jsxRuntime.exports.jsx(ZoomPane,{onMove:s,onMoveStart:c,onMoveEnd:u,onPaneContextMenu:r,elementsSelectable:I,zoomOnScroll:x,zoomOnPinch:v,panOnScroll:S,panOnScrollSpeed:w,panOnScrollMode:C,zoomOnDoubleClick:F,panOnDrag:!l&&b,defaultViewport:$,translateExtent:T,minZoom:k,maxZoom:P,zoomActivationKeyCode:y,preventScrolling:_,noWheelClassName:O,noPanClassName:j,children:jsxRuntime.exports.jsxs(Pane,{onSelectionStart:m,onSelectionEnd:h,onPaneClick:t,onPaneMouseEnter:n,onPaneMouseMove:o,onPaneMouseLeave:a,onPaneContextMenu:r,onPaneScroll:i,panOnDrag:b,isSelecting:!!E,selectionMode:f,children:[e,M&&jsxRuntime.exports.jsx(NodesSelection$1,{onSelectionContextMenu:N,noPanClassName:j,disableKeyboardA11y:R})]})})};FlowRenderer.displayName="FlowRenderer";var FlowRenderer$1=react.exports.memo(FlowRenderer);function useVisibleNodes(t){return useStore(react.exports.useCallback(e=>t?getNodesInside(e.nodeInternals,{x:0,y:0,width:e.width,height:e.height},e.transform,!0):e.getNodes(),[t]))}const selector$4=e=>({nodesDraggable:e.nodesDraggable,nodesConnectable:e.nodesConnectable,nodesFocusable:e.nodesFocusable,elementsSelectable:e.elementsSelectable,updateNodeDimensions:e.updateNodeDimensions}),NodeRenderer=u=>{const{nodesDraggable:l,nodesConnectable:p,nodesFocusable:f,elementsSelectable:m,updateNodeDimensions:t}=useStore(selector$4,shallow),e=useVisibleNodes(u.onlyRenderVisibleElements),n=react.exports.useRef(),h=react.exports.useMemo(()=>{if("undefined"==typeof ResizeObserver)return null;var e=new ResizeObserver(e=>{e=e.map(e=>({id:e.target.getAttribute("data-id"),nodeElement:e.target,forceUpdate:!0}));t(e)});return n.current=e},[]);return react.exports.useEffect(()=>()=>{n?.current?.disconnect()},[]),jsxRuntime.exports.jsx("div",{className:"react-flow__nodes",style:containerStyle,children:e.map(e=>{let t=e.type||"default";u.nodeTypes[t]||(t="default");var n=u.nodeTypes[t]||u.nodeTypes.default,o=!!(e.draggable||l&&void 0===e.draggable),a=!!(e.selectable||m&&void 0===e.selectable),r=!!(e.connectable||p&&void 0===e.connectable),i=!!(e.focusable||f&&void 0===e.focusable),d=u.nodeExtent?clampPosition(e.positionAbsolute,u.nodeExtent):e.positionAbsolute,s=d?.x??0,d=d?.y??0,c=getPositionWithOrigin({x:s,y:d,width:e.width??0,height:e.height??0,origin:u.nodeOrigin});return jsxRuntime.exports.jsx(n,{id:e.id,className:e.className,style:e.style,type:t,data:e.data,sourcePosition:e.sourcePosition||Position.Bottom,targetPosition:e.targetPosition||Position.Top,hidden:e.hidden,xPos:s,yPos:d,xPosOrigin:c.x,yPosOrigin:c.y,selectNodesOnDrag:u.selectNodesOnDrag,onClick:u.onNodeClick,onMouseEnter:u.onNodeMouseEnter,onMouseMove:u.onNodeMouseMove,onMouseLeave:u.onNodeMouseLeave,onContextMenu:u.onNodeContextMenu,onDoubleClick:u.onNodeDoubleClick,selected:!!e.selected,isDraggable:o,isSelectable:a,isConnectable:r,isFocusable:i,resizeObserver:h,dragHandle:e.dragHandle,zIndex:e[internalsSymbol]?.z??0,isParent:!!e[internalsSymbol]?.isParent,noDragClassName:u.noDragClassName,noPanClassName:u.noPanClassName,initialized:!!e.width&&!!e.height,rfId:u.rfId,disableKeyboardA11y:u.disableKeyboardA11y,ariaLabel:e.ariaLabel},e.id)})})};NodeRenderer.displayName="NodeRenderer";var NodeRenderer$1=react.exports.memo(NodeRenderer);const defaultEdgeTree=[{level:0,isMaxLevel:!0,edges:[]}];function groupEdgesByZLevel(e,a,r=!1){let i=-1;e=e.reduce((e,t)=>{var n=isNumeric(t.zIndex);let o=n?t.zIndex:0;return e[o=r?n?t.zIndex:Math.max(a.get(t.source)?.[internalsSymbol]?.z||0,a.get(t.target)?.[internalsSymbol]?.z||0):o]?e[o].push(t):e[o]=[t],i=o>i?o:i,e},{}),e=Object.entries(e).map(([e,t])=>{e=+e;return{edges:t,level:e,isMaxLevel:e===i}});return 0===e.length?defaultEdgeTree:e}function useVisibleEdges(e,o,t){return groupEdgesByZLevel(useStore(react.exports.useCallback(n=>e?n.edges.filter(e=>{var t=o.get(e.source),e=o.get(e.target);return t?.width&&t?.height&&e?.width&&e?.height&&isEdgeVisible({sourcePos:t.positionAbsolute||{x:0,y:0},targetPos:e.positionAbsolute||{x:0,y:0},sourceWidth:t.width,sourceHeight:t.height,targetWidth:e.width,targetHeight:e.height,width:n.width,height:n.height,transform:n.transform})}):n.edges,[e,o])),o,t)}const oppositePosition={[Position.Left]:Position.Right,[Position.Right]:Position.Left,[Position.Top]:Position.Bottom,[Position.Bottom]:Position.Top},ConnectionLine=({connectionNodeId:t,connectionHandleType:e,connectionLineStyle:n,connectionLineType:o=ConnectionLineType.Bezier,isConnectable:a,CustomConnectionLineComponent:r})=>{const{fromNode:i,handleId:d,toX:s,toY:c,connectionMode:u}=useStore(react.exports.useCallback(e=>({fromNode:e.nodeInternals.get(t),handleId:e.connectionHandleId,toX:(e.connectionPosition.x-e.transform[0])/e.transform[2],toY:(e.connectionPosition.y-e.transform[1])/e.transform[2],connectionMode:e.connectionMode}),[t]),shallow);var l=i?.[internalsSymbol]?.handleBounds;let p=l?.[e];if(u===ConnectionMode.Loose&&(p=p||l?.["source"===e?"target":"source"]),!i||!a||!p)return null;var l=d?p.find(e=>e.id===d):p[0],e=l?l.x+l.width/2:(i?.width??0)/2,a=l?l.y+l.height/2:i?.height??0,e=(i?.positionAbsolute?.x||0)+e,a=(i?.positionAbsolute?.y||0)+a,f=l?.position;if(!f)return null;var m=oppositePosition[f];if(r)return jsxRuntime.exports.jsx("g",{className:"react-flow__connection",children:jsxRuntime.exports.jsx(r,{connectionLineType:o,connectionLineStyle:n,fromNode:i,fromHandle:l,fromX:e,fromY:a,toX:s,toY:c,fromPosition:f,toPosition:m})});let h="";r={sourceX:e,sourceY:a,sourcePosition:f,targetX:s,targetY:c,targetPosition:m};return o===ConnectionLineType.Bezier?[h]=getBezierPath(r):o===ConnectionLineType.Step?[h]=getSmoothStepPath({...r,borderRadius:0}):o===ConnectionLineType.SmoothStep?[h]=getSmoothStepPath(r):o===ConnectionLineType.SimpleBezier?[h]=getSimpleBezierPath(r):h=`M${e},${a} ${s},`+c,jsxRuntime.exports.jsx("g",{className:"react-flow__connection",children:jsxRuntime.exports.jsx("path",{d:h,fill:"none",className:"react-flow__connection-path",style:n})})},ArrowSymbol=(ConnectionLine.displayName="ConnectionLine",({color:e="none",strokeWidth:t=1})=>jsxRuntime.exports.jsx("polyline",{stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:t,fill:"none",points:"-5,-4 0,0 -5,4"})),ArrowClosedSymbol=({color:e="none",strokeWidth:t=1})=>jsxRuntime.exports.jsx("polyline",{stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:t,fill:e,points:"-5,-4 0,0 -5,4 -5,-4"}),MarkerSymbols={[MarkerType.Arrow]:ArrowSymbol,[MarkerType.ArrowClosed]:ArrowClosedSymbol};function useMarkerSymbol(e){return react.exports.useMemo(()=>{return Object.prototype.hasOwnProperty.call(MarkerSymbols,e)?MarkerSymbols[e]:null},[e])}const Marker=({id:e,type:t,color:n,width:o=12.5,height:a=12.5,markerUnits:r="strokeWidth",strokeWidth:i,orient:d="auto-start-reverse"})=>{t=useMarkerSymbol(t);return t?jsxRuntime.exports.jsx("marker",{className:"react-flow__arrowhead",id:e,markerWidth:""+o,markerHeight:""+a,viewBox:"-10 -10 20 20",markerUnits:r,orient:d,refX:"0",refY:"0",children:jsxRuntime.exports.jsx(t,{color:n,strokeWidth:i})}):null},markerSelector=({defaultColor:a,rfId:r})=>e=>{const o=[];return e.edges.reduce((n,e)=>([e.markerStart,e.markerEnd].forEach(e=>{var t;e&&"object"==typeof e&&(t=getMarkerId(e,r),o.includes(t)||(n.push({id:t,color:e.color||a,...e}),o.push(t)))}),n),[]).sort((e,t)=>e.id.localeCompare(t.id))},MarkerDefinitions=({defaultColor:e,rfId:t})=>{const n=useStore(react.exports.useCallback(markerSelector({defaultColor:e,rfId:t}),[e,t]),(e,n)=>!(e.length!==n.length||e.some((e,t)=>e.id!==n[t].id)));return jsxRuntime.exports.jsx("defs",{children:n.map(e=>jsxRuntime.exports.jsx(Marker,{id:e.id,type:e.type,color:e.color,width:e.width,height:e.height,markerUnits:e.markerUnits,strokeWidth:e.strokeWidth,orient:e.orient},e.id))})};MarkerDefinitions.displayName="MarkerDefinitions";var MarkerDefinitions$1=react.exports.memo(MarkerDefinitions);const selector$3=e=>({connectionNodeId:e.connectionNodeId,connectionHandleType:e.connectionHandleType,nodesConnectable:e.nodesConnectable,edgesFocusable:e.edgesFocusable,elementsSelectable:e.elementsSelectable,width:e.width,height:e.height,connectionMode:e.connectionMode,nodeInternals:e.nodeInternals}),EdgeRenderer=u=>{const{connectionNodeId:e,connectionHandleType:t,nodesConnectable:n,edgesFocusable:l,elementsSelectable:p,width:o,height:a,connectionMode:f,nodeInternals:m}=useStore(selector$3,shallow),r=useVisibleEdges(u.onlyRenderVisibleElements,m,u.elevateEdgesOnSelect);if(!o)return null;const{connectionLineType:i,defaultMarkerColor:d,connectionLineStyle:s,connectionLineComponent:c,connectionLineContainerStyle:h}=u;var g=e&&t;return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[r.map(({level:e,edges:t,isMaxLevel:n})=>jsxRuntime.exports.jsxs("svg",{style:{zIndex:e},width:o,height:a,className:"react-flow__edges react-flow__container",children:[n&&jsxRuntime.exports.jsx(MarkerDefinitions$1,{defaultColor:d,rfId:u.rfId}),jsxRuntime.exports.jsx("g",{children:t.map(e=>{var[t,n,o]=getNodeData(m.get(e.source)),[a,r,i]=getNodeData(m.get(e.target));if(!o||!i)return null;let d=e.type||"default";u.edgeTypes[d]||(d="default");var o=u.edgeTypes[d]||u.edgeTypes.default,i=f===ConnectionMode.Strict?r.target:r.target||r.source,r=getHandle(n.source,e.sourceHandle||null),n=getHandle(i,e.targetHandle||null),i=r?.position||Position.Bottom,s=n?.position||Position.Top,c=!!(e.focusable||l&&void 0===e.focusable);if(!r||!n)return devWarn(`Couldn't create edge for ${r?"target":"source"} handle id: ${r?e.targetHandle:e.sourceHandle}; edge id: ${e.id}. Help: https://reactflow.dev/error#800`),null;var{sourceX:t,sourceY:r,targetX:a,targetY:n}=getEdgePositions(t,r,i,a,n,s);return jsxRuntime.exports.jsx(o,{id:e.id,className:cc([e.className,u.noPanClassName]),type:d,data:e.data,selected:!!e.selected,animated:!!e.animated,hidden:!!e.hidden,label:e.label,labelStyle:e.labelStyle,labelShowBg:e.labelShowBg,labelBgStyle:e.labelBgStyle,labelBgPadding:e.labelBgPadding,labelBgBorderRadius:e.labelBgBorderRadius,style:e.style,source:e.source,target:e.target,sourceHandleId:e.sourceHandle,targetHandleId:e.targetHandle,markerEnd:e.markerEnd,markerStart:e.markerStart,sourceX:t,sourceY:r,targetX:a,targetY:n,sourcePosition:i,targetPosition:s,elementsSelectable:p,onEdgeUpdate:u.onEdgeUpdate,onContextMenu:u.onEdgeContextMenu,onMouseEnter:u.onEdgeMouseEnter,onMouseMove:u.onEdgeMouseMove,onMouseLeave:u.onEdgeMouseLeave,onClick:u.onEdgeClick,edgeUpdaterRadius:u.edgeUpdaterRadius,onEdgeDoubleClick:u.onEdgeDoubleClick,onEdgeUpdateStart:u.onEdgeUpdateStart,onEdgeUpdateEnd:u.onEdgeUpdateEnd,rfId:u.rfId,ariaLabel:e.ariaLabel,isFocusable:c,pathOptions:"pathOptions"in e?e.pathOptions:void 0,interactionWidth:e.interactionWidth},e.id)})})]},e)),g&&jsxRuntime.exports.jsx("svg",{style:h,width:o,height:a,className:"react-flow__edges react-flow__connectionline react-flow__container",children:jsxRuntime.exports.jsx(ConnectionLine,{connectionNodeId:e,connectionHandleType:t,connectionLineStyle:s,connectionLineType:i,isConnectable:n,CustomConnectionLineComponent:c})})]})};EdgeRenderer.displayName="EdgeRenderer";var EdgeRenderer$1=react.exports.memo(EdgeRenderer);const selector$2=e=>`translate(${e.transform[0]}px,${e.transform[1]}px) scale(${e.transform[2]})`;function Viewport({children:e}){var t=useStore(selector$2);return jsxRuntime.exports.jsx("div",{className:"react-flow__viewport react-flow__container",style:{transform:t},children:e})}function useOnInitHandler(e){const t=useReactFlow(),n=react.exports.useRef(!1);react.exports.useEffect(()=>{!n.current&&t.viewportInitialized&&e&&(setTimeout(()=>e(t),1),n.current=!0)},[e,t.viewportInitialized])}const GraphView=({nodeTypes:e,edgeTypes:t,onMove:n,onMoveStart:o,onMoveEnd:a,onInit:r,onNodeClick:i,onEdgeClick:d,onNodeDoubleClick:s,onEdgeDoubleClick:c,onNodeMouseEnter:u,onNodeMouseMove:l,onNodeMouseLeave:p,onNodeContextMenu:f,onSelectionContextMenu:m,onSelectionStart:h,onSelectionEnd:g,connectionLineType:b,connectionLineStyle:y,connectionLineComponent:I,connectionLineContainerStyle:x,selectionKeyCode:v,selectionOnDrag:S,selectionMode:w,multiSelectionKeyCode:C,panActivationKeyCode:F,zoomActivationKeyCode:E,deleteKeyCode:$,onlyRenderVisibleElements:T,elementsSelectable:k,selectNodesOnDrag:P,defaultViewport:_,translateExtent:M,minZoom:A,maxZoom:D,preventScrolling:B,defaultMarkerColor:V,zoomOnScroll:L,zoomOnPinch:H,panOnScroll:z,panOnScrollSpeed:U,panOnScrollMode:G,zoomOnDoubleClick:K,panOnDrag:Y,onPaneClick:W,onPaneMouseEnter:X,onPaneMouseMove:Z,onPaneMouseLeave:q,onPaneScroll:J,onPaneContextMenu:Q,onEdgeUpdate:ee,onEdgeContextMenu:te,onEdgeMouseEnter:ne,onEdgeMouseMove:oe,onEdgeMouseLeave:ae,edgeUpdaterRadius:re,onEdgeUpdateStart:ie,onEdgeUpdateEnd:de,noDragClassName:N,noWheelClassName:se,noPanClassName:O,elevateEdgesOnSelect:ce,disableKeyboardA11y:j,nodeOrigin:ue,nodeExtent:le,rfId:R})=>(useOnInitHandler(r),jsxRuntime.exports.jsx(FlowRenderer$1,{onPaneClick:W,onPaneMouseEnter:X,onPaneMouseMove:Z,onPaneMouseLeave:q,onPaneContextMenu:Q,onPaneScroll:J,deleteKeyCode:$,selectionKeyCode:v,selectionOnDrag:S,selectionMode:w,onSelectionStart:h,onSelectionEnd:g,multiSelectionKeyCode:C,panActivationKeyCode:F,zoomActivationKeyCode:E,elementsSelectable:k,onMove:n,onMoveStart:o,onMoveEnd:a,zoomOnScroll:L,zoomOnPinch:H,zoomOnDoubleClick:K,panOnScroll:z,panOnScrollSpeed:U,panOnScrollMode:G,panOnDrag:Y,defaultViewport:_,translateExtent:M,minZoom:A,maxZoom:D,onSelectionContextMenu:m,preventScrolling:B,noDragClassName:N,noWheelClassName:se,noPanClassName:O,disableKeyboardA11y:j,children:jsxRuntime.exports.jsxs(Viewport,{children:[jsxRuntime.exports.jsx(EdgeRenderer$1,{edgeTypes:t,onEdgeClick:d,onEdgeDoubleClick:c,connectionLineType:b,connectionLineStyle:y,connectionLineComponent:I,connectionLineContainerStyle:x,onEdgeUpdate:ee,onlyRenderVisibleElements:T,onEdgeContextMenu:te,onEdgeMouseEnter:ne,onEdgeMouseMove:oe,onEdgeMouseLeave:ae,onEdgeUpdateStart:ie,onEdgeUpdateEnd:de,edgeUpdaterRadius:re,defaultMarkerColor:V,noPanClassName:O,elevateEdgesOnSelect:!!ce,disableKeyboardA11y:j,rfId:R}),jsxRuntime.exports.jsx("div",{className:"react-flow__edgelabel-renderer"}),jsxRuntime.exports.jsx(NodeRenderer$1,{nodeTypes:e,onNodeClick:i,onNodeDoubleClick:s,onNodeMouseEnter:u,onNodeMouseMove:l,onNodeMouseLeave:p,onNodeContextMenu:f,selectNodesOnDrag:P,onlyRenderVisibleElements:T,noPanClassName:O,noDragClassName:N,disableKeyboardA11y:j,nodeOrigin:ue,nodeExtent:le,rfId:R})]})}));GraphView.displayName="GraphView";var GraphView$1=react.exports.memo(GraphView);const infiniteExtent=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],initialState$1={rfId:"1",width:0,height:0,transform:[0,0,1],nodeInternals:new Map,edges:[],onNodesChange:null,onEdgesChange:null,hasDefaultNodes:!1,hasDefaultEdges:!1,d3Zoom:null,d3Selection:null,d3ZoomHandler:void 0,minZoom:.5,maxZoom:2,translateExtent:infiniteExtent,nodeExtent:infiniteExtent,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionNodeId:null,connectionHandleId:null,connectionHandleType:"source",connectionPosition:{x:0,y:0},connectionMode:ConnectionMode.Strict,domNode:null,paneDragging:!1,noPanClassName:"nopan",nodeOrigin:[0,0],snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,fitViewOnInit:!1,fitViewOnInitDone:!1,fitViewOnInitOptions:void 0,multiSelectionActive:!1,connectionStartHandle:null,connectOnClick:!0,ariaLiveMessage:""},createRFStore=()=>createStore((u,l)=>({...initialState$1,setNodes:e=>{var{nodeInternals:t,nodeOrigin:n,elevateNodesOnSelect:o}=l();u({nodeInternals:createNodeInternals(e,t,n,o)})},getNodes:()=>Array.from(l().nodeInternals.values()),setEdges:e=>{const{defaultEdgeOptions:t={}}=l();u({edges:e.map(e=>({...t,...e}))})},setDefaultNodesAndEdges:(e,t)=>{var n=void 0!==e,o=void 0!==t,e=n?createNodeInternals(e,new Map,l().nodeOrigin,l().elevateNodesOnSelect):new Map;u({nodeInternals:e,edges:o?t:[],hasDefaultNodes:n,hasDefaultEdges:o})},updateNodeDimensions:e=>{const{onNodesChange:t,nodeInternals:a,fitViewOnInit:n,fitViewOnInitDone:o,fitViewOnInitOptions:r,domNode:i,nodeOrigin:d}=l();var s=i?.querySelector(".react-flow__viewport");if(s){s=window.getComputedStyle(s);const c=new window.DOMMatrixReadOnly(s.transform)["m22"];s=e.reduce((e,t)=>{var n,o=a.get(t.id);return o&&(n=getDimensions(t.nodeElement)).width&&n.height&&(o.width!==n.width||o.height!==n.height||t.forceUpdate)&&(a.set(o.id,{...o,[internalsSymbol]:{...o[internalsSymbol],handleBounds:{source:getHandleBounds(".source",t.nodeElement,c,d),target:getHandleBounds(".target",t.nodeElement,c,d)}},...n}),e.push({id:o.id,type:"dimensions",dimensions:n})),e},[]),e=o||n&&!o&&fitView(l,{initial:!0,...r});u({nodeInternals:new Map(a),fitViewOnInitDone:e}),0<s?.length&&t?.(s)}},updateNodePositions:(e,n=!0,o=!1)=>{const t=l()["triggerNodeChanges"];e=e.map(e=>{const t={id:e.id,type:"position",dragging:o};return n&&(t.positionAbsolute=e.positionAbsolute,t.position=e.position),t});t(e)},triggerNodeChanges:e=>{const{onNodesChange:t,nodeInternals:n,hasDefaultNodes:o,nodeOrigin:a,getNodes:r,elevateNodesOnSelect:i}=l();var d;e?.length&&(o&&(d=createNodeInternals(applyNodeChanges(e,r()),n,a,i),u({nodeInternals:d})),t?.(e))},addSelectedNodes:e=>{const{multiSelectionActive:t,edges:n,getNodes:o}=l();let a,r=null;t?a=e.map(e=>createSelectionChange(e,!0)):(a=getSelectionChanges(o(),e),r=getSelectionChanges(n,[])),updateNodesAndEdgesSelections({changedNodes:a,changedEdges:r,get:l,set:u})},addSelectedEdges:e=>{const{multiSelectionActive:t,edges:n,getNodes:o}=l();let a,r=null;t?a=e.map(e=>createSelectionChange(e,!0)):(a=getSelectionChanges(n,e),r=getSelectionChanges(o(),[])),updateNodesAndEdgesSelections({changedNodes:r,changedEdges:a,get:l,set:u})},unselectNodesAndEdges:({nodes:e,edges:t}={})=>{const{edges:n,getNodes:o}=l(),a=e||o(),r=t||n;updateNodesAndEdgesSelections({changedNodes:a.map(e=>(e.selected=!1,createSelectionChange(e.id,!1))),changedEdges:r.map(e=>createSelectionChange(e.id,!1)),get:l,set:u})},setMinZoom:e=>{const{d3Zoom:t,maxZoom:n}=l();t?.scaleExtent([e,n]),u({minZoom:e})},setMaxZoom:e=>{const{d3Zoom:t,minZoom:n}=l();t?.scaleExtent([n,e]),u({maxZoom:e})},setTranslateExtent:e=>{l().d3Zoom?.translateExtent(e),u({translateExtent:e})},resetSelectedElements:()=>{const{edges:e,getNodes:t}=l(),n=t();updateNodesAndEdgesSelections({changedNodes:n.filter(e=>e.selected).map(e=>createSelectionChange(e.id,!1)),changedEdges:e.filter(e=>e.selected).map(e=>createSelectionChange(e.id,!1)),get:l,set:u})},setNodeExtent:t=>{const e=l()["nodeInternals"];e.forEach(e=>{e.positionAbsolute=clampPosition(e.position,t)}),u({nodeExtent:t,nodeInternals:new Map(e)})},cancelConnection:()=>u({connectionNodeId:initialState$1.connectionNodeId,connectionHandleId:initialState$1.connectionHandleId}),reset:()=>u({...initialState$1})})),ReactFlowProvider=({children:e})=>{const t=react.exports.useRef(null);return t.current||(t.current=createRFStore()),jsxRuntime.exports.jsx(Provider$1,{value:t.current,children:e})},Wrapper=(ReactFlowProvider.displayName="ReactFlowProvider",({children:e})=>{return react.exports.useContext(StoreContext)?jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{children:e}):jsxRuntime.exports.jsx(ReactFlowProvider,{children:e})});function useNodeOrEdgeTypes(e,t){return react.exports.useRef(null),react.exports.useMemo(()=>t(e),[e])}Wrapper.displayName="ReactFlowWrapper";const defaultNodeTypes={input:InputNode$1,default:DefaultNode$1,output:OutputNode$1,group:GroupNode},defaultEdgeTypes={default:BezierEdge,straight:StraightEdge,step:StepEdge,smoothstep:SmoothStepEdge,simplebezier:SimpleBezierEdge},initNodeOrigin=[0,0],initSnapGrid=[15,15],initDefaultViewport={x:0,y:0,zoom:1},wrapperStyle={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0},ReactFlow=react.exports.forwardRef(({nodes:e,edges:t,defaultNodes:n,defaultEdges:o,className:a,nodeTypes:r=defaultNodeTypes,edgeTypes:i=defaultEdgeTypes,onNodeClick:d,onEdgeClick:s,onInit:c,onMove:u,onMoveStart:l,onMoveEnd:p,onConnect:f,onConnectStart:m,onConnectEnd:h,onClickConnectStart:g,onClickConnectEnd:b,onNodeMouseEnter:y,onNodeMouseMove:I,onNodeMouseLeave:x,onNodeContextMenu:v,onNodeDoubleClick:S,onNodeDragStart:w,onNodeDrag:C,onNodeDragStop:F,onNodesDelete:E,onEdgesDelete:M,onSelectionChange:A,onSelectionDragStart:D,onSelectionDrag:B,onSelectionDragStop:V,onSelectionContextMenu:L,onSelectionStart:H,onSelectionEnd:z,connectionMode:U=ConnectionMode.Strict,connectionLineType:G=ConnectionLineType.Bezier,connectionLineStyle:K,connectionLineComponent:Y,connectionLineContainerStyle:W,deleteKeyCode:X="Backspace",selectionKeyCode:Z="Shift",selectionOnDrag:q=!1,selectionMode:J=SelectionMode.Full,panActivationKeyCode:Q="Space",multiSelectionKeyCode:ee="Meta",zoomActivationKeyCode:te="Meta",snapToGrid:ne=!1,snapGrid:oe=initSnapGrid,onlyRenderVisibleElements:ae=!1,selectNodesOnDrag:re=!0,nodesDraggable:ie,nodesConnectable:de,nodesFocusable:se,nodeOrigin:$=initNodeOrigin,edgesFocusable:ce,elementsSelectable:ue,defaultViewport:le=initDefaultViewport,minZoom:T=.5,maxZoom:k=2,translateExtent:P=infiniteExtent,preventScrolling:pe=!0,nodeExtent:_,defaultMarkerColor:fe="#b1b1b7",zoomOnScroll:me=!0,zoomOnPinch:he=!0,panOnScroll:ge=!1,panOnScrollSpeed:be=.5,panOnScrollMode:ye=PanOnScrollMode.Free,zoomOnDoubleClick:Ie=!0,panOnDrag:xe=!0,onPaneClick:ve,onPaneMouseEnter:Se,onPaneMouseMove:we,onPaneMouseLeave:Ce,onPaneScroll:Fe,onPaneContextMenu:Ee,children:$e,onEdgeUpdate:Te,onEdgeContextMenu:ke,onEdgeDoubleClick:Pe,onEdgeMouseEnter:_e,onEdgeMouseMove:Ne,onEdgeMouseLeave:Oe,onEdgeUpdateStart:je,onEdgeUpdateEnd:Re,edgeUpdaterRadius:Me=10,onNodesChange:Ae,onEdgesChange:De,noDragClassName:Be="nodrag",noWheelClassName:Ve="nowheel",noPanClassName:N="nopan",fitView:Le=!1,fitViewOptions:He,connectOnClick:ze=!0,attributionPosition:Ue,proOptions:Ge,defaultEdgeOptions:Ke,elevateNodesOnSelect:Ye=!0,elevateEdgesOnSelect:We=!1,disableKeyboardA11y:O=!1,style:Xe,id:j,...Ze},qe)=>{var r=useNodeOrEdgeTypes(r,createNodeTypes),i=useNodeOrEdgeTypes(i,createEdgeTypes),R=j||"1";return jsxRuntime.exports.jsx("div",{...Ze,style:{...Xe,...wrapperStyle},ref:qe,className:cc(["react-flow",a]),"data-testid":"rf__wrapper",id:j,children:jsxRuntime.exports.jsxs(Wrapper,{children:[jsxRuntime.exports.jsx(GraphView$1,{onInit:c,onMove:u,onMoveStart:l,onMoveEnd:p,onNodeClick:d,onEdgeClick:s,onNodeMouseEnter:y,onNodeMouseMove:I,onNodeMouseLeave:x,onNodeContextMenu:v,onNodeDoubleClick:S,nodeTypes:r,edgeTypes:i,connectionLineType:G,connectionLineStyle:K,connectionLineComponent:Y,connectionLineContainerStyle:W,selectionKeyCode:Z,selectionOnDrag:q,selectionMode:J,deleteKeyCode:X,multiSelectionKeyCode:ee,panActivationKeyCode:Q,zoomActivationKeyCode:te,onlyRenderVisibleElements:ae,selectNodesOnDrag:re,defaultViewport:le,translateExtent:P,minZoom:T,maxZoom:k,preventScrolling:pe,zoomOnScroll:me,zoomOnPinch:he,zoomOnDoubleClick:Ie,panOnScroll:ge,panOnScrollSpeed:be,panOnScrollMode:ye,panOnDrag:xe,onPaneClick:ve,onPaneMouseEnter:Se,onPaneMouseMove:we,onPaneMouseLeave:Ce,onPaneScroll:Fe,onPaneContextMenu:Ee,onSelectionContextMenu:L,onSelectionStart:H,onSelectionEnd:z,onEdgeUpdate:Te,onEdgeContextMenu:ke,onEdgeDoubleClick:Pe,onEdgeMouseEnter:_e,onEdgeMouseMove:Ne,onEdgeMouseLeave:Oe,onEdgeUpdateStart:je,onEdgeUpdateEnd:Re,edgeUpdaterRadius:Me,defaultMarkerColor:fe,noDragClassName:Be,noWheelClassName:Ve,noPanClassName:N,elevateEdgesOnSelect:We,rfId:R,disableKeyboardA11y:O,nodeOrigin:$,nodeExtent:_}),jsxRuntime.exports.jsx(StoreUpdater,{nodes:e,edges:t,defaultNodes:n,defaultEdges:o,onConnect:f,onConnectStart:m,onConnectEnd:h,onClickConnectStart:g,onClickConnectEnd:b,nodesDraggable:ie,nodesConnectable:de,nodesFocusable:se,edgesFocusable:ce,elementsSelectable:ue,elevateNodesOnSelect:Ye,minZoom:T,maxZoom:k,nodeExtent:_,onNodesChange:Ae,onEdgesChange:De,snapToGrid:ne,snapGrid:oe,connectionMode:U,translateExtent:P,connectOnClick:ze,defaultEdgeOptions:Ke,fitView:Le,fitViewOptions:He,onNodesDelete:E,onEdgesDelete:M,onNodeDragStart:w,onNodeDrag:C,onNodeDragStop:F,onSelectionDrag:B,onSelectionDragStart:D,onSelectionDragStop:V,noPanClassName:N,nodeOrigin:$,rfId:R}),jsxRuntime.exports.jsx(Wrapper$1,{onSelectionChange:A}),$e,jsxRuntime.exports.jsx(Attribution,{proOptions:Ge,position:Ue}),jsxRuntime.exports.jsx(A11yDescriptions,{rfId:R,disableKeyboardA11y:O})]})})});function PlusIcon(){return jsxRuntime.exports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:jsxRuntime.exports.jsx("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})})}function MinusIcon(){return jsxRuntime.exports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5",children:jsxRuntime.exports.jsx("path",{d:"M0 0h32v4.2H0z"})})}function FitViewIcon(){return jsxRuntime.exports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30",children:jsxRuntime.exports.jsx("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"})})}function LockIcon(){return jsxRuntime.exports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:jsxRuntime.exports.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})})}function UnlockIcon(){return jsxRuntime.exports.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:jsxRuntime.exports.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"})})}ReactFlow.displayName="ReactFlow";const ControlButton=({children:e,className:t,...n})=>jsxRuntime.exports.jsx("button",{type:"button",className:cc(["react-flow__controls-button",t]),...n,children:e}),isInteractiveSelector=(ControlButton.displayName="ControlButton",e=>e.nodesDraggable&&e.nodesConnectable&&e.elementsSelectable),Controls=({style:e,showZoom:t=!0,showFitView:n=!0,showInteractive:o=!0,fitViewOptions:a,onZoomIn:r,onZoomOut:i,onFitView:d,onInteractiveChange:s,className:c,children:u,position:l="bottom-left"})=>{const p=useStoreApi(),[f,m]=react.exports.useState(!1),h=useStore(isInteractiveSelector),{zoomIn:g,zoomOut:b,fitView:y}=useReactFlow();if(react.exports.useEffect(()=>{m(!0)},[]),!f)return null;return jsxRuntime.exports.jsxs(Panel,{className:cc(["react-flow__controls",c]),position:l,style:e,children:[t&&jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(ControlButton,{onClick:()=>{g(),r?.()},className:"react-flow__controls-zoomin",title:"zoom in","aria-label":"zoom in",children:jsxRuntime.exports.jsx(PlusIcon,{})}),jsxRuntime.exports.jsx(ControlButton,{onClick:()=>{b(),i?.()},className:"react-flow__controls-zoomout",title:"zoom out","aria-label":"zoom out",children:jsxRuntime.exports.jsx(MinusIcon,{})})]}),n&&jsxRuntime.exports.jsx(ControlButton,{className:"react-flow__controls-fitview",onClick:()=>{y(a),d?.()},title:"fit view","aria-label":"fit view",children:jsxRuntime.exports.jsx(FitViewIcon,{})}),o&&jsxRuntime.exports.jsx(ControlButton,{className:"react-flow__controls-interactive",onClick:()=>{p.setState({nodesDraggable:!h,nodesConnectable:!h,elementsSelectable:!h}),s?.(!h)},title:"toggle interactivity","aria-label":"toggle interactivity",children:h?jsxRuntime.exports.jsx(UnlockIcon,{}):jsxRuntime.exports.jsx(LockIcon,{})}),u]})};Controls.displayName="Controls";var BackgroundVariant,Controls$1=react.exports.memo(Controls);function LinePattern({color:e,dimensions:t,lineWidth:n}){return jsxRuntime.exports.jsx("path",{stroke:e,strokeWidth:n,d:`M${t[0]/2} 0 V${t[1]} M0 ${t[1]/2} H`+t[0]})}function DotPattern({color:e,radius:t}){return jsxRuntime.exports.jsx("circle",{cx:t,cy:t,r:t,fill:e})}!function(e){e.Lines="lines",e.Dots="dots",e.Cross="cross"}(BackgroundVariant=BackgroundVariant||{});const defaultColor={[BackgroundVariant.Dots]:"#91919a",[BackgroundVariant.Lines]:"#eee",[BackgroundVariant.Cross]:"#e2e2e2"},defaultSize={[BackgroundVariant.Dots]:1,[BackgroundVariant.Lines]:1,[BackgroundVariant.Cross]:6},selector=e=>({transform:e.transform,patternId:"pattern-"+e.rfId});function Background({variant:e=BackgroundVariant.Dots,gap:t=20,size:n,lineWidth:o=1,color:a,style:r,className:i}){var d=react.exports.useRef(null),{transform:s,patternId:c}=useStore(selector,shallow),a=a||defaultColor[e],n=n||defaultSize[e],u=e===BackgroundVariant.Dots,e=e===BackgroundVariant.Cross,t=Array.isArray(t)?t:[t,t],t=[t[0]*s[2]||1,t[1]*s[2]||1],n=n*s[2],e=e?[n,n]:t,l=u?[n/2,n/2]:[e[0]/2,e[1]/2];return jsxRuntime.exports.jsxs("svg",{className:cc(["react-flow__background",i]),style:{...r,position:"absolute",width:"100%",height:"100%",top:0,left:0},ref:d,children:[jsxRuntime.exports.jsx("pattern",{id:c,x:s[0]%t[0],y:s[1]%t[1],width:t[0],height:t[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${l[0]},-${l[1]})`,children:u?jsxRuntime.exports.jsx(DotPattern,{color:a,radius:n/2}):jsxRuntime.exports.jsx(LinePattern,{dimensions:e,color:a,lineWidth:o})}),jsxRuntime.exports.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${c})`})]})}Background.displayName="Background";var match,version,store,wmget,wmhas,wmset,set,get,has,STATE,activeXDocument,IteratorPrototype$2,PrototypeOfArrayIteratorPrototype,arrayIterator,Background$1=react.exports.memo(Background),commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},check=function(e){return e&&e.Math==Math&&e},global$c=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||function(){return this}()||Function("return this")(),objectGetOwnPropertyDescriptor={},fails$c=function(e){try{return!!e()}catch(e){return!0}},fails$b=fails$c,descriptors=!fails$c(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),fails$a=fails$c,functionBindNative=!fails$c(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),NATIVE_BIND$1=functionBindNative,call$6=Function.prototype.call,functionCall=NATIVE_BIND$1?call$6.bind(call$6):function(){return call$6.apply(call$6,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$1&&!$propertyIsEnumerable.call({1:2},1),createPropertyDescriptor$3=(objectPropertyIsEnumerable.f=NASHORN_BUG?function(e){e=getOwnPropertyDescriptor$1(this,e);return!!e&&e.enumerable}:$propertyIsEnumerable,function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}),NATIVE_BIND=functionBindNative,FunctionPrototype$1=Function.prototype,bind=FunctionPrototype$1.bind,call$5=FunctionPrototype$1.call,uncurryThis$b=NATIVE_BIND&&bind.bind(call$5,call$5),functionUncurryThis=NATIVE_BIND?function(e){return e&&uncurryThis$b(e)}:function(e){return e&&function(){return call$5.apply(e,arguments)}},uncurryThis$a=functionUncurryThis,toString$1=uncurryThis$a({}.toString),stringSlice=uncurryThis$a("".slice),classofRaw=function(e){return stringSlice(toString$1(e),8,-1)},uncurryThis$9=functionUncurryThis,fails$9=fails$c,classof$1=classofRaw,$Object$3=Object,split=functionUncurryThis("".split),indexedObject=fails$9(function(){return!$Object$3("z").propertyIsEnumerable(0)})?function(e){return"String"==classof$1(e)?split(e,""):$Object$3(e)}:$Object$3,$TypeError$7=TypeError,requireObjectCoercible$2=function(e){if(null==e)throw $TypeError$7("Can't call method on "+e);return e},IndexedObject$2=indexedObject,requireObjectCoercible$1=requireObjectCoercible$2,toIndexedObject$5=function(e){return IndexedObject$2(requireObjectCoercible$1(e))},isCallable$e=function(e){return"function"==typeof e},isCallable$d=isCallable$e,isObject$5=function(e){return"object"==typeof e?null!==e:isCallable$d(e)},global$b=global$c,isCallable$c=isCallable$e,aFunction=function(e){return isCallable$c(e)?e:void 0},getBuiltIn$4=function(e,t){return arguments.length<2?aFunction(global$b[e]):global$b[e]&&global$b[e][t]},uncurryThis$8=functionUncurryThis,objectIsPrototypeOf=functionUncurryThis({}.isPrototypeOf),getBuiltIn$3=getBuiltIn$4,engineUserAgent=getBuiltIn$4("navigator","userAgent")||"",global$a=global$c,userAgent=engineUserAgent,process=global$a.process,Deno=global$a.Deno,versions=process&&process.versions||Deno&&Deno.version,v8=versions&&versions.v8,engineV8Version=version=!(version=v8?0<(match=v8.split("."))[0]&&match[0]<4?1:+(match[0]+match[1]):version)&&userAgent&&(!(match=userAgent.match(/Edge\/(\d+)/))||74<=match[1])&&(match=userAgent.match(/Chrome\/(\d+)/))?+match[1]:version,V8_VERSION=engineV8Version,fails$8=fails$c,nativeSymbol=!!Object.getOwnPropertySymbols&&!fails$8(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41}),NATIVE_SYMBOL$1=nativeSymbol,useSymbolAsUid=nativeSymbol&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,getBuiltIn$2=getBuiltIn$4,isCallable$b=isCallable$e,isPrototypeOf=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$2=Object,isSymbol$2=useSymbolAsUid?function(e){return"symbol"==typeof e}:function(e){var t=getBuiltIn$2("Symbol");return isCallable$b(t)&&isPrototypeOf(t.prototype,$Object$2(e))},$String$2=String,tryToString$1=function(e){try{return $String$2(e)}catch(e){return"Object"}},isCallable$a=isCallable$e,tryToString=tryToString$1,$TypeError$6=TypeError,aCallable$2=function(e){if(isCallable$a(e))return e;throw $TypeError$6(tryToString(e)+" is not a function")},aCallable$1=aCallable$2,getMethod$1=function(e,t){e=e[t];return null==e?void 0:aCallable$1(e)},call$4=functionCall,isCallable$9=isCallable$e,isObject$4=isObject$5,$TypeError$5=TypeError,ordinaryToPrimitive$1=function(e,t){var n,o;if("string"===t&&isCallable$9(n=e.toString)&&!isObject$4(o=call$4(n,e)))return o;if(isCallable$9(n=e.valueOf)&&!isObject$4(o=call$4(n,e)))return o;if("string"!==t&&isCallable$9(n=e.toString)&&!isObject$4(o=call$4(n,e)))return o;throw $TypeError$5("Can't convert object to primitive value")},shared$3={exports:{}},global$9=global$c,defineProperty$5=Object.defineProperty,defineGlobalProperty$3=function(t,n){try{defineProperty$5(global$9,t,{value:n,configurable:!0,writable:!0})}catch(e){global$9[t]=n}return n},global$8=global$c,defineGlobalProperty$2=defineGlobalProperty$3,SHARED="__core-js_shared__",store$3=global$c[SHARED]||defineGlobalProperty$2(SHARED,{}),sharedStore=store$3,store$2=sharedStore,requireObjectCoercible=((shared$3.exports=function(e,t){return store$2[e]||(store$2[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.24.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"}),requireObjectCoercible$2),$Object$1=Object,toObject$4=function(e){return $Object$1(requireObjectCoercible(e))},uncurryThis$7=functionUncurryThis,toObject$3=toObject$4,hasOwnProperty=functionUncurryThis({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function(e,t){return hasOwnProperty(toObject$3(e),t)},uncurryThis$6=functionUncurryThis,id=0,postfix=Math.random(),toString=uncurryThis$6(1..toString),uid$2=function(e){return"Symbol("+(void 0===e?"":e)+")_"+toString(++id+postfix,36)},global$7=global$c,shared$2=shared$3.exports,hasOwn$8=hasOwnProperty_1,uid$1=uid$2,NATIVE_SYMBOL=nativeSymbol,USE_SYMBOL_AS_UID=useSymbolAsUid,WellKnownSymbolsStore=shared$2("wks"),Symbol$1=global$7.Symbol,symbolFor=Symbol$1&&Symbol$1.for,createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid$1,wellKnownSymbol$6=function(e){var t;return hasOwn$8(WellKnownSymbolsStore,e)&&(NATIVE_SYMBOL||"string"==typeof WellKnownSymbolsStore[e])||(t="Symbol."+e,NATIVE_SYMBOL&&hasOwn$8(Symbol$1,e)?WellKnownSymbolsStore[e]=Symbol$1[e]:WellKnownSymbolsStore[e]=(USE_SYMBOL_AS_UID&&symbolFor?symbolFor:createWellKnownSymbol)(t)),WellKnownSymbolsStore[e]},call$3=functionCall,isObject$3=isObject$5,isSymbol$1=isSymbol$2,getMethod=getMethod$1,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$5=wellKnownSymbol$6,$TypeError$4=TypeError,TO_PRIMITIVE=wellKnownSymbol$6("toPrimitive"),toPrimitive$1=function(e,t){if(!isObject$3(e)||isSymbol$1(e))return e;var n=getMethod(e,TO_PRIMITIVE);if(n){if(n=call$3(n,e,t=void 0===t?"default":t),!isObject$3(n)||isSymbol$1(n))return n;throw $TypeError$4("Can't convert object to primitive value")}return ordinaryToPrimitive(e,t=void 0===t?"number":t)},toPrimitive=toPrimitive$1,isSymbol=isSymbol$2,toPropertyKey$2=function(e){e=toPrimitive(e,"string");return isSymbol(e)?e:e+""},global$6=global$c,isObject$2=isObject$5,document$1=global$c.document,EXISTS$1=isObject$2(document$1)&&isObject$2(document$1.createElement),documentCreateElement$2=function(e){return EXISTS$1?document$1.createElement(e):{}},DESCRIPTORS$9=descriptors,fails$7=fails$c,createElement=documentCreateElement$2,ie8DomDefine=!descriptors&&!fails$c(function(){return 7!=Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a}),DESCRIPTORS$8=descriptors,call$2=functionCall,propertyIsEnumerableModule$1=objectPropertyIsEnumerable,createPropertyDescriptor$2=createPropertyDescriptor$3,toIndexedObject$4=toIndexedObject$5,toPropertyKey$1=toPropertyKey$2,hasOwn$7=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor,objectDefineProperty=(objectGetOwnPropertyDescriptor.f=DESCRIPTORS$8?$getOwnPropertyDescriptor$1:function(e,t){if(e=toIndexedObject$4(e),t=toPropertyKey$1(t),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$1(e,t)}catch(e){}if(hasOwn$7(e,t))return createPropertyDescriptor$2(!call$2(propertyIsEnumerableModule$1.f,e,t),e[t])},{}),DESCRIPTORS$7=descriptors,fails$6=fails$c,v8PrototypeDefineBug=descriptors&&fails$c(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),isObject$1=isObject$5,$String$1=String,$TypeError$3=TypeError,anObject$5=function(e){if(isObject$1(e))return e;throw $TypeError$3($String$1(e)+" is not an object")},DESCRIPTORS$6=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG$1=v8PrototypeDefineBug,anObject$4=anObject$5,toPropertyKey=toPropertyKey$2,$TypeError$2=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable",DESCRIPTORS$5=(objectDefineProperty.f=DESCRIPTORS$6?V8_PROTOTYPE_DEFINE_BUG$1?function(e,t,n){var o;return anObject$4(e),t=toPropertyKey(t),anObject$4(n),"function"==typeof e&&"prototype"===t&&"value"in n&&WRITABLE in n&&!n[WRITABLE]&&((o=$getOwnPropertyDescriptor(e,t))&&o[WRITABLE]&&(e[t]=n.value,n={configurable:(CONFIGURABLE$1 in n?n:o)[CONFIGURABLE$1],enumerable:(ENUMERABLE in n?n:o)[ENUMERABLE],writable:!1})),$defineProperty(e,t,n)}:$defineProperty:function(e,t,n){if(anObject$4(e),t=toPropertyKey(t),anObject$4(n),IE8_DOM_DEFINE)try{return $defineProperty(e,t,n)}catch(e){}if("get"in n||"set"in n)throw $TypeError$2("Accessors not supported");return"value"in n&&(e[t]=n.value),e},descriptors),definePropertyModule$3=objectDefineProperty,createPropertyDescriptor$1=createPropertyDescriptor$3,createNonEnumerableProperty$4=DESCRIPTORS$5?function(e,t,n){return definePropertyModule$3.f(e,t,createPropertyDescriptor$1(1,n))}:function(e,t,n){return e[t]=n,e},makeBuiltIn$2={exports:{}},DESCRIPTORS$4=descriptors,hasOwn$6=hasOwnProperty_1,FunctionPrototype=Function.prototype,getDescriptor=DESCRIPTORS$4&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$6(FunctionPrototype,"name"),PROPER=EXISTS&&"something"===function(){}.name,CONFIGURABLE=EXISTS&&(!DESCRIPTORS$4||getDescriptor(FunctionPrototype,"name").configurable),functionName={EXISTS:EXISTS,PROPER:PROPER,CONFIGURABLE:CONFIGURABLE},uncurryThis$5=functionUncurryThis,isCallable$8=isCallable$e,store$1=sharedStore,functionToString=functionUncurryThis(Function.toString),inspectSource$2=(isCallable$8(store$1.inspectSource)||(store$1.inspectSource=function(e){return functionToString(e)}),store$1.inspectSource),global$5=global$c,isCallable$7=isCallable$e,inspectSource$1=inspectSource$2,WeakMap$1=global$c.WeakMap,nativeWeakMap=isCallable$7(WeakMap$1)&&/native code/.test(inspectSource$1(WeakMap$1)),shared$1=shared$3.exports,uid=uid$2,keys=shared$1("keys"),sharedKey$3=function(e){return keys[e]||(keys[e]=uid(e))},hiddenKeys$4={},NATIVE_WEAK_MAP=nativeWeakMap,global$4=global$c,uncurryThis$4=functionUncurryThis,isObject=isObject$5,createNonEnumerableProperty$3=createNonEnumerableProperty$4,hasOwn$5=hasOwnProperty_1,shared=sharedStore,sharedKey$2=sharedKey$3,hiddenKeys$3=hiddenKeys$4,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$1=global$4.TypeError,WeakMap=global$4.WeakMap,enforce=function(e){return has(e)?get(e):set(e,{})},getterFor=function(t){return function(e){if(isObject(e)&&(e=get(e)).type===t)return e;throw TypeError$1("Incompatible receiver, "+t+" required")}},internalState=(has=NATIVE_WEAK_MAP||shared.state?(store=shared.state||(shared.state=new WeakMap),wmget=uncurryThis$4(store.get),wmhas=uncurryThis$4(store.has),wmset=uncurryThis$4(store.set),set=function(e,t){if(wmhas(store,e))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return t.facade=e,wmset(store,e,t),t},get=function(e){return wmget(store,e)||{}},function(e){return wmhas(store,e)}):(STATE=sharedKey$2("state"),hiddenKeys$3[STATE]=!0,set=function(e,t){if(hasOwn$5(e,STATE))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return t.facade=e,createNonEnumerableProperty$3(e,STATE,t),t},get=function(e){return hasOwn$5(e,STATE)?e[STATE]:{}},function(e){return hasOwn$5(e,STATE)}),{set:set,get:get,has:has,enforce:enforce,getterFor:getterFor}),fails$5=fails$c,isCallable$6=isCallable$e,hasOwn$4=hasOwnProperty_1,DESCRIPTORS$3=descriptors,CONFIGURABLE_FUNCTION_NAME$1=functionName.CONFIGURABLE,inspectSource=inspectSource$2,InternalStateModule$1=internalState,enforceInternalState=InternalStateModule$1.enforce,getInternalState$1=InternalStateModule$1.get,defineProperty$4=Object.defineProperty,CONFIGURABLE_LENGTH=DESCRIPTORS$3&&!fails$5(function(){return 8!==defineProperty$4(function(){},"length",{value:8}).length}),TEMPLATE=String(String).split("String"),makeBuiltIn$1=makeBuiltIn$2.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!hasOwn$4(e,"name")||CONFIGURABLE_FUNCTION_NAME$1&&e.name!==t)&&(DESCRIPTORS$3?defineProperty$4(e,"name",{value:t,configurable:!0}):e.name=t),CONFIGURABLE_LENGTH&&n&&hasOwn$4(n,"arity")&&e.length!==n.arity&&defineProperty$4(e,"length",{value:n.arity});try{n&&hasOwn$4(n,"constructor")&&n.constructor?DESCRIPTORS$3&&defineProperty$4(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}n=enforceInternalState(e);return hasOwn$4(n,"source")||(n.source=TEMPLATE.join("string"==typeof t?t:"")),e},isCallable$5=(Function.prototype.toString=makeBuiltIn$1(function(){return isCallable$6(this)&&getInternalState$1(this).source||inspectSource(this)},"toString"),isCallable$e),definePropertyModule$2=objectDefineProperty,makeBuiltIn=makeBuiltIn$2.exports,defineGlobalProperty$1=defineGlobalProperty$3,defineBuiltIn$3=function(e,t,n,o){var a=(o=o||{}).enumerable,r=void 0!==o.name?o.name:t;if(isCallable$5(n)&&makeBuiltIn(n,r,o),o.global)a?e[t]=n:defineGlobalProperty$1(t,n);else{try{o.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=n:definePropertyModule$2.f(e,t,{value:n,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e},objectGetOwnPropertyNames={},ceil=Math.ceil,floor=Math.floor,mathTrunc=Math.trunc||function(e){e=+e;return(0<e?floor:ceil)(e)},trunc=mathTrunc,toIntegerOrInfinity$2=function(e){e=+e;return e!=e||0==e?0:trunc(e)},toIntegerOrInfinity$1=toIntegerOrInfinity$2,max=Math.max,min$1=Math.min,toAbsoluteIndex$1=function(e,t){e=toIntegerOrInfinity$1(e);return e<0?max(e+t,0):min$1(e,t)},toIntegerOrInfinity=toIntegerOrInfinity$2,min=Math.min,toLength$1=function(e){return 0<e?min(toIntegerOrInfinity(e),9007199254740991):0},toLength=toLength$1,lengthOfArrayLike$2=function(e){return toLength(e.length)},toIndexedObject$3=toIndexedObject$5,toAbsoluteIndex=toAbsoluteIndex$1,lengthOfArrayLike$1=lengthOfArrayLike$2,createMethod$1=function(d){return function(e,t,n){var o,a=toIndexedObject$3(e),r=lengthOfArrayLike$1(a),i=toAbsoluteIndex(n,r);if(d&&t!=t){for(;i<r;)if((o=a[i++])!=o)return!0}else for(;i<r;i++)if((d||i in a)&&a[i]===t)return d||i||0;return!d&&-1}},arrayIncludes={includes:createMethod$1(!0),indexOf:createMethod$1(!1)},uncurryThis$3=functionUncurryThis,hasOwn$3=hasOwnProperty_1,toIndexedObject$2=toIndexedObject$5,indexOf=arrayIncludes.indexOf,hiddenKeys$2=hiddenKeys$4,push=uncurryThis$3([].push),objectKeysInternal=function(e,t){var n,o=toIndexedObject$2(e),a=0,r=[];for(n in o)!hasOwn$3(hiddenKeys$2,n)&&hasOwn$3(o,n)&&push(r,n);for(;t.length>a;)!hasOwn$3(o,n=t[a++])||~indexOf(r,n)||push(r,n);return r},enumBugKeys$3=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1=objectKeysInternal,enumBugKeys$2=enumBugKeys$3,hiddenKeys$1=enumBugKeys$3.concat("length","prototype"),objectGetOwnPropertySymbols=(objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function(e){return internalObjectKeys$1(e,hiddenKeys$1)},{}),getBuiltIn$1=(objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols,getBuiltIn$4),uncurryThis$2=functionUncurryThis,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertySymbolsModule$1=objectGetOwnPropertySymbols,anObject$3=anObject$5,concat$1=functionUncurryThis([].concat),ownKeys$1=getBuiltIn$1("Reflect","ownKeys")||function(e){var t=getOwnPropertyNamesModule.f(anObject$3(e)),n=getOwnPropertySymbolsModule$1.f;return n?concat$1(t,n(e)):t},hasOwn$2=hasOwnProperty_1,ownKeys=ownKeys$1,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule$1=objectDefineProperty,copyConstructorProperties$1=function(e,t,n){for(var o=ownKeys(t),a=definePropertyModule$1.f,r=getOwnPropertyDescriptorModule.f,i=0;i<o.length;i++){var d=o[i];hasOwn$2(e,d)||n&&hasOwn$2(n,d)||a(e,d,r(t,d))}},fails$4=fails$c,isCallable$4=isCallable$e,replacement=/#|\.prototype\./,isForced$1=function(e,t){e=data[normalize(e)];return e==POLYFILL||e!=NATIVE&&(isCallable$4(t)?fails$4(t):!!t)},normalize=isForced$1.normalize=function(e){return String(e).replace(replacement,".").toLowerCase()},data=isForced$1.data={},NATIVE=isForced$1.NATIVE="N",POLYFILL=isForced$1.POLYFILL="P",isForced_1=isForced$1,global$3=global$c,getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,createNonEnumerableProperty$2=createNonEnumerableProperty$4,defineBuiltIn$2=defineBuiltIn$3,defineGlobalProperty=defineGlobalProperty$3,copyConstructorProperties=copyConstructorProperties$1,isForced=isForced_1,_export=function(e,t){var n,o,a,r=e.target,i=e.global,d=e.stat,s=i?global$3:d?global$3[r]||defineGlobalProperty(r,{}):(global$3[r]||{}).prototype;if(s)for(n in t){if(o=t[n],a=e.dontCallGetSet?(a=getOwnPropertyDescriptor(s,n))&&a.value:s[n],!isForced(i?n:r+(d?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;copyConstructorProperties(o,a)}(e.sham||a&&a.sham)&&createNonEnumerableProperty$2(o,"sham",!0),defineBuiltIn$2(s,n,o,e)}},internalObjectKeys=objectKeysInternal,enumBugKeys$1=enumBugKeys$3,objectKeys$2=Object.keys||function(e){return internalObjectKeys(e,enumBugKeys$1)},DESCRIPTORS$2=descriptors,uncurryThis$1=functionUncurryThis,call$1=functionCall,fails$3=fails$c,objectKeys$1=objectKeys$2,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,propertyIsEnumerableModule=objectPropertyIsEnumerable,toObject$2=toObject$4,IndexedObject$1=indexedObject,$assign=Object.assign,defineProperty$3=Object.defineProperty,concat=uncurryThis$1([].concat),objectAssign=!$assign||fails$3(function(){if(DESCRIPTORS$2&&1!==$assign({b:1},$assign(defineProperty$3({},"a",{enumerable:!0,get:function(){defineProperty$3(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach(function(e){t[e]=e}),7!=$assign({},e)[n]||objectKeys$1($assign({},t)).join("")!=o})?function(e,t){for(var n=toObject$2(e),o=arguments.length,a=1,r=getOwnPropertySymbolsModule.f,i=propertyIsEnumerableModule.f;a<o;)for(var d,s=IndexedObject$1(arguments[a++]),c=r?concat(objectKeys$1(s),r(s)):objectKeys$1(s),u=c.length,l=0;l<u;)d=c[l++],DESCRIPTORS$2&&!call$1(i,s,d)||(n[d]=s[d]);return n}:$assign,$$2=_export,assign=objectAssign,objectDefineProperties=(_export({target:"Object",stat:!0,arity:2,forced:Object.assign!==assign},{assign:assign}),{}),DESCRIPTORS$1=descriptors,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,definePropertyModule=objectDefineProperty,anObject$2=anObject$5,toIndexedObject$1=toIndexedObject$5,objectKeys=objectKeys$2,getBuiltIn=(objectDefineProperties.f=DESCRIPTORS$1&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function(e,t){anObject$2(e);for(var n,o=toIndexedObject$1(t),a=objectKeys(t),r=a.length,i=0;i<r;)definePropertyModule.f(e,n=a[i++],o[n]);return e},getBuiltIn$4),html$1=getBuiltIn$4("document","documentElement"),anObject$1=anObject$5,definePropertiesModule=objectDefineProperties,enumBugKeys=enumBugKeys$3,hiddenKeys=hiddenKeys$4,html=html$1,documentCreateElement$1=documentCreateElement$2,sharedKey$1=sharedKey$3,GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO$1=sharedKey$3("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return LT+SCRIPT+GT+e+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(e){e.write(scriptTag("")),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObjectViaIFrame=function(){var e=documentCreateElement$1("iframe"),t="java"+SCRIPT+":";return e.style.display="none",html.appendChild(e),e.src=String(t),(t=e.contentWindow.document).open(),t.write(scriptTag("document.F=Object")),t.close(),t.F},NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch(e){}NullProtoObject="undefined"==typeof document||document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame();for(var e=enumBugKeys.length;e--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[e]];return NullProtoObject()},objectCreate=(hiddenKeys[IE_PROTO$1]=!0,Object.create||function(e,t){var n;return null!==e?(EmptyConstructor[PROTOTYPE]=anObject$1(e),n=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,n[IE_PROTO$1]=e):n=NullProtoObject(),void 0===t?n:definePropertiesModule.f(n,t)}),wellKnownSymbol$4=wellKnownSymbol$6,create$1=objectCreate,defineProperty$2=objectDefineProperty.f,UNSCOPABLES=wellKnownSymbol$4("unscopables"),ArrayPrototype=Array.prototype,addToUnscopables$1=(null==ArrayPrototype[UNSCOPABLES]&&defineProperty$2(ArrayPrototype,UNSCOPABLES,{configurable:!0,value:create$1(null)}),function(e){ArrayPrototype[UNSCOPABLES][e]=!0}),iterators={},fails$2=fails$c,correctPrototypeGetter=!fails$c(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),hasOwn$1=hasOwnProperty_1,isCallable$3=isCallable$e,toObject$1=toObject$4,sharedKey=sharedKey$3,CORRECT_PROTOTYPE_GETTER=correctPrototypeGetter,IE_PROTO=sharedKey$3("IE_PROTO"),$Object=Object,ObjectPrototype=$Object.prototype,objectGetPrototypeOf=CORRECT_PROTOTYPE_GETTER?$Object.getPrototypeOf:function(e){e=toObject$1(e);if(hasOwn$1(e,IE_PROTO))return e[IE_PROTO];var t=e.constructor;return isCallable$3(t)&&e instanceof t?t.prototype:e instanceof $Object?ObjectPrototype:null},fails$1=fails$c,isCallable$2=isCallable$e,getPrototypeOf$1=objectGetPrototypeOf,defineBuiltIn$1=defineBuiltIn$3,wellKnownSymbol$3=wellKnownSymbol$6,ITERATOR$2=wellKnownSymbol$6("iterator"),BUGGY_SAFARI_ITERATORS$1=!1,NEW_ITERATOR_PROTOTYPE=([].keys&&("next"in(arrayIterator=[].keys())?(PrototypeOfArrayIteratorPrototype=getPrototypeOf$1(getPrototypeOf$1(arrayIterator)))!==Object.prototype&&(IteratorPrototype$2=PrototypeOfArrayIteratorPrototype):BUGGY_SAFARI_ITERATORS$1=!0),null==IteratorPrototype$2||fails$1(function(){var e={};return IteratorPrototype$2[ITERATOR$2].call(e)!==e})),iteratorsCore=(isCallable$2((IteratorPrototype$2=NEW_ITERATOR_PROTOTYPE?{}:IteratorPrototype$2)[ITERATOR$2])||defineBuiltIn$1(IteratorPrototype$2,ITERATOR$2,function(){return this}),{IteratorPrototype:IteratorPrototype$2,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS$1}),defineProperty$1=objectDefineProperty.f,hasOwn=hasOwnProperty_1,wellKnownSymbol$2=wellKnownSymbol$6,TO_STRING_TAG$1=wellKnownSymbol$6("toStringTag"),setToStringTag$2=function(e,t,n){(e=e&&!n?e.prototype:e)&&!hasOwn(e,TO_STRING_TAG$1)&&defineProperty$1(e,TO_STRING_TAG$1,{configurable:!0,value:t})},IteratorPrototype$1=iteratorsCore.IteratorPrototype,create=objectCreate,createPropertyDescriptor=createPropertyDescriptor$3,setToStringTag$1=setToStringTag$2,Iterators$2=iterators,returnThis$1=function(){return this},createIteratorConstructor$1=function(e,t,n,o){t+=" Iterator";return e.prototype=create(IteratorPrototype$1,{next:createPropertyDescriptor(+!o,n)}),setToStringTag$1(e,t,!1),Iterators$2[t]=returnThis$1,e},isCallable$1=isCallable$e,$String=String,$TypeError$1=TypeError,aPossiblePrototype$1=function(e){if("object"==typeof e||isCallable$1(e))return e;throw $TypeError$1("Can't set "+$String(e)+" as a prototype")},uncurryThis=functionUncurryThis,anObject=anObject$5,aPossiblePrototype=aPossiblePrototype$1,objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var n,o=!1,e={};try{(n=uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(e,[]),o=e instanceof Array}catch(e){}return function(e,t){return anObject(e),aPossiblePrototype(t),o?n(e,t):e.__proto__=t,e}}():void 0),$$1=_export,call=functionCall,FunctionName=functionName,isCallable=isCallable$e,createIteratorConstructor=createIteratorConstructor$1,getPrototypeOf=objectGetPrototypeOf,setPrototypeOf=objectSetPrototypeOf,setToStringTag=setToStringTag$2,createNonEnumerableProperty$1=createNonEnumerableProperty$4,defineBuiltIn=defineBuiltIn$3,wellKnownSymbol$1=wellKnownSymbol$6,Iterators$1=iterators,IteratorsCore=iteratorsCore,PROPER_FUNCTION_NAME=FunctionName.PROPER,CONFIGURABLE_FUNCTION_NAME=FunctionName.CONFIGURABLE,IteratorPrototype=IteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR$1=wellKnownSymbol$1("iterator"),KEYS="keys",VALUES="values",ENTRIES="entries",returnThis=function(){return this},defineIterator$1=function(e,t,n,o,a,r,i){createIteratorConstructor(n,t,o);function d(e){if(e===a&&f)return f;if(!BUGGY_SAFARI_ITERATORS&&e in l)return l[e];switch(e){case KEYS:case VALUES:case ENTRIES:return function(){return new n(this,e)}}return function(){return new n(this)}}var s,c,o=t+" Iterator",u=!1,l=e.prototype,p=l[ITERATOR$1]||l["@@iterator"]||a&&l[a],f=!BUGGY_SAFARI_ITERATORS&&p||d(a),m="Array"==t&&l.entries||p;if(m&&(m=getPrototypeOf(m.call(new e)))!==Object.prototype&&m.next&&(getPrototypeOf(m)!==IteratorPrototype&&(setPrototypeOf?setPrototypeOf(m,IteratorPrototype):isCallable(m[ITERATOR$1])||defineBuiltIn(m,ITERATOR$1,returnThis)),setToStringTag(m,o,!0)),PROPER_FUNCTION_NAME&&a==VALUES&&p&&p.name!==VALUES&&(CONFIGURABLE_FUNCTION_NAME?createNonEnumerableProperty$1(l,"name",VALUES):(u=!0,f=function(){return call(p,this)})),a)if(s={values:d(VALUES),keys:r?f:d(KEYS),entries:d(ENTRIES)},i)for(c in s)!BUGGY_SAFARI_ITERATORS&&!u&&c in l||defineBuiltIn(l,c,s[c]);else $$1({target:t,proto:!0,forced:BUGGY_SAFARI_ITERATORS||u},s);return l[ITERATOR$1]!==f&&defineBuiltIn(l,ITERATOR$1,f,{name:a}),Iterators$1[t]=f,s},toIndexedObject=toIndexedObject$5,addToUnscopables=addToUnscopables$1,Iterators=iterators,InternalStateModule=internalState,defineProperty=objectDefineProperty.f,defineIterator=defineIterator$1,DESCRIPTORS=descriptors,ARRAY_ITERATOR="Array Iterator",setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor(ARRAY_ITERATOR),es_array_iterator=defineIterator(Array,"Array",function(e,t){setInternalState(this,{type:ARRAY_ITERATOR,target:toIndexedObject(e),index:0,kind:t})},function(){var e=getInternalState(this),t=e.target,n=e.kind,o=e.index++;return!t||o>=t.length?{value:e.target=void 0,done:!0}:"keys"==n?{value:o,done:!1}:"values"==n?{value:t[o],done:!1}:{value:[o,t[o]],done:!1}},"values"),values=Iterators.Arguments=Iterators.Array;if(addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries"),DESCRIPTORS&&"values"!==values.name)try{defineProperty(values,"name",{value:"values"})}catch(e){}var COLLECTION_NAME,domIterables={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},documentCreateElement=documentCreateElement$2,classList=documentCreateElement$2("span").classList,DOMTokenListPrototype$1=classList&&classList.constructor&&classList.constructor.prototype,domTokenListPrototype=DOMTokenListPrototype$1===Object.prototype?void 0:DOMTokenListPrototype$1,global$2=global$c,DOMIterables=domIterables,DOMTokenListPrototype=domTokenListPrototype,ArrayIteratorMethods=es_array_iterator,createNonEnumerableProperty=createNonEnumerableProperty$4,wellKnownSymbol=wellKnownSymbol$6,ITERATOR=wellKnownSymbol("iterator"),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ArrayValues=ArrayIteratorMethods.values,handlePrototype=function(t,e){if(t){if(t[ITERATOR]!==ArrayValues)try{createNonEnumerableProperty(t,ITERATOR,ArrayValues)}catch(e){t[ITERATOR]=ArrayValues}if(t[TO_STRING_TAG]||createNonEnumerableProperty(t,TO_STRING_TAG,e),DOMIterables[e])for(var n in ArrayIteratorMethods)if(t[n]!==ArrayIteratorMethods[n])try{createNonEnumerableProperty(t,n,ArrayIteratorMethods[n])}catch(e){t[n]=ArrayIteratorMethods[n]}}};for(COLLECTION_NAME in DOMIterables)handlePrototype(global$2[COLLECTION_NAME]&&global$2[COLLECTION_NAME].prototype,COLLECTION_NAME);function __rest(e,t){var n={};for(a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n}function __awaiter(e,i,d,s){return new(d=d||Promise)(function(n,t){function o(e){try{r(s.next(e))}catch(e){t(e)}}function a(e){try{r(s.throw(e))}catch(e){t(e)}}function r(e){var t;e.done?n(e.value):((t=e.value)instanceof d?t:new d(function(e){e(t)})).then(o,a)}r((s=s.apply(e,i||[])).next())})}handlePrototype(DOMTokenListPrototype,"DOMTokenList");var LoadingStatus,aCallable=aCallable$2,toObject=toObject$4,IndexedObject=indexedObject,lengthOfArrayLike=lengthOfArrayLike$2,$TypeError=TypeError,createMethod=function(c){return function(e,t,n,o){aCallable(t);var a=toObject(e),r=IndexedObject(a),i=lengthOfArrayLike(a),d=c?i-1:0,s=c?-1:1;if(n<2)for(;;){if(d in r){o=r[d],d+=s;break}if(d+=s,c?d<0:i<=d)throw $TypeError("Reduce of empty array with no initial value")}for(;c?0<=d:d<i;d+=s)d in r&&(o=t(o,r[d],d,a));return o}},arrayReduce={left:createMethod(!1),right:createMethod(!0)},fails=fails$c,arrayMethodIsStrict$1=function(e,t){var n=[][e];return!!n&&fails(function(){n.call(null,t||function(){return 1},1)})},classof=classofRaw,global$1=global$c,engineIsNode="process"==classofRaw(global$c.process),$=_export,$reduce=arrayReduce.left,arrayMethodIsStrict=arrayMethodIsStrict$1,CHROME_VERSION=engineV8Version,IS_NODE=engineIsNode,STRICT_METHOD=arrayMethodIsStrict$1("reduce"),CHROME_BUG=!IS_NODE&&79<CHROME_VERSION&&CHROME_VERSION<83;$({target:"Array",proto:!0,forced:!STRICT_METHOD||CHROME_BUG},{reduce:function(e){var t=arguments.length;return $reduce(this,e,t,1<t?arguments[1]:void 0)}});const SLICE_NAME="processingCenterDagBuilder",PAGE_LIMIT=30;!function(e){e.Failed="failed",e.Idle="idle",e.Pending="pending",e.Complete="complete"}(LoadingStatus=LoadingStatus||{});var mockEngineCategories=[{id:"0b10da6b-3485-496c-a2cb-aabf59a6352d",name:"Push"},{id:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"Pull"},{id:"4be1a1b2-653d-4eaa-ba18-747a265305d8",name:"Ingestion"},{id:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription"},{id:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Translate"},{id:"24ffd12d-fcda-4f47-8843-b2e5dbfbb01f",name:"Summarization"}],mockEngines=[{id:"b1e7baac-7e4f-4b37-879e-cee7bb076e10",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"NITF File Import (test)",mode:"Batch",outputFormats:null,supportedInputFormats:["application/json"]},{id:"42025a11-7f68-4800-b97e-c990f1147c9d",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"myAdapter4Docs",mode:null,outputFormats:null,supportedInputFormats:null},{id:"bd39bdce-9115-4e42-9144-5fecafcf82b8",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"audio-watermark-adapter",mode:"Batch",outputFormats:["application/json"],supportedInputFormats:["application/json"]},{id:"b1ae5ddd-6ee7-43af-9e3f-1dd74ad89ce0",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"Resemble.AI Text to Speech",mode:"Batch",outputFormats:["application/json"],supportedInputFormats:["application/json"]},{id:"fcc23a76-4f36-46d9-86b1-78e83acdd0f9",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"Nielsen Radio Audience V3",mode:"Batch",outputFormats:null,supportedInputFormats:["application/json"]},{id:"ccf24d4d-e9c0-4dae-887c-d2b5f9cc3255",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"YouTube Adapter",mode:"Stream",outputFormats:null,supportedInputFormats:["video/mp4"]},{id:"54406c70-ee71-47d8-b091-92f6cbce4238",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"podcast_2",mode:"Stream",outputFormats:["video/mp4"],supportedInputFormats:null},{id:"4de86f3a-703b-47fa-907b-8ead85897b18",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"External Adapter",mode:"Stream",outputFormats:["video/mp4"],supportedInputFormats:null},{id:"075e728f-d835-4dbc-b81b-9bdfc1b985b0",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"TV Automation BXFData",mode:"Batch",outputFormats:["application/json"],supportedInputFormats:null},{id:"8e0f4cc4-9ff4-4814-8cae-91f0a81879d1",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"SFTP Adapter",mode:"Stream",outputFormats:["application/json"],supportedInputFormats:null},{id:"c90bfb8a-bde3-4a1f-ae42-6c47f69812da",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"WideOrbit Traffic",mode:"Batch",outputFormats:null,supportedInputFormats:["application/json"]},{id:"a6da2cdc-948a-4fd2-9916-67fcbad7cc7f",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"NAS Adapter",mode:"Stream",outputFormats:["application/json"],supportedInputFormats:null},{id:"3da2c305-c2e7-4c20-b208-78a107a39274",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"Nielsen Radio Audience",mode:"Batch",outputFormats:["application/json"],supportedInputFormats:["application/json"]},{id:"a725de38-f538-4c4a-b835-b0bd4ab1a255",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"Podcast Adapter",mode:"Stream",outputFormats:["video/mp4"],supportedInputFormats:["application/json"]},{id:"cef516e4-d461-4d17-b01f-6c7bdfcaa204",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"Podcast Adapter",mode:"Stream",outputFormats:["video/mp4"],supportedInputFormats:null},{id:"08766601-b878-428e-a704-3b349b2ad9f5",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"IHeart Adapter V3F",mode:"Stream",outputFormats:["audio/aac"],supportedInputFormats:["application/json"]},{id:"74dfd76b-472a-48f0-8395-c7e01dd7fd24",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"TV and Radio Adapter V2",mode:"Stream",outputFormats:["video/webm"],supportedInputFormats:null},{id:"74dfd76b-472a-48f0-8395-c7e01dd7f255",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"TV and Radio Adapter",mode:"Stream",outputFormats:["video/webm"],supportedInputFormats:["application/json"]},{id:"d82fa1f5-f1c2-4e98-9c5f-573f8776852f",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"National Audience Data Adapter",mode:"Batch",outputFormats:["application/json"],supportedInputFormats:["application/json"]},{id:"61b28b11-ca2e-4825-962e-4a9312f15aa0",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"Amazon S3",mode:"Stream",outputFormats:["video/mp4"],supportedInputFormats:["application/json"]},{id:"829846b5-3c87-4c22-a890-e80c82cc072b",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"Amazon Kinesis Video Adapter",mode:"Stream",outputFormats:["video/webm"],supportedInputFormats:null},{id:"9e611ad7-2d3b-48f6-a51b-0a1ba40fe255",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"Webstream Adapter",mode:"Stream",outputFormats:["video/webm"],supportedInputFormats:["application/json"]},{id:"9e611ad7-2d3b-48f6-a51b-0a1ba40feab4",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"Webstream Adapter",mode:"Stream",outputFormats:["video/webm"],supportedInputFormats:null},{id:"4d0b2407-f2af-4f19-bdfc-83f74981790a",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"Open Weather Adapter",mode:"Batch",outputFormats:["application/json"],supportedInputFormats:null},{id:"9b4357b3-93bc-4886-bc62-53384eede9f5",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"RSS Adapter",mode:"Stream",outputFormats:["video/mp4"],supportedInputFormats:null},{id:"8e1e1f59-67ef-41d8-a7f4-5e797884618c",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"FTP Adapter",mode:"Stream",outputFormats:["application/json"],supportedInputFormats:null},{id:"3bfcd954-7c0c-4456-903d-28e37caee711",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"Box Adapter",mode:"Stream",outputFormats:["application/json"],supportedInputFormats:null},{id:"b79d94cc-5b95-4bbd-ac01-f54b147f406f",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"Google Drive Adapter",mode:"Stream",outputFormats:["application/json"],supportedInputFormats:null},{id:"447a3128-6348-4644-99d9-22401322b46b",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"Session Initiation Protocol",mode:"Stream",outputFormats:["audio/wav"],supportedInputFormats:null},{id:"7dc1ee44-32f3-499a-9b7b-d040440e5e9a",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"Dropbox Adapter",mode:"Stream",outputFormats:["video/mp4"],supportedInputFormats:null},{id:"download-file-container",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"Download Container",mode:null,outputFormats:null,supportedInputFormats:null},{id:"s3-scanner",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"S3 Scanner",mode:null,outputFormats:null,supportedInputFormats:null},{id:"download-file",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"Download",mode:null,outputFormats:null,supportedInputFormats:null},{id:"record-from-stream",categoryId:"4b150c85-82d0-4a18-b7fb-63e4a58dfcce",name:"record-from-stream",mode:null,outputFormats:null,supportedInputFormats:null},{id:"5b8bca80-ba66-4866-9d53-0a53e01f81be",categoryId:"0b10da6b-3485-496c-a2cb-aabf59a6352d",name:"ggjg",mode:null,outputFormats:null,supportedInputFormats:null},{id:"bb544ade-461c-11ea-8604-a3b3a83f5182",categoryId:"0b10da6b-3485-496c-a2cb-aabf59a6352d",name:"Push - HTTP",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:null},{id:"d1bc57fe-675d-435d-9f4d-2f074485ec55",categoryId:"0b10da6b-3485-496c-a2cb-aabf59a6352d",name:"WebRTC Push Adapter",mode:"Stream",outputFormats:["video/webm"],supportedInputFormats:null},{id:"f0518ec9-e03d-41e0-bfae-164958eb59c1",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Microsoft Translate Chunk - V3",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/html","text/plain","text/plain; charset=utf-8"]},{id:"593368ab-19da-4ceb-982c-963536e57b99",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Norwegian to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"b444a83d-e04c-4bc1-8f01-5f651d8c815f",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Romanian to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"2a1e6d18-40d7-4b31-aa6d-7cc808c710a5",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Malay to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"7abf5bdc-eef4-4919-bd16-f109965cabf1",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Lithuanian to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"6a94e783-d279-46a7-9773-0c6ca1695369",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Swedish to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"572f7abd-2253-4c6a-b5a0-491c0ecee27f",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Polish to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"629f0e7c-dad2-4f93-87fb-5b5cb86d8646",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Danish to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"02c33d74-39aa-41be-a6c2-8593941f6a92",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Slovak to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"bde850d5-a9df-4cb6-a171-75df735c9ac8",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Latvian to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"bc52b2c4-4850-4b98-9d62-3ec022064325",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Ukrainian to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"24805867-1718-47f3-972a-39d6eb58a0c5",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Indonesian to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"8009256d-8e45-4eee-a653-cf0c8e77577f",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Hebrew to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"f4983a56-8780-4a32-818e-42c85136b625",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Finnish to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"bf8262ce-de69-4e94-9e14-382da61ac1e5",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Greek to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"f2a0023b-b00a-4131-8fe3-18c7a9ab52a2",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Georgian to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"90fcaf22-048c-4a2a-83b0-717057184df1",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Traditional Chinese to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"af142c87-8442-4a1d-9460-c7aab753fe2e",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Dutch to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"6397b02d-672f-4776-8521-e2859bd4e27c",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Hungarian to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"d9a7af18-df27-4996-8ffe-8d8b943921a7",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Bengali to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"0be442eb-27a1-46ee-8c64-32c55c521f0e",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Thai to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"5d045924-c8b6-4e4d-a0ab-7189550f31f1",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Turkish to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"7ebd48ad-ced3-4d7b-a2b3-4398d3e77d66",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Russian to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"e2d273d1-3602-4fa0-9021-433376086396",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Korean to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"ec0936a2-3068-40c5-90a6-62f9a46a1ff3",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Japanese to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"b98a424f-fb45-41ee-8c31-1717ad243256",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - German to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"479eaab8-2e0f-4830-9f00-8db0c32578ef",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Italian to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"1654f7f3-a422-4a1b-8477-33d82ca70fc9",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Portuguese to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"3f4184df-cea3-41df-a678-a7432f23821e",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Spanish to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"c28fdd15-b830-4382-863a-8d591038cc8b",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - Chinese to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"b0922979-94b0-4b1f-a9fc-251755f99a6a",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Translation (2022) - French to English",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/ttml+xml"]},{id:"ef4b8590-952f-4f1d-9948-2079a1fb5b8d",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Google Translate (v3)",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/html","text/plain","text/plain; charset=utf-8"]},{id:"ad40c7ed-15a4-490b-b7e6-a77ff3675596",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Amazon Translate TTML",mode:"Batch",outputFormats:null,supportedInputFormats:["application/ttml+xml"]},{id:"a1fbd308-7b4c-4e6e-9c84-b0126c1bf34e",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Thai to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"7e770a2b-42e8-42ce-9d63-9bd1d8f641d9",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Norwegian to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"d5a21acb-823b-4ce1-8bf4-d435d7e43480",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Korean to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"34cb6531-8de2-4040-925a-3313efbf1ae3",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Turkish to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"bb586132-1754-48d6-821e-dc7cfa32fa8b",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Romanian to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"a11430b4-5b06-41ea-8f85-d0720b772908",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Malay to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"2d0eb245-13cd-497e-81b2-c26a31034906",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Lithuanian to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"71bcc83e-6859-4f0b-87ee-3c40dfab4f3a",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Estonian to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"fe16e5f2-2f49-4a88-a161-ce40ba2e8333",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Chinese Traditional to English 2020 GPU V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"86cd895a-000d-42db-ad38-dc1e40a2d867",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Chinese Simplified to English 2020 GPU V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"cae61597-2b61-42d0-8970-045d9a5ac402",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Swedish to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"4e304bd6-76d1-463e-be5f-896a16c30e0d",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Polish to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"9c6e674d-1c70-4b1a-99c0-973ad4476815",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Danish to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"18945e34-112b-465e-8b78-5781577a2596",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Slovak to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"9e56485a-9f4f-421d-8d58-8b7b5bc83d4a",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Russian to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"191f1350-ae4b-46f4-9a83-ef2dafd633d5",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Latvian to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"3b97a44b-6711-47bb-9159-fd3d9b4d2275",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Finnish to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"0e54a71b-c47c-4518-aeae-d808a27bf837",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Indonesian to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"b6c8b216-766a-42e3-a653-3e9a3e644efa",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Greek to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"fdf06179-8d85-4f66-a497-5284112993b7",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Hebrew to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"4454a51f-0f40-44e6-a4ae-de33ec591464",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Ukrainian to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"25e78afb-1698-477f-8099-0419b0174c08",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - German to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"f5d4f3f3-daec-4bec-9127-3035bdd01314",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - French to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"30bab328-65b5-41aa-8a4e-44a118893b1d",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Japanese to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"8a3ee494-732f-428f-8177-aeefd4b7e11b",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Portuguese to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"1e5c997d-7534-4f4a-952f-d5875bc24692",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Dutch to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"f058750b-cffe-4f4c-85fe-588525707080",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Hungarian to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"3a8eec01-b84a-406c-90aa-1bb76a4c15ff",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Spanish to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"a4c6ffea-9253-4b3c-970c-6ecc85d89345",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Georgian to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"2939f356-2af6-45bd-bb03-8f4ec192b828",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Italian to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["application/ttml+xml","text/plain"]},{id:"f7d66ba4-6b5e-4699-9fcd-6ccbed7c7baf",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Chinese Traditional to English 2019 V3",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"74d6e175-737e-4a18-bf65-85fd19c775cd",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Chinese Simplified to English 2019 V3",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"99fd7b20-b788-4788-a5f6-eee2d6a4d48c",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Chinese Traditional to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"d5e2acce-b572-4701-b51e-29cb59532c14",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Chinese Simplified to English 2020 V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"c9ec504d-a3b5-4102-be43-4e53d0658d2d",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"OpenText-XML-Translation-Batch-V3",mode:"Batch",outputFormats:null,supportedInputFormats:["text/html","text/plain","text/plain; charset=utf-8","application/xml"]},{id:"1fc4d3d4-54ab-42d1-882c-cfc9df42f386",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Amazon - Translate - (US East)",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain"]},{id:"477b1aba-8ac4-4526-aef3-359c14ea416a",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Microsoft Cognitive Services - Translator",mode:"Chunk",outputFormats:["text/plain"],supportedInputFormats:["text/plain"]},{id:"a7a16a08-a2f7-4f4f-94ea-e75e74cc8252",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Google - Translate - VOA V3",mode:"Chunk",outputFormats:["text/plain"],supportedInputFormats:["text/plain"]},{id:"2896aeda-59ce-431f-a387-b12a32f7c611",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Veritone - Translate-Batch",mode:"Batch",outputFormats:["application/json"],supportedInputFormats:["video/mp4","audio/flac","audio/wav","audio/mp4","video/mpeg","video/quicktime","audio/mpeg"]},{id:"76485735-68d7-4bba-9dd8-b7abb4688aa6",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Veritone - Translate-Batch",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"407572e9-234b-49bb-8598-9d83fd2b1e96",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Microsoft - Translate - VOA",mode:"Batch",outputFormats:["application/json"],supportedInputFormats:["application/json"]},{id:"18b6beee-0656-442c-9929-675fa725e7b3",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Microsoft Cognitive Services - Translator",mode:"Batch",outputFormats:["application/json"],supportedInputFormats:["application/json"]},{id:"39cb74d6-3f89-4270-b4c2-163ec15fd4a9",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Amazon Translate - (US East)",mode:"Batch",outputFormats:["text/plain"],supportedInputFormats:["text/plain"]},{id:"094add59-81ec-4190-9c32-2eaf29435451",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Google - Translate - VOA",mode:"Batch",outputFormats:["text/plain"],supportedInputFormats:["text/plain"]},{id:"ea93e5cd-fbfd-4538-aff7-806f7de36d0b",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Google - Translate",mode:"Batch",outputFormats:["text/plain"],supportedInputFormats:["text/plain"]},{id:"1ad54d06-1dce-46c7-8b91-644b954b002a",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"OpenText-XML-Translation-V1",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["text/plain; charset=utf-8","text/plain","text/html","text/csv","application/xml","application/json"]},{id:"3b63362c-50e9-4258-b06f-0fd9e53a5501",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - French to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"cf290b4c-451d-4ba3-8d86-437423fa888d",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Japanese to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"4b838284-460e-4f12-ab77-76e86930ccbc",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Italian to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"a0ddde2a-3aba-4b4f-8177-1de05dd8982a",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Chinese Traditional to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"809e4717-f1ea-450c-8c5f-36830af491be",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Thai to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"31b2a6b5-4539-493c-998a-ab1de9a0a5bf",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Swedish to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"95c910f6-4a26-4b66-96cb-488befa86466",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Spanish to English V3",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"14b64075-56b0-471a-bee0-80b025f5bc77",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Slovenian to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"a97ba86f-b6a8-4052-9124-9c9a33265962",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Slovak to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"86b2ac55-8718-4241-a755-af7f5d03b760",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Chinese Simplified to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"4249f5c7-0395-47a1-bc22-8c325fb95665",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Russian to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"09701d9e-d46f-406f-914b-0cd48d54ec4c",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Romanian to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"63bece93-3d38-4f4a-a51c-aae2098726f6",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Portuguese to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"70c49a4b-e44b-475d-988f-7dff5372157c",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Polish to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"cdb73028-237b-4cf8-a343-3b9c8c81b46f",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Norwegian to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"b1d32c3f-4839-49d5-a84f-bb9c4d55506c",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Malay to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"d73df375-47dd-42b2-b6b0-4f3acef0d8ff",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Korean to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"a5e968b0-98d0-47e3-92b4-8932bac75800",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Indonesian to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"919fdcf7-2716-4ff2-bc50-4124573bf0af",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Hungarian to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"7eb7e46a-d37b-4d20-a589-6fe0bafb63e2",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Greek to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"db208c31-2c2b-48ac-b93e-fbf3532c83ad",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Hebrew to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"cbd5fc84-781a-4e45-bdac-c8b4e9e1354f",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - German to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"9b8e3e75-5c10-4811-b701-1c64feda4280",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Finnish to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"7a60bf57-9f5a-44d0-a075-d6414ff01ec8",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Farsi to English V3",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"47e8bb7e-4502-47e0-a476-d1e9941c4b8d",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Danish to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"2ca1a8dc-3369-43ec-9652-c237d7c8cb8b",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Czech to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"47b7d8e3-97ba-41db-a91b-862dae2310f0",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Bulgarian to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"1cd4cef4-e7c9-4314-8fa6-3e562c3052e1",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Catalan to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"cd667f28-8e2c-46e8-a395-9c3d5c356197",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Arabic to English",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"a38676f6-7557-4ba1-a544-c4020f800778",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"File Translator V3F",mode:"Batch",outputFormats:null,supportedInputFormats:["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.presentation","text/plain","application/pdf","text/html","text/plain; charset=utf-8"]},{id:"6fbce031-4ece-4a05-87a3-9317b76cb775",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Auto-Translate",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"eb7cbe40-a0e0-46f4-b0b6-84c6713a5f86",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Translate - S - Finnish to English - V2F Batch",mode:"Batch",outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"d9609c63-598b-40cf-8ebf-e21a1918941f",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Microsoft Translate (GovCloud) - V2F",mode:null,outputFormats:null,supportedInputFormats:null},{id:"2dc1ae54-2547-46ed-8b04-97cee1f7b5e8",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Microsoft Translate (GovCloud) - V1F",mode:null,outputFormats:null,supportedInputFormats:null},{id:"83addc88-3038-4b31-a62e-acf617da51c2",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Amazon Translate - V2F (GovCloud)",mode:"Batch",outputFormats:["text/plain"],supportedInputFormats:null},{id:"bfc4ff98-367e-4df3-b164-deeb4db4d1f9",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Amz-translate-test V2",mode:null,outputFormats:null,supportedInputFormats:null},{id:"6b998507-386d-42f6-97fd-321bf8d98a68",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"task-microsoft-translate-chunk V2",mode:null,outputFormats:null,supportedInputFormats:null},{id:"67d850c6-9d00-4e2f-909e-64e5153551bd",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Japanese (Financial) to English",mode:null,outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"ca399d1c-f9cf-4f81-8491-abdc0f8a84bb",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Italian (Eyewear) to English",mode:null,outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"84dff93a-1fa5-409b-8d1c-9ea2a363e524",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Farsi to English",mode:null,outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"a26ee62f-0e05-4e31-a2fe-0caac1ecb921",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic - Slovenian to English",mode:null,outputFormats:["text/plain","application/ttml+xml"],supportedInputFormats:["text/plain","application/ttml+xml"]},{id:"2ea9e9e2-76cd-49d8-b797-4ddf5196350c",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Translate_Engine",mode:null,outputFormats:null,supportedInputFormats:null},{id:"462252af-30f6-4619-afdb-0d991f2feb24",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Translalte_Enginer",mode:null,outputFormats:null,supportedInputFormats:null},{id:"e451dc0d-e9ea-4217-9f76-1f9755f59095",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Pangeanic Generic Translation",mode:null,outputFormats:null,supportedInputFormats:null},{id:"418ed4db-61a1-4f97-9f65-5c5179c0bdd6",categoryId:"3b2b2ff8-44aa-4db4-9b71-ff96c3bf5923",name:"Derek-Release-11.30.17",mode:null,outputFormats:null,supportedInputFormats:null},{id:"67c29ae8-0087-45f2-9543-c207ca540c69",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Juan Test Engine",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4, audio/flac"]},{id:"11-1214-24",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Bashkir",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"232141241",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Bashkir",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"1111117899",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Bashkir",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"1111117897",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Bashkir",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"f82c4325-5322-42ea-940d-3aeaf9ff9257",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"b90772c8-489c-4390-9f7a-b71d8d571e94",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"361b2321-7d5f-473b-8f96-7061388d1851",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4"]},{id:"4f60ebc7-4f68-4625-b454-1e8547e628ec",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Engine Name",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4, audio/flac"]},{id:"62bb2671-a829-4714-80ad-37ba5f292c53",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"60b2528a-12ed-4d34-b6e6-e146d6a70b7a",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"edf2fd85-0cd3-4e37-af5b-9ce178c74096",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:null,outputFormats:null,supportedInputFormats:null},{id:"daa29418-5e58-48c7-a246-0123ec4b3c3a",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:null,outputFormats:null,supportedInputFormats:null},{id:"81531e7b-7a30-451d-8562-10064c052b25",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:null,outputFormats:null,supportedInputFormats:null},{id:"dd47e9gf-be0a-42c4-901f-89d9c84d8e7d",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:null,outputFormats:null,supportedInputFormats:null},{id:"a0371540-488b-46aa-95e3-b7a9ad244fda",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:null,outputFormats:null,supportedInputFormats:null},{id:"f440090a-a3da-4716-9a1a-110b5e4c2a05",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:null,outputFormats:null,supportedInputFormats:null},{id:"7ba55e17-1a8f-4a90-8a92-ff9e26af5b5d",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:null,outputFormats:null,supportedInputFormats:null},{id:"e00081f6-4ee0-4efb-90db-93b00e3c372f",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:null,outputFormats:null,supportedInputFormats:null},{id:"37546eac-8dfe-4f4f-9376-d4f7ef03e7a8",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:null,outputFormats:null,supportedInputFormats:null},{id:"fbccfaeb-9554-4b3b-9355-678739d5435e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:null,outputFormats:null,supportedInputFormats:null},{id:"277ef03c-5b8c-44d9-b8e5-6aa6099bb278",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics",mode:null,outputFormats:null,supportedInputFormats:null},{id:"e05c6c53-501c-4600-b6d3-8948017c0af1",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics",mode:null,outputFormats:null,supportedInputFormats:null},{id:"4a99602d-2adf-41a7-b38b-853e43f4846c",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics",mode:null,outputFormats:null,supportedInputFormats:null},{id:"cd663c60-d638-4e91-a54e-1c0abac4189f",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:null,outputFormats:null,supportedInputFormats:null},{id:"0fcb2a7a-e285-448e-9333-f15ebb6bc9be",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:null,outputFormats:null,supportedInputFormats:null},{id:"eefd1c57-9676-4918-b9f0-ca057280c8b5",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:null,outputFormats:null,supportedInputFormats:null},{id:"124731e0-c155-4d72-a683-9f795cc952b2",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Random Engine Name --- ",mode:null,outputFormats:null,supportedInputFormats:null},{id:"4e5b270b-1d9d-47af-a3f4-5fdde251cbd2",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"3699ad2b-4252-468a-88ee-f6f405e5c722",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"7e6f9d38-fcbb-4fd1-9a27-6965a6d0814e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"6d5af077-d2d1-4e80-95b5-bb2de0c8c8d3",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"7eeea10c-96e5-431e-9247-a91e2a42a970",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"cc6b515a-bb78-420b-8f6f-cd53bd790ee1",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"acb12567-3463-4d8a-9ad1-9f83a87d614e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"27078cf8-ec80-4bd8-a462-4fe1d78ad7e5",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"698eb2b5-089e-4f3d-b6d9-983fa3e03d4d",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"d440a494-56e6-4252-a711-2eb9b4ff8a4c",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"f38000ad-ea70-47b1-ab2f-187ebd4511db",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"3f2112c7-56bb-4288-837d-f009fb1b8297",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"af2703ef-7136-4a05-82f3-b4c5876f821c",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"124731e0-c155-4d72-a683-9f795cc952b6",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"39aa1ae8-066e-4740-b79f-6df2f5c4aa06",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Welsh",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"61b7ab4d-b14d-463c-87e3-83cebbdca37c",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Welsh",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"86e58aeb-3416-4f77-ac9b-02df8b77fd5b",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Vietnamese",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"86226411-702a-4c19-b374-c9330fa0eb91",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Uyghur",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"8cc9bdee-fcdd-4990-82ae-c48acee6ea07",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Vietnamese",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"8f848a77-b76a-4b35-b14a-2361fec52350",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Uyghur",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"8651e3ac-155b-43de-b087-7f4815b213aa",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Thai",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"d2bff598-b016-4d8b-9387-7780d41aad78",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Tamil",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"76d6c0e9-0c7e-4ec7-a53f-47b52782e3da",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Thai",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"471ee1d9-5240-4481-94b7-3e915d9e1492",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Tamil",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"d50a6c70-c542-475a-9074-ddc925682b35",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Mongolian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"d4da6a0a-d035-4d0d-8d35-a488e9b82148",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Mongolian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"87fc0a41-7e98-4e5f-81db-c9c25e429fb0",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Marathi",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"e8ba0a28-ae73-45ae-b181-164faba9bb02",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Marathi",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"438caf32-19a0-48c8-8af3-cc3ff2741bba",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Interlingua",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"5b3e8d6c-dddb-4fb1-a60d-dd06d7a6ef9e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Interlingua",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"55e38b7f-61b0-466e-92d2-d002ebcfdd84",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Galician",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"9cc758c4-0738-4997-99bd-e9a8620c663c",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Galician",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"70f0f2b1-2974-4837-829e-7cc3928f0d57",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Estonian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"3570f6f9-774a-4b5a-ad77-8c7bf56c2c65",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Estonian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"ecf7c436-d5d0-4b9b-a754-b0d730c87c51",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Esperanto",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"c1cda339-838a-4a27-8d57-a25ccf2448e3",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Esperanto",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"51f0dc6b-4096-4d89-913b-22447fa101eb",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Belarusian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"49d61ea3-435f-435d-bb46-6056e9306f67",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Belarusian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"781e5131-c54a-4c30-a491-4b9e1fb57cdd",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Basque",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"85803763-d302-45a4-9252-f14ad3e5e8d0",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Basque",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"fd1347d3-b6d7-493f-b02b-d027a5942e97",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Bashkir",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"bbba2c17-c53f-4d54-b754-4f894d9455e5",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Bashkir",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"e110885a-016e-4ad3-a212-2bec1ce977ab",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Temporary Speechmatics Transcription (v9.1) - Test Engine",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/aac","audio/flac","audio/mp4","audio/mpeg"]},{id:"ec8ddd5c-705c-46db-acfa-5b8f9ac53e01",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Whisper Transcription + Translation",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/aac","audio/flac","audio/midi","audio/mp4","audio/mpeg","audio/wav","audio/x-wav","audio/webm"]},{id:"605dc6f8-81dc-4673-8feb-6fdd5a9660e3",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Ukrainian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"f2549719-7cf3-4d3c-9076-2f80d2d34a83",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Ukrainian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"133b4863-443d-4eca-8d54-703c54b904eb",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Turkish",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"87bb5442-7da8-4fdf-b40e-c0c5ae152f4d",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Turkish",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"f62ba01f-931d-459d-b23d-be5b27426067",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Swedish",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"9f7ac584-928b-447b-8933-9adf9e0b0f55",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Swedish",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"739ea03e-1955-413f-8c16-efad1538d466",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Spanish",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"aafbd9bc-7c35-4a35-ac36-d779834dcff2",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Spanish",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"70a3ba0f-c8dd-4a14-9caa-40f8f9222d13",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Slovenian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"cb662ed4-50fd-40cd-b528-82fb3a30cc97",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Slovenian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"8a5b3ef8-28a3-4c8a-91ce-7e05aa352e67",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Slovakian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"6ddb3996-2dad-4dd9-a023-4329b502c2ef",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Slovakian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"153e8e4d-a8a6-4d88-86d3-cc30ee605ae8",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Russian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"f7ad361d-880e-455d-b17e-3fbe81ea0e13",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Russian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"953186d2-fb06-4fee-8862-5425974a63df",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Romanian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"ec715673-b096-4837-8794-b9aafae5d54e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Romanian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"92101b22-7883-4101-b28c-9e26afc053a1",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Portuguese",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"b5f8fcc1-88d3-4fe3-8327-a46446ce3e4f",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Portuguese",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"16f30d41-775a-4d6a-8ee6-fb7dbb6b0d00",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Polish",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"fe038fe1-f48e-47b6-87f6-3b29e246c7b1",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Polish",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"96db2380-0f66-4768-a986-070bb39e2be3",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Norwegian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"91950094-4336-461a-8a02-d93f61afee6d",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Norwegian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"bffbd836-f866-4b41-95eb-439ac661e755",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Malay",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"513d3a93-032d-41aa-b85c-57c5b28fdb9e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Malay",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"bf3d56d9-b953-4fd5-9d52-48b080a8996c",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Lithuanian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"1c93a36d-b19b-434c-b789-cc949221d05e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Lithuanian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"cdb0ece9-ebbc-45db-be07-86a28034567a",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Latvian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"9b24b839-cab5-4ace-95d3-57add1318796",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Latvian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"93a60117-d37a-48f4-8b73-f22d73cf1b63",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Korean",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"75fcd846-0719-4f46-b90d-3374e4da5ec4",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Korean",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"c2c7c9cc-943d-499b-88e2-b89427b2a0a4",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Japanese",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"d9cf671d-a624-4864-b8ff-0e73bb7144b4",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Japanese",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"dd5828bc-1ee4-47a3-86d2-6ca60c96e4a0",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Italian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"32a963f9-376c-4934-a4ef-043df4c2b2e8",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Italian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"88dbf331-b6d9-4aec-969b-576d0fd8cd5e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Indonesian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"cad9b2ae-659a-4652-ae47-10006d6e0c25",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Indonesian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"389b0cfd-9474-4a8d-a7cc-b1a45e50fae6",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Hungarian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"2983e59c-17ff-4840-b0ac-1c0b13161616",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Hindi",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"30ed0a76-c630-4a2c-b6ae-680dd10e54cf",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Hungarian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"74a4470f-0405-47f0-bebf-1aa14d669313",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Hindi",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"b9817322-6fea-41f7-96cd-2bbb7f7230f5",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Greek",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"085166a5-5d28-4f56-bf5f-da5ff47447b5",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Greek",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"9a728a16-375c-4b78-9b5b-1e385398cf74",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - German",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"301e1c48-fbfa-4484-be13-436dc5fe0228",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - German",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"67317dc2-3b3c-495e-8eeb-0067a8d71515",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - French",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"19460bc5-c2b3-4519-b285-c3d75a31e079",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - French",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"761ec1ab-ed8f-4b90-8346-652f78c01221",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Finnish",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"62b4c335-e736-4150-b432-3c2d951ed4e7",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Finnish",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"e97d1564-39ff-4016-a034-e1f32aa9eb7d",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"bbb11671-e21e-4e0f-a790-2ef1841ee554",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - English",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"95e2fa6f-ed3d-4237-8fc8-6415f56745a1",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Dutch",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"6a873ad0-16bd-48c4-bb5e-4f1d1bf57c15",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Dutch",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"b79a7932-34cf-4046-84f4-673e6cba63fb",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Danish",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"edb7d2aa-82b9-4a99-91bd-18174dec3f27",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Danish",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"b741193e-1923-4388-b48c-184963b2ee1a",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Czech",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"1e523673-29a0-4ade-af35-12b6db11488b",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Czech",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"fa811e6e-e5cd-45f9-822b-28dba1c01cdf",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Croatian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"cb41bf9c-56c3-4f27-b058-68d8bada919d",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Croatian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"85b16466-502b-4e78-92dd-5527f65fa339",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Chinese Mandarin",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"e00015c6-f190-4d3a-a5cb-4523a4db9efd",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Chinese Mandarin",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"495b0f7f-1493-4c9e-a1c9-10bc07e34037",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Catalan",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"da29ba39-0882-4b08-9384-1e1cbbf2d2e8",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Catalan",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"ef54bdcd-a243-43ab-947c-05fe0f156dbf",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Cantonese",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"2a118652-9dce-4302-af80-db1df663cc68",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Bulgarian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"b91940bd-ce70-4053-9a9d-cdc30423f6ba",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Bulgarian",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"64d57f11-4d38-46f6-9faf-0b4ff10e173f",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Arabic",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"2faf31f5-3605-4d8c-be41-478f15a40c6d",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription Enhanced (v9.2.0) - Arabic",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"52778844-a8de-49c8-b51a-4992b70c3bcf",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v9.2.0) - Cantonese",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"2ef16d8a-9bfe-4a95-9d8b-c4b6e5a3a280",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"citest_engine_1645091252124",mode:null,outputFormats:null,supportedInputFormats:null},{id:"3c9b80e7-0dc0-4d79-9545-f5bf75fbf161",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"citest_engine_1644313674727",mode:null,outputFormats:null,supportedInputFormats:null},{id:"fb226c0b-3d0e-45a4-8507-aff08c2e649c",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v8.2) - French",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/aac","audio/flac","audio/midi","audio/mp4","audio/mpeg"]},{id:"5f21ea7d-cdcb-4323-b876-b195ac084556",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v8.2) - Portuguese",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/aac","audio/flac","audio/midi","audio/mp4","audio/mpeg"]},{id:"e8259763-e195-40cc-89a6-07b91dd9978b",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (hydra v1.0.0.7) - French V3",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/aac","audio/flac","audio/mp4","audio/mpeg","audio/wav"]},{id:"1aea2a45-ec75-45d6-a339-b70d2650c5f6",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/wav"]},{id:"e1d1b6aa-7bec-4dbc-81a9-309e6ecf1475",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Wide Orbit keyword boosting",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"09f04ded-591d-4ef3-b45f-eb93b79c7c39",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Realtime Transcription (v1.3) - English V3",mode:"Stream",outputFormats:null,supportedInputFormats:["audio/wav","audio/x-wav","audio/mpeg","video/mp4"]},{id:"2db491c6-8bc7-4993-9fc1-faa437ea5962",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1.1) - French",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"ab49b056-7b36-4131-a7c2-a208af0d6537",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (hydra v1.0.0.7) - English V3",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"1bc839cc-26c6-4606-b7a0-756796999d11",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Nuance Transcription - Cantonese v3",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/mpeg","audio/wav","video/mp4","video/mpeg"]},{id:"e2ea69a3-ec43-4120-99a2-b4f9d5725f51",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Nuance Transcription - English USA v3",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/mpeg","audio/wav","video/mp4","video/mpeg"]},{id:"b2f1236a-59e2-468d-8036-e4bd4448e8d3",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v7) - English (Global) V3(dep)",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"ad77ae1e-1a30-4216-9e60-c576ba3e79e3",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Veritone - Transcription-Chunk",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"30961cb4-4e59-4f75-bcd5-8643a7768d2d",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Veritone - Transcription-Chunk",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"124497c1-7631-4ac4-9089-12bc9ceb9f8e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Veritone - Transcription-Chunk",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"d359e268-48e8-4f05-a417-0eb8dc6fe9e5",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Veritone - Transcription-Chunk",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"ad533db0-58cb-4a70-ae01-1e6e5484527c",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Veritone - Transcription-Chunk",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"08dc455a-2621-404f-bc3b-479757577160",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"9784292e-d78e-4c49-a335-b3aa37e40860",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"fc687e4c-11d0-473c-a0a9-a9e8024de7dc",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"d0f0f4ea-574c-49ef-9e48-db886aae9a62",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"606ba446-90a5-4169-a449-0800b1f08d7c",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"e4df6d1d-d7a7-4b75-bdd9-737cc59b3472",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"685145eb-8d10-4b6a-a742-dc23916ea15f",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"4796f764-ab16-445a-a4b3-55e0d4929d1b",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"b31d4eb6-de12-4276-b050-eff544c1fc40",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"d529ce10-4b22-457d-9ca3-7992b2cca4ed",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"94b2c86b-2efb-4f3e-aa7d-f4e470891e51",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"f58dedd1-c54a-4532-b644-52d12db4f21e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"e117d5f0-81cb-42fa-9dac-9148802ab632",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"d4437073-735b-4967-8d4a-6188ee81871b",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"2e66da53-2618-4218-a917-884e142081e7",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"21eb470b-f15e-4af6-9786-7956dc239362",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"b1e63d05-613a-43ce-ae5e-c7fe176f9647",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"b2b944f3-e9ee-4868-9da3-05b119560dd7",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"7f3545ce-f9c2-44c5-960c-d3cb0e05bc4e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"618594d8-d775-49bf-93a3-9c4ca6afbb50",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"54a6837a-6d95-4e94-acc2-937c0dcc5de5",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"9f6b3d2f-a4ef-4bc1-9051-3f4c330c2a25",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"72118686-1387-468a-9416-d650f3bf781a",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"53e827ac-1a5b-42c7-95a9-e1ba30191bb8",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"748b18d8-337f-4893-8692-f07978f4910c",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"98f273f2-2299-4963-9d96-0b8e8d741f9f",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"f320a173-01ef-4531-963f-66ecc9f5c56a",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"3c01ad62-7177-4e2c-a590-7c59b1d43e67",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"110d40ef-bba4-4e1b-8a1d-da1615c2280e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"280b17b5-3130-4136-a089-5278b0a25496",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"f80b8c1f-533b-4c93-9f8a-945cfd19459c",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"80fad033-56ac-48d1-bf62-f01ade593882",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"eb0dff53-3d80-4a85-a1f8-93c92444f41d",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"92b7bcd3-2454-482c-8377-9ad6f3cd6482",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"51be9707-f87d-4cea-8c3f-c8be63832545",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"8a80d01c-4d35-47d4-a850-cf8db3b9440a",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"71c46601-8207-420d-9240-3e7364b317a0",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"be747d18-4549-41cc-9501-4201160a0463",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"46c3fc9f-991c-4f30-9cb1-115c82f53850",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"58bcdb7b-ea64-4bb5-a3e0-8eeaa81fd33c",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"ce2043ad-983b-4727-a571-22e7d78bb3c3",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"41b6d35b-a483-40ce-83d5-fc19a05f0786",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"513375e8-3870-456a-9edb-2859f1abeb7b",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"3e4bdb94-352e-41fb-a279-58732f0da95e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"fe6dbe29-09c1-4e4d-abdf-73369cee314e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"6551ade6-48e9-4153-8e16-0528d3a0ab7e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"b27c36e8-79c0-4b7c-9548-bb2e3593e8a0",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"04b3c9aa-c11e-48ba-9cf6-80010070d593",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"bf4a539e-aa3f-4b85-a9a5-aa54fd7e1c15",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"8f17c693-dab8-4690-b7a4-a0488af12d31",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"aed54852-483b-4ca2-a553-d1c4587e5eee",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Veritone Inc-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:null},{id:"8196aff8-58aa-4a5b-9a5c-5e2390951a62",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v7) - Arabic V3(dep)",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"1b12211d-1df7-438f-8a33-2be3fbf5e63a",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v7) - Korean V3(dep)",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"a3a30b90-5996-4827-a3d6-fb22c347c8b4",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v7) - Russian V3(dep)",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"f207ba47-c914-4d49-9b40-8c6466d27f77",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v7) - French V3 [DEP]",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"a4b3c0dc-4e1c-4069-828d-70bb9d73f8d6",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v7) - Italian V3(dep)",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"256ceb95-c45f-41ae-ae42-e9c51104859c",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v7) - Spanish V3",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"a8c4a9f4-d6c4-4524-ab98-c0de560abf9b",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - English",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"bfc3d100-12a0-45ea-8311-70f1eea9b416",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Google STT - Broadcast One Speaker",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/mpeg","audio/wav","video/mp4","video/mpeg"]},{id:"1b3cfa4f-f4ce-4555-ad37-f38ef608e994",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Cobalt Speech-Stream-EnUs-16-V3",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/mpeg","audio/wav","audio/flac","video/mp4"]},{id:"fce0e0f1-5c5c-4ed5-bc30-87b9935309b2",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v8.1) - Malay V3",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"90cabdd8-3739-4a81-b1b5-be20f8fd9783",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v8.1) - Norwegian V3",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"567e3a64-5a1b-4e7f-b501-79de92526559",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v8.1) - Turkish V3",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"d36606a9-1006-4f8f-a0d1-095c78b1c8c9",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v8.1) - Portuguese V3",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"d12e8f6d-9285-4f7d-aa2e-9e6151206277",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Google - Transcription Chunk",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/wav","audio/aac","audio/mp4","audio/mpeg"]},{id:"79acf672-7702-4797-8a0e-d7d6478d90f0",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Cobalt Speech-Stream-Russian8-V3",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/wav","audio/mpeg","audio/mp4","audio/flac","video/mp4"]},{id:"d616efe2-93ff-47fc-a3a1-e4005dd2beb6",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription-Cobalt Speech-Stream-Japanese16-V3",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","video/mp4","audio/wav","audio/mpeg","audio/flac"]},{id:"42767997-db54-4a5e-867e-c07ec8a1f383",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Cobalt Speech - Transcription-Stream-Enus16ff",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","video/mp4","audio/wav","audio/mpeg","audio/flac"]},{id:"796722b7-245b-4451-8e5f-c3534e6524f1",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Amazon - Transcription - (US East)",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","video/mp4"]},{id:"6795b886-ee49-4516-9777-7ba75318ae8d",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Veritone - Transcription-Chunk-Bm",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/html","application/json"]},{id:"fcdd3594-841b-4102-ab59-f285d2f3b9bc",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Veritone - Transcription-Chunk-Linhdv",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/html","text/plain","application/json"]},{id:"dd7019ac-c95d-4501-aa12-390fb322379b",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Slovenian",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"c17647ef-6341-4e89-8ed5-24bbfdd7d23d",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Slovak",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"f956dc3d-a4d7-4699-92c7-5f9029917f55",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Romanian",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"92babb4a-8480-4e30-b0ec-8553aeb1a9d6",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Polish",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"30eb4ce6-6749-4f04-9696-299e9f563de1",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Lithuanian",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"d876c5c0-1e22-47bc-8efa-24b0d71b5660",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Latvian",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"5e5ceeba-4992-43be-ae58-ba1bb5f77e43",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Hungarian",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"38147d53-6268-4514-9533-5a804dcb773e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Hindi",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"fce47dd5-a0b0-410d-bbac-0fcd4707e265",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Greek",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"1f69b6f6-9355-47ba-ba14-e36ada832fac",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Finnish",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"55f7f7c8-fd09-4ed1-81a4-696b8d7d13eb",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Danish",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"26c5df34-b7c1-41dc-a58a-d99e41fc51e4",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Czech",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"6b82ae06-ae12-44ca-9d4d-0b909357d95b",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Croatian",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"a1c683d5-1218-482f-8aab-78c8a9777b96",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Catalan",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"e7f4b91b-11ae-40a3-8582-e0af4941e94a",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Bulgarian",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"22bff96b-ce56-4a51-8a2b-73635006bb82",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Swedish",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"780727a7-358c-4c89-8c56-fc1d1a99a8eb",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Dutch",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"18173733-7fad-4654-af6e-b5ddbe63468c",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v8.1) - German V3",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"91a56aac-0175-4598-8f44-979378a252b1",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Veritone - Transcription-Chunk-Benchmark",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8","application/json"]},{id:"326a0e3d-fed7-431a-8237-4d16f455ca3e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Veritone - Transcription-Chunk",mode:"Chunk",outputFormats:null,supportedInputFormats:["application/json","text/html","text/plain","text/plain; charset=utf-8"]},{id:"1073457a-3108-4086-a462-e40fa39619fa",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Veritone - Transcription-Chunk-Bmbackend",mode:"Batch",outputFormats:null,supportedInputFormats:["application/json","text/plain","text/plain; charset=utf-8"]},{id:"c703667b-c78a-4278-8a97-41cd8e7139df",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Google STT - Broadcast Multi Speaker",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/mpeg","audio/wav","video/mp4","video/mpeg"]},{id:"bf40929e-801d-4116-b31f-1a10ffc64e47",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Nuance Transcription - English (US)",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/mpeg","audio/wav","video/mp4","video/mpeg"]},{id:"1fe73773-edcb-4610-9c6e-cbe39eecec30",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Microsoft Cognitive Services - Transcription V3",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/html","audio/aac","audio/flac","audio/midi","audio/mp4","audio/mpeg","audio/wav","audio/x-wav","audio/webm","video/3gpp","video/mpeg","video/mp4","video/ogg","video/webm","video/quicktime","video/x-m4v","video/x-ms-wmv","video/x-msvideo"]},{id:"52bb5731-7365-4179-b520-1bd9fdd37f62",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Arabic",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"718bce7f-cddb-44f1-b838-dfb9b25b8485",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Korean",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"ac20a648-5ed4-486c-a31d-d553f4209e32",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v7) - French",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"e02e7daa-5920-4119-bcc4-e0470ae12680",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Russian",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"501f7341-143f-4fd2-b94d-3f03d9d99ee7",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Japanese",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"69b36393-b741-42f3-9f04-efd0150cdf55",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Naveen Test Engine",mode:"Chunk",outputFormats:null,supportedInputFormats:["application/x-www-form-urlencoded","text/plain","text/html","text/plain; charset=utf-8"]},{id:"f979a786-22dd-4de4-971a-2f31558815cc",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Italian",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"1170233a-4a9a-4050-b3bf-857f35b2bcff",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - WideOrbit",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"81910f6a-1629-4f4e-af3a-80468b27e6a2",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Test engine NR",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/wav"]},{id:"f3dba330-7ac4-4b10-9b2c-a0c6bc19d332",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Seta - Batch Test",mode:"Batch",outputFormats:["application/json"],supportedInputFormats:["video/mp4"]},{id:"09c9de50-1189-43aa-b6a1-079f46245b44",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"SM English (fixed partition)",mode:"Batch",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"b4af30a3-58fd-4b34-acdf-badd13673c0e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Mandarin - V2F",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"b4af30a3-58fd-4b34-acdf-badd13673255",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription (v8.1) - Mandarin V3",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"13060131-a589-403f-a698-2a7ddbd432f8",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Test Google Transcript",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/x-wav","audio/mp4","audio/mpeg","audio/wav","video/mp4","video/mpeg"]},{id:"8be0fbdf-c60c-43a6-852f-71eba8051cf7",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"My Little Workflow V2",mode:null,outputFormats:null,supportedInputFormats:["text/csv","application/json","video/mp4"]},{id:"056e1738-6581-49a2-9946-6955eeec0d45",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcript - engine - SETA - TEST V3",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/wav"]},{id:"15d593ed-da3f-4392-9055-6df8c3e1c76a",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Cobalt - Portugues (BR) Telephony V2",mode:null,outputFormats:null,supportedInputFormats:null},{id:"a5dfaeb2-db1f-40b6-ab1e-a42601e48e71",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Cobalt - Spanish (ES) Broadcast V2",mode:null,outputFormats:null,supportedInputFormats:null},{id:"9c4b61a1-c211-4205-8594-0c6f8fe1c9f0",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Cobalt - English (US) Telephony V2",mode:null,outputFormats:null,supportedInputFormats:null},{id:"abe90760-231c-457d-b8b6-6d1885020dc0",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Cobalt - English (US) Broadcast V2",mode:null,outputFormats:null,supportedInputFormats:null},{id:"465a28a3-173a-4492-92de-7e2b0802a293",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"python_test_engine V2",mode:null,outputFormats:null,supportedInputFormats:null},{id:"8a0e5658-61be-485b-8fba-0f647baeb7b7",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Remeeting Transcription - English (US) Broadcast V2",mode:null,outputFormats:null,supportedInputFormats:null},{id:"b886a57b-cd9c-4aa0-9cc6-b19ce8fbd820",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"nuance-transcription-eng-usa-real-time-nte-4-6",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/mpeg","audio/wav","video/mp4","video/mpeg"]},{id:"4721e468-e2ce-4b77-a4eb-01d0909874bd",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Microsoft Translator V2F (GovCloud)",mode:"Batch",outputFormats:["application/json"],supportedInputFormats:null},{id:"6181fd6e-c6e1-44e8-afd3-75b1a8babd08",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Benchmark Engines RT V2",mode:"Batch",outputFormats:["application/json"],supportedInputFormats:["video/mp4","audio/flac","audio/wav","audio/mp4","video/mpeg","video/quicktime","audio/mpeg"]},{id:"6ebafb4d-7578-4829-af7c-ed18e4781994",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics-ENUS-compare",mode:null,outputFormats:["application/json","application/ttml+xml"],supportedInputFormats:["audio/x-wav"]},{id:"af7daa46-09e9-4447-99cd-7ba4d19d0c2e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"New Speechmatics Transcription - English (US)",mode:null,outputFormats:null,supportedInputFormats:null},{id:"5ddb41dc-24bf-41f8-8262-e56b03dff2c4",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription - English (AU)",mode:null,outputFormats:["application/json","application/ttml+xml"],supportedInputFormats:["audio/x-wav"]},{id:"64125b70-5723-43a4-ab12-dfc6aad47903",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription - English (US) (VDA) deprecated",mode:null,outputFormats:["application/json","application/ttml+xml"],supportedInputFormats:["audio/x-wav"]},{id:"eae091ad-c8f4-4b73-aea3-b65f8531f370",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"task-eml-speech-chunk (disable) V2",mode:null,outputFormats:null,supportedInputFormats:null},{id:"3bfbfddc-eca9-4904-affa-569eeb181021",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription - English (UK)",mode:null,outputFormats:["application/json","application/ttml+xml"],supportedInputFormats:["audio/x-wav"]},{id:"84490470-6b54-461f-bf35-898a30123e4b",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"task-nuance-containerized-chunk V1",mode:null,outputFormats:null,supportedInputFormats:null},{id:"128f0b09-d3d1-4a8f-a880-39b829739a84",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Recommendation Engine",mode:null,outputFormats:null,supportedInputFormats:null},{id:"afd7318d-ee18-4b45-87b4-5c1059f193f9",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"ground-truth-test V2",mode:null,outputFormats:null,supportedInputFormats:null},{id:"71ab1ba9-e0b8-4215-b4f9-0fc1a1d2b255",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v8.1) - Spanish",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"6acbb32b-a117-4fad-8d08-16d295a0e4aa",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription - English (UK) V2",mode:null,outputFormats:null,supportedInputFormats:null},{id:"e2a6ee89-593f-41d4-8cb1-f59f3061490f",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription - English (AU) V2",mode:null,outputFormats:null,supportedInputFormats:null},{id:"92f28638-0f8f-4ee4-812a-a6cb53373734",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription - En Clone (US) (real time) V2",mode:null,outputFormats:null,supportedInputFormats:null},{id:"f0145a48-091a-492f-b0a6-de6e8bb35934",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"GSTT-Test",mode:null,outputFormats:null,supportedInputFormats:null},{id:"d619f3f5-a32d-4c09-ab12-d13a182867fd",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"CITest Engine 05242018 V2",mode:null,outputFormats:["application/json"],supportedInputFormats:null},{id:"f99d363b-d20a-4498-b3cc-840b79ee7255",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Google - Transcription",mode:"Stream",outputFormats:["application/json"],supportedInputFormats:["audio/wav"]},{id:"c0e55cde-340b-44d7-bb42-2e0d65e98355",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v6) - English (Global-B)",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"c0e55cde-340b-44d7-bb42-2e0d65e98255",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics - Transcription (v7) - English (Global)",mode:"Chunk",outputFormats:["application/json"],supportedInputFormats:["audio/mp4","audio/flac","audio/wav","audio/mpeg"]},{id:"transcribe-speechmatics-container-v3-ro",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription - Romanian V1",mode:null,outputFormats:["application/json","application/ttml+xml"],supportedInputFormats:["audio/x-wav"]},{id:"7f3db6a8-ad5c-4188-aa62-0621c907a7be",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Thumbnail generation",mode:null,outputFormats:null,supportedInputFormats:null},{id:"transcribe-speechmatics-container-v3-pt",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription - Portuguese V1",mode:null,outputFormats:["application/json","application/ttml+xml"],supportedInputFormats:["audio/x-wav"]},{id:"transcribe-speechmatics-container-v3-en-us",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription - English (US) V1",mode:null,outputFormats:null,supportedInputFormats:null},{id:"155d9d1f-a021-414f-964e-4fc6fbbc63b9",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics-container",mode:"Chunk",outputFormats:null,supportedInputFormats:["application/json"]},{id:"f360e90a-e88a-4d44-9172-95801e3d4bb0",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Alteryx - Next Radio",mode:null,outputFormats:null,supportedInputFormats:null},{id:"92341c9c-834b-4731-9194-a8d61110e849",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Capio.AI - Multilingual (EN ES DE)",mode:"Chunk",outputFormats:null,supportedInputFormats:["application/json"]},{id:"b6e2cffc-d4cb-46a8-8ae0-9607f052bea7",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Azure Transcribe",mode:null,outputFormats:null,supportedInputFormats:null},{id:"8b3f945d-21c6-4369-a31f-b00b48c2702e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Machine Box - Textbox V2",mode:null,outputFormats:null,supportedInputFormats:null},{id:"3bfd4eee-282c-4888-851e-f662103e208e",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Allen's Test",mode:"Chunk",outputFormats:null,supportedInputFormats:["audio/aac"]},{id:"c5513f3c-cf8b-4c39-9c82-dcae76354699",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Remeeting private 2017/11/03 V2",mode:null,outputFormats:null,supportedInputFormats:null},{id:"8147e9a6-9d47-4444-af51-46ee37e9dfec",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Supernova-English (USA) V1",mode:null,outputFormats:null,supportedInputFormats:null},{id:"6ef6fd1e-158f-4a9c-bbf8-4cd3ab366dd3",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"charlietestengine",mode:null,outputFormats:null,supportedInputFormats:null},{id:"transcribe-speechmatics-container",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription - English (US) V1",mode:null,outputFormats:null,supportedInputFormats:null},{id:"transcribe-nuance-containerized-jap-jap",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Nuance Transcription - Japanese V1",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/html"]},{id:"transcribe-nuance-containerized-spa-usa",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Nuance Transcription - Spanish (US) Telephony V1",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/html"]},{id:"transcribe-nuance-containerized-spa-gtm",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Nuance Transcription - Spanish (Guatemala) V1",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/html"]},{id:"transcribe-greenkey",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Greenkey Transcription V1",mode:null,outputFormats:null,supportedInputFormats:null},{id:"transcription-ground-truth",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Transcription Ground Truth",mode:null,outputFormats:null,supportedInputFormats:null},{id:"nuance-dlm-test",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Nuance DLM Training",mode:null,outputFormats:null,supportedInputFormats:null},{id:"transcribe-speechmatics",categoryId:"67cd4dd0-2f75-445d-a6f0-2f297d6cd182",name:"Speechmatics Transcription - Cloud V1",mode:null,outputFormats:null,supportedInputFormats:null},{id:"1ff37085-5ec5-4fa6-925f-4fb18bed2f16",categoryId:"4be1a1b2-653d-4eaa-ba18-747a265305d8",name:"GLC Fast Chunker (Native)",mode:"Stream",outputFormats:["video/mp4"],supportedInputFormats:["application/json"]},{id:"26b28551-0f4f-4c3c-8bf6-5de4b121b255",categoryId:"4be1a1b2-653d-4eaa-ba18-747a265305d8",name:"Frame Cutter",mode:"Stream",outputFormats:["application/json"],supportedInputFormats:["video/mp4"]},{id:"2812a01e-0dad-4586-a3ae-770342d57130",categoryId:"4be1a1b2-653d-4eaa-ba18-747a265305d8",name:"Video Chunk Segmenter",mode:"Stream",outputFormats:["application/json"],supportedInputFormats:["video/mp4"]},{id:"29694232-a4f5-4622-a422-b48f206ca52a",categoryId:"4be1a1b2-653d-4eaa-ba18-747a265305d8",name:"SI2 Playback MPEG-DASH",mode:"Stream",outputFormats:["video/mp4"],supportedInputFormats:null},{id:"352556c7-de07-4d55-b33f-74b1cf237f25",categoryId:"4be1a1b2-653d-4eaa-ba18-747a265305d8",name:"SI2 Playback segment creator",mode:"Stream",outputFormats:["video/mp4"],supportedInputFormats:["application/json"]},{id:"75fc943b-b5b0-4fe1-bcb6-9a7e1884257a",categoryId:"4be1a1b2-653d-4eaa-ba18-747a265305d8",name:"SI2 Stream Asset Creator",mode:"Stream",outputFormats:["video/mp4"],supportedInputFormats:["application/json"]},{id:"175fe60a-a30b-477a-a1ea-74c727ae6ab0",categoryId:"4be1a1b2-653d-4eaa-ba18-747a265305d8",name:"Store to S3",mode:"Stream",outputFormats:["video/mp4"],supportedInputFormats:["application/json"]},{id:"8bdb0e3b-ff28-4f6e-a3ba-887bd06e6440",categoryId:"4be1a1b2-653d-4eaa-ba18-747a265305d8",name:"SI2 audio/video Chunk creator",mode:"Stream",outputFormats:["video/mp4"],supportedInputFormats:["application/json"]},{id:"d4bc0440-07de-4e97-8c23-3de57d823fc2",categoryId:"24ffd12d-fcda-4f47-8843-b2e5dbfbb01f",name:"NLTK Text Summarization",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain","text/plain; charset=utf-8"]},{id:"5662b946-2dbf-4167-b962-4032000b4ee5",categoryId:"24ffd12d-fcda-4f47-8843-b2e5dbfbb01f",name:"ScratchEngine-IntegrationTests-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:["text/plain"]},{id:"12d29995-8c47-4290-8834-4081c90615cd",categoryId:"24ffd12d-fcda-4f47-8843-b2e5dbfbb01f",name:"Silence Detection-Chunk-V3",mode:"Chunk",outputFormats:null,supportedInputFormats:["video/mp4","video/mpeg","audio/mp4","audio/mpeg","application/json","video/quicktime"]},{id:"46b6a446-191e-4ad4-9eb1-12ebb01fb275",categoryId:"24ffd12d-fcda-4f47-8843-b2e5dbfbb01f",name:"Protest",mode:"Batch",outputFormats:["application/json"],supportedInputFormats:["text/plain","text/plain; charset=utf-8"]}];const namespace="processingCenterDagBuilder",initialState={engineCategories:{status:LoadingStatus.Idle,hasMore:!0,offset:0,records:mockEngineCategories},engines:{status:LoadingStatus.Idle,hasMore:!0,offset:0,records:mockEngines},dagNodes:[]},processingCenterDagBuilderSlice=createSlice({name:SLICE_NAME+"/"+namespace,initialState:initialState,reducers:{fetchEngineCategoriesStart(e){e.engineCategories.status=LoadingStatus.Pending},fetchEngineCategoriesSuccess(e,t){e.engineCategories.status=LoadingStatus.Idle,e.engineCategories.records.push(t.payload.records),e.engineCategories.hasMore=t.payload.hasMore,e.engineCategories.offset=t.payload.nextOffset},fetchEngineCategoriesFailure(e){e.engineCategories.status=LoadingStatus.Failed},addDagNode(e,t){const n=t["payload"];n.nodeId||(n.nodeId=v4()),n.parentId&&0===e.dagNodes.filter(e=>e.nodeId===n.parentId).length?console.error("Tried to add a node with a parent that doesn't exist"):e.dagNodes.push(n)},resetDagNodes(e){e.dagNodes=[]},updateDagNode(e,t){const n=t["payload"];t=e.dagNodes.findIndex(e=>e.nodeId===n.nodeId);-1===t?console.error("Tried to update a node that doesn't exist"):e.dagNodes[t]=n},removeDagNode(n,e){const o=e.payload["nodeId"];e=n.dagNodes.findIndex(e=>e.nodeId===o);-1===e?console.error("Tried to remove a node that doesn't exist"):(n.dagNodes.splice(e,1),n.dagNodes.forEach((e,t)=>{e.parentId===o&&delete n.dagNodes[t].parentId}))}}}),actions$1=processingCenterDagBuilderSlice.actions;var processingCenter_dagBuilder=processingCenterDagBuilderSlice.reducer;const actions={[namespace]:actions$1},rootReducer=combineReducers({[namespace]:processingCenter_dagBuilder});function fetchEngineCategories(n,o,a){return __awaiter(this,void 0,void 0,function*(){var e="fetchEngineCategories",t="engineCategories";return(yield baseGraphQLApiWithError(Object.assign({query:`
2
+ query ${e} {
3
+ ${t} (offset: ${o}, limit: ${a}) {
4
+ records {
5
+ id
6
+ name
7
+ }
8
+ }
9
+ }
10
+ `,operationName:e},n)))[t]})}const selectEngineCategories=e=>{var{records:e,hasMore:t,offset:n}=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace].engineCategories;return{records:e,hasMore:t,offset:n}},selectEngines=e=>{var{records:e,hasMore:t,offset:n}=null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace].engines;return{records:e,hasMore:t,offset:n}},selectDagNodes=e=>{return null==(e=null==e?void 0:e[SLICE_NAME])?void 0:e[namespace].dagNodes};function*fetchEngineCategoriesSaga(e){try{var t,n=yield select$1(selectApiConfigs),{offset:o,hasMore:a}=yield select$1(selectEngineCategories);a&&(t=(yield fetchEngineCategories(n,o,PAGE_LIMIT))["records"],yield put(actions$1.fetchEngineCategoriesSuccess({records:t,hasMore:PAGE_LIMIT===t.length,nextOffset:o+PAGE_LIMIT})))}catch(e){console.log(e),yield put(actions$1.fetchEngineCategoriesFailure())}}function*fetchEngineCategoriesWatcher(){yield takeEvery$1(actions$1.fetchEngineCategoriesStart,fetchEngineCategoriesSaga)}function*rootSaga(){yield all([fetchEngineCategoriesWatcher()])}function getProcessingCenterDagBuilderModule(){return{id:SLICE_NAME,reducerMap:{[SLICE_NAME]:rootReducer},sagas:[rootSaga],initialActions:[]}}const useStyles$1=makeStyles()(e=>({node:{fontSize:e.typography.body1.fontSize,borderWidth:"1px",borderStyle:"solid",borderColor:e.typography.body1.color,borderRadius:"6px",padding:"6px 12px",position:"relative",background:e.palette.background.default},closeButton:{position:"absolute",top:0,right:0,transform:"translate(50%, -50%)",color:"white",background:"red",borderRadius:"100%",fontSize:"0.9em"}})),EngineNode=e=>{var t=useStyles$1()["classes"],e=e["data"],n=e["onDeleteClick"];return jsxRuntime.exports.jsxs("div",Object.assign({className:t.node},{children:[jsxRuntime.exports.jsx(Handle$1,{type:"target",position:Position.Top}),jsxRuntime.exports.jsx("div",{children:e.label}),jsxRuntime.exports.jsx(Close,{className:t.closeButton,onClick:n}),jsxRuntime.exports.jsx(Handle$1,{type:"source",position:Position.Bottom})]}))},DagDiagram=()=>{var e=react.exports.useMemo(()=>({engine:EngineNode}),[]);const o=useDispatch(),a=useSelector(selectEngines),r=useSelector(selectDagNodes),[i,t]=react.exports.useState([]),[n,d]=react.exports.useState([]);react.exports.useEffect(()=>{const n=i.filter(t=>!!r.find(e=>e.nodeId===t.id));r.forEach(t=>{if(!n.find(e=>e.id===t.nodeId)){const e=i.reduce((e,t)=>(t.position.x>e.x&&(e.x=t.position.x),t.position.y>e.y&&(e.y=t.position.y),e),{x:0,y:0});e.y+=50,n.push({id:t.nodeId,type:"engine",position:e,data:{label:a.records.find(e=>e.id===t.engineId).name,onDeleteClick:()=>{o(actions.processingCenterDagBuilder.removeDagNode({nodeId:t.nodeId}))}},deletable:!1})}}),t(n)},[r]);var s=react.exports.useCallback(e=>{t(applyNodeChanges(e,i))},[i]),c=react.exports.useCallback(e=>{d(applyEdgeChanges(e,n))},[n]);return jsxRuntime.exports.jsxs(ReactFlow,Object.assign({fitView:!0,nodes:i,edges:n,onNodesChange:s,onEdgesChange:c,onConnect:t=>{var e=r.find(e=>e.nodeId===t.target);e?e.parentId?o(showMessage({content:"Only one parent is allowed per engine",severity:MessageSeverity.Error})):(o(actions.processingCenterDagBuilder.updateDagNode(Object.assign(Object.assign({},e),{parentId:t.source}))),d(e=>addEdge(t,e))):o(showMessage({content:"Tried to make an invalid connection",severity:MessageSeverity.Error}))},nodeTypes:e},{children:[jsxRuntime.exports.jsx(Controls$1,{}),jsxRuntime.exports.jsx(Background$1,{})]}))},useStyles=makeStyles()(e=>({root:{width:"100%",position:"relative"},panel:{backgroundColor:e.palette.background.paper,boxShadow:"0px 0px 12px rgba(0, 0, 0, 0.25)",height:"calc(100vh - 60px)",display:"flex",flexDirection:"column"},fullScreen:{position:"fixed",width:"100%",height:"100vh",top:0,left:0,right:0,bottom:0,zIndex:1004},overlay:{backgroundColor:e.palette.grey[50],opacity:"0.5 !important",height:"100%",position:"absolute",top:0,width:"100%",zIndex:1001},flexGrow:{flexGrow:1},controls:{display:"flex",justifyContent:"space-between",gap:"10px"}})),MainLayout=e=>{__rest(e,["hidePanel","dataId"]),e=useStyles().classes;const t=useDispatch(),n=useSelector(panelsSelector)||[],o=useSelector(selectEngineCategories),a=useSelector(selectEngines),r=useSelector(selectDagNodes),[i,d]=react.exports.useState(o.records[0].id),[s,c]=react.exports.useState("");var u=n.find(e=>"DATA_CENTER"===e.panelId)||{panelConfig:{dimmed:0}},u=0<(null==(u=null===u?void 0:u.panelConfig)?void 0:u.dimmed);const l=e=>r.filter(t=>!!e.find(e=>e.nodeId===t.parentId));return jsxRuntime.exports.jsxs(Container,Object.assign({dimmed:u,fullScreen:!1,classes:e},{children:[jsxRuntime.exports.jsxs("div",{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h2"},{children:"DAG Builder"})),jsxRuntime.exports.jsxs("div",Object.assign({className:e.controls},{children:[jsxRuntime.exports.jsx(Select,Object.assign({label:"Category",value:i,onChange:e=>{d(e.target.value),c("")},className:e.flexGrow},{children:o.records.map(e=>jsxRuntime.exports.jsx(MenuItem,Object.assign({value:e.id},{children:e.name}),e.id))})),jsxRuntime.exports.jsx(Select,Object.assign({label:"Engine",value:s,onChange:e=>{c(e.target.value)},className:e.flexGrow},{children:a.records.filter(e=>e.categoryId===i).map(e=>jsxRuntime.exports.jsx(MenuItem,Object.assign({value:e.id},{children:e.name}),e.id))})),jsxRuntime.exports.jsx(Button,Object.assign({variant:"contained",onClick:()=>{t(actions.processingCenterDagBuilder.addDagNode({engineId:s}))},disabled:!s},{children:"Add"})),jsxRuntime.exports.jsx(Button,Object.assign({variant:"contained",onClick:()=>{t(actions.processingCenterDagBuilder.resetDagNodes())}},{children:"Reset"})),jsxRuntime.exports.jsx(Button,Object.assign({variant:"contained",onClick:()=>{console.log("building DAG template");var t=r.filter(t=>!t.parentId&&!!r.find(e=>e.parentId===t.nodeId));if(1!==t.length)console.error("There should be exactly 1 root node, but you have "+t.length);else{const n=[[t[0]]];let e=l(n[0]);for(;0<e.length;)n.push(e),e=l(n[n.length-1]);n.forEach((e,t)=>{var n=e.map(e=>{var t=e.engineId;return(null==(e=a.records.find(e=>e.id===t))?void 0:e.name)||"Not Found"}).join(", ");console.log(`Step ${t+1}: Process with ${e.length} engine${1!==e.length?"s":""} (${n})`)}),console.log("???"),console.log("profit")}}},{children:"Save"}))]}))]}),jsxRuntime.exports.jsx("div",Object.assign({className:e.flexGrow},{children:jsxRuntime.exports.jsx(DagDiagram,{})}))]}))},Container=({fullScreen:e,classes:t,dimmed:n,children:o})=>e?jsxRuntime.exports.jsx(Portal,{children:jsxRuntime.exports.jsxs("div",Object.assign({role:"presentation","data-test":"dc-widget",className:classNames(t.root,t.panel,t.fullScreen)},{children:[n&&jsxRuntime.exports.jsx("div",{className:t.overlay}),o]}))}):jsxRuntime.exports.jsx("div",Object.assign({role:"presentation","data-test":"dc-widget",className:classNames(t.root,t.panel)},{children:o})),DagBuilder=e=>jsxRuntime.exports.jsx(AIWareThemeProvider,{children:jsxRuntime.exports.jsx(lib.DynamicModuleLoader,Object.assign({modules:[getProcessingCenterDagBuilderModule()]},{children:jsxRuntime.exports.jsx(AIWareIntlProvider,{children:jsxRuntime.exports.jsx(MainLayout,Object.assign({},e))})}))});export{DagBuilder};