@nuxt/devtools-nightly 3.0.0-beta.1-29360371.9a6c882 → 3.0.0-beta.2-29360546.3b7b91e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/chunks/module-main.mjs +1 -1
  2. package/dist/client/200.html +1 -1
  3. package/dist/client/404.html +1 -1
  4. package/dist/client/_nuxt/{analyze-build-i7dz4diz.js → analyze-build-en1pdms2.js} +1 -1
  5. package/dist/client/_nuxt/{assets-e1eiimkb.js → assets-n566h5vr.js} +1 -1
  6. package/dist/client/_nuxt/builds/latest.json +1 -1
  7. package/dist/client/_nuxt/builds/meta/c2160c47-e789-4a88-b479-d4ac460d7f3c.json +1 -0
  8. package/dist/client/_nuxt/{components-b06rag2o.js → components-hpibx0st.js} +1 -1
  9. package/dist/client/_nuxt/{custom-_name_-n5xcd89j.js → custom-_name_-f0yv6e3f.js} +1 -1
  10. package/dist/client/_nuxt/{data-schema-drawer-ohi5wclq.js → data-schema-drawer-ezu9t3sd.js} +1 -1
  11. package/dist/client/_nuxt/{debug-edst1aup.js → debug-cfxior0p.js} +1 -1
  12. package/dist/client/_nuxt/{default-iey7bcl0.js → default-h6dyqs2w.js} +1 -1
  13. package/dist/client/_nuxt/entry.css-ffhdx367.css +1 -0
  14. package/dist/client/_nuxt/{error-404-j1jq1c66.js → error-404-njlyogwy.js} +1 -1
  15. package/dist/client/_nuxt/error-404.css-da6qbpbu.css +1 -0
  16. package/dist/client/_nuxt/{error-500-g7c66z1a.js → error-500-ntnscqxg.js} +1 -1
  17. package/dist/client/_nuxt/error-500.css-npck1tpq.css +1 -0
  18. package/dist/client/_nuxt/{error-n99dhadk.js → error-ngd0he0p.js} +1 -1
  19. package/dist/client/_nuxt/{full-boj6lq2g.js → full-kiy55qwo.js} +1 -1
  20. package/dist/client/_nuxt/fwne71l4.js +19 -0
  21. package/dist/client/_nuxt/{hooks-bpngdbhx.js → hooks-snvxwym3.js} +1 -1
  22. package/dist/client/_nuxt/{imports-i8h7x738.js → imports-ablrlkrm.js} +1 -1
  23. package/dist/client/_nuxt/{index-jmvfijcg.js → index-dhqprzsl.js} +1 -1
  24. package/dist/client/_nuxt/{modules-mo5j545f.js → modules-fdp63k8i.js} +1 -1
  25. package/dist/client/_nuxt/{ndrawer-bkb7znk3.js → ndrawer-ele5003c.js} +1 -1
  26. package/dist/client/_nuxt/{none-mairbbrs.js → none-kkzl28yq.js} +1 -1
  27. package/dist/client/_nuxt/{open-graph-hjnpn4lk.js → open-graph-i89lovwl.js} +1 -1
  28. package/dist/client/_nuxt/{overview-k79e36il.js → overview-mah4r2ax.js} +1 -1
  29. package/dist/client/_nuxt/{pages-ds02jwc5.js → pages-c92950z2.js} +1 -1
  30. package/dist/client/_nuxt/{payload-jjh8ouvz.js → payload-ioljy0gp.js} +1 -1
  31. package/dist/client/_nuxt/{pinia-be68olcl.js → pinia-l3j72b9i.js} +1 -1
  32. package/dist/client/_nuxt/{plugins-b9qyoo0c.js → plugins-vnkqf88h.js} +1 -1
  33. package/dist/client/_nuxt/{render-tree-m94vu53a.js → render-tree-n8fhc6fz.js} +1 -1
  34. package/dist/client/_nuxt/{runtime-configs-la4u86eo.js → runtime-configs-oljrogad.js} +1 -1
  35. package/dist/client/_nuxt/{server-discovery-mjs49bz1.js → server-discovery-d1p5895t.js} +1 -1
  36. package/dist/client/_nuxt/{server-routes-emm36jf2.js → server-routes-fnmu47i7.js} +3 -3
  37. package/dist/client/_nuxt/server-tasks-jaynp34d.js +1 -0
  38. package/dist/client/_nuxt/{settings-qjlpbgea.js → settings-dskwwnw8.js} +1 -1
  39. package/dist/client/_nuxt/{storage-cgn8xpm9.js → storage-lnlr13lw.js} +1 -1
  40. package/dist/client/_nuxt/{terminals-oykxibii.js → terminals-eh81n4ks.js} +1 -1
  41. package/dist/client/_nuxt/{timeline-kuccxakl.js → timeline-nc7oe1s1.js} +1 -1
  42. package/dist/client/_nuxt/{unocss-runtime-o01c8yfj.js → unocss-runtime-d4xe6j1n.js} +1 -1
  43. package/dist/client/_nuxt/vendor/{quicktype-core-e2ngitjr.js → quicktype-core-i0qughny.js} +1 -1
  44. package/dist/client/_nuxt/vendor/{unocss-jpwnx6aq.js → unocss-jganugwb.js} +2 -2
  45. package/dist/client/_nuxt/{virtual-files-be3na8kr.js → virtual-files-c1puztn8.js} +1 -1
  46. package/dist/client/_nuxt/vue-devtools-hb1vi95m.js +2 -0
  47. package/dist/client/index.html +1 -1
  48. package/dist/module.json +1 -1
  49. package/package.json +11 -11
  50. package/dist/client/_nuxt/builds/meta/201c45d2-00f5-4709-8202-2f048e9eeba9.json +0 -1
  51. package/dist/client/_nuxt/entry.css-gme6a42i.css +0 -1
  52. package/dist/client/_nuxt/error-404.css-b77wc31r.css +0 -1
  53. package/dist/client/_nuxt/error-500.css-fqn6oeub.css +0 -1
  54. package/dist/client/_nuxt/hjatffgj.js +0 -19
  55. package/dist/client/_nuxt/server-tasks-gkj1p3fy.js +0 -1
  56. package/dist/client/_nuxt/vue-devtools-bywsfgh0.js +0 -2
