1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,244652,e=>{"use strict";var t=e.i(292719);e.s(["createProto",()=>t.create])},77197,(e,t,r)=>{var n=e.r(199905),a=e.r(351843),o=Object.prototype.hasOwnProperty;t.exports=a(function(e,t,r){o.call(e,r)?e[r].push(t):n(e,r,[t])})},110022,e=>{"use strict";e.i(98458);var t,r=e.i(657667);e.i(291280);var n=e.i(728355);let a=(0,r.fileDesc)("ChtjaGFsay9zZXJ2ZXIvdjEvYmF0Y2gucHJvdG8SD2NoYWxrLnNlcnZlci52MSKwAgoOUHJvZ3Jlc3NDb3VudHMSKQoFc3RhcnQYASABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjAKDG1heF9vYnNlcnZlZBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASGAoQdG90YWxfZHVyYXRpb25fcxgDIAEoARIVCg1zdG9yZWRfb25saW5lGAQgASgBEhYKDnN0b3JlZF9vZmZsaW5lGAUgASgBEhAKCGNvbXB1dGVkGAYgASgBEg8KB2Ryb3BwZWQYByABKAESDgoGZmFpbGVkGAggASgBEg8KB3NraXBwZWQYCSABKAESLAoDZW5kGAogASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEgAiAEBQgYKBF9lbmQijgEKEVJlc29sdmVyT3BlcmF0aW9uEhQKDHJlc29sdmVyX2ZxbhgBIAEoCRIwCgZzdGF0dXMYAiABKA4yIC5jaGFsay5zZXJ2ZXIudjEuT3BlcmF0aW9uU3RhdHVzEjEKCHByb2dyZXNzGAMgASgLMh8uY2hhbGsuc2VydmVyLnYxLlByb2dyZXNzQ291bnRzIqYCCg5CYXRjaE9wZXJhdGlvbhIKCgJpZBgBIAEoCRIsCgRraW5kGAIgASgOMh4uY2hhbGsuc2VydmVyLnYxLk9wZXJhdGlvbktpbmQSMAoGc3RhdHVzGAMgASgOMiAuY2hhbGsuc2VydmVyLnYxLk9wZXJhdGlvblN0YXR1cxI1CglyZXNvbHZlcnMYBCADKAsyIi5jaGFsay5zZXJ2ZXIudjEuUmVzb2x2ZXJPcGVyYXRpb24SMQoIcHJvZ3Jlc3MYBSABKAsyHy5jaGFsay5zZXJ2ZXIudjEuUHJvZ3Jlc3NDb3VudHMSFgoOZW52aXJvbm1lbnRfaWQYBiABKAkSDwoHdGVhbV9pZBgHIAEoCRIVCg1kZXBsb3ltZW50X2lkGAggASgJKmYKDU9wZXJhdGlvbktpbmQSHgoaT1BFUkFUSU9OX0tJTkRfVU5TUEVDSUZJRUQQABIXChNPUEVSQVRJT05fS0lORF9DUk9OEAESHAoYT1BFUkFUSU9OX0tJTkRfTUlHUkFUSU9OEAIq6AEKD09wZXJhdGlvblN0YXR1cxIgChxPUEVSQVRJT05fU1RBVFVTX1VOU1BFQ0lGSUVEEAASHAoYT1BFUkFUSU9OX1NUQVRVU19QRU5ESU5HEAESHAoYT1BFUkFUSU9OX1NUQVRVU19XT1JLSU5HEAISHQoZT1BFUkFUSU9OX1NUQVRVU19DT01QTEVURRADEhsKF09QRVJBVElPTl9TVEFUVVNfRkFJTEVEEAQSHAoYT1BFUkFUSU9OX1NUQVRVU19TS0lQUEVEEAUSHQoZT1BFUkFUSU9OX1NUQVRVU19DQU5DRUxFRBAGQhRaEnNlcnZlci92MTtzZXJ2ZXJ2MWIGcHJvdG8z",[n.file_google_protobuf_timestamp]);var o=((t={})[t.UNSPECIFIED=0]="UNSPECIFIED",t[t.PENDING=1]="PENDING",t[t.WORKING=2]="WORKING",t[t.COMPLETE=3]="COMPLETE",t[t.FAILED=4]="FAILED",t[t.SKIPPED=5]="SKIPPED",t[t.CANCELED=6]="CANCELED",t);e.s(["OperationStatus",()=>o,"file_chalk_server_v1_batch",0,a])},224276,(e,t,r)=>{"u">typeof self?self:e.e,t.exports=function(){var e=[function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExpressionDescriptor=void 0;var n=r(1),a=r(2);t.ExpressionDescriptor=function(){function e(t,r){this.expression=t,this.options=r,this.expressionParts=[,,,,,],e.locales[r.locale]?this.i18n=e.locales[r.locale]:(console.warn("Locale '"+r.locale+"' could not be found; falling back to 'en'."),this.i18n=e.locales.en),void 0===r.use24HourTimeFormat&&(r.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return e.toString=function(t,r){var n=void 0===r?{}:r,a=n.throwExceptionOnParseError,o=n.verbose,s=n.dayOfWeekStartIndexZero,i=n.monthStartIndexZero,u=n.use24HourTimeFormat,l=n.locale;return new e(t,{throwExceptionOnParseError:void 0===a||a,verbose:void 0!==o&&o,dayOfWeekStartIndexZero:void 0===s||s,monthStartIndexZero:void 0!==i&&i,use24HourTimeFormat:u,locale:void 0===l?"en":l}).getFullDescription()},e.initialize=function(t){e.specialCharacters=["/","-",",","*"],t.load(e.locales)},e.prototype.getFullDescription=function(){var e="";try{var t=new a.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);this.expressionParts=t.parse();var r=this.getTimeOfDayDescription(),n=this.getDayOfMonthDescription(),o=this.getMonthDescription(),s=this.getDayOfWeekDescription(),i=this.getYearDescription();e+=r+n+s+o+i,e=(e=this.transformVerbosity(e,this.options.verbose)).charAt(0).toLocaleUpperCase()+e.substr(1)}catch(t){if(this.options.throwExceptionOnParseError)throw""+t;e=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD()}return e},e.prototype.getTimeOfDayDescription=function(){var t=this.expressionParts[0],r=this.expressionParts[1],a=this.expressionParts[2],o="";if(n.StringUtilities.containsAny(r,e.specialCharacters)||n.StringUtilities.containsAny(a,e.specialCharacters)||n.StringUtilities.containsAny(t,e.specialCharacters))if(!(!t&&r.indexOf("-")>-1)||r.indexOf(",")>-1||r.indexOf("/")>-1||n.StringUtilities.containsAny(a,e.specialCharacters))if(!t&&a.indexOf(",")>-1&&-1==a.indexOf("-")&&-1==a.indexOf("/")&&!n.StringUtilities.containsAny(r,e.specialCharacters)){var s=a.split(",");o+=this.i18n.at();for(var i=0;i<s.length;i++)o+=" ",o+=this.formatTime(s[i],r,""),i<s.length-2&&(o+=","),i==s.length-2&&(o+=this.i18n.spaceAnd())}else{var u=this.getSecondsDescription(),l=this.getMinutesDescription(),c=this.getHoursDescription();if((o+=u).length>0&&l.length>0&&(o+=", "),o+=l,l===c)return o;o.length>0&&c.length>0&&(o+=", "),o+=c}else{var p=r.split("-");
1o+=n.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(a,p[0],""),this.formatTime(a,p[1],""))}else o+=this.i18n.atSpace()+this.formatTime(a,r,t);return o},e.prototype.getSecondsDescription=function(){var e=this;return this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),function(e){return e},function(t){return n.StringUtilities.format(e.i18n.everyX0Seconds(),t)},function(t){return e.i18n.secondsX0ThroughX1PastTheMinute()},function(t){return"0"==t?"":20>parseInt(t)?e.i18n.atX0SecondsPastTheMinute():e.i18n.atX0SecondsPastTheMinuteGt20()||e.i18n.atX0SecondsPastTheMinute()})},e.prototype.getMinutesDescription=function(){var e=this,t=this.expressionParts[0],r=this.expressionParts[2];return this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),function(e){return e},function(t){return n.StringUtilities.format(e.i18n.everyX0Minutes(),t)},function(t){return e.i18n.minutesX0ThroughX1PastTheHour()},function(n){try{return"0"==n&&-1==r.indexOf("/")&&""==t?e.i18n.everyHour():20>parseInt(n)?e.i18n.atX0MinutesPastTheHour():e.i18n.atX0MinutesPastTheHourGt20()||e.i18n.atX0MinutesPastTheHour()}catch(t){return e.i18n.atX0MinutesPastTheHour()}})},e.prototype.getHoursDescription=function(){var e=this,t=this.expressionParts[2];return this.getSegmentDescription(t,this.i18n.everyHour(),function(t){return e.formatTime(t,"0","")},function(t){return n.StringUtilities.format(e.i18n.everyX0Hours(),t)},function(t){return e.i18n.betweenX0AndX1()},function(t){return e.i18n.atX0()})},e.prototype.getDayOfWeekDescription=function(){var e=this,t=this.i18n.daysOfTheWeek();return"*"==this.expressionParts[5]?"":this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),function(e){var r=e;return e.indexOf("#")>-1?r=e.substr(0,e.indexOf("#")):e.indexOf("L")>-1&&(r=r.replace("L","")),t[parseInt(r)]},function(t){return 1==parseInt(t)?"":n.StringUtilities.format(e.i18n.commaEveryX0DaysOfTheWeek(),t)},function(t){return e.i18n.commaX0ThroughX1()},function(t){var r=null;if(t.indexOf("#")>-1){var n=t.substring(t.indexOf("#")+1),a=null;switch(n){case"1":a=e.i18n.first();break;case"2":a=e.i18n.second();break;case"3":a=e.i18n.third();break;case"4":a=e.i18n.fourth();break;case"5":a=e.i18n.fifth()}r=e.i18n.commaOnThe()+a+e.i18n.spaceX0OfTheMonth()}else r=t.indexOf("L")>-1?e.i18n.commaOnTheLastX0OfTheMonth():"*"!=e.expressionParts[3]?e.i18n.commaAndOnX0():e.i18n.commaOnlyOnX0();return r})},e.prototype.getMonthDescription=function(){var e=this,t=this.i18n.monthsOfTheYear();return this.getSegmentDescription(this.expressionParts[4],"",function(e){return t[parseInt(e)-1]},function(t){return 1==parseInt(t)?"":n.StringUtilities.format(e.i18n.commaEveryX0Months(),t)},function(t){return e.i18n.commaMonthX0ThroughMonthX1()||e.i18n.commaX0ThroughX1()},function(t){return e.i18n.commaOnlyInMonthX0?e.i18n.commaOnlyInMonthX0():e.i18n.commaOnlyInX0()})},e.prototype.getDayOfMonthDescription=function(){var e=this,t=null,r=this.expressionParts[3];switch(r){case"L":t=this.i18n.commaOnTheLastDayOfTheMonth();break;case"WL":case"LW":t=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var a=r.match(/(\d{1,2}W)|(W\d{1,2})/);if(a){var o=parseInt(a[0].replace("W","")),s=1==o?this.i18n.firstWeekday():n.StringUtilities.format(this.i18n.weekdayNearestDayX0(),o.toString());t=n.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),s)}else{var i=r.match(/L-(\d{1,2})/);if(i){var u=i[1];t=n.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(),u)}else{if("*"==r&&"*"!=this.expressionParts[5])return"";t=this.getSegmentDescription(r,this.i18n.commaEveryDay(),function(t){return"L"==t?e.i18n.lastDay():e.i18n.dayX0?n.StringUtilities.format(e.i18n.dayX0(),t):t},function(t){return"1"==t?e.i18n.commaEveryDay():e.i18n.commaEveryX0Days()},function(t){return e.i18n.commaBetweenDayX0AndX1OfTheMonth()},function(t){return e.i18n.commaOnDayX0OfTheMonth()})}}}return t},e.prototype.getYearDescription=function(){var e=this;return this.getSegmentDescription(this.expressionParts[6],"",function(e){return/^\d+$/.test(e)?new Date(parseInt(e),1).getFullYear().toString():e},function(t){return n.StringUtilities.format(e.i18n.commaEveryX0Years(),t)},function(t){return e.i18n.commaYearX0ThroughYearX1()||e.i18n.commaX0ThroughX1()},function(t){return e.i18n.commaOnlyInYearX0?e.i18n.commaOnlyInYearX0():e.i18n.commaOnlyInX0()})},e.prototype.getSegmentDescription=function(e,t,r,a,o,s){var i=null,u=e.indexOf("/")>-1,l=e.indexOf("-")>-1,c=e.indexOf(",")>-1;if(e)if("*"===e)i=t;else if(u||l||c)if(c){for(var p=e.split(","),f="",h=0;h<p.length;h++)if(h>0&&p.length>2&&(f+=",",h<p.length-1&&(f+=" ")),h>
10&&p.length>1&&(h==p.length-1||2==p.length)&&(f+=this.i18n.spaceAnd()+" "),p[h].indexOf("/")>-1||p[h].indexOf("-")>-1){var d=p[h].indexOf("-")>-1&&-1==p[h].indexOf("/"),m=this.getSegmentDescription(p[h],t,r,a,d?this.i18n.commaX0ThroughX1:o,s);d&&(m=m.replace(", ","")),f+=m}else u?f+=this.getSegmentDescription(p[h],t,r,a,o,s):f+=r(p[h]);i=u?f:n.StringUtilities.format(s(e),f)}else if(u){var p=e.split("/");if(i=n.StringUtilities.format(a(p[1]),p[1]),p[0].indexOf("-")>-1){var y=this.generateRangeSegmentDescription(p[0],o,r);0!=y.indexOf(", ")&&(i+=", "),i+=y}else if(-1==p[0].indexOf("*")){var v=n.StringUtilities.format(s(p[0]),r(p[0]));v=v.replace(", ",""),i+=n.StringUtilities.format(this.i18n.commaStartingX0(),v)}}else l&&(i=this.generateRangeSegmentDescription(e,o,r));else i=n.StringUtilities.format(s(e),r(e));else i="";return i},e.prototype.generateRangeSegmentDescription=function(e,t,r){var a="",o=e.split("-"),s=r(o[0]),i=r(o[1]);i=i.replace(":00",":59");var u=t(e);return a+n.StringUtilities.format(u,s,i)},e.prototype.formatTime=function(e,t,r){var n=parseInt(e),a="",o=!1;this.options.use24HourTimeFormat||(a=(o=this.i18n.setPeriodBeforeTime&&this.i18n.setPeriodBeforeTime())?this.getPeriod(n)+" ":" "+this.getPeriod(n),n>12&&(n-=12),0===n&&(n=12));var s="";return r&&(s=":"+("00"+r).substring(r.length)),""+(o?a:"")+("00"+n.toString()).substring(n.toString().length)+":"+("00"+t.toString()).substring(t.toString().length)+s+(o?"":a)},e.prototype.transformVerbosity=function(e,t){return t||(e=(e=(e=(e=e.replace(RegExp(", "+this.i18n.everyMinute(),"g"),"")).replace(RegExp(", "+this.i18n.everyHour(),"g"),"")).replace(RegExp(this.i18n.commaEveryDay(),"g"),"")).replace(/\, ?$/,"")),e},e.prototype.getPeriod=function(e){return e>=12?this.i18n.pm&&this.i18n.pm()||"PM":this.i18n.am&&this.i18n.am()||"AM"},e.locales={},e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StringUtilities=void 0,t.StringUtilities=function(){function e(){}return e.format=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return e.replace(/%s/g,function(){return t.shift()})},e.containsAny=function(e,t){return t.some(function(t){return e.indexOf(t)>-1})},e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CronParser=void 0;var n=r(3);t.CronParser=function(){function e(e,t,r){void 0===t&&(t=!0),void 0===r&&(r=!1),this.expression=e,this.dayOfWeekStartIndexZero=t,this.monthStartIndexZero=r}return e.prototype.parse=function(){var e=this.extractParts(this.expression);return this.normalize(e),this.validate(e),e},e.prototype.extractParts=function(e){if(!this.expression)throw Error("Expression is empty");var t=e.trim().split(/[ ]+/);if(t.length<5)throw Error("Expression has only "+t.length+" part"+(1==t.length?"":"s")+". At least 5 parts are required.");if(5==t.length)t.unshift(""),t.push("");else if(6==t.length)/\d{4}$/.test(t[5])||"?"==t[4]||"?"==t[2]?t.unshift(""):t.push("");else if(t.length>7)throw Error("Expression has "+t.length+" parts; too many!");return t},e.prototype.normalize=function(e){var t=this;if(e[3]=e[3].replace("?","*"),e[5]=e[5].replace("?","*"),e[2]=e[2].replace("?","*"),0==e[0].indexOf("0/")&&(e[0]=e[0].replace("0/","*/")),0==e[1].indexOf("0/")&&(e[1]=e[1].replace("0/","*/")),0==e[2].indexOf("0/")&&(e[2]=e[2].replace("0/","*/")),0==e[3].indexOf("1/")&&(e[3]=e[3].replace("1/","*/")),0==e[4].indexOf("1/")&&(e[4]=e[4].replace("1/","*/")),0==e[6].indexOf("1/")&&(e[6]=e[6].replace("1/","*/")),e[5]=e[5].replace(/(^\d)|([^#/\s]\d)/g,function(e){var r=e.replace(/\D/,""),n=r;return t.dayOfWeekStartIndexZero?"7"==r&&(n="0"):n=(parseInt(r)-1).toString(),e.replace(r,n)}),"L"==e[5]&&(e[5]="6"),"?"==e[3]&&(e[3]="*"),e[3].indexOf("W")>-1&&(e[3].indexOf(",")>-1||e[3].indexOf("-")>-1))throw 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 r={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var n in r)e[5]=e[5].replace(RegExp(n,"gi"),r[n].toString());e[4]=e[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,function(e){var r=e.replace(/\D/,""),n=r;return t.monthStartIndexZero&&(n=(parseInt(r)+1).toString()),e.replace(r,n)});var a={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 o in a)e[4]=e[4].replace(RegExp(o,"gi"),a[o].toString());"0"==e[0]&&(e[0]=""),!/\*|\-|\,|\//.test(e[2])&&(/\*|\//.test(e[1])||/\*|\//.test(e[0]))&&(e[2]+="-"+e[2]);for(var s=0;s<e.length;s++)if(-1!=e[s].indexOf(",")&&(e[s]=e[s].split(",").filter(function(e){return""!==e}).join(",")||"*"),"*/1"==e[s]&&(e[s]="*"),e[s].indexOf("/")>-1&&!/^\*|\-|\,/.test(e[s])){var i=null;switch(s){case 4:i="12";break;case 5:i="6";break;case 6:i="9999";break;default:i=null}if(null!=i){var u=e[s].split("/");e[s]=u[0]+"-"+i+"/"+u[1]}}},e.prototype.validate=function(e){this.assertNoInvalidCharacters("DOW",e[5]),this.assertNoInvalidCharacters("DOM",e[3]),this.validateRange(e)},e.prototype.validateRange=function(e){n.default.secondRange(e[0]),n.default.minuteRange(e[1]),n.default.hourRange(e[2]),n.default.dayOfMonthRange(e[3]),n.default.monthRange(e[4],this.monthStartIndexZero),n.default.dayOfWeekRange(e[5],this.dayOfWeekStartIndexZero)},e.prototype.assertNoInvalidCharacters=function(e,t){var r=t.match(/[A-KM-VX-Z]+/gi);
1if(r&&r.length)throw Error(e+" part contains invalid values: '"+r.toString()+"'")},e}()},function(e,t,r){"use strict";function n(e,t){if(!e)throw Error(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(){}return e.secondRange=function(e){for(var t=e.split(","),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var a=parseInt(t[r],10);n(a>=0&&a<=59,"seconds part must be >= 0 and <= 59")}},e.minuteRange=function(e){for(var t=e.split(","),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var a=parseInt(t[r],10);n(a>=0&&a<=59,"minutes part must be >= 0 and <= 59")}},e.hourRange=function(e){for(var t=e.split(","),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var a=parseInt(t[r],10);n(a>=0&&a<=23,"hours part must be >= 0 and <= 23")}},e.dayOfMonthRange=function(e){for(var t=e.split(","),r=0;r<t.length;r++)if(!isNaN(parseInt(t[r],10))){var a=parseInt(t[r],10);n(a>=1&&a<=31,"DOM part must be >= 1 and <= 31")}},e.monthRange=function(e,t){for(var r=e.split(","),a=0;a<r.length;a++)if(!isNaN(parseInt(r[a],10))){var o=parseInt(r[a],10);n(o>=1&&o<=12,t?"month part must be >= 0 and <= 11":"month part must be >= 1 and <= 12")}},e.dayOfWeekRange=function(e,t){for(var r=e.split(","),a=0;a<r.length;a++)if(!isNaN(parseInt(r[a],10))){var o=parseInt(r[a],10);n(o>=0&&o<=6,t?"DOW part must be >= 0 and <= 6":"DOW part must be >= 1 and <= 7")}},e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.en=void 0,t.en=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"An error occured when generating the expression description. Check the cron expression syntax."},e.prototype.everyMinute=function(){return"every minute"},e.prototype.everyHour=function(){return"every hour"},e.prototype.atSpace=function(){return"At "},e.prototype.everyMinuteBetweenX0AndX1=function(){return"Every minute between %s and %s"},e.prototype.at=function(){return"At"},e.prototype.spaceAnd=function(){return" and"},e.prototype.everySecond=function(){return"every second"},e.prototype.everyX0Seconds=function(){return"every %s seconds"},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return"seconds %s through %s past the minute"},e.prototype.atX0SecondsPastTheMinute=function(){return"at %s seconds past the minute"},e.prototype.everyX0Minutes=function(){return"every %s minutes"},e.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"},e.prototype.atX0MinutesPastTheHour=function(){return"at %s minutes past the hour"},e.prototype.everyX0Hours=function(){return"every %s hours"},e.prototype.betweenX0AndX1=function(){return"between %s and %s"},e.prototype.atX0=function(){return"at %s"},e.prototype.commaEveryDay=function(){return", every day"},e.prototype.commaEveryX0DaysOfTheWeek=function(){return", every %s days of the week"},e.prototype.commaX0ThroughX1=function(){return", %s through %s"},e.prototype.first=function(){return"first"},e.prototype.second=function(){return"second"},e.prototype.third=function(){return"third"},e.prototype.fourth=function(){return"fourth"},e.prototype.fifth=function(){return"fifth"},e.prototype.commaOnThe=function(){return", on the "},e.prototype.spaceX0OfTheMonth=function(){return" %s of the month"},e.prototype.lastDay=function(){return"the last day"},e.prototype.commaOnTheLastX0OfTheMonth=function(){return", on the last %s of the month"},e.prototype.commaOnlyOnX0=function(){return", only on %s"},e.prototype.commaAndOnX0=function(){return", and on %s"},e.prototype.commaEveryX0Months=function(){return", every %s months"},e.prototype.commaOnlyInX0=function(){return", only in %s"},e.prototype.commaOnTheLastDayOfTheMonth=function(){return", on the last day of the month"},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", on the last weekday of the month"},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s days before the last day of the month"},e.prototype.firstWeekday=function(){return"first weekday"},e.prototype.weekdayNearestDayX0=function(){return"weekday nearest day %s"},e.prototype.commaOnTheX0OfTheMonth=function(){return", on the %s of the month"},e.prototype.commaEveryX0Days=function(){return", every %s days"},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", between day %s and %s of the month"},e.prototype.commaOnDayX0OfTheMonth=function(){return", on day %s of the month"},e.prototype.commaEveryHour=function(){return", every hour"},e.prototype.commaEveryX0Years=function(){return", every %s years"},e.prototype.commaStartingX0=function(){return", starting %s"},e.prototype.daysOfTheWeek=function(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"]},e.prototype.monthsOfTheYear=function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]},e}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toString=void 0;var n=r(0),a=r(6);n.ExpressionDescriptor.initialize(new a.enLocaleLoader),t.default=n.ExpressionDescriptor,t.toString=n.ExpressionDescriptor.toString},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.enLocaleLoader=void 0;var n=r(4);t.enLocaleLoader=function(){function e(){}return e.prototype.load=function(e){e.en=new n.en},e}()}],t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,(function(t){return e[t]}).bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=5)}()},976505,e=>{"use strict";var t=e.i(110022);e.i(396523);var r=e.i(224276);function n(e){try{if(5===e.split(" ").length)return r.default.toString(e);return null}catch{return null}}e.s(["cronSecondsToSchedule",0,function(e){if(e<60||e%60!=0)return null;let t=e/60;if(t<60)return`*/${t} * * * *`;if(60===t)return"0 * * * *";if(t%60!=0)return null;let r=t/60;return r<24?`0 */${r} * * *`:24===r?"0 0 * * *":null},"describeCronSchedule",0,n,"getRunStatus",0,e=>e.batch?.status??t.OperationStatus.PENDING,"safeParseCronSchedule",0,function(e){let t=n(e);return null!=t?`${t} (UTC)`:null}])},75566,e=>{"use strict";var t,r,n,a,o=((t={}).online="online",t.offline="offline",t.stream="stream",t.sink="sink",t.unknown="unknown",t),s=((r={}).resolver="resolver",r.streamResolver="streamResolver",r.sinkResolver="sinkResolver",r),i=((n={}).bigquery="bigquery",n.cloudsql="cloudsql",n.databricks="databricks",n.mysql="mysql",n.mssql="mssql",n.postgres="postgres",n.redshift="redshift",n.snowflake="snowflake",n.sqlite="sqlite",n.spanner="spanner",n.trino="trino",n.dynamodb="dynamodb",n.athena="athena",n.clickhouse="clickhouse",n.unknown="unknown",n),u=((a={}).kafka="kafka",a.kinesis="kinesis",a.pubsub="pubsub",a.unknown="unknown",a);e.s(["ResolverInterfaceCategory",()=>s,"ResolverInterfaceContext",()=>o,"ResolverInterfaceDatasourceKind",()=>i,"StreamResolverInterfaceDatasourceKind",()=>u])},506383,e=>{"use strict";var t=e.i(279092),r=e.i(668999),n=e.i(540915),a=e.i(427295),o=e.i(530447),s=e.i(75566),i=e.i(26928),u=e.i(175479),l=e.i(829410);function c(e){return"__chalk_fk_singleton__"===e||"__chalk_observed_at__"===e}function p(e){return c(e.type.value.name)}function f(e){return void 0!==e.type.case&&void 0!==e.type.value}function h(e){return`${e.type.value.namespace}.${e.type.value.name}`}let d=new RegExp(/@\d+$/);function m(e){let t=e.match(d);return null==t?1:Number(t[0].replace("@",""))}function y(e){return e.replace(u.windowPeriodAtEndRegex,"$2")}function v(e){return y(h(e))}function g(e){return h(e).replace(d,"")}function S(e){return`${e.namespace}.${e.name}`}function O(e){switch(e){case r.DatabaseSourceType.UNSPECIFIED:return s.ResolverInterfaceDatasourceKind.unknown;case r.DatabaseSourceType.BIGQUERY:return s.ResolverInterfaceDatasourceKind.bigquery;case r.DatabaseSourceType.CLOUDSQL:return s.ResolverInterfaceDatasourceKind.cloudsql;case r.DatabaseSourceType.DATABRICKS:return s.ResolverInterfaceDatasourceKind.databricks;case r.DatabaseSourceType.MYSQL:return s.ResolverInterfaceDatasourceKind.mysql;case r.DatabaseSourceType.POSTGRES:return s.ResolverInterfaceDatasourceKind.postgres;case r.DatabaseSourceType.REDSHIFT:return s.ResolverInterfaceDatasourceKind.redshift;case r.DatabaseSourceType.SNOWFLAKE:return s.ResolverInterfaceDatasourceKind.snowflake;case r.DatabaseSourceType.SQLITE:return s.ResolverInterfaceDatasourceKind.sqlite;case r.DatabaseSourceType.SPANNER:return s.ResolverInterfaceDatasourceKind.spanner;case r.DatabaseSourceType.TRINO:return s.ResolverInterfaceDatasourceKind.trino;case r.DatabaseSourceType.DYNAMODB:return s.ResolverInterfaceDatasourceKind.dynamodb;case r.DatabaseSourceType.ATHENA:return s.ResolverInterfaceDatasourceKind.athena;case r.DatabaseSourceType.CLICKHOUSE:return s.ResolverInterfaceDatasourceKind.clickhouse;case r.DatabaseSourceType.MSSQL:return s.ResolverInterfaceDatasourceKind.mssql;
1default:return(0,n.compileOnlyAssertNever)(e),s.ResolverInterfaceDatasourceKind.unknown}}e.s(["datasourceV1KindToDatasourceV2Kind",0,O,"featureTypeDefinedToInterfaceFeature",0,function(e,t,r,o){return{fqn:h(e),name:e.type.value.name,namespace:e.type.value.namespace,description:function e(t,r){switch(t.type.case){case"scalar":case"hasOne":case"hasMany":case"featureTime":case"groupBy":return t?.type?.value?.description;case"windowed":{let n=r[h(t)]?.at(0);return n?e(n,r):void 0}default:(0,n.compileOnlyAssertNever)(t.type);return}}(e,r),featureClassDescription:t.doc,sourceFileReference:t.sourceFileReference,tags:(0,l.default)((t.tags??[]).concat(function e(t,r){switch(t.type.case){case"scalar":case"hasOne":case"featureTime":case"hasMany":case"groupBy":return t.type.value.tags;case"windowed":{let n=r[h(t)]?.at(0);return n?e(n,r):[]}default:return(0,n.compileOnlyAssertNever)(t.type),[]}}(e,r))),kind:function(e,t,r){switch(e.type.case){case"scalar":{let t=r[g(e)];return{type:"scalar",isPrimary:e.type.value.isPrimary,defaultValue:e.type.value.defaultValue,version:null!=e.type.value.version?{maximum:e.type.value.version.maximum,default:e.type.value.version.default,version:m(e.type.value.name),versions:t?.map(e=>h(e))??[]}:void 0,typeInfo:e.type.value.arrowType?{arrowType:e.type.value.arrowType,isNullable:e.type.value.isNullable}:void 0,expression:e.type.value.expression,isDeprecated:e.type.value.isDeprecated,isWindowedChild:null!=e.type.value.windowInfo||u.windowPeriodAtEndRegex.test(e.type.value.name),windowInfo:e.type.value.windowInfo}}case"hasOne":return{type:"hasOne",foreignNamespace:e.type.value.foreignNamespace,join:e.type.value.join};case"hasMany":return{type:"hasMany",foreignNamespace:e.type.value.foreignNamespace,join:e.type.value.join};case"featureTime":return{type:"featureTime"};case"groupBy":return{type:"groupBy",defaultValue:e.type.value.defaultValue,typeInfo:e.type.value.arrowType?{arrowType:e.type.value.arrowType,isNullable:e.type.value.isNullable}:void 0,expression:e.type.value.expression};case"windowed":{let n=t[v(e)],a=r[g(e)],o=n?.at(0)?.type.value;return{type:"windowed",typeInfo:o?.arrowType?{arrowType:o.arrowType,isNullable:o.isNullable}:void 0,expression:o?.expression,version:null!=e.type.value.version?{maximum:e.type.value.version.maximum,default:e.type.value.version.default,version:m(e.type.value.name),versions:a?.map(e=>h(e))??[]}:void 0,windowDurations:e.type.value.windowDurations.map(e=>Number(e.seconds)),windowedChildFqns:n?.map(e=>h(e))??[],windowInfo:o?.windowInfo}}default:return(0,n.assertNever)(e.type)}}(e,r,o),isAutogenerated:function(e){switch(e.type.case){case"scalar":case"hasOne":case"hasMany":case"featureTime":case"windowed":return e.type.value.isAutogenerated;case"groupBy":return;default:(0,n.compileOnlyAssertNever)(e.type);return}}(e),isNullable:function(e){switch(e.type.case){case"scalar":case"hasOne":case"groupBy":return e.type.value.isNullable;case"windowed":case"hasMany":case"featureTime":return;default:(0,n.compileOnlyAssertNever)(e.type);return}}(e),etlOfflineToOnline:function(e){switch(e.type.case){case"scalar":return e.type.value.etlOfflineToOnline;case"groupBy":case"windowed":case"featureTime":case"hasMany":case"hasOne":return;default:(0,n.compileOnlyAssertNever)(e.type);return}}(e)??t.etlOfflineToOnline,owner:function(e){switch(e.type.case){case"scalar":case"hasOne":case"hasMany":case"featureTime":case"groupBy":return e.type.value.owner;case"windowed":return;default:(0,n.compileOnlyAssertNever)(e.type);return}}(e)??t.owner,maxStaleness:function(e){switch(e.type.case){case"scalar":case"hasMany":return(0,i.omap)(e.type.value.maxStalenessDuration?.seconds,e=>(0,a.prettyFormatDurationSeconds)(Number(e)));case"hasOne":case"featureTime":case"groupBy":case"windowed":return;default:(0,n.compileOnlyAssertNever)(e.type);return}}(e)??(0,i.omap)(t.maxStalenessDuration?.seconds,e=>(0,a.prettyFormatDurationSeconds)(Number(e)))}},"fqnFromFeatureReference",0,S,"fqnFromFeatureTypeDefined",0,h,"getResolverInterfaceInputsFromResolverProtoInputs",0,function(e){return e.filter(e=>null!=e.annotation.case).map(e=>{switch(e.annotation.case){case"feature":return null!=e.annotation.value.feature?{type:"feature",fqn:S(e.annotation.value.feature)}:void 0;case"df":return{type:"dataframe",columns:e.annotation.value.optionalColumns.map(e=>S(e)).concat(e.annotation.value.requiredColumns.map(e=>S(e)))};case"state":return{type:"state",initial:e.annotation.value.initial};
1default:(0,n.compileOnlyAssertNever)(e.annotation);return}}).filter(o.isDefined)},"getResolverInterfaceOutputsFromResolverProtoOutputs",0,function(e){return e.filter(e=>null!=e.annotation.case).map(e=>{switch(e.annotation.case){case"feature":return{type:"feature",fqn:S(e.annotation.value)};case"df":return{type:"dataframe",columns:e.annotation.value.optionalColumns.map(e=>S(e)).concat(e.annotation.value.requiredColumns.map(e=>S(e)))};default:(0,n.compileOnlyAssertNever)(e.annotation);return}}).filter(o.isDefined)},"getStreamResolverParamsFromStreamResolverProto",0,function(e){return e.filter(e=>null!=e.type.case).map(e=>{switch(e.type.case){case"message":return{type:"message",name:e.type.value.name};case"messageWindow":return{type:"message_window",name:e.type.value.name};case"state":return{type:"state",initial:e.type.value.initial,name:void 0};default:(0,n.compileOnlyAssertNever)(e.type);return}}).filter(o.isDefined)},"isFeatureFqnSingletonOrOat",0,c,"isFeatureTypeDefined",0,f,"isFeatureTypeNoDisplay",0,function(e){return("scalar"===e.type.case||"windowed"===e.type.case)&&e.type.value.noDisplay},"isFeatureTypeSingletonOrOat",0,p,"isWideTableColumnFeature",0,function(e){if(!f(e)||"scalar"!==e.type.case||p(e))return!1;let t=e.type.value;return!t.isPrimary&&!t.isDistancePseudofeature&&!1!==t.storeOffline},"preferentiallyGetResolverDatasources",0,function(e){let t=new Set,r=[];return e.dataSourcesV2.forEach(e=>{r.push({kind:e.sourceType,name:e.name}),t.add(e.name)}),e.dataSources.forEach(e=>{t.has(e.name)||r.push({kind:O(e.type),name:e.name})}),r},"resolverConversionFromProto",0,function(e){if(null==e)return;let t=e.result;switch(t.case){case"success":return{kind:"success",outputs:t.value.outputs.map(e=>({featureFqn:e.outputFeatureFqn,fallible:e.fallible,rootRef:e.rootRef}))};case"failure":{let e=t.value,r=void 0!==e.uri||void 0!==e.line||void 0!==e.character||void 0!==e.endLine||void 0!==e.endCharacter?{uri:e.uri,line:e.line,character:e.character,endLine:e.endLine,endCharacter:e.endCharacter}:void 0;return{kind:"failure",message:e.message,source:r}}case void 0:return;default:(0,n.compileOnlyAssertNever)(t);return}},"resolverKindToResolverInterfaceContext",0,function(e){switch(e){case t.ResolverKind.ONLINE:return s.ResolverInterfaceContext.online;case t.ResolverKind.OFFLINE:return s.ResolverInterfaceContext.offline;case t.ResolverKind.UNSPECIFIED:return s.ResolverInterfaceContext.unknown;default:return(0,n.compileOnlyAssertNever)(e),s.ResolverInterfaceContext.unknown}},"versionedParentFqnFromFeatureTypeDefined",0,g,"windowedParentFqnFromChildFqn",0,y,"windowedParentFqnFromFeatureTypeDefined",0,v])},90947,e=>{"use strict";var t=e.i(279092),r=e.i(540915),n=e.i(427295),a=e.i(285343),o=e.i(530447),s=e.i(75566),i=e.i(506383),u=e.i(26928),l=e.i(246837),c=e.i(175479),p=e.i(77197),f=e.i(849499),h=e.i(576454),d=e.i(610049),m=e.i(976505);e.i(244927);var y=e.i(244652);e.s(["ProtoGraph",0,class{graph;graphExport;allFeatures;featuresByFQN;featuresByNamespace;allResolvers;rawResolversByShortName;resolversByShortName;_resolverFQNsByOutputFeatureMap;_windowedFamiliesByKey=null;_symbolicValueExplicits=null;_materializedFeatureViewsByNamespace=null;_wideTableFeatureCountByNamespace=null;constructor(e){for(const r of(this.graphExport=e,this.graph=null!=e.graph?e.graph:(0,y.createProto)(t.GraphSchema),this.allFeatures=[],this.graph.featureSets.forEach(e=>{let t=e.features.filter(e=>(0,i.isFeatureTypeDefined)(e)&&!(0,i.isFeatureTypeSingletonOrOat)(e)&&!(0,i.isFeatureTypeNoDisplay)(e)),{windowed:r,versioned:n}=t.reduce((e,t)=>{if("scalar"!==t.type.case&&"windowed"!==t.type.case)return e;if(c.windowPeriodAtEndRegex.test(t.type.value.name)){let r=(0,i.windowedParentFqnFromFeatureTypeDefined)(t);e.windowed[r]??=[],e.windowed[r].push(t)}if(null!=t.type.value.version){let r=(0,i.versionedParentFqnFromFeatureTypeDefined)(t);e.versioned[r]||(e.versioned[r]=[]),e.versioned[r].push(t)}return e},{windowed:{},versioned:{}});t.forEach(t=>{this.allFeatures.push((0,i.featureTypeDefinedToInterfaceFeature)(t,e,r,n))})}),this.featuresByFQN=(0,f.default)(this.allFeatures,e=>e.fqn),this.featuresByNamespace=(0,p.default)(this.allFeatures,e=>e.namespace),this.allResolvers=this.graph.resolvers.map(e=>this.resolverToResolverInterface(e)).concat(this.graph.streamResolvers.map(e=>this.streamResolverToResolverInterface(e))),this.rawResolversByShortName=(0,f.default)(this.graph.resolvers,e=>(0,l.fqnToName)(e.fqn)),this.graph.streamResolvers))this.rawResolversByShortName[(0,l.fqnToName)(r.fqn)]=r;this.resolversByShortName=(0,f.default)(this.allResolvers,e=>e.shortName),this._resolverFQNsByOutputFeatureMap=null}get resolverFQNsByOutputFeatureMap(){if(!this._resolverFQNsByOutputFeatureMap)for(let e of(this._resolverFQNsByOutputFeatureMap={},[...this.graph.resolvers,...this.graph.streamResolvers]))for(let t of this.getFeaturesProducedByResolver(e.fqn))this._resolverFQNsByOutputFeatureMap[t.fqn]??=[],this._resolverFQNsByOutputFeatureMap[t.fqn]?.push(e.fqn);return this._resolverFQNsByOutputFeatureMap}_getRawFeature(e){for(let t of this.graph.featureSets){let r=t.features.find(t=>(0,i.fqnFromFeatureTypeDefined)(t)===e);if(r)return r}}_getRawResolver(e){let t=(0,l.fqnToName)(e);return this.rawResolversByShortName[t]}streamResolverToResolverInterface(e){return{...e,context:s.ResolverInterfaceContext.stream,n
1amespace:this.getResolverNamespace(e),shortName:(0,l.fqnToName)(e.fqn),functionDefinition:e.function?.functionDefinition,sourceLine:e.function?.sourceLine,filename:e.function?.fileName,category:s.ResolverInterfaceCategory.streamResolver,params:(0,i.getStreamResolverParamsFromStreamResolverProto)(e.params),streamSource:(0,u.omap)(e.sourceV2,e=>({kind:e.sourceType,name:e.name})),outputs:(0,i.getResolverInterfaceOutputsFromResolverProtoOutputs)(e.outputs),parseInfo:e.parseInfo}}resolverToResolverInterface(e){let t,r=e.schedule?.schedule;return r?.case==="crontab"?t=r.value:r?.case==="duration"&&(t=(0,m.cronSecondsToSchedule)(Number(r.value.seconds))??void 0),{...e,context:(0,i.resolverKindToResolverInterfaceContext)(e.kind),namespace:this.getResolverNamespace(e),shortName:(0,l.fqnToName)(e.fqn),functionDefinition:e.function?.functionDefinition,sourceLine:e.function?.sourceLine,filename:e.function?.fileName,category:s.ResolverInterfaceCategory.resolver,datasources:(0,i.preferentiallyGetResolverDatasources)(e),crontab:t,cron:e.schedule?.schedule.case==="duration"?(0,n.prettyFormatDurationSeconds)(Number(e.schedule.schedule.value.seconds)):void 0,outputs:(0,i.getResolverInterfaceOutputsFromResolverProtoOutputs)(e.outputs),inputs:(0,i.getResolverInterfaceInputsFromResolverProtoInputs)(e.inputs),conversion:(0,i.resolverConversionFromProto)(e.converted)}}getResolverOutputFQNs(e){return e.outputs.flatMap(e=>{switch(e.annotation.case){case"feature":return[(0,i.fqnFromFeatureReference)(e.annotation.value)];case"df":return e.annotation.value.optionalColumns.map(e=>(0,i.fqnFromFeatureReference)(e)).concat(e.annotation.value.requiredColumns.map(e=>(0,i.fqnFromFeatureReference)(e)));case void 0:return[];default:return(0,r.compileOnlyAssertNever)(e.annotation),[]}})}windowedParentForFQN(e){return this.featuresByFQN[(0,i.windowedParentFqnFromChildFqn)(e)]}getResolverNamespace(e){return"inputs"in e&&e.inputs.length>0?this.getResolverNamespaceFromInputs(e.inputs):e.outputs.length>0?this.getResolverNamespaceFromOutputs(e.outputs):"<no-inputs-or-outputs>"}getResolverNamespaceFromInputs(e){let t=e[0];switch(t.annotation.case){case"feature":return t.annotation.value.feature?.namespace??"<unknown-feature>";case"df":return t.annotation.value.rootNamespace;case"state":return"<state-resolver>";case void 0:return"<undefined>";default:return(0,r.compileOnlyAssertNever)(t.annotation),"<unknown>"}}getResolverNamespaceFromOutputs(e){let t=e[0];switch(t.annotation.case){case"feature":return t.annotation.value.namespace;case"df":return t.annotation.value.rootNamespace;case void 0:return"<undefined>";default:return(0,r.compileOnlyAssertNever)(t.annotation),"<unknown>"}}getFeature(e){return function(e,t){let r=t[e];if(r)return r;let n=e.split(".");if(n.length<3)return;let o=Array.from(n).reverse();for(;o.length>2;){let e=o.pop(),r=o.pop(),n=t[`${e}.${r}`];if(!n||!(0,a.isRelationKind)(n.kind))return;o.push(n.kind.foreignNamespace)}return t[`${o[1]}.${o[0]}`]}(e,this.featuresByFQN)}getFeatures(e,t){return(0,a.composeFeatureFilters)((0,u.fastCompact)(e.map(e=>this.getFeature(e))),t)}getFeaturesForNamespace(e,t){return(0,a.composeFeatureFilters)(this.featuresByNamespace[e]??[],t)}getFeaturesForNamespaces(e,t){let r=[];for(let n of e){let e=this.getFeaturesForNamespace(n,t);r.push(...e)}return r}getAllFeatures(e){return(0,a.composeFeatureFilters)(this.allFeatures,e)}getResolver(e){let t=e.includes(".")?(0,l.fqnToName)(e):e;return this.resolversByShortName[t]}getResolvers(e){return e.map(e=>e.includes(".")?(0,l.fqnToName)(e):e).map(e=>this.resolversByShortName[e]).filter(o.isDefined)}getAllResolvers(){return this.allResolvers}getWideTableFeatureCountByNamespace(){if(null==this._wideTableFeatureCountByNamespace){let e=new Map;for(let t of this.graph.featureSets){let r=0;for(let e of t.features)(0,i.isWideTableColumnFeature)(e)&&(r+=1);e.set(t.name,r)}this._wideTableFeatureCountByNamespace=e}return this._wideTableFeatureCountByNamespace}getMaterializedFeatureViewsByNamespace(){if(null==this._materializedFeatureViewsByNamespace){let e=new Map;for(let t of this.graph.materializedFeatureViews)for(let r of t.namespaces)e.set(r,t);this._materializedFeatureViewsByNamespace=e}return this._materializedFeatureViewsByNamespace}getWindowedFamilyForFQN(e){let t=this.windowedFamiliesByKey.get((0,i.windowedParentFqnFromChildFqn)(e));return null==t?[]:t.filter(t=>t.fqn!==e)}get windowedFamiliesByKey(){if(null==this._windowedFamiliesByKey){let e=new Map;for(let t of this.allFeatures){let r=(0,i.windowedParentFqnFromChildFqn)(t.fqn),n=e.get(r);null==n?e.set(r,[t]):n.push(t)}this._windowedFamiliesByKey=e}return this._windowedFamiliesByKey}
1getResolversConsumingFeature(e){return this.graph.resolvers.filter(t=>t.inputs.some(t=>"feature"===t.annotation.case&&!!t.annotation.value.feature&&(0,i.fqnFromFeatureReference)(t.annotation.value.feature)===e)).map(e=>this.getResolver(e.fqn)).filter(o.isDefined)}getResolversProducingFeature(e){let t=(0,a.isWindowedChildFeatureName)(e)?this.windowedParentForFQN(e):void 0;return Array.from(new Set([...this.resolverFQNsByOutputFeatureMap[e]??[],...t?this.resolverFQNsByOutputFeatureMap[t.fqn]??[]:[]])).map(e=>this.getResolver(e)).filter(o.isDefined)}getFeaturesProducedByResolver(e,t){let r=e.includes(".")?(0,l.fqnToName)(e):e,n=this.rawResolversByShortName[r];if(!n)return[];let o=this.getResolverOutputFQNs(n),s=t?.collapseWindowedChildren?[...new Set(o.map(e=>(0,a.isWindowedChildFeatureName)(e)?(0,a.windowedBaseFQN)(e):e))]:o;return(0,u.fastCompact)(s.map(e=>this.getFeature(e)))}getFeaturesConsumedByResolver(e){let t=e.includes(".")?(0,l.fqnToName)(e):e,r=this.resolversByShortName[t];return r&&r.category!==s.ResolverInterfaceCategory.streamResolver?r.inputs.flatMap(e=>{switch(e.type){case"feature":{let t=this.getFeature(e.fqn);return t?[t]:[]}case"dataframe":return this.getFeatures(e.columns);case"state":return[]}}):[]}getCronQueries(){return this.graphExport.crons}getNamedQueries(){return this.graph.namedQueries}getCharts(){return this.graphExport.charts}getCDCSources(){return this.graphExport.cdcSources}getModelReferences(){return this.graph.modelReferences}getProjectSettings(){return this.graphExport.config}getChalkpyInfo(){return this.graphExport.chalkpy}getFailedImports(){return this.graphExport.failed}getValidationLogs(){return this.graphExport.logs}getLSP(){return this.graphExport.lsp}getConversionErrors(){return this.graphExport.conversionErrors}getSymbolicValueExplicits(){if(null!=this._symbolicValueExplicits)return this._symbolicValueExplicits;let e=new Map;for(let t of this.graph.symbolicValueExplicits){let r=t.thisRef?.refId;null!=r&&e.set(r.toString(),t)}return this._symbolicValueExplicits=e,e}hasGraphErrors(){let e=this.graphExport.logs.some(e=>e.severity===h.ValidationLogSeverity.ERROR),t=(this.graphExport.lsp?.diagnostics??[]).some(e=>e.diagnostics.some(e=>e.severity===d.DiagnosticSeverity.ERROR));return this.graphExport.conversionErrors.length>0||this.graphExport.failed.length>0||e||t}getRawResolver(e){let t=(0,l.fqnToName)(e);return this.rawResolversByShortName[t]}}],90947)},445402,e=>{"use strict";var t=e.i(576454),r=e.i(722797),n=e.i(444267),a=e.i(428767),o=e.i(90947),s=e.i(754790);e.i(244927);var i=e.i(244652),u=e.i(593107),l=e.i(9768);let c=(0,i.createProto)(n.GraphFetchOptionsSchema,{excludeResolverPostprocessing:!0,excludeStreamResolverParseInfo:!0}),p=(e,t)=>(0,a.usePersistedGrpcQuery)(r.getGraph,(0,i.createProto)(n.GetGraphRequestSchema,{fetchOptions:c,...e??{}}),t),f=(0,u.default)((e,t)=>new o.ProtoGraph(t)),h=(0,l.createContext)({graph:void 0,error:void 0,loading:!0}),d=h.Provider;function m({deploymentId:e,skip:r}={deploymentId:void 0,skip:!1}){let{environmentId:n}=(0,s.useRouteInfo)(),a=p({deploymentId:e},{enabled:!r&&!!n});return a.error?{graph:void 0,error:a.error,loading:!1}:a.data?{graph:f(a.data.deploymentId,a.data.export??(0,i.createProto)(t.ExportSchema)),error:void 0,loading:!1}:{graph:void 0,error:void 0,loading:!0}}e.s(["GraphContext",0,h,"GraphProvider",0,d,"useGetActiveGraph",0,function(){return m()},"useGetBranchDeploymentGraph",0,function(e){let{branchName:t,branchDeploymentId:r}=e?.branchData||{},{branchName:n,deploymentId:a}=(0,s.useRouteInfo)(),o=r||a;return m({deploymentId:o,skip:!(t||n)||!o})},"useGetGraphQuery",0,p,"useGetURLDeploymentGraph",0,function(){let{deploymentId:e}=(0,s.useRouteInfo)();return m({deploymentId:e,skip:!e})},"useLoadGraphBackend",0,m])}]); 2 3//# sourceMappingURL=1f81wurxa6_rk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.