@kb-labs/workflow-entry 2.105.0 → 2.106.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/widgets/117.js +1 -2
  2. package/dist/widgets/165.js +1 -2
  3. package/dist/widgets/326.js +1 -2
  4. package/dist/widgets/370.js +1 -2
  5. package/dist/widgets/405.js +1 -2
  6. package/dist/widgets/46.js +1 -2
  7. package/dist/widgets/50.js +1 -2
  8. package/dist/widgets/546.js +1 -2
  9. package/dist/widgets/62.js +1 -2
  10. package/dist/widgets/648.js +1 -2
  11. package/dist/widgets/669.js +1 -2
  12. package/dist/widgets/707.js +1 -2
  13. package/dist/widgets/716.js +1 -2
  14. package/dist/widgets/733.js +1 -2
  15. package/dist/widgets/775.js +1 -2
  16. package/dist/widgets/78.js +1 -2
  17. package/dist/widgets/945.js +1 -2
  18. package/dist/widgets/968.js +1 -2
  19. package/dist/widgets/__federation_expose_Crons.js +1 -2
  20. package/dist/widgets/__federation_expose_Dashboard.js +1 -2
  21. package/dist/widgets/__federation_expose_DefinitionDetail.js +1 -2
  22. package/dist/widgets/__federation_expose_Definitions.js +1 -2
  23. package/dist/widgets/__federation_expose_Jobs.js +1 -2
  24. package/dist/widgets/__federation_expose_RunDetail.js +2 -3
  25. package/dist/widgets/__federation_expose_Runs.js +1 -2
  26. package/dist/widgets/mf-manifest.json +5 -5
  27. package/dist/widgets/mf-stats.json +10 -9
  28. package/dist/widgets/remoteEntry.js +2 -3
  29. package/package.json +5 -5
  30. package/dist/widgets/117.js.map +0 -1
  31. package/dist/widgets/165.js.map +0 -1
  32. package/dist/widgets/326.js.map +0 -1
  33. package/dist/widgets/370.js.map +0 -1
  34. package/dist/widgets/405.js.map +0 -1
  35. package/dist/widgets/46.js.map +0 -1
  36. package/dist/widgets/50.js.map +0 -1
  37. package/dist/widgets/546.js.map +0 -1
  38. package/dist/widgets/62.js.map +0 -1
  39. package/dist/widgets/648.js.map +0 -1
  40. package/dist/widgets/669.js.map +0 -1
  41. package/dist/widgets/707.js.map +0 -1
  42. package/dist/widgets/716.js.map +0 -1
  43. package/dist/widgets/733.js.map +0 -1
  44. package/dist/widgets/775.js.map +0 -1
  45. package/dist/widgets/78.js.map +0 -1
  46. package/dist/widgets/945.js.map +0 -1
  47. package/dist/widgets/968.js.map +0 -1
  48. package/dist/widgets/__federation_expose_Crons.js.map +0 -1
  49. package/dist/widgets/__federation_expose_Dashboard.js.map +0 -1
  50. package/dist/widgets/__federation_expose_DefinitionDetail.js.map +0 -1
  51. package/dist/widgets/__federation_expose_Definitions.js.map +0 -1
  52. package/dist/widgets/__federation_expose_Jobs.js.map +0 -1
  53. package/dist/widgets/__federation_expose_RunDetail.js.map +0 -1
  54. package/dist/widgets/__federation_expose_Runs.js.map +0 -1
  55. package/dist/widgets/remoteEntry.js.map +0 -1
