@galaxyproject/galaxy-client 25.0.4 → 25.1.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.
@@ -1 +1 @@
1
- (()=>{"use strict";var e,t,r={90216:(e,t,r)=>{var o=r(2543);const n=function(e,t,r=!1){if(0===e.length)return t.length;if(0===t.length)return e.length;var o,n,s=[];for(o=0;o<=t.length;o++)s[o]=[o];for(n=0;n<=e.length;n++)s[0][n]=n;for(o=1;o<=t.length;o++)for(n=1;n<=e.length;n++)t.charAt(o-1)===e.charAt(n-1)?s[o][n]=s[o-1][n-1]:(s[o][n]=Math.min(s[o-1][n-1]+1,Math.min(s[o][n-1]+1,s[o-1][n]+1)),1==r&&o>1&&n>1&&t.charAt(o-1)===e.charAt(n-2)&&t.charAt(o-2)===e.charAt(n-1)&&(s[o][n]=Math.min(s[o][n],s[o-2][n-2]+1)));return s[t.length][e.length]},s={id:["id","tool_id"],panel_section_name:["section","panel_section_name"],labels:["label","labels","tag"]},l=[" ","-","\\(","\\)","'",":",'"'],i={model_class:"ToolSection",id:"unsectioned",name:"Unsectioned Tools",description:"Tools that don't appear under any section in the unsearched panel"};function a(e,t,r,n="default",p,g=!1){const m=[];let y=null;const{filteredQuery:b,filteredKeys:v}=function(e,t){for(const r in t){const o=h(e,t[r]||[]);if(o)return{filteredQuery:o,filteredKeys:{[r]:1}}}return{filteredQuery:null,filteredKeys:{}}}(r,s);b&&(r=b,t=v);const w=r.trim().toLowerCase().split(" "),x=f(r.trim().toLowerCase(),l);for(const r of e)for(const e of Object.keys(t))if(r[e]||"combined"===e){let o="";if("combined"===e)o=`${r.name.trim()} ${r.description.trim()}`.toLowerCase();else{const t=r[e];"string"==typeof t?o=t.trim().toLowerCase():Array.isArray(t)?o=t.join(" ").trim().toLowerCase():"number"==typeof t&&(o=t.toString().trim().toLowerCase())}const n=o.split(" ");o=f(o,l);let s=void 0!==t.exact&&o===x?t.exact:t[e];s=void 0!==t.startsWith&&s!==t.exact&&"name"===e&&o.startsWith(x)?t.startsWith:s;const i=Array.from(new Set(n.filter((e=>w.includes(e)))));if(g){if(g){let t=null;if(("name"==e||"description"==e)&&x.length>=5&&(t=c(x,o)),t){const e=d(n,t);e&&(!y||y&&e.length<y.length)&&(y=e),m.push({id:r.id,order:s});break}}}else{if(o.match(x)){m.push({id:r.id,order:s});break}if("combined"===e&&void 0!==t.wordMatch&&i.length>=2){m.push({id:r.id,order:t.wordMatch});break}}}if(!b&&!g&&0==m.length)return a(e,t,r,n,p,!0);const{idResults:S,resultPanel:T}=function(e,t){const r=[],n=(0,o.orderBy)(e,["order"],["desc"]).reduce(((e,o)=>{const n=Object.keys(t);for(const s of n){let n=!1;const l=s?t[s]:void 0;if(l&&s){if(l.tools&&l.tools?.includes(o.id)){let t=e[s];t||(t={...l},t.tools=[]),t.tools?.push(o.id),e[s]=t,n=!0}else if(u(l)&&l.id===o.id){const t=i.id;let r=e[t];r||(r={...i},r.tools=[]),r.tools?.push(o.id),e[t]=r,n=!0}n&&!r.includes(o.id)&&r.push(o.id)}}return e}),{});return{idResults:r,resultPanel:n}}(m,p);return{results:S,resultPanel:T,closestTerm:y}}function c(e,t){const r=Math.floor(e.length/5),o=Array.from({length:t.length-e.length+r},((r,o)=>t.substr(o,e.length)));e.length>1&&o.push(...Array.from({length:t.length-e.length+r+1},((o,n)=>t.substr(n,e.length-r)))),t.length>e.length&&o.push(...Array.from({length:t.length-e.length},((o,n)=>t.substr(n,e.length+r))));for(const t of o)if(n(e,t,!0)<=r)return t;return null}function u(e){return!e.text&&"ToolSectionLabel"!==e.model_class&&"ToolSection"!==e.model_class&&void 0===e.tools}function d(e,t){const r=f(t);for(const t in e){const o=e[t];if(o?.match(r))return o}return null}function f(e,t=[],r=""){let o=e;return t.forEach((e=>{o=o.replace(new RegExp(e,"g"),r)})),o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function h(e,t){for(const r of t)if(e.trim().startsWith(`${r}:`))return e.split(`${r}:`)[1]?.trim();return null}self.addEventListener("message",(e=>{const{type:t,payload:r}=e.data;if("searchToolsByKeys"===t){const{tools:e,keys:t,query:o,panelView:n,currentPanel:s}=r,{results:l,resultPanel:i,closestTerm:c}=a(e,t,o,n,s);self.postMessage({type:"searchToolsByKeysResult",payload:l,sectioned:i,query:o,closestTerm:c})}else"clearFilter"===t?self.postMessage({type:"clearFilterResult"}):"favoriteTools"===t&&self.postMessage({type:"favoriteToolsResult"})}))}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var s=o[e]={id:e,loaded:!1,exports:{}};return r[e].call(s.exports,s,s.exports,n),s.loaded=!0,s.exports}n.m=r,n.x=()=>{var e=n.O(void 0,[2215],(()=>n(90216)));return e=n.O(e)},n.amdD=function(){throw new Error("define cannot be used indirect")},e=[],n.O=(t,r,o,s)=>{if(!r){var l=1/0;for(u=0;u<e.length;u++){r=e[u][0],o=e[u][1],s=e[u][2];for(var i=!0,a=0;a<r.length;a++)(!1&s||l>=s)&&Object.keys(n.O).every((e=>n.O[e](r[a])))?r.splice(a--,1):(i=!1,s<l&&(l=s));if(i){e.splice(u--,1);var c=o();void 0!==c&&(t=c)}}return t}s=s||0;for(var u=e.length;u>0&&e[u-1][2]>s;u--)e[u]=e[u-1];e[u]=[r,o,s]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[])),n.u=e=>"libs.bundled.js",n.miniCssF=e=>{},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.j=216,(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={216:1};n.f.i=(t,r)=>{e[t]||importScripts(n.p+n.u(t))};var t=self.webpackChunk_galaxyproject_galaxy_client=self.webpackChunk_galaxyproject_galaxy_client||[],r=t.push.bind(t);t.push=t=>{var o=t[0],s=t[1],l=t[2];for(var i in s)n.o(s,i)&&(n.m[i]=s[i]);for(l&&l(n);o.length;)e[o.pop()]=1;r(t)}})(),t=n.x,n.x=()=>n.e(2215).then(t);n.x()})();
1
+ (()=>{"use strict";var e,t,r={90216:(e,t,r)=>{var o=r(82630),n=r(2543);const s=function(e,t,r=!1){if(0===e.length)return t.length;if(0===t.length)return e.length;var o,n,s=[];for(o=0;o<=t.length;o++)s[o]=[o];for(n=0;n<=e.length;n++)s[0][n]=n;for(o=1;o<=t.length;o++)for(n=1;n<=e.length;n++)t.charAt(o-1)===e.charAt(n-1)?s[o][n]=s[o-1][n-1]:(s[o][n]=Math.min(s[o-1][n-1]+1,Math.min(s[o][n-1]+1,s[o-1][n]+1)),1==r&&o>1&&n>1&&t.charAt(o-1)===e.charAt(n-2)&&t.charAt(o-2)===e.charAt(n-1)&&(s[o][n]=Math.min(s[o][n],s[o-2][n-2]+1)));return s[t.length][e.length]},l={id:["id","tool_id"],panel_section_name:["section","panel_section_name"],labels:["label","labels","tag"]},i=[" ","-","\\(","\\)","'",":",'"'],a={model_class:"ToolSection",id:"unsectioned",name:"Unsectioned Tools",description:"Tools that don't appear under any section in the unsearched panel"},c={exact:5,startsWith:4,name:3,description:2,combined:1,wordMatch:0};o.U23,o.mRM,o.FFg,o.qFF,o.bG5,o.eST;function u(e,t,r){const{matchedResults:o,closestTerm:s}=d(e,c,t,["name","description"]),{idResults:l,resultPanel:i}=function(e,t){const r=[],o=(0,n.orderBy)(e,["order"],["desc"]).reduce(((e,o)=>{const n=Object.keys(t);for(const s of n){let n=!1;const l=s?t[s]:void 0;if(l&&s){if(l.tools&&l.tools?.includes(o.id)){let t=e[s];t||(t={...l},t.tools=[]),t.tools?.push(o.id),e[s]=t,n=!0}else if(h(l)&&l.id===o.id){const t=a.id;let r=e[t];r||(r={...a},r.tools=[]),r.tools?.push(o.id),e[t]=r,n=!0}n&&!r.includes(o.id)&&r.push(o.id)}}return e}),{});return{idResults:r,resultPanel:o}}(o,r);return{results:l,resultPanel:i,closestTerm:s}}function d(e,t,r,o=["name"],n=!1){const s=[];let a=null;const{filteredQuery:c,filteredKeys:u}=function(e,t){for(const r in t){const o=m(e,t[r]||[]);if(o)return{filteredQuery:o,filteredKeys:{[r]:1}}}return{filteredQuery:null,filteredKeys:{}}}(r,l);c&&(r=c,t=u);const h=r.trim().toLowerCase().split(" "),y=g(r.trim().toLowerCase(),i);for(const r of e)for(const e of Object.keys(t))if(r[e]||"combined"===e){let l="";if("combined"===e&&o.length>1)l=o.map((e=>r[e])).join(" ").trim().toLowerCase();else{const t=r[e];"string"==typeof t?l=t.trim().toLowerCase():Array.isArray(t)?l=t.join(" ").trim().toLowerCase():"number"==typeof t&&(l=t.toString().trim().toLowerCase())}const c=l.split(" ");l=g(l,i);let u=void 0!==t.exact&&l===y?t.exact:t[e];u=void 0!==t.startsWith&&u!==t.exact&&"name"===e&&l.startsWith(y)?t.startsWith:u;const d=Array.from(new Set(c.filter((e=>h.includes(e)))));if(n){if(n){let t=null;if(o.includes(e)&&y.length>=5&&(t=f(y,l)),t){const e=p(c,t);e&&(!a||a&&e.length<a.length)&&(a=e),s.push({id:r.id,order:u});break}}}else{if(l.match(y)){s.push({id:r.id,order:u});break}if("combined"===e&&void 0!==t.wordMatch&&d.length>=2){s.push({id:r.id,order:t.wordMatch});break}}}return c||n||0!=s.length?{matchedResults:s,closestTerm:a}:d(e,t,r,o,!0)}function f(e,t){const r=Math.floor(e.length/5),o=Array.from({length:t.length-e.length+r},((r,o)=>t.substr(o,e.length)));e.length>1&&o.push(...Array.from({length:t.length-e.length+r+1},((o,n)=>t.substr(n,e.length-r)))),t.length>e.length&&o.push(...Array.from({length:t.length-e.length},((o,n)=>t.substr(n,e.length+r))));for(const t of o)if(s(e,t,!0)<=r)return t;return null}function h(e){return!e.text&&"ToolSectionLabel"!==e.model_class&&"ToolSection"!==e.model_class&&void 0===e.tools}function p(e,t){const r=g(t);for(const t in e){const o=e[t];if(o?.match(r))return o}return null}function g(e,t=[],r=""){let o=e;return t.forEach((e=>{o=o.replace(new RegExp(e,"g"),r)})),o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function m(e,t){for(const r of t)if(e.trim().startsWith(`${r}:`))return e.split(`${r}:`)[1]?.trim();return null}self.addEventListener("message",(e=>{const{type:t,payload:r}=e.data;if("searchTools"===t){const{tools:e,query:t,currentPanel:o}=r,{results:n,resultPanel:s,closestTerm:l}=u(e,t,o);self.postMessage({type:"searchToolsByKeysResult",payload:n,sectioned:s,query:t,closestTerm:l})}else"clearFilter"===t?self.postMessage({type:"clearFilterResult"}):"favoriteTools"===t&&self.postMessage({type:"favoriteToolsResult"})}))}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var s=o[e]={id:e,loaded:!1,exports:{}};return r[e].call(s.exports,s,s.exports,n),s.loaded=!0,s.exports}n.m=r,n.x=()=>{var e=n.O(void 0,[2215],(()=>n(90216)));return e=n.O(e)},n.amdD=function(){throw new Error("define cannot be used indirect")},e=[],n.O=(t,r,o,s)=>{if(!r){var l=1/0;for(u=0;u<e.length;u++){r=e[u][0],o=e[u][1],s=e[u][2];for(var i=!0,a=0;a<r.length;a++)(!1&s||l>=s)&&Object.keys(n.O).every((e=>n.O[e](r[a])))?r.splice(a--,1):(i=!1,s<l&&(l=s));if(i){e.splice(u--,1);var c=o();void 0!==c&&(t=c)}}return t}s=s||0;for(var u=e.length;u>0&&e[u-1][2]>s;u--)e[u]=e[u-1];e[u]=[r,o,s]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[])),n.u=e=>"libs.bundled.js",n.miniCssF=e=>{},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.j=216,(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={216:1};n.f.i=(t,r)=>{e[t]||importScripts(n.p+n.u(t))};var t=self.webpackChunk_galaxyproject_galaxy_client=self.webpackChunk_galaxyproject_galaxy_client||[],r=t.push.bind(t);t.push=t=>{var o=t[0],s=t[1],l=t[2];for(var i in s)n.o(s,i)&&(n.m[i]=s[i]);for(l&&l(n);o.length;)e[o.pop()]=1;r(t)}})(),t=n.x,n.x=()=>n.e(2215).then(t);n.x()})();
@@ -1 +1 @@
1
- (self.webpackChunk_galaxyproject_galaxy_client=self.webpackChunk_galaxyproject_galaxy_client||[]).push([[244],{20244:(e,t,n)=>{e=n.nmd(e),ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,i=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@\\w+(?=\\s|$)"},i.getTagRule(),{defaultToken:"comment.doc.body",caseInsensitive:!0}]}};r.inherits(i,o),i.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},i.getStartRule=function(e){return{token:"comment.doc",regex:/\/\*\*(?!\/)/,next:e}},i.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.DocCommentHighlightRules=i})),ace.define("ace/mode/c_cpp_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./doc_comment_highlight_rules").DocCommentHighlightRules,i=e("./text_highlight_rules").TextHighlightRules,s=t.cFunctions="hypot|hypotf|hypotl|sscanf|system|snprintf|scanf|scalbn|scalbnf|scalbnl|scalbln|scalblnf|scalblnl|sin|sinh|sinhf|sinhl|sinf|sinl|signal|signbit|strstr|strspn|strncpy|strncat|strncmp|strcspn|strchr|strcoll|strcpy|strcat|strcmp|strtoimax|strtod|strtoul|strtoull|strtoumax|strtok|strtof|strtol|strtold|strtoll|strerror|strpbrk|strftime|strlen|strrchr|strxfrm|sprintf|setjmp|setvbuf|setlocale|setbuf|sqrt|sqrtf|sqrtl|swscanf|swprintf|srand|nearbyint|nearbyintf|nearbyintl|nexttoward|nexttowardf|nexttowardl|nextafter|nextafterf|nextafterl|nan|nanf|nanl|csin|csinh|csinhf|csinhl|csinf|csinl|csqrt|csqrtf|csqrtl|ccos|ccosh|ccoshf|ccosf|ccosl|cimag|cimagf|cimagl|ctime|ctan|ctanh|ctanhf|ctanhl|ctanf|ctanl|cos|cosh|coshf|coshl|cosf|cosl|conj|conjf|conjl|copysign|copysignf|copysignl|cpow|cpowf|cpowl|cproj|cprojf|cprojl|ceil|ceilf|ceill|cexp|cexpf|cexpl|clock|clog|clogf|clogl|clearerr|casin|casinh|casinhf|casinhl|casinf|casinl|cacos|cacosh|cacoshf|cacoshl|cacosf|cacosl|catan|catanh|catanhf|catanhl|catanf|catanl|calloc|carg|cargf|cargl|cabs|cabsf|cabsl|creal|crealf|creall|cbrt|cbrtf|cbrtl|time|toupper|tolower|tan|tanh|tanhf|tanhl|tanf|tanl|trunc|truncf|truncl|tgamma|tgammaf|tgammal|tmpnam|tmpfile|isspace|isnormal|isnan|iscntrl|isinf|isdigit|isunordered|isupper|ispunct|isprint|isfinite|iswspace|iswcntrl|iswctype|iswdigit|iswupper|iswpunct|iswprint|iswlower|iswalnum|iswalpha|iswgraph|iswxdigit|iswblank|islower|isless|islessequal|islessgreater|isalnum|isalpha|isgreater|isgreaterequal|isgraph|isxdigit|isblank|ilogb|ilogbf|ilogbl|imaxdiv|imaxabs|div|difftime|_Exit|ungetc|ungetwc|pow|powf|powl|puts|putc|putchar|putwc|putwchar|perror|printf|erf|erfc|erfcf|erfcl|erff|erfl|exit|exp|exp2|exp2f|exp2l|expf|expl|expm1|expm1f|expm1l|vsscanf|vsnprintf|vscanf|vsprintf|vswscanf|vswprintf|vprintf|vfscanf|vfprintf|vfwscanf|vfwprintf|vwscanf|vwprintf|va_start|va_copy|va_end|va_arg|qsort|fscanf|fsetpos|fseek|fclose|ftell|fopen|fdim|fdimf|fdiml|fpclassify|fputs|fputc|fputws|fputwc|fprintf|feholdexcept|fesetenv|fesetexceptflag|fesetround|feclearexcept|fetestexcept|feof|feupdateenv|feraiseexcept|ferror|fegetenv|fegetexceptflag|fegetround|fflush|fwscanf|fwide|fwprintf|fwrite|floor|floorf|floorl|fabs|fabsf|fabsl|fgets|fgetc|fgetpos|fgetws|fgetwc|freopen|free|fread|frexp|frexpf|frexpl|fmin|fminf|fminl|fmod|fmodf|fmodl|fma|fmaf|fmal|fmax|fmaxf|fmaxl|ldiv|ldexp|ldexpf|ldexpl|longjmp|localtime|localeconv|log|log1p|log1pf|log1pl|log10|log10f|log10l|log2|log2f|log2l|logf|logl|logb|logbf|logbl|labs|lldiv|llabs|llrint|llrintf|llrintl|llround|llroundf|llroundl|lrint|lrintf|lrintl|lround|lroundf|lroundl|lgamma|lgammaf|lgammal|wscanf|wcsstr|wcsspn|wcsncpy|wcsncat|wcsncmp|wcscspn|wcschr|wcscoll|wcscpy|wcscat|wcscmp|wcstoimax|wcstod|wcstoul|wcstoull|wcstoumax|wcstok|wcstof|wcstol|wcstold|wcstoll|wcstombs|wcspbrk|wcsftime|wcslen|wcsrchr|wcsrtombs|wcsxfrm|wctob|wctomb|wcrtomb|wprintf|wmemset|wmemchr|wmemcpy|wmemcmp|wmemmove|assert|asctime|asin|asinh|asinhf|asinhl|asinf|asinl|acos|acosh|acoshf|acoshl|acosf|acosl|atoi|atof|atol|atoll|atexit|atan|atanh|atanhf|atanhl|atan2|atan2f|atan2l|atanf|atanl|abs|abort|gets|getc|getchar|getenv|getwc|getwchar|gmtime|rint|rintf|rintl|round|roundf|roundl|rename|realloc|rewind|remove|remquo|remquof|remquol|remainder|remainderf|remainderl|rand|raise|bsearch|btowc|modf|modff|modfl|memset|memchr|memcpy|memcmp|memmove|mktime|malloc|mbsinit|mbstowcs|mbsrtowcs|mbtowc|mblen|mbrtowc|mbrlen",a=function(e){var t=this.$keywords=this.createKeywordMapper(Object.assign({"keyword.control":"break|case|continue|default|do|else|for|goto|if|_Pragma|return|switch|while|catch|operator|try|throw|using","storage.type":"asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|_Imaginary|int|int8_t|int16_t|int32_t|int64_t|long|short|signed|size_t|struct|typedef|uint8_t|uint16_t|uint32_t|uint64_t|union|unsigned|void|class|wchar_t|template|char16_t|char32_t","storage.modifier":"const|extern|register|restrict|static|volatile|inline|private|protected|public|friend|explicit|virtual|export|mutable|typename|constexpr|new|delete|alignas|alignof|decltype|noexcept|thread_local","keyword.operator":"and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|const_cast|dynamic_cast|reinterpret_cast|static_cast|sizeof|namespace","variable.language":"this","constant.language":"NULL|true|false|TRUE|FALSE|nullptr","support.function.C99.c":s},e),"identifier"),n=/\\(?:['"?\\abfnrtv]|[0-7]{1,3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}U[a-fA-F\d]{8}|.)/.source,r="%"+/(\d+\$)?/.source+/[#0\- +']*/.source+/[,;:_]?/.source+/((-?\d+)|\*(-?\d+\$)?)?/.source+/(\.((-?\d+)|\*(-?\d+\$)?)?)?/.source+/(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)?/.source+/(\[[^"\]]+\]|[diouxXDOUeEfFgGaACcSspn%])/.source;this.$rules={start:[{token:"comment",regex:"//$",next:"start"},{token:"comment",regex:"//",next:"singleLineComment"},o.getStartRule("doc-start"),{token:"comment",regex:"\\/\\*",next:"comment"},{token:"string",regex:"'(?:"+n+"|.)?'"},{token:"string.start",regex:'"',stateName:"qqstring",next:[{token:"string",regex:/\\\s*$/,next:"qqstring"},{token:"constant.language.escape",regex:n},{token:"constant.language.escape",regex:r},{token:"string.end",regex:'"|$',next:"start"},{defaultToken:"string"}]},{token:"string.start",regex:'R"\\(',stateName:"rawString",next:[{token:"string.end",regex:'\\)"',next:"start"},{defaultToken:"string"}]},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{token:"keyword",regex:"#\\s*(?:include|import|pragma|line|define|undef)\\b",next:"directive"},{token:"keyword",regex:"#\\s*(?:endif|if|ifdef|else|elif|ifndef)\\b"},{token:t,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*"},{token:"keyword.operator",regex:/--|\+\+|<<=|>>=|>>>=|<>|&&|\|\||\?:|[*%\/+\-&\^|~!<>=]=?/},{token:"punctuation.operator",regex:"\\?|\\:|\\,|\\;|\\."},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}],singleLineComment:[{token:"comment",regex:/\\$/,next:"singleLineComment"},{token:"comment",regex:/$/,next:"start"},{defaultToken:"comment"}],directive:[{token:"constant.other.multiline",regex:/\\/},{token:"constant.other.multiline",regex:/.*\\/},{token:"constant.other",regex:"\\s*<.+?>",next:"start"},{token:"constant.other",regex:'\\s*["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]',next:"start"},{token:"constant.other",regex:"\\s*['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']",next:"start"},{token:"constant.other",regex:/[^\\\/]+/,next:"start"}]},this.embedRules(o,"doc-",[o.getEndRule("start")]),this.normalizeRules()};r.inherits(a,i),t.c_cppHighlightRules=a})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=e("../range").Range,o=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t).match(/^(\s*\})/);if(!n)return 0;var o=n[1].length,i=e.findMatchingBracket({row:t,column:o});if(!i||i.row==t)return 0;var s=this.$getIndent(e.getLine(i.row));e.replace(new r(t,0,t,o-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(o.prototype),t.MatchingBraceOutdent=o})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),o=e("../../range").Range,i=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(s,i),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var o=this._getFoldWidgetBase(e,t,n);return!o&&this.startRegionRe.test(r)?"start":o},this.getFoldWidgetRange=function(e,t,n,r){var o,i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);if(o=i.match(this.foldingStartMarker)){var s=o.index;if(o[1])return this.openingBracketBlock(e,o[1],n,s);var a=e.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t&&(o=i.match(this.foldingStopMarker))){s=o.index+o[0].length;return o[1]?this.closingBracketBlock(e,o[1],n,s):e.getCommentFoldRange(n,s,-1)}},this.getSectionRange=function(e,t){for(var n=e.getLine(t),r=n.search(/\S/),i=t,s=n.length,a=t+=1,c=e.getLength();++t<c;){var l=(n=e.getLine(t)).search(/\S/);if(-1!==l){if(r>l)break;var g=this.getFoldWidgetRange(e,"all",t);if(g){if(g.start.row<=i)break;if(g.isMultiLine())t=g.end.row;else if(r==l)break}a=t}}return new o(i,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),i=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;++n<i;){t=e.getLine(n);var l=a.exec(t);if(l&&(l[1]?c--:c++,!c))break}if(n>s)return new o(s,r,n,t.length)}}.call(s.prototype)})),ace.define("ace/mode/c_cpp",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/c_cpp_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./text").Mode,i=e("./c_cpp_highlight_rules").c_cppHighlightRules,s=e("./matching_brace_outdent").MatchingBraceOutdent,a=e("./folding/cstyle").FoldMode,c=function(){this.HighlightRules=i,this.$outdent=new s,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new a};r.inherits(c,o),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t),o=this.getTokenizer().getLineTokens(t,e),i=o.tokens,s=o.state;if(i.length&&"comment"==i[i.length-1].type)return r;if("start"==e)(a=t.match(/^.*[\{\(\[]\s*$/))&&(r+=n);else if("doc-start"==e){if("start"==s)return"";var a;(a=t.match(/^\s*(\/?)\*/))&&(a[1]&&(r+=" "),r+="* ")}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.$id="ace/mode/c_cpp",this.snippetFileId="ace/snippets/c_cpp"}.call(c.prototype),t.Mode=c})),ace.define("ace/mode/nix_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,i=function(){var e=this.createKeywordMapper({"constant.language.nix":"true|false","keyword.control.nix":"with|import|if|else|then|inherit","keyword.declaration.nix":"let|in|rec"},"identifier");this.$rules={start:[{token:"comment",regex:/#.*$/},{token:"comment",regex:/\/\*/,next:"comment"},{token:"constant",regex:"<[^>]+>"},{regex:"(==|!=|<=?|>=?)",token:["keyword.operator.comparison.nix"]},{regex:"((?:[+*/%-]|\\~)=)",token:["keyword.operator.assignment.arithmetic.nix"]},{regex:"=",token:"keyword.operator.assignment.nix"},{token:"string",regex:"''",next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',push:"qqstring"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{regex:"}",token:function(e,t,n){return n[1]&&"q"==n[1].charAt(0)?"constant.language.escape":"text"},next:"pop"}],comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}],qqdoc:[{token:"constant.language.escape",regex:/\$\{/,push:"start"},{token:"string",regex:"''",next:"pop"},{defaultToken:"string"}],qqstring:[{token:"constant.language.escape",regex:/\$\{/,push:"start"},{token:"string",regex:'"',next:"pop"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:/\$\{/,push:"start"},{token:"string",regex:"'",next:"pop"},{defaultToken:"string"}]},this.normalizeRules()};r.inherits(i,o),t.NixHighlightRules=i})),ace.define("ace/mode/nix",["require","exports","module","ace/lib/oop","ace/mode/c_cpp","ace/mode/nix_highlight_rules","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./c_cpp").Mode,i=e("./nix_highlight_rules").NixHighlightRules,s=e("./folding/cstyle").FoldMode,a=function(){o.call(this),this.HighlightRules=i,this.foldingRules=new s,this.$behaviour=this.$defaultBehaviour};r.inherits(a,o),function(){this.lineCommentStart="#",this.blockComment={start:"/*",end:"*/"},this.$id="ace/mode/nix"}.call(a.prototype),t.Mode=a})),ace.require(["ace/mode/nix"],(function(t){e&&(e.exports=t)}))}}]);
1
+ (self.webpackChunk_galaxyproject_galaxy_client=self.webpackChunk_galaxyproject_galaxy_client||[]).push([[244],{97863:(e,t,n)=>{e=n.nmd(e),ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,i=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@\\w+(?=\\s|$)"},i.getTagRule(),{defaultToken:"comment.doc.body",caseInsensitive:!0}]}};r.inherits(i,o),i.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},i.getStartRule=function(e){return{token:"comment.doc",regex:/\/\*\*(?!\/)/,next:e}},i.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.DocCommentHighlightRules=i})),ace.define("ace/mode/c_cpp_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./doc_comment_highlight_rules").DocCommentHighlightRules,i=e("./text_highlight_rules").TextHighlightRules,s=t.cFunctions="hypot|hypotf|hypotl|sscanf|system|snprintf|scanf|scalbn|scalbnf|scalbnl|scalbln|scalblnf|scalblnl|sin|sinh|sinhf|sinhl|sinf|sinl|signal|signbit|strstr|strspn|strncpy|strncat|strncmp|strcspn|strchr|strcoll|strcpy|strcat|strcmp|strtoimax|strtod|strtoul|strtoull|strtoumax|strtok|strtof|strtol|strtold|strtoll|strerror|strpbrk|strftime|strlen|strrchr|strxfrm|sprintf|setjmp|setvbuf|setlocale|setbuf|sqrt|sqrtf|sqrtl|swscanf|swprintf|srand|nearbyint|nearbyintf|nearbyintl|nexttoward|nexttowardf|nexttowardl|nextafter|nextafterf|nextafterl|nan|nanf|nanl|csin|csinh|csinhf|csinhl|csinf|csinl|csqrt|csqrtf|csqrtl|ccos|ccosh|ccoshf|ccosf|ccosl|cimag|cimagf|cimagl|ctime|ctan|ctanh|ctanhf|ctanhl|ctanf|ctanl|cos|cosh|coshf|coshl|cosf|cosl|conj|conjf|conjl|copysign|copysignf|copysignl|cpow|cpowf|cpowl|cproj|cprojf|cprojl|ceil|ceilf|ceill|cexp|cexpf|cexpl|clock|clog|clogf|clogl|clearerr|casin|casinh|casinhf|casinhl|casinf|casinl|cacos|cacosh|cacoshf|cacoshl|cacosf|cacosl|catan|catanh|catanhf|catanhl|catanf|catanl|calloc|carg|cargf|cargl|cabs|cabsf|cabsl|creal|crealf|creall|cbrt|cbrtf|cbrtl|time|toupper|tolower|tan|tanh|tanhf|tanhl|tanf|tanl|trunc|truncf|truncl|tgamma|tgammaf|tgammal|tmpnam|tmpfile|isspace|isnormal|isnan|iscntrl|isinf|isdigit|isunordered|isupper|ispunct|isprint|isfinite|iswspace|iswcntrl|iswctype|iswdigit|iswupper|iswpunct|iswprint|iswlower|iswalnum|iswalpha|iswgraph|iswxdigit|iswblank|islower|isless|islessequal|islessgreater|isalnum|isalpha|isgreater|isgreaterequal|isgraph|isxdigit|isblank|ilogb|ilogbf|ilogbl|imaxdiv|imaxabs|div|difftime|_Exit|ungetc|ungetwc|pow|powf|powl|puts|putc|putchar|putwc|putwchar|perror|printf|erf|erfc|erfcf|erfcl|erff|erfl|exit|exp|exp2|exp2f|exp2l|expf|expl|expm1|expm1f|expm1l|vsscanf|vsnprintf|vscanf|vsprintf|vswscanf|vswprintf|vprintf|vfscanf|vfprintf|vfwscanf|vfwprintf|vwscanf|vwprintf|va_start|va_copy|va_end|va_arg|qsort|fscanf|fsetpos|fseek|fclose|ftell|fopen|fdim|fdimf|fdiml|fpclassify|fputs|fputc|fputws|fputwc|fprintf|feholdexcept|fesetenv|fesetexceptflag|fesetround|feclearexcept|fetestexcept|feof|feupdateenv|feraiseexcept|ferror|fegetenv|fegetexceptflag|fegetround|fflush|fwscanf|fwide|fwprintf|fwrite|floor|floorf|floorl|fabs|fabsf|fabsl|fgets|fgetc|fgetpos|fgetws|fgetwc|freopen|free|fread|frexp|frexpf|frexpl|fmin|fminf|fminl|fmod|fmodf|fmodl|fma|fmaf|fmal|fmax|fmaxf|fmaxl|ldiv|ldexp|ldexpf|ldexpl|longjmp|localtime|localeconv|log|log1p|log1pf|log1pl|log10|log10f|log10l|log2|log2f|log2l|logf|logl|logb|logbf|logbl|labs|lldiv|llabs|llrint|llrintf|llrintl|llround|llroundf|llroundl|lrint|lrintf|lrintl|lround|lroundf|lroundl|lgamma|lgammaf|lgammal|wscanf|wcsstr|wcsspn|wcsncpy|wcsncat|wcsncmp|wcscspn|wcschr|wcscoll|wcscpy|wcscat|wcscmp|wcstoimax|wcstod|wcstoul|wcstoull|wcstoumax|wcstok|wcstof|wcstol|wcstold|wcstoll|wcstombs|wcspbrk|wcsftime|wcslen|wcsrchr|wcsrtombs|wcsxfrm|wctob|wctomb|wcrtomb|wprintf|wmemset|wmemchr|wmemcpy|wmemcmp|wmemmove|assert|asctime|asin|asinh|asinhf|asinhl|asinf|asinl|acos|acosh|acoshf|acoshl|acosf|acosl|atoi|atof|atol|atoll|atexit|atan|atanh|atanhf|atanhl|atan2|atan2f|atan2l|atanf|atanl|abs|abort|gets|getc|getchar|getenv|getwc|getwchar|gmtime|rint|rintf|rintl|round|roundf|roundl|rename|realloc|rewind|remove|remquo|remquof|remquol|remainder|remainderf|remainderl|rand|raise|bsearch|btowc|modf|modff|modfl|memset|memchr|memcpy|memcmp|memmove|mktime|malloc|mbsinit|mbstowcs|mbsrtowcs|mbtowc|mblen|mbrtowc|mbrlen",a=function(e){var t=this.$keywords=this.createKeywordMapper(Object.assign({"keyword.control":"break|case|continue|default|do|else|for|goto|if|_Pragma|return|switch|while|catch|operator|try|throw|using","storage.type":"asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|_Imaginary|int|int8_t|int16_t|int32_t|int64_t|long|short|signed|size_t|struct|typedef|uint8_t|uint16_t|uint32_t|uint64_t|union|unsigned|void|class|wchar_t|template|char16_t|char32_t","storage.modifier":"const|extern|register|restrict|static|volatile|inline|private|protected|public|friend|explicit|virtual|export|mutable|typename|constexpr|new|delete|alignas|alignof|decltype|noexcept|thread_local","keyword.operator":"and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|const_cast|dynamic_cast|reinterpret_cast|static_cast|sizeof|namespace","variable.language":"this","constant.language":"NULL|true|false|TRUE|FALSE|nullptr","support.function.C99.c":s},e),"identifier"),n=/\\(?:['"?\\abfnrtv]|[0-7]{1,3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}U[a-fA-F\d]{8}|.)/.source,r="%"+/(\d+\$)?/.source+/[#0\- +']*/.source+/[,;:_]?/.source+/((-?\d+)|\*(-?\d+\$)?)?/.source+/(\.((-?\d+)|\*(-?\d+\$)?)?)?/.source+/(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)?/.source+/(\[[^"\]]+\]|[diouxXDOUeEfFgGaACcSspn%])/.source;this.$rules={start:[{token:"comment",regex:"//$",next:"start"},{token:"comment",regex:"//",next:"singleLineComment"},o.getStartRule("doc-start"),{token:"comment",regex:"\\/\\*",next:"comment"},{token:"string",regex:"'(?:"+n+"|.)?'"},{token:"string.start",regex:'"',stateName:"qqstring",next:[{token:"string",regex:/\\\s*$/,next:"qqstring"},{token:"constant.language.escape",regex:n},{token:"constant.language.escape",regex:r},{token:"string.end",regex:'"|$',next:"start"},{defaultToken:"string"}]},{token:"string.start",regex:'R"\\(',stateName:"rawString",next:[{token:"string.end",regex:'\\)"',next:"start"},{defaultToken:"string"}]},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{token:"keyword",regex:"#\\s*(?:include|import|pragma|line|define|undef)\\b",next:"directive"},{token:"keyword",regex:"#\\s*(?:endif|if|ifdef|else|elif|ifndef)\\b"},{token:t,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*"},{token:"keyword.operator",regex:/--|\+\+|<<=|>>=|>>>=|<>|&&|\|\||\?:|[*%\/+\-&\^|~!<>=]=?/},{token:"punctuation.operator",regex:"\\?|\\:|\\,|\\;|\\."},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}],singleLineComment:[{token:"comment",regex:/\\$/,next:"singleLineComment"},{token:"comment",regex:/$/,next:"start"},{defaultToken:"comment"}],directive:[{token:"constant.other.multiline",regex:/\\/},{token:"constant.other.multiline",regex:/.*\\/},{token:"constant.other",regex:"\\s*<.+?>",next:"start"},{token:"constant.other",regex:'\\s*["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]',next:"start"},{token:"constant.other",regex:"\\s*['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']",next:"start"},{token:"constant.other",regex:/[^\\\/]+/,next:"start"}]},this.embedRules(o,"doc-",[o.getEndRule("start")]),this.normalizeRules()};r.inherits(a,i),t.c_cppHighlightRules=a})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=e("../range").Range,o=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var n=e.getLine(t).match(/^(\s*\})/);if(!n)return 0;var o=n[1].length,i=e.findMatchingBracket({row:t,column:o});if(!i||i.row==t)return 0;var s=this.$getIndent(e.getLine(i.row));e.replace(new r(t,0,t,o-1),s)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(o.prototype),t.MatchingBraceOutdent=o})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),o=e("../../range").Range,i=e("./fold_mode").FoldMode,s=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(s,i),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var o=this._getFoldWidgetBase(e,t,n);return!o&&this.startRegionRe.test(r)?"start":o},this.getFoldWidgetRange=function(e,t,n,r){var o,i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);if(o=i.match(this.foldingStartMarker)){var s=o.index;if(o[1])return this.openingBracketBlock(e,o[1],n,s);var a=e.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,n):"all"!=t&&(a=null)),a}if("markbegin"!==t&&(o=i.match(this.foldingStopMarker))){s=o.index+o[0].length;return o[1]?this.closingBracketBlock(e,o[1],n,s):e.getCommentFoldRange(n,s,-1)}},this.getSectionRange=function(e,t){for(var n=e.getLine(t),r=n.search(/\S/),i=t,s=n.length,a=t+=1,c=e.getLength();++t<c;){var l=(n=e.getLine(t)).search(/\S/);if(-1!==l){if(r>l)break;var g=this.getFoldWidgetRange(e,"all",t);if(g){if(g.start.row<=i)break;if(g.isMultiLine())t=g.end.row;else if(r==l)break}a=t}}return new o(i,s,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,t,n){for(var r=t.search(/\s*$/),i=e.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;++n<i;){t=e.getLine(n);var l=a.exec(t);if(l&&(l[1]?c--:c++,!c))break}if(n>s)return new o(s,r,n,t.length)}}.call(s.prototype)})),ace.define("ace/mode/c_cpp",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/c_cpp_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./text").Mode,i=e("./c_cpp_highlight_rules").c_cppHighlightRules,s=e("./matching_brace_outdent").MatchingBraceOutdent,a=e("./folding/cstyle").FoldMode,c=function(){this.HighlightRules=i,this.$outdent=new s,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new a};r.inherits(c,o),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t),o=this.getTokenizer().getLineTokens(t,e),i=o.tokens,s=o.state;if(i.length&&"comment"==i[i.length-1].type)return r;if("start"==e)(a=t.match(/^.*[\{\(\[]\s*$/))&&(r+=n);else if("doc-start"==e){if("start"==s)return"";var a;(a=t.match(/^\s*(\/?)\*/))&&(a[1]&&(r+=" "),r+="* ")}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.$id="ace/mode/c_cpp",this.snippetFileId="ace/snippets/c_cpp"}.call(c.prototype),t.Mode=c})),ace.define("ace/mode/nix_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,i=function(){var e=this.createKeywordMapper({"constant.language.nix":"true|false","keyword.control.nix":"with|import|if|else|then|inherit","keyword.declaration.nix":"let|in|rec"},"identifier");this.$rules={start:[{token:"comment",regex:/#.*$/},{token:"comment",regex:/\/\*/,next:"comment"},{token:"constant",regex:"<[^>]+>"},{regex:"(==|!=|<=?|>=?)",token:["keyword.operator.comparison.nix"]},{regex:"((?:[+*/%-]|\\~)=)",token:["keyword.operator.assignment.arithmetic.nix"]},{regex:"=",token:"keyword.operator.assignment.nix"},{token:"string",regex:"''",next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',push:"qqstring"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{regex:"}",token:function(e,t,n){return n[1]&&"q"==n[1].charAt(0)?"constant.language.escape":"text"},next:"pop"}],comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}],qqdoc:[{token:"constant.language.escape",regex:/\$\{/,push:"start"},{token:"string",regex:"''",next:"pop"},{defaultToken:"string"}],qqstring:[{token:"constant.language.escape",regex:/\$\{/,push:"start"},{token:"string",regex:'"',next:"pop"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:/\$\{/,push:"start"},{token:"string",regex:"'",next:"pop"},{defaultToken:"string"}]},this.normalizeRules()};r.inherits(i,o),t.NixHighlightRules=i})),ace.define("ace/mode/nix",["require","exports","module","ace/lib/oop","ace/mode/c_cpp","ace/mode/nix_highlight_rules","ace/mode/folding/cstyle"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./c_cpp").Mode,i=e("./nix_highlight_rules").NixHighlightRules,s=e("./folding/cstyle").FoldMode,a=function(){o.call(this),this.HighlightRules=i,this.foldingRules=new s,this.$behaviour=this.$defaultBehaviour};r.inherits(a,o),function(){this.lineCommentStart="#",this.blockComment={start:"/*",end:"*/"},this.$id="ace/mode/nix"}.call(a.prototype),t.Mode=a})),ace.require(["ace/mode/nix"],(function(t){e&&(e.exports=t)}))}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_galaxyproject_galaxy_client=self.webpackChunk_galaxyproject_galaxy_client||[]).push([[4126],{5890:(e,t,a)=>{var r={"./simpleWorker":45585,"./simpleWorker.js":45585};function l(e){return Promise.resolve().then((()=>{if(!a.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a(r[e])}))}l.keys=()=>Object.keys(r),l.id=5890,e.exports=l},9204:(e,t,a)=>{var r={"./editorBaseApi":[93059],"./editorBaseApi.js":[93059],"./editorSimpleWorker":[90735],"./editorSimpleWorker.js":[90735],"./editorWorker":[90304],"./editorWorker.js":[90304],"./editorWorkerHost":[96358],"./editorWorkerHost.js":[96358],"./findSectionHeaders":[99307],"./findSectionHeaders.js":[99307],"./getIconClasses":[78148],"./getIconClasses.js":[78148],"./languageFeatureDebounce":[12060],"./languageFeatureDebounce.js":[12060],"./languageFeatures":[52230],"./languageFeatures.js":[52230],"./languageFeaturesService":[81197],"./languageFeaturesService.js":[81197],"./languageService":[83930],"./languageService.js":[83930],"./languagesAssociations":[55996],"./languagesAssociations.js":[55996],"./languagesRegistry":[66995],"./languagesRegistry.js":[66995],"./markerDecorations":[80886],"./markerDecorations.js":[80886],"./markerDecorationsService":[90011],"./markerDecorationsService.js":[90011],"./model":[64830],"./model.js":[64830],"./modelService":[40931],"./modelService.js":[40931],"./resolverService":[14661],"./resolverService.js":[14661],"./semanticTokensDto":[19376],"./semanticTokensDto.js":[19376],"./semanticTokensProviderStyling":[9520],"./semanticTokensProviderStyling.js":[9520],"./semanticTokensStyling":[82891],"./semanticTokensStyling.js":[82891],"./semanticTokensStylingService":[38148],"./semanticTokensStylingService.js":[38148],"./textModelSync/textModelSync.impl":[75456],"./textModelSync/textModelSync.impl.js":[75456],"./textModelSync/textModelSync.protocol":[45628,8502],"./textModelSync/textModelSync.protocol.js":[45628,8502],"./textResourceConfiguration":[41504],"./textResourceConfiguration.js":[41504],"./treeSitterParserService":[35320],"./treeSitterParserService.js":[35320],"./treeViewsDnd":[2603],"./treeViewsDnd.js":[2603],"./treeViewsDndService":[26756],"./treeViewsDndService.js":[26756],"./unicodeTextModelHighlighter":[49887],"./unicodeTextModelHighlighter.js":[49887]};function l(e){if(!a.o(r,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],l=t[0];return Promise.all(t.slice(1).map(a.e)).then((()=>a(l)))}l.keys=()=>Object.keys(r),l.id=9204,e.exports=l},14458:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>G});var r=a(62893),l=a(39075),n=a(61273),i=a(81096),o=a(66676),s=a(42092),p=a(70163),d=a(19530),u=a(27661),m=a(53366);function f(e,t){let a=0,r=e.length;if(t){const l=t.exec(e);l&&l.length&&(a=l.index,r=a+l[0].length)}const l=[];for(;a<r;)if("$"===e[a]&&"("===e[a+1]){let t=0;const n=a+2;for(a+=2;a<r;){if("("===e[a])t++;else if(")"===e[a]){if(0===t){l.push({fragment:e.substring(n,a+1),start:n});break}t--}a++}}else a++;return l}const c={brackets:[["{","}","delimiter.curly"],["$(",")","delimiter.parenthesis"],["[","]","delimiter.square"],["(",")","delimiter.parenthesis"],["<",">","delimiter.angle"]],tokenizer:{root:[[/(requirements)(:)(\s*)/,[{token:"type.yaml",next:"@requirements",log:"requirements"},"operators.yaml","whitespace.yaml"]],[/(shell_command)(:)(\s*)(\|)/,[{token:"type.yaml",next:"@shellCommand"},"operators.yaml","whitespace.yaml","operators.yaml"]],[/(shell_command)(:)(\s*)/,[{token:"type.yaml",next:"@shellCommand"},"operator.yaml","whitespace.yaml"]],[/.*/,{token:"@rematch",nextEmbedded:"yaml",next:"@yamlRest"}]],shellCommand:[[/\$\(/,{token:"@rematch",bracket:"@open",next:"jsEmbedded",log:"Open fragment"}],[/./,{cases:{"@eos":{token:"source.js",next:"@pop",log:"@eos"},default:{token:"source.js",log:"default"}}}]],jsEmbedded:[[/\/\/end(?=\))/,{token:"comment",next:"@pop",nextEmbedded:"@pop",log:"pop embedded inline"}],[/$/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop",log:"pop"}],[/[^(]+/,{token:"source.js",nextEmbedded:"javascript",log:"embedded source.js"}]],requirements:[[/(\s*)(-)(\s*)(type)(:)(\s*)(javascript)/,["whitespace","operators","whitespace","type","operators","whitespace",{token:"string.yaml",next:"@javascriptRequirement",log:"array of"}]],[/.*/,{token:"@rematch",next:"@root"}]],javascriptRequirement:[[/\s*(expression_lib):\s*/,{token:"type.yaml",next:"@expressionLib",log:"expressionLib"}],[/.*/,{token:"@rematch",next:"@root"}]],expressionLib:[[/\s*-\s*\|/,{token:"key",nextEmbedded:"javascript",next:"@jsBlockMultiline",log:"jsBlockMultiLine"}],[/.*/,{token:"@rematch",next:"@root"}]],inlineJs:[[/$/,{token:"@rematch",nextEmbedded:"@pop",next:"@pop"}]],jsBlockMultiline:[[/^\s*\w+:|^\s*$/,{token:"@rematch",nextEmbedded:"@pop",next:"@pop"}]],yamlRest:[[/$/,{token:"@rematch",nextEmbedded:"@pop",next:"@pop"}]]}};var y=a(56219);async function g(e){let t={};try{t=(0,p.qg)(e)}catch(r){return{schemaInterface:"",error:r}}const{data:a,error:r}=await async function(e){const{data:t,error:a}=await(0,d.LQ)().POST("/api/unprivileged_tools/runtime_model",{body:{active:!0,hidden:!1,representation:e,src:"representation"}});return{data:t,error:a}}(t);if(r)return{schemaInterface:"",error:r};return{schemaInterface:await(0,y.a)(a),error:r}}const h=JSON.parse('{"$defs":{"BaseUrlParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_baseurl","default":"gx_baseurl","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"},"type":{"const":"baseurl","title":"type","type":"string"}},"required":["name","type"],"title":"BaseUrlParameterModel","type":"object"},"BooleanParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_boolean","default":"gx_boolean","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"},"type":{"const":"boolean","title":"type","type":"string"},"value":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"title":"value"},"truevalue":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"truevalue"},"falsevalue":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"falsevalue"}},"required":["name","type"],"title":"BooleanParameterModel","type":"object"},"Citation":{"properties":{"type":{"title":"type","type":"string"},"content":{"title":"content","type":"string"}},"required":["type","content"],"title":"Citation","type":"object"},"ColorParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_color","default":"gx_color","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"},"type":{"const":"color","title":"type","type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"value"}},"required":["name","type"],"title":"ColorParameterModel","type":"object"},"ConditionalParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_conditional","default":"gx_conditional","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"},"type":{"const":"conditional","title":"type","type":"string"},"test_parameter":{"anyOf":[{"$ref":"#/$defs/BooleanParameterModel"},{"$ref":"#/$defs/SelectParameterModel"}],"title":"test_parameter"},"whens":{"items":{"$ref":"#/$defs/ConditionalWhen"},"title":"whens","type":"array"}},"required":["name","type","test_parameter","whens"],"title":"ConditionalParameterModel","type":"object"},"ConditionalWhen":{"additionalProperties":false,"properties":{"discriminator":{"anyOf":[{"type":"boolean"},{"type":"string"}],"title":"Discriminator"},"parameters":{"items":{"anyOf":[{"$ref":"#/$defs/CwlIntegerParameterModel"},{"$ref":"#/$defs/CwlFloatParameterModel"},{"$ref":"#/$defs/CwlStringParameterModel"},{"$ref":"#/$defs/CwlBooleanParameterModel"},{"$ref":"#/$defs/CwlNullParameterModel"},{"$ref":"#/$defs/CwlFileParameterModel"},{"$ref":"#/$defs/CwlDirectoryParameterModel"},{"$ref":"#/$defs/CwlUnionParameterModel"},{"$ref":"#/$defs/TextParameterModel"},{"$ref":"#/$defs/IntegerParameterModel"},{"$ref":"#/$defs/FloatParameterModel"},{"$ref":"#/$defs/BooleanParameterModel"},{"$ref":"#/$defs/HiddenParameterModel"},{"$ref":"#/$defs/SelectParameterModel"},{"$ref":"#/$defs/DataParameterModel"},{"$ref":"#/$defs/DataCollectionParameterModel"},{"$ref":"#/$defs/DataColumnParameterModel"},{"$ref":"#/$defs/DirectoryUriParameterModel"},{"$ref":"#/$defs/RulesParameterModel"},{"$ref":"#/$defs/DrillDownParameterModel"},{"$ref":"#/$defs/GroupTagParameterModel"},{"$ref":"#/$defs/BaseUrlParameterModel"},{"$ref":"#/$defs/GenomeBuildParameterModel"},{"$ref":"#/$defs/ColorParameterModel"},{"$ref":"#/$defs/ConditionalParameterModel"},{"$ref":"#/$defs/RepeatParameterModel"},{"$ref":"#/$defs/SectionParameterModel"}]},"title":"Parameters","type":"array"},"is_default_when":{"title":"Is Default When","type":"boolean"}},"required":["discriminator","parameters","is_default_when"],"title":"ConditionalWhen","type":"object"},"Container":{"properties":{"type":{"enum":["docker","singularity"],"title":"type","type":"string"},"container_id":{"title":"container_id","type":"string"}},"required":["type","container_id"],"title":"Container","type":"object"},"ContainerRequirement":{"properties":{"type":{"const":"container","title":"type","type":"string"},"container":{"$ref":"#/$defs/Container","title":"container"}},"required":["type","container"],"title":"ContainerRequirement","type":"object"},"CwlBooleanParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"cwl_boolean","default":"cwl_boolean","title":"parameter_type","type":"string"}},"required":["name"],"title":"CwlBooleanParameterModel","type":"object"},"CwlDirectoryParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"cwl_directory","default":"cwl_directory","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"}},"required":["name"],"title":"CwlDirectoryParameterModel","type":"object"},"CwlFileParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"cwl_file","default":"cwl_file","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"}},"required":["name"],"title":"CwlFileParameterModel","type":"object"},"CwlFloatParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"cwl_float","default":"cwl_float","title":"parameter_type","type":"string"}},"required":["name"],"title":"CwlFloatParameterModel","type":"object"},"CwlIntegerParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"cwl_integer","default":"cwl_integer","title":"parameter_type","type":"string"}},"required":["name"],"title":"CwlIntegerParameterModel","type":"object"},"CwlNullParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"cwl_null","default":"cwl_null","title":"parameter_type","type":"string"}},"required":["name"],"title":"CwlNullParameterModel","type":"object"},"CwlStringParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"cwl_string","default":"cwl_string","title":"parameter_type","type":"string"}},"required":["name"],"title":"CwlStringParameterModel","type":"object"},"CwlUnionParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"cwl_union","default":"cwl_union","title":"parameter_type","type":"string"},"parameters":{"items":{"anyOf":[{"$ref":"#/$defs/CwlIntegerParameterModel"},{"$ref":"#/$defs/CwlFloatParameterModel"},{"$ref":"#/$defs/CwlStringParameterModel"},{"$ref":"#/$defs/CwlBooleanParameterModel"},{"$ref":"#/$defs/CwlNullParameterModel"},{"$ref":"#/$defs/CwlFileParameterModel"},{"$ref":"#/$defs/CwlDirectoryParameterModel"},{"$ref":"#/$defs/CwlUnionParameterModel"}]},"title":"parameters","type":"array"}},"required":["name","parameters"],"title":"CwlUnionParameterModel","type":"object"},"DataCollectionParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_data_collection","default":"gx_data_collection","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"},"type":{"const":"data_collection","title":"type","type":"string"},"collection_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"collection_type"},"extensions":{"default":["data"],"items":{"type":"string"},"title":"extensions","type":"array"},"value":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"value"}},"required":["name","type","value"],"title":"DataCollectionParameterModel","type":"object"},"DataColumnParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_data_column","default":"gx_data_column","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"},"type":{"const":"data_column","title":"type","type":"string"},"multiple":{"title":"multiple","type":"boolean"},"value":{"anyOf":[{"type":"integer"},{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"default":null,"title":"value"}},"required":["name","type","multiple"],"title":"DataColumnParameterModel","type":"object"},"DataParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_data","default":"gx_data","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"},"type":{"const":"data","title":"type","type":"string"},"extensions":{"default":["data"],"description":"Limit inputs to datasets with these extensions. Use \'data\' to allow all input datasets.","examples":["txt","tabular","tiff"],"items":{"type":"string"},"title":"extensions","type":"array"},"multiple":{"default":false,"description":"Allow multiple values to be selected.","title":"multiple","type":"boolean"},"min":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"min"},"max":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"max"}},"required":["name","type"],"title":"DataParameterModel","type":"object"},"DirectoryUriParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_directory_uri","default":"gx_directory_uri","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"},"type":{"const":"directory","title":"type","type":"string"},"validators":{"default":[],"items":{"anyOf":[{"$ref":"#/$defs/LengthParameterValidatorModel"},{"$ref":"#/$defs/RegexParameterValidatorModel"},{"$ref":"#/$defs/ExpressionParameterValidatorModel"},{"$ref":"#/$defs/EmptyFieldParameterValidatorModel"}]},"title":"validators","type":"array"}},"required":["name","type"],"title":"DirectoryUriParameterModel","type":"object"},"DrillDownOptionsDict":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"name"},"value":{"title":"value","type":"string"},"options":{"items":{"$ref":"#/$defs/DrillDownOptionsDict"},"title":"options","type":"array"},"selected":{"title":"selected","type":"boolean"}},"required":["name","value","options","selected"],"title":"DrillDownOptionsDict","type":"object"},"DrillDownParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_drill_down","default":"gx_drill_down","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"},"type":{"const":"drill_down","title":"type","type":"string"},"options":{"anyOf":[{"items":{"$ref":"#/$defs/DrillDownOptionsDict"},"type":"array"},{"type":"null"}],"default":null,"title":"options"},"multiple":{"title":"multiple","type":"boolean"},"hierarchy":{"enum":["recurse","exact"],"title":"hierarchy","type":"string"}},"required":["name","type","multiple","hierarchy"],"title":"DrillDownParameterModel","type":"object"},"EmptyFieldParameterValidatorModel":{"additionalProperties":false,"properties":{"type":{"const":"empty_field","default":"empty_field","title":"Type","type":"string"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Message"},"implicit":{"default":false,"title":"Implicit","type":"boolean"},"negate":{"default":false,"title":"Negate","type":"boolean"}},"title":"EmptyFieldParameterValidatorModel","type":"object"},"ExpressionParameterValidatorModel":{"additionalProperties":false,"description":"Check if a one line python expression given expression evaluates to True.\\n\\nThe expression is given is the content of the validator tag.","properties":{"type":{"const":"expression","default":"expression","title":"Type","type":"string"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Message"},"implicit":{"default":false,"title":"Implicit","type":"boolean"},"negate":{"default":false,"title":"Negate","type":"boolean"},"expression":{"title":"Expression","type":"string"}},"required":["expression"],"title":"ExpressionParameterValidatorModel","type":"object"},"FilePatternDatasetCollectionDescription":{"properties":{"discover_via":{"const":"pattern","title":"discover_via","type":"string"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"format"},"visible":{"title":"visible","type":"boolean"},"assign_primary_output":{"title":"assign_primary_output","type":"boolean"},"directory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"directory"},"recurse":{"title":"recurse","type":"boolean"},"match_relative_path":{"title":"match_relative_path","type":"boolean"},"sort_key":{"enum":["filename","name","designation","dbkey"],"title":"sort_key","type":"string"},"sort_comp":{"enum":["lexical","numeric"],"title":"sort_comp","type":"string"},"sort_reverse":{"default":false,"title":"sort_reverse","type":"boolean"},"pattern":{"title":"pattern","type":"string"}},"required":["discover_via","format","visible","assign_primary_output","directory","recurse","match_relative_path","sort_key","sort_comp","pattern"],"title":"FilePatternDatasetCollectionDescription","type":"object"},"FloatParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_float","default":"gx_float","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"},"type":{"const":"float","title":"type","type":"string"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"value"},"min":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"min"},"max":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"max"},"validators":{"default":[],"items":{"$ref":"#/$defs/InRangeParameterValidatorModel"},"title":"validators","type":"array"}},"required":["name","type"],"title":"FloatParameterModel","type":"object"},"GalaxyToolParameterModel":{"discriminator":{"mapping":{"baseurl":"#/$defs/BaseUrlParameterModel","boolean":"#/$defs/BooleanParameterModel","color":"#/$defs/ColorParameterModel","conditional":"#/$defs/ConditionalParameterModel","data":"#/$defs/DataParameterModel","data_collection":"#/$defs/DataCollectionParameterModel","data_column":"#/$defs/DataColumnParameterModel","directory":"#/$defs/DirectoryUriParameterModel","drill_down":"#/$defs/DrillDownParameterModel","float":"#/$defs/FloatParameterModel","genomebuild":"#/$defs/GenomeBuildParameterModel","group_tag":"#/$defs/GroupTagParameterModel","hidden":"#/$defs/HiddenParameterModel","integer":"#/$defs/IntegerParameterModel","repeat":"#/$defs/RepeatParameterModel","rules":"#/$defs/RulesParameterModel","section":"#/$defs/SectionParameterModel","select":"#/$defs/SelectParameterModel","text":"#/$defs/TextParameterModel"},"propertyName":"type"},"oneOf":[{"$ref":"#/$defs/TextParameterModel"},{"$ref":"#/$defs/IntegerParameterModel"},{"$ref":"#/$defs/FloatParameterModel"},{"$ref":"#/$defs/BooleanParameterModel"},{"$ref":"#/$defs/HiddenParameterModel"},{"$ref":"#/$defs/SelectParameterModel"},{"$ref":"#/$defs/DataParameterModel"},{"$ref":"#/$defs/DataCollectionParameterModel"},{"$ref":"#/$defs/DataColumnParameterModel"},{"$ref":"#/$defs/DirectoryUriParameterModel"},{"$ref":"#/$defs/RulesParameterModel"},{"$ref":"#/$defs/DrillDownParameterModel"},{"$ref":"#/$defs/GroupTagParameterModel"},{"$ref":"#/$defs/BaseUrlParameterModel"},{"$ref":"#/$defs/GenomeBuildParameterModel"},{"$ref":"#/$defs/ColorParameterModel"},{"$ref":"#/$defs/ConditionalParameterModel"},{"$ref":"#/$defs/RepeatParameterModel"},{"$ref":"#/$defs/SectionParameterModel"}],"title":"GalaxyToolParameterModel"},"GenomeBuildParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_genomebuild","default":"gx_genomebuild","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"},"type":{"const":"genomebuild","title":"type","type":"string"},"multiple":{"title":"multiple","type":"boolean"}},"required":["name","type","multiple"],"title":"GenomeBuildParameterModel","type":"object"},"GroupTagParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_group_tag","default":"gx_group_tag","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"},"type":{"const":"group_tag","title":"type","type":"string"},"multiple":{"title":"multiple","type":"boolean"}},"required":["name","type","multiple"],"title":"GroupTagParameterModel","type":"object"},"HelpContent":{"properties":{"format":{"enum":["restructuredtext","plain_text","markdown"],"title":"format","type":"string"},"content":{"title":"content","type":"string"}},"required":["format","content"],"title":"HelpContent","type":"object"},"HiddenParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_hidden","default":"gx_hidden","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"},"type":{"const":"hidden","title":"type","type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"value"},"validators":{"default":[],"items":{"anyOf":[{"$ref":"#/$defs/LengthParameterValidatorModel"},{"$ref":"#/$defs/RegexParameterValidatorModel"},{"$ref":"#/$defs/ExpressionParameterValidatorModel"},{"$ref":"#/$defs/EmptyFieldParameterValidatorModel"}]},"title":"validators","type":"array"}},"required":["name","type","value"],"title":"HiddenParameterModel","type":"object"},"InRangeParameterValidatorModel":{"additionalProperties":false,"properties":{"type":{"const":"in_range","default":"in_range","title":"Type","type":"string"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Message"},"implicit":{"default":false,"title":"Implicit","type":"boolean"},"min":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"default":null,"title":"Min"},"max":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"default":null,"title":"Max"},"exclude_min":{"default":false,"title":"Exclude Min","type":"boolean"},"exclude_max":{"default":false,"title":"Exclude Max","type":"boolean"},"negate":{"default":false,"title":"Negate","type":"boolean"}},"title":"InRangeParameterValidatorModel","type":"object"},"IncomingToolOutputCollection":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Parameter name. Used when referencing parameter in workflows.","title":"name"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Output label. Will be used as dataset name in history.","title":"label"},"hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"If true, the output will not be shown in the history.","title":"hidden"},"type":{"const":"collection","title":"type","type":"string"},"structure":{"$ref":"#/$defs/ToolOutputCollectionStructure","title":"structure"}},"required":["type","structure"],"title":"IncomingToolOutputCollection","type":"object"},"IncomingToolOutputDataset":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Parameter name. Used when referencing parameter in workflows.","title":"name"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Output label. Will be used as dataset name in history.","title":"label"},"hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"If true, the output will not be shown in the history.","title":"hidden"},"type":{"const":"data","title":"type","type":"string"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"The short name for the output datatype.","title":"format"},"format_source":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"This sets the data type of the output dataset(s) to be the same format as that of the specified tool input.","title":"format_source"},"metadata_source":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"This copies the metadata information from the tool’s input dataset to serve as default for information that cannot be detected from the output. One prominent use case is interval data with a non-standard column order that cannot be deduced from a header line, but which is known to be identical in the input and output datasets.","title":"metadata_source"},"discover_datasets":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/$defs/FilePatternDatasetCollectionDescription"},{"$ref":"#/$defs/ToolProvidedMetadataDatasetCollection"}]},"type":"array"},{"type":"null"}],"default":null,"title":"discover_datasets"},"from_work_dir":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Relative path to a file produced by the tool in its working directory. Output’s contents are set to this file’s contents.","title":"from_work_dir"},"precreate_directory":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"title":"precreate_directory"}},"required":["type"],"title":"IncomingToolOutputDataset","type":"object"},"IntegerParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_integer","default":"gx_integer","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"title":"optional","type":"boolean"},"type":{"const":"integer","title":"type","type":"string"},"value":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"value"},"min":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"min"},"max":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"max"},"validators":{"default":[],"items":{"$ref":"#/$defs/InRangeParameterValidatorModel"},"title":"validators","type":"array"}},"required":["name","type"],"title":"IntegerParameterModel","type":"object"},"JavascriptRequirement":{"properties":{"type":{"const":"javascript","title":"type","type":"string"},"expression_lib":{"anyOf":[{"items":{"description":"Provide Javascript/ECMAScript 5.1 code here that will be available for expressions inside the `shell_command` field.","examples":["function pickValue() {\\n if (inputs.conditional_parameter.test_parameter == \\"a\\") {\\n return inputs.conditional_parameter.integer_parameter\\n } else {\\n return inputs.conditional_parameter.boolean_parameter\\n }\\n}"],"title":"expression_lib","type":"string"},"type":"array"},{"type":"null"}],"title":"expression_lib"}},"required":["type","expression_lib"],"title":"JavascriptRequirement","type":"object"},"LabelValue":{"properties":{"label":{"title":"Label","type":"string"},"value":{"title":"Value","type":"string"},"selected":{"title":"Selected","type":"boolean"}},"required":["label","value","selected"],"title":"LabelValue","type":"object"},"LengthParameterValidatorModel":{"additionalProperties":false,"properties":{"type":{"const":"length","default":"length","title":"Type","type":"string"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Message"},"implicit":{"default":false,"title":"Implicit","type":"boolean"},"min":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Min"},"max":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Max"},"negate":{"default":false,"title":"Negate","type":"boolean"}},"title":"LengthParameterValidatorModel","type":"object"},"NoOptionsParameterValidatorModel":{"additionalProperties":false,"properties":{"type":{"const":"no_options","default":"no_options","title":"Type","type":"string"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Message"},"implicit":{"default":false,"title":"Implicit","type":"boolean"},"negate":{"default":false,"title":"Negate","type":"boolean"}},"title":"NoOptionsParameterValidatorModel","type":"object"},"RegexParameterValidatorModel":{"additionalProperties":false,"description":"Check if a regular expression **matches** the value, i.e. appears\\nat the beginning of the value. To enforce a match of the complete value use\\n``$`` at the end of the expression. The expression is given is the content\\nof the validator tag. Note that for ``selects`` each option is checked\\nseparately.","properties":{"type":{"const":"regex","default":"regex","title":"Type","type":"string"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Message"},"implicit":{"default":false,"title":"Implicit","type":"boolean"},"negate":{"default":false,"title":"Negate","type":"boolean"},"expression":{"title":"Expression","type":"string"}},"required":["expression"],"title":"RegexParameterValidatorModel","type":"object"},"RepeatParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_repeat","default":"gx_repeat","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"},"type":{"const":"repeat","title":"type","type":"string"},"parameters":{"items":{"anyOf":[{"$ref":"#/$defs/CwlIntegerParameterModel"},{"$ref":"#/$defs/CwlFloatParameterModel"},{"$ref":"#/$defs/CwlStringParameterModel"},{"$ref":"#/$defs/CwlBooleanParameterModel"},{"$ref":"#/$defs/CwlNullParameterModel"},{"$ref":"#/$defs/CwlFileParameterModel"},{"$ref":"#/$defs/CwlDirectoryParameterModel"},{"$ref":"#/$defs/CwlUnionParameterModel"},{"$ref":"#/$defs/TextParameterModel"},{"$ref":"#/$defs/IntegerParameterModel"},{"$ref":"#/$defs/FloatParameterModel"},{"$ref":"#/$defs/BooleanParameterModel"},{"$ref":"#/$defs/HiddenParameterModel"},{"$ref":"#/$defs/SelectParameterModel"},{"$ref":"#/$defs/DataParameterModel"},{"$ref":"#/$defs/DataCollectionParameterModel"},{"$ref":"#/$defs/DataColumnParameterModel"},{"$ref":"#/$defs/DirectoryUriParameterModel"},{"$ref":"#/$defs/RulesParameterModel"},{"$ref":"#/$defs/DrillDownParameterModel"},{"$ref":"#/$defs/GroupTagParameterModel"},{"$ref":"#/$defs/BaseUrlParameterModel"},{"$ref":"#/$defs/GenomeBuildParameterModel"},{"$ref":"#/$defs/ColorParameterModel"},{"$ref":"#/$defs/ConditionalParameterModel"},{"$ref":"#/$defs/RepeatParameterModel"},{"$ref":"#/$defs/SectionParameterModel"}]},"title":"parameters","type":"array"},"min":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"min"},"max":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"max"}},"required":["name","type","parameters"],"title":"RepeatParameterModel","type":"object"},"ResourceRequirement":{"properties":{"type":{"const":"resource","title":"type","type":"string"},"cores_min":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}],"default":1,"description":"Minimum reserved number of CPU cores.\\nMay be a fractional value to indicate to a scheduling algorithm that one core can be allocated to multiple jobs. For example, a value of 0.25 indicates that up to 4 jobs may run in parallel on 1 core. A value of 1.25 means that up to 3 jobs can run on a 4 core system (4/1.25 ≈ 3).\\nThe reported number of CPU cores reserved for the process is a non-zero integer calculated by rounding up the cores request to the next whole number.\\n","title":"cores_min"},"cores_max":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"description":"Maximum reserved number of CPU cores.\\nMay be a fractional value to indicate to a scheduling algorithm that one core can be allocated to multiple jobs. For example, a value of 0.25 indicates that up to 4 jobs may run in parallel on 1 core. A value of 1.25 means that up to 3 jobs can run on a 4 core system (4/1.25 ≈ 3).\\nThe reported number of CPU cores reserved for the process is a non-zero integer calculated by rounding up the cores request to the next whole number.\\n","title":"cores_max"},"ram_min":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}],"default":256,"description":"Minimum reserved RAM in mebibytes (2**20).\\nMay be a fractional value. If so, the actual RAM request is rounded up to the next whole number. The reported amount of RAM reserved for the process is a non-zero integer.","title":"ram_min"},"ram_max":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}],"default":null,"description":"Maximum reserved RAM in mebibytes (2**20).\\nMay be a fractional value. If so, the actual RAM request is rounded up to the next whole number. The reported amount of RAM reserved for the process is a non-zero integer.","title":"ram_max"},"tmpdir_min":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"default":null,"title":"tmpdir_min"},"tmpdir_max":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"default":null,"title":"tmpdir_max"},"cuda_version_min":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"default":null,"title":"cuda_version_min"},"cuda_compute_capability":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"default":null,"title":"cuda_compute_capability"},"gpu_memory_min":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"default":null,"title":"gpu_memory_min"},"cuda_device_count_min":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"default":null,"title":"cuda_device_count_min"},"cuda_device_count_max":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"default":null,"title":"cuda_device_count_max"},"shm_size":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"null"}],"default":null,"title":"shm_size"}},"required":["type"],"title":"ResourceRequirement","type":"object"},"RulesParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_rules","default":"gx_rules","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"},"type":{"const":"rules","title":"type","type":"string"}},"required":["name","type"],"title":"RulesParameterModel","type":"object"},"SectionParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_section","default":"gx_section","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"},"type":{"const":"section","title":"type","type":"string"},"parameters":{"items":{"anyOf":[{"$ref":"#/$defs/CwlIntegerParameterModel"},{"$ref":"#/$defs/CwlFloatParameterModel"},{"$ref":"#/$defs/CwlStringParameterModel"},{"$ref":"#/$defs/CwlBooleanParameterModel"},{"$ref":"#/$defs/CwlNullParameterModel"},{"$ref":"#/$defs/CwlFileParameterModel"},{"$ref":"#/$defs/CwlDirectoryParameterModel"},{"$ref":"#/$defs/CwlUnionParameterModel"},{"$ref":"#/$defs/TextParameterModel"},{"$ref":"#/$defs/IntegerParameterModel"},{"$ref":"#/$defs/FloatParameterModel"},{"$ref":"#/$defs/BooleanParameterModel"},{"$ref":"#/$defs/HiddenParameterModel"},{"$ref":"#/$defs/SelectParameterModel"},{"$ref":"#/$defs/DataParameterModel"},{"$ref":"#/$defs/DataCollectionParameterModel"},{"$ref":"#/$defs/DataColumnParameterModel"},{"$ref":"#/$defs/DirectoryUriParameterModel"},{"$ref":"#/$defs/RulesParameterModel"},{"$ref":"#/$defs/DrillDownParameterModel"},{"$ref":"#/$defs/GroupTagParameterModel"},{"$ref":"#/$defs/BaseUrlParameterModel"},{"$ref":"#/$defs/GenomeBuildParameterModel"},{"$ref":"#/$defs/ColorParameterModel"},{"$ref":"#/$defs/ConditionalParameterModel"},{"$ref":"#/$defs/RepeatParameterModel"},{"$ref":"#/$defs/SectionParameterModel"}]},"title":"parameters","type":"array"}},"required":["name","type","parameters"],"title":"SectionParameterModel","type":"object"},"SelectParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_select","default":"gx_select","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"},"type":{"const":"select","title":"type","type":"string"},"options":{"anyOf":[{"items":{"$ref":"#/$defs/LabelValue"},"type":"array"},{"type":"null"}],"default":null,"title":"options"},"multiple":{"default":false,"title":"multiple","type":"boolean"},"validators":{"default":[],"items":{"$ref":"#/$defs/NoOptionsParameterValidatorModel"},"title":"validators","type":"array"}},"required":["name","type"],"title":"SelectParameterModel","type":"object"},"TextParameterModel":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows or inside command templating.","title":"name","type":"string"},"parameter_type":{"const":"gx_text","default":"gx_text","title":"parameter_type","type":"string"},"hidden":{"default":false,"title":"hidden","type":"boolean"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Will be displayed on the tool page as the label of the parameter.","title":"label"},"help":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Short bit of text, rendered on the tool form just below the associated field to provide information about the field.","title":"help"},"argument":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"If the parameter reflects just one command line argument of a certain tool, this tag should be set to that particular argument. It is rendered in parenthesis after the help section, and it will create the name attribute (if not given explicitly) from the argument attribute by stripping leading dashes and replacing all remaining dashes by underscores (e.g. if argument=\\"--long-parameter\\" then name=\\"long_parameter\\" is implicit).","title":"argument"},"is_dynamic":{"default":false,"title":"is_dynamic","type":"boolean"},"optional":{"default":false,"description":"If `false`, parameter must have a value.","title":"optional","type":"boolean"},"type":{"const":"text","title":"type","type":"string"},"area":{"default":false,"title":"area","type":"boolean"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"default_value"},"default_options":{"default":[],"items":{"$ref":"#/$defs/LabelValue"},"title":"default_options","type":"array"},"validators":{"default":[],"items":{"anyOf":[{"$ref":"#/$defs/LengthParameterValidatorModel"},{"$ref":"#/$defs/RegexParameterValidatorModel"},{"$ref":"#/$defs/ExpressionParameterValidatorModel"},{"$ref":"#/$defs/EmptyFieldParameterValidatorModel"}]},"title":"validators","type":"array"}},"required":["name","type"],"title":"TextParameterModel","type":"object"},"ToolOutputBoolean":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows.","title":"name"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Output label. Will be used as dataset name in history.","title":"label"},"hidden":{"description":"If true, the output will not be shown in the history.","title":"hidden"},"type":{"const":"boolean","title":"type","type":"string"}},"required":["name","hidden","type"],"title":"ToolOutputBoolean","type":"object"},"ToolOutputCollectionStructure":{"properties":{"collection_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"collection_type"},"collection_type_source":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"collection_type_source"},"collection_type_from_rules":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"collection_type_from_rules"},"structured_like":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"structured_like"},"discover_datasets":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/$defs/FilePatternDatasetCollectionDescription"},{"$ref":"#/$defs/ToolProvidedMetadataDatasetCollection"}]},"type":"array"},{"type":"null"}],"default":null,"title":"discover_datasets"}},"title":"ToolOutputCollectionStructure","type":"object"},"ToolOutputFloat":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows.","title":"name"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Output label. Will be used as dataset name in history.","title":"label"},"hidden":{"description":"If true, the output will not be shown in the history.","title":"hidden"},"type":{"const":"float","title":"type","type":"string"}},"required":["name","hidden","type"],"title":"ToolOutputFloat","type":"object"},"ToolOutputInteger":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows.","title":"name"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Output label. Will be used as dataset name in history.","title":"label"},"hidden":{"description":"If true, the output will not be shown in the history.","title":"hidden"},"type":{"const":"integer","title":"type","type":"string"}},"required":["name","hidden","type"],"title":"ToolOutputInteger","type":"object"},"ToolOutputText":{"properties":{"name":{"description":"Parameter name. Used when referencing parameter in workflows.","title":"name"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Output label. Will be used as dataset name in history.","title":"label"},"hidden":{"description":"If true, the output will not be shown in the history.","title":"hidden"},"type":{"const":"text","title":"type","type":"string"}},"required":["name","hidden","type"],"title":"ToolOutputText","type":"object"},"ToolProvidedMetadataDatasetCollection":{"properties":{"discover_via":{"const":"tool_provided_metadata","title":"discover_via","type":"string"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"format"},"visible":{"title":"visible","type":"boolean"},"assign_primary_output":{"title":"assign_primary_output","type":"boolean"},"directory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"directory"},"recurse":{"title":"recurse","type":"boolean"},"match_relative_path":{"title":"match_relative_path","type":"boolean"}},"required":["discover_via","format","visible","assign_primary_output","directory","recurse","match_relative_path"],"title":"ToolProvidedMetadataDatasetCollection","type":"object"},"XrefDict":{"properties":{"value":{"title":"value","type":"string"},"type":{"title":"type","type":"string"}},"required":["value","type"],"title":"XrefDict","type":"object"},"YamlTemplateConfigFile":{"properties":{"content":{"title":"content","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"name"},"filename":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"filename"},"eval_engine":{"const":"ecmascript","default":"ecmascript","title":"eval_engine","type":"string"}},"required":["content"],"title":"YamlTemplateConfigFile","type":"object"}},"properties":{"class":{"const":"GalaxyUserTool","title":"class_","type":"string"},"id":{"description":"Unique identifier for the tool. Should be all lower-case and should not include whitespace.","examples":["my-cool-tool"],"maxLength":255,"minLength":3,"title":"id","type":"string"},"version":{"description":"Version for the tool.","examples":["0.1.0"],"title":"version","type":"string"},"name":{"description":"The name of the tool, displayed in the tool menu. This is not the same as the tool id, which is a unique identifier for the tool.","title":"name","type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"The description is displayed in the tool menu immediately following the hyperlink for the tool.","title":"description"},"configfiles":{"anyOf":[{"items":{"$ref":"#/$defs/YamlTemplateConfigFile"},"type":"array"},{"type":"null"}],"default":null,"description":"A list of config files for this tool.","title":"configfiles"},"container":{"description":"Container image to use for this tool.","examples":["quay.io/biocontainers/python:3.13"],"title":"container","type":"string"},"requirements":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/$defs/JavascriptRequirement"},{"$ref":"#/$defs/ResourceRequirement"},{"$ref":"#/$defs/ContainerRequirement"}]},"type":"array"},{"type":"null"}],"default":[],"description":"A list of requirements needed to execute this tool. These can be javascript expressions, resource requirements or container images.","title":"requirements"},"shell_command":{"description":"A string that contains the command to be executed. Parameters can be referenced inside $().","examples":["head -n \'$(inputs.n_lines)\' \'$(inputs.data_input.path)\'"],"title":"shell_command","type":"string"},"inputs":{"default":[],"items":{"$ref":"#/$defs/GalaxyToolParameterModel"},"title":"inputs","type":"array"},"outputs":{"default":[],"items":{"discriminator":{"mapping":{"boolean":"#/$defs/ToolOutputBoolean","collection":"#/$defs/IncomingToolOutputCollection","data":"#/$defs/IncomingToolOutputDataset","float":"#/$defs/ToolOutputFloat","integer":"#/$defs/ToolOutputInteger","text":"#/$defs/ToolOutputText"},"propertyName":"type"},"oneOf":[{"$ref":"#/$defs/IncomingToolOutputDataset"},{"$ref":"#/$defs/IncomingToolOutputCollection"},{"$ref":"#/$defs/ToolOutputText"},{"$ref":"#/$defs/ToolOutputInteger"},{"$ref":"#/$defs/ToolOutputFloat"},{"$ref":"#/$defs/ToolOutputBoolean"}]},"title":"outputs","type":"array"},"citations":{"anyOf":[{"items":{"$ref":"#/$defs/Citation"},"type":"array"},{"type":"null"}],"default":null,"title":"citations"},"license":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"A full URI or a a short [SPDX](https://spdx.org/licenses/) identifier for a license for this tool wrapper. The tool wrapper license can be independent of the underlying tool license. This license covers the tool yaml and associated scripts shipped with the tool.","examples":["MIT"],"title":"license"},"edam_operations":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"title":"edam_operations"},"edam_topics":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"title":"edam_topics"},"xrefs":{"anyOf":[{"items":{"$ref":"#/$defs/XrefDict"},"type":"array"},{"type":"null"}],"default":null,"title":"xrefs"},"help":{"anyOf":[{"$ref":"#/$defs/HelpContent"},{"type":"null"}],"default":null,"description":"Help text shown below the tool interface.","title":"help"}},"required":["class","id","version","name","container","shell_command"],"title":"UserToolSource","type":"object"}');var b=a(80704),_=a(37601),$=a(8752),w=a(42466),v=a(70077),P=a(97363),M=a(66761),x=a(83110),O=a(9113),C=a(95294),j=a(52485),k=a(27532),S=a(41539),I=a(13564),T=a(80494);const D="yaml-with-js",q=o.Uri.parse("file://embedded-model.js"),U=o.Uri.parse("file://runtime-defs.ts");async function R(e){e.languages.register({id:D}),e.languages.register({id:"typescript"}),e.languages.register({id:"javascript"}),e.languages.register({id:"yaml"});const t=[];t.push(e.languages.setMonarchTokensProvider(D,c)),t.push(e.languages.setLanguageConfiguration(D,{comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"],["$(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"$(",close:")"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]})),e.languages.typescript.typescriptDefaults.setCompilerOptions({target:e.languages.typescript.ScriptTarget.ES2017,allowNonTsExtensions:!0,strict:!0,moduleResolution:e.languages.typescript.ModuleResolutionKind.NodeJs,checkJs:!0,noEmit:!0,lib:["es2017"]}),e.languages.typescript.typescriptDefaults.setEagerModelSync(!0),V();const{dispose:a}=(0,m.f)(e,{enableSchemaRequest:!1,schemas:[{fileMatch:["tool.yml"],schema:h,uri:"https://schema.galaxyproject.org/customTool.json"}]}),{dispose:r,providerFunctions:l}=function(e,t){const a={completion:!0,customTags:[],enableSchemaRequest:!1,format:!0,isKubernetes:!1,hover:!0,schemas:[],validate:!0,yamlVersion:"1.2",...t},r=(0,T.U)(e,{label:"yaml",moduleId:"monaco-yaml/yaml.worker",createData:a}),l={autoFormatTriggerCharacters:["\n"],triggerCharacters:[" ",":"],displayName:"yaml",async provideMarkerData(e){const t=await r.getWorker(e.uri),a=await t.doValidation(String(e.uri));return a?.map(b.Q)},async resetMarkerData(e){const t=await r.getWorker(e.uri);await t.resetSchema(String(e.uri))},async provideCompletionItems(e,t){const a=e.getWordUntilPosition(t),l=await r.getWorker(e.uri),n=await l.doComplete(String(e.uri),(0,_.K)(t));if(n)return(0,$.G)(n,{range:{startLineNumber:t.lineNumber,startColumn:a.startColumn,endLineNumber:t.lineNumber,endColumn:a.endColumn}})},async provideHover(e,t){const a=await r.getWorker(e.uri),l=await a.doHover(String(e.uri),(0,_.K)(t));if(l)return(0,w.k)(l)},async provideDefinition(e,t){const a=await r.getWorker(e.uri),l=await a.doDefinition(String(e.uri),(0,_.K)(t));return l?.map(v.n)},async provideDocumentSymbols(e){const t=await r.getWorker(e.uri),a=await t.findDocumentSymbols(String(e.uri));return a?.map(P.p)},async provideDocumentFormattingEdits(e){const t=await r.getWorker(e.uri),a=await t.format(String(e.uri));return a?.map(M.F)},async provideLinks(e){const t=await r.getWorker(e.uri),a=await t.findLinks(String(e.uri));if(a)return{links:a.map(x.S)}},async provideCodeActions(e,t,a){const l=await r.getWorker(e.uri),n=await l.getCodeAction(String(e.uri),(0,O.y)(t),(0,C.v)(a));if(n)return{actions:n.map(j.$),dispose(){}}},async provideFoldingRanges(e){const t=await r.getWorker(e.uri),a=await t.getFoldingRanges(String(e.uri));return a?.map(k.G)},async provideOnTypeFormattingEdits(e,t,a,l){const n=await r.getWorker(e.uri),i=await n.doDocumentOnTypeFormatting(String(e.uri),(0,_.K)(t),a,(0,S.G)(l));return i?.map(M.F)},async provideSelectionRanges(e,t){const a=await r.getWorker(e.uri),l=await a.getSelectionRanges(String(e.uri),t.map(_.K));return l?.map(I.m)}};return{dispose:r,providerFunctions:l}}(e,{enableSchemaRequest:!1,schemas:[{fileMatch:["tool.yml"],schema:h,uri:"https://schema.galaxyproject.org/customTool.json"}]});t.push(r);const n=await async function(e){const t=[],a=o.editor.getModels().find((e=>e.getLanguageId()==D)),r=o.editor.getModel(q)||o.editor.createModel("","typescript",q);return async function(e){const t=e.provideCompletionItems,a=e.provideHover;e.provideCompletionItems=async(e,a)=>{const r=await async function(e,t){let a;const r=await B(e,t);if(r){const{offset:l,model:n}=r,i=await E(n);if(a=await i.getCompletionsAtPosition(n.uri.toString(),l),a&&a.entries){const r=e.getWordUntilPosition(t);return{suggestions:a.entries.map((e=>({label:e.name,kind:o.languages.CompletionItemKind[e.kind[0].toUpperCase()+e.kind.slice(1)],insertText:e.name,range:{startLineNumber:t.lineNumber,startColumn:r.startColumn,endLineNumber:t.lineNumber,endColumn:r.endColumn}})))}}}return{suggestions:[]}}(e,a);return r?.suggestions?.length>0?r:await t(e,a)},e.provideHover=async(e,t)=>await async function(e,t){const a=await B(e,t);if(a){const e=await E(a.model),r=await e.getQuickInfoAtPosition(a.model.uri.toString(),a.offset);if(r)return function(e,t){const{displayParts:a,documentation:r,tags:l}=e,n=[];if(a&&a.length>0){const e=a.map((e=>e.text)).join("");n.push({value:"```ts\n"+e+"\n```"})}if(r&&r.length>0){const e=r.map((e=>e.text)).join("");n.push({value:e})}l&&l.length>0&&l.forEach((e=>{if(e.text&&Array.isArray(e.text)){const t=e.text.map((e=>e.text)).join("");n.push({value:`**@${e.name}** — ${t}`})}else"string"==typeof e.text&&n.push({value:`**@${e.name}** — ${e.text}`})}));return{range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:t.lineNumber,endColumn:t.column},contents:n}}(r,t)}return null}(e,t)||await a(e,t)}(e),t.push(o.languages.registerHoverProvider(D,e)),t.push(o.languages.registerCompletionItemProvider(D,{triggerCharacters:["."],provideCompletionItems:e.provideCompletionItems})),t.push(o.languages.registerDefinitionProvider(D,e)),t.push(o.languages.registerDocumentSymbolProvider(D,e)),t.push(o.languages.registerDocumentFormattingEditProvider(D,e)),t.push(o.languages.registerLinkProvider(D,e)),t.push(o.languages.registerCodeActionProvider(D,e)),t.push(o.languages.registerFoldingRangeProvider(D,e)),t.push(o.languages.registerOnTypeFormattingEditProvider(D,e)),t.push(o.languages.registerSelectionRangeProvider(D,e)),function(e,t,a){o.editor.setModelMarkers(e,"owner",[]),e.onDidChangeContent((async()=>{const r=e.getValue(),l=F(r);await async function(e,t,a){e&&await V(e);a.setValue(t)}(r,l,t);const n=await a(e),i=await async function(e){const t=e.getValue(),a=o.editor.getModel(q),r=t.indexOf(a.getValue()),l=[{start:r,model:a}],n=f(t),i=n.map(((e,t)=>{const a=N(t,e.fragment);return{start:e.start,model:a}}));return[...l,...i]}(e),s=await o.languages.typescript.getTypeScriptWorker(),p=[...n],d=i.map((async t=>{const a=await s(t.model.uri);(await a.getSemanticDiagnostics(t.model.uri.toString())).forEach((a=>{const r=e.getPositionAt(t.start+a.start),l=e.getPositionAt(t.start+a.start+a.length);p.push({severity:o.MarkerSeverity.Error,message:"string"==typeof a.messageText?a.messageText:a.messageText.messageText,startLineNumber:r.lineNumber,startColumn:r.column,endLineNumber:l.lineNumber,endColumn:l.column})}))}));await Promise.all(d),o.editor.setModelMarkers(e,"owner",p)}))}(a,r,e.provideMarkerData),t}(l);return function(){a(),e.editor.getModels().map((e=>e.dispose())),[...t,...n].map((e=>e.dispose()))}}function F(e){const t=/(expression_lib):\s*-\s*\|([\s\S]*?)(?=\n\s*-\s|\n\s*\w+:|\n\s*$)/g.exec(e);if(t){if(t[2])return t[2];if(t[3])return t[3]}return""}const W='\ndeclare global {\n const inputs: components["schemas"]["inputs"]\n}\n';async function V(e){if(e){const{schemaInterface:t,error:a}=await g(e);if(a)console.error(a);else{const e=`${t}\n${W}`,a=o.editor.getModel(U)||o.editor.createModel("","typescript",U);a.getValue()!=e&&a.setValue(e)}}}async function E(e){const t=await o.languages.typescript.getTypeScriptWorker();return await t(e.uri)}function N(e,t){const a=o.Uri.parse(`file://temp-fragment-${e}`),r=o.editor.getModel(a)||o.editor.createModel(t,"typescript",a);return r.setValue(t),r}async function B(e,t){const a=e.getValue(),r=f(a),l=e.getOffsetAt(t),n=r.findIndex((e=>e.start<=l&&e.start+e.fragment.length>=l));if(n>=0){const e=r[n];return{offset:l-e.start,model:N(n,e.fragment)}}const i=F(a);if(i){const e=l-a.indexOf(i);if(e<0||e>i.length)return;const t=o.editor.getModel(q);return t.setValue(i),{offset:e,model:t}}}var L=a(64193);const A=(0,r.defineComponent)({__name:"CustomToolEditor",props:{toolUuid:null},setup(e){const t=e;i.wG.config({monaco:o});const{unload:a,monacoRef:m}=(0,i.dJ)(),f=(0,u.D)(),c=(0,s.rd)(),y=(0,r.ref)();(0,r.watch)(m,(()=>{m.value&&(0,r.nextTick)().then((()=>{R(o).then((e=>{y.value=e}))}))}),{immediate:!0}),(0,r.onUnmounted)((()=>{y.value(),a()}));const g=(0,r.ref)(),h=(0,r.ref)(),b='class: GalaxyUserTool\nid:\nname:\nversion: "0.1"\ndescription:\ncontainer:\nshell_command:\ninputs:\n - name: input1\n type: data\noutputs:\n - name: output1\n type: data',_=(0,r.ref)(b);return t.toolUuid&&(0,d.LQ)().GET("/api/unprivileged_tools/{uuid}",{params:{path:{uuid:t.toolUuid}}}).then((({data:e,error:t})=>{t||(_.value=(0,p.As)(e.representation,{blockQuote:"literal"}))})),{__sfc:!0,unload:a,monacoRef:m,unprivilegedToolStore:f,router:c,disposeConfig:y,props:t,errorMsg:g,persistedTool:h,defaultYaml:b,yamlRepresentation:_,saveTool:async function(){if(!_.value)return void console.error("No yaml to parse");const e={active:!0,hidden:!1,representation:(0,p.qg)(_.value),src:"representation"},{data:t,error:a}=await(0,d.LQ)().POST("/api/unprivileged_tools",{body:e});a?g.value=a:(h.value=t,f.load(!0),c.push(`/tools/editor/${t.uuid}`))},faSave:l.hS,FontAwesomeIcon:n.gc,VueMonacoEditor:i.FQ,Heading:L.A}}});const G=(0,a(14486).A)(A,(function(){var e=this,t=e._self._c,a=e._self._setupProxy;return t("div",[a.errorMsg?t("b-alert",{attrs:{variant:"danger",show:"",dismissible:""}},[e._v("\n "+e._s(a.errorMsg)+"\n ")]):e._e(),e._v(" "),t("div",{staticClass:"d-flex flex-gapx-1"},[t(a.Heading,{staticClass:"flex-grow-1 mb-2",attrs:{h1:"",separator:"",inline:"",size:"lg"}},[e._v("Tool Editor")]),e._v(" "),t("b-button",{attrs:{variant:"primary",size:"m",title:"Save Custom Tool","data-description":"save custom tool"},on:{click:a.saveTool}},[t(a.FontAwesomeIcon,{attrs:{icon:a.faSave}})],1)],1),e._v(" "),t(a.VueMonacoEditor,{attrs:{language:"yaml-with-js","default-path":"tool.yml",options:{quickSuggestions:{other:!0,comments:!1,strings:!0}}},model:{value:a.yamlRepresentation,callback:function(e){a.yamlRepresentation=e},expression:"yamlRepresentation"}})],1)}),[],!1,null,null,null).exports}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_galaxyproject_galaxy_client=self.webpackChunk_galaxyproject_galaxy_client||[]).push([[6837],{7701:(e,o,m)=>{var d={"./theme-ambiance":[42149,2149],"./theme-ambiance.js":[42149,2149],"./theme-chaos":[99761,2142],"./theme-chaos.js":[99761,2142],"./theme-chrome":[62879,2879],"./theme-chrome.js":[62879,2879],"./theme-cloud9_day":[66340,6340],"./theme-cloud9_day.js":[66340,6340],"./theme-cloud9_night":[28232,8232],"./theme-cloud9_night.js":[28232,8232],"./theme-cloud9_night_low_color":[89049,9049],"./theme-cloud9_night_low_color.js":[89049,9049],"./theme-cloud_editor":[42286,2286],"./theme-cloud_editor.js":[42286,2286],"./theme-cloud_editor_dark":[19545,9545],"./theme-cloud_editor_dark.js":[19545,9545],"./theme-clouds":[58443,8443],"./theme-clouds.js":[58443,8443],"./theme-clouds_midnight":[94234,4234],"./theme-clouds_midnight.js":[94234,4234],"./theme-cobalt":[88126,8126],"./theme-cobalt.js":[88126,8126],"./theme-crimson_editor":[46746,6746],"./theme-crimson_editor.js":[46746,6746],"./theme-dawn":[30284,7903],"./theme-dawn.js":[30284,7903],"./theme-dracula":[51103,1103],"./theme-dracula.js":[51103,1103],"./theme-dreamweaver":[11994,1994],"./theme-dreamweaver.js":[11994,1994],"./theme-eclipse":[76680,6680],"./theme-eclipse.js":[76680,6680],"./theme-github":[88978,8978],"./theme-github.js":[88978,8978],"./theme-github_dark":[16453,6453],"./theme-github_dark.js":[16453,6453],"./theme-github_light_default":[19399,9399],"./theme-github_light_default.js":[19399,9399],"./theme-gob":[90413,413],"./theme-gob.js":[90413,413],"./theme-gruvbox":[90466,466],"./theme-gruvbox.js":[90466,466],"./theme-gruvbox_dark_hard":[49137,9137],"./theme-gruvbox_dark_hard.js":[49137,9137],"./theme-gruvbox_light_hard":[96745,6745],"./theme-gruvbox_light_hard.js":[96745,6745],"./theme-idle_fingers":[98290,8290],"./theme-idle_fingers.js":[98290,8290],"./theme-iplastic":[76700,6700],"./theme-iplastic.js":[76700,6700],"./theme-katzenmilch":[67007,7007],"./theme-katzenmilch.js":[67007,7007],"./theme-kr_theme":[9286,9286],"./theme-kr_theme.js":[9286,9286],"./theme-kuroir":[9673,9673],"./theme-kuroir.js":[9673,9673],"./theme-merbivore":[36008,1246],"./theme-merbivore.js":[36008,1246],"./theme-merbivore_soft":[28245,8245],"./theme-merbivore_soft.js":[28245,8245],"./theme-mono_industrial":[13222,3222],"./theme-mono_industrial.js":[13222,3222],"./theme-monokai":[97175,7175],"./theme-monokai.js":[97175,7175],"./theme-nord_dark":[63795,3795],"./theme-nord_dark.js":[63795,3795],"./theme-one_dark":[73696,3696],"./theme-one_dark.js":[73696,3696],"./theme-pastel_on_dark":[71661,1661],"./theme-pastel_on_dark.js":[71661,1661],"./theme-solarized_dark":[74085,4085],"./theme-solarized_dark.js":[74085,4085],"./theme-solarized_light":[60429,429],"./theme-solarized_light.js":[60429,429],"./theme-sqlserver":[35266,5266],"./theme-sqlserver.js":[35266,5266],"./theme-terminal":[9793,9793],"./theme-terminal.js":[9793,9793],"./theme-textmate":[96303,6303],"./theme-textmate.js":[96303,6303],"./theme-tomorrow":[30178,178],"./theme-tomorrow.js":[30178,178],"./theme-tomorrow_night":[59771,9771],"./theme-tomorrow_night.js":[59771,9771],"./theme-tomorrow_night_blue":[79634,9634],"./theme-tomorrow_night_blue.js":[79634,9634],"./theme-tomorrow_night_bright":[89298,9298],"./theme-tomorrow_night_bright.js":[89298,9298],"./theme-tomorrow_night_eighties":[96872,6872],"./theme-tomorrow_night_eighties.js":[96872,6872],"./theme-twilight":[88981,8981],"./theme-twilight.js":[88981,8981],"./theme-vibrant_ink":[85092,5092],"./theme-vibrant_ink.js":[85092,5092],"./theme-xcode":[98292,8292],"./theme-xcode.js":[98292,8292]};function s(e){if(!m.o(d,e))return Promise.resolve().then((()=>{var o=new Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}));var o=d[e],s=o[0];return m.e(o[1]).then((()=>m.t(s,23)))}s.keys=()=>Object.keys(d),s.id=7701,e.exports=s},46837:(e,o,m)=>{"use strict";m.r(o),m.d(o,{default:()=>r});var d=m(80952),s=m.n(d),t=m(2543),l=m(62893);const a={__name:"CellCode",props:{theme:{type:String,default:"github_light_default"},maxLines:{type:Number,default:99999},mode:{type:String,default:"json"},value:{type:String,required:!0}},emits:["change"],setup(e,{emit:o}){const d=e,a=(0,l.ref)(null);let r=null;const i=(0,t.debounce)((e=>{o("change",e)}),300);async function j(){const e=`ace/mode/${d.mode}`,o=`ace/theme/${d.theme}`,t=await m(87549)(`./mode-${d.mode}`),l=await m(7701)(`./theme-${d.theme}`);s().config.setModuleUrl(e,t),s().config.setModuleUrl(o,l),r=s().edit(a.value,{highlightActiveLine:!1,highlightGutterLine:!1,maxLines:d.maxLines,minLines:1,mode:e,showPrintMargin:!1,theme:o,useWorker:!1,value:d.value,wrap:!0}),r.on("blur",(()=>{r.setOption("highlightActiveLine",!1),r.setOption("highlightGutterLine",!1),a.value.classList.remove("cell-code-focus")})),r.on("change",(()=>{const e=r.getValue();i(e)})),r.on("focus",(()=>{r.setOption("highlightActiveLine",!0),r.setOption("highlightGutterLine",!0),a.value.classList.add("cell-code-focus")}))}return(0,l.onBeforeUnmount)((()=>{i.cancel()})),(0,l.onMounted)((()=>{j()})),(0,l.watch)((()=>d.value),(e=>{r&&e!==r.getValue()&&r.setValue(e,-1)})),{__sfc:!0,DELAY:300,props:d,emit:o,editor:a,aceEditor:r,emitChange:i,buildEditor:j}}};const r=(0,m(14486).A)(a,(function(){var e=this._self._c;this._self._setupProxy;return e("div",{ref:"editor",staticClass:"w-100"})}),[],!1,null,null,null).exports},87549:(e,o,m)=>{var d={"./mode-abap":[85289,5289],"./mode-abap.js":[85289,5289],"./mode-abc":[47067,7067],"./mode-abc.js":[47067,7067],"./mode-actionscript":[64617,6998],"./mode-actionscript.js":[64617,6998],"./mode-ada":[55591,5591],"./mode-ada.js":[55591,5591],"./mode-alda":[53849,3849],"./mode-alda.js":[53849,3849],"./mode-apache_conf":[80234,234],"./mode-apache_conf.js":[80234,234],"./mode-apex":[34923,4923],"./mode-apex.js":[34923,4923],"./mode-applescript":[5148,5148],"./mode-applescript.js":[5148,5148],"./mode-aql":[35637,5637],"./mode-aql.js":[35637,5637],"./mode-asciidoc":[97640,7640],"./mode-asciidoc.js":[97640,7640],"./mode-asl":[44571,4571],"./mode-asl.js":[44571,4571],"./mode-assembly_arm32":[81583,1583],"./mode-assembly_arm32.js":[81583,1583],"./mode-assembly_x86":[87166,7166],"./mode-assembly_x86.js":[87166,7166],"./mode-astro":[1192,1192],"./mode-astro.js":[1192,1192],"./mode-autohotkey":[94830,4830],"./mode-autohotkey.js":[94830,4830],"./mode-basic":[37809,7809],"./mode-basic.js":[37809,7809],"./mode-batchfile":[18305,8305],"./mode-batchfile.js":[18305,8305],"./mode-bibtex":[38713,8713],"./mode-bibtex.js":[38713,8713],"./mode-c9search":[26995,6995],"./mode-c9search.js":[26995,6995],"./mode-c_cpp":[54532,4532],"./mode-c_cpp.js":[54532,4532],"./mode-cirru":[29532,9532],"./mode-cirru.js":[29532,9532],"./mode-clojure":[34519,4519],"./mode-clojure.js":[34519,4519],"./mode-cobol":[152,152],"./mode-cobol.js":[152,152],"./mode-coffee":[32083,2083],"./mode-coffee.js":[32083,2083],"./mode-coldfusion":[57593,7593],"./mode-coldfusion.js":[57593,7593],"./mode-crystal":[80437,437],"./mode-crystal.js":[80437,437],"./mode-csharp":[20840,840],"./mode-csharp.js":[20840,840],"./mode-csound_document":[23143,3143],"./mode-csound_document.js":[23143,3143],"./mode-csound_orchestra":[88887,8887],"./mode-csound_orchestra.js":[88887,8887],"./mode-csound_score":[48302,8302],"./mode-csound_score.js":[48302,8302],"./mode-csp":[77369,7369],"./mode-csp.js":[77369,7369],"./mode-css":[57552,7552],"./mode-css.js":[57552,7552],"./mode-csv":[48727,8727],"./mode-csv.js":[48727,8727],"./mode-curly":[24778,4778],"./mode-curly.js":[24778,4778],"./mode-cuttlefish":[28894,8894],"./mode-cuttlefish.js":[28894,8894],"./mode-d":[73383,3383],"./mode-d.js":[73383,3383],"./mode-dart":[35842,5842],"./mode-dart.js":[35842,5842],"./mode-diff":[37664,7664],"./mode-diff.js":[37664,7664],"./mode-django":[53964,3964],"./mode-django.js":[53964,3964],"./mode-dockerfile":[38345,8345],"./mode-dockerfile.js":[38345,8345],"./mode-dot":[92832,2832],"./mode-dot.js":[92832,2832],"./mode-drools":[27594,7594],"./mode-drools.js":[27594,7594],"./mode-edifact":[13709,3709],"./mode-edifact.js":[13709,3709],"./mode-eiffel":[7808,7808],"./mode-eiffel.js":[7808,7808],"./mode-ejs":[19439,9439],"./mode-ejs.js":[19439,9439],"./mode-elixir":[50072,72],"./mode-elixir.js":[50072,72],"./mode-elm":[92295,2295],"./mode-elm.js":[92295,2295],"./mode-erlang":[65724,5724],"./mode-erlang.js":[65724,5724],"./mode-flix":[60016,16],"./mode-flix.js":[60016,16],"./mode-forth":[28956,8956],"./mode-forth.js":[28956,8956],"./mode-fortran":[84077,4077],"./mode-fortran.js":[84077,4077],"./mode-fsharp":[62785,2785],"./mode-fsharp.js":[62785,2785],"./mode-fsl":[79606,9606],"./mode-fsl.js":[79606,9606],"./mode-ftl":[57925,7925],"./mode-ftl.js":[57925,7925],"./mode-gcode":[75283,5283],"./mode-gcode.js":[75283,5283],"./mode-gherkin":[74181,4181],"./mode-gherkin.js":[74181,4181],"./mode-gitignore":[24874,2493],"./mode-gitignore.js":[24874,2493],"./mode-glsl":[19531,9531],"./mode-glsl.js":[19531,9531],"./mode-gobstones":[27633,7633],"./mode-gobstones.js":[27633,7633],"./mode-golang":[91109,1109],"./mode-golang.js":[91109,1109],"./mode-graphqlschema":[39761,9761],"./mode-graphqlschema.js":[39761,9761],"./mode-groovy":[54361,4361],"./mode-groovy.js":[54361,4361],"./mode-haml":[43117,3117],"./mode-haml.js":[43117,3117],"./mode-handlebars":[68067,8067],"./mode-handlebars.js":[68067,8067],"./mode-haskell":[87735,7735],"./mode-haskell.js":[87735,7735],"./mode-haskell_cabal":[26535,6535],"./mode-haskell_cabal.js":[26535,6535],"./mode-haxe":[98947,8947],"./mode-haxe.js":[98947,8947],"./mode-hjson":[48081,462],"./mode-hjson.js":[48081,462],"./mode-html":[77858,7858],"./mode-html.js":[77858,7858],"./mode-html_elixir":[78534,8534],"./mode-html_elixir.js":[78534,8534],"./mode-html_ruby":[6529,6529],"./mode-html_ruby.js":[6529,6529],"./mode-ini":[49797,9797],"./mode-ini.js":[49797,9797],"./mode-io":[20799,799],"./mode-io.js":[20799,799],"./mode-ion":[69973,9973],"./mode-ion.js":[69973,9973],"./mode-jack":[76528,6528],"./mode-jack.js":[76528,6528],"./mode-jade":[25697,5697],"./mode-jade.js":[25697,5697],"./mode-java":[11223,1223],"./mode-java.js":[11223,1223],"./mode-javascript":[91360,1360],"./mode-javascript.js":[91360,1360],"./mode-jexl":[20006,6],"./mode-jexl.js":[20006,6],"./mode-json":[63781,3781],"./mode-json.js":[63781,3781],"./mode-json5":[87246,7246],"./mode-json5.js":[87246,7246],"./mode-jsoniq":[9663,9663],"./mode-jsoniq.js":[9663,9663],"./mode-jsp":[91158,1158],"./mode-jsp.js":[91158,1158],"./mode-jssm":[36968,6968],"./mode-jssm.js":[36968,6968],"./mode-jsx":[74302,4302],"./mode-jsx.js":[74302,4302],"./mode-julia":[78462,8462],"./mode-julia.js":[78462,8462],"./mode-kotlin":[70390,390],"./mode-kotlin.js":[70390,390],"./mode-latex":[45655,5655],"./mode-latex.js":[45655,5655],"./mode-latte":[87477,7477],"./mode-latte.js":[87477,7477],"./mode-less":[84078,4078],"./mode-less.js":[84078,4078],"./mode-liquid":[94991,4991],"./mode-liquid.js":[94991,4991],"./mode-lisp":[95567,5567],"./mode-lisp.js":[95567,5567],"./mode-livescript":[52270,2270],"./mode-livescript.js":[52270,2270],"./mode-logiql":[51875,1875],"./mode-logiql.js":[51875,1875],"./mode-logtalk":[9611,9611],"./mode-logtalk.js":[9611,9611],"./mode-lsl":[63452,3452],"./mode-lsl.js":[63452,3452],"./mode-lua":[55453,5453],"./mode-lua.js":[55453,5453],"./mode-luapage":[93554,3554],"./mode-luapage.js":[93554,3554],"./mode-lucene":[33021,3021],"./mode-lucene.js":[33021,3021],"./mode-makefile":[53683,3683],"./mode-makefile.js":[53683,3683],"./mode-markdown":[66538,6538],"./mode-markdown.js":[66538,6538],"./mode-mask":[32207,2207],"./mode-mask.js":[32207,2207],"./mode-matlab":[22746,2746],"./mode-matlab.js":[22746,2746],"./mode-maze":[44404,4404],"./mode-maze.js":[44404,4404],"./mode-mediawiki":[53435,3435],"./mode-mediawiki.js":[53435,3435],"./mode-mel":[36021,6021],"./mode-mel.js":[36021,6021],"./mode-mips":[92172,2172],"./mode-mips.js":[92172,2172],"./mode-mixal":[30440,440],"./mode-mixal.js":[30440,440],"./mode-mushcode":[59479,9479],"./mode-mushcode.js":[59479,9479],"./mode-mysql":[80193,193],"./mode-mysql.js":[80193,193],"./mode-nasal":[51248,1248],"./mode-nasal.js":[51248,1248],"./mode-nginx":[24187,4187],"./mode-nginx.js":[24187,4187],"./mode-nim":[40467,467],"./mode-nim.js":[40467,467],"./mode-nix":[97863,244],"./mode-nix.js":[97863,244],"./mode-nsis":[18364,8364],"./mode-nsis.js":[18364,8364],"./mode-nunjucks":[74020,4020],"./mode-nunjucks.js":[74020,4020],"./mode-objectivec":[63319,3319],"./mode-objectivec.js":[63319,3319],"./mode-ocaml":[48539,8539],"./mode-ocaml.js":[48539,8539],"./mode-odin":[53823,3823],"./mode-odin.js":[53823,3823],"./mode-partiql":[70294,294],"./mode-partiql.js":[70294,294],"./mode-pascal":[64947,4947],"./mode-pascal.js":[64947,4947],"./mode-perl":[20186,186],"./mode-perl.js":[20186,186],"./mode-pgsql":[57732,7732],"./mode-pgsql.js":[57732,7732],"./mode-php":[49795,9795],"./mode-php.js":[49795,9795],"./mode-php_laravel_blade":[75628,5628],"./mode-php_laravel_blade.js":[75628,5628],"./mode-pig":[69347,9347],"./mode-pig.js":[69347,9347],"./mode-plain_text":[94309,4309],"./mode-plain_text.js":[94309,4309],"./mode-plsql":[51487,1487],"./mode-plsql.js":[51487,1487],"./mode-powershell":[86746,4365],"./mode-powershell.js":[86746,4365],"./mode-praat":[88599,8599],"./mode-praat.js":[88599,8599],"./mode-prisma":[62883,2883],"./mode-prisma.js":[62883,2883],"./mode-prolog":[50188,188],"./mode-prolog.js":[50188,188],"./mode-properties":[70722,722],"./mode-properties.js":[70722,722],"./mode-protobuf":[89836,9836],"./mode-protobuf.js":[89836,9836],"./mode-prql":[53080,3080],"./mode-prql.js":[53080,3080],"./mode-puppet":[16225,6225],"./mode-puppet.js":[16225,6225],"./mode-python":[5661,5661],"./mode-python.js":[5661,5661],"./mode-qml":[40169,169],"./mode-qml.js":[40169,169],"./mode-r":[90329,329],"./mode-r.js":[90329,329],"./mode-raku":[83770,3770],"./mode-raku.js":[83770,3770],"./mode-razor":[80255,255],"./mode-razor.js":[80255,255],"./mode-rdoc":[96691,6691],"./mode-rdoc.js":[96691,6691],"./mode-red":[65080,5080],"./mode-red.js":[65080,5080],"./mode-redshift":[1534,1534],"./mode-redshift.js":[1534,1534],"./mode-rhtml":[56108,6108],"./mode-rhtml.js":[56108,6108],"./mode-robot":[5531,5531],"./mode-robot.js":[5531,5531],"./mode-rst":[11354,1354],"./mode-rst.js":[11354,1354],"./mode-ruby":[50543,543],"./mode-ruby.js":[50543,543],"./mode-rust":[77033,7033],"./mode-rust.js":[77033,7033],"./mode-sac":[99554,9554],"./mode-sac.js":[99554,9554],"./mode-sass":[43162,781],"./mode-sass.js":[43162,781],"./mode-scad":[52748,2748],"./mode-scad.js":[52748,2748],"./mode-scala":[71581,1581],"./mode-scala.js":[71581,1581],"./mode-scheme":[49432,9432],"./mode-scheme.js":[49432,9432],"./mode-scrypt":[26688,6688],"./mode-scrypt.js":[26688,6688],"./mode-scss":[26003,6003],"./mode-scss.js":[26003,6003],"./mode-sh":[81464,1464],"./mode-sh.js":[81464,1464],"./mode-sjs":[28609,8609],"./mode-sjs.js":[28609,8609],"./mode-slim":[14550,4550],"./mode-slim.js":[14550,4550],"./mode-smarty":[44271,4271],"./mode-smarty.js":[44271,4271],"./mode-smithy":[86997,6997],"./mode-smithy.js":[86997,6997],"./mode-snippets":[38081,8081],"./mode-snippets.js":[38081,8081],"./mode-soy_template":[11079,1079],"./mode-soy_template.js":[11079,1079],"./mode-space":[67509,7509],"./mode-space.js":[67509,7509],"./mode-sparql":[69398,9398],"./mode-sparql.js":[69398,9398],"./mode-sql":[66259,6259],"./mode-sql.js":[66259,6259],"./mode-sqlserver":[52096,2096],"./mode-sqlserver.js":[52096,2096],"./mode-stylus":[24229,4229],"./mode-stylus.js":[24229,4229],"./mode-svg":[52161,2161],"./mode-svg.js":[52161,2161],"./mode-swift":[1316,1316],"./mode-swift.js":[1316,1316],"./mode-tcl":[12868,2868],"./mode-tcl.js":[12868,2868],"./mode-terraform":[1759,1759],"./mode-terraform.js":[1759,1759],"./mode-tex":[98618,8618],"./mode-tex.js":[98618,8618],"./mode-text":[13776,3776],"./mode-text.js":[13776,3776],"./mode-textile":[96438,6438],"./mode-textile.js":[96438,6438],"./mode-toml":[53307,3307],"./mode-toml.js":[53307,3307],"./mode-tsv":[44229,6610],"./mode-tsv.js":[44229,6610],"./mode-tsx":[61688,1688],"./mode-tsx.js":[61688,1688],"./mode-turtle":[60433,433],"./mode-turtle.js":[60433,433],"./mode-twig":[55890,5890],"./mode-twig.js":[55890,5890],"./mode-typescript":[11280,1280],"./mode-typescript.js":[11280,1280],"./mode-vala":[83929,3929],"./mode-vala.js":[83929,3929],"./mode-vbscript":[93720,3720],"./mode-vbscript.js":[93720,3720],"./mode-velocity":[61152,1152],"./mode-velocity.js":[61152,1152],"./mode-verilog":[86341,6341],"./mode-verilog.js":[86341,6341],"./mode-vhdl":[77733,7733],"./mode-vhdl.js":[77733,7733],"./mode-visualforce":[36492,6492],"./mode-visualforce.js":[36492,6492],"./mode-vue":[20991,991],"./mode-vue.js":[20991,991],"./mode-wollok":[90479,479],"./mode-wollok.js":[90479,479],"./mode-xml":[93250,3250],"./mode-xml.js":[93250,3250],"./mode-xquery":[88279,8279],"./mode-xquery.js":[88279,8279],"./mode-yaml":[16904,6904],"./mode-yaml.js":[16904,6904],"./mode-zeek":[21658,1658],"./mode-zeek.js":[21658,1658],"./mode-zig":[53829,3829],"./mode-zig.js":[53829,3829]};function s(e){if(!m.o(d,e))return Promise.resolve().then((()=>{var o=new Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}));var o=d[e],s=o[0];return m.e(o[1]).then((()=>m.t(s,23)))}s.keys=()=>Object.keys(d),s.id=87549,e.exports=s}}]);