@@ -1 +0,0 @@
1
- import{b1 as ne,I as re,g as ue,b2 as ke,a4 as Oe,A as Te,w as Se,ay as we,b3 as Xe,a as Ee,_ as le,b4 as De,v as Ce,i as ce,F as Me,M as Ie,b5 as $e,S as Le,n as Re,a8 as Ue}from"#entry";import{_ as Ne}from"./nnavbar-b4ap0r8w.js";import{_ as fe}from"./nbadge-d24jlq2b.js";import{a as Ae,p as K,k as F,q as L,J as I,Y as g,a3 as m,a4 as H,a1 as k,ab as A,F as W,ah as Z,a7 as z,u as w,r as ie,w as je,aj as de,X as j,ad as G,$ as M,ac as P,a2 as Ve,aw as He,a0 as We,a5 as Be,K as Fe}from"./vendor/json-editor-vue-ikjc812x.js";import{_ as pe}from"./server-route-inputs-e42a8bs5.js";import{_ as qe}from"./ncode-block-pcw3yh3u.js";import{S as ve}from"./constants-b32h69zq.js";import{_ as Pe}from"./nsection-block-je23gs2w.js";import{_ as Ye}from"./ndrawer-bkb7znk3.js";import"./vendor/shiki-hpfujfi3.js";import"./vendor/unocss-jpwnx6aq.js";import"./ncheckbox-eijyrwcq.js";import"./nselect-nvb1idpm.js";import"./client-miiq4qin.js";import"./nicon-title-he6hzgyb.js";var te={exports:{}},se;function ze(){return se||(se=1,(function(E,U){(function(R,T){E.exports=T()})(globalThis,()=>(()=>{var N={949:((b,d,_)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.CronParser=void 0;var o=_(515),v=(function(){function y(t,e,a){e===void 0&&(e=!0),a===void 0&&(a=!1),this.expression=t,this.dayOfWeekStartIndexZero=e,this.monthStartIndexZero=a}return y.prototype.parse=function(){var t,e,a=(t=this.expression)!==null&&t!==void 0?t:"";if(a==="@reboot")return e=["@reboot","","","","","",""],e;if(a.startsWith("@")){var r=this.parseSpecial(this.expression);e=this.extractParts(r)}else e=this.extractParts(this.expression);return this.normalize(e),this.validate(e),e},y.prototype.parseSpecial=function(t){var e={"@yearly":"0 0 1 1 *","@annually":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@midnight":"0 0 * * *","@hourly":"0 * * * *","@reboot":"@reboot"},a=e[t];if(!a)throw new Error("Unknown special expression.");return a},y.prototype.extractParts=function(t){if(!this.expression)throw new Error("cron expression is empty");for(var e=t.trim().split(/[ ]+/),a=0;a<e.length;a++)if(e[a].includes(",")){var r=e[a].split(",").map(function(u){return u.trim()}).filter(function(u){return u!==""}).map(function(u){return isNaN(Number(u))?u:Number(u)}).filter(function(u){return u!==null&&u!==""});r.length===0&&r.push("*"),r.sort(function(u,i){return u!==null&&i!==null?u-i:0}),e[a]=r.map(function(u){return u!==null?u.toString():""}).join(",")}if(e.length<5)throw new Error("Expression has only ".concat(e.length," part").concat(e.length==1?"":"s",". At least 5 parts are required."));if(e.length==5)e.unshift(""),e.push("");else if(e.length==6){var n=/\d{4}$/.test(e[5])||e[4]=="?"||e[2]=="?";n?e.unshift(""):e.push("")}else if(e.length>7)throw new Error("Expression has ".concat(e.length," parts; too many!"));return e},y.prototype.normalize=function(t){var e=this;if(t[3]=t[3].replace("?","*"),t[5]=t[5].replace("?","*"),t[2]=t[2].replace("?","*"),t[0].indexOf("0/")==0&&(t[0]=t[0].replace("0/","*/")),t[1].indexOf("0/")==0&&(t[1]=t[1].replace("0/","*/")),t[2].indexOf("0/")==0&&(t[2]=t[2].replace("0/","*/")),t[3].indexOf("1/")==0&&(t[3]=t[3].replace("1/","*/")),t[4].indexOf("1/")==0&&(t[4]=t[4].replace("1/","*/")),t[6].indexOf("1/")==0&&(t[6]=t[6].replace("1/","*/")),t[5]=t[5].replace(/(^\d)|([^#/\s]\d)/g,function(l){var h=l.replace(/\D/,""),p=h;return e.dayOfWeekStartIndexZero?h=="7"&&(p="0"):p=(parseInt(h)-1).toString(),l.replace(h,p)}),t[5]=="L"&&(t[5]="6"),t[3]=="?"&&(t[3]="*"),t[3].indexOf("W")>-1&&(t[3].indexOf(",")>-1||t[3].indexOf("-")>-1))throw new Error("The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.");var a={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var r in a)t[5]=t[5].replace(new RegExp(r,"gi"),a[r].toString());t[4]=t[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,function(l){var h=l.replace(/\D/,""),p=h;return e.monthStartIndexZero&&(p=(parseInt(h)+1).toString()),l.replace(h,p)});var n={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var u in n)t[4]=t[4].replace(new RegExp(u,"gi"),n[u].toString());t[0]=="0"&&(t[0]=""),!/\*|\-|\,|\//.test(t[2])&&(/\*|\//.test(t[1])||/\*|\//.test(t[0]))&&(t[2]+="-".concat(t[2]));for(var i=0;i<t.length;i++)if(t[i].indexOf(",")!=-1&&(t[i]=t[i].split(",").filter(function(l){return l!==""}).join(",")||"*"),t[i]=="*/1"&&(t[i]="*"),t[i].indexOf("/")>-1&&!/^\*|\-|\,/.test(t[i])){var s=null;switch(i){case 4:s="12";break;case 5:s="6";break;case 6:s="9999";break;default:s=null;break}if(s!==null){var f=t[i].split("/");t[i]="".concat(f[0],"-").concat(s,"/").concat(f[1])}}},y.prototype.validate=function(t){var e="0-9,\\-*/";this.validateOnlyExpectedCharactersFound(t[0],e),this.validateOnlyExpectedCharactersFound(t[1],e),this.validateOnlyExpectedCharactersFound(t[2],e),this.validateOnlyExpectedCharactersFound(t[3],"0-9,\\-*/LW"),this.validateOnlyExpectedCharactersFound(t[4],e),this.validateOnlyExpectedCharactersFound(t[5],"0-9,\\-*/L#"),this.validateOnlyExpectedCharactersFound(t[6],e),this.validateAnyRanges(t)},y.prototype.validateAnyRanges=function(t){o.default.secondRange(t[0]),o.default.minuteRange(t[1]),o.default.hourRange(t[2]),o.default.dayOfMonthRange(t[3]),o.default.monthRange(t[4],this.monthStartIndexZero),o.default.dayOfWeekRange(t[5],this.dayOfWeekStartIndexZero)},y.prototype.validateOnlyExpectedCharactersFound=function(t,e){var a=t.match(new RegExp("[^".concat(e,"]+"),"gi"));if(a&&a.length)throw new Error("Expression contains invalid values: '".concat(a.toString(),"'"))},y})();d.CronParser=v}),333:((b,d,_)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.ExpressionDescriptor=void 0;var o=_(823),v=_(949),y=(function(){function t(e,a){if(this.expression=e,this.options=a,this.expressionParts=new Array(5),!this.options.locale&&t.defaultLocale&&(this.options.locale=t.defaultLocale),!t.locales[this.options.locale]){var r=Object.keys(t.locales)[0];console.warn("Locale '".concat(this.options.locale,"' could not be found; falling back to '").concat(r,"'.")),this.options.locale=r}this.i18n=t.locales[this.options.locale],a.use24HourTimeFormat===void 0&&(a.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return t.toString=function(e,a){var r=a===void 0?{}:a,n=r.throwExceptionOnParseError,u=n===void 0?!0:n,i=r.verbose,s=i===void 0?!1:i,f=r.dayOfWeekStartIndexZero,l=f===void 0?!0:f,h=r.monthStartIndexZero,p=h===void 0?!1:h,$=r.use24HourTimeFormat,C=r.locale,B=C===void 0?null:C,V={throwExceptionOnParseError:u,verbose:s,dayOfWeekStartIndexZero:l,monthStartIndexZero:p,use24HourTimeFormat:$,locale:B};V.tzOffset&&console.warn("'tzOffset' option has been deprecated and is no longer supported.");var S=new t(e,V);return S.getFullDescription()},t.initialize=function(e,a){a===void 0&&(a="en"),t.specialCharacters=["/","-",",","*"],t.defaultLocale=a,e.load(t.locales)},t.prototype.getFullDescription=function(){var e,a,r="";try{var n=new v.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);if(this.expressionParts=n.parse(),this.expressionParts[0]==="@reboot")return((a=(e=this.i18n).atReboot)===null||a===void 0?void 0:a.call(e))||"Run once, at startup";var u=this.getTimeOfDayDescription(),i=this.getDayOfMonthDescription(),s=this.getMonthDescription(),f=this.getDayOfWeekDescription(),l=this.getYearDescription();r+=u+i+f+s+l,r=this.transformVerbosity(r,!!this.options.verbose),r=r.charAt(0).toLocaleUpperCase()+r.substr(1)}catch(h){if(!this.options.throwExceptionOnParseError)r=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD();else throw"".concat(h)}return r},t.prototype.getTimeOfDayDescription=function(){var e=this.expressionParts[0],a=this.expressionParts[1],r=this.expressionParts[2],n="";if(!o.StringUtilities.containsAny(a,t.specialCharacters)&&!o.StringUtilities.containsAny(r,t.specialCharacters)&&!o.StringUtilities.containsAny(e,t.specialCharacters))n+=this.i18n.atSpace()+this.formatTime(r,a,e);else if(!e&&a.indexOf("-")>-1&&!(a.indexOf(",")>-1)&&!(a.indexOf("/")>-1)&&!o.StringUtilities.containsAny(r,t.specialCharacters)){var u=a.split("-");n+=o.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(r,u[0],""),this.formatTime(r,u[1],""))}else if(!e&&r.indexOf(",")>-1&&r.indexOf("-")==-1&&r.indexOf("/")==-1&&!o.StringUtilities.containsAny(a,t.specialCharacters)){var i=r.split(",");n+=this.i18n.at();for(var s=0;s<i.length;s++)n+=" ",n+=this.formatTime(i[s],a,""),s<i.length-2&&(n+=","),s==i.length-2&&(n+=this.i18n.spaceAnd())}else{var f=this.getSecondsDescription(),l=this.getMinutesDescription(),h=this.getHoursDescription();if(n+=f,n&&l&&(n+=", "),n+=l,l===h)return n;n&&h&&(n+=", "),n+=h}return n},t.prototype.getSecondsDescription=function(){var e=this,a=this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),function(r){return r},function(r){return o.StringUtilities.format(e.i18n.everyX0Seconds(r),r)},function(r){return e.i18n.secondsX0ThroughX1PastTheMinute()},function(r){return r=="0"?"":parseInt(r)<20?e.i18n.atX0SecondsPastTheMinute(r):e.i18n.atX0SecondsPastTheMinuteGt20()||e.i18n.atX0SecondsPastTheMinute(r)});return a},t.prototype.getMinutesDescription=function(){var e=this,a=this.expressionParts[0],r=this.expressionParts[2],n=this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),function(u){return u},function(u){return o.StringUtilities.format(e.i18n.everyX0Minutes(u),u)},function(u){return e.i18n.minutesX0ThroughX1PastTheHour()},function(u){try{return u=="0"&&r.indexOf("/")==-1&&a==""?e.i18n.everyHour():parseInt(u)<20?e.i18n.atX0MinutesPastTheHour(u):e.i18n.atX0MinutesPastTheHourGt20()||e.i18n.atX0MinutesPastTheHour(u)}catch{return e.i18n.atX0MinutesPastTheHour(u)}});return n},t.prototype.getHoursDescription=function(){var e=this,a=this.expressionParts[2],r=0,n=[];a.split("/")[0].split(",").forEach(function(s){var f=s.split("-");f.length===2&&n.push({value:f[1],index:r+1}),r+=f.length});var u=0,i=this.getSegmentDescription(a,this.i18n.everyHour(),function(s){var f=n.find(function(h){return h.value===s&&h.index===u}),l=f&&e.expressionParts[1]!=="0";return u++,l?e.formatTime(s,"59",""):e.formatTime(s,"0","")},function(s){return o.StringUtilities.format(e.i18n.everyX0Hours(s),s)},function(s){return e.i18n.betweenX0AndX1()},function(s){return e.i18n.atX0()});return i},t.prototype.getDayOfWeekDescription=function(){var e=this,a=this.i18n.daysOfTheWeek(),r=null;return this.expressionParts[5]=="*"?r="":r=this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),function(n,u){var i=n;n.indexOf("#")>-1?i=n.substring(0,n.indexOf("#")):n.indexOf("L")>-1&&(i=i.replace("L",""));var s=parseInt(i),f=e.i18n.daysOfTheWeekInCase?e.i18n.daysOfTheWeekInCase(u)[s]:a[s];if(n.indexOf("#")>-1){var l=null,h=n.substring(n.indexOf("#")+1),p=n.substring(0,n.indexOf("#"));switch(h){case"1":l=e.i18n.first(p);break;case"2":l=e.i18n.second(p);break;case"3":l=e.i18n.third(p);break;case"4":l=e.i18n.fourth(p);break;case"5":l=e.i18n.fifth(p);break}f=l+" "+f}return f},function(n){return parseInt(n)==1?"":o.StringUtilities.format(e.i18n.commaEveryX0DaysOfTheWeek(n),n)},function(n){var u=n.substring(0,n.indexOf("-")),i=e.expressionParts[3]!="*";return i?e.i18n.commaAndX0ThroughX1(u):e.i18n.commaX0ThroughX1(u)},function(n){var u=null;if(n.indexOf("#")>-1){var i=n.substring(n.indexOf("#")+1),s=n.substring(0,n.indexOf("#"));u=e.i18n.commaOnThe(i,s).trim()+e.i18n.spaceX0OfTheMonth()}else if(n.indexOf("L")>-1)u=e.i18n.commaOnTheLastX0OfTheMonth(n.replace("L",""));else{var f=e.expressionParts[3]!="*";u=f?e.i18n.commaAndOnX0():e.i18n.commaOnlyOnX0(n)}return u}),r},t.prototype.getMonthDescription=function(){var e=this,a=this.i18n.monthsOfTheYear(),r=this.getSegmentDescription(this.expressionParts[4],"",function(n,u){return u&&e.i18n.monthsOfTheYearInCase?e.i18n.monthsOfTheYearInCase(u)[parseInt(n)-1]:a[parseInt(n)-1]},function(n){return parseInt(n)==1?"":o.StringUtilities.format(e.i18n.commaEveryX0Months(n),n)},function(n){return e.i18n.commaMonthX0ThroughMonthX1()||e.i18n.commaX0ThroughX1()},function(n){return e.i18n.commaOnlyInMonthX0?e.i18n.commaOnlyInMonthX0():e.i18n.commaOnlyInX0()});return r},t.prototype.getDayOfMonthDescription=function(){var e=this,a=null,r=this.expressionParts[3];switch(r){case"L":a=this.i18n.commaOnTheLastDayOfTheMonth();break;case"WL":case"LW":a=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var n=r.match(/(\d{1,2}W)|(W\d{1,2})/);if(n){var u=parseInt(n[0].replace("W","")),i=u==1?this.i18n.firstWeekday():o.StringUtilities.format(this.i18n.weekdayNearestDayX0(),u.toString());a=o.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),i);break}else{var s=r.match(/L-(\d{1,2})/);if(s){var f=s[1];a=o.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(f),f);break}else{if(r=="*"&&this.expressionParts[5]!="*")return"";a=this.getSegmentDescription(r,this.i18n.commaEveryDay(),function(l){return l=="L"?e.i18n.lastDay():e.i18n.dayX0?o.StringUtilities.format(e.i18n.dayX0(),l):l},function(l){return l=="1"?e.i18n.commaEveryDay():e.i18n.commaEveryX0Days(l)},function(l){return e.i18n.commaBetweenDayX0AndX1OfTheMonth(l)},function(l){return e.i18n.commaOnDayX0OfTheMonth(l)})}break}}return a},t.prototype.getYearDescription=function(){var e=this,a=this.getSegmentDescription(this.expressionParts[6],"",function(r){return/^\d+$/.test(r)?new Date(parseInt(r),1).getFullYear().toString():r},function(r){return o.StringUtilities.format(e.i18n.commaEveryX0Years(r),r)},function(r){return e.i18n.commaYearX0ThroughYearX1()||e.i18n.commaX0ThroughX1()},function(r){return e.i18n.commaOnlyInYearX0?e.i18n.commaOnlyInYearX0():e.i18n.commaOnlyInX0()});return a},t.prototype.getSegmentDescription=function(e,a,r,n,u,i){var s=null,f=e.indexOf("/")>-1,l=e.indexOf("-")>-1,h=e.indexOf(",")>-1;if(!e)s="";else if(e==="*")s=a;else if(!f&&!l&&!h)s=o.StringUtilities.format(i(e),r(e));else if(h){for(var p=e.split(","),$="",C=0;C<p.length;C++)if(C>0&&p.length>2&&($+=",",C<p.length-1&&($+=" ")),C>0&&p.length>1&&(C==p.length-1||p.length==2)&&($+="".concat(this.i18n.spaceAnd()," ")),p[C].indexOf("/")>-1||p[C].indexOf("-")>-1){var B=p[C].indexOf("-")>-1&&p[C].indexOf("/")==-1,V=this.getSegmentDescription(p[C],a,r,n,B?this.i18n.commaX0ThroughX1:u,i);B&&(V=V.replace(", ","")),$+=V}else f?$+=this.getSegmentDescription(p[C],a,r,n,u,i):$+=r(p[C]);f?s=$:s=o.StringUtilities.format(i(e),$)}else if(f){var p=e.split("/");if(s=o.StringUtilities.format(n(p[1]),p[1]),p[0].indexOf("-")>-1){var S=this.generateRangeSegmentDescription(p[0],u,r);S.indexOf(", ")!=0&&(s+=", "),s+=S}else if(p[0].indexOf("*")==-1){var Y=o.StringUtilities.format(i(p[0]),r(p[0]));Y=Y.replace(", ",""),s+=o.StringUtilities.format(this.i18n.commaStartingX0(),Y)}}else l&&(s=this.generateRangeSegmentDescription(e,u,r));return s},t.prototype.generateRangeSegmentDescription=function(e,a,r){var n="",u=e.split("-"),i=r(u[0],1),s=r(u[1],2),f=a(e);return n+=o.StringUtilities.format(f,i,s),n},t.prototype.formatTime=function(e,a,r){var n=0,u=0,i=parseInt(e)+n,s=parseInt(a)+u;s>=60?(s-=60,i+=1):s<0&&(s+=60,i-=1),i>=24?i=i-24:i<0&&(i=24+i);var f="",l=!1;this.options.use24HourTimeFormat||(l=!!(this.i18n.setPeriodBeforeTime&&this.i18n.setPeriodBeforeTime()),f=l?"".concat(this.getPeriod(i)," "):" ".concat(this.getPeriod(i)),i>12&&(i-=12),i===0&&(i=12));var h="";return r&&(h=":".concat(("00"+r).substring(r.length))),"".concat(l?f:"").concat(("00"+i.toString()).substring(i.toString().length),":").concat(("00"+s.toString()).substring(s.toString().length)).concat(h).concat(l?"":f)},t.prototype.transformVerbosity=function(e,a){if(!a&&(e=e.replace(new RegExp(", ".concat(this.i18n.everyMinute()),"g"),""),e=e.replace(new RegExp(", ".concat(this.i18n.everyHour()),"g"),""),e=e.replace(new RegExp(this.i18n.commaEveryDay(),"g"),""),e=e.replace(/\, ?$/,""),this.i18n.conciseVerbosityReplacements))for(var r=0,n=Object.entries(this.i18n.conciseVerbosityReplacements());r<n.length;r++){var u=n[r],i=u[0],s=u[1];e=e.replace(new RegExp(i,"g"),s)}return e},t.prototype.getPeriod=function(e){return e>=12?this.i18n.pm&&this.i18n.pm()||"PM":this.i18n.am&&this.i18n.am()||"AM"},t.locales={},t})();d.ExpressionDescriptor=y}),747:((b,d,_)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.enLocaleLoader=void 0;var o=_(486),v=(function(){function y(){}return y.prototype.load=function(t){t.en=new o.en},y})();d.enLocaleLoader=v}),486:((b,d)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.en=void 0;var _=(function(){function o(){}return o.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},o.prototype.atX0MinutesPastTheHourGt20=function(){return null},o.prototype.commaMonthX0ThroughMonthX1=function(){return null},o.prototype.commaYearX0ThroughYearX1=function(){return null},o.prototype.use24HourTimeFormatByDefault=function(){return!1},o.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"An error occurred when generating the expression description. Check the cron expression syntax."},o.prototype.everyMinute=function(){return"every minute"},o.prototype.everyHour=function(){return"every hour"},o.prototype.atSpace=function(){return"At "},o.prototype.everyMinuteBetweenX0AndX1=function(){return"Every minute between %s and %s"},o.prototype.at=function(){return"At"},o.prototype.spaceAnd=function(){return" and"},o.prototype.everySecond=function(){return"every second"},o.prototype.everyX0Seconds=function(){return"every %s seconds"},o.prototype.secondsX0ThroughX1PastTheMinute=function(){return"seconds %s through %s past the minute"},o.prototype.atX0SecondsPastTheMinute=function(){return"at %s seconds past the minute"},o.prototype.everyX0Minutes=function(){return"every %s minutes"},o.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"},o.prototype.atX0MinutesPastTheHour=function(){return"at %s minutes past the hour"},o.prototype.everyX0Hours=function(){return"every %s hours"},o.prototype.betweenX0AndX1=function(){return"between %s and %s"},o.prototype.atX0=function(){return"at %s"},o.prototype.commaEveryDay=function(){return", every day"},o.prototype.commaEveryX0DaysOfTheWeek=function(){return", every %s days of the week"},o.prototype.commaX0ThroughX1=function(){return", %s through %s"},o.prototype.commaAndX0ThroughX1=function(){return", %s through %s"},o.prototype.first=function(){return"first"},o.prototype.second=function(){return"second"},o.prototype.third=function(){return"third"},o.prototype.fourth=function(){return"fourth"},o.prototype.fifth=function(){return"fifth"},o.prototype.commaOnThe=function(){return", on the "},o.prototype.spaceX0OfTheMonth=function(){return" %s of the month"},o.prototype.lastDay=function(){return"the last day"},o.prototype.commaOnTheLastX0OfTheMonth=function(){return", on the last %s of the month"},o.prototype.commaOnlyOnX0=function(){return", only on %s"},o.prototype.commaAndOnX0=function(){return", and on %s"},o.prototype.commaEveryX0Months=function(){return", every %s months"},o.prototype.commaOnlyInX0=function(){return", only in %s"},o.prototype.commaOnTheLastDayOfTheMonth=function(){return", on the last day of the month"},o.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", on the last weekday of the month"},o.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s days before the last day of the month"},o.prototype.firstWeekday=function(){return"first weekday"},o.prototype.weekdayNearestDayX0=function(){return"weekday nearest day %s"},o.prototype.commaOnTheX0OfTheMonth=function(){return", on the %s of the month"},o.prototype.commaEveryX0Days=function(){return", every %s days"},o.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", between day %s and %s of the month"},o.prototype.commaOnDayX0OfTheMonth=function(){return", on day %s of the month"},o.prototype.commaEveryHour=function(){return", every hour"},o.prototype.commaEveryX0Years=function(){return", every %s years"},o.prototype.commaStartingX0=function(){return", starting %s"},o.prototype.daysOfTheWeek=function(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},o.prototype.monthsOfTheYear=function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]},o.prototype.atReboot=function(){return"Run once, at startup"},o})();d.en=_}),515:((b,d)=>{Object.defineProperty(d,"__esModule",{value:!0});function _(v,y){if(!v)throw new Error(y)}var o=(function(){function v(){}return v.secondRange=function(y){for(var t=y.split(","),e=0;e<t.length;e++)if(!isNaN(parseInt(t[e],10))){var a=parseInt(t[e],10);_(a>=0&&a<=59,"seconds part must be >= 0 and <= 59")}},v.minuteRange=function(y){for(var t=y.split(","),e=0;e<t.length;e++)if(!isNaN(parseInt(t[e],10))){var a=parseInt(t[e],10);_(a>=0&&a<=59,"minutes part must be >= 0 and <= 59")}},v.hourRange=function(y){for(var t=y.split(","),e=0;e<t.length;e++)if(!isNaN(parseInt(t[e],10))){var a=parseInt(t[e],10);_(a>=0&&a<=23,"hours part must be >= 0 and <= 23")}},v.dayOfMonthRange=function(y){for(var t=y.split(","),e=0;e<t.length;e++)if(!isNaN(parseInt(t[e],10))){var a=parseInt(t[e],10);_(a>=1&&a<=31,"DOM part must be >= 1 and <= 31")}},v.monthRange=function(y,t){for(var e=y.split(","),a=0;a<e.length;a++)if(!isNaN(parseInt(e[a],10))){var r=parseInt(e[a],10);_(r>=1&&r<=12,t?"month part must be >= 0 and <= 11":"month part must be >= 1 and <= 12")}},v.dayOfWeekRange=function(y,t){for(var e=y.split(","),a=0;a<e.length;a++)if(!isNaN(parseInt(e[a],10))){var r=parseInt(e[a],10);_(r>=0&&r<=6,t?"DOW part must be >= 0 and <= 6":"DOW part must be >= 1 and <= 7")}},v})();d.default=o}),823:((b,d)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.StringUtilities=void 0;var _=(function(){function o(){}return o.format=function(v){for(var y=[],t=1;t<arguments.length;t++)y[t-1]=arguments[t];return v.replace(/%s/g,function(e){return y.shift()})},o.containsAny=function(v,y){return y.some(function(t){return v.indexOf(t)>-1})},o})();d.StringUtilities=_})},R={};function T(b){var d=R[b];if(d!==void 0)return d.exports;var _=R[b]={exports:{}};return N[b](_,_.exports,T),_.exports}var D={};return(()=>{var b=D;Object.defineProperty(b,"__esModule",{value:!0}),b.toString=void 0;var d=T(333),_=T(747);d.ExpressionDescriptor.initialize(new _.enLocaleLoader),b.default=d.ExpressionDescriptor;var o=d.ExpressionDescriptor.toString;b.toString=o})(),D})())})(te)),te.exports}var Ge=ze();const Ze=Ae(Ge),Je=["title"],Qe={"flex-none":"","text-left":""},Ke={flex:"~ gap-2","min-w-0":"","items-center":"","text-sm":""},et={class:"truncate"},tt={"text-xs":"",op50:""},nt={key:0},rt=["onClick"],ot=K({__name:"CronCollection",props:{collection:{}},setup(E){const U=E,N=ne(),R=F(!0),T=L(()=>Ze.toString(U.collection.cron));return(D,b)=>{const d=re,_=fe;return g(),I("div",null,[m("button",{flex:"~ gap-2","w-full":"","items-start":"","items-center":"",p2:"","hover-bg-active":"",title:T.value,onClick:b[0]||(b[0]=o=>R.value=!R.value)},[m("div",Qe,[k(d,{icon:"carbon:chevron-right","mb0.5":"","transform-rotate":R.value?90:0,transition:""},null,8,["transform-rotate"])]),m("span",Ke,[k(_,{class:"font-mono n-primary",textContent:A(E.collection.cron)},null,8,["textContent"]),m("span",et,A(T.value),1),m("span",tt,"("+A(E.collection.tasks.length)+")",1)])],8,Je),b[2]||(b[2]=m("div",{"x-divider":""},null,-1)),R.value?(g(),I("ul",nt,[(g(!0),I(W,null,Z(E.collection.tasks,o=>(g(),I("li",{key:o},[m("button",{flex:"~ gap-2","w-full":"","items-start":"","items-center":"",px2:"",py1:"","pl-9":"","font-mono":"","hover-bg-active":"",class:z([{"bg-active":w(N)===o}]),onClick:v=>N.value=o},A(o),11,rt),b[1]||(b[1]=m("div",{"x-divider":""},null,-1))]))),128))])):H("",!0)])}}}),at=Object.assign(ot,{__name:"CronCollection"}),it={"h-full":"","w-full":"",flex:"~ col"},st={flex:"~ col gap-2","n-navbar-glass":"","flex-none":"",p4:""},ut={flex:"~ gap2 items-center"},lt={relative:"","w-full":""},ct={absolute:"","right-2":"","top-1.5":"",flex:"~ gap-1"},ft={flex:"~ gap2 wrap","w-full":"","items-center":"",px4:"",pb2:"","text-center":"","text-sm":"",border:"b base"},dt={class:"hidden md:block"},pt={flex:"~ gap2","mb--2":"","items-center":"",op50:""},vt={key:0,border:"b base",relative:"","n-code-block":""},ht={flex:"~ wrap","w-full":""},mt=["onClick"],yt={border:"b base",flex:"~ gap2","items-center":"",px4:"",py2:""},gt={key:1,"text-xs":"",op50:""},_t=K({__name:"ServerTaskDetails",props:{task:{}},emits:["openDefaultInput"],setup(E,{emit:U}){const N=E,R=U,T=F({payload:{}}),{inputDefaults:D}=ue("serverRoutes"),[b,d]=ke(),_=Oe(),o=Te(),v=ie({contentType:"text/plain",data:"",statusCode:200,error:void 0,fetchTime:0}),y=L(()=>JSON.stringify(v.data,null,2)),t=L(()=>v.contentType.includes("application/json")?"json":"text"),e=F(!1),a=F(!1),r=Se(),n=F(),u=["json"],i=F(u[0]),s=ie({query:[{active:!0,key:"",value:"",type:"string"}],body:[{active:!0,key:"",value:"",type:"string"}],headers:[]}),f=L({get:()=>s[n.value],set:x=>{s[n.value]=x}}),l=L(()=>({...S(D.value.query),...S(s.query)})),h=L(()=>({...S(D.value.headers)})),p=L(()=>Object.keys(T.value?.payload??{}).length?{...T.value}:void 0),$=L(()=>p.value?"POST":"GET"),C=L(()=>{let x=window?.location.origin;return x.charAt(x.length-1)==="/"&&(x=x.slice(0,-1)),x}),B=L(()=>{let x=new URLSearchParams(l.value).toString();x&&(x=`?${x}`);const c=`/_nitro/tasks/${N.task.name}${x}`;let X=o.value?.app.baseURL||"";return(X==="./"||X===".")&&(X=""),X.endsWith("/")&&(X=X.slice(0,-1)),X+c}),V=L(()=>C.value+B.value);function S(x=[]){const c=Object.fromEntries(x.filter(({active:X,key:q,value:J})=>X&&q&&J!==void 0).map(({key:X,value:q})=>[X,q]));return Object.entries(c).length?c:void 0}async function Y(){a.value=!0,e.value=!0;const x=Date.now();Ie("server-tasks:run",{method:$.value});try{v.data=await $fetch(V.value,{method:"POST",headers:h.value,query:l.value,body:p.value,onResponse({response:c}){v.contentType=(c.headers.get("content-type")||"").toString().toLowerCase().trim(),v.statusCode=c.status,v.error=void 0},onResponseError(c){v.error=c.response._data,v.data=c.response._data}})}catch{}e.value=!1,v.fetchTime=Date.now()-x}const me=L(()=>{const x=[];return x.push({name:"Query",slug:"query",length:s.query.length}),x.push({name:"Body",slug:"body",length:s.body.length}),x});je(()=>{if(i.value==="json"&&typeof T.value=="string")try{T.value=JSON.parse(T.value)}catch{}});const oe=we("nuxt-devtools:server-tasks:inputs",()=>[],{window:window.parent});Xe([s,n],()=>{const x=oe.value?.find(c=>c.task===N.task.name);if(x){n.value||(n.value=x.tab),x.tab!==n.value&&(x.tab=n.value);const{body:c,query:X,headers:q}=x.inputs;Object.assign(s,{body:c,query:X,headers:q})}else{const c={task:N.task.name,tab:"query",inputs:s};oe.value.push(c),n.value||(n.value=c.tab)}},{immediate:!0,deep:!0,debounce:500});const ye=Ee();return(x,c)=>{const X=le,q=Ce,J=re,ae=pe,ge=ce,_e=Me,ee=fe,be=qe,Q=de("tooltip");return g(),I("div",it,[m("div",st,[m("div",ut,[G((g(),I("div",null,[k(X,{class:z(["n-badge-base n-sm",w(De)($.value)]),"pointer-events-none":"","font-mono":"",tabindex:"-1"},{default:M(()=>[P(A($.value),1)]),_:1},8,["class"])])),[[Q,`Method is ${$.value} as ${$.value==="GET"?"no":""} json body is sent`]]),m("div",lt,[k(q,{"model-value":B.value,readonly:"","flex-auto":"","font-mono":"",p:"x5 y2",n:"sm"},null,8,["model-value"]),m("div",ct,[G(k(X,{title:"Copy URL",n:"xs blue",icon:"carbon:copy",border:!1,onClick:c[0]||(c[0]=O=>w(ye)(V.value,"server-task-url"))},null,512),[[Q,"Copy URL"]]),G(k(X,{title:"Open in Editor",icon:"carbon-launch",n:"xs blue",border:!1,onClick:c[1]||(c[1]=O=>w(r)(E.task.handler))},null,512),[[Q,"Open in Editor"]])])]),k(X,{"h-full":"",n:"primary solid",onClick:Y},{default:M(()=>[k(J,{icon:"carbon:send"})]),_:1})])]),m("div",ft,[(g(!0),I(W,null,Z(me.value,O=>G((g(),j(X,{key:O.slug,class:z(n.value===O.slug?"text-primary n-primary":"border-transparent shadow-none"),onClick:xe=>n.value=O.slug},{default:M(()=>[k(J,{icon:w(ve)[O.slug]},null,8,["icon"]),m("div",dt,[P(A(O.name)+" "+A(O?.length?`(${O.length})`:"")+" ",1),m("span",null,A(w(D)[O.slug]?.length?`(${w(D)[O.slug].length})`:""),1)])]),_:2},1032,["class","onClick"])),[[Q,O.name]])),128))]),k(w(b),null,{default:M(()=>[k(ae,{modelValue:f.value,"onUpdate:modelValue":c[4]||(c[4]=O=>f.value=O),default:{active:!0,type:"string"},"max-h-xs":"","of-auto":""},{default:M(()=>[w(D)[n.value]?.length?(g(),I(W,{key:0},[m("div",pt,[c[6]||(c[6]=m("div",{"w-5":"","x-divider":""},null,-1)),c[7]||(c[7]=m("div",{"flex-none":""}," Default Inputs ",-1)),k(X,{icon:"i-carbon-edit",border:!1,onClick:c[2]||(c[2]=O=>R("openDefaultInput"))}),c[8]||(c[8]=m("div",{"x-divider":""},null,-1))]),k(ae,{modelValue:w(D)[n.value],"onUpdate:modelValue":c[3]||(c[3]=O=>w(D)[n.value]=O),disabled:"",p0:""},null,8,["modelValue"])],64)):H("",!0)]),_:1},8,["modelValue"])]),_:1}),f.value?(g(),I("div",vt,[n.value==="body"?(g(),I(W,{key:0},[m("div",ht,[(g(),I(W,null,Z(u,O=>m("button",{key:O,px4:"",py2:"",border:"r base",hover:"bg-active",class:z({"border-b":O!==i.value}),onClick:xe=>i.value=O},[m("div",{class:z({op30:O!==i.value}),"font-mono":""},A(O),3)],10,mt)),64)),c[9]||(c[9]=m("div",{border:"b base","flex-auto":""},null,-1))]),i.value==="input"?(g(),j(w(d),{key:0})):i.value==="json"?(g(),j(w(He),Ve({key:1,modelValue:T.value,"onUpdate:modelValue":c[5]||(c[5]=O=>T.value=O),class:[w(_)==="dark"?"jse-theme-dark":"light","json-editor-vue of-auto text-sm outline-none"]},x.$attrs,{mode:"text","navigation-bar":!1,indentation:2,"tab-size":2}),null,16,["modelValue","class"])):H("",!0)],64)):(g(),j(w(d),{key:1}))])):H("",!0),a.value?e.value?(g(),j(_e,{key:2,"z-10":"","flex-auto":"","backdrop-blur":""},{default:M(()=>[...c[11]||(c[11]=[P(" Running... ",-1)])]),_:1})):(g(),I(W,{key:3},[m("div",yt,[c[13]||(c[13]=m("div",null,"Result",-1)),v.error?(g(),j(ee,{key:0,n:"red"},{default:M(()=>[...c[12]||(c[12]=[P(" Error ",-1)])]),_:1})):H("",!0),k(ee,{n:v.error?"orange":"green",textContent:A(v.statusCode)},null,8,["n","textContent"]),v.contentType?(g(),I("code",gt,A(v.contentType),1)):H("",!0),c[14]||(c[14]=m("div",{"flex-auto":""},null,-1)),c[15]||(c[15]=m("div",{op50:""}," Tasks finished in ",-1)),k(ee,{n:"green"},{default:M(()=>[P(A(v.fetchTime)+" ms ",1)]),_:1})]),k(be,{"flex-auto":"","overflow-auto":"","py-2":"",code:y.value,lang:t.value},null,8,["code","lang"])],64)):(g(),j(ge,{key:1},{default:M(()=>[k(X,{n:"primary",onClick:Y},{default:M(()=>[k(J,{icon:"carbon:send"}),c[10]||(c[10]=P(" Run task ",-1))]),_:1})]),_:1}))])}}}),bt=Object.assign(_t,{__name:"ServerTaskDetails"}),xt={"flex-none":"","text-left":""},kt={flex:"","items-center":"","text-sm":"","font-mono":""},Ot=K({__name:"ServerTaskListItem",props:{item:{},index:{default:0}},setup(E){const U=F(!0),N=ne();return(R,T)=>{const D=re,b=he;return g(),I("div",null,[m("button",{flex:"~ gap-2","w-full":"","items-start":"","items-center":"",px2:"",py1:"","hover-bg-active":"",class:z([{"bg-active":w(N)===E.item.name}]),style:Be({paddingLeft:`calc(0.5rem + ${E.index*1.5}em)`}),onClick:T[0]||(T[0]=d=>{U.value=!U.value,N.value=E.item.name})},[m("div",xt,[E.item.type==="collection"?(g(),j(D,{key:0,icon:"carbon:chevron-right","mb0.5":"","transform-rotate":U.value?90:0,transition:""},null,8,["transform-rotate"])):H("",!0)]),m("span",kt,[E.item.type==="collection"?(g(),j(D,{key:0,title:`${E.item.tasks?.length} tasks`,icon:"carbon:folder",mr1:""},null,8,["title"])):(g(),j(D,{key:1,icon:"carbon:play",ml3:"",mr1:""})),P(" "+A(E.item.name),1)])],6),T[1]||(T[1]=m("div",{"x-divider":""},null,-1)),U.value?We(R.$slots,"default",{key:0},()=>[(g(!0),I(W,null,Z(E.item.tasks,d=>(g(),j(b,{key:d.name,item:d,index:E.index+1},null,8,["item","index"]))),128))]):H("",!0)])}}}),he=Object.assign(Ot,{__name:"ServerTaskListItem"}),Tt={flex:"~ gap1","text-sm":""},St={key:0,op50:""},wt={op50:""},Wt=K({__name:"server-tasks",setup(E){const U=F(!1),N=$e(),R=L(()=>Object.keys(N.value?.tasks??{}).map(r=>({name:r,...N.value.tasks[r],type:"task"}))),T=L(()=>Object.entries(N.value?.scheduledTasks??{}).map(([r,n])=>({cron:r,tasks:n}))),D=ne(),{view:b,selectedTask:d,inputDefaults:_}=ue("serverTasks"),o=L(()=>{!D.value&&d.value&&(D.value=d.value.name);const r=R.value.find(n=>n.name===D.value);return D.value!==d.value?.name&&r&&(d.value=r),r}),v=F(""),y=L(()=>new Le(R.value,{keys:["key","description"],shouldSort:!0})),t=L(()=>v.value?y.value.search(v.value).map(n=>n.item):R.value),e=L(()=>{const r=[],n=(i,s)=>{i.tasks||=[],i.tasks.push(s)},u=(i,s)=>{const f=s?s.tasks?.find(h=>h.name===i):r.find(h=>h.name===i);if(f)return{...f,type:"collection"};const l={name:i,handler:i,description:"",type:"collection",tasks:[]};return s?n(s,l):r.push(l),l};return t.value.forEach(i=>{let s;const f={...i,type:"task"},h=i.name.split(":").concat();h.length>0&&h[h.length-1]?.includes(".")&&h.pop(),h.forEach(p=>{s=u(p,s)}),s?n(s,f):r.push(f)}),r});function a(){b.value=b.value==="tree"?"list":"tree"}return(r,n)=>{const u=le,i=Ne,s=at,f=Ue,l=bt,h=Re,p=ce,$=pe,C=Pe,B=Ye,V=de("tooltip");return g(),I(W,null,[k(f,{"storage-key":"tab-server-tasks"},{left:M(()=>[k(f,{horizontal:"","storage-key":"tab-server-tasks-split"},{left:M(()=>[k(i,{search:v.value,"onUpdate:search":n[1]||(n[1]=S=>v.value=S),pb2:""},{actions:M(()=>[G(k(u,{"text-lg":"",icon:w(b)==="list"?"i-carbon-list":"i-carbon-tree-view-alt",title:"Toggle view",border:!1,onClick:a},null,8,["icon"]),[[V,"Toggle View"]]),G(k(u,{"text-lg":"",icon:"i-carbon-cics-sit-overrides",title:"Default Inputs",border:!1,onClick:n[0]||(n[0]=S=>U.value=!U.value)},null,512),[[V,"Default Inputs"]])]),default:M(()=>[m("div",Tt,[v.value?(g(),I("span",St,A(t.value.length)+" matched · ",1)):H("",!0),m("span",wt,A(R.value?.length)+" tasks in total",1)])]),_:1},8,["search"]),(g(!0),I(W,null,Z(w(b)==="tree"?e.value:t.value,S=>(g(),j(he,{key:S.name,item:S},null,8,["item"]))),128))]),right:M(()=>[n[6]||(n[6]=m("div",{px4:"",py2:"",border:"b base"}," Cron groups ",-1)),m("div",null,[m("ul",null,[(g(!0),I(W,null,Z(T.value,S=>(g(),I("li",{key:S.cron},[k(s,{collection:S},null,8,["collection"])]))),128))])])]),_:1})]),right:M(()=>[(g(),j(Fe,{max:10},[o.value?(g(),j(l,{key:o.value.name,task:o.value,onOpenDefaultInput:n[2]||(n[2]=S=>U.value=!0)},null,8,["task"])):H("",!0)],1024)),o.value?H("",!0):(g(),j(p,{key:0},{default:M(()=>[k(h,{px6:"",py2:""},{default:M(()=>[...n[7]||(n[7]=[m("span",{op75:""},"Select a task to start",-1)])]),_:1})]),_:1}))]),_:1}),k(B,{modelValue:U.value,"onUpdate:modelValue":n[4]||(n[4]=S=>U.value=S),"auto-close":"","max-w-xl":"","min-w-xl":"",onClose:n[5]||(n[5]=S=>U.value=!1)},{default:M(()=>[m("div",null,[n[8]||(n[8]=m("div",{p4:"",border:"b base"},[m("span",{"text-lg":""},"Default Inputs"),m("br"),m("span",{"text-white":"",op50:""},"Merged as default for every task in DevTools")],-1)),k(C,{text:`Query ${w(_).query?.length?`(${w(_).query.length})`:""}`,padding:!1,icon:w(ve).query},{default:M(()=>[k($,{modelValue:w(_).query,"onUpdate:modelValue":n[3]||(n[3]=S=>w(_).query=S),py0:"",default:{active:!0,type:"string"}},null,8,["modelValue"])]),_:1},8,["text","icon"])])]),_:1},8,["modelValue"])],64)}}});export{Wt as default};