@@ -1,2 +1 @@
1
- (self.rspackChunk_kb_labs_workflow_entry=self.rspackChunk_kb_labs_workflow_entry||[]).push([[648],{6911(t){t.exports=function(){"use strict";var t="millisecond",r="second",e="minute",n="hour",o="week",i="month",u="quarter",a="year",c="date",s="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,l=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y=function(t,r,e){var n=String(t);return!n||n.length>=r?t:""+Array(r+1-n.length).join(e)+t},h="en",d={};d[h]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var r=["th","st","nd","rd"],e=t%100;return"["+t+(r[(e-20)%10]||r[e]||r[0])+"]"}};var p="$isDayjsObject",v=function(t){return t instanceof O||!(!t||!t[p])},b=function t(r,e,n){var o;if(!r)return h;if("string"==typeof r){var i=r.toLowerCase();d[i]&&(o=i),e&&(d[i]=e,o=i);var u=r.split("-");if(!o&&u.length>1)return t(u[0])}else{var a=r.name;d[a]=r,o=a}return!n&&o&&(h=o),o||!n&&h},m=function(t,r){if(v(t))return t.clone();var e="object"==typeof r?r:{};return e.date=t,e.args=arguments,new O(e)},$={s:y,z:function(t){var r=-t.utcOffset(),e=Math.abs(r);return(r<=0?"+":"-")+y(Math.floor(e/60),2,"0")+":"+y(e%60,2,"0")},m:function t(r,e){if(r.date()<e.date())return-t(e,r);var n=12*(e.year()-r.year())+(e.month()-r.month()),o=r.clone().add(n,i),u=e-o<0,a=r.clone().add(n+(u?-1:1),i);return+(-(n+(e-o)/(u?o-a:a-o))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(s){return({M:i,y:a,w:o,d:"day",D:c,h:n,m:e,s:r,ms:t,Q:u})[s]||String(s||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};$.l=b,$.i=v,$.w=function(t,r){return m(t,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var O=function(){function y(t){this.$L=b(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var h=y.prototype;return h.parse=function(t){this.$d=function(t){var r=t.date,e=t.utc;if(null===r)return new Date(NaN);if($.u(r))return new Date;if(r instanceof Date)return new Date(r);if("string"==typeof r&&!/Z$/i.test(r)){var n=r.match(f);if(n){var o=n[2]-1||0,i=(n[7]||"0").substring(0,3);return e?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(r)}(t),this.init()},h.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},h.$utils=function(){return $},h.isValid=function(){return this.$d.toString()!==s},h.isSame=function(t,r){var e=m(t);return this.startOf(r)<=e&&e<=this.endOf(r)},h.isAfter=function(t,r){return m(t)<this.startOf(r)},h.isBefore=function(t,r){return this.endOf(r)<m(t)},h.$g=function(t,r,e){return $.u(t)?this[r]:this.set(e,t)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(t,u){var s=this,f=!!$.u(u)||u,l=$.p(t),y=function(t,r){var e=$.w(s.$u?Date.UTC(s.$y,r,t):new Date(s.$y,r,t),s);return f?e:e.endOf("day")},h=function(t,r){return $.w(s.toDate()[t].apply(s.toDate("s"),(f?[0,0,0,0]:[23,59,59,999]).slice(r)),s)},d=this.$W,p=this.$M,v=this.$D,b="set"+(this.$u?"UTC":"");switch(l){case a:return f?y(1,0):y(31,11);case i:return f?y(1,p):y(0,p+1);case o:var m=this.$locale().weekStart||0,O=(d<m?d+7:d)-m;return y(f?v-O:v+(6-O),p);case"day":case c:return h(b+"Hours",0);case n:return h(b+"Minutes",1);case e:return h(b+"Seconds",2);case r:return h(b+"Milliseconds",3);default:return this.clone()}},h.endOf=function(t){return this.startOf(t,!1)},h.$set=function(o,u){var s,f=$.p(o),l="set"+(this.$u?"UTC":""),y=((s={}).day=l+"Date",s[c]=l+"Date",s[i]=l+"Month",s[a]=l+"FullYear",s[n]=l+"Hours",s[e]=l+"Minutes",s[r]=l+"Seconds",s[t]=l+"Milliseconds",s)[f],h="day"===f?this.$D+(u-this.$W):u;if(f===i||f===a){var d=this.clone().set(c,1);d.$d[y](h),d.init(),this.$d=d.set(c,Math.min(this.$D,d.daysInMonth())).$d}else y&&this.$d[y](h);return this.init(),this},h.set=function(t,r){return this.clone().$set(t,r)},h.get=function(t){return this[$.p(t)]()},h.add=function(t,u){var c,s=this;t=Number(t);var f=$.p(u),l=function(r){var e=m(s);return $.w(e.date(e.date()+Math.round(r*t)),s)};if(f===i)return this.set(i,this.$M+t);if(f===a)return this.set(a,this.$y+t);if("day"===f)return l(1);if(f===o)return l(7);var y=((c={})[e]=6e4,c[n]=36e5,c[r]=1e3,c)[f]||1,h=this.$d.getTime()+t*y;return $.w(h,this)},h.subtract=function(t,r){return this.add(-1*t,r)},h.format=function(t){var r=this,e=this.$locale();if(!this.isValid())return e.invalidDate||s;var n=t||"YYYY-MM-DDTHH:mm:ssZ",o=$.z(this),i=this.$H,u=this.$m,a=this.$M,c=e.weekdays,f=e.months,y=e.meridiem,h=function(t,e,o,i){return t&&(t[e]||t(r,n))||o[e].slice(0,i)},d=function(t){return $.s(i%12||12,t,"0")},p=y||function(t,r,e){var n=t<12?"AM":"PM";return e?n.toLowerCase():n};return n.replace(l,function(t,n){return n||function(t){switch(t){case"YY":return String(r.$y).slice(-2);case"YYYY":return $.s(r.$y,4,"0");case"M":return a+1;case"MM":return $.s(a+1,2,"0");case"MMM":return h(e.monthsShort,a,f,3);case"MMMM":return h(f,a);case"D":return r.$D;case"DD":return $.s(r.$D,2,"0");case"d":return String(r.$W);case"dd":return h(e.weekdaysMin,r.$W,c,2);case"ddd":return h(e.weekdaysShort,r.$W,c,3);case"dddd":return c[r.$W];case"H":return String(i);case"HH":return $.s(i,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return p(i,u,!0);case"A":return p(i,u,!1);case"m":return String(u);case"mm":return $.s(u,2,"0");case"s":return String(r.$s);case"ss":return $.s(r.$s,2,"0");case"SSS":return $.s(r.$ms,3,"0");case"Z":return o}return null}(t)||o.replace(":","")})},h.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},h.diff=function(t,c,s){var f,l=this,y=$.p(c),h=m(t),d=(h.utcOffset()-this.utcOffset())*6e4,p=this-h,v=function(){return $.m(l,h)};switch(y){case a:f=v()/12;break;case i:f=v();break;case u:f=v()/3;break;case o:f=(p-d)/6048e5;break;case"day":f=(p-d)/864e5;break;case n:f=p/36e5;break;case e:f=p/6e4;break;case r:f=p/1e3;break;default:f=p}return s?f:$.a(f)},h.daysInMonth=function(){return this.endOf(i).$D},h.$locale=function(){return d[this.$L]},h.locale=function(t,r){if(!t)return this.$L;var e=this.clone(),n=b(t,r,!0);return n&&(e.$L=n),e},h.clone=function(){return $.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},y}(),g=O.prototype;return m.prototype=g,[["$ms",t],["$s",r],["$m",e],["$H",n],["$W","day"],["$M",i],["$y",a],["$D",c]].forEach(function(t){g[t[1]]=function(r){return this.$g(r,t[0],t[1])}}),m.extend=function(t,r){return t.$i||(t(r,O,m),t.$i=!0),m},m.locale=b,m.isDayjs=v,m.unix=function(t){return m(1e3*t)},m.en=d[h],m.Ls=d,m.p={},m}()},3178(t,r,e){"use strict";function n(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}e.d(r,{A:()=>n})},4930(t,r,e){"use strict";function n(t){if(Array.isArray(t))return t}e.d(r,{A:()=>n})},8172(t,r,e){"use strict";function n(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}e.d(r,{A:()=>n})},6220(t,r,e){"use strict";function n(t,r,e,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void e(t)}a.done?r(c):Promise.resolve(c).then(n,o)}function o(t){return function(){var r=this,e=arguments;return new Promise(function(o,i){var u=t.apply(r,e);function a(t){n(u,o,i,a,c,"next",t)}function c(t){n(u,o,i,a,c,"throw",t)}a(void 0)})}}e.d(r,{A:()=>o})},7527(t,r,e){"use strict";var n=e(3593),o=e(4151),i=e(611);function u(t,r,e){return r=(0,n.A)(r),(0,i.A)(t,(0,o.A)()?Reflect.construct(r,e||[],(0,n.A)(t).constructor):r.apply(t,e))}e.d(r,{A:()=>u})},1194(t,r,e){"use strict";function n(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")}e.d(r,{A:()=>n})},1580(t,r,e){"use strict";var n=e(5605);function o(t,r){for(var e=0;e<r.length;e++){var o=r[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(0,n.A)(o.key),o)}}function i(t,r,e){return r&&o(t.prototype,r),e&&o(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}e.d(r,{A:()=>i})},4828(t,r,e){"use strict";var n=e(3891);function o(t,r){var e="u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=(0,n.A)(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return a=t.done,t},e:function(t){c=!0,u=t},f:function(){try{a||null==e.return||e.return()}finally{if(c)throw u}}}}e.d(r,{A:()=>o})},3268(t,r,e){"use strict";var n=e(5605);function o(t,r,e){return(r=(0,n.A)(r))in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}e.d(r,{A:()=>o})},3593(t,r,e){"use strict";function n(t){return(n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}e.d(r,{A:()=>n})},3834(t,r,e){"use strict";var n=e(3413);function o(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&(0,n.A)(t,r)}e.d(r,{A:()=>o})},4151(t,r,e){"use strict";function n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!t})()}e.d(r,{A:()=>n})},380(t,r,e){"use strict";function n(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}e.d(r,{A:()=>n})},1059(t,r,e){"use strict";function n(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.d(r,{A:()=>n})},5314(t,r,e){"use strict";var n=e(3268);function o(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),e.push.apply(e,n)}return e}function i(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?o(Object(e),!0).forEach(function(r){(0,n.A)(t,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):o(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))})}return t}e.d(r,{A:()=>i})},9631(t,r,e){"use strict";function n(t,r){if(null==t)return{};var e,n,o=function(t,r){if(null==t)return{};var e={};for(var n in t)if(({}).hasOwnProperty.call(t,n)){if(-1!==r.indexOf(n))continue;e[n]=t[n]}return e}(t,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)e=i[n],-1===r.indexOf(e)&&({}).propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}e.d(r,{A:()=>n})},611(t,r,e){"use strict";var n=e(8143),o=e(8172);function i(t,r){if(r&&("object"==(0,n.A)(r)||"function"==typeof r))return r;if(void 0!==r)throw TypeError("Derived constructors may only return object or undefined");return(0,o.A)(t)}e.d(r,{A:()=>i})},1855(t,r,e){"use strict";function n(t,r){this.v=t,this.k=r}function o(t,r,e,n){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}(o=function(t,r,e,n){function u(r,e){o(t,r,function(t){return this._invoke(r,e,t)})}r?i?i(t,r,{value:e,enumerable:!n,configurable:!n,writable:!n}):t[r]=e:(u("next",0),u("throw",1),u("return",2))})(t,r,e,n)}function i(){var t,r,e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",u=e.toStringTag||"@@toStringTag";function a(e,n,i,u){var a=Object.create((n&&n.prototype instanceof s?n:s).prototype);return o(a,"_invoke",function(e,n,o){var i,u,a,s=0,f=o||[],l=!1,y={p:0,n:0,v:t,a:h,f:h.bind(t,4),d:function(r,e){return i=r,u=0,a=t,y.n=e,c}};function h(e,n){for(u=e,a=n,r=0;!l&&s&&!o&&r<f.length;r++){var o,i=f[r],h=y.p,d=i[2];e>3?(o=d===n)&&(a=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=h&&((o=e<2&&h<i[1])?(u=0,y.v=n,y.n=i[1]):h<d&&(o=e<3||i[0]>n||n>d)&&(i[4]=e,i[5]=n,y.n=d,u=0))}if(o||e>1)return c;throw l=!0,n}return function(o,f,d){if(s>1)throw TypeError("Generator is already running");for(l&&1===f&&h(f,d),u=f,a=d;(r=u<2?t:a)||!l;){i||(u?u<3?(u>1&&(y.n=-1),h(u,a)):y.n=a:y.v=a);try{if(s=2,i){if(u||(o="next"),r=i[o]){if(!(r=r.call(i,a)))throw TypeError("iterator result is not an object");if(!r.done)return r;a=r.value,u<2&&(u=0)}else 1===u&&(r=i.return)&&r.call(i),u<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=t}else if((r=(l=y.n<0)?a:e.call(n,y))!==c)break}catch(r){i=t,u=1,a=r}finally{s=1}}return{value:r,done:l}}}(e,i,u),!0),a}var c={};function s(){}function f(){}function l(){}r=Object.getPrototypeOf;var y=l.prototype=s.prototype=Object.create([][n]?r(r([][n]())):(o(r={},n,function(){return this}),r));function h(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,o(t,u,"GeneratorFunction")),t.prototype=Object.create(y),t}return f.prototype=l,o(y,"constructor",l),o(l,"constructor",f),f.displayName="GeneratorFunction",o(l,u,"GeneratorFunction"),o(y),o(y,u,"Generator"),o(y,n,function(){return this}),o(y,"toString",function(){return"[object Generator]"}),(i=function(){return{w:a,m:h}})()}function u(t,r){var e;this.next||(o(u.prototype),o(u.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),o(this,"_invoke",function(o,i,u){function a(){return new r(function(e,i){!function e(o,i,u,a){try{var c=t[o](i),s=c.value;return s instanceof n?r.resolve(s.v).then(function(t){e("next",t,u,a)},function(t){e("throw",t,u,a)}):r.resolve(s).then(function(t){c.value=t,u(c)},function(t){return e("throw",t,u,a)})}catch(t){a(t)}}(o,u,e,i)})}return e=e?e.then(a,a):a()},!0)}function a(t,r,e,n,o){return new u(i().w(t,r,e,n),o||Promise)}function c(t){var r=Object(t),e=[];for(var n in r)e.unshift(n);return function t(){for(;e.length;)if((n=e.pop())in r)return t.value=n,t.done=!1,t;return t.done=!0,t}}e.d(r,{A:()=>l});var s=e(8143);function f(t){if(null!=t){var r=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],e=0;if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}}}throw TypeError((0,s.A)(t)+" is not iterable")}function l(){var t=i(),r=t.m(l),e=(Object.getPrototypeOf?Object.getPrototypeOf(r):r.__proto__).constructor;function o(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===e||"GeneratorFunction"===(r.displayName||r.name))}var s={throw:1,return:2,break:3,continue:3};function y(t){var r,e;return function(n){r||(r={stop:function(){return e(n.a,2)},catch:function(){return n.v},abrupt:function(t,r){return e(n.a,s[t],r)},delegateYield:function(t,o,i){return r.resultName=o,e(n.d,f(t),i)},finish:function(t){return e(n.f,t)}},e=function(t,e,o){n.p=r.prev,n.n=r.next;try{return t(e,o)}finally{r.next=n.n}}),r.resultName&&(r[r.resultName]=n.v,r.resultName=void 0),r.sent=n.v,r.next=n.n;try{return t.call(this,r)}finally{n.p=r.prev,n.n=r.next}}}return(l=function(){return{wrap:function(r,e,n,o){return t.w(y(r),e,n,o&&o.reverse())},isGeneratorFunction:o,mark:t.m,awrap:function(t,r){return new n(t,r)},AsyncIterator:u,async:function(t,r,e,n,i){return(o(r)?a:function(t,r,e,n,o){var i=a(t,r,e,n,o);return i.next().then(function(t){return t.done?t.value:i.next()})})(y(t),r,e,n,i)},keys:c,values:f}})()}},3413(t,r,e){"use strict";function n(t,r){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t})(t,r)}e.d(r,{A:()=>n})},1095(t,r,e){"use strict";e.d(r,{A:()=>u});var n=e(4930),o=e(3891),i=e(1059);function u(t,r){return(0,n.A)(t)||function(t,r){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,o,i,u,a=[],c=!0,s=!1;try{if(i=(e=e.call(t)).next,0===r){if(Object(e)!==e)return;c=!1}else for(;!(c=(n=i.call(e)).done)&&(a.push(n.value),a.length!==r);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=e.return&&(u=e.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}(t,r)||(0,o.A)(t,r)||(0,i.A)()}},1782(t,r,e){"use strict";e.d(r,{A:()=>u});var n=e(3178),o=e(380),i=e(3891);function u(t){return function(t){if(Array.isArray(t))return(0,n.A)(t)}(t)||(0,o.A)(t)||(0,i.A)(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},5605(t,r,e){"use strict";e.d(r,{A:()=>o});var n=e(8143);function o(t){var r=function(t,r){if("object"!=(0,n.A)(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var o=e.call(t,r||"default");if("object"!=(0,n.A)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==(0,n.A)(r)?r:r+""}},8143(t,r,e){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}e.d(r,{A:()=>n})},3891(t,r,e){"use strict";var n=e(3178);function o(t,r){if(t){if("string"==typeof t)return(0,n.A)(t,r);var e=({}).toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?(0,n.A)(t,r):void 0}}e.d(r,{A:()=>o})}}]);
2
- //# sourceMappingURL=648.js.map
1
+ (self.rspackChunk_kb_labs_workflow_entry=self.rspackChunk_kb_labs_workflow_entry||[]).push([[648],{6911(t){t.exports=function(){"use strict";var t="millisecond",r="second",e="minute",n="hour",o="week",i="month",u="quarter",a="year",c="date",s="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,l=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y=function(t,r,e){var n=String(t);return!n||n.length>=r?t:""+Array(r+1-n.length).join(e)+t},h="en",d={};d[h]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var r=["th","st","nd","rd"],e=t%100;return"["+t+(r[(e-20)%10]||r[e]||r[0])+"]"}};var p="$isDayjsObject",v=function(t){return t instanceof O||!(!t||!t[p])},b=function t(r,e,n){var o;if(!r)return h;if("string"==typeof r){var i=r.toLowerCase();d[i]&&(o=i),e&&(d[i]=e,o=i);var u=r.split("-");if(!o&&u.length>1)return t(u[0])}else{var a=r.name;d[a]=r,o=a}return!n&&o&&(h=o),o||!n&&h},m=function(t,r){if(v(t))return t.clone();var e="object"==typeof r?r:{};return e.date=t,e.args=arguments,new O(e)},$={s:y,z:function(t){var r=-t.utcOffset(),e=Math.abs(r);return(r<=0?"+":"-")+y(Math.floor(e/60),2,"0")+":"+y(e%60,2,"0")},m:function t(r,e){if(r.date()<e.date())return-t(e,r);var n=12*(e.year()-r.year())+(e.month()-r.month()),o=r.clone().add(n,i),u=e-o<0,a=r.clone().add(n+(u?-1:1),i);return+(-(n+(e-o)/(u?o-a:a-o))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(s){return({M:i,y:a,w:o,d:"day",D:c,h:n,m:e,s:r,ms:t,Q:u})[s]||String(s||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};$.l=b,$.i=v,$.w=function(t,r){return m(t,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var O=function(){function y(t){this.$L=b(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var h=y.prototype;return h.parse=function(t){this.$d=function(t){var r=t.date,e=t.utc;if(null===r)return new Date(NaN);if($.u(r))return new Date;if(r instanceof Date)return new Date(r);if("string"==typeof r&&!/Z$/i.test(r)){var n=r.match(f);if(n){var o=n[2]-1||0,i=(n[7]||"0").substring(0,3);return e?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(r)}(t),this.init()},h.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},h.$utils=function(){return $},h.isValid=function(){return this.$d.toString()!==s},h.isSame=function(t,r){var e=m(t);return this.startOf(r)<=e&&e<=this.endOf(r)},h.isAfter=function(t,r){return m(t)<this.startOf(r)},h.isBefore=function(t,r){return this.endOf(r)<m(t)},h.$g=function(t,r,e){return $.u(t)?this[r]:this.set(e,t)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(t,u){var s=this,f=!!$.u(u)||u,l=$.p(t),y=function(t,r){var e=$.w(s.$u?Date.UTC(s.$y,r,t):new Date(s.$y,r,t),s);return f?e:e.endOf("day")},h=function(t,r){return $.w(s.toDate()[t].apply(s.toDate("s"),(f?[0,0,0,0]:[23,59,59,999]).slice(r)),s)},d=this.$W,p=this.$M,v=this.$D,b="set"+(this.$u?"UTC":"");switch(l){case a:return f?y(1,0):y(31,11);case i:return f?y(1,p):y(0,p+1);case o:var m=this.$locale().weekStart||0,O=(d<m?d+7:d)-m;return y(f?v-O:v+(6-O),p);case"day":case c:return h(b+"Hours",0);case n:return h(b+"Minutes",1);case e:return h(b+"Seconds",2);case r:return h(b+"Milliseconds",3);default:return this.clone()}},h.endOf=function(t){return this.startOf(t,!1)},h.$set=function(o,u){var s,f=$.p(o),l="set"+(this.$u?"UTC":""),y=((s={}).day=l+"Date",s[c]=l+"Date",s[i]=l+"Month",s[a]=l+"FullYear",s[n]=l+"Hours",s[e]=l+"Minutes",s[r]=l+"Seconds",s[t]=l+"Milliseconds",s)[f],h="day"===f?this.$D+(u-this.$W):u;if(f===i||f===a){var d=this.clone().set(c,1);d.$d[y](h),d.init(),this.$d=d.set(c,Math.min(this.$D,d.daysInMonth())).$d}else y&&this.$d[y](h);return this.init(),this},h.set=function(t,r){return this.clone().$set(t,r)},h.get=function(t){return this[$.p(t)]()},h.add=function(t,u){var c,s=this;t=Number(t);var f=$.p(u),l=function(r){var e=m(s);return $.w(e.date(e.date()+Math.round(r*t)),s)};if(f===i)return this.set(i,this.$M+t);if(f===a)return this.set(a,this.$y+t);if("day"===f)return l(1);if(f===o)return l(7);var y=((c={})[e]=6e4,c[n]=36e5,c[r]=1e3,c)[f]||1,h=this.$d.getTime()+t*y;return $.w(h,this)},h.subtract=function(t,r){return this.add(-1*t,r)},h.format=function(t){var r=this,e=this.$locale();if(!this.isValid())return e.invalidDate||s;var n=t||"YYYY-MM-DDTHH:mm:ssZ",o=$.z(this),i=this.$H,u=this.$m,a=this.$M,c=e.weekdays,f=e.months,y=e.meridiem,h=function(t,e,o,i){return t&&(t[e]||t(r,n))||o[e].slice(0,i)},d=function(t){return $.s(i%12||12,t,"0")},p=y||function(t,r,e){var n=t<12?"AM":"PM";return e?n.toLowerCase():n};return n.replace(l,function(t,n){return n||function(t){switch(t){case"YY":return String(r.$y).slice(-2);case"YYYY":return $.s(r.$y,4,"0");case"M":return a+1;case"MM":return $.s(a+1,2,"0");case"MMM":return h(e.monthsShort,a,f,3);case"MMMM":return h(f,a);case"D":return r.$D;case"DD":return $.s(r.$D,2,"0");case"d":return String(r.$W);case"dd":return h(e.weekdaysMin,r.$W,c,2);case"ddd":return h(e.weekdaysShort,r.$W,c,3);case"dddd":return c[r.$W];case"H":return String(i);case"HH":return $.s(i,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return p(i,u,!0);case"A":return p(i,u,!1);case"m":return String(u);case"mm":return $.s(u,2,"0");case"s":return String(r.$s);case"ss":return $.s(r.$s,2,"0");case"SSS":return $.s(r.$ms,3,"0");case"Z":return o}return null}(t)||o.replace(":","")})},h.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},h.diff=function(t,c,s){var f,l=this,y=$.p(c),h=m(t),d=(h.utcOffset()-this.utcOffset())*6e4,p=this-h,v=function(){return $.m(l,h)};switch(y){case a:f=v()/12;break;case i:f=v();break;case u:f=v()/3;break;case o:f=(p-d)/6048e5;break;case"day":f=(p-d)/864e5;break;case n:f=p/36e5;break;case e:f=p/6e4;break;case r:f=p/1e3;break;default:f=p}return s?f:$.a(f)},h.daysInMonth=function(){return this.endOf(i).$D},h.$locale=function(){return d[this.$L]},h.locale=function(t,r){if(!t)return this.$L;var e=this.clone(),n=b(t,r,!0);return n&&(e.$L=n),e},h.clone=function(){return $.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},y}(),g=O.prototype;return m.prototype=g,[["$ms",t],["$s",r],["$m",e],["$H",n],["$W","day"],["$M",i],["$y",a],["$D",c]].forEach(function(t){g[t[1]]=function(r){return this.$g(r,t[0],t[1])}}),m.extend=function(t,r){return t.$i||(t(r,O,m),t.$i=!0),m},m.locale=b,m.isDayjs=v,m.unix=function(t){return m(1e3*t)},m.en=d[h],m.Ls=d,m.p={},m}()},3178(t,r,e){"use strict";function n(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}e.d(r,{A:()=>n})},4930(t,r,e){"use strict";function n(t){if(Array.isArray(t))return t}e.d(r,{A:()=>n})},8172(t,r,e){"use strict";function n(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}e.d(r,{A:()=>n})},6220(t,r,e){"use strict";function n(t,r,e,n,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void e(t)}a.done?r(c):Promise.resolve(c).then(n,o)}function o(t){return function(){var r=this,e=arguments;return new Promise(function(o,i){var u=t.apply(r,e);function a(t){n(u,o,i,a,c,"next",t)}function c(t){n(u,o,i,a,c,"throw",t)}a(void 0)})}}e.d(r,{A:()=>o})},7527(t,r,e){"use strict";var n=e(3593),o=e(4151),i=e(611);function u(t,r,e){return r=(0,n.A)(r),(0,i.A)(t,(0,o.A)()?Reflect.construct(r,e||[],(0,n.A)(t).constructor):r.apply(t,e))}e.d(r,{A:()=>u})},1194(t,r,e){"use strict";function n(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")}e.d(r,{A:()=>n})},1580(t,r,e){"use strict";var n=e(5605);function o(t,r){for(var e=0;e<r.length;e++){var o=r[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(0,n.A)(o.key),o)}}function i(t,r,e){return r&&o(t.prototype,r),e&&o(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}e.d(r,{A:()=>i})},4828(t,r,e){"use strict";var n=e(3891);function o(t,r){var e="u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=(0,n.A)(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return a=t.done,t},e:function(t){c=!0,u=t},f:function(){try{a||null==e.return||e.return()}finally{if(c)throw u}}}}e.d(r,{A:()=>o})},3268(t,r,e){"use strict";var n=e(5605);function o(t,r,e){return(r=(0,n.A)(r))in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}e.d(r,{A:()=>o})},3593(t,r,e){"use strict";function n(t){return(n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}e.d(r,{A:()=>n})},3834(t,r,e){"use strict";var n=e(3413);function o(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&(0,n.A)(t,r)}e.d(r,{A:()=>o})},4151(t,r,e){"use strict";function n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!t})()}e.d(r,{A:()=>n})},380(t,r,e){"use strict";function n(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}e.d(r,{A:()=>n})},1059(t,r,e){"use strict";function n(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.d(r,{A:()=>n})},5314(t,r,e){"use strict";var n=e(3268);function o(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),e.push.apply(e,n)}return e}function i(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?o(Object(e),!0).forEach(function(r){(0,n.A)(t,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):o(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))})}return t}e.d(r,{A:()=>i})},9631(t,r,e){"use strict";function n(t,r){if(null==t)return{};var e,n,o=function(t,r){if(null==t)return{};var e={};for(var n in t)if(({}).hasOwnProperty.call(t,n)){if(-1!==r.indexOf(n))continue;e[n]=t[n]}return e}(t,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)e=i[n],-1===r.indexOf(e)&&({}).propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}e.d(r,{A:()=>n})},611(t,r,e){"use strict";var n=e(8143),o=e(8172);function i(t,r){if(r&&("object"==(0,n.A)(r)||"function"==typeof r))return r;if(void 0!==r)throw TypeError("Derived constructors may only return object or undefined");return(0,o.A)(t)}e.d(r,{A:()=>i})},1855(t,r,e){"use strict";function n(t,r){this.v=t,this.k=r}function o(t,r,e,n){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}(o=function(t,r,e,n){function u(r,e){o(t,r,function(t){return this._invoke(r,e,t)})}r?i?i(t,r,{value:e,enumerable:!n,configurable:!n,writable:!n}):t[r]=e:(u("next",0),u("throw",1),u("return",2))})(t,r,e,n)}function i(){var t,r,e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",u=e.toStringTag||"@@toStringTag";function a(e,n,i,u){var a=Object.create((n&&n.prototype instanceof s?n:s).prototype);return o(a,"_invoke",function(e,n,o){var i,u,a,s=0,f=o||[],l=!1,y={p:0,n:0,v:t,a:h,f:h.bind(t,4),d:function(r,e){return i=r,u=0,a=t,y.n=e,c}};function h(e,n){for(u=e,a=n,r=0;!l&&s&&!o&&r<f.length;r++){var o,i=f[r],h=y.p,d=i[2];e>3?(o=d===n)&&(a=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=h&&((o=e<2&&h<i[1])?(u=0,y.v=n,y.n=i[1]):h<d&&(o=e<3||i[0]>n||n>d)&&(i[4]=e,i[5]=n,y.n=d,u=0))}if(o||e>1)return c;throw l=!0,n}return function(o,f,d){if(s>1)throw TypeError("Generator is already running");for(l&&1===f&&h(f,d),u=f,a=d;(r=u<2?t:a)||!l;){i||(u?u<3?(u>1&&(y.n=-1),h(u,a)):y.n=a:y.v=a);try{if(s=2,i){if(u||(o="next"),r=i[o]){if(!(r=r.call(i,a)))throw TypeError("iterator result is not an object");if(!r.done)return r;a=r.value,u<2&&(u=0)}else 1===u&&(r=i.return)&&r.call(i),u<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=t}else if((r=(l=y.n<0)?a:e.call(n,y))!==c)break}catch(r){i=t,u=1,a=r}finally{s=1}}return{value:r,done:l}}}(e,i,u),!0),a}var c={};function s(){}function f(){}function l(){}r=Object.getPrototypeOf;var y=l.prototype=s.prototype=Object.create([][n]?r(r([][n]())):(o(r={},n,function(){return this}),r));function h(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,o(t,u,"GeneratorFunction")),t.prototype=Object.create(y),t}return f.prototype=l,o(y,"constructor",l),o(l,"constructor",f),f.displayName="GeneratorFunction",o(l,u,"GeneratorFunction"),o(y),o(y,u,"Generator"),o(y,n,function(){return this}),o(y,"toString",function(){return"[object Generator]"}),(i=function(){return{w:a,m:h}})()}function u(t,r){var e;this.next||(o(u.prototype),o(u.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),o(this,"_invoke",function(o,i,u){function a(){return new r(function(e,i){!function e(o,i,u,a){try{var c=t[o](i),s=c.value;return s instanceof n?r.resolve(s.v).then(function(t){e("next",t,u,a)},function(t){e("throw",t,u,a)}):r.resolve(s).then(function(t){c.value=t,u(c)},function(t){return e("throw",t,u,a)})}catch(t){a(t)}}(o,u,e,i)})}return e=e?e.then(a,a):a()},!0)}function a(t,r,e,n,o){return new u(i().w(t,r,e,n),o||Promise)}function c(t){var r=Object(t),e=[];for(var n in r)e.unshift(n);return function t(){for(;e.length;)if((n=e.pop())in r)return t.value=n,t.done=!1,t;return t.done=!0,t}}e.d(r,{A:()=>l});var s=e(8143);function f(t){if(null!=t){var r=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],e=0;if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}}}throw TypeError((0,s.A)(t)+" is not iterable")}function l(){var t=i(),r=t.m(l),e=(Object.getPrototypeOf?Object.getPrototypeOf(r):r.__proto__).constructor;function o(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===e||"GeneratorFunction"===(r.displayName||r.name))}var s={throw:1,return:2,break:3,continue:3};function y(t){var r,e;return function(n){r||(r={stop:function(){return e(n.a,2)},catch:function(){return n.v},abrupt:function(t,r){return e(n.a,s[t],r)},delegateYield:function(t,o,i){return r.resultName=o,e(n.d,f(t),i)},finish:function(t){return e(n.f,t)}},e=function(t,e,o){n.p=r.prev,n.n=r.next;try{return t(e,o)}finally{r.next=n.n}}),r.resultName&&(r[r.resultName]=n.v,r.resultName=void 0),r.sent=n.v,r.next=n.n;try{return t.call(this,r)}finally{n.p=r.prev,n.n=r.next}}}return(l=function(){return{wrap:function(r,e,n,o){return t.w(y(r),e,n,o&&o.reverse())},isGeneratorFunction:o,mark:t.m,awrap:function(t,r){return new n(t,r)},AsyncIterator:u,async:function(t,r,e,n,i){return(o(r)?a:function(t,r,e,n,o){var i=a(t,r,e,n,o);return i.next().then(function(t){return t.done?t.value:i.next()})})(y(t),r,e,n,i)},keys:c,values:f}})()}},3413(t,r,e){"use strict";function n(t,r){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t})(t,r)}e.d(r,{A:()=>n})},1095(t,r,e){"use strict";e.d(r,{A:()=>u});var n=e(4930),o=e(3891),i=e(1059);function u(t,r){return(0,n.A)(t)||function(t,r){var e=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,o,i,u,a=[],c=!0,s=!1;try{if(i=(e=e.call(t)).next,0===r){if(Object(e)!==e)return;c=!1}else for(;!(c=(n=i.call(e)).done)&&(a.push(n.value),a.length!==r);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=e.return&&(u=e.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}(t,r)||(0,o.A)(t,r)||(0,i.A)()}},1782(t,r,e){"use strict";e.d(r,{A:()=>u});var n=e(3178),o=e(380),i=e(3891);function u(t){return function(t){if(Array.isArray(t))return(0,n.A)(t)}(t)||(0,o.A)(t)||(0,i.A)(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},5605(t,r,e){"use strict";e.d(r,{A:()=>o});var n=e(8143);function o(t){var r=function(t,r){if("object"!=(0,n.A)(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var o=e.call(t,r||"default");if("object"!=(0,n.A)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==(0,n.A)(r)?r:r+""}},8143(t,r,e){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}e.d(r,{A:()=>n})},3891(t,r,e){"use strict";var n=e(3178);function o(t,r){if(t){if("string"==typeof t)return(0,n.A)(t,r);var e=({}).toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?(0,n.A)(t,r):void 0}}e.d(r,{A:()=>o})}}]);
@@ -1,2 +1 @@
1
- "use strict";(self.rspackChunk_kb_labs_workflow_entry=self.rspackChunk_kb_labs_workflow_entry||[]).push([[669],{4332(s,e,t){t.r(e);var r=t(92),i=t(4552),o=class{subscriptions=new Map;history=[];devToolsObserver;subscribe(s,e,t,r){let i={event:s,handler:e,pluginId:t,pageId:r};return this.subscriptions.has(s)||this.subscriptions.set(s,new Set),this.subscriptions.get(s).add(i),()=>{this.subscriptions.get(s)?.delete(i)}}publish(s,e,t,r){let i={sourcePluginId:t,sourcePageId:r,timestamp:Date.now()},o={event:s,payload:e,meta:i};this.history.push(o),this.history.length>100&&this.history.shift(),this.devToolsObserver?.(o);let n=this.subscriptions.get(s);if(n)for(let t of n)try{t.handler(e,i)}catch(e){console.error(`[StudioEventBus] Handler error for "${s}" in ${t.pluginId}:${t.pageId}:`,e)}}unsubscribeAll(s,e){for(let[,t]of this.subscriptions)for(let r of t)r.pluginId===s&&r.pageId===e&&t.delete(r)}getHistory(){return this.history}setDevToolsObserver(s){this.devToolsObserver=s}clearDevToolsObserver(){this.devToolsObserver=void 0}reset(){this.subscriptions.clear(),this.history=[]}},n=new o,u=(0,r.createContext)(n);function l({children:s,bus:e}){return(0,i.jsx)(u.Provider,{value:e??n,children:s})}function h(){return(0,r.useContext)(u)}t.d(e,{EventBusProvider:()=>l,StudioEventBus:()=>o,eventBus:()=>n,useEventBusContext:()=>h})}}]);
2
- //# sourceMappingURL=669.js.map
1
+ "use strict";(self.rspackChunk_kb_labs_workflow_entry=self.rspackChunk_kb_labs_workflow_entry||[]).push([[669],{4332(s,e,t){t.r(e);var r=t(92),i=t(4552),o=class{subscriptions=new Map;history=[];devToolsObserver;subscribe(s,e,t,r){let i={event:s,handler:e,pluginId:t,pageId:r};return this.subscriptions.has(s)||this.subscriptions.set(s,new Set),this.subscriptions.get(s).add(i),()=>{this.subscriptions.get(s)?.delete(i)}}publish(s,e,t,r){let i={sourcePluginId:t,sourcePageId:r,timestamp:Date.now()},o={event:s,payload:e,meta:i};this.history.push(o),this.history.length>100&&this.history.shift(),this.devToolsObserver?.(o);let n=this.subscriptions.get(s);if(n)for(let t of n)try{t.handler(e,i)}catch(e){console.error(`[StudioEventBus] Handler error for "${s}" in ${t.pluginId}:${t.pageId}:`,e)}}unsubscribeAll(s,e){for(let[,t]of this.subscriptions)for(let r of t)r.pluginId===s&&r.pageId===e&&t.delete(r)}getHistory(){return this.history}setDevToolsObserver(s){this.devToolsObserver=s}clearDevToolsObserver(){this.devToolsObserver=void 0}reset(){this.subscriptions.clear(),this.history=[]}},n=new o,u=(0,r.createContext)(n);function l({children:s,bus:e}){return(0,i.jsx)(u.Provider,{value:e??n,children:s})}function h(){return(0,r.useContext)(u)}t.d(e,{EventBusProvider:()=>l,StudioEventBus:()=>o,eventBus:()=>n,useEventBusContext:()=>h})}}]);
@@ -1,2 +1 @@
1
- "use strict";(self.rspackChunk_kb_labs_workflow_entry=self.rspackChunk_kb_labs_workflow_entry||[]).push([[707],{6026(e,r){var o=Symbol.for("react.transitional.element");function n(e,r,n){var s=null;if(void 0!==n&&(s=""+n),void 0!==r.key&&(s=""+r.key),"key"in r)for(var t in n={},r)"key"!==t&&(n[t]=r[t]);else n=r;return{$$typeof:o,type:e,key:s,ref:void 0!==(r=n.ref)?r:null,props:n}}r.Fragment=Symbol.for("react.fragment"),r.jsx=n,r.jsxs=n},4552(e,r,o){e.exports=o(6026)}}]);
2
- //# sourceMappingURL=707.js.map
1
+ "use strict";(self.rspackChunk_kb_labs_workflow_entry=self.rspackChunk_kb_labs_workflow_entry||[]).push([[707],{6026(e,r){var o=Symbol.for("react.transitional.element");function n(e,r,n){var s=null;if(void 0!==n&&(s=""+n),void 0!==r.key&&(s=""+r.key),"key"in r)for(var t in n={},r)"key"!==t&&(n[t]=r[t]);else n=r;return{$$typeof:o,type:e,key:s,ref:void 0!==(r=n.ref)?r:null,props:n}}r.Fragment=Symbol.for("react.fragment"),r.jsx=n,r.jsxs=n},4552(e,r,o){e.exports=o(6026)}}]);
@@ -1,2 +1 @@
1
- "use strict";(self.rspackChunk_kb_labs_workflow_entry=self.rspackChunk_kb_labs_workflow_entry||[]).push([[716],{6026(e,r){var n=Symbol.for("react.transitional.element");function t(e,r,t){var a=null;if(void 0!==t&&(a=""+t),void 0!==r.key&&(a=""+r.key),"key"in r)for(var i in t={},r)"key"!==i&&(t[i]=r[i]);else t=r;return{$$typeof:n,type:e,key:a,ref:void 0!==(r=t.ref)?r:null,props:t}}r.Fragment=Symbol.for("react.fragment"),r.jsx=t,r.jsxs=t},4552(e,r,n){e.exports=n(6026)},5688(e,r,n){var t=n(4552),a=!1,i={queued:"var(--text-tertiary)",running:"var(--warning)",success:"var(--success)",failed:"var(--error)",cancelled:"var(--text-tertiary)",skipped:"var(--text-tertiary)",waiting_approval:"var(--info)"};function l(e){var r,n=e.status;if(!a&&"u">typeof document){a=!0;var l=document.createElement("style");l.textContent="\n@keyframes kb-spin { 0% { transform: rotate(0deg) } 100% { transform: rotate(360deg) } }\n@keyframes kb-shimmer { 0% { left: -60% } 100% { left: 120% } }\n",document.head.appendChild(l)}var s=null!=(r=i[n])?r:"var(--text-tertiary)";return"running"===n?(0,t.jsx)("span",{style:{display:"inline-block",width:8,height:8,flexShrink:0,border:"2px solid ".concat(s),borderTopColor:"transparent",borderRadius:"50%",animation:"kb-spin 0.8s linear infinite"}}):(0,t.jsx)("span",{style:{display:"inline-block",width:8,height:8,flexShrink:0,borderRadius:"50%",background:"success"===n||"failed"===n||"waiting_approval"===n?s:"transparent",border:"2px solid ".concat(s)}})}function s(e){if(!e)return null;if(e<1e3)return"".concat(e,"ms");var r=e/1e3;return r<60?"".concat(r.toFixed(1),"s"):"".concat(Math.floor(r/60),"m ").concat(Math.floor(r%60),"s")}n.d(r,{a3:()=>s,md:()=>l})},9747(e,r,n){var t=n(4552),a={done:"var(--success)",active:"var(--warning)",pending:"var(--text-tertiary)"};function i(e){var r=e.status,n=a[r],i="active"===r?10:8;return"active"===r?(0,t.jsx)("span",{style:{display:"inline-block",width:i,height:i,borderRadius:"50%",border:"2px solid ".concat(n),background:"color-mix(in srgb, ".concat(n," 30%, transparent)"),flexShrink:0}}):(0,t.jsx)("span",{style:{display:"inline-block",width:i,height:i,borderRadius:"50%",background:"done"===r?n:"transparent",border:"2px solid ".concat(n),flexShrink:0}})}function l(e){var r=e.phases,n=e.compact;return r.length?(0,t.jsx)("div",{style:{display:"flex",alignItems:"center",gap:n?4:6},children:r.map(function(e,l){var s=l===r.length-1,o="done"===e.status?"var(--success)":"var(--border-primary)";return(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:n?4:6},children:[(0,t.jsx)(i,{status:e.status}),!n&&(0,t.jsx)("span",{style:{fontSize:11,fontWeight:"active"===e.status?600:400,color:a[e.status],whiteSpace:"nowrap"},children:e.label}),!s&&(0,t.jsx)("div",{style:{width:n?12:24,height:2,background:o,borderRadius:1,flexShrink:0}})]},e.label)})}):null}n.d(r,{g:()=>l})},4461(e,r,n){var t=n(4552);function a(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=Array(r);n<r;n++)t[n]=e[n];return t}function i(e){var r=e.views,n=e.current,i=e.onChange,l=Object.entries(r);return(0,t.jsx)("div",{style:{display:"flex",gap:0,border:"1px solid var(--border-primary)",borderRadius:6,overflow:"hidden"},children:l.map(function(e){var r=function(e){if(Array.isArray(e))return e}(e)||function(e){var r,n,t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a=[],i=!0,l=!1;try{for(t=t.call(e);!(i=(r=t.next()).done)&&(a.push(r.value),2!==a.length);i=!0);}catch(e){l=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(l)throw n}}return a}}(e)||function(e){if(e){if("string"==typeof e)return a(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),l=r[0],s=r[1];return(0,t.jsx)("button",{onClick:function(){return i(l)},style:{padding:"5px 16px",fontSize:13,fontWeight:500,cursor:"pointer",border:"none",background:n===l?"var(--link)":"var(--bg-secondary)",color:n===l?"var(--text-inverse)":"var(--text-secondary)",transition:"background 0.15s, color 0.15s"},children:s.label},l)})})}n.d(r,{k:()=>i})},8292(e,r,n){var t=n(4552),a=n(5155),i={queued:"info",running:"warning",success:"success",failed:"error",cancelled:"warning",skipped:"info",waiting_approval:"warning"},l={waiting_approval:"WAITING APPROVAL"};function s(e){var r,n,s=e.status,o=null!=(r=i[s])?r:"info",u=null!=(n=l[s])?n:s.toUpperCase();return(0,t.jsx)(a.UIBadge,{variant:o,children:u})}n.d(r,{d:()=>s})},7205(e,r,n){var t=n(92);function a(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function i(e){return(0,t.useMemo)(function(){var r={phases:[],steps:[],reworkLoop:null};if(!(null==e||null==(h=e.jobs)?void 0:h.length))return r;var n=e.jobs[0];if(!(null==n?void 0:n.steps.length))return r;var t=n.steps,i=t.map(function(e,r){var n,a,i;return{stepRun:e,stepType:"builtin:approval"===(i=null!=(n=null==(a=e.spec)?void 0:a.uses)?n:"")?"approval":"builtin:gate"===i?"gate":"shell",phase:function e(r,n,t){if(null==(a=r.spec)?void 0:a.phase)return r.spec.phase;var a,i,l,s=r.name.toLowerCase();if(s.includes("plan")||s.includes("spec")||s.includes("research")||s.includes("approve plan")||s.includes("tech lead"))return"Planning";if(s.includes("implement")||s.includes("develop")||s.includes("cod"))return"Implementation";if(s.includes("review")||s.includes("qa")||s.includes("test")||s.includes("lint")||s.includes("security")||s.includes("license")||s.includes("compliance"))return"Quality";if(s.includes("commit")||s.includes("deploy")||s.includes("release")||s.includes("publish")||s.includes("notify")||s.includes("done")||s.includes("complet"))return"Delivery";if((null==(i=r.spec)?void 0:i.uses)==="builtin:approval"&&n>0){var o=t[n-1];if(o)return e(o,n-1,t)}if((null==(l=r.spec)?void 0:l.uses)==="builtin:gate"&&n>0){var u=t[n-1];if(u)return e(u,n-1,t)}return"Implementation"}(e,r,t)}}),l=function(e){for(var r=0;r<e.length;r++){var n=e[r];if(n&&"gate"===n.stepType){var t=null==(u=n.stepRun.spec)||null==(o=u.with)?void 0:o.routes;if(t){var i=!0,l=!1,s=void 0;try{for(var o,u,c,d=Object.values(t)[Symbol.iterator]();!(i=(c=d.next()).done);i=!0){var p=function(){var t=c.value;if((void 0===t?"undefined":a(t))!=="object"||null===t||!("restartFrom"in t))return"continue";var i=t.restartFrom,l=e.findIndex(function(e){return e.stepRun.id.endsWith(":".concat(i))||e.stepRun.name.toLowerCase()===i.toLowerCase()});if(-1!==l){var s="failed"===n.stepRun.status||"running"===n.stepRun.status;return{v:{gateIndex:r,targetIndex:l,isActive:s}}}}();if("object"===a(p))return p.v}}catch(e){l=!0,s=e}finally{try{i||null==d.return||d.return()}finally{if(l)throw s}}}}}return null}(i);if(l){var s=i[l.gateIndex];if(s&&l.isActive){var o,u,c,d="number"==typeof(c=null==(u=s.stepRun.spec)||null==(o=u.with)?void 0:o.maxIterations)?c:3;s.iteration={current:1,max:d}}}var p=new Map,f=!0,v=!1,y=void 0;try{for(var h,b,m,g=i[Symbol.iterator]();!(f=(m=g.next()).done);f=!0){var x=m.value;p.has(x.phase)||p.set(x.phase,[]),p.get(x.phase).push(x)}}catch(e){v=!0,y=e}finally{try{f||null==g.return||g.return()}finally{if(v)throw y}}var k=null==(b=e.spec)?void 0:b.phases,w=k?k.map(function(e){return e.label}).filter(function(e){return p.has(e)}):Array.from(p.keys()),j=!0,S=!1,I=void 0;try{for(var R,A=p.keys()[Symbol.iterator]();!(j=(R=A.next()).done);j=!0){var C=R.value;w.includes(C)||w.push(C)}}catch(e){S=!0,I=e}finally{try{j||null==A.return||A.return()}finally{if(S)throw I}}return{phases:w.map(function(e){return{label:e,steps:p.get(e)}}),steps:i,reworkLoop:l}},[e])}n.d(r,{F:()=>i})}}]);
2
- //# sourceMappingURL=716.js.map
1
+ "use strict";(self.rspackChunk_kb_labs_workflow_entry=self.rspackChunk_kb_labs_workflow_entry||[]).push([[716],{6026(e,r){var n=Symbol.for("react.transitional.element");function t(e,r,t){var a=null;if(void 0!==t&&(a=""+t),void 0!==r.key&&(a=""+r.key),"key"in r)for(var i in t={},r)"key"!==i&&(t[i]=r[i]);else t=r;return{$$typeof:n,type:e,key:a,ref:void 0!==(r=t.ref)?r:null,props:t}}r.Fragment=Symbol.for("react.fragment"),r.jsx=t,r.jsxs=t},4552(e,r,n){e.exports=n(6026)},5688(e,r,n){var t=n(4552),a=!1,i={queued:"var(--text-tertiary)",running:"var(--warning)",success:"var(--success)",failed:"var(--error)",cancelled:"var(--text-tertiary)",skipped:"var(--text-tertiary)",waiting_approval:"var(--info)"};function l(e){var r,n=e.status;if(!a&&"u">typeof document){a=!0;var l=document.createElement("style");l.textContent="\n@keyframes kb-spin { 0% { transform: rotate(0deg) } 100% { transform: rotate(360deg) } }\n@keyframes kb-shimmer { 0% { left: -60% } 100% { left: 120% } }\n",document.head.appendChild(l)}var s=null!=(r=i[n])?r:"var(--text-tertiary)";return"running"===n?(0,t.jsx)("span",{style:{display:"inline-block",width:8,height:8,flexShrink:0,border:"2px solid ".concat(s),borderTopColor:"transparent",borderRadius:"50%",animation:"kb-spin 0.8s linear infinite"}}):(0,t.jsx)("span",{style:{display:"inline-block",width:8,height:8,flexShrink:0,borderRadius:"50%",background:"success"===n||"failed"===n||"waiting_approval"===n?s:"transparent",border:"2px solid ".concat(s)}})}function s(e){if(!e)return null;if(e<1e3)return"".concat(e,"ms");var r=e/1e3;return r<60?"".concat(r.toFixed(1),"s"):"".concat(Math.floor(r/60),"m ").concat(Math.floor(r%60),"s")}n.d(r,{a3:()=>s,md:()=>l})},9747(e,r,n){var t=n(4552),a={done:"var(--success)",active:"var(--warning)",pending:"var(--text-tertiary)"};function i(e){var r=e.status,n=a[r],i="active"===r?10:8;return"active"===r?(0,t.jsx)("span",{style:{display:"inline-block",width:i,height:i,borderRadius:"50%",border:"2px solid ".concat(n),background:"color-mix(in srgb, ".concat(n," 30%, transparent)"),flexShrink:0}}):(0,t.jsx)("span",{style:{display:"inline-block",width:i,height:i,borderRadius:"50%",background:"done"===r?n:"transparent",border:"2px solid ".concat(n),flexShrink:0}})}function l(e){var r=e.phases,n=e.compact;return r.length?(0,t.jsx)("div",{style:{display:"flex",alignItems:"center",gap:n?4:6},children:r.map(function(e,l){var s=l===r.length-1,o="done"===e.status?"var(--success)":"var(--border-primary)";return(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:n?4:6},children:[(0,t.jsx)(i,{status:e.status}),!n&&(0,t.jsx)("span",{style:{fontSize:11,fontWeight:"active"===e.status?600:400,color:a[e.status],whiteSpace:"nowrap"},children:e.label}),!s&&(0,t.jsx)("div",{style:{width:n?12:24,height:2,background:o,borderRadius:1,flexShrink:0}})]},e.label)})}):null}n.d(r,{g:()=>l})},4461(e,r,n){var t=n(4552);function a(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=Array(r);n<r;n++)t[n]=e[n];return t}function i(e){var r=e.views,n=e.current,i=e.onChange,l=Object.entries(r);return(0,t.jsx)("div",{style:{display:"flex",gap:0,border:"1px solid var(--border-primary)",borderRadius:6,overflow:"hidden"},children:l.map(function(e){var r=function(e){if(Array.isArray(e))return e}(e)||function(e){var r,n,t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a=[],i=!0,l=!1;try{for(t=t.call(e);!(i=(r=t.next()).done)&&(a.push(r.value),2!==a.length);i=!0);}catch(e){l=!0,n=e}finally{try{i||null==t.return||t.return()}finally{if(l)throw n}}return a}}(e)||function(e){if(e){if("string"==typeof e)return a(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),l=r[0],s=r[1];return(0,t.jsx)("button",{onClick:function(){return i(l)},style:{padding:"5px 16px",fontSize:13,fontWeight:500,cursor:"pointer",border:"none",background:n===l?"var(--link)":"var(--bg-secondary)",color:n===l?"var(--text-inverse)":"var(--text-secondary)",transition:"background 0.15s, color 0.15s"},children:s.label},l)})})}n.d(r,{k:()=>i})},8292(e,r,n){var t=n(4552),a=n(5155),i={queued:"info",running:"warning",success:"success",failed:"error",cancelled:"warning",skipped:"info",waiting_approval:"warning"},l={waiting_approval:"WAITING APPROVAL"};function s(e){var r,n,s=e.status,o=null!=(r=i[s])?r:"info",u=null!=(n=l[s])?n:s.toUpperCase();return(0,t.jsx)(a.UIBadge,{variant:o,children:u})}n.d(r,{d:()=>s})},7205(e,r,n){var t=n(92);function a(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function i(e){return(0,t.useMemo)(function(){var r={phases:[],steps:[],reworkLoop:null};if(!(null==e||null==(h=e.jobs)?void 0:h.length))return r;var n=e.jobs[0];if(!(null==n?void 0:n.steps.length))return r;var t=n.steps,i=t.map(function(e,r){var n,a,i;return{stepRun:e,stepType:"builtin:approval"===(i=null!=(n=null==(a=e.spec)?void 0:a.uses)?n:"")?"approval":"builtin:gate"===i?"gate":"shell",phase:function e(r,n,t){if(null==(a=r.spec)?void 0:a.phase)return r.spec.phase;var a,i,l,s=r.name.toLowerCase();if(s.includes("plan")||s.includes("spec")||s.includes("research")||s.includes("approve plan")||s.includes("tech lead"))return"Planning";if(s.includes("implement")||s.includes("develop")||s.includes("cod"))return"Implementation";if(s.includes("review")||s.includes("qa")||s.includes("test")||s.includes("lint")||s.includes("security")||s.includes("license")||s.includes("compliance"))return"Quality";if(s.includes("commit")||s.includes("deploy")||s.includes("release")||s.includes("publish")||s.includes("notify")||s.includes("done")||s.includes("complet"))return"Delivery";if((null==(i=r.spec)?void 0:i.uses)==="builtin:approval"&&n>0){var o=t[n-1];if(o)return e(o,n-1,t)}if((null==(l=r.spec)?void 0:l.uses)==="builtin:gate"&&n>0){var u=t[n-1];if(u)return e(u,n-1,t)}return"Implementation"}(e,r,t)}}),l=function(e){for(var r=0;r<e.length;r++){var n=e[r];if(n&&"gate"===n.stepType){var t=null==(u=n.stepRun.spec)||null==(o=u.with)?void 0:o.routes;if(t){var i=!0,l=!1,s=void 0;try{for(var o,u,c,d=Object.values(t)[Symbol.iterator]();!(i=(c=d.next()).done);i=!0){var p=function(){var t=c.value;if((void 0===t?"undefined":a(t))!=="object"||null===t||!("restartFrom"in t))return"continue";var i=t.restartFrom,l=e.findIndex(function(e){return e.stepRun.id.endsWith(":".concat(i))||e.stepRun.name.toLowerCase()===i.toLowerCase()});if(-1!==l){var s="failed"===n.stepRun.status||"running"===n.stepRun.status;return{v:{gateIndex:r,targetIndex:l,isActive:s}}}}();if("object"===a(p))return p.v}}catch(e){l=!0,s=e}finally{try{i||null==d.return||d.return()}finally{if(l)throw s}}}}}return null}(i);if(l){var s=i[l.gateIndex];if(s&&l.isActive){var o,u,c,d="number"==typeof(c=null==(u=s.stepRun.spec)||null==(o=u.with)?void 0:o.maxIterations)?c:3;s.iteration={current:1,max:d}}}var p=new Map,f=!0,v=!1,y=void 0;try{for(var h,b,m,g=i[Symbol.iterator]();!(f=(m=g.next()).done);f=!0){var x=m.value;p.has(x.phase)||p.set(x.phase,[]),p.get(x.phase).push(x)}}catch(e){v=!0,y=e}finally{try{f||null==g.return||g.return()}finally{if(v)throw y}}var k=null==(b=e.spec)?void 0:b.phases,w=k?k.map(function(e){return e.label}).filter(function(e){return p.has(e)}):Array.from(p.keys()),j=!0,S=!1,I=void 0;try{for(var R,A=p.keys()[Symbol.iterator]();!(j=(R=A.next()).done);j=!0){var C=R.value;w.includes(C)||w.push(C)}}catch(e){S=!0,I=e}finally{try{j||null==A.return||A.return()}finally{if(S)throw I}}return{phases:w.map(function(e){return{label:e,steps:p.get(e)}}),steps:i,reworkLoop:l}},[e])}n.d(r,{F:()=>i})}}]);
@@ -31,5 +31,4 @@ ${String(e)}`),new Response(r,{status:500,headers:{"Content-Type":"text/plain"}}
31
31
  console.log(
32
32
  "\u{1F4BF} Hey developer \u{1F44B}. You can provide a way better UX than this when your app throws errors. Check out https://reactrouter.com/how-to/error-boundary for more information."
33
33
  );
34
- `}});return em(e)?h().createElement(o2,{renderAppShell:t,title:"Unhandled Thrown Response!"},h().createElement("h1",{style:{fontSize:"24px"}},e.status," ",e.statusText),n):(r=e instanceof Error?e:Error(null==e?"Unknown Error":"object"==typeof e&&"toString"in e?e.toString():JSON.stringify(e)),h().createElement(o2,{renderAppShell:t,title:"Application Error!"},h().createElement("h1",{style:{fontSize:"24px"}},"Application Error"),h().createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},r.stack),n))}function o8({hasRootLayout:e}){let t=rS();if(void 0===e)throw Error("Missing 'hasRootLayout' prop");return h().createElement(o4,{renderAppShell:!e,error:t})}var o3=()=>null,o5="/__manifest",o9=d.use;async function o6({request:e,serverResponse:t,createFromReadableStream:r,renderHTML:n,hydrate:a=!0}){let o,i,s,l=new URL(e.url);if(l.pathname.endsWith(".rsc")||l.pathname.endsWith(".manifest")||e.headers.has("rsc-action-id")||"true"===t.headers.get("React-Router-Resource"))return t;if(!t.body)throw Error("Missing body in server response");let u=t.clone(),c=null;a&&(c=t.clone());let d=t.body,h=[],f=()=>o?new ReadableStream({start(e){o.forEach(t=>e.enqueue(t)),h.push(e)}}):(o=[],d.pipeThrough(new TransformStream({transform(e,t){o.push(e),t.enqueue(e),h.forEach(t=>t.enqueue(e))},flush(){h.forEach(e=>e.close()),h=[]}}))),m=null;try{if(!u.body)throw Error("Failed to clone server response");let e=await r(u.body);if(202===t.status&&"redirect"===e.type){let r=new Headers(t.headers);return r.delete("Content-Encoding"),r.delete("Content-Length"),r.delete("Content-Type"),r.delete("X-Remix-Response"),r.set("Location",e.location),new Response(c?.body||"",{headers:r,status:e.status,statusText:t.statusText})}let o=new Headers,l=t.status,d=t.statusText,h=await n(()=>{let e=Promise.resolve(r(f()));return Object.defineProperties(e,{_deepestRenderedBoundaryId:{get:()=>m,set(e){m=e}},formState:{get:()=>e.then(e=>"render"===e.type?e.formState:void 0)}})},{onError(e){if("object"==typeof e&&e&&"digest"in e&&"string"==typeof e.digest){if(i=t0(e.digest))return e.digest;let t=t1(e.digest);if(t)return s=t,l=t.status,d=t.statusText,e.digest}},onHeaders(e){for(let[t,r]of e)o.append(t,r)}}),p=new Headers(o);for(let[e,r]of t.headers)p.append(e,r);if(p.set("Content-Type","text/html; charset=utf-8"),i)return p.set("Location",i.location),new Response(h,{status:i.status,headers:p});let y=new TransformStream({flush(e){i&&e.enqueue(new TextEncoder().encode(`<meta http-equiv="refresh" content="0;url=${nC(i.location)}"/>`))}});if(!a)return new Response(h.pipeThrough(y),{status:l,statusText:d,headers:p});if(!c?.body)throw Error("Failed to clone server response");let g=h.pipeThrough(oZ(c.body)).pipeThrough(y);return new Response(g,{status:l,statusText:d,headers:p})}catch(e){if(e instanceof Response)return e;if(i)return new Response(`Redirect: ${i.location}`,{status:i.status,headers:{Location:i.location}});try{let o,i=s??e,[l,u]=em(i)?[i.status,i.statusText]:[500,""],d=new Headers,h=await n(()=>{let e=Promise.resolve(r(f())).then(e=>Object.assign(e,{status:l,errors:m?{[m]:i}:{}}));return Object.defineProperties(e,{_deepestRenderedBoundaryId:{get:()=>m,set(e){m=e}},formState:{get:()=>e.then(e=>"render"===e.type?e.formState:void 0)}})},{onError(e){if("object"==typeof e&&e&&"digest"in e&&"string"==typeof e.digest){if(o=t0(e.digest))return e.digest;let t=t1(e.digest);if(t)return l=t.status,u=t.statusText,e.digest}},onHeaders(e){for(let[t,r]of e)d.append(t,r)}}),p=new Headers(d);for(let[e,r]of t.headers)p.append(e,r);if(p.set("Content-Type","text/html; charset=utf-8"),o)return p.set("Location",o.location),new Response(h,{status:o.status,headers:p});let y=new TransformStream({flush(e){o&&e.enqueue(new TextEncoder().encode(`<meta http-equiv="refresh" content="0;url=${nC(o.location)}"/>`))}});if(!a)return new Response(h.pipeThrough(y),{status:l,statusText:u,headers:p});if(!c?.body)throw Error("Failed to clone server response");let g=h.pipeThrough(oZ(c.body)).pipeThrough(y);return new Response(g,{status:l,statusText:u,headers:p})}catch(e){}throw e}}function o7({getPayload:e}){let t=e(),r=function(e){if(o9)return o9(e);throw Error("React Router v7 requires React 19+ for RSC features.")}(t);if("redirect"===r.type)throw new Response(null,{status:r.status,headers:{Location:r.location}});if("render"!==r.type)return null;let n={...r.loaderData};for(let e of r.matches)n7(e.id,e.clientLoader,e.hasLoader,!1)&&(e.hydrateFallbackElement||!e.hasLoader)&&delete n[e.id];let a={get _deepestRenderedBoundaryId(){return t._deepestRenderedBoundaryId??null},set _deepestRenderedBoundaryId(boundaryId){t._deepestRenderedBoundaryId=boundaryId},actionData:r.actionData,actionHeaders:{},basename:r.basename,errors:r.errors,loaderData:n,loaderHeaders:{},location:r.location,statusCode:200,matches:r.matches.map(e=>({params:e.params,pathname:e.pathname,pathnameBase:e.pathnameBase,route:{id:e.id,action:e.hasAction||!!e.clientAction,handle:e.handle,hasErrorBoundary:e.hasErrorBoundary,loader:e.hasLoader||!!e.clientLoader,index:e.index,path:e.path,shouldRevalidate:e.shouldRevalidate}}))},o=a8(r.matches.reduceRight((e,t)=>{let r={id:t.id,action:t.hasAction||!!t.clientAction,element:t.element,errorElement:t.errorElement,handle:t.handle,hasErrorBoundary:!!t.errorElement,hydrateFallbackElement:t.hydrateFallbackElement,index:t.index,loader:t.hasLoader||!!t.clientLoader,path:t.path,shouldRevalidate:t.shouldRevalidate};return e.length>0&&(r.children=e),[r]},[]),a),i={future:{v8_middleware:!1,v8_trailingSlashAwareDataRequests:!0,v8_passThroughRequests:!0},isSpaMode:!1,ssr:!0,criticalCss:"",manifest:{routes:{},version:"1",url:"",entry:{module:"",imports:[]}},routeDiscovery:"initial"===r.routeDiscovery.mode?{mode:"initial",manifestPath:o5}:{mode:"lazy",manifestPath:r.routeDiscovery.manifestPath||o5},routeModules:function(e){let t={};for(let a of e.matches){var r=t,n=a;for(let e of n=Array.isArray(n)?n:[n])r[e.id]={links:e.links,meta:e.meta,default:o3}}return t}(r)};return d.createElement(tB.Provider,{value:!0},d.createElement(o1,{location:r.location},d.createElement(ac.Provider,{value:i},d.createElement(a1,{context:a,router:o,hydrate:!1,nonce:r.nonce}))))}function ie(e){if(!e)return null;let t=Object.entries(e),r={};for(let[e,n]of t)if(n&&"RouteErrorResponse"===n.__type)r[e]=new ef(n.status,n.statusText,n.data,!0===n.internal);else if(n&&"Error"===n.__type){if(n.__subType){let t=window[n.__subType];if("function"==typeof t)try{let a=new t(n.message);a.stack=n.stack,r[e]=a}catch(e){}}if(null==r[e]){let t=Error(n.message);t.stack=n.stack,r[e]=t}}else r[e]=n;return r}function it({state:e,routes:t,getRouteInfo:r,location:n,basename:a,isSpaMode:o}){let i={...e,loaderData:{...e.loaderData}},s=F(t,n,a);if(s)for(let e of s){let t=e.route.id,n=r(t);n7(t,n.clientLoader,n.hasLoader,o)&&(n.hasHydrateFallback||!n.hasLoader)?delete i.loaderData[t]:n.hasLoader||(i.loaderData[t]=null)}return i}var ir=r(4778);function ia(e){return d.createElement(rz,{flushSync:ir.flushSync,...e})}var io=null,ii=null;function is(e){ii||(ii=function({getContext:e,instrumentations:t}){let r;if(!io&&window.__reactRouterContext&&window.__reactRouterManifest&&window.__reactRouterRouteModules){if(!0===window.__reactRouterManifest.sri){let e=document.querySelector("script[rr-importmap]");if(e?.textContent)try{window.__reactRouterManifest.sri=JSON.parse(e.textContent).integrity}catch(e){console.error("Failed to parse import map",e)}}io={context:window.__reactRouterContext,manifest:window.__reactRouterManifest,routeModules:window.__reactRouterRouteModules,stateDecodingPromise:void 0,router:void 0,routerInitialized:!1}}if(!io)throw Error("You must be using the SSR features of React Router in order to skip passing a `router` prop to `<RouterProvider>`");let n=io;if(!io.stateDecodingPromise){let e=io.context.stream;x(e,"No stream found for single fetch decoding"),io.context.stream=void 0,io.stateDecodingPromise=nH(e,window).then(e=>{io.context.state=e.value,n.stateDecodingPromise.value=!0}).catch(e=>{n.stateDecodingPromise.error=e})}if(io.stateDecodingPromise.error)throw io.stateDecodingPromise.error;if(!io.stateDecodingPromise.value)throw io.stateDecodingPromise;let a=n3(io.manifest.routes,io.routeModules,io.context.state,io.context.ssr,io.context.isSpaMode);if(io.context.isSpaMode){let{loaderData:e}=io.context.state;io.manifest.routes.root?.hasLoader&&e&&"root"in e&&(r={loaderData:{root:e.root}})}else(r=it({state:io.context.state,routes:a,getRouteInfo:e=>({clientLoader:io.routeModules[e]?.clientLoader,hasLoader:io.manifest.routes[e]?.hasLoader===!0,hasHydrateFallback:io.routeModules[e]?.HydrateFallback!=null}),location:window.location,basename:window.__reactRouterContext?.basename,isSpaMode:io.context.isSpaMode}))&&r.errors&&(r.errors=ie(r.errors));window.history.state&&window.history.state.masked&&window.history.replaceState({...window.history.state,masked:void 0},"");let o=eH({routes:a,history:R(),basename:io.context.basename,getContext:e,hydrationData:r,hydrationRouteProperties:rF,instrumentations:t,mapRouteProperties:rj,future:{v8_passThroughRequests:io.context.future.v8_passThroughRequests},dataStrategy:n_(()=>o,io.manifest,io.routeModules,io.context.ssr,io.context.basename,io.context.future.v8_trailingSlashAwareDataRequests),patchRoutesOnNavigation:an(()=>o,io.manifest,io.routeModules,io.context.ssr,io.context.routeDiscovery,io.context.isSpaMode,io.context.basename)});return io.router=o,o.state.initialized&&(io.routerInitialized=!0,o.initialize()),o.createRoutesForHMR=n2,window.__reactRouterDataRouter=o,o}({getContext:e.getContext,instrumentations:e.instrumentations}));let[t,r]=d.useState(void 0);d.useEffect(()=>{},[]),d.useEffect(()=>{},[t]);let[n,a]=d.useState(ii.state.location);return d.useLayoutEffect(()=>{io&&io.router&&!io.routerInitialized&&(io.routerInitialized=!0,io.router.initialize())},[]),d.useLayoutEffect(()=>{if(io&&io.router)return io.router.subscribe(e=>{e.location!==n&&a(e.location)})},[n]),x(io,"ssrInfo unavailable for HydratedRouter"),aa(ii,io.manifest,io.routeModules,io.context.ssr,io.context.routeDiscovery,io.context.isSpaMode),d.createElement(d.Fragment,null,d.createElement(ac.Provider,{value:{manifest:io.manifest,routeModules:io.routeModules,future:io.context.future,criticalCss:t,ssr:io.context.ssr,isSpaMode:io.context.isSpaMode,routeDiscovery:io.context.routeDiscovery}},d.createElement(aR,{location:n},d.createElement(ia,{router:ii,useTransitions:e.useTransitions,onError:e.onError}))),d.createElement(d.Fragment,null))}}}]);
35
- //# sourceMappingURL=733.js.map
34
+ `}});return em(e)?h().createElement(o2,{renderAppShell:t,title:"Unhandled Thrown Response!"},h().createElement("h1",{style:{fontSize:"24px"}},e.status," ",e.statusText),n):(r=e instanceof Error?e:Error(null==e?"Unknown Error":"object"==typeof e&&"toString"in e?e.toString():JSON.stringify(e)),h().createElement(o2,{renderAppShell:t,title:"Application Error!"},h().createElement("h1",{style:{fontSize:"24px"}},"Application Error"),h().createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},r.stack),n))}function o8({hasRootLayout:e}){let t=rS();if(void 0===e)throw Error("Missing 'hasRootLayout' prop");return h().createElement(o4,{renderAppShell:!e,error:t})}var o3=()=>null,o5="/__manifest",o9=d.use;async function o6({request:e,serverResponse:t,createFromReadableStream:r,renderHTML:n,hydrate:a=!0}){let o,i,s,l=new URL(e.url);if(l.pathname.endsWith(".rsc")||l.pathname.endsWith(".manifest")||e.headers.has("rsc-action-id")||"true"===t.headers.get("React-Router-Resource"))return t;if(!t.body)throw Error("Missing body in server response");let u=t.clone(),c=null;a&&(c=t.clone());let d=t.body,h=[],f=()=>o?new ReadableStream({start(e){o.forEach(t=>e.enqueue(t)),h.push(e)}}):(o=[],d.pipeThrough(new TransformStream({transform(e,t){o.push(e),t.enqueue(e),h.forEach(t=>t.enqueue(e))},flush(){h.forEach(e=>e.close()),h=[]}}))),m=null;try{if(!u.body)throw Error("Failed to clone server response");let e=await r(u.body);if(202===t.status&&"redirect"===e.type){let r=new Headers(t.headers);return r.delete("Content-Encoding"),r.delete("Content-Length"),r.delete("Content-Type"),r.delete("X-Remix-Response"),r.set("Location",e.location),new Response(c?.body||"",{headers:r,status:e.status,statusText:t.statusText})}let o=new Headers,l=t.status,d=t.statusText,h=await n(()=>{let e=Promise.resolve(r(f()));return Object.defineProperties(e,{_deepestRenderedBoundaryId:{get:()=>m,set(e){m=e}},formState:{get:()=>e.then(e=>"render"===e.type?e.formState:void 0)}})},{onError(e){if("object"==typeof e&&e&&"digest"in e&&"string"==typeof e.digest){if(i=t0(e.digest))return e.digest;let t=t1(e.digest);if(t)return s=t,l=t.status,d=t.statusText,e.digest}},onHeaders(e){for(let[t,r]of e)o.append(t,r)}}),p=new Headers(o);for(let[e,r]of t.headers)p.append(e,r);if(p.set("Content-Type","text/html; charset=utf-8"),i)return p.set("Location",i.location),new Response(h,{status:i.status,headers:p});let y=new TransformStream({flush(e){i&&e.enqueue(new TextEncoder().encode(`<meta http-equiv="refresh" content="0;url=${nC(i.location)}"/>`))}});if(!a)return new Response(h.pipeThrough(y),{status:l,statusText:d,headers:p});if(!c?.body)throw Error("Failed to clone server response");let g=h.pipeThrough(oZ(c.body)).pipeThrough(y);return new Response(g,{status:l,statusText:d,headers:p})}catch(e){if(e instanceof Response)return e;if(i)return new Response(`Redirect: ${i.location}`,{status:i.status,headers:{Location:i.location}});try{let o,i=s??e,[l,u]=em(i)?[i.status,i.statusText]:[500,""],d=new Headers,h=await n(()=>{let e=Promise.resolve(r(f())).then(e=>Object.assign(e,{status:l,errors:m?{[m]:i}:{}}));return Object.defineProperties(e,{_deepestRenderedBoundaryId:{get:()=>m,set(e){m=e}},formState:{get:()=>e.then(e=>"render"===e.type?e.formState:void 0)}})},{onError(e){if("object"==typeof e&&e&&"digest"in e&&"string"==typeof e.digest){if(o=t0(e.digest))return e.digest;let t=t1(e.digest);if(t)return l=t.status,u=t.statusText,e.digest}},onHeaders(e){for(let[t,r]of e)d.append(t,r)}}),p=new Headers(d);for(let[e,r]of t.headers)p.append(e,r);if(p.set("Content-Type","text/html; charset=utf-8"),o)return p.set("Location",o.location),new Response(h,{status:o.status,headers:p});let y=new TransformStream({flush(e){o&&e.enqueue(new TextEncoder().encode(`<meta http-equiv="refresh" content="0;url=${nC(o.location)}"/>`))}});if(!a)return new Response(h.pipeThrough(y),{status:l,statusText:u,headers:p});if(!c?.body)throw Error("Failed to clone server response");let g=h.pipeThrough(oZ(c.body)).pipeThrough(y);return new Response(g,{status:l,statusText:u,headers:p})}catch(e){}throw e}}function o7({getPayload:e}){let t=e(),r=function(e){if(o9)return o9(e);throw Error("React Router v7 requires React 19+ for RSC features.")}(t);if("redirect"===r.type)throw new Response(null,{status:r.status,headers:{Location:r.location}});if("render"!==r.type)return null;let n={...r.loaderData};for(let e of r.matches)n7(e.id,e.clientLoader,e.hasLoader,!1)&&(e.hydrateFallbackElement||!e.hasLoader)&&delete n[e.id];let a={get _deepestRenderedBoundaryId(){return t._deepestRenderedBoundaryId??null},set _deepestRenderedBoundaryId(boundaryId){t._deepestRenderedBoundaryId=boundaryId},actionData:r.actionData,actionHeaders:{},basename:r.basename,errors:r.errors,loaderData:n,loaderHeaders:{},location:r.location,statusCode:200,matches:r.matches.map(e=>({params:e.params,pathname:e.pathname,pathnameBase:e.pathnameBase,route:{id:e.id,action:e.hasAction||!!e.clientAction,handle:e.handle,hasErrorBoundary:e.hasErrorBoundary,loader:e.hasLoader||!!e.clientLoader,index:e.index,path:e.path,shouldRevalidate:e.shouldRevalidate}}))},o=a8(r.matches.reduceRight((e,t)=>{let r={id:t.id,action:t.hasAction||!!t.clientAction,element:t.element,errorElement:t.errorElement,handle:t.handle,hasErrorBoundary:!!t.errorElement,hydrateFallbackElement:t.hydrateFallbackElement,index:t.index,loader:t.hasLoader||!!t.clientLoader,path:t.path,shouldRevalidate:t.shouldRevalidate};return e.length>0&&(r.children=e),[r]},[]),a),i={future:{v8_middleware:!1,v8_trailingSlashAwareDataRequests:!0,v8_passThroughRequests:!0},isSpaMode:!1,ssr:!0,criticalCss:"",manifest:{routes:{},version:"1",url:"",entry:{module:"",imports:[]}},routeDiscovery:"initial"===r.routeDiscovery.mode?{mode:"initial",manifestPath:o5}:{mode:"lazy",manifestPath:r.routeDiscovery.manifestPath||o5},routeModules:function(e){let t={};for(let a of e.matches){var r=t,n=a;for(let e of n=Array.isArray(n)?n:[n])r[e.id]={links:e.links,meta:e.meta,default:o3}}return t}(r)};return d.createElement(tB.Provider,{value:!0},d.createElement(o1,{location:r.location},d.createElement(ac.Provider,{value:i},d.createElement(a1,{context:a,router:o,hydrate:!1,nonce:r.nonce}))))}function ie(e){if(!e)return null;let t=Object.entries(e),r={};for(let[e,n]of t)if(n&&"RouteErrorResponse"===n.__type)r[e]=new ef(n.status,n.statusText,n.data,!0===n.internal);else if(n&&"Error"===n.__type){if(n.__subType){let t=window[n.__subType];if("function"==typeof t)try{let a=new t(n.message);a.stack=n.stack,r[e]=a}catch(e){}}if(null==r[e]){let t=Error(n.message);t.stack=n.stack,r[e]=t}}else r[e]=n;return r}function it({state:e,routes:t,getRouteInfo:r,location:n,basename:a,isSpaMode:o}){let i={...e,loaderData:{...e.loaderData}},s=F(t,n,a);if(s)for(let e of s){let t=e.route.id,n=r(t);n7(t,n.clientLoader,n.hasLoader,o)&&(n.hasHydrateFallback||!n.hasLoader)?delete i.loaderData[t]:n.hasLoader||(i.loaderData[t]=null)}return i}var ir=r(4778);function ia(e){return d.createElement(rz,{flushSync:ir.flushSync,...e})}var io=null,ii=null;function is(e){ii||(ii=function({getContext:e,instrumentations:t}){let r;if(!io&&window.__reactRouterContext&&window.__reactRouterManifest&&window.__reactRouterRouteModules){if(!0===window.__reactRouterManifest.sri){let e=document.querySelector("script[rr-importmap]");if(e?.textContent)try{window.__reactRouterManifest.sri=JSON.parse(e.textContent).integrity}catch(e){console.error("Failed to parse import map",e)}}io={context:window.__reactRouterContext,manifest:window.__reactRouterManifest,routeModules:window.__reactRouterRouteModules,stateDecodingPromise:void 0,router:void 0,routerInitialized:!1}}if(!io)throw Error("You must be using the SSR features of React Router in order to skip passing a `router` prop to `<RouterProvider>`");let n=io;if(!io.stateDecodingPromise){let e=io.context.stream;x(e,"No stream found for single fetch decoding"),io.context.stream=void 0,io.stateDecodingPromise=nH(e,window).then(e=>{io.context.state=e.value,n.stateDecodingPromise.value=!0}).catch(e=>{n.stateDecodingPromise.error=e})}if(io.stateDecodingPromise.error)throw io.stateDecodingPromise.error;if(!io.stateDecodingPromise.value)throw io.stateDecodingPromise;let a=n3(io.manifest.routes,io.routeModules,io.context.state,io.context.ssr,io.context.isSpaMode);if(io.context.isSpaMode){let{loaderData:e}=io.context.state;io.manifest.routes.root?.hasLoader&&e&&"root"in e&&(r={loaderData:{root:e.root}})}else(r=it({state:io.context.state,routes:a,getRouteInfo:e=>({clientLoader:io.routeModules[e]?.clientLoader,hasLoader:io.manifest.routes[e]?.hasLoader===!0,hasHydrateFallback:io.routeModules[e]?.HydrateFallback!=null}),location:window.location,basename:window.__reactRouterContext?.basename,isSpaMode:io.context.isSpaMode}))&&r.errors&&(r.errors=ie(r.errors));window.history.state&&window.history.state.masked&&window.history.replaceState({...window.history.state,masked:void 0},"");let o=eH({routes:a,history:R(),basename:io.context.basename,getContext:e,hydrationData:r,hydrationRouteProperties:rF,instrumentations:t,mapRouteProperties:rj,future:{v8_passThroughRequests:io.context.future.v8_passThroughRequests},dataStrategy:n_(()=>o,io.manifest,io.routeModules,io.context.ssr,io.context.basename,io.context.future.v8_trailingSlashAwareDataRequests),patchRoutesOnNavigation:an(()=>o,io.manifest,io.routeModules,io.context.ssr,io.context.routeDiscovery,io.context.isSpaMode,io.context.basename)});return io.router=o,o.state.initialized&&(io.routerInitialized=!0,o.initialize()),o.createRoutesForHMR=n2,window.__reactRouterDataRouter=o,o}({getContext:e.getContext,instrumentations:e.instrumentations}));let[t,r]=d.useState(void 0);d.useEffect(()=>{},[]),d.useEffect(()=>{},[t]);let[n,a]=d.useState(ii.state.location);return d.useLayoutEffect(()=>{io&&io.router&&!io.routerInitialized&&(io.routerInitialized=!0,io.router.initialize())},[]),d.useLayoutEffect(()=>{if(io&&io.router)return io.router.subscribe(e=>{e.location!==n&&a(e.location)})},[n]),x(io,"ssrInfo unavailable for HydratedRouter"),aa(ii,io.manifest,io.routeModules,io.context.ssr,io.context.routeDiscovery,io.context.isSpaMode),d.createElement(d.Fragment,null,d.createElement(ac.Provider,{value:{manifest:io.manifest,routeModules:io.routeModules,future:io.context.future,criticalCss:t,ssr:io.context.ssr,isSpaMode:io.context.isSpaMode,routeDiscovery:io.context.routeDiscovery}},d.createElement(aR,{location:n},d.createElement(ia,{router:ii,useTransitions:e.useTransitions,onError:e.onError}))),d.createElement(d.Fragment,null))}}}